/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */



#cmplz-manage-consent .cmplz-manage-consent {
display: block !important;
    box-shadow: none !important;
    bottom: 0px !important;
    left: 10px !important;
    background-color: #a59271 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    border-radius: 10px !important;
    line-height: 1em;
    font-size: 12px !important;
    padding: 5px !important;
    height: 40px !important;
    text-transform: math-auto;
    max-width: 200px;
    width: 180px;
}

@media (max-width: 768px) {
#cmplz-manage-consent .cmplz-manage-consent{
    display: none !important;
  }
}



/* CENTRATURA LOGHI MODULA FOOTER*/

#doria-loghi-footer .elementor-widget-shortcode,
#doria-loghi-footer .elementor-shortcode,
#doria-loghi-footer .modula-gallery {
    width: 100% !important;
}

#doria-loghi-footer .modula-items {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
    height: auto !important;
}

#doria-loghi-footer .modula-item {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    flex: 0 1 170px !important;
    width: 170px !important;
    height: 110px !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* MODULA - CORREZIONE LOGHI FOOTER */

/* Elimina gli sfondi dei riquadri */
#doria-loghi-footer .modula-item,
#doria-loghi-footer .modula-item-content,
#doria-loghi-footer .modula-item > a {
    background: transparent !important;
    box-shadow: none !important;
}

/* Centra il contenuto interno */
#doria-loghi-footer .modula-item > a,
#doria-loghi-footer .modula-item-content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Uniforma le immagini */
#doria-loghi-footer .modula-item img {
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 80px !important;
    object-fit: contain !important;
    object-position: center center !important;
    margin: auto !important;
}
/* CENTRATURA LOGHI MODULA FOOTER*/



/* ==========================================
   DORIA ARREDI - TEMPI DI CONSEGNA
   ========================================== */

.doria-delivery {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px 20px;
    margin: 0 0 24px;
    background: #f7f7f5;
    border: 1px solid #e8e8e5;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
}

.doria-delivery-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #e8e8e5;
    border-radius: 7px;
    color: #303030;
}

.doria-delivery-icon svg {
    display: block;
    width: 26px;
    height: 26px;
}

.doria-delivery-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.doria-delivery-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.1px;
    line-height: 1.4;
    color: #777;
}

.doria-delivery-text {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #242424;
}

@media (max-width: 767px) {
    .doria-delivery {
        padding: 14px;
        gap: 12px;
        margin-bottom: 20px;
    }

    .doria-delivery-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .doria-delivery-text {
        font-size: 14px;
    }

    .doria-delivery-label {
        font-size: 9px;
    }
}

/* ==========================================
   DORIA ARREDI - TEMPI DI CONSEGNA
   ========================================== */


/* DORIA ARREDI - Nasconde solo lo SKU */
.single-product .product_meta .sku_wrapper {
    display: none !important;
}
/* DORIA ARREDI - Nasconde solo lo SKU */


/* DORIA ARREDI - Nasconde disponibilità prodotti */
.single-product .stock {
    display: none !important;
}

/* DORIA ARREDI - Nasconde disponibilità prodotti */



/* ============================================================
   DORIA ARREDI - RICHIESTA INFORMAZIONI
   ============================================================ */

/* Pulsante scheda prodotto e catalogo */
body .doria-richiesta-info {
    width: 100%;
    margin: 20px 0;
}

body .doria-info-link,
body .doria-catalogo-info {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 26px !important;
    background: #A59271 !important;
    color: #FFFFFF !important;
    border: 1px solid #A59271 !important;
    border-radius: 5px !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    transition: all .3s ease;
}

body .doria-info-link:hover,
body .doria-catalogo-info:hover {
    background: #476B6C !important;
    border-color: #476B6C !important;
    color: #FFFFFF !important;
}

body .doria-catalogo-info {
    width: 100%;
}

/* Popup */
body .doria-popup[hidden] {
    display: none !important;
}

body .doria-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body .doria-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 27, .72);
}

body .doria-popup-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,.20);
}

body .doria-popup-content h3 {
    margin: 0 35px 12px 0;
    color: #172923;
    font-size: 25px;
}

body .doria-popup-product {
    margin-bottom: 22px;
    color: #586461;
    font-size: 14px;
}

body .doria-popup-close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #172923 !important;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

body.doria-popup-open {
    overflow: hidden;
}

/* Fluent Forms */
.doria-popup-content .ff-btn-submit {
    background: #A59271 !important;
    border-color: #A59271 !important;
    color: #FFFFFF !important;
}

.doria-popup-content .ff-btn-submit:hover {
    background: #476B6C !important;
    border-color: #476B6C !important;
}

/* Mobile */
@media (max-width: 767px) {
    body .doria-popup {
        padding: 12px;
    }

    body .doria-popup-content {
        padding: 25px 20px;
        max-height: 90dvh;
    }

    body .doria-popup-content h3 {
        font-size: 21px;
    }

    body .doria-info-link,
    body .doria-catalogo-info {
        width: 100%;
    }
}

/* FINE DORIA ARREDI */




/* ============================================================
   DORIA ARREDI - HERO DINAMICO ARCHIVI
   ============================================================

   Compatibile con:
   - Blocksy
   - Elementor Free
   - WooCommerce

   Shortcode: [doria_archive_hero]

   Categorie prodotto
   Marchi / Brand
   Designer / Tag prodotto

   ============================================================ */


/* ============================================================
   1. CONTENITORE HERO
   ============================================================ */

body .doria-hero {
    position: relative;
    box-sizing: border-box;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 300px !important;

    margin: 0 0 40px !important;
    padding: 45px 30px !important;

    background-color: #e8e4dd;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    border-radius: 0px;
    overflow: hidden;
    isolation: isolate;
}


/* ============================================================
   2. NESSUN OVERLAY
   ============================================================ */

body .doria-hero::before,
body .doria-hero::after {
    content: none !important;
    display: none !important;
}


/* ============================================================
   3. CONTENUTO CENTRALE
   ============================================================ */

body .doria-hero__content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0;

    text-align: center !important;
}


/* ============================================================
   4. TITOLO ARCHIVIO
   ============================================================ */

body .doria-hero__title {
    display: block;

    width: 100%;
    margin: 0 0 15px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.04em;

    text-align: center !important;
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
}


/* ============================================================
   5. BREADCRUMB
   ============================================================ */

body .doria-hero__breadcrumb {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: center !important;
    flex-wrap: wrap;

    gap: 9px;

    width: 100%;
    margin: 0;
    padding: 0;

    color: #ffffff !important;

    font-family: inherit;
    font-size: 12px !important;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.03em;

    text-align: center !important;
    text-transform: uppercase;

    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}


/* ============================================================
   6. LINK BREADCRUMB
   ============================================================ */

body .doria-hero__breadcrumb a,
body .doria-hero__breadcrumb span {
    color: #ffffff !important;
    text-decoration: none !important;
}

body .doria-hero__breadcrumb a {
    transition: opacity 0.2s ease;
}

body .doria-hero__breadcrumb a:hover {
    color: #ffffff !important;
    opacity: 0.75;
    text-decoration: underline !important;
}

body .doria-hero__breadcrumb
[aria-current="page"] {
    font-weight: 600;
}


/* ============================================================
   7. TABLET
   ============================================================ */

@media (min-width: 768px) and (max-width: 1024px) {

    body .doria-hero {
        min-height: 260px !important;
        padding: 35px 25px !important;
        margin-bottom: 35px !important;
        border-radius: 0px;
    }

    body .doria-hero__title {
        font-size: 30px !important;
    }

    body .doria-hero__breadcrumb {
        font-size: 11px !important;
    }
}


/* ============================================================
   8. MOBILE
   ============================================================ */

@media (max-width: 767px) {

    body .doria-hero {
        min-height: 220px !important;

        margin-bottom: 30px !important;
        padding: 30px 18px !important;

        border-radius: 0px;

        background-position: center center !important;
    }

    body .doria-hero__content {
        width: 100%;
        padding: 0;
    }

    body .doria-hero__title {
        margin-bottom: 12px !important;

        font-size: 25px !important;
        line-height: 1.25 !important;
        letter-spacing: 0.02em;
    }

    body .doria-hero__breadcrumb {
        gap: 6px;

        font-size: 10px !important;
        line-height: 1.5;
    }
}


/* ============================================================
   9. SCHERMI MOLTO PICCOLI
   ============================================================ */

@media (max-width: 380px) {

    body .doria-hero {
        min-height: 200px !important;
        padding: 25px 15px !important;
    }

    body .doria-hero__title {
        font-size: 22px !important;
    }

    body .doria-hero__breadcrumb {
        font-size: 9px !important;
    }
}


/* ============================================================
   DORIA ARREDI - HERO DINAMICO ARCHIVI
   ============================================================

   Compatibile con:
   - Blocksy
   - Elementor Free
   - WooCommerce

   Shortcode: [doria_archive_hero]

   Categorie prodotto
   Marchi / Brand
   Designer / Tag prodotto

   ============================================================ */



/* DORIA ARREDI - CATEGORIE PRINCIPALI FOOTER */

.doria-categorie-principali {
    list-style: none;
    margin: 0;
    padding: 0;
}

.doria-categorie-principali li {
    margin: 0 0 10px;
    padding: 0;
}

.doria-categorie-principali a {
    color: inherit;
    font-size: 14px;
    text-decoration: none;
    transition: color .2s ease;
}

.doria-categorie-principali a:hover {
    color: #A59271;
}

/* DORIA ARREDI - CATEGORIE PRINCIPALI FOOTER */





/* ==========================================
   DORIA ARREDI - PAGINA BRAND
========================================== */

.doria-brands {
    width: 100%;
    margin: 0 auto;
}

.doria-brands-intro {
    text-align: center;
    margin-bottom: 45px;
}

.doria-brands-intro h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #24332f;
}

.doria-brands-intro p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.doria-brands-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.doria-brand-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 115px;
    padding: 20px 15px;
    border: 1px solid #e8e5e0;
    border-radius: 12px;
    background: #fff;
    text-decoration: none !important;
    transition: all .25s ease;
}

.doria-brand-card:hover {
    border-color: #a7957e;
    background: #faf8f5;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.doria-brand-name {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #24332f;
    text-transform: uppercase;
}

.doria-brand-count {
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

@media (max-width: 1024px) {
    .doria-brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .doria-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .doria-brand-card {
        min-height: 95px;
        padding: 15px 10px;
    }

    .doria-brand-name {
        font-size: 13px;
    }

    .doria-brands-intro h2 {
        font-size: 26px;
    }
}

/* ==========================================
   DORIA ARREDI - PAGINA BRAND
========================================== */


/* DORIA ARREDI - SPEDIZIONI ESTERO */

.doria-spedizione-estero {
    background: #f7f5f2;
    border-left: 4px solid #a7957e;
    padding: 22px 25px;
    margin: 20px 0 30px;
    border-radius: 4px;
}

.doria-spedizione-estero-titolo {
    font-size: 19px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.doria-spedizione-estero p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.doria-spedizione-estero p:last-child {
    margin-bottom: 0;
}


/* DORIA ARREDI - SPEDIZIONI ESTERO */



/* =====================================
   DORIA ARREDI - RIBBON PRONTA CONSEGNA
   ===================================== */

/* Contenitore immagini archivio */
.woocommerce ul.products li.product {
    position: relative;
}

/* Ribbon generale */
.doria-ribbon-pronta {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 20;

    display: inline-block;
    background: #a7957e;
    color: #ffffff;

    padding: 8px 14px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.7px;

    border-radius: 2px;
    pointer-events: none;
}

/* Contenitore immagine singolo prodotto */
.single-product .woocommerce-product-gallery {
    position: relative;
}

/* Ribbon singolo prodotto */
.single-product .doria-ribbon-single {
    top: 15px;
    left: 15px;
}

/* Mobile */
@media (max-width: 768px) {
    .doria-ribbon-pronta {
        top: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 10px;
        letter-spacing: 0.3px;
    }
}
/* =====================================
   DORIA ARREDI - RIBBON PRONTA CONSEGNA
   ===================================== */