/**
 * EcommPaaS Claue V2 Theme — Core Stylesheet
 *
 * Claue-inspired minimalist fashion theme cloned from https://claue.arrowtheme.com/
 * Design tokens extracted from live reference site.
 *
 * Class prefix: cl- (claue theme)
 * Font stack: Poppins, Open Sans, Helvetica Neue
 * Breakpoints: 480 / 768 / 992 / 1200
 */

/* ===================================================================
   FONT IMPORTS
   Poppins + Open Sans loaded via <link> in default_head_blocks.xml
   =================================================================== */

/* ===================================================================
   1. CSS Custom Properties & Design Tokens
   =================================================================== */

:root {
    /* ── Primary Palette (Claue: black/white/minimalist) ── */
    --cl-primary: #000000;
    --cl-primary-dark: #1a1a1a;
    --cl-primary-light: #333333;
    --cl-accent: #222222;
    --cl-accent-dark: #000000;

    /* ── CTA coral (Claue reference Add-to-Cart button) ── */
    --cl-cta: #cf9683;
    --cl-cta-dark: #bd7e63;

    /* ── Neutrals ── */
    --cl-text: #696969;
    --cl-text-dark: #222529;
    --cl-text-light: #999999;
    --cl-heading: #222529;
    --cl-bg: #ffffff;
    --cl-bg-light: #f4f4f4;
    --cl-bg-dark: #222529;
    /* Reference: rgb(34,34,34) = #222222 — Claue dark topbar (measured from claue.arrowtheme.com) */
    --cl-bg-topbar: #222222;
    --cl-border: #e7e7e7;
    --cl-border-light: #eeeeee;

    /* ── Status colors ── */
    --cl-success: #4caf50;
    --cl-danger: #e74c3c;
    --cl-warning: #ffc107;
    --cl-info: #000000;
    --cl-hot: #ff6600;

    /* ── Shadows ── */
    --cl-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --cl-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --cl-shadow-lg: 0 5px 20px rgba(0, 0, 0, 0.1);
    --cl-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.12);

    /* ── Borders & Radius ── */
    --cl-radius: 0px;
    --cl-radius-sm: 2px;
    --cl-radius-md: 4px;
    --cl-transition: 0.25s ease;

    /* ── Typography ── */
    --cl-font: "Poppins", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --cl-font-heading: "Poppins", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --cl-font-size: 14px;
    --cl-font-size-sm: 12px;
    --cl-font-size-lg: 16px;
    --cl-heading-weight: 600;
    --cl-line-height: 1.6;

    /* ── Spacing ── */
    --cl-space-xs: 4px;
    --cl-space-sm: 8px;
    --cl-space-md: 16px;
    --cl-space-lg: 24px;
    --cl-space-xl: 32px;
    --cl-space-2xl: 48px;
    --cl-space-3xl: 64px;

    /* ── Layout ── */
    --cl-container: 1200px;
    --cl-container-padding: 15px;
    --cl-grid-gap: 30px;
    --cl-header-height: 80px;
    --cl-topbar-height: 36px;

    /* ── Product Card ── */
    --cl-product-img-ratio: 133.3%; /* 4:3 portrait */
    --cl-product-name-size: 14px;
    --cl-product-price-size: 15px;
    --cl-product-price-weight: 600;
}

/* ===================================================================
   2. Reset & Base
   =================================================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--cl-font-size);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--cl-font);
    font-size: 1rem;
    color: var(--cl-text);
    background: var(--cl-bg);
    line-height: var(--cl-line-height);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--cl-transition);
}

a:hover {
    color: var(--cl-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cl-font-heading);
    font-weight: var(--cl-heading-weight);
    color: var(--cl-heading);
    line-height: 1.3;
    margin-bottom: var(--cl-space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: var(--cl-space-md);
}

/* ===================================================================
   3. Container
   =================================================================== */

.cl-container {
    max-width: var(--cl-container);
    margin: 0 auto;
    padding: 0 var(--cl-container-padding);
}

.cl-container--fluid {
    max-width: 100%;
}

/* ===================================================================
   4. Top Bar
   =================================================================== */

/* ── Topbar (Row 1 — dark) ── */
.cl-topbar {
    background: var(--cl-bg-topbar); /* #222222 — matches reference rgb(34,34,34) */
    font-size: var(--cl-font-size-sm);
    color: #ffffff;                   /* white text on dark background */
    height: var(--cl-topbar-height);
    line-height: var(--cl-topbar-height);
}

.cl-topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.cl-topbar__left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cl-topbar__left a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.85);
    font-size: var(--cl-font-size-sm);
    text-decoration: none;
    transition: color var(--cl-transition);
}

.cl-topbar__left a:hover {
    color: #ffffff;
}

.cl-topbar__center {
    text-align: center;
    flex: 1;
}

.cl-topbar__center .cl-promo-text {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.cl-topbar__center .cl-promo-text span[style] {
    /* color:inherit does NOT override an inline style= attribute; it is a no-op when an
       inline color is present (inline styles win over any stylesheet rule per CSS spec).
       This rule has no effect and is kept only as a documentation marker to indicate that
       inline-styled spans inside .cl-promo-text should not be overridden. */
    color: inherit;
}

.cl-topbar__center .cl-promo-link {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    margin-left: 4px;
    transition: color var(--cl-transition);
}

.cl-topbar__center .cl-promo-link:hover {
    color: rgba(255, 255, 255, 0.75);
}

.cl-topbar__right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cl-topbar__right select {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    padding: 2px 6px;
    font-size: var(--cl-font-size-sm);
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    border-radius: var(--cl-radius-sm);
}

.cl-topbar__right select option {
    background: #222222;
    color: #ffffff;
}

/* ===================================================================
   5. Header
   =================================================================== */

.cl-header {
    background: var(--cl-bg);
    border-bottom: 1px solid var(--cl-border);
    position: relative;
    z-index: 100;
}

.cl-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--cl-header-height);
    gap: 20px;
}

/* ── Logo ── */

.cl-logo {
    flex-shrink: 0;
}

.cl-logo__img {
    max-height: 40px;
    width: auto;
}

.cl-logo__text {
    font-family: var(--cl-font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--cl-primary);
    letter-spacing: -0.5px;
}

/* ── Navigation ── */

.cl-nav {
    flex: 1;
}

.cl-nav__list {
    display: flex;
    align-items: center;
    gap: 5px;
}

.cl-nav__item {
    position: relative;
}

.cl-nav__link {
    display: block;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cl-text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: color var(--cl-transition);
}

.cl-nav__link:hover {
    color: var(--cl-primary);
}

.cl-nav__item--has-children > .cl-nav__link::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 10px;
}

/* ── Header Actions ── */

.cl-header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.cl-header__icon {
    font-size: 20px;
    color: var(--cl-text-dark);
    position: relative;
    transition: color var(--cl-transition);
}

.cl-header__icon:hover {
    color: var(--cl-primary);
}

.cl-header__cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--cl-primary);
    color: var(--cl-bg);
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* ===================================================================
   6. Footer
   =================================================================== */

.cl-footer {
    background: var(--cl-bg-dark);
    color: #999;
    padding: var(--cl-space-3xl) 0 0;
}

.cl-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--cl-grid-gap);
    padding-bottom: var(--cl-space-2xl);
}

.cl-footer__col h6 {
    color: var(--cl-bg);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--cl-space-lg);
}

.cl-footer__col ul li {
    margin-bottom: 10px;
}

.cl-footer__col ul li a {
    color: #999;
    font-size: 13px;
    transition: color var(--cl-transition);
}

.cl-footer__col ul li a:hover {
    color: var(--cl-bg);
}

.cl-footer__social {
    display: flex;
    gap: 12px;
    margin-top: var(--cl-space-md);
}

.cl-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #999;
    font-size: 16px;
    transition: all var(--cl-transition);
}

.cl-footer__social a:hover {
    background: var(--cl-primary);
    color: var(--cl-bg);
}

.cl-footer__newsletter p {
    color: #999;
    font-size: 13px;
    margin-bottom: var(--cl-space-md);
}

.cl-footer__newsletter-form {
    display: flex;
    gap: 0;
}

.cl-footer__newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: var(--cl-bg);
    font-size: 13px;
    outline: none;
    border-radius: var(--cl-radius-sm) 0 0 var(--cl-radius-sm);
}

.cl-footer__newsletter-form input::placeholder {
    color: #666;
}

.cl-footer__newsletter-form button {
    padding: 10px 20px;
    background: var(--cl-primary);
    color: var(--cl-bg);
    border: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 0 var(--cl-radius-sm) var(--cl-radius-sm) 0;
    transition: background var(--cl-transition);
}

.cl-footer__newsletter-form button:hover {
    background: var(--cl-primary-light);
}

.cl-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--cl-space-lg) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.cl-footer__bottom-links {
    display: flex;
    gap: 20px;
}

.cl-footer__bottom-links a {
    color: #999;
}

.cl-footer__bottom-links a:hover {
    color: var(--cl-bg);
}

.cl-footer__payment-img {
    max-height: 24px;
    opacity: 0.6;
}

/* ===================================================================
   7. Buttons
   =================================================================== */

.cl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--cl-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--cl-transition);
    line-height: 1.4;
    border-radius: var(--cl-radius-sm);
}

.cl-btn--primary {
    background: var(--cl-primary);
    color: var(--cl-bg);
    border-color: var(--cl-primary);
}

.cl-btn--primary:hover {
    background: var(--cl-primary-light);
    border-color: var(--cl-primary-light);
}

.cl-btn--outline {
    background: transparent;
    color: var(--cl-primary);
    border-color: var(--cl-primary);
}

.cl-btn--outline:hover {
    background: var(--cl-primary);
    color: var(--cl-bg);
}

.cl-btn--dark {
    background: var(--cl-bg-dark);
    color: var(--cl-bg);
    border-color: var(--cl-bg-dark);
}

.cl-btn--dark:hover {
    background: var(--cl-bg);
    color: var(--cl-bg-dark);
    border-color: var(--cl-bg-dark);
}

.cl-btn--sm {
    padding: 8px 20px;
    font-size: 12px;
}

.cl-btn--lg {
    padding: 16px 40px;
    font-size: 15px;
}

/* ===================================================================
   8. Product Card
   =================================================================== */

.cl-product-card {
    position: relative;
    margin-bottom: var(--cl-grid-gap);
}

.cl-product-card__image {
    position: relative;
    overflow: hidden;
    margin-bottom: var(--cl-space-md);
    background: var(--cl-bg-light);
}

.cl-product-card__image a {
    display: block;
    position: relative;
}

.cl-product-card__image img {
    width: 100%;
    transition: opacity 0.4s ease, transform 0.6s ease;
}

.cl-product-card__image--hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cl-product-card:hover .cl-product-card__image--hover {
    opacity: 1;
}

.cl-product-card:hover .cl-product-card__image--main {
    opacity: 0;
}

/* ── Product Actions Overlay ── */

.cl-product-card__actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.cl-product-card:hover .cl-product-card__actions {
    opacity: 1;
    transform: translateY(0);
}

.cl-product-card__action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cl-bg);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--cl-text-dark);
    cursor: pointer;
    transition: all var(--cl-transition);
    box-shadow: var(--cl-shadow-sm);
}

.cl-product-card__action-btn:hover {
    background: var(--cl-primary);
    color: var(--cl-bg);
}

/* ── Swatches ── */

.cl-product-card__swatches {
    display: flex;
    gap: 6px;
    margin-bottom: var(--cl-space-sm);
}

.cl-product-card__swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--cl-border);
    cursor: pointer;
    transition: border-color var(--cl-transition);
}

.cl-product-card__swatch:hover {
    border-color: var(--cl-primary);
}

/* ── Product Info ── */

.cl-product-card__info {
    text-align: center;
}

.cl-product-card__name {
    font-size: var(--cl-product-name-size);
    font-weight: 400;
    color: var(--cl-text);
    margin-bottom: 6px;
    line-height: 1.4;
}

.cl-product-card__name a {
    color: inherit;
    transition: color var(--cl-transition);
}

.cl-product-card__name a:hover {
    color: var(--cl-primary);
}

.cl-product-card__price {
    font-size: var(--cl-product-price-size);
    font-weight: var(--cl-product-price-weight);
    color: var(--cl-text-dark);
}

.cl-product-card__price--old {
    color: #999;
    text-decoration: line-through;
    font-weight: 400;
    font-size: 13px;
    margin-right: 6px;
}

.cl-product-card__rating {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 6px;
    color: #ffc107;
    font-size: 12px;
}

/* ── Labels ── */

.cl-product-card__label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--cl-bg);
    border-radius: var(--cl-radius-sm);
}

.cl-product-card__label--new {
    background: var(--cl-primary);
}

.cl-product-card__label--sale {
    background: var(--cl-danger);
}

.cl-product-card__label--hot {
    background: var(--cl-hot);
}

/* ===================================================================
   9. Section Headings
   =================================================================== */

.cl-section-heading {
    text-align: center;
    margin-bottom: var(--cl-space-xl);
}

.cl-section-heading__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--cl-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.cl-section-heading__subtitle {
    font-size: 14px;
    color: var(--cl-text-light);
    font-weight: 400;
}

/* ===================================================================
   10. Homepage Hero Slider
   =================================================================== */

.cl-hero {
    position: relative;
    overflow: hidden;
}

.cl-hero__slide {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.cl-hero__content {
    max-width: 500px;
    padding: var(--cl-space-3xl) 0;
}

.cl-hero__subtitle {
    font-size: 16px;
    font-weight: 500;
    color: var(--cl-text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--cl-space-md);
}

.cl-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: var(--cl-heading);
    line-height: 1.1;
    margin-bottom: var(--cl-space-md);
}

.cl-hero__description {
    font-size: 15px;
    color: var(--cl-text-light);
    line-height: 1.6;
    margin-bottom: var(--cl-space-lg);
}

/* ===================================================================
   11. Category Banners
   =================================================================== */

/* body.cl-page-home scoping ensures these layout rules only affect the
   homepage banner grid and do not alter category-page or product-page elements
   that may reuse the cl-category-banner component class. */
body.cl-page-home .cl-category-banners {
    /* 2-column layout: large left banner + right 2×2 panel
     * Reference (claue.arrowtheme.com): container 1200px, each half ≈ 570px
     * (1200px - 30px gap) / 2 = 585px per column after the 30px outer gap.
     * Total section height: 600px (left) = 300px top + 270px bottom + 30px gap (right col).
     */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--cl-grid-gap); /* 30px via token — single authoritative source */
    margin-bottom: var(--cl-space-3xl);
    align-items: stretch;
}

/* LEFT: large Women banner spans full 600px height */
body.cl-page-home .cl-category-banner--large {
    height: 600px;
}

/* RIGHT column: stacks top-row + bottom banner vertically */
body.cl-page-home .cl-category-banners__right {
    display: flex;
    flex-direction: column;
    gap: var(--cl-grid-gap); /* 30px via token */
}

/* Top row: 2 equal small banners side-by-side, each ≈ 277px rendered
   ((570px right-col - 30px gap) / 2 ≈ 270px per small banner) */
body.cl-page-home .cl-category-banners__right-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--cl-grid-gap); /* 30px via token, matches outer gap */
    height: 300px;
}

/* Bottom banner: full right-column width, 270px tall */
body.cl-page-home .cl-category-banner--wide {
    height: 270px;
}

.cl-category-banner {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cl-category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cl-category-banner:hover img {
    transform: scale(1.05);
}

.cl-category-banner__overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.cl-category-banner__btn {
    display: inline-block;
    padding: 10px 24px;
    background: var(--cl-bg);
    color: var(--cl-text-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all var(--cl-transition);
    box-shadow: var(--cl-shadow-sm);
}

.cl-category-banner__btn:hover {
    background: var(--cl-primary);
    color: var(--cl-bg);
}

/* ===================================================================
   12. Features Bar
   =================================================================== */

.cl-features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--cl-grid-gap);
    padding: var(--cl-space-2xl) 0;
    border-top: 1px solid var(--cl-border-light);
    margin-top: var(--cl-space-3xl);
}

.cl-feature {
    text-align: center;
}

.cl-feature__icon {
    font-size: 32px;
    color: var(--cl-primary);
    margin-bottom: var(--cl-space-md);
}

.cl-feature__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--cl-heading);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cl-feature__text {
    font-size: 13px;
    color: var(--cl-text-light);
    line-height: 1.5;
}

/* ===================================================================
   13. Instagram Section
   =================================================================== */

.cl-instagram {
    margin: var(--cl-space-3xl) 0;
}

.cl-instagram__heading {
    text-align: center;
    margin-bottom: var(--cl-space-xl);
}

.cl-instagram__heading h3 {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cl-instagram__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
}

.cl-instagram__grid a img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.cl-instagram__grid a:hover img {
    opacity: 0.85;
}

/* ===================================================================
   14. Blog Section
   =================================================================== */

.cl-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--cl-grid-gap);
    margin-bottom: var(--cl-space-3xl);
}

.cl-blog-card__image {
    margin-bottom: var(--cl-space-md);
    overflow: hidden;
}

.cl-blog-card__image img {
    width: 100%;
    transition: transform 0.6s ease;
}

.cl-blog-card:hover .cl-blog-card__image img {
    transform: scale(1.05);
}

.cl-blog-card__meta {
    font-size: 12px;
    color: var(--cl-text-light);
    margin-bottom: 8px;
}

.cl-blog-card__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--cl-heading);
}

.cl-blog-card__excerpt {
    font-size: 13px;
    color: var(--cl-text-light);
    line-height: 1.6;
}

/* ===================================================================
   15. Quick View Modal
   =================================================================== */

.cl-quickview-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cl-quickview-overlay--open {
    opacity: 1;
    visibility: visible;
}

.cl-quickview {
    background: var(--cl-bg);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: var(--cl-space-xl);
}

.cl-quickview__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--cl-text-dark);
    cursor: pointer;
    z-index: 2;
}

/* ===================================================================
   16. Utility Classes
   =================================================================== */

.cl-text-center { text-align: center; }
.cl-text-left { text-align: left; }
.cl-text-right { text-align: right; }
.cl-text-uppercase { text-transform: uppercase; }

.cl-mb-0 { margin-bottom: 0; }
.cl-mb-sm { margin-bottom: var(--cl-space-sm); }
.cl-mb-md { margin-bottom: var(--cl-space-md); }
.cl-mb-lg { margin-bottom: var(--cl-space-lg); }
.cl-mb-xl { margin-bottom: var(--cl-space-xl); }

.cl-mt-sm { margin-top: var(--cl-space-sm); }
.cl-mt-md { margin-top: var(--cl-space-md); }
.cl-mt-lg { margin-top: var(--cl-space-lg); }
.cl-mt-xl { margin-top: var(--cl-space-xl); }

.cl-d-none { display: none; }
.cl-d-flex { display: flex; }
.cl-d-grid { display: grid; }

/* ===================================================================
   17. Responsive
   =================================================================== */

@media (max-width: 1200px) {
    .cl-footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    /* 2-col layout stays down to 992px; reduce fixed heights proportionally */
    body.cl-page-home .cl-category-banner--large {
        height: 500px;
    }
    body.cl-page-home .cl-category-banners__right-top {
        height: 250px;
    }
    body.cl-page-home .cl-category-banner--wide {
        height: 220px;
    }
}

@media (max-width: 992px) {
    :root {
        --cl-header-height: 60px;
    }
    .cl-nav {
        display: none;
    }
    .cl-nav--mobile-open {
        display: block;
        position: fixed;
        top: var(--cl-header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--cl-bg);
        z-index: 99;
        overflow-y: auto;
        padding: var(--cl-space-md);
    }
    .cl-nav__list {
        flex-direction: column;
        gap: 0;
    }
    .cl-nav__link {
        padding: 14px 0;
        border-bottom: 1px solid var(--cl-border-light);
    }
    .cl-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    /* Stack to single column on tablet: large + right banners go vertical */
    body.cl-page-home .cl-category-banners {
        grid-template-columns: 1fr;
    }
    body.cl-page-home .cl-category-banner--large {
        height: 400px;
    }
    body.cl-page-home .cl-category-banners__right-top {
        height: 200px;
    }
    body.cl-page-home .cl-category-banner--wide {
        height: 180px;
    }
    .cl-blog-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cl-features-bar {
        grid-template-columns: 1fr 1fr;
    }
    .cl-instagram__grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cl-hero__title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .cl-topbar__center {
        display: none;
    }
    body.cl-page-home .cl-category-banners {
        gap: var(--cl-space-sm);
    }
    body.cl-page-home .cl-category-banners__right {
        gap: var(--cl-space-sm);
    }
    body.cl-page-home .cl-category-banners__right-top {
        gap: var(--cl-space-sm);
        height: 160px;
    }
    body.cl-page-home .cl-category-banner--large,
    body.cl-page-home .cl-category-banner--wide {
        height: 200px;
    }
    .cl-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--cl-space-xl);
    }
    .cl-blog-grid {
        grid-template-columns: 1fr;
    }
    .cl-features-bar {
        grid-template-columns: 1fr;
    }
    .cl-instagram__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cl-hero__slide {
        min-height: 350px;
    }
    .cl-hero__title {
        font-size: 26px;
    }
    .cl-hero__subtitle {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .cl-topbar__left {
        display: none;
    }
    .cl-header__actions {
        gap: 12px;
    }
    .cl-section-heading__title {
        font-size: 20px;
    }
}
.cl-footer__newsletter-form input{height:46px;font-size:13px}
.cl-footer__newsletter-form button{height:46px;font-size:13px;font-weight:600;letter-spacing:.5px}
.cl-product-card__image--hover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .4s}
.cl-product-card:hover .cl-product-card__image--hover{opacity:1}
.cl-product-card:hover .cl-product-card__image--main{opacity:0}
.cl-product-card__label{position:absolute;top:12px;left:12px;z-index:2;padding:4px 12px;font-size:11px;font-weight:600;text-transform:uppercase;color:#fff}
.cl-product-card__label--new{background:var(--cl-primary)}
.cl-product-card__label--sale{background:var(--cl-danger)}
.cl-nav__link{padding:12px 18px;font-size:13px;font-weight:600;color:var(--cl-text-dark);text-transform:uppercase;letter-spacing:.3px}
.cl-nav__link:hover{color:var(--cl-primary)}
.cl-header__icon{font-size:20px;color:var(--cl-text-dark)}
.cl-header__cart-count{position:absolute;top:-8px;right:-10px;background:var(--cl-primary);color:#fff;font-size:11px;width:18px;height:18px;border-radius:50%;display:flex;align-items:center;justify-content:center}
.cl-section-heading__title{font-size:24px;font-weight:700;text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px;color:var(--cl-heading)}
.cl-section-heading__subtitle{font-size:14px;color:var(--cl-text-light)}
.cl-btn--outline{background:transparent;color:var(--cl-primary);border:2px solid var(--cl-primary)}
.cl-btn--outline:hover{background:var(--cl-primary);color:#fff}
.cl-btn--sm{padding:8px 20px;font-size:12px}
.cl-btn--lg{padding:16px 40px;font-size:15px}
.cl-text-uppercase{text-transform:uppercase}
.cl-mb-sm{margin-bottom:8px}
.cl-mb-md{margin-bottom:16px}
.cl-mb-lg{margin-bottom:24px}
.cl-mt-md{margin-top:16px}
.cl-product-card__price{font-size:15px;font-weight:600;color:var(--cl-text-dark)}
.cl-product-card__price--old{color:#999;text-decoration:line-through;font-weight:400;font-size:13px;margin-right:6px}
.cl-product-card__rating{display:flex;justify-content:center;gap:2px;margin-top:6px;color:#ffc107;font-size:12px}
.cl-product-card__actions{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:6px;padding:12px;background:linear-gradient(to top,rgba(0,0,0,0.3),transparent);opacity:0;transform:translateY(10px);transition:all .3s}
.cl-product-card:hover .cl-product-card__actions{opacity:1;transform:translateY(0)}
.cl-product-card__action-btn{width:40px;height:40px;border-radius:50%;background:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--cl-text-dark);cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.cl-product-card__action-btn:hover{background:var(--cl-primary);color:#fff}
.cl-product-card__name{font-size:14px;font-weight:400;color:var(--cl-text);margin-bottom:6px;line-height:1.4}
.cl-product-card__name a:hover{color:var(--cl-primary)}
.cl-product-card__info{text-align:center}
.cl-product-card__image{position:relative;overflow:hidden;margin-bottom:16px;background:var(--cl-bg-light)}
.cl-product-card__image img{width:100%;transition:opacity .4s ease,transform .6s ease}
.cl-footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding:24px 0;display:flex;justify-content:space-between;align-items:center;font-size:13px}
.cl-footer__bottom-links{display:flex;gap:20px}
.cl-footer__payment-img{max-height:24px;opacity:.6}
.cl-quickview-overlay{position:fixed;inset:0;background:rgba(0,0,0,.7);z-index:1000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden}
.cl-quickview-overlay--open{opacity:1;visibility:visible}
.cl-quickview{background:#fff;max-width:900px;width:90%;max-height:90vh;overflow-y:auto;padding:32px;position:relative}
@media(max-width:768px){.cl-footer__grid{grid-template-columns:1fr}.cl-blog-grid{grid-template-columns:1fr}.cl-features-bar{grid-template-columns:1fr}.cl-hero__slide{min-height:350px}.cl-hero__title{font-size:26px}}
@media(max-width:992px){.cl-nav{display:none}.cl-nav--mobile-open{display:block}.cl-footer__grid{grid-template-columns:1fr 1fr}.cl-hero__title{font-size:32px}}
.cl-quickview__close{position:absolute;top:15px;right:15px;background:none;border:none;font-size:24px;color:var(--cl-text-dark);cursor:pointer;z-index:2}
.cl-promo-bar{background:var(--cl-primary);color:#fff;text-align:center;padding:10px;font-size:13px;font-weight:500}
.cl-promo-bar a{color:#fff;text-decoration:underline}
.cl-topbar__center .cl-promo-text{color:rgba(255,255,255,.9);font-weight:400}
.cl-topbar__center .cl-promo-link{color:#fff;font-weight:600;text-decoration:underline;margin-left:4px}
.cl-footer__social a{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.08);color:#999;font-size:16px;transition:all .25s}
.cl-footer__social a:hover{background:var(--cl-primary);color:#fff}
.cl-topbar{background:var(--cl-bg-topbar);font-size:12px;color:#fff;height:36px;line-height:36px}
.cl-topbar__left a{color:rgba(255,255,255,.85);font-size:12px;text-decoration:none}
.cl-topbar__left a:hover{color:#fff}
.cl-topbar__right select{border:1px solid rgba(255,255,255,.3);background:transparent;padding:2px 6px;font-size:12px;color:rgba(255,255,255,.85);cursor:pointer;border-radius:2px}
.cl-text-center{text-align:center}
.cl-d-none{display:none}
.cl-d-flex{display:flex}
.cl-product-card__image a{display:block;position:relative}
.cl-product-card__image img{width:100%;transition:opacity .4s,transform .6s}
.cl-container{max-width:1200px;margin:0 auto;padding:0 15px}
.cl-product-card{margin-bottom:30px}
.cl-product-card__actions{position:absolute;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:6px;padding:12px;background:linear-gradient(to top,rgba(0,0,0,.3),transparent);opacity:0;transform:translateY(10px);transition:all .3s}
.cl-product-card:hover .cl-product-card__actions{opacity:1;transform:translateY(0)}
.cl-btn--primary{background:var(--cl-primary);color:#fff;border:2px solid var(--cl-primary);padding:12px 30px;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;cursor:pointer;transition:all .25s}
.cl-btn--primary:hover{background:var(--cl-primary-light);border-color:var(--cl-primary-light)}
.cl-footer{background:var(--cl-bg-dark);color:#999;padding:64px 0 0}
.cl-footer__grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr 1.5fr;gap:30px;padding-bottom:48px}
.cl-footer__col h6{color:#fff;font-size:15px;font-weight:600;text-transform:uppercase;margin-bottom:24px}
.cl-footer__col ul li{margin-bottom:10px}
.cl-footer__col ul li a{color:#999;font-size:13px}
.cl-footer__col ul li a:hover{color:#fff}

/* ── Inline icon SVGs (Font Awesome Free 5.15.4, CC BY 4.0) ──
   Shared baseline for all inline-SVG icons that replaced the orphaned
   'porto-icons' font. vertical-align:middle removes the descender gap that
   inline SVGs inherit from the default baseline alignment. Size stays on the
   per-icon inline width/height attributes. */
.cl-icon-svg,
.cl-feature__svg,
.cl-contact-info__svg,
.cl-account-quick-link__svg,
.cl-cart-empty__svg,
.cl-product-card__action-svg{vertical-align:middle}
