/*
Theme Name:   Hello Elementor Child – JelitaSara Style
Theme URI:    https://jelitasara.com./
Description:  Child theme of Hello Elementor styled after MINAZ (minaz.com.my) — Instrument Sans, neutral grey/black palette, sharp edges, uppercase tracked headings.
Author:       Your Name
Template:     hello-elementor
Version:      1.6.6
Text Domain:  jeliatasara-child
*/

/* ==========================================================================
   DESIGN TOKENS
   These mirror MINAZ's soft, feminine, minimal modest-fashion aesthetic:
   warm neutrals / blush / cream background, deep charcoal text, a muted
   gold/rose accent for CTAs and sale badges, elegant serif for headings,
   clean sans-serif for body copy.

   ⚠️ Open minaz.com.my → right-click any heading/button → Inspect →
   Computed tab, and replace the hex codes / font-family values below with
   the EXACT ones you find, for a pixel-accurate match.
   ========================================================================== */

:root {
    /* ---- Legacy --minaz-* tokens (kept so header/footer/front-page/WooCommerce
       templates keep working) — now mapped to the new design system ---- */

    /* Colors */
    --minaz-color-bg: #EFEFEF;           /* page background (scheme-1) */
    --minaz-color-surface: #FFFFFF;      /* cards, product tiles (scheme-2) */
    --minaz-color-text: #1C1C1C;
    --minaz-color-text-muted: #666666;
    --minaz-color-primary: #1C1C1C;      /* links, icons */
    --minaz-color-accent: #1C1C1C;       /* buttons */
    --minaz-color-accent-dark: #000000;  /* button hover/active */
    --minaz-color-border: #CFCFCF;
    --minaz-color-header-bg: #FFFFFF;
    --minaz-color-footer-bg: #B76E79;
    --minaz-color-footer-text: #FFFFFF;

    --minaz-announcement-bg: #B76E79;    /* scheme-3 */
    --minaz-announcement-text: white;
    --minaz-logo-gold: #B76E79;
    --minaz-nav-text: #1C1C1C;
    --minaz-nav-sale: #E32C2B;
    --minaz-icon-color: #1C1C1C;
    --minaz-header-border: #CFCFCF;

    --minaz-band-bg: #EFEFEF;
    --minaz-footer-bg: #FFFFFF;
    --minaz-footer-heading: #1C1C1C;
    --minaz-footer-text: #1C1C1C;
    --minaz-footer-btn-bg: #1C1C1C;

    /* Typography */
    --minaz-font-heading: "Instrument Sans", sans-serif;
    --minaz-font-body: "Instrument Sans", sans-serif;
    --minaz-font-size-base: 14px;
    --minaz-letter-spacing-caps: 0.18em;

    /* Layout */
    --minaz-radius: 0;                   /* sharp edges */
    --minaz-container-width: 85rem;

    /* ---- Core design system variables ---- */

    /* Typography */
    --font-primary: "Instrument Sans", sans-serif;
    --text-h1: clamp(1.375rem, 1.146rem + 0.976vw, 2rem);
    --text-h2: clamp(1.25rem, 1.067rem + 0.780vw, 1.75rem);
    --text-h3: clamp(1.125rem, 1.034rem + 0.390vw, 1.375rem);
    --text-h4: clamp(1rem, 0.954rem + 0.195vw, 1.125rem);
    --text-h5: 0.875rem;
    --text-h6: 0.75rem;
    --text-base: 0.875rem;
    --text-small: 0.8125rem;
    --text-xs: 0.75rem;

    /* Layout */
    --container-xxs-max-width: 27.5rem;
    --container-xs-max-width: 42.5rem;
    --container-sm-max-width: 61.25rem;
    --container-md-max-width: 71.875rem;
    --container-lg-max-width: 78.75rem;
    --container-xl-max-width: 85rem;

    /* Spacing */
    --section-vertical-spacing: 2.5rem;
    --section-stack-gap: 2.25rem;
    --input-padding-block: 0.65rem;
    --input-padding-inline: 0.8rem;
    --checkbox-size: 0.875rem;

    /* Borders & Shadows */
    --button-border-radius: 0rem;
    --input-border-radius: 0rem;
    --shadow-sm: 0 2px 8px rgb(0 0 0 / 0.05);
    --shadow: 0 5px 15px rgb(0 0 0 / 0.05);
    --shadow-md: 0 5px 30px rgb(0 0 0 / 0.05);
}

/* ==========================================
   Color Schemes
   (values are comma-separated RGB so they can be used as
   rgb(var(--color-text)) or rgba(var(--color-text), .2))
   Scheme 1 is also the site default (on :root).
   ========================================== */
:root,
.color-scheme--scheme-1 {
    --color-text: 28, 28, 28;
    --color-background: 239, 239, 239;
    --color-button-background: 28, 28, 28;
    --color-button-text: 255, 255, 255;
    --color-accent: 28, 28, 28;
}

.color-scheme--scheme-2 {
    --color-text: 28, 28, 28;
    --color-background: 255, 255, 255;
    --color-button-background: 28, 28, 28;
    --color-button-text: 255, 255, 255;
    --color-accent: 28, 28, 28;
}

.color-scheme--scheme-3 {
    --color-text: 218, 192, 18;
    --color-background: 112, 18, 20;
    --color-button-background: 255, 255, 255;
    --color-button-text: 218, 192, 18;
    --color-accent: 255, 255, 255;
}

.color-scheme--scheme-4 {
    --color-text: 255, 255, 255;
    --color-background: 0, 0, 0;
    --color-button-background: 255, 255, 255;
    --color-button-text: 28, 28, 28;
    --color-accent: 255, 255, 255;
}

.color-scheme--dialog {
    --color-text: 28, 28, 28;
    --color-background: 255, 255, 255;
    --color-button-background: 28, 28, 28;
    --color-button-text: 255, 255, 255;
    --color-accent: 28, 28, 28;
}

/* Apply scheme */
[class*="color-scheme--"] {
    background-color: rgb(var(--color-background));
    color: rgb(var(--color-text));
}

/* ==========================================
   Base
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    color: rgb(var(--color-text));
    background-color: rgb(var(--color-background));
}

/* ==========================================
   Typography
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1.2;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h5 { font-size: var(--text-h5); }
h6 { font-size: var(--text-h6); }

p {
    margin: 0 0 1em;
}

small, .text-small { font-size: var(--text-small); }
.text-xs { font-size: var(--text-xs); }

/* ==========================================
   Buttons
   ========================================== */
.button,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: var(--button-border-radius);
    background-color: rgb(var(--color-button-background));
    color: rgb(var(--color-button-text));
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    opacity: 0.8;
}

.sfr-product-card:hover .sfr-product-title a,
.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
	color: #B76E79 !important;
}


/* Hide the View Cart button */
.added_to_cart.wc-forward {
    display: none !important;
}

/* Hide the checkmark icon */
.added_to_cart::before,
.ajax_add_to_cart.added::after,
button.single_add_to_cart_button.button.alt.added::after {
    display: none !important;
}

/* ==========================================
   Forms
   ========================================== */
input,
select,
textarea {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    padding: var(--input-padding-block) var(--input-padding-inline);
    border: 1px solid rgba(var(--color-text), 0.2);
    border-radius: var(--input-border-radius);
    background-color: rgb(var(--color-background));
    color: rgb(var(--color-text));
}

input[type="checkbox"],
input[type="radio"] {
    width: var(--checkbox-size);
    height: var(--checkbox-size);
}

/* ==========================================
   Layout
   ========================================== */
.container {
    width: 100%;
    max-width: var(--container-lg-max-width);
    margin-inline: auto;
    padding-inline: 1rem;
}

.section {
    padding-block: var(--section-vertical-spacing);
}

.section-stack {
    display: flex;
    flex-direction: column;
    gap: var(--section-stack-gap);
}

/* ==========================================
   Product & Status
   ========================================== */
.on-sale {
    color: rgb(227, 44, 43);
}

.badge--sold-out {
    background-color: rgb(239, 239, 239);
    color: rgba(0, 0, 0, 0.65);
    padding: 0.25rem 0.5rem;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.alert--success {
    background-color: rgb(212, 227, 203);
    color: rgb(48, 122, 7);
}

.alert--warning {
    background-color: rgb(253, 241, 224);
    color: rgb(237, 138, 0);
}

.alert--error {
    background-color: rgb(243, 204, 204);
    color: rgb(203, 43, 43);
}

/* ==========================================
   Shadows
   ========================================== */
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-md { box-shadow: var(--shadow-md); }

/* ==========================================
   Responsive
   ========================================== */
@media (min-width: 700px) {
    :root {
        --section-vertical-spacing: 3rem;
        --section-stack-gap: 2.5rem;
    }
}

@media (min-width: 1000px) {
    :root {
        --section-vertical-spacing: 4rem;
        --section-stack-gap: 3rem;
    }
}

/*
 * NOTE — Shop / category / tag archive layout (breadcrumb, title,
 * toolbar, product grid, quick add-to-cart overlay) is implemented
 * in custom_product_archive.php, targeting WooCommerce's own markup
 * directly (.woocommerce-breadcrumb, #primary.content-area,
 * ul.products, etc.) instead of speculative wrapper classes, and
 * with NO sidebar/filter drawer — the sidebar is removed entirely
 * on those pages. See he_shop_archive_layout_css() in that file.
 */

/* ---- Announcement bar ---- */
.minaz-announcement-bar {
    background: #B76E79;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 10px 16px;
    position: relative;
}
.minaz-announcement-bar p {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: var(--minaz-font-body, sans-serif);
}
.minaz-announcement-bar__arrow {
    background: none;
    border: none;
    color: var(--minaz-announcement-text);
    font-size: 1.1rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    opacity: 0.85;
}
.minaz-announcement-bar__arrow:hover { opacity: 1; }

/* ---- Header wrapper ---- */
.minaz-site-header {
    background: #fff;
    border-bottom: 1px solid var(--minaz-header-border);
}

.minaz-header-row {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

button.minaz-menu-toggle {
    background-color: transparent !important;
}

/* Brand row: 3-column grid so logo stays perfectly centered
   regardless of icon-row width */
.minaz-header-row--brand {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding-top: 20px;
}

.minaz-logo { grid-column: 2; text-align: center; }
.minaz-logo img { max-height: 56px; width: auto; }

.minaz-logo__text {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    text-decoration: none;
    font-family: var(--minaz-font-heading, "Instrument Sans", sans-serif);
    color: var(--minaz-logo-gold);
}
.minaz-logo__mark {
    font-size: 2.1rem;
    line-height: 1;
}
.minaz-logo__divider {
    font-weight: 300;
    color: var(--minaz-logo-gold);
    opacity: 0.6;
}
.minaz-logo__word {
    font-size: 2.4rem;
    letter-spacing: 0.03em;
}
.minaz-logo__tm {
    font-size: 0.7rem;
    top: -1.2em;
}

.minaz-header-icons {
    grid-column: 3;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
}
.minaz-icon {
    color: var(--minaz-icon-color);
    display: inline-flex;
    position: relative;
}
.minaz-icon:hover { color: var(--minaz-logo-gold); }
.minaz-cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--minaz-logo-gold);
    color: #fff;
    font-size: 0.6rem;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 50%;
}

/* ---- Mobile menu toggle (hamburger) ----
   !important here is deliberate: these are <button> elements, and the
   site-wide generic `button { ... }` reset (display:inline-flex, dark
   background, 0.75rem 1.5rem padding) otherwise paints them as a big
   solid-black bar instead of a small transparent icon. */
.minaz-menu-toggle {
    display: none !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 5px !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 0;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}
.minaz-menu-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--minaz-icon-color);
    transition: transform 0.25s ease, opacity 0.25s ease;
}
body.minaz-nav-open .minaz-menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.minaz-nav-open .minaz-menu-toggle__bar:nth-child(2) { opacity: 0; }
body.minaz-nav-open .minaz-menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.minaz-mobile-nav__close {
    display: none !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

.minaz-mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.minaz-nav-open .minaz-mobile-nav-overlay { display: block; opacity: 1; }

.minaz-submenu-toggle { display: none; }

/* ---- Nav row ---- */
.minaz-header-row--nav {
    justify-content: center;
    padding-top: 14px;
    padding-bottom: 14px;
}
.minaz-header-row--drawer { display: none; }
.minaz-main-nav__list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.minaz-main-nav__list a {
    color: var(--minaz-nav-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-family: var(--minaz-font-body, sans-serif);
    font-weight: 500;
}
.minaz-main-nav__list a:hover { color: var(--minaz-logo-gold); }

/* "SALE" item — auto-detected by minaz_child_flag_sale_menu_item() in functions.php */
.minaz-main-nav__list .nav-sale > a {
    color: var(--minaz-nav-sale);
    font-weight: 700;
}

/* Submenus (basic dropdown) */
.minaz-main-nav__list li { position: relative; }
.minaz-main-nav__list ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--minaz-header-border);
    min-width: 200px;
    padding: 10px 0;
    list-style: none;
    margin: 12px 0 0;
    z-index: 50;
}
.minaz-main-nav__list li:hover > ul.sub-menu { display: block; }
.minaz-main-nav__list ul.sub-menu li { padding: 0; }
.minaz-main-nav__list ul.sub-menu a {
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

/* ---- Mobile ---- */
@media (max-width: 900px) {
    .minaz-header-row--brand { padding-top: 10px; padding-bottom: 10px; }
    .minaz-logo__word { font-size: 1.6rem; }
    .minaz-logo__mark { font-size: 1.5rem; }
    .minaz-header-icons { gap: 21px; }
    .minaz-announcement-bar p { font-size: 0.62rem; }

    .minaz-menu-toggle { display: flex !important; }

    .minaz-header-row--desktop-nav { display: none; }

    /* Mobile navigation uses a left-hand slide-in drawer, MINAZ-style */
    .minaz-header-row--drawer {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        background: #fff;
        z-index: 999;
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 24px rgba(0,0,0,0.08);
    }
    body.minaz-nav-open .minaz-header-row--drawer { transform: translateX(0); }

    .minaz-mobile-nav__close {
        display: block !important;
        align-self: flex-end;
        background: none !important;
        border: none !important;
        padding: 0 !important;
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
        color: var(--minaz-icon-color);
        margin-bottom: 12px;
    }

    .minaz-header-row--drawer .minaz-main-nav__list {
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
    }
    .minaz-header-row--drawer .minaz-main-nav__list li { width: 100%; position: relative; }
    .minaz-header-row--drawer .minaz-main-nav__list a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--minaz-header-border);
        font-size: 0.85rem;
    }
    .minaz-header-row--drawer .minaz-main-nav__list ul.sub-menu {
        display: none;
        position: static;
        border: none;
        margin: 0 0 0 16px;
        padding: 0;
        min-width: 0;
    }
    .minaz-header-row--drawer .minaz-main-nav__list li.is-expanded > ul.sub-menu { display: block; }

    .minaz-submenu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 8px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        font-size: 1.1rem;
        line-height: 1;
        cursor: pointer;
        color: var(--minaz-icon-color);
    }

    body.minaz-nav-open { overflow: hidden; } /* lock background scroll while drawer is open */
}

/* ---- Search overlay ---- */
.minaz-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    align-items: flex-start;
    justify-content: center;
}
.minaz-search-overlay.is-open { display: flex; }
.minaz-search-overlay__form {
    background: #fff;
    margin-top: 80px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 90%;
    max-width: 520px;
    border-radius: 2px;
}
.minaz-search-overlay__form input[type="search"] {
    flex: 1;
    border: none;
    border-bottom: 1px solid var(--minaz-header-border);
    padding: 8px 4px;
    font-size: 1rem;
}
.minaz-search-overlay__form input[type="search"]:focus { outline: none; border-color: var(--minaz-logo-gold); }
.minaz-search-overlay__form button { background: none; border: none; cursor: pointer; color: var(--minaz-icon-color); }


/* ---- Brand statement band ---- */
.minaz-brand-statement {
    background: var(--minaz-band-bg);
    text-align: center;
    padding: 72px 24px;
}
.minaz-brand-statement__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: var(--minaz-footer-text);
    margin: 0 0 16px;
}
.minaz-brand-statement__heading {
    font-family: var(--minaz-font-heading, "Instrument Sans", sans-serif);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--minaz-footer-heading);
    max-width: 900px;
    margin: 0 auto 28px;
    line-height: 1.4;
}
.minaz-brand-statement__body {
    max-width: 780px;
    margin: 0 auto;
    color: var(--minaz-footer-text);
    font-size: 0.9rem;
    line-height: 1.8;
}
.minaz-brand-statement__body p { margin: 0 0 14px; }
.minaz-brand-statement__body p:last-child { margin-bottom: 0; }

/* ---- Main footer ---- */
.minaz-site-footer {
    background: var(--minaz-footer-bg);
    color: var(--minaz-footer-text);
    padding: 64px 32px 32px;
}
.minaz-footer-columns {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
}
@media (max-width: 900px) {
    .minaz-footer-columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .minaz-footer-columns { grid-template-columns: 1fr; }
}

.minaz-footer-col__title {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--minaz-footer-heading);
    margin: 0 0 20px;
}

.minaz-footer-tagline {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: var(--minaz-footer-heading);
    margin: 0 0 20px;
    max-width: 260px;
}
.minaz-footer-hq-title {
    font-weight: 700;
    color: var(--minaz-footer-heading);
    margin: 0 0 10px;
}
.minaz-footer-line {
    font-size: 0.85rem;
    margin: 0 0 4px;
    color: var(--minaz-footer-text);
}
.minaz-footer-line--spaced { margin-top: 14px; margin-bottom: 14px; }
.minaz-footer-line a {
    color: var(--minaz-footer-text);
    text-decoration: underline;
}
.minaz-footer-line a:hover { color: var(--minaz-footer-heading); }

.minaz-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.minaz-footer-links li { margin-bottom: 12px; }
.minaz-footer-links a {
    color: var(--minaz-footer-text);
    text-decoration: none;
    font-size: 0.88rem;
}
.minaz-footer-links a:hover { color: var(--minaz-footer-heading); }

.minaz-footer-newsletter-copy {
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 280px;
}
.minaz-footer-newsletter-form {
    display: flex;
    max-width: 300px;
}
.minaz-footer-newsletter-form input[type="email"] {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-right: none;
    font-size: 0.85rem;
}
.minaz-footer-newsletter-form input[type="email"]:focus { outline: none; }
.minaz-footer-newsletter-form button {
    background: var(--minaz-footer-btn-bg);
    color: #fff;
    border: none;
    padding: 0 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    cursor: pointer;
    white-space: nowrap;
}
.minaz-footer-newsletter-form button:hover { background: #000; }

/* Social icons */
.minaz-footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}
.minaz-footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ddd;
    color: var(--minaz-footer-heading);
}
.minaz-footer-social:hover {
    background: var(--minaz-footer-heading);
    color: #fff;
    border-color: var(--minaz-footer-heading);
}

/* Bottom line */
.minaz-footer-bottom {
    max-width: 1400px;
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-size: 0.75rem;
    color: #999;
}

/* 2. Hero */
.minaz-hero {
    position: relative;
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}
.minaz-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.minaz-hero__content {
    position: absolute;
    left: 8%;
    bottom: 12%;
    max-width: 480px;
    color: var(--minaz-color-text);
}
.minaz-hero__content h1 {
    font-family: var(--minaz-font-heading);
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin: 0 0 8px;
}
.minaz-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: var(--minaz-letter-spacing-caps);
    font-size: 0.8rem;
    margin: 0 0 20px;
    color: var(--minaz-color-text-muted);
}

/* 2a. Hero banner slider (fed by Admin > Banners) */
.minaz-hero__slider {
    position: relative;
    width: 100%;
}
.minaz-hero__track {
    display: grid;              /* all slides stack in one cell -> height = tallest slide */
}
.minaz-hero__slide {
    grid-area: 1 / 1;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s;
}
.minaz-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.minaz-hero__slide-link,
.minaz-hero__slide picture {
    display: block;
    height: 100%;
}
.minaz-hero__slider .minaz-hero__image {
    width: 100%;
    height: 100%;
    max-height: 700px;
    object-fit: cover;
    display: block;
}
.minaz-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255,255,255,0.75) !important;
    color: var(--minaz-color-text) !important;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background-color 0.25s ease;
}
.minaz-hero__slider:hover .minaz-hero__arrow,
.minaz-hero__arrow:focus-visible { opacity: 1; }
.minaz-hero__arrow:hover { background-color: #fff !important; color: var(--minaz-color-text) !important; }
.minaz-hero__arrow--prev { left: 16px; }
.minaz-hero__arrow--next { right: 16px; }
.minaz-hero__dots {
    position: absolute;
    left: 0; right: 0; bottom: 16px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.minaz-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0 !important;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6) !important;
    border: 1px solid rgba(0,0,0,0.25);
    cursor: pointer;
}
.minaz-hero__dot.is-active,
.minaz-hero__dot:hover { background-color: #fff !important; transform: scale(1.25); }
@media (max-width: 768px) {
    .minaz-hero__arrow { display: none; }   /* swipe on touch screens */
    .minaz-hero__dots { bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    .minaz-hero__slide { transition: none; }
}

/* 3. Promo / category grid */
.minaz-promo-grid {
    --promo-gap: clamp(14px, 3vw, 44px);
    --promo-radius: clamp(20px, 3.5vw, 48px);

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--promo-gap);
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--promo-gap);
}

.minaz-promo-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--promo-radius);
    text-decoration: none;
    isolation: isolate;                 /* keeps rounded clipping during zoom (Safari fix) */
    transform: translateZ(0);
}

.minaz-promo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;                /* try 4 / 5 or 3 / 2 for other proportions */
    object-fit: cover;
    transition: transform 0.6s ease;
}
.minaz-promo-card:hover img { transform: scale(1.05); }

/* White label centered near the bottom (replaces the dark gradient) */
.minaz-promo-card__text {
    position: absolute;
    left: 50%;
    bottom: 6%;
    transform: translateX(-50%);
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    white-space: nowrap;
}
.minaz-promo-card__text h3 {
    margin: 0;
    padding: clamp(10px, 1.4vw, 20px) clamp(20px, 3.2vw, 48px);
    background: #fff;
    color: var(--minaz-color-text);
    font-family: var(--minaz-font-heading);
    font-size: clamp(0.72rem, 1.1vw, 1rem);
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.2;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.minaz-promo-card:hover .minaz-promo-card__text h3 {
    background: var(--minaz-color-text);
    color: #fff;
}

/* Subtitle isn't shown in this design */
.minaz-promo-card__text p { display: none; }

@media (max-width: 900px) {
    .minaz-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.header-icon {
    width: 20px; 
    height: 20px;
}
@media (max-width: 480px) {
    .minaz-promo-card__text { bottom: 5%; }
    .minaz-promo-card__text h3 { letter-spacing: 0.14em; }
    .minaz-icon--account { display: none; }
    .header-icon {
        width: 25px; 
        height: 25px;
    }
}

/* Generic section wrapper */
.minaz-section {
    max-width: var(--minaz-container-width);
    margin: 0 auto;
    padding: 64px 24px;
}
.minaz-section__title {
    font-family: var(--minaz-font-heading);
    text-align: center;
    font-size: 1.8rem;
    margin: 0 0 40px;
}
.minaz-section__cta {
    text-align: center;
    margin-top: 32px;
}

/* 4. Product grid */
.minaz-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .minaz-product-grid { grid-template-columns: repeat(2, 1fr); }
}
.minaz-product-card {
    display: block;
    text-decoration: none;
    color: var(--minaz-color-text);
}
.minaz-product-card__image {
    background: var(--minaz-color-surface);
    border: 1px solid var(--minaz-color-border);
    overflow: hidden;
    margin-bottom: 10px;
}
.minaz-product-card__image img {
    width: 100%;
    /* aspect-ratio: 4 / 5; */
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.minaz-product-card:hover .minaz-product-card__image img { transform: scale(1.04); }
.minaz-product-card h4 {
    font-family: var(--minaz-font-body);
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 0 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-align: center;
}
.minaz-price {
    color: var(--minaz-color-accent);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    display: block;
}

/* 5. Testimonials */
.minaz-testimonials { background: var(--minaz-color-surface); }
.minaz-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 900px) {
    .minaz-testimonial-grid { grid-template-columns: 1fr; }
}
.minaz-testimonial-card {
    text-align: center;
    padding: 24px;
    border: 1px solid var(--minaz-color-border);
}
.minaz-testimonial-card__stars {
    color: var(--minaz-logo-gold) !important;
    letter-spacing: 2px;
    margin: 0 0 12px;
}
.minaz-testimonial-card__quote {
    font-style: italic;
    color: var(--minaz-color-text-muted);
    margin: 0 0 16px;
    line-height: 1.6;
}
.minaz-testimonial-card__name {
    font-family: var(--minaz-font-heading);
    margin: 0;
    font-weight: 600;
}

/* 6. Brand / collab strip */
.minaz-brand-strip {
    text-align: center;
    padding: 48px 24px;
}
.minaz-brand-strip h3 {
    font-family: var(--minaz-font-heading);
    margin-bottom: 32px;
}
.minaz-brand-strip__logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    opacity: 0.7;
}
.minaz-brand-strip__logos img { max-height: 40px; width: auto; }

/* 7. Newsletter strip */
.minaz-newsletter {
    background: var(--minaz-color-footer-bg);
    color: var(--minaz-color-footer-text);
    text-align: center;
    padding: 64px 24px;
}
.minaz-newsletter h3 {
    font-family: var(--minaz-font-heading);
    margin: 0 0 8px;
    color: #fff;
}
.minaz-newsletter p { margin: 0 0 24px; opacity: 0.8; }
.minaz-newsletter__form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
}
.minaz-newsletter__form input[type="email"] {
    flex: 1;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: #fff;
}
.minaz-newsletter__form input[type="email"]::placeholder { color: rgba(255,255,255,0.6); }
.minaz-newsletter__form button {
    background: var(--minaz-color-bg) !important;
    color: var(--minaz-logo-gold) !important;
    border: none;
    padding: 14px 24px;
    text-transform: uppercase;
    letter-spacing: var(--minaz-letter-spacing-caps);
    cursor: pointer;
}
.minaz-newsletter__form button:hover { background: var(--minaz-color-accent-dark); }
