/* ============================================
   ESSENZA — Stitch Design System v2
   "The Energetic Curator" — AGGRESSIVE OVERRIDES
   myessenza.eu | Bagisto Default Theme
   ============================================ */

/* Alpine.js x-cloak — hide until Alpine initializes */
[x-cloak] { display: none !important; }

:root {
    --es-primary: #3A342C;
    --es-primary-hover: #2A251F;
    --es-primary-container: #544A3D;
    --es-on-primary: #FFFFFF;
    --es-surface: #FFFFFF;
    --es-surface-low: #FAF7F1;
    --es-surface-high: #E4DACA;
    --es-surface-highest: #E4DACA;
    --es-surface-lowest: #FFFFFF;
    --es-on-surface: #3A342C;
    --es-secondary-text: #655A4C;
    --es-success: #4E6B4A;
    --es-error: #B9502E;
    --es-border: #E4DACA;
    --es-shadow-cta: 0 8px 24px rgba(0,0,0,0.2);
    --es-radius: 0.5rem;
    --es-radius-pill: 9999px;
    --essenza-dark: #3A342C;
    --essenza-charcoal: #544A3D;
    --essenza-warm: #3A342C;
    --essenza-warm-light: #544A3D;
    --essenza-cream: #FAF7F1;
    --essenza-cream-dark: #E4DACA;
    --essenza-bg: #FFFFFF;
    --essenza-white: #FFFFFF;
    --essenza-red: #3A342C;
    --essenza-border: #E4DACA;
}

/* === GLOBAL === */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    color: var(--es-on-surface);
    background: var(--es-surface) !important;
    -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(0,0,0,0.12); }

/* === TYPOGRAPHY === */
h1, h2, h3 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}
/* Títulos editoriais — serifada premium (DM Serif Display, self-hosted) */
.font-dmserif {
    font-family: 'DM Serif Display', serif !important;
    font-weight: 400 !important;
}
/* Mesma serifada nos títulos das secções custom (blade inline) — precisa de
   !important + especificidade para vencer a regra h1,h2,h3 Manrope acima. */
.sk-hero-main h1, .sk-sec-h h2, .sk-band h2, .sk-nl h2,
.container h1.ezc-title, .es-blog__heading {
    font-family: 'DM Serif Display', serif !important;
    font-weight: 400 !important;
}
.container h2.font-dmserif { font-size: 26px; color: var(--es-on-surface); }
.cat-grid-title { font-family: 'Manrope', sans-serif !important; }

/* === TOP BAR — GRADIENT ESPRESSO === */
.flex.w-full.items-center.justify-between.border.border-b.border-l-0.border-r-0.border-t-0.px-16 {
    background: linear-gradient(90deg, #F53D02, #FF6B1A) !important;
    color: #FAF7F1 !important;
    border: none !important;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.flex.w-full.items-center.justify-between.border.border-b.border-l-0.border-r-0.border-t-0.px-16 span,
.flex.w-full.items-center.justify-between.border.border-b.border-l-0.border-r-0.border-t-0.px-16 p,
.flex.w-full.items-center.justify-between.border.border-b.border-l-0.border-r-0.border-t-0.px-16 a {
    color: #FAF7F1 !important;
}

/* === HEADER === */
header.shadow-gray {
    background: var(--es-surface-lowest) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.flex.items-center.gap-x-10 a,
.flex.items-center.gap-x-10 span {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--es-on-surface);
}
.flex.items-center.gap-x-10 a:hover,
.flex.items-center.gap-x-10 span:hover {
    color: var(--es-primary) !important;
}

/* Search */
input[placeholder*="Pesquisar"],
input[placeholder*="Search"] {
    border-radius: var(--es-radius) !important;
    border: 1.5px solid var(--es-border) !important;
    background: var(--es-surface-low) !important;
    font-size: 13px;
}
input[placeholder*="Pesquisar"]:focus,
input[placeholder*="Search"]:focus {
    border-color: var(--es-primary) !important;
    background: #fff !important;
}

/* ============================================
   NUCLEAR OVERRIDE: navyBlue → Essenza Espresso
   Force --tw-bg-opacity and --tw-border-opacity
   ============================================ */

/* Background navyBlue → Espresso */
.bg-navyBlue {
    --tw-bg-opacity: 1 !important;
    background-color: rgb(58 52 44 / var(--tw-bg-opacity, 1)) !important;
}

/* Text navyBlue → Espresso */
.text-navyBlue {
    --tw-text-opacity: 1 !important;
    color: rgb(58 52 44 / var(--tw-text-opacity, 1)) !important;
}

/* Border navyBlue → Espresso */
.border-navyBlue {
    --tw-border-opacity: 1 !important;
    border-color: rgb(58 52 44 / var(--tw-border-opacity, 1)) !important;
}

/* Hover variants */
.hover\:border-navyBlue:hover {
    border-color: #F53D02 !important;
}

/* Peer checked navyBlue → Espresso */
.peer-checked\:text-navyBlue:is(:where(.peer):checked ~ *) {
    color: #F53D02 !important;
}

/* ============================================
   PRIMARY BUTTON — ESPRESSO GRADIENT
   ============================================ */
.primary-button {
    --tw-bg-opacity: 1 !important;
    --tw-border-opacity: 1 !important;
    background-color: transparent !important;
    background-image: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    border-color: #F53D02 !important;
    color: #FFFFFF !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: var(--es-radius) !important;
    box-shadow: var(--es-shadow-cta) !important;
    transition: all 0.25s ease !important;
}
.primary-button:hover {
    background-image: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.3) !important;
    transform: translateY(-1px) !important;
    opacity: 1 !important;
}
.primary-button:active {
    transform: scale(0.97) !important;
}

/* Secondary button — outline */
.secondary-button {
    background: transparent !important;
    border: 2px solid var(--es-border) !important;
    color: var(--es-on-surface) !important;
    border-radius: var(--es-radius) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    transition: all 0.25s ease !important;
}
.secondary-button:hover {
    border-color: #F53D02 !important;
    color: #F53D02 !important;
    background: rgba(245,61,2,0.05) !important;
}

/* === SALE BADGES === */
.bg-red-600, .bg-red-500 {
    background-color: #B9502E !important;
    border-radius: var(--es-radius-pill) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    padding: 4px 10px !important;
}

/* Wishlist hearts / promo text usando classes Tailwind red → terracota */
.text-red-600, .text-red-500 { color: #B9502E !important; }

/* Badges "NEW" em preto (classes bg-black / arbitrary bg-[#111111]) → espresso */
.bg-black, .bg-\[\#111111\] { background-color: #F53D02 !important; }

/* Badge "Bestseller" âmbar → bronze */
.bg-amber-500 { background-color: #755C34 !important; }

/* === PRODUCT CARDS — Essenza styling on stock Bagisto card.blade.php === */
/* All visual overrides via CSS only; template is 100% stock Bagisto v2.3.3 */

/* ── Card container — flex column for equal-height cards ── */
.group.w-full.rounded-md,
.\31 180\:transtion-all.group {
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #E4DACA !important;
    transition: all 0.3s ease !important;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.group.w-full.rounded-md:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
    border-color: #E4DACA !important;
    transform: translateY(-2px);
}

/* ── Image container — 1:1 aspect ratio with object-fit ── */
.group.w-full.rounded-md > div:first-child {
    max-height: none !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.group.w-full.rounded-md > div:first-child a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.group.w-full.rounded-md > div:first-child img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* ── Product info section — flex column, fills remaining space ── */
.group.w-full.rounded-md > div.-mt-9 {
    margin-top: 0 !important;
    transform: none !important;
    translate: none !important;
    max-width: none !important;
    padding: 8px 12px 12px !important;
    gap: 6px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.group.w-full.rounded-md:hover > div.-mt-9 {
    transform: none !important;
}

/* ── Product name — 2-line truncation, grows to push price down ── */
.group.w-full.rounded-md p.break-all,
.group.w-full.rounded-md p.text-base.font-medium {
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #3A342C !important;
    min-height: 2.6em;
    flex: 1 !important;
}
.group.w-full.rounded-md:hover p.break-all,
.group.w-full.rounded-md:hover p.text-base.font-medium {
    color: #3A342C !important;
}

/* ── Price — prominent styling, pushed to bottom ── */
.group.w-full.rounded-md .text-lg.font-semibold {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #3A342C !important;
    margin-top: auto !important;
}
.group.w-full.rounded-md .line-through,
.group.w-full.rounded-md del,
.group.w-full.rounded-md s {
    color: #655A4C !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

/* ── Sale / New badges — consistent position & size ── */
.group.w-full.rounded-md .action-items .bg-red-600,
.group.w-full.rounded-md .action-items .bg-red-500 {
    background-color: #B9502E !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    padding: 3px 8px !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 2;
}
.group.w-full.rounded-md .action-items .bg-navyBlue {
    background-color: #F53D02 !important;
    border-radius: 4px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    padding: 3px 8px !important;
    top: 8px !important;
    left: 8px !important;
    z-index: 2;
}

/* ── Action items (cart + wishlist + compare) — always visible ── */
.group.w-full.rounded-md > div:last-child .action-items {
    opacity: 1 !important;
}

/* ── Add to Cart button — espresso CTA, always at bottom ── */
.group.w-full.rounded-md .secondary-button {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease !important;
    margin-top: auto !important;
}
.group.w-full.rounded-md .secondary-button:hover {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.group.w-full.rounded-md .secondary-button:disabled {
    background: #E7DECD !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.7;
}

/* ── Wishlist heart — visible on mobile, Essenza espresso when active ── */
.group.w-full.rounded-md .icon-heart-fill {
    color: #F53D02 !important;
}
@media (max-width: 767px) {
    .group.w-full.rounded-md span[class*="icon-heart"] {
        display: flex !important;
        opacity: 1 !important;
    }
}

/* ── Mobile card optimizations (<768px) ── */
@media (max-width: 767px) {
    /* Card container — tighter border radius */
    .group.w-full.rounded-md,
    .\31 180\:transtion-all.group {
        border-radius: 8px !important;
    }
    .group.w-full.rounded-md:hover {
        transform: none;
        box-shadow: none !important;
    }
    /* Info section — compact padding, no max-width constraints */
    .group.w-full.rounded-md > div.-mt-9 {
        padding: 6px 8px 8px !important;
        min-width: auto !important;
        max-width: none !important;
        gap: 4px !important;
    }
    /* Product name — 12px, 2 lines */
    .group.w-full.rounded-md p.break-all,
    .group.w-full.rounded-md p.text-base.font-medium {
        font-size: 12px !important;
        line-height: 1.3 !important;
        min-height: 2.6em;
    }
    /* Price — 14px bold */
    .group.w-full.rounded-md .text-lg.font-semibold {
        font-size: 14px !important;
    }
    /* Add to cart button — compact */
    .group.w-full.rounded-md .secondary-button {
        font-size: 10px !important;
        padding: 6px 8px !important;
        border-radius: 6px !important;
    }
    /* Wishlist/compare icons — smaller */
    .group.w-full.rounded-md span[class*="icon-heart"],
    .group.w-full.rounded-md span[class*="icon-compare"] {
        font-size: 16px !important;
        display: flex !important;
        opacity: 1 !important;
    }
    /* Sale/New badges — smaller on mobile */
    .group.w-full.rounded-md .action-items .bg-red-600,
    .group.w-full.rounded-md .action-items .bg-red-500,
    .group.w-full.rounded-md .action-items .bg-navyBlue {
        font-size: 9px !important;
        padding: 2px 6px !important;
        top: 6px !important;
        left: 6px !important;
    }
    /* Show action items on mobile */
    .group.w-full.rounded-md > div:last-child .action-items {
        display: flex !important;
        opacity: 1 !important;
    }
}

/* Product price in groups (general) */
.group .font-semibold { color: #3A342C; font-weight: 700; }
.group .line-through { color: #655A4C; font-size: 13px; }

/* === PRODUCT PAGE === */
h1.text-3xl, .container h1 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
}

/* Thumbnail active → espresso border */
.pointer-events-none.border-navyBlue {
    border-color: #F53D02 !important;
}

/* Tab active → espresso border */
.border-b-4.border-navyBlue,
.border-b-2.border-navyBlue {
    border-color: #F53D02 !important;
}

/* Price link color */
p.font-medium.text-navyBlue {
    color: #3A342C !important;
}

/* === CART PAGE === */
.flex.items-center.border.border-navyBlue {
    border-color: #F53D02 !important;
}

/* Cart quantity +/- */
.icon-uncheck.peer-checked\:icon-check-box {
    color: #3A342C !important;
}

/* === CHECKOUT === */
.peer-checked\:icon-radio-select {
    color: #3A342C !important;
}

/* === FOOTER === */
.bg-\[\#F1EADF\] { background: var(--es-surface-low) !important; }
footer, footer .container { font-family: 'Inter', sans-serif; }
footer h3, footer .font-dmserif { font-family: 'Manrope', sans-serif !important; font-weight: 700; }
footer input[type="email"] {
    border: 1.5px solid var(--es-border) !important;
    border-radius: var(--es-radius) !important;
    background: #fff !important;
}
footer .flex.justify-between.bg-\[\#F1EADF\] {
    background: #C23200 !important;
    color: var(--es-surface-low) !important;
}
footer .flex.justify-between.bg-\[\#F1EADF\] p { color: var(--es-surface-low) !important; }

/* === SERVICES BAR === */
.flex.justify-between.pe-20.ps-20 {
    background: var(--es-surface-low);
    border: none !important;
    padding: 24px 60px !important;
    margin: 20px 0;
}

/* === CAROUSEL ARROWS === */
.icon-arrow-left-stylish,
.icon-arrow-right-stylish {
    border-color: var(--es-border) !important;
    color: var(--es-on-surface) !important;
}
.icon-arrow-left-stylish:hover,
.icon-arrow-right-stylish:hover {
    background: #F53D02 !important;
    color: #fff !important;
    border-color: #F53D02 !important;
}

/* === CATEGORY GRID === */
.cat-card-img, img.cat-card-img, .cat-grid .cat-card .cat-card-img {
    border: none !important;
    background: var(--es-surface-low) !important;
}
.cat-card:hover .cat-card-img { box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important; }

@media(max-width:768px) {
    .cat-grid { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 14px !important; padding-bottom: 10px; }
    .cat-grid .cat-card { flex: 0 0 130px; scroll-snap-align: start; }
    .cat-grid .cat-card .cat-card-img, img.cat-card-img { width: 130px !important; height: 130px !important; }
}

/* === BANNER === */
.relative.m-auto.flex.w-full.overflow-hidden { border-radius: 0; }
.relative.m-auto.flex.w-full.overflow-hidden::after,
.relative.m-auto.flex.w-full.overflow-hidden::before { display: none !important; content: none !important; }
.banner-overlay h2 {
    font-family: 'Manrope', sans-serif !important;
    font-size: 52px; font-weight: 800; line-height: 1.05;
    margin-bottom: 12px; color: #fff !important; letter-spacing: -0.03em;
}
.banner-overlay p { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 300; margin-bottom: 28px; color: rgba(255,255,255,0.9); }
.banner-overlay .banner-btn {
    display: inline-block; background: #F53D02; color: #fff;
    padding: 14px 36px; border-radius: var(--es-radius);
    font-family: 'Manrope', sans-serif; font-weight: 700;
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
    text-decoration: none; box-shadow: var(--es-shadow-cta);
}
.banner-overlay .banner-btn:hover { background: #D93600; transform: translateY(-1px); }
@media (max-width: 768px) {
    .banner-overlay { left: 20px !important; right: 20px; top: auto !important; bottom: 40px !important; transform: none !important; }
    .banner-overlay h2 { font-size: 32px !important; }
    .banner-overlay p { font-size: 15px !important; }
}

/* === PRODUCT DESCRIPTION === */
.container .text-lg.text-zinc-500, .mb-5.text-lg.text-zinc-500 {
    font-size: 15px !important; line-height: 1.85 !important; color: #544A3D !important; white-space: pre-line !important;
}
.text-lg.text-zinc-500 p { margin-bottom: 14px !important; line-height: 1.85 !important; }
p.text-lg.text-zinc-500 { white-space: pre-line !important; line-height: 1.85 !important; }
.text-lg.text-zinc-500 p, .text-sm.text-zinc-500 p { margin-bottom: 12px !important; display: block !important; }

/* === WHY BUY === */
.why-buy-section { padding: 12px 16px; font-size: 15px; line-height: 1.7; color: #544A3D; }
.why-buy-section .why-buy-pros div, .why-buy-section .why-buy-cons div { padding: 8px 0; border-bottom: 1px solid var(--es-surface-low); }
.why-buy-section .why-buy-pros div:last-child, .why-buy-section .why-buy-cons div:last-child { border-bottom: none; }
.why-buy-section .why-buy-cons { margin-top: 8px; padding-top: 8px; border-top: 2px solid var(--es-surface-low); }
.why-buy-section strong { color: var(--es-on-surface); font-weight: 600; }

/* === GALLERY ARROWS === */
.gallery-nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
    width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; background: rgba(255,255,255,0.95); border: 1px solid var(--es-border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); cursor: pointer; font-size: 24px; color: var(--es-on-surface);
}
.gallery-nav-arrow:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.gallery-nav-arrow.arrow-left { left: 16px; }
.gallery-nav-arrow.arrow-right { right: 16px; }

/* === SCROLLBAR === */
::-webkit-scrollbar { height: 4px; width: 4px; }
::-webkit-scrollbar-track { background: var(--es-surface-low); }
::-webkit-scrollbar-thumb { background: var(--es-surface-highest); border-radius: 4px; }

/* === FOCUS === */
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0,0,0,0.15) !important; }

/* === FOOTER RESPONSIVE === */
@media(max-width:1060px) { .essenza-footer-extra { display: none !important; } .essenza-footer-extra-mobile { display: block !important; } }

/* === BLOG === */
.blog-section-title { font-family: 'Manrope', sans-serif !important; }
.blog-card-link:hover .blog-card-title { color: #3A342C; }

/* === MOBILE === */
@media (max-width: 768px) {
    .container { padding-left: 16px !important; padding-right: 16px !important; }
    .container h2.font-dmserif { font-size: 22px; }
}

/* === GUARANTEES === */
@media(max-width: 768px) {
    .guarantees-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; padding: 0 8px !important; }
    .guarantees-grid > div { padding: 16px 8px !important; }
}

/* === BUNDLE BUTTON === */
a[onclick*="addBundleToCart"] { background: #F53D02 !important; }
a[onclick*="addBundleToCart"]:hover { background: #D93600 !important; }

/* ============================================
   CART & CHECKOUT — Stitch Overrides
   ============================================ */

/* Blue links → Espresso (cupão, remover, etc.) */
.text-blue-700,
.cursor-pointer.text-blue-700,
.cursor-pointer.font-semibold.text-blue-700 {
    color: #3A342C !important;
}
.text-blue-700:hover {
    color: #2A251F !important;
}

/* Cart page container — cleaner spacing */
.container.px-\[60px\] {
    background: #FFFFFF !important;
}

/* Cart summary box */
.bg-white.p-8,
.bg-white.p-8.max-sm\:p-5 {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0px 20px 40px rgba(27,28,28,0.06) !important;
}

/* Cart headings */
h2.text-2xl.font-medium {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

/* Cart item border */
.border-b.border-zinc-200 {
    border-color: #E4DACA !important;
}

/* Cart quantity selector */
.flex.items-center.border.border-navyBlue {
    border-color: #F53D02 !important;
    border-radius: 8px !important;
}

/* Inputs — cart & checkout */
.custom-select,
input.rounded-lg.border.border-zinc-200,
select.rounded-lg.border.border-zinc-200 {
    border-color: #E4DACA !important;
    background: #FAF7F1 !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
}
.custom-select:focus,
input.rounded-lg:focus,
select.rounded-lg:focus {
    border-color: #F53D02 !important;
    background: #FFFFFF !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.1) !important;
}

/* Checkout accordion sections */
.border.overflow-hidden.rounded-xl,
.border-b.border-zinc-200.overflow-hidden.rounded-xl {
    border-color: #E4DACA !important;
    border-radius: 12px !important;
    box-shadow: 0px 20px 40px rgba(27,28,28,0.04) !important;
}

/* Remove button text */
.cursor-pointer.text-base.text-blue-700 {
    color: #3A342C !important;
    font-size: 13px !important;
}

/* Cross-sell section title */
h2.font-dmserif.text-3xl {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
}

/* Accordion headers in checkout */
.flex.cursor-pointer.select-none.items-center.justify-between {
    font-family: 'Manrope', sans-serif !important;
}

/* Labels in forms */
label.mb-2.block.text-base {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #655A4C !important;
}

/* ============================================
   CHECKOUT & CART — Stitch v2
   ============================================ */

/* Checkout header bar — cleaner */
.flex-wrap > .flex.w-full.justify-between.border {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E4DACA !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Accordion sections in checkout — card style */
[class*="accordion"] {
    border-radius: 12px !important;
    overflow: hidden;
}

/* Checkout section headings */
h2.text-2xl.font-medium {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

/* Summary heading */
h1.text-2xl.font-medium {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

/* Grand total — ESPRESSO and bold */
.text-lg.font-semibold:last-child,
div.flex.justify-between.text-right:last-child .text-lg.font-semibold {
    color: #3A342C !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    font-family: 'Manrope', sans-serif !important;
}

/* Summary product name → espresso */
p.text-base.text-navyBlue {
    color: #3A342C !important;
    font-weight: 600 !important;
}

/* Summary product image — rounded */
.h-\[90px\].max-h-\[90px\].w-\[90px\].max-w-\[90px\] {
    border-radius: 8px !important;
}

/* Shipping/Payment method cards */
.block.cursor-pointer.rounded-xl.border.border-zinc-200.p-5 {
    border-color: #E4DACA !important;
    transition: all 0.2s !important;
}
.block.cursor-pointer.rounded-xl.border.border-zinc-200.p-5:hover {
    border-color: #F53D02 !important;
}

/* Radio selected → espresso border on payment/shipping card */
input[type="radio"]:checked + label + label {
    border-color: #F53D02 !important;
    background: rgba(0,0,0,0.02) !important;
}

/* Checkout address icon → espresso */
.icon-checkout-address {
    color: #3A342C !important;
}

/* Shipping icon → espresso */
.icon-flate-rate {
    color: #3A342C !important;
}

/* Place order button in summary */
.primary-button.w-max.rounded-2xl.bg-navyBlue {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    border-color: #F53D02 !important;
}

/* Success page continue shopping */
.w-max.cursor-pointer.rounded-2xl.bg-navyBlue {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    border-radius: 8px !important;
}

/* Cart item image rounded */
.h-\[110px\].max-w-\[110px\].rounded-xl {
    border-radius: 12px !important;
}

/* Mini cart checkout button */
a.mx-auto.block.w-full.cursor-pointer.rounded-2xl.bg-navyBlue {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    border-radius: 8px !important;
}

/* ============================================
   STITCH CHECKOUT — Full Override
   ============================================ */

/* Checkout page background */
.container.px-\[60px\] {
    background: #FFFFFF !important;
}

/* Step accordion cards — white with subtle ring */
.mb-7.mt-8.overflow-hidden.rounded-xl,
.mb-7 .overflow-hidden {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    border: 1px solid #E4DACA !important;
    margin-bottom: 16px !important;
}

/* Accordion header — step number style */
.mb-7 [class*="justify-between"] h2.text-2xl,
.mb-7 h2.text-2xl.font-medium {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

/* All form inputs in checkout — Stitch style (filled bg, no border) */
.mb-7 input[type="text"],
.mb-7 input[type="email"],
.mb-7 input[type="tel"],
.mb-7 input[type="number"],
.mb-7 select,
.mb-7 textarea,
[id="steps-container"] input[type="text"],
[id="steps-container"] input[type="email"],
[id="steps-container"] input[type="tel"],
[id="steps-container"] select {
    background: #FAF7F1 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px !important;
    font-size: 14px !important;
    color: #3A342C !important;
    transition: all 0.2s !important;
}
.mb-7 input:focus,
.mb-7 select:focus,
[id="steps-container"] input:focus,
[id="steps-container"] select:focus {
    background: #FFFFFF !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15) !important;
}

/* Summary sidebar — sticky card */
.sticky.top-8.block.h-max {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 32px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    border: 1px solid #E4DACA !important;
}

/* Summary title */
h1.text-2xl.font-medium {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
}

/* Summary product images — rounded */
img.h-\[90px\].max-h-\[90px\] {
    border-radius: 8px !important;
}

/* Summary product name → espresso */
p.text-base.text-navyBlue {
    color: #3A342C !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Summary price → espresso */
.text-lg.font-medium {
    color: #3A342C !important;
}

/* Grand total row */
.text-lg.font-semibold {
    font-family: 'Manrope', sans-serif !important;
}

/* Grand total value → big espresso */
div.flex.justify-between.text-right:last-of-type .text-lg.font-semibold:last-child {
    color: #3A342C !important;
    font-size: 1.75rem !important;
    font-weight: 900 !important;
}

/* "Shipping: Free" → espresso */
.flex.justify-between .text-base.font-medium[style],
.flex.justify-between .font-medium {
    color: #3A342C !important;
}

/* Place Order / Proceed button — full width gradient */
.primary-button.w-max.rounded-2xl,
.primary-button.rounded-2xl {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
    font-size: 14px !important;
    letter-spacing: 0.12em !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    border: none !important;
}

/* Payment method cards — grid style like Stitch */
.flex.flex-wrap.gap-7 > .relative.cursor-pointer {
    flex: 1 !important;
    min-width: 0 !important;
}
.flex.flex-wrap.gap-7 > .relative.cursor-pointer label.block {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100px !important;
    border-radius: 12px !important;
    border-width: 2px !important;
    transition: all 0.2s !important;
}

/* Selected payment method — espresso border */
.flex.flex-wrap.gap-7 input[type="radio"]:checked ~ label.block {
    border-color: #F53D02 !important;
    background: rgba(0,0,0,0.02) !important;
}

/* Payment method icon */
.icon-radio-unselect,
.icon-radio-select {
    color: #3A342C !important;
}

/* Shipping method cards */
.flex.flex-wrap.gap-8 > div label.block {
    border-radius: 12px !important;
    border-width: 2px !important;
    transition: all 0.2s !important;
}
.flex.flex-wrap.gap-8 input[type="radio"]:checked ~ label.block {
    border-color: #F53D02 !important;
}

/* Checkout address cards */
.relative.max-w-\[414px\].cursor-pointer.select-none.rounded-xl {
    border-color: #E4DACA !important;
    border-radius: 12px !important;
    transition: all 0.2s !important;
}
.relative.max-w-\[414px\].cursor-pointer.select-none.rounded-xl:hover {
    border-color: #F53D02 !important;
}

/* Address icon → espresso */
.icon-checkout-address {
    color: #3A342C !important;
}

/* Shipping icon → espresso */
.icon-flate-rate {
    color: #3A342C !important;
}

/* Coupon link → espresso */
.cursor-pointer.text-base.text-blue-700,
.cursor-pointer.font-semibold.text-blue-700,
.text-blue-700,
button.text-blue-700 {
    color: #3A342C !important;
}

/* Trust badges below summary (add via CSS pseudo) */
.sticky.top-8::after {
    content: '🔒 SSL Encrypted & Secure Payment';
    display: block;
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: #FAF7F1;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #655A4C;
}

/* ============================================
   CART PAGE — Stitch Style
   ============================================ */

/* Cart item border — softer */
.flex.justify-between.gap-x-2\.5.border-b {
    border-color: #E4DACA !important;
    padding-bottom: 24px !important;
}

/* Cart item image — more rounded */
.h-\[110px\].max-w-\[110px\] {
    border-radius: 12px !important;
}

/* Cart quantity selector — espresso border */
.flex.max-w-max.items-center.gap-x-2\.5.rounded-\[54px\].border.border-navyBlue {
    border-color: #F53D02 !important;
    border-radius: 8px !important;
}

/* Cart summary box */
.w-\[418px\].max-w-full {
    background: #FFFFFF !important;
    border-radius: 12px !important;
    padding: 32px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    border: 1px solid #E4DACA !important;
}

/* Mini-cart continue to checkout */
a.mx-auto.block.w-full.cursor-pointer.rounded-2xl.bg-navyBlue {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    border-radius: 8px !important;
}

/* Mini-cart badge */
.absolute.-top-4.rounded-\[44px\].bg-navyBlue {
    background: #F53D02 !important;
}

/* ============================================
   INPUTS — Stitch Filled Style (REAL selectors)
   ============================================ */

/* All text inputs in checkout */
.mb-1\.5.w-full.rounded-lg.border,
input.rounded-lg.border,
input[class*="rounded-lg"][class*="border"][class*="px-5"] {
    background: #FAF7F1 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
    color: #3A342C !important;
}
.mb-1\.5.w-full.rounded-lg.border:focus,
input.rounded-lg.border:focus,
input[class*="rounded-lg"][class*="border"]:focus {
    background: #FFFFFF !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15) !important;
    border: none !important;
}

/* Select dropdowns */
.custom-select,
select.custom-select {
    background: #FAF7F1 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
    color: #3A342C !important;
}
.custom-select:focus,
select.custom-select:focus {
    background: #FFFFFF !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.15) !important;
}

/* Coupon input */
input[class*="px-6"][class*="py-4"] {
    background: #FAF7F1 !important;
    border: none !important;
    border-radius: 8px !important;
}

/* ============================================
   FIX v7 — Targeted corrections
   ============================================ */

/* Mini-cart button — ensure text is visible */
a.mx-auto.block.w-full.cursor-pointer.rounded-2xl {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
}

/* FIX: Summary values should NOT all be espresso */
.flex.justify-between.text-right .text-base.font-medium {
    color: #3A342C !important;
}

/* Only Grand Total value = espresso */
.text-lg.font-semibold {
    color: #3A342C !important;
}

/* Override: ONLY last grand total row gets espresso */
div.mb-8.mt-6 > div:last-child .text-lg.font-semibold:last-child,
div.mb-8 > div:last-of-type .text-lg.font-semibold:last-child {
    color: #3A342C !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
}

/* "Total Geral" label = espresso too */
div.mb-8 > div:last-of-type .text-lg.font-semibold:first-child {
    color: #3A342C !important;
}

/* "Aplicar Código de Desconto" stays espresso */
.cursor-pointer.text-base.text-blue-700,
span.cursor-pointer.text-base.text-blue-700 {
    color: #3A342C !important;
}

/* FIX: Checkout inputs — target the REAL compiled classes */
input.rounded-lg.border.px-5.py-3,
input[class*="rounded-lg"][class*="border"][class*="py-3"],
input[class*="mb-1.5"][class*="rounded-lg"],
.mb-1\.5.w-full.rounded-lg {
    background: #FAF7F1 !important;
    border: 2px solid #FAF7F1 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
}
input.rounded-lg.border.px-5.py-3:focus,
input[class*="rounded-lg"][class*="border"][class*="py-3"]:focus {
    background: #FFFFFF !important;
    border: 2px solid rgba(0,0,0,0.3) !important;
}

/* Nuclear: ALL inputs and selects inside checkout container */
.container input[type="text"],
.container input[type="email"],
.container input[type="tel"],
.container input[type="number"],
.container input[type="password"],
.container select {
    background: #FAF7F1 !important;
    border: 2px solid #FAF7F1 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
}
.container input[type="text"]:focus,
.container input[type="email"]:focus,
.container input[type="tel"]:focus,
.container input[type="number"]:focus,
.container input[type="password"]:focus,
.container select:focus {
    background: #FFFFFF !important;
    border: 2px solid rgba(0,0,0,0.3) !important;
    box-shadow: none !important;
}

/* Shipping "Free" → green not espresso */
.flex.justify-between .font-medium:not(.text-lg) {
    color: #4E6B4A !important;
}

/* ============================================
   FIX v8 — Undo green damage + Add to Cart button
   ============================================ */

/* UNDO: Remove the overly broad green rule */
.flex.justify-between .font-medium:not(.text-lg) {
    color: inherit !important;
}

/* Product names — must be dark, espresso on hover */
.group a p.text-base,
.group .text-base.font-medium,
.break-all.text-base.font-medium,
p.text-base.font-medium {
    color: #3A342C !important;
}
.group:hover a p.text-base,
.group:hover .text-base.font-medium {
    color: #3A342C !important;
}

/* Product price — must be dark */
.group .font-semibold,
.text-lg.font-semibold,
.text-lg.font-medium {
    color: #3A342C !important;
}

/* ONLY "Total Geral" row = espresso */
div.flex.justify-between.text-right:last-of-type > .text-lg.font-semibold {
    color: #3A342C !important;
}

/* Add to Cart button on product cards (hover state) */
.action-items .primary-button,
.action-items button {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
    border: none !important;
}

/* Main Add to Cart on product page */
.primary-button.w-full.max-w-\[374px\] {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
    border-color: #F53D02 !important;
}

/* Summary values — all black except coupon link */
.flex.justify-between.text-right .text-base.font-medium,
.flex.justify-between .text-base.font-medium {
    color: #3A342C !important;
}

/* Coupon applied code stays terracota */
p.text-base.font-medium.text-navyBlue {
    color: #B9502E !important;
}

/* ============================================
   FIX v9 — Button text WHITE + product page fix
   ============================================ */

/* ALL primary buttons — force white text */
.primary-button,
button.primary-button,
a.primary-button,
.primary-button * {
    color: #FFFFFF !important;
}

/* Action items button text on cards */
.action-items button,
.action-items a {
    color: #FFFFFF !important;
}

/* "ADICIONAR AO CARRINHO" on hover cards */
.block.m-0.mx-auto.text-base.text-center.primary-button {
    color: #FFFFFF !important;
}

/* Secondary button text stays dark */
.secondary-button,
a.secondary-button {
    color: #3A342C !important;
}
.secondary-button:hover,
a.secondary-button:hover {
    color: #3A342C !important;
}

/* FIX v10 — Card button text MUST be white */
.group .primary-button,
.group .primary-button span,
.group button.primary-button,
.group .action-items button,
.group .action-items a,
.group .bg-navyBlue,
.group a.primary-button,
.group [class*="primary-button"] {
    color: #FFFFFF !important;
}

/* Price inside group stays dark (not button) */
.group .font-semibold:not(.primary-button):not(button) {
    color: #3A342C !important;
}

/* ============================================
   NUCLEAR FIX v11 — Primary button WHITE text
   Uses highest specificity possible
   ============================================ */
.primary-button { color: #fff !important; }
button.primary-button { color: #fff !important; }
a.primary-button { color: #fff !important; }
.group .primary-button { color: #fff !important; }
.group button.primary-button { color: #fff !important; }
.group a.primary-button { color: #fff !important; }
[class*="primary-button"] { color: #fff !important; }
.block.m-0.mx-auto.text-base.text-center.primary-button { color: #fff !important; }
body .primary-button { color: #fff !important; }
html body .primary-button { color: #fff !important; }
html body .group .primary-button { color: #fff !important; }

/* ============================================
   FIX v12 — Card "Adicionar ao Carrinho" is secondary-button!
   Make it look like primary (espresso bg, white text)
   ============================================ */
.group .secondary-button.w-full,
.group .secondary-button.w-full.max-w-full {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
.group .secondary-button.w-full:hover {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
}

/* ============================================
   FIX v13 — HIGHEST specificity for card button
   ============================================ */
html body div.action-items button.secondary-button.w-full.max-w-full.font-medium {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 8px !important;
}
html body .action-items button.secondary-button {
    background: linear-gradient(135deg, #F53D02, #FF6B1A) !important;
    color: #FFFFFF !important;
    border: none !important;
}

/* ============================================
   PRODUCT CAROUSEL — Minimal / Clean
   ============================================ */

/* Section title — clean, large, no accent bar */
[class*="v-products-carousel"] .container h2,
.container > .flex > h2.font-dmserif {
    font-family: 'Manrope', -apple-system, sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    font-style: normal !important;
    color: #3A342C !important;
    letter-spacing: -0.4px !important;
    padding-left: 0 !important;
    position: relative !important;
}

/* Remove accent bar */
.container > .flex > h2.font-dmserif::before {
    display: none !important;
}

/* "Ver Todos" — simple text link with arrow */
.container > .flex a > p.items-center {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #755C34 !important;
    transition: color 0.2s ease !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.container > .flex a > p.items-center:hover {
    color: #3A342C !important;
}

/* Bottom "Ver Todos" — minimal underlined link */
a.secondary-button.mx-auto.mt-5.block {
    background: none !important;
    color: #755C34 !important;
    border: none !important;
    border-bottom: 1px solid #E4DACA !important;
    border-radius: 0 !important;
    padding: 6px 2px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    transition: all 0.2s ease !important;
}
a.secondary-button.mx-auto.mt-5.block:hover {
    color: #3A342C !important;
    border-bottom-color: #3A342C !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Navigation arrows — minimal, thin, no circle */
.icon-arrow-left-stylish,
.icon-arrow-right-stylish,
.rtl\:icon-arrow-right-stylish,
.rtl\:icon-arrow-left-stylish {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 0 !important;
    background: none !important;
    border: none !important;
    font-size: 22px !important;
    color: #655A4C !important;
    transition: color 0.2s ease !important;
    cursor: pointer !important;
}
.icon-arrow-left-stylish:hover,
.icon-arrow-right-stylish:hover {
    color: #3A342C !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Scroll container — smooth snap, hidden scrollbar */
.container .flex.gap-8.pb-2\.5.mt-10.overflow-auto {
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding-bottom: 8px !important;
}
.container .flex.gap-8.pb-2\.5.mt-10.overflow-auto::-webkit-scrollbar {
    display: none !important;
}
.container .flex.gap-8.pb-2\.5.mt-10.overflow-auto > * {
    scroll-snap-align: start !important;
}

/* ── Mobile product card fixes ── */

/* Product name: max 2 lines with ellipsis */
.group p.break-all {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    word-break: break-word !important;
    line-height: 1.4 !important;
}

/* Price: single line, no wrap */
.group .flex[class*="text-lg"] {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex-wrap: nowrap !important;
}

/* Product image container: no overflow */
.group > div:first-child {
    overflow: hidden !important;
}

/* Cards — 4 on desktop, 2 on mobile with peek */
@media (max-width: 768px) {
    .container .flex.gap-8.pb-2\.5.mt-10.overflow-auto > * {
        min-width: calc(50% - 14px) !important;
        flex: 0 0 calc(50% - 14px) !important;
    }
    .container > .flex > h2.font-dmserif {
        font-size: 20px !important;
    }

    /* Card info section: constrain width to card */
    .group > div.-mt-9 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Image: constrain to card width */
    .group > div:first-child {
        max-width: 100% !important;
        max-height: 200px !important;
    }

    /* Navigation arrows: 44px touch target */
    .icon-arrow-left-stylish,
    .icon-arrow-right-stylish {
        min-width: 44px !important;
        min-height: 44px !important;
    }
}

@media (max-width: 480px) {
    .container .flex.gap-8.pb-2\.5.mt-10.overflow-auto {
        gap: 10px !important;
    }
    .container .flex.gap-8.pb-2\.5.mt-10.overflow-auto > * {
        min-width: calc(50% - 5px) !important;
        flex: 0 0 calc(50% - 5px) !important;
    }

    /* Tighter card at 360px */
    .group p.break-all {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
        line-height: 1.35 !important;
        margin-bottom: 2px !important;
    }

    .group .flex[class*="text-lg"] {
        font-size: 13px !important;
    }

    .group > div:first-child {
        max-height: 170px !important;
    }

    /* Info section: tighter padding */
    .group > div.-mt-9 {
        padding: 4px !important;
        gap: 2px !important;
    }
}

@media (max-width: 360px) {
    .container .flex.gap-8.pb-2\.5.mt-10.overflow-auto {
        gap: 8px !important;
    }
    .container .flex.gap-8.pb-2\.5.mt-10.overflow-auto > * {
        min-width: calc(50% - 4px) !important;
        flex: 0 0 calc(50% - 4px) !important;
    }

    .group p.break-all {
        font-size: 11px !important;
    }

    .group .flex[class*="text-lg"] {
        font-size: 12px !important;
    }

    .group > div:first-child {
        max-height: 150px !important;
    }
}

/* Carousel section spacing — generous whitespace */
.container.mt-20 {
    margin-top: 56px !important;
    margin-bottom: 0 !important;
}
@media (max-width: 768px) {
    .container.mt-20 {
        margin-top: 40px !important;
    }
}

/* ── Product grid: 4 columns on wide screens ── */
@media (min-width: 1180px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* ── Facet filter pills: wrap on desktop, scroll on mobile ── */
.facet-pills-scroll {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 768px) {
    .facet-pills-scroll {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 4px;
    }
    .facet-pills-scroll::-webkit-scrollbar {
        display: none;
    }
    .facet-pills-scroll > a {
        flex-shrink: 0 !important;
        display: inline-flex !important;
    }
    .facet-pills-more {
        display: none !important;
    }
}

/* Locale/currency dropdown items must stay dark on white panel (top-bar rule paints all descendant spans white !important) */
.flex.w-full.items-center.justify-between.border.border-b.border-l-0.border-r-0.border-t-0.px-16 .journal-scroll span{color:#3A342C !important;}

/* A11Y-05: visible keyboard focus ring (WCAG 2.4.7). Only for keyboard nav
   (:focus-visible), so mouse clicks stay clean. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid #3A342C !important;
    outline-offset: 2px !important;
    border-radius: 2px;
}

/* 404 page */
.es-btn-dark{background:#F53D02!important;color:#fff!important}
.es-btn-dark:hover{background:#B9502E!important}
.es-chip:hover{border-color:#B9502E!important;color:#B9502E!important}
.es-searchbox:focus-within{border-color:#B9502E!important;--tw-ring-color:#B9502E!important}

@media (prefers-reduced-motion:reduce){*,::before,::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
