 /*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
/* ==========================================================
   GLOBAL FIX
   ========================================================== */

.mobile-user-account,
#nectar-user-account {
    display: none !important;
}

/* ==========================================================
   CONTACT FORM 7
   ========================================================== */

.wpcf7-checkbox { font-size: 12px !important; }

.consent-summary { font-size: 13px; }
.consent-details { font-size: 13px; padding: 2px; border-left: 5px solid #ddd; }

/* RADIO GRID */
.wpcf7 form .radio-img-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width:768px){
    .wpcf7 form .radio-img-grid { grid-template-columns: repeat(2,1fr); }
}

@media (min-width:1024px){
    .wpcf7 form .radio-img-grid { grid-template-columns: repeat(4,1fr); }
}

/* ==========================================================
   ARCHIVIO NOLEGGIO MINIMALE
   ========================================================== */

body.rb-rental-archive ul.products li.product {
    position: relative !important;
    background: #f7f7f7 !important;
    border: 1px solid #d7dde5 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 22px !important;
}

/* IMMAGINE */
body.rb-rental-archive ul.products li.product img {
    width: 100% !important;
    border-radius: 18px 18px 0 0 !important;
}

/* NASCONDE TITOLO STANDARD */
body.rb-rental-archive h2.woocommerce-loop-product__title {
    display: none !important;
}

/* OVERLAY */
body.rb-rental-archive .product-wrap,
body.rb-rental-archive .product-image {
    position: relative !important;
}

body.rb-rental-archive .rb-archive-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

body.rb-rental-archive .rb-archive-overlay__top {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

body.rb-rental-archive .rb-archive-overlay__title {
    font-size: 18px;
    font-weight: 800;
    color: #102a4a;
}

body.rb-rental-archive .rb-archive-overlay__brand {
    font-size: 12px;
    color: #8d9bb0;
    text-transform: uppercase;
}

/* FOOTER */
body.rb-rental-archive .rb-clean-archive-card {
    padding: 20px;
}

body.rb-rental-archive .rb-clean-archive-card__footer {
    border-top: 1px solid #dfe5ec;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PREZZO */
body.rb-rental-archive .rb-clean-archive-card__price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #004282;
}

body.rb-rental-archive .rb-clean-archive-card__amount {
    font-size: 44px;
    font-weight: 900;
}

/* BOTTONE */
body.rb-rental-archive .rb-clean-archive-card__button {
    background: #dfe9f6;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #004282;
}

/* RIMUOVE ELEMENTI VECCHI */
body.rb-rental-archive .price,
body.rb-rental-archive .product-add-to-cart,
body.rb-rental-archive .rb-m-card-content,
body.rb-rental-archive .rb-m-horizontal-grid {
    display: none !important;
}

/* ==========================================================
   SINGLE PRODUCT NOLEGGIO
   ========================================================== */

body.rb-rental-product form.cart,
body.rb-rental-product .product_meta,
body.rb-rental-product p.price {
    display: none !important;
}

/* CARD OFFERTE */
body.rb-rental-product .rb-rental-offers-row {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

body.rb-rental-product .rb-rental-offer-card {
    padding: 20px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #e3e3e3;
}

/* ==========================================================
   TOGGLE IVA
   ========================================================== */

.rb-vat-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-switch {
    position: relative;
    width: 46px;
    height: 24px;
}

.rb-slider {
    background: #ccc;
    border-radius: 34px;
}

input:checked + .rb-slider {
    background: #2062b6;
}

/* ==========================================================
   FAQ
   ========================================================== */

.rb-faq-list {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.rb-faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

/* ==========================================================
   SERVICES
   ========================================================== */

.rm-services {
    max-width: 1200px;
    margin: 0 auto;
}

.rm-card {
    border: 1px solid #e8ecf4;
    border-radius: 12px;
    padding: 20px;
}