/**
 * ClearGuard Default Theme — Main Stylesheet
 * Apple-inspired, mobile-first, dark/light mode.
 * ============================================================
 * Design tokens → Components → Layout → Utilities
 * ============================================================
 */

/* ──────────────────────────────────────────────────────────
   1. DESIGN TOKENS  (CSS custom properties)
   ────────────────────────────────────────────────────────── */

:root {
    /* Brand palette */
    --cg-navy:        #000E26;
    --cg-cyan:        #00D2FF;
    --cg-orange:      #FFA500;
    --cg-purple:      #8A2BE2;
    --cg-white:       #FFFFFF;

    /* Semantic — DARK mode (default) */
    --cg-bg:          var(--cg-navy);
    --cg-bg-2:        #011236;
    --cg-bg-3:        #021852;
    --cg-surface:     rgba(255,255,255,0.04);
    --cg-surface-2:   rgba(255,255,255,0.08);
    --cg-border:      rgba(0,210,255,0.15);
    --cg-text:        var(--cg-white);
    --cg-text-2:      rgba(255,255,255,0.70);
    --cg-text-3:      rgba(255,255,255,0.45);
    --cg-accent:      var(--cg-cyan);
    --cg-accent-glow: rgba(0,210,255,0.25);
    --cg-link:        var(--cg-cyan);

    /* Typography */
    --cg-font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cg-font-mono:   'SF Mono', 'Fira Code', monospace;

    /* Scale — fluid type with clamp() */
    --cg-text-xs:   clamp(0.75rem,  1.5vw, 0.813rem);
    --cg-text-sm:   clamp(0.875rem, 1.8vw, 0.938rem);
    --cg-text-base: clamp(1rem,     2vw,   1rem);
    --cg-text-lg:   clamp(1.125rem, 2.2vw, 1.25rem);
    --cg-text-xl:   clamp(1.25rem,  2.5vw, 1.5rem);
    --cg-text-2xl:  clamp(1.5rem,   3vw,   2rem);
    --cg-text-3xl:  clamp(2rem,     4vw,   3rem);
    --cg-text-4xl:  clamp(2.5rem,   6vw,   4.5rem);

    /* Spacing */
    --cg-space-1:  0.25rem;
    --cg-space-2:  0.5rem;
    --cg-space-3:  0.75rem;
    --cg-space-4:  1rem;
    --cg-space-6:  1.5rem;
    --cg-space-8:  2rem;
    --cg-space-12: 3rem;
    --cg-space-16: 4rem;
    --cg-space-24: 6rem;
    --cg-space-32: 8rem;

    /* Layout */
    --cg-max-width: 1280px;
    --cg-header-h:  60px;

    /* Motion */
    --cg-ease:    cubic-bezier(0.25, 0.1, 0.25, 1);
    --cg-ease-out: cubic-bezier(0, 0, 0.2, 1);
    --cg-dur-fast: 150ms;
    --cg-dur:      250ms;
    --cg-dur-slow: 400ms;

    /* Border radius */
    --cg-radius-sm:   6px;
    --cg-radius:      12px;
    --cg-radius-lg:   20px;
    --cg-radius-full: 9999px;
}

/* LIGHT MODE overrides */
[data-theme="light"] {
    --cg-bg:        #F5F7FA;
    --cg-bg-2:      #ECEEF2;
    --cg-bg-3:      #E0E4EA;
    --cg-surface:   rgba(0,0,0,0.04);
    --cg-surface-2: rgba(0,0,0,0.07);
    --cg-border:    rgba(0,0,0,0.10);
    --cg-text:      #0A0F1E;
    --cg-text-2:    rgba(10,15,30,0.65);
    --cg-text-3:    rgba(10,15,30,0.40);
    --cg-accent:    #0097B8;
    --cg-accent-glow: rgba(0,151,184,0.18);
    --cg-link:      #0097B8;
}

/* ──────────────────────────────────────────────────────────
   2. RESET & BASE
   ────────────────────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    background: var(--cg-bg);
    color: var(--cg-text);
    font-family: var(--cg-font);
    font-size: var(--cg-text-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color var(--cg-dur) var(--cg-ease),
                color var(--cg-dur) var(--cg-ease);
}

img, video, svg {
    display: block;
    max-width: 100%;
}

a {
    color: var(--cg-link);
    text-decoration: none;
}

ul, ol { list-style: none; }

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Remove default Magento page-header / page-footer that may bleed through */
.page-header,
.page-footer,
.panel.wrapper,
.nav-sections,
.nav-toggle {
    display: none !important;
}

/* ──────────────────────────────────────────────────────────
   3. LAYOUT UTILITIES
   ────────────────────────────────────────────────────────── */

.cg-container {
    width: 100%;
    max-width: var(--cg-max-width);
    margin-inline: auto;
    padding-inline: var(--cg-space-6);
}

@media (min-width: 768px) {
    .cg-container { padding-inline: var(--cg-space-8); }
}

@media (min-width: 1200px) {
    .cg-container { padding-inline: var(--cg-space-12); }
}

/* ──────────────────────────────────────────────────────────
   4. HEADER
   ────────────────────────────────────────────────────────── */

.cg-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--cg-header-h);
    background: rgba(0,14,38,0.75);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--cg-border);
    transition: background var(--cg-dur) var(--cg-ease);
}

[data-theme="light"] .cg-header {
    background: rgba(245,247,250,0.80);
}

.cg-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.cg-logo {
    display: flex;
    align-items: center;
    gap: var(--cg-space-2);
    color: var(--cg-text);
    font-weight: 700;
    font-size: var(--cg-text-lg);
    letter-spacing: -0.02em;
}

.cg-logo-mark {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--cg-cyan) 0%, #0097B8 100%);
    flex-shrink: 0;
}

.cg-logo:hover { opacity: 0.85; }

/* Admin-driven logo slot — wraps the standard Magento logo block
   (<a class="logo"><img src="…admin-uploaded…"/></a>). Sized to match
   the cg-logo treatment above; admin width/height respected via the
   img's intrinsic attrs. */
.cg-logo-slot { display: flex; align-items: center; }
.cg-logo-slot a.logo {
    display: inline-flex;
    align-items: center;
    color: var(--cg-text);
    transition: opacity .15s;
}
.cg-logo-slot a.logo:hover { opacity: 0.85; }
.cg-logo-slot a.logo img {
    display: block;
    max-height: 36px;
    width: auto;
}

/* Desktop nav */
.cg-nav { display: none; }

@media (min-width: 768px) {
    .cg-nav {
        display: flex;
        align-items: center;
    }
}

.cg-nav-list {
    display: flex;
    align-items: center;
    gap: var(--cg-space-1);
}

.cg-nav-link {
    color: var(--cg-text-2);
    font-size: var(--cg-text-sm);
    font-weight: 500;
    padding: var(--cg-space-2) var(--cg-space-3);
    border-radius: var(--cg-radius-sm);
    transition: color var(--cg-dur-fast) var(--cg-ease),
                background var(--cg-dur-fast) var(--cg-ease);
}

.cg-nav-link:hover {
    color: var(--cg-text);
    background: var(--cg-surface);
}

/* Header actions */
.cg-header-actions {
    display: flex;
    align-items: center;
    gap: var(--cg-space-3);
}

/* Theme toggle */
.cg-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--cg-radius-full);
    color: var(--cg-text-2);
    transition: color var(--cg-dur-fast), background var(--cg-dur-fast);
}

.cg-theme-toggle:hover {
    color: var(--cg-text);
    background: var(--cg-surface);
}

.cg-icon-moon { display: none; }

[data-theme="light"] .cg-icon-sun  { display: none; }
[data-theme="light"] .cg-icon-moon { display: block; }

/* Cart */
.cg-cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--cg-text-2);
    border-radius: var(--cg-radius-full);
    transition: color var(--cg-dur-fast), background var(--cg-dur-fast);
}

.cg-cart-link:hover {
    color: var(--cg-text);
    background: var(--cg-surface);
}

/* Burger */
.cg-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
}

.cg-burger span {
    display: block;
    height: 1.5px;
    background: var(--cg-text-2);
    border-radius: 2px;
    transition: transform var(--cg-dur) var(--cg-ease),
                opacity var(--cg-dur-fast) var(--cg-ease);
}

.cg-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.cg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.cg-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 768px) {
    .cg-burger { display: none; }
}

/* Mobile nav drawer */
.cg-mobile-nav {
    position: fixed;
    inset: var(--cg-header-h) 0 0 0;
    background: var(--cg-bg);
    z-index: 99;
    padding: var(--cg-space-8) var(--cg-space-6);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--cg-dur) var(--cg-ease-out),
                opacity var(--cg-dur) var(--cg-ease-out);
}

.cg-mobile-nav[aria-hidden="false"] {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cg-mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: var(--cg-space-2);
}

.cg-mobile-nav-list a {
    display: block;
    color: var(--cg-text);
    font-size: var(--cg-text-xl);
    font-weight: 600;
    padding: var(--cg-space-3) var(--cg-space-2);
    border-bottom: 1px solid var(--cg-border);
    transition: color var(--cg-dur-fast);
}

.cg-mobile-nav-list a:hover { color: var(--cg-accent); }

@media (min-width: 768px) {
    .cg-mobile-nav { display: none; }
}

/* ──────────────────────────────────────────────────────────
   5. BUTTONS
   ────────────────────────────────────────────────────────── */

.cg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--cg-space-2);
    padding: 0.75em 1.5em;
    border-radius: var(--cg-radius-full);
    font-family: var(--cg-font);
    font-size: var(--cg-text-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1;
    cursor: pointer;
    transition: transform var(--cg-dur-fast) var(--cg-ease),
                opacity var(--cg-dur-fast) var(--cg-ease),
                box-shadow var(--cg-dur-fast) var(--cg-ease);
    white-space: nowrap;
}

.cg-btn:active { transform: scale(0.97); }

.cg-btn--primary {
    background: var(--cg-accent);
    color: var(--cg-navy);
}

.cg-btn--primary:hover {
    opacity: 0.88;
    box-shadow: 0 0 24px var(--cg-accent-glow);
}

.cg-btn--ghost {
    background: transparent;
    color: var(--cg-text);
    border: 1.5px solid var(--cg-border);
}

.cg-btn--ghost:hover {
    border-color: var(--cg-accent);
    color: var(--cg-accent);
}

/* Buttons inside the hero sit on the dark photo + dark gradient overlay,
   which stays dark in both color schemes. Text must stay light regardless
   of --cg-text (which flips to navy in light mode). */
.cg-hero .cg-btn--ghost,
[data-theme="light"] .cg-hero .cg-btn--ghost {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.40);
}
.cg-hero .cg-btn--ghost:hover,
[data-theme="light"] .cg-hero .cg-btn--ghost:hover {
    color: var(--cg-accent);
    border-color: var(--cg-accent);
}

.cg-btn--flavor {
    background: var(--cg-surface-2);
    color: var(--cg-text);
    border: 1.5px solid var(--cg-border);
}

.cg-btn--flavor:hover {
    background: var(--cg-accent);
    color: var(--cg-navy);
    border-color: var(--cg-accent);
}

.cg-btn--lg {
    padding: 1em 2em;
    font-size: var(--cg-text-base);
}

/* ──────────────────────────────────────────────────────────
   6. SECTION SHARED STYLES
   ────────────────────────────────────────────────────────── */

.cg-section-header {
    text-align: center;
    margin-bottom: var(--cg-space-12);
}

.cg-section-eyebrow {
    font-size: var(--cg-text-xs);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cg-accent);
    margin-bottom: var(--cg-space-3);
}

.cg-section-title {
    font-size: var(--cg-text-3xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--cg-text);
}

.cg-text-accent { color: var(--cg-accent); }

/* ──────────────────────────────────────────────────────────
   7. HERO
   ────────────────────────────────────────────────────────── */

.cg-hero {
    position: relative;
    min-height: min(100svh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--cg-navy);
}

.cg-hero-picture {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cg-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Gradient overlay for legibility — mobile default (bottom-to-top) */
.cg-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0,14,38,0.50) 0%,
        rgba(0,14,38,0.90) 60%,
        rgba(0,14,38,0.98) 100%
    );
}

/* Mobile default — overridden at tablet+ */

@media (min-width: 768px) {
    .cg-hero-overlay {
        background: linear-gradient(
            to right,
            rgba(0,14,38,0.92) 0%,
            rgba(0,14,38,0.70) 50%,
            rgba(0,14,38,0.30) 100%
        );
    }
}

.cg-hero-content {
    position: relative;
    z-index: 2;
    padding-top: var(--cg-space-24);
    padding-bottom: var(--cg-space-24);
    max-width: 680px;
}

.cg-hero-eyebrow {
    font-size: var(--cg-text-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--cg-accent);
    margin-bottom: var(--cg-space-4);
}

.cg-hero-headline {
    font-size: var(--cg-text-4xl);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: var(--cg-white);
    margin-bottom: var(--cg-space-6);
}

.cg-hero-accent {
    background: linear-gradient(90deg, var(--cg-cyan), #66E5FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cg-hero-sub {
    font-size: var(--cg-text-lg);
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: var(--cg-space-8);
}

.cg-hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--cg-space-3);
    align-items: center;
}

/* ──────────────────────────────────────────────────────────
   8. FEATURES
   ────────────────────────────────────────────────────────── */

.cg-features {
    padding: var(--cg-space-24) 0;
}

.cg-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--cg-space-4);
}

@media (min-width: 480px) {
    .cg-features-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
    .cg-features-grid { grid-template-columns: repeat(4, 1fr); }
}

.cg-feature-card {
    background: var(--cg-surface);
    border: 1px solid var(--cg-border);
    border-radius: var(--cg-radius-lg);
    padding: var(--cg-space-8) var(--cg-space-6);
    transition: transform var(--cg-dur) var(--cg-ease),
                box-shadow var(--cg-dur) var(--cg-ease),
                border-color var(--cg-dur) var(--cg-ease);
}

.cg-feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--cg-accent);
    box-shadow: 0 8px 40px rgba(0,210,255,0.10);
}

.cg-feature-icon {
    color: var(--cg-accent);
    margin-bottom: var(--cg-space-4);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cg-accent-glow);
    border-radius: var(--cg-radius);
}

.cg-feature-title {
    font-size: var(--cg-text-lg);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: var(--cg-space-2);
    color: var(--cg-text);
}

.cg-feature-text {
    font-size: var(--cg-text-sm);
    color: var(--cg-text-2);
    line-height: 1.65;
}

/* ──────────────────────────────────────────────────────────
   9. FLAVOURS
   ────────────────────────────────────────────────────────── */

.cg-flavors {
    padding: var(--cg-space-24) 0;
    background: var(--cg-bg-2);
}

.cg-flavors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--cg-space-6);
}

@media (min-width: 768px) {
    .cg-flavors-grid { grid-template-columns: 1fr 1fr; }
}

.cg-flavor-card {
    border-radius: var(--cg-radius-lg);
    overflow: hidden;
    background: var(--cg-surface);
    border: 1px solid var(--cg-border);
    display: flex;
    flex-direction: column;
    transition: transform var(--cg-dur) var(--cg-ease),
                box-shadow var(--cg-dur) var(--cg-ease);
}

.cg-flavor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 60px rgba(0,0,0,0.25);
}

.cg-flavor-card--passion { border-bottom: 3px solid var(--cg-orange); }
.cg-flavor-card--blackcurrant { border-bottom: 3px solid var(--cg-purple); }

.cg-flavor-image-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--cg-bg-3);
}

.cg-flavor-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform var(--cg-dur-slow) var(--cg-ease);
}

.cg-flavor-card:hover .cg-flavor-img {
    transform: scale(1.04);
}

/* Shown when no product image uploaded yet */
.cg-flavor-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--cg-space-2);
    background: var(--cg-bg-3);
}

/* Hide placeholder when real image loads */
.cg-flavor-img[src]:not([src=""]) ~ .cg-flavor-placeholder {
    display: none;
}

.cg-placeholder-label {
    font-size: var(--cg-text-lg);
    font-weight: 700;
    color: var(--cg-text-2);
}

.cg-placeholder-hint {
    font-size: var(--cg-text-xs);
    color: var(--cg-text-3);
}

.cg-flavor-body {
    padding: var(--cg-space-8);
    display: flex;
    flex-direction: column;
    gap: var(--cg-space-4);
}

.cg-flavor-name {
    font-size: var(--cg-text-2xl);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--cg-text);
}

.cg-flavor-desc {
    font-size: var(--cg-text-sm);
    color: var(--cg-text-2);
    line-height: 1.65;
}

.cg-flavor-swatch {
    width: 32px;
    height: 6px;
    border-radius: var(--cg-radius-full);
    background: var(--flavor-color, var(--cg-accent));
}

/* ──────────────────────────────────────────────────────────
   10. PRODUCTS SECTION (widget placeholder)
   ────────────────────────────────────────────────────────── */

.cg-products {
    padding: var(--cg-space-24) 0;
}

.cg-widget-placeholder {
    border: 2px dashed var(--cg-border);
    border-radius: var(--cg-radius-lg);
    padding: var(--cg-space-16);
    text-align: center;
    color: var(--cg-text-3);
    font-size: var(--cg-text-sm);
}

.cg-widget-placeholder strong { color: var(--cg-accent); }
.cg-widget-placeholder em { font-style: italic; }

/* ──────────────────────────────────────────────────────────
   11. TRUST / CTA
   ────────────────────────────────────────────────────────── */

.cg-trust {
    padding: var(--cg-space-24) 0;
}

.cg-trust .cg-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cg-space-16);
    text-align: center;
}

.cg-trust-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--cg-space-6);
}

.cg-trust-title {
    font-size: var(--cg-text-4xl);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--cg-text);
}

.cg-trust-sub {
    font-size: var(--cg-text-lg);
    color: var(--cg-text-2);
    max-width: 520px;
    line-height: 1.65;
}

.cg-trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--cg-space-6);
}

.cg-trust-badge {
    display: flex;
    align-items: center;
    gap: var(--cg-space-2);
    font-size: var(--cg-text-sm);
    font-weight: 600;
    color: var(--cg-text-2);
}

.cg-trust-icon { font-size: 1.25em; }

/* ──────────────────────────────────────────────────────────
   12. FOOTER
   ────────────────────────────────────────────────────────── */

.cg-footer {
    border-top: 1px solid var(--cg-border);
}

.cg-footer-inner {
    padding: var(--cg-space-16) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--cg-space-12);
}

@media (min-width: 768px) {
    .cg-footer-inner {
        grid-template-columns: 280px 1fr;
        align-items: start;
    }
}

.cg-footer-tagline {
    font-size: var(--cg-text-sm);
    color: var(--cg-text-3);
    margin-top: var(--cg-space-2);
}

.cg-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--cg-space-8);
}

@media (min-width: 480px) {
    .cg-footer-nav { grid-template-columns: repeat(3, 1fr); }
}

.cg-footer-col-title {
    font-size: var(--cg-text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cg-text-3);
    margin-bottom: var(--cg-space-3);
}

.cg-footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--cg-space-2);
}

.cg-footer-col a {
    font-size: var(--cg-text-sm);
    color: var(--cg-text-2);
    transition: color var(--cg-dur-fast);
}

.cg-footer-col a:hover { color: var(--cg-text); }

.cg-footer-bottom {
    border-top: 1px solid var(--cg-border);
    padding: var(--cg-space-6) var(--cg-space-6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--cg-space-4);
    max-width: var(--cg-max-width);
    margin-inline: auto;
}

.cg-copyright {
    font-size: var(--cg-text-xs);
    color: var(--cg-text-3);
}

/* Admin-driven copyright slot — wraps the standard
   Magento\Theme\Block\Html\Footer block which renders
   <small class="copyright"><span>…admin-edited text…</span></small>. */
.cg-copyright-slot small.copyright {
    font-size: var(--cg-text-xs);
    color: var(--cg-text-3);
    font-style: normal;
}
.cg-copyright-slot small.copyright span { display: inline; }

.cg-disclaimer {
    font-size: var(--cg-text-xs);
    color: var(--cg-text-3);
    max-width: 560px;
    text-align: left;
}

@media (min-width: 768px) {
    .cg-disclaimer { text-align: right; }
}

/* ──────────────────────────────────────────────────────────
   13. MAGENTO CONTENT AREA RESETS
   ────────────────────────────────────────────────────────── */

.page-main {
    min-height: 60vh;
}

.page-main .columns { padding: 0; }

/* ──────────────────────────────────────────────────────────
   14. ACCESSIBILITY
   ────────────────────────────────────────────────────────── */

:focus-visible {
    outline: 2px solid var(--cg-accent);
    outline-offset: 3px;
    border-radius: 3px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* ──────────────────────────────────────────────────────────
   15. REDUCED MOTION
   ────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
