/* ==========================================================================
   Olearia Genobile — restyling grafico (caricato dopo style.css, sovrascrive il tema)
   Palette di marca invariata: verde oliva #8C9144 e logo. Titoli con serif di sistema,
   testi con Poppins (gia' usato dal sito). Nessun font esterno.
   ========================================================================== */

:root {
    --rf-ink: #1c261a;
    --rf-ink-soft: #4d574b;
    --rf-paper: #faf8f2;
    --rf-cream: #f1ede1;
    --rf-olive: #8c9144;          /* colore di marca */
    --rf-olive-deep: #5d6226;     /* variante per testi piccoli (contrasto AA su carta) */
    --rf-forest: #1f2c1e;
    --rf-line: rgba(28, 38, 26, .14);
    --rf-serif: Georgia, 'Times New Roman', serif;
    --rf-pad: clamp(24px, 6vw, 96px);
    --rf-section: clamp(64px, 9vw, 128px);
}

/* ---------- Base ---------- */
body {
    background: var(--rf-paper);
    color: var(--rf-ink);
}

h1, h2, h3, h4 {
    color: var(--rf-ink);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--rf-olive);
    outline-offset: 2px;
}

.rf-eyebrow, .rf-index {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.rf-eyebrow { color: var(--rf-olive-deep); }
.rf-index { color: var(--rf-ink-soft); }

.rf-display, .rf-title, .rf-subtitle {
    font-family: var(--rf-serif);
    font-weight: 400;
    letter-spacing: -.035em;
    color: inherit;
}

.rf-display { font-size: clamp(44px, 5.6vw, 92px); line-height: 1; margin: 0 0 28px; }
.rf-title { font-size: clamp(38px, 4.6vw, 72px); line-height: 1.02; margin: 0 0 28px; }
.rf-subtitle { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.08; margin: 0 0 22px; }

.rf-lead {
    font-family: var(--rf-serif);
    font-size: clamp(19px, 1.7vw, 25px);
    line-height: 1.45;
    color: var(--rf-ink-soft);
    max-width: 520px;
    margin: 0;
}

/* ---------- Bottoni e link ---------- */
.rf-btn,
.default-btn,
.pro-details-cart a,
.shopping-cart-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 30px;
    background: var(--rf-ink);
    color: #fff;
    border: 1px solid var(--rf-ink);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: background .2s, border-color .2s, transform .2s;
}

.rf-btn:hover,
.default-btn:hover,
.pro-details-cart a:hover,
.shopping-cart-btn a:hover {
    background: var(--rf-olive-deep);
    border-color: var(--rf-olive-deep);
    color: #fff;
    transform: translateY(-1px);
}

.rf-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rf-ink);
    border-bottom: 1px solid currentColor;
    padding-bottom: 4px;
}

.rf-link span { margin-left: 8px; }
.rf-link:hover { color: var(--rf-olive-deep); }
.rf-link--light { color: #fff; }
.rf-link--light:hover { color: #d7dc9a; }

/* ---------- Header ---------- */
.header-area,
.header-area .header-bottom,
.header-area .sticky-bar {
    background: var(--rf-paper);
}

.header-area .header-bottom {
    border-bottom: 1px solid var(--rf-line);
    box-shadow: none;
}

.header-area .sticky-bar.stick {
    background: rgba(250, 248, 242, .96);
    backdrop-filter: blur(8px);
    box-shadow: 0 1px 0 var(--rf-line);
}

.header-area .logo img { max-height: 64px; width: auto; }

.main-menu nav ul li a,
.main-menu nav > ul > li > a {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--rf-ink);
}

.main-menu nav ul li a:hover { color: var(--rf-olive-deep); }

.header-right-wrap .icon-cart i { color: var(--rf-ink); }
.header-right-wrap .count-style { background: var(--rf-olive-deep); color: #fff; }

/* ---------- Breadcrumb ---------- */
.breadcrumb-area,
.breadcrumb-area.bg-gray-3 {
    background: var(--rf-cream);
    border-bottom: 1px solid var(--rf-line);
    padding-top: 22px !important;
    padding-bottom: 22px !important;
}

.breadcrumb-content ul li,
.breadcrumb-content ul li a {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--rf-ink-soft);
}

.breadcrumb-content ul li.active { color: var(--rf-ink); font-weight: 600; }

/* ---------- Home ---------- */
.rf-hero {
    display: grid;
    grid-template-columns: minmax(340px, .85fr) 1.15fr;
    min-height: min(760px, calc(100vh - 90px));
    overflow: hidden;
}

.rf-hero__copy {
    padding: clamp(48px, 7vw, 110px) clamp(24px, 5vw, 84px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 34px; margin-top: 36px; }

.rf-trust {
    list-style: none;
    margin: 44px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--rf-line);
    display: grid;
    gap: 8px;
    font-size: 13px;
    color: var(--rf-ink-soft);
}

.rf-trust li::before { content: '✓'; color: var(--rf-olive-deep); font-weight: 700; margin-right: 10px; }

.rf-hero__media { background: var(--rf-cream); min-height: 420px; }
.rf-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.rf-story {
    padding: var(--rf-section) clamp(24px, 8vw, 130px);
    display: grid;
    grid-template-columns: 1fr 2.6fr;
    gap: 50px;
}

.rf-story__text {
    font-family: var(--rf-serif);
    font-size: clamp(19px, 1.9vw, 27px);
    line-height: 1.55;
    max-width: 800px;
    margin: 0;
}

.rf-place {
    background: var(--rf-forest);
    color: #fff;
    padding: clamp(20px, 4vw, 64px);
    display: grid;
    grid-template-columns: 1.3fr .85fr;
    grid-template-rows: auto auto;
    gap: 24px;
}

.rf-place figure { margin: 0; overflow: hidden; }
.rf-place img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rf-place__main { grid-row: 1 / 3; min-height: 620px; }
.rf-place__detail { height: 300px; }
.rf-place__copy { padding: clamp(24px, 4vw, 64px); align-self: center; }
.rf-place__copy .rf-eyebrow { color: #c9d07a; }
.rf-place__copy .rf-subtitle { color: #fff; }
.rf-place__copy p:not(.rf-eyebrow) { color: #d3d8d0; max-width: 480px; }
.rf-place__copy .rf-link { margin-top: 24px; }

.rf-oil { display: grid; grid-template-columns: 1fr 1fr; }
.rf-oil__media { background: var(--rf-cream); display: flex; align-items: center; justify-content: center; padding: clamp(40px, 6vw, 90px); }
.rf-oil__media img { max-width: 520px; width: 100%; max-height: 680px; object-fit: contain; }
.rf-oil__copy { padding: var(--rf-section) clamp(24px, 7vw, 120px); display: flex; flex-direction: column; justify-content: center; }
.rf-oil__text { font-family: var(--rf-serif); font-size: 21px; line-height: 1.6; max-width: 560px; margin: 0; }

.rf-facts { margin: 44px 0 0; border-top: 1px solid var(--rf-line); }
.rf-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rf-line); font-size: 14px; }
.rf-facts dt { font-weight: 400; color: var(--rf-ink-soft); }
.rf-facts dd { margin: 0; font-weight: 600; text-align: right; }

.rf-shop { background: var(--rf-cream); padding: var(--rf-section) var(--rf-pad); }
.rf-shop__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.rf-shop__head p { max-width: 400px; font-family: var(--rf-serif); font-size: 19px; margin: 0 0 28px; }
.rf-shop__head .rf-title { margin-bottom: 0; }
.rf-shop__all { margin: 48px 0 0; text-align: center; }

.rf-contact {
    background: var(--rf-olive);
    color: var(--rf-ink);
    padding: var(--rf-section) clamp(24px, 8vw, 130px);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 8vw, 140px);
    align-items: center;
}

.rf-contact .rf-eyebrow { color: var(--rf-ink); }
.rf-contact .rf-title { color: var(--rf-ink); }
.rf-contact__text { font-family: var(--rf-serif); font-size: 20px; max-width: 480px; margin: 0 0 32px; }
.rf-contact .rf-btn:hover { background: #000; border-color: #000; }
.rf-contact__info { font-style: normal; line-height: 1.9; font-size: 15px; }
.rf-contact__info strong { display: block; font-size: 17px; margin-bottom: 6px; }
.rf-contact__info a { border-bottom: 1px solid rgba(28, 38, 26, .5); }

/* ---------- Griglia e schede prodotto ---------- */
.rf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.rf-card { background: var(--rf-paper); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .25s, transform .25s; }
.rf-card:hover { box-shadow: 0 14px 34px rgba(28, 38, 26, .12); transform: translateY(-3px); }

.rf-card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: #ece7d8; overflow: hidden; }
.rf-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s; }
.rf-card:hover .rf-card__media img { transform: scale(1.03); }

.rf-tag { position: absolute; top: 14px; left: 14px; background: var(--rf-ink); color: #fff; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; }

.rf-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rf-card__title { font-family: var(--rf-serif); font-size: 22px; line-height: 1.2; margin: 0 0 6px; }
.rf-card__title a { color: var(--rf-ink); }
.rf-card__title a:hover { color: var(--rf-olive-deep); }
.rf-card__meta { font-size: 12px; color: var(--rf-olive-deep); margin: 0 0 14px; letter-spacing: .04em; }
.rf-card__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--rf-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rf-card__price { font-family: var(--rf-serif); font-size: 24px; }
.rf-card__price--onrequest { font-family: 'Poppins', sans-serif; font-size: 13px; font-style: italic; color: var(--rf-ink-soft); }
.rf-card__cta { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rf-ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.rf-card__cta:hover { color: var(--rf-olive-deep); }

/* ---------- Pagine interne: catalogo ---------- */
.rf-page { padding: clamp(40px, 6vw, 88px) var(--rf-pad) var(--rf-section); max-width: 1500px; margin: 0 auto; }
.rf-page__head { max-width: 720px; margin-bottom: 40px; }
.rf-page__head .rf-title { margin-bottom: 16px; }

.rf-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 14px 0; margin-bottom: 28px; border-top: 1px solid var(--rf-line); border-bottom: 1px solid var(--rf-line); font-size: 13px; color: var(--rf-ink-soft); }
.rf-toolbar .shop-select select { border: 1px solid var(--rf-line); background: var(--rf-paper); padding: 8px 14px; font-size: 13px; color: var(--rf-ink); min-width: 220px; }
.rf-toolbar .nice-select { border-radius: 2px; }

.rf-empty { text-align: center; padding: 80px 0; }
.rf-empty a { border-bottom: 1px solid currentColor; }

.pro-pagination-style ul li a { border-radius: 2px; color: var(--rf-ink); border: 1px solid var(--rf-line); background: transparent; }
.pro-pagination-style ul li a.active, .pro-pagination-style ul li a:hover { background: var(--rf-ink); border-color: var(--rf-ink); color: #fff; }

/* ---------- Chi siamo ---------- */
.rf-about { padding: clamp(40px, 6vw, 88px) var(--rf-pad) var(--rf-section); max-width: 1400px; margin: 0 auto; }
.rf-about .rf-page__head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 72px); }
.rf-about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.rf-about__grid figure { margin: 0; }
.rf-about__grid img { width: 100%; height: auto; display: block; }
.rf-about__inside { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: end; margin-top: clamp(48px, 7vw, 110px); }
.rf-about__inside figure { margin: 0; }
.rf-about__inside img { width: 100%; height: auto; display: block; }
.rf-about__inside figcaption { margin-top: 12px; font-size: 13px; color: var(--rf-ink-soft); letter-spacing: .04em; }
.rf-about__copy p:not(.rf-eyebrow) { font-size: 16px; line-height: 1.8; color: var(--rf-ink-soft); }

/* ---------- Checkout ---------- */
.rf-checkout { max-width: 1100px; }
.rf-checkout .rf-page__head { margin-bottom: 8px; }
.rf-checkout .rf-title { font-size: clamp(34px, 4vw, 56px); margin-bottom: 8px; }

/* ---------- Scheda prodotto ---------- */
.rf-product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding: clamp(32px, 5vw, 72px) var(--rf-pad); max-width: 1400px; margin: 0 auto; align-items: start; }
.rf-product__media { background: #ece7d8; position: sticky; top: 96px; }
.rf-product__media img { width: 100%; height: auto; display: block; }
.rf-product__info { padding-top: 8px; }
.rf-product__info .rf-subtitle { font-size: clamp(34px, 3.6vw, 56px); margin-bottom: 14px; }
.rf-product__price { font-family: var(--rf-serif); font-size: 34px; margin: 0 0 20px; }
.rf-product__price small { font-family: 'Poppins', sans-serif; font-size: 12px; color: var(--rf-ink-soft); letter-spacing: .04em; margin-left: 6px; }
.rf-product__price--onrequest { font-family: 'Poppins', sans-serif; font-size: 18px; font-style: italic; font-weight: 500; color: var(--rf-ink-soft); }
.rf-product__desc { font-size: 15px; line-height: 1.75; color: var(--rf-ink-soft); margin: 0 0 30px; }

.rf-buy { display: flex; align-items: stretch; gap: 14px; flex-wrap: wrap; margin-bottom: 24px; }
.rf-buy .pro-details-quality { margin: 0; display: block; }
.rf-buy .cart-plus-minus { display: inline-flex; align-items: center; height: 52px; width: 132px; border: 1px solid var(--rf-line); background: #fff; padding: 0; position: relative; overflow: hidden; }
.rf-buy .cart-plus-minus .qtybutton { position: static; width: 40px; height: 100%; display: grid; place-items: center; float: none; cursor: pointer; font-size: 18px; color: var(--rf-ink); user-select: none; background: transparent; border: 0; }
.rf-buy .cart-plus-minus .qtybutton:hover { background: var(--rf-cream); }
.rf-buy .cart-plus-minus-box { flex: 1; width: 100%; min-width: 0; height: 100%; text-align: center; border: 0; background: transparent; font-weight: 600; padding: 0; }
.rf-buy__cta { flex: 1 1 220px; margin: 0; }
.rf-buy__cta a { width: 100%; height: 100%; min-height: 52px; }
.rf-buy__cta a.disabled { opacity: .45; pointer-events: none; }

.rf-assurance { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--rf-line); display: grid; gap: 8px; font-size: 13px; color: var(--rf-ink-soft); }
.rf-assurance li::before { content: '✓'; color: var(--rf-olive-deep); font-weight: 700; margin-right: 10px; }

.rf-details { max-width: 1400px; margin: 0 auto; padding: 0 var(--rf-pad) var(--rf-section); }
.rf-details details { border-top: 1px solid var(--rf-line); }
.rf-details details:last-child { border-bottom: 1px solid var(--rf-line); }
.rf-details summary { cursor: pointer; list-style: none; padding: 22px 0; font-family: var(--rf-serif); font-size: 24px; display: flex; justify-content: space-between; align-items: center; }
.rf-details summary::-webkit-details-marker { display: none; }
.rf-details summary::after { content: '+'; font-family: 'Poppins', sans-serif; font-size: 22px; color: var(--rf-olive-deep); }
.rf-details details[open] summary::after { content: '–'; }
.rf-details__body { padding: 0 0 28px; max-width: 820px; font-size: 15px; line-height: 1.75; color: var(--rf-ink-soft); }
.rf-details__body * { max-width: 100%; }
.rf-nutrition { margin-top: 24px; max-width: 520px; }
.rf-nutrition h3 { margin: 0; color: var(--rf-ink); font-family: var(--rf-serif); font-size: 20px; line-height: 1.3; }
.rf-nutrition__basis { margin: 2px 0 10px; font-size: 12px; color: var(--rf-ink-soft); }
.rf-nutrition__table-wrap { overflow-x: auto; }
.rf-nutrition__table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.4; }
.rf-nutrition__table th,
.rf-nutrition__table td { padding: 7px 10px; border-top: 1px solid var(--rf-line); }
.rf-nutrition__table th { text-align: left; font-weight: 600; color: var(--rf-ink); }
.rf-nutrition__table td { text-align: right; white-space: nowrap; color: var(--rf-ink); }
.rf-nutrition__table tr:last-child th,
.rf-nutrition__table tr:last-child td { border-bottom: 1px solid var(--rf-line); }
.rf-nutrition__subrow th { padding-left: 24px; font-weight: 400; }

/* ---------- Avviso ufficiale sulla garanzia legale ---------- */
.rf-legal-guarantee {
    max-width: 1180px;
    margin: 0 auto var(--rf-section);
    padding: clamp(28px, 5vw, 64px);
    background: var(--rf-cream);
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 540px);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}
.rf-legal-guarantee__copy { align-self: center; }
.rf-legal-guarantee__copy .rf-subtitle { margin-bottom: 18px; }
.rf-legal-guarantee__copy p:not(.rf-eyebrow) { color: var(--rf-ink-soft); line-height: 1.75; }
.rf-legal-guarantee__notice { display: block; background: #fff; border: 1px solid var(--rf-line); box-shadow: 0 12px 30px rgba(28, 38, 26, .1); }
.rf-legal-guarantee__notice img { display: block; width: 100%; height: auto; }
.blog-details-wrapper .rf-legal-guarantee { margin-top: 36px; margin-bottom: 36px; }

/* ---------- Mini carrello nell'header ---------- */
.shopping-cart-content { border: 1px solid var(--rf-line); border-radius: 2px; box-shadow: 0 18px 40px rgba(28, 38, 26, .16); }
.shopping-cart-content .shopping-cart-title h4 a { font-family: var(--rf-serif); }

/* ---------- Banner cookie ---------- */
#cookie_block #cookie_banner { background: var(--rf-ink); color: #eef1ea; font-size: 13px; padding: 18px clamp(16px, 5vw, 64px) 16px; box-shadow: 0 -8px 30px rgba(0, 0, 0, .18); }
#cookie_block #cookie_banner .text-block { text-align: left; line-height: 1.55; }
#cookie_block #cookie_banner a.cookie_link { color: #d7dc9a; }
#cookie_block #cookie_banner a.btn { border-radius: 2px; border-color: rgba(255, 255, 255, .55); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
#cookie_block #cookie_banner a.btn:hover { background: #fff; color: var(--rf-ink); }
#cookie_block #cookie_banner .col-md-3 .btn:first-child { background: var(--rf-olive); border-color: var(--rf-olive); color: var(--rf-ink); font-weight: 700; }
#cookie_block #cookie_main_btn { bottom: 16px; left: 16px; padding: 8px; }
#cookie_block #cookie_main_btn img { width: 32px; height: 32px; }

/* ---------- Mini carrello: nota sulla spedizione ---------- */
.shopping-cart-content .rf-cart-note { font-size: 12px; color: var(--rf-ink-soft); margin: 0 0 14px; text-align: center; }

/* ---------- Footer ---------- */
.footer-area { background: var(--rf-ink) !important; color: #c9d0c6; padding-top: 64px !important; padding-bottom: 28px !important; }
.footer-area a,
.footer-area .footer-list ul li a,
.footer-area .copyright p a { color: #e9ede6 !important; }
.footer-area a:hover,
.footer-area .footer-list ul li a:hover { color: #d7dc9a !important; }
.footer-area .footer-title h3 { font-size: 12px; letter-spacing: .16em; color: #fff; font-weight: 600; }
.footer-area .footer-list ul li { margin-bottom: 8px; }
.footer-area .copyright p { font-size: 13px; line-height: 1.7; color: #aeb8ab; }
.footer-area .footer-logo img { filter: brightness(0) invert(1); max-width: 170px !important; opacity: .95; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .rf-legal-guarantee { grid-template-columns: 1fr; max-width: 720px; margin-left: var(--rf-pad); margin-right: var(--rf-pad); }
    .blog-details-wrapper .rf-legal-guarantee { margin-left: 0; margin-right: 0; }
    .rf-product { grid-template-columns: 1fr; }
    .rf-about__grid { grid-template-columns: 1fr; }
    .rf-about__inside { grid-template-columns: 1fr; }
    .rf-product__media { position: static; }
    .rf-hero { grid-template-columns: 1fr; min-height: 0; }
    .rf-hero__media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
    .rf-hero__copy { padding-top: 40px; padding-bottom: 56px; }
    .rf-story { grid-template-columns: 1fr; gap: 12px; }
    .rf-place { grid-template-columns: 1fr; }
    .rf-place__main { grid-row: auto; min-height: 420px; }
    .rf-place__detail { display: none; }
    .rf-oil { grid-template-columns: 1fr; }
    .rf-shop__head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .rf-grid { grid-template-columns: repeat(2, 1fr); }
    .rf-contact { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
    #cookie_block #cookie_banner { font-size: 12px; padding: 14px 16px 12px; max-height: 52vh; overflow-y: auto; }
    #cookie_block #cookie_banner .d-grid { grid-template-columns: 1fr; display: grid; gap: 8px !important; }
    #cookie_block #cookie_banner .col-md-3 { margin: 6px 0 0 !important; }
    .rf-legal-guarantee { margin-left: 16px; margin-right: 16px; padding: 22px 16px; }
    .rf-grid { grid-template-columns: 1fr; }
    .rf-card__media { aspect-ratio: 1 / 1; }
    .rf-actions { flex-direction: column; align-items: flex-start; }
    .rf-actions .rf-btn { width: 100%; }
}

/* ---------- Header su schermi piccoli: logo a sinistra, carrello e menu affiancati a destra ---------- */
@media (max-width: 991px) {
    .header-area .header-bottom { padding: 8px 0; }
    .header-area .header-bottom .container-fluid > .row { display: flex; flex-wrap: nowrap; align-items: center; min-height: 56px; margin: 0; }
    .header-area .header-bottom .container-fluid > .row > [class*="col-"] { width: auto; max-width: none; padding-top: 0; padding-bottom: 0; }
    .header-area .header-bottom .container-fluid > .row > .col-4,
    .header-area .header-bottom .container-fluid > .row > .col-md-6:first-child { flex: 0 0 auto; }
    .header-area .header-bottom .container-fluid > .row > .col-8,
    .header-area .header-bottom .container-fluid > .row > .col-md-6:nth-child(3) { flex: 1 1 auto; }
    .header-area .logo img { max-height: 46px; width: auto; max-width: none !important; }
    .header-area .logo a { display: block; line-height: 0; }

    /* Il carrello lascia lo spazio del pulsante menu, che sta all'estrema destra */
    .header-right-wrap { display: flex !important; justify-content: flex-end; align-items: center; padding-right: 54px; margin: 0; }
    .header-right-wrap .same-style { margin: 0; padding: 0; }
    .header-right-wrap .same-style::before, .header-right-wrap .same-style::after { display: none; }
    .header-right-wrap .icon-cart { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0 !important; border: 1px solid var(--rf-ink) !important; border-radius: 2px; background: #fff !important; }
    .header-right-wrap .icon-cart i { font-size: 24px; line-height: 1; }
    .header-right-wrap .count-style { top: -7px; right: -7px; min-width: 20px; height: 20px; line-height: 20px; font-size: 11px; border-radius: 10px; padding: 0 5px; text-align: center; }

    /* Pulsante menu (hamburger): 44 px, allineato al centro della riga, affiancato al carrello */
    .header-area .mean-container .mean-bar { position: relative; }
    .header-area .mean-container a.meanmenu-reveal {
        top: -50px; right: 0; width: 44px; height: 44px; padding: 0;
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        border: 1px solid var(--rf-ink); border-radius: 2px; background: #fff; color: var(--rf-ink);
        box-sizing: border-box; text-indent: 0;
    }
    .header-area .mean-container a.meanmenu-reveal span { display: block; width: 22px; height: 2px; margin: 0; background: var(--rf-ink); }
    .header-area .mean-container a.meanmenu-reveal.meanclose { font-size: 20px; line-height: 1; }
    .header-area .mean-container .mean-nav { margin-top: 9px; background: var(--rf-paper); border-top: 1px solid var(--rf-line); }
    /* Elenco del menu: niente altezza fissa (il tema la bloccava a 215 px e tagliava le voci quando si apre "Prodotti") */
    .header-area .mobile-menu .mean-nav ul.menu-overflow { height: auto !important; max-height: calc(100vh - 100px); overflow-y: auto; margin-top: 0; }
    .header-area .mean-container .mean-nav ul li a { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--rf-ink); }
    .header-area .mean-container .mean-nav ul li li a { opacity: 1; text-transform: none; letter-spacing: .02em; font-size: 14px; color: var(--rf-ink-soft); padding-left: 10%; }
    /* Pulsante + / - delle voci con sottomenu */
    .header-area .mean-container .mean-nav ul li a.mean-expand { width: 48px; height: 44px; margin: 0; padding: 0 !important; display: flex; align-items: center; justify-content: center; font-size: 20px !important; line-height: 1; color: var(--rf-ink); background: transparent; border: 0 !important; border-left: 1px solid var(--rf-line) !important; }
    .header-area .mean-container .mean-nav ul li a.mean-expand:hover, .header-area .mean-container .mean-nav ul li a.mean-expand.mean-clicked { background: var(--rf-cream); }

    /* Il carrello aperto occupa la larghezza dello schermo sotto l'intestazione */
    .header-area .header-right-wrap .cart-wrap .shopping-cart-content { position: fixed !important; left: 12px !important; right: 12px !important; top: 76px !important; width: auto !important; height: auto !important; max-height: calc(100vh - 92px) !important; overflow-y: auto; }
}

@media (max-width: 380px) {
    .header-area .logo img { max-height: 40px; }
    .header-right-wrap { padding-right: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    .rf-card, .rf-card__media img, .rf-btn { transition: none; }
    .rf-card:hover { transform: none; }
}
