/* Vinyl Frog storefront app layer — bridges the original theme assets */

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/opensans_n4.c32e4d4eca5273f6d4ee95ddf54b5bbb75fc9b61.woff2') format('woff2');
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/opensans_n7.a9393be1574ea8606c68f4441806b2711d0d13e4.woff2') format('woff2');
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/opensans_i4.6f1d45f7a46916cc95c694aab32ecbf7509cbf33.woff2') format('woff2');
}
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/opensans_i7.916ced2e2ce15f7fcd95d196601a15e7b89ee9a4.woff2') format('woff2');
}
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/poppins_n7.56758dcf284489feb014a026f3727f2f20a54626.woff2') format('woff2');
}

/* Generic storefront utilities not covered by section CSS */
.visually-hidden { position: absolute !important; overflow: hidden; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); word-wrap: normal !important; }

/* Logo size safety net — prevents raw multi-thousand-pixel source files
   (VinylFrogLOGO2.png is 3692x799) from rendering at intrinsic size when
   section CSS fails to load or is missing width constraints. */
.site-logo, .footer-logo, img[src*="LOGO"] {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}
/* Header logo uses width-first sizing (175px desktop / 140px mobile), same as origin */
.\#header-logo-img > img { height: auto; }

.stretched-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }

.initial-hidden[hidden] { display: none !important; }
.mobile-hidden { display: block; }
.desktop-hidden { display: none !important; }

@media (max-width: 992px) {
    .mobile-hidden { display: none !important; }
    .desktop-hidden { display: block !important; }
}

/* Cart counter badge */
.\#header-actions-item { position: relative; }
.cart-counter, .\#cart-counter {
    position: absolute;
    top: -4px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9999rem;
    background: var(--color-g-cart-counter-bg, #dc358b);
    color: var(--color-g-cart-counter-text, #fff);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}

/* WhatsApp floating chat button */
.whatsapp-chat-button {
    position: fixed;
    left: 20px;
    bottom: 84px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 9999rem;
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
    text-decoration: none;
}
.whatsapp-chat-button:hover { transform: scale(1.05); color: #fff; }
.whatsapp-chat-button svg { width: 22px; height: 22px; fill: #fff; }

/* Predictive search overlay */
.predictive-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    background: rgba(0, 0, 0, 0.4);
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}
.predictive-search-overlay.open { display: flex; }
.predictive-search-panel {
    width: min(680px, 92vw);
    background: var(--color-g-bg);
    border-radius: var(--glob-border-radius-base);
    box-shadow: var(--box-shadow-large);
    overflow: hidden;
}
.predictive-search-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
}
.predictive-search-input-row input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    color: var(--color-g-text);
    background: transparent;
}
.predictive-search-results {
    max-height: 50vh;
    overflow-y: auto;
    border-top: 1px solid var(--color-g-border);
}
.predictive-search-result-item {
    display: flex;
    gap: 12px;
    padding: 12px 18px;
    align-items: center;
    color: var(--color-g-text);
    text-decoration: none;
}
.predictive-search-result-item:hover { background: var(--color-g-bg-d5); }
.predictive-search-result-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.predictive-search-result-title { font-weight: 700; font-size: 0.95rem; }
.predictive-search-result-price { color: var(--color-g-text-alpha-70); font-size: 0.85rem; }

/* Product page form */
.product-form-error { color: var(--color-g-danger); font-size: 0.85rem; margin-top: 8px; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--color-g-border); }
.faq-item summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 700;
    font-family: var(--glob-heading-family);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { transition: transform 0.3s; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 0 18px; color: var(--color-g-text-alpha-80); }

/* Flash messages */
.flash-message {
    padding: 12px 18px;
    border-radius: var(--glob-border-radius-base);
    margin-bottom: 16px;
    font-size: 0.95rem;
}
.flash-success { background: rgba(25, 135, 84, 0.12); color: #198754; }
.flash-error { background: rgba(220, 53, 69, 0.12); color: #DC3545; }
.flash-info { background: rgba(28, 255, 134, 0.12); color: #1cff86; }

/* Forms generic */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--color-g-border);
    border-radius: var(--glob-border-radius-inner);
    font-family: var(--glob-body-family);
    font-size: 1rem;
    color: var(--color-g-text);
    background: var(--color-g-bg);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
    outline: 2px solid var(--color-g-accent);
    outline-offset: -1px;
}

/* Pagination override for Laravel */
#pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; }
#pagination a, #pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: var(--glob-border-radius-inner);
    color: var(--color-g-text);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid var(--color-g-border);
}
#pagination .current { background: var(--color-g-text); color: var(--color-g-fg); }

/* Scroll to top */
.scroll-to-top-button {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 998;
    width: 44px;
    height: 44px;
    border-radius: 9999rem;
    border: none;
    background: var(--color-g-text);
    color: var(--color-g-fg);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.scroll-to-top-button.visible { display: inline-flex; }
/* ============================================================
   RESPONSIVE HIDDEN CLASSES (Fix for Duplicate Header)
   ============================================================ */
@media (min-width: 992px) {
    .desktop-hidden { display: none !important; }
}
@media (max-width: 991px) {
    .mobile-hidden { display: none !important; }
}

/* ============================================================
   HEADER SLIMMING (Compact Design)
   ============================================================ */
.\#utility-bar-inner {
    padding-block: 6px !important; /* Slim down the top bar */
}
.\#header-inner {
    padding-block: 10px !important; /* Slim down the main header */
}

/* ============================================================
   HEADER LAYOUT — replicating the origin site structure
   Row 2: logo | Shop-All dropdown | big search input | IDR | Login | Cart
   ============================================================ */

/* ----------------------------------------------------------------
   MINIMALIST REDESIGN & BUG #1 FIX — Header sticky + opaque
   ---------------------------------------------------------------- */




/* Ensure the sticky header block paints a solid, fully opaque background.
   The original CSS variable --header-bg-color resolves to a gradient which IS
   opaque, but z-index was missing so page content could render above the header. */
.\#header.\@sticky {
    position: sticky;
    top: 0;
    z-index: 200;                             /* above all page content */
    /* Force a solid background fallback in case the CSS variable chain fails */
    background: var(--header-bg-color, var(--color-g-header-gradient-bg, var(--color-g-header-bg, #ec1e79)));
    isolation: isolate;                        /* create new stacking context */
}

/* Navigation bar (row 3) must stick directly below header and also be opaque */
.\#navigation-bar {
    position: sticky;
    top: var(--header-sticky-height, 0);       /* stacks flush under the header */
    z-index: 199;                              /* just below the header */
    background-color: var(--color-g-bg, #fff); /* solid, never transparent */
    isolation: isolate;
}

/* Utility bar (row 1) — always visible, sits behind sticky header on scroll */
.\#utility-bar.initial-hidden {
    position: relative;
    z-index: 100;
}

/* Search bar form: minimalist refinement.
   Make it thinner, with a subtle border and elegant background. */
.\#header-searchbar-form {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15); /* subtle thin border */
    background-color: rgba(255, 255, 255, 0.06); /* very subtle dark mode box */
    border-radius: var(--glob-border-radius-base, 8px);
    position: relative;
    z-index: 12;                               /* above siblings inside header */
    transition: var(--transition-base);
    height: 42px;                                /* compact height */
}
body.glob--border-radius-rounded .\#header-searchbar-form {
    border-radius: var(--glob-border-radius-pill, 9999rem);
}

/* Search input: cleaner, lighter font */
.\#header-searchbar-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--header-searchbar-text-color, var(--color-g-text));
    padding: 0 1rem;
    width: 100%;
    min-width: 0;
    font-weight: 400; /* Minimalist typography is usually not bold */
}
.\#header-searchbar-input::placeholder { font-weight: 400; color: var(--header-text-color, var(--color-g-text)); opacity: 0.7; }
.\#header-searchbar-submit {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0 1rem;
    color: inherit;
    display: inline-flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.\#header-searchbar-submit:hover { opacity: 1; }
.\#header-searchbar-submit .\#icon { --size: 1rem; }

.\#header-inner { flex-wrap: nowrap; }
.\#header .\#header-part { flex-shrink: 0; }
.header-part-grow { flex-grow: 1 !important; min-width: 0; }

.\#header-toolbar {
    display: flex;
    align-items: center;
    gap: var(--glob-size-5, 1.25rem);
    justify-content: flex-end;
    width: 100%;
}

/* Search bar: takes the middle space */
.\#header-searchbar { flex: 1 1 auto; min-width: 120px; }

/* Toolbar items (currency / login / cart) — refined for minimalist look */
.\#header-toolbar .\#header-toolbar-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-direction: row;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.\#header-toolbar .\#header-toolbar-item:hover { opacity: 1; }
.\#header-toolbar-item-icon { position: relative; display: flex; align-items: center; }
.\#header-toolbar-item-icon .\#icon { --size: 1.25rem; } /* slightly smaller icons */
.\#header-toolbar-item-info { display: flex; flex-direction: column; gap: 0; line-height: 1.2; }
.\#header-toolbar-item-subtitle { font-size: 0.65rem; opacity: 0.6; margin: 0; text-transform: uppercase; letter-spacing: 0.05em; }
.\#header-toolbar-item-title {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: .2em;
    margin: 0;
}
.vf-currency-selector .#header-toolbar-item-info { display: flex; }
.vf-currency-globe { width: 18px; height: 18px; }

.vf-cart-counter {
    position: absolute;
    top: -6px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 9999rem;
    background: var(--color-g-cart-counter-bg, #dc358b);
    color: var(--color-g-cart-counter-text, #fff);
    font-size: .68rem;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
}

/* Header mega dropdown must be full-width anchored to header, not clipped */
.\#header .\#header-nav { min-width: 0; }
.\#header .\#main-nav.vf-header-catalog { justify-content: flex-start; }

/* ============================================================
   NAVIGATION BAR (row 3) — single horizontal line
   (position/z-index/background now handled in the BUG #1 block above)
   ============================================================ */
.\#navigation-bar {
    border-top: 1px solid var(--color-g-border);
    border-bottom: 1px solid var(--color-g-border);
}
.\#navigation-bar .\#main-nav.vf-navbar-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.\#navigation-bar .\#main-nav.vf-navbar-nav::-webkit-scrollbar { display: none; }

/* ============================================================
   MOBILE HEADER (below 992px) — hamburger + logo + search + cart in one row
   ============================================================ */
@media (max-width: 991px) {
    .\#header-inner { flex-wrap: nowrap; }
    .\#header-actions { display: flex; align-items: center; gap: 14px; }
    .\#header-actions-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        cursor: pointer;
        color: inherit;
        padding: 4px;
    }
    .\#header-actions-item .\#icon { --size: 1.5rem; }
    .vf-mobile-logo-part { flex-grow: 1; display: flex; justify-content: center; }
}

/* Mobile drawer navigation */
.vf-mobile-nav { position: fixed; inset: 0; z-index: 1200; }
.vf-mobile-nav[hidden] { display: none !important; }
.vf-mobile-nav-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.vf-mobile-nav-panel {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(320px, 85vw);
    background: var(--color-g-bg);
    overflow-y: auto;
    box-shadow: var(--color-scheme-box-shadow-drop, 0 10px 30px rgba(0,0,0,.2));
    animation: vf-slide-in .25s ease;
}
@keyframes vf-slide-in { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .vf-mobile-nav-panel { animation: none; } }
.vf-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-g-border);
}
.vf-mobile-nav-title { font-family: var(--glob-heading-family); font-weight: 700; font-size: 1.1rem; }
.vf-mobile-nav-close { border: none; background: transparent; cursor: pointer; color: inherit; display: inline-flex; padding: 4px; }
.vf-mobile-nav-close .\#icon { --size: 1.4rem; }
.vf-mobile-nav-body { padding: 12px 0 32px; }
.vf-mobile-nav-group { padding: 8px 0; border-bottom: 1px solid var(--color-g-border); }
.vf-mobile-nav-group:last-child { border-bottom: none; display: flex; gap: 14px; padding: 16px 20px; }
.vf-mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--color-g-text);
    text-decoration: none;
    font-weight: 500;
}
.vf-mobile-nav-link:hover { background: var(--color-g-bg-d5, rgba(0,0,0,.05)); }
.vf-mobile-nav-link--main { font-weight: 700; }
.vf-mobile-nav-link .\#icon { --size: 1.2rem; }
.vf-mobile-nav-social {
    display: inline-flex;
    padding: 8px;
    border-radius: 9999rem;
    background: var(--color-g-bg-d5, rgba(0,0,0,.06));
    color: var(--color-g-text);
}
.vf-mobile-nav-social .\#icon { --size: 1.1rem; }

/* ============================================================
   HOMEPAGE SECTIONS — replicating origin site sections
   ============================================================ */

/* --- 3. 1000s of Happy Customers (portrait cards w/ play button) --- */
.vf-happy-customers { position: relative; }
.vf-happy-customers-track {
    display: flex;
    gap: var(--glob-gutter, 24px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.vf-happy-customers-track::-webkit-scrollbar { display: none; }
.vf-happy-customer-card {
    position: relative;
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;
}
.vf-happy-customer-media {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: var(--glob-border-radius-base, 10px);
    overflow: hidden;
    background: var(--color-g-bg-d5, #eee);
}
.vf-happy-customer-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vf-happy-customer-card:hover .vf-happy-customer-media img { transform: scale(1.05); }
.vf-happy-customer-play {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 9999rem;
    background: rgba(0,0,0,.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    pointer-events: none;
}
.vf-happy-customer-play svg { width: 20px; height: 20px; margin-left: 2px; }
.vf-happy-customer-caption { padding: 10px 2px 0; }
.vf-happy-customer-name {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
    color: var(--color-g-text);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vf-happy-customer-rating { color: #ffb400; display: flex; gap: 1px; }
.vf-happy-customer-rating svg { width: 14px; height: 14px; }
.vf-scroll-nav {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 5;
    width: 42px;
    height: 42px;
    border-radius: 9999rem;
    border: 1px solid var(--color-g-border);
    background: var(--color-g-fg);
    color: var(--color-g-text);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.vf-scroll-nav .\#icon { --size: 1.2rem; }
@media (min-width: 992px) {
    .vf-scroll-nav { display: inline-flex; }
    .vf-happy-customer-card { width: 235px; }
}
.vf-scroll-prev { left: -14px; }
.vf-scroll-next { right: -14px; }

/* --- 6. Shop By Wrap Finish (circular icon grid) --- */
.vf-circular-categories {
    display: grid;
    grid-template-columns: repeat(var(--vf-circ-columns, 8), 1fr);
    gap: var(--glob-size-5, 20px) var(--glob-size-3, 12px);
}
@media (max-width: 1199px) { .vf-circular-categories { --vf-circ-columns: 6; } }
@media (max-width: 991px) { .vf-circular-categories { --vf-circ-columns: 4; } }
@media (max-width: 575px) { .vf-circular-categories { --vf-circ-columns: 3; } }
.vf-circular-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-g-text);
    text-align: center;
}
.vf-circular-category-image {
    display: block;
    width: 100%;
    max-width: 128px;
    aspect-ratio: 1;
    border-radius: 9999rem;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--color-g-bg-d5, #f0f0f0);
    transition: border-color .25s ease, transform .25s ease;
}
.vf-circular-category-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf-circular-category:hover .vf-circular-category-image { border-color: var(--color-g-text); transform: translateY(-3px); }
.vf-circular-category-name {
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.25;
}
@media (max-width: 575px) { .vf-circular-category-name { font-size: .75rem; } }

/* --- 10/11. Brand logos + German banner --- */
.vf-section-brands { padding-block: 0; }
.vf-brand-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px 34px;
    padding: 36px 0;
}
.vf-brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 140px;
    height: 90px;
    text-decoration: none;
    opacity: .65;
    transition: opacity .25s ease, transform .25s ease;
}
.vf-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.vf-brand-logo:hover { opacity: 1; transform: translateY(-2px); }
.vf-german-banner {
    background: var(--color-g-header-gradient-bg, #1c1c1c);
    padding: 30px 0;
}
.vf-german-banner .#promo-banner { background: transparent; }
.vf-german-banner .\#promo-banner-text p { color: #fff; margin: 0 0 14px; }

/* --- 17. Customer Reviews (e-commerce style cards) --- */
.vf-customer-reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--glob-gutter, 24px);
}
@media (max-width: 1199px) { .vf-customer-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .vf-customer-reviews-grid { grid-template-columns: 1fr; } }
.vf-review-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-g-border);
    border-radius: var(--glob-border-radius-base, 10px);
    overflow: hidden;
    background: var(--color-g-fg);
}
.vf-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
}
.vf-review-avatar {
    width: 38px;
    height: 38px;
    border-radius: 9999rem;
    background: var(--color-g-text);
    color: var(--color-g-fg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.vf-review-meta { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.vf-review-name { font-weight: 700; font-size: .92rem; }
.vf-review-location { font-size: .75rem; opacity: .7; }
.vf-review-stars { color: #ffb400; display: flex; gap: 2px; }
.vf-review-stars svg { width: 15px; height: 15px; }
.vf-review-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--color-g-bg-d5, #eee); }
.vf-review-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vf-review-card:hover .vf-review-photo img { transform: scale(1.04); }
.vf-review-text {
    padding: 14px 16px 8px;
    font-size: .88rem;
    line-height: 1.55;
    color: var(--color-g-text-alpha-80, #555);
    margin: 0;
    flex-grow: 1;
}
.vf-review-product {
    padding: 0 16px 16px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-g-text);
    text-decoration: none;
}
.vf-review-product:hover { text-decoration: underline; }

/* --- Sections flush variants --- */
.vf-section-flush { padding-block: 0 !important; }
.vf-section-flush .\#section-body { margin-block: 0; }

/* ============================================================
   BUG #2 FIX — Footer responsive grid layout
   Root cause: .#footer-top had no explicit display:grid/flex definition,
   so #footer-block elements stacked in a single column at all breakpoints.
   Fix: 4-column grid on desktop → 2-col on tablet → 1-col on mobile.
   ============================================================ */

/* Desktop: 4 equal columns (brand info | Quick Links | Policies | Newsletter) */
.\#footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

/* Tablet (≤ 1024px): 2×2 grid */
@media (max-width: 1024px) {
    .\#footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Mobile (≤ 640px): 1 column, stacked */
@media (max-width: 640px) {
    .\#footer-top {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Newsletter input: full-width, no overflow */
.\#footer-newsletter-input {
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

/* Footer menu nav: ensure links don't overflow */
.\#footer-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.\#footer-menu-link {
    display: block;
    text-decoration: none;
    color: inherit;
    font-size: 0.95rem;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    line-height: 1.4;
}
.\#footer-menu-link:hover { opacity: 1; }

/* Copyright bar: flex-wrap so payment icons don't overflow on narrow screens */
.\#footer-copyright {
    flex-wrap: wrap;
    gap: 1rem;
}

/* Social icon row wraps gracefully on mobile */
.\#footer-social .\#social-profiles {
    flex-wrap: wrap;
}

/* ============================================================
   TUGAS 3: RESPONSIF — Cegah overflow horizontal di semua lebar
   ============================================================ */
@media (max-width: 991px) {
    /* Cegah horizontal scroll di semua layar mobile */
    html, body { overflow-x: hidden; }

    /* Container tidak melebihi lebar viewport */
    .\#container { max-width: 100%; box-sizing: border-box; }

    /* Semua section tidak boleh overflow */
    main section,
    main > *,
    .\#section-body { max-width: 100%; overflow-x: hidden; }

    /* Product grid: max 2 kolom di tablet */
    .vf-product-grid,
    .vf-collection-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
    /* Mobile kecil (375–414px): 1 kolom atau 2 kolom sempit */
    .vf-circular-categories { --vf-circ-columns: 3 !important; }

    /* Happy customer cards lebih kecil di mobile kecil */
    .vf-happy-customer-card { width: 180px !important; }

    /* Customer review grid: 1 kolom penuh */
    .vf-customer-reviews-grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   TUGAS 3: RESPONSIF — Header mobile 1 baris, tidak overflow
   ============================================================ */
@media (max-width: 991px) {
    /* Pastikan header inner tidak overflow horizontal */
    #mainHeader .\#header-inner { overflow: hidden; }

    /* Mobile header item — tidak boleh mengecil lebih dari ikon */
    #mainHeader .\#header-part { flex-shrink: 0; min-width: 0; }
}

/* Tablet landscape (1024px) dan portrait (768px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .\#footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* iPhone SE (375px) / Android kecil (360px) */
@media (max-width: 375px) {
    /* Footer 1 kolom penuh */
    .\#footer-top { grid-template-columns: 1fr !important; }

    /* Logo mobile tidak terlalu besar */
    #mainHeader .\#header-logo-img img { height: 26px !important; max-height: 26px !important; }
}

/* ============================================================
   PRODUCT PAGE — CRITICAL DISPLAY FIXES
   ============================================================ */

/* 1. Blaze Slider: tampilkan slide bahkan sebelum JS init */
.blaze-track {
    display: flex;
}
.blaze-track-container {
    overflow: hidden;
    width: 100%;
}
.blaze-slider {
    position: relative;
    overflow: hidden;
}

/* Pastikan gambar produk di slider terlihat */
.\#product-gallery-media {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
}
.\#product-gallery-media .\#media {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.\#product-gallery-media .\#media .\#media-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 2. Product gallery thumbnails */
.\#product-gallery-thumbnails-thumbnail-image .\#media {
    width: 55px;
    height: 55px;
    border: 2px solid var(--color-g-border, #e5e5e5);
    border-radius: var(--glob-border-radius-base, 4px);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.\#product-gallery-thumbnails-thumbnail-input:checked ~ .\#product-gallery-thumbnails-thumbnail-image .\#media {
    border-color: var(--color-g-accent, #5dcb4a);
}
.\#product-gallery-thumbnails-thumbnail-image .\#media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 3. slideshow-blaze dan product-gallery-slider harus block */
slideshow-blaze,
product-gallery-slider {
    display: block;
    width: 100%;
}

/* 4. Product option radio — tampilkan sebagai kotak */
.\#product-options-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.\#product-option.\@radio {
    display: inline-flex;
    position: relative;
}
.\#product-option.\@radio input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.\#product-option.\@radio span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 6px 12px;
    border: 2px solid var(--color-g-border, #ddd);
    border-radius: var(--glob-border-radius-base, 4px);
    font-size: 0.875rem;
    cursor: pointer;
    background: var(--color-g-fg, #fff);
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
    user-select: none;
}
.\#product-option.\@radio input[type="radio"]:checked ~ span {
    border-color: var(--color-g-accent, #5dcb4a);
    background: color-mix(in srgb, var(--color-g-accent, #5dcb4a) 10%, transparent);
    font-weight: 600;
}
.\#product-option.\@radio:hover span {
    border-color: var(--color-g-accent, #5dcb4a);
}

/* 5. Button primary tier */
.\@tier\:primary.\#button,
.\#button.\@tier\:primary {
    --button-bg-color: var(--button-color, #5dcb4a);
    --button-text-color: #fff;
    --button-bg-hover-color: color-mix(in srgb, var(--button-color, #5dcb4a) 85%, #000);
}

/* 6. media-image tidak boleh hilang */
.\#media-image {
    display: block;
    max-width: 100%;
}

/* 7. Product gallery wrapper */
.\#product-gallery-main-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

/* 8. Mobile fallback */
@media (max-width: 991px) {
    .\#product-gallery {
        display: block;
    }
    .\#product-gallery-thumbnails-wrapper.mobile-hidden {
        display: none !important;
    }
}

/* ============================================================
   BUG #1 FIX — Search bar: ensure placeholder + icon are always
   visible. Uses high-specificity overrides at the end of the
   stylesheet to win any cascade conflicts.
   ============================================================ */
#mainHeader .\#header-searchbar-form {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    height: 42px !important;
    background-color: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 20px !important;
    overflow: hidden;
}
#mainHeader .\#header-searchbar-input {
    width: 100% !important;
    height: 100% !important;
    padding: 0 44px 0 16px !important;
    border-radius: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 0.95rem !important;
}
#mainHeader .\#header-searchbar-input::placeholder {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
}
#mainHeader .\#header-searchbar-submit {
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    opacity: 1 !important;
    flex-shrink: 0;
}
#mainHeader .\#header-searchbar-submit .\#icon {
    --size: 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
}
#mainHeader .\#header-searchbar-submit:hover {
    opacity: 0.85 !important;
}

/* ============================================================
   BUG #2 FIX — Force the lights-off overlay to remain hidden
   on all storefront pages. The overlay was designed for dropdown
   focus/dim, but its backdrop-filter:blur(10px) caused entire
   page blur when triggered.
   ============================================================ */
.lights-off {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
