/* =====================================================
    Ever Etched — Main Stylesheet
    Brand: Premium, Emotional, Engraving
    Tagline: "Turn meaningful moments into keepsakes that last a lifetime."
    ===================================================== */

/* ── CSS Variables ── */
:root {
    --jet-black: #1a1928;
    --soft-gold: #d4af37;
    --white: #f5f1e8;
    --charcoal-grey: #22213a;
    --warm-beige: #f5f1e8;
    --soft-gold-light: rgba(212, 175, 55, 0.15);
    --text-muted: rgba(245, 241, 232, 0.75);
    --border: rgba(212, 175, 55, 0.3);
    --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --font-heading: "Montserrat", sans-serif;
    --font-serif: "Playfair Display", serif;
    --font-body: "Open Sans", sans-serif;
    --nav-h: 72px;

    /* ── Compatibility alias variables used by component stylesheets ── */
    --charcoal: #e8e4db;
    --gold: #d4af37;
    --midnight: #1a1928;
    --obsidian: #1e1d33;
    --cream: #f5f1e8;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: var(--font-body);
    background: var(--jet-black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    opacity: 0;
    animation: pageReveal 0.6s ease 0.2s forwards;
}
@keyframes pageReveal {
    to {
        opacity: 1;
    }
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ── Page Loader ── */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--warm-beige);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}
#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-inner {
    text-align: center;
}
.loader-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 0.15em;
    color: var(--soft-gold);
}
.loader-bar {
    width: 120px;
    height: 2px;
    background: var(--border);
    margin: 16px auto 0;
    border-radius: 2px;
    overflow: hidden;
}
.loader-fill {
    height: 100%;
    width: 0;
    background: var(--soft-gold);
    border-radius: 2px;
    animation: loadFill 0.4s ease forwards;
}
@keyframes loadFill {
    to {
        width: 100%;
    }
}

/* ── Global Loading Indicator ── */
#global-loader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: rgba(24, 24, 37, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
#global-loader.visible {
    opacity: 1;
    visibility: visible;
}
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: var(--soft-gold);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.loader-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.05em;
}
.loader-brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--soft-gold);
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* ── Flash Messages ── */
.flash-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 8000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
}
.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
    from {
        transform: translateX(110%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.flash-success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 3px solid #4caf50;
}
.flash-error {
    background: #ffebee;
    color: #c62828;
    border-left: 3px solid #ef5350;
}
.flash-info {
    background: #e3f2fd;
    color: #1565c0;
    border-left: 3px solid #42a5f5;
}
.flash-close {
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    font-size: 14px;
}

/* ── Cookie Banner ── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--jet-black);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    z-index: 8500;
    display: flex;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
}
.cookie-text {
    font-size: 0.875rem;
    color: var(--white);
    margin: 0;
    flex: 1;
    min-width: 280px;
}
.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.btn-cookie-accept {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-cookie-accept:hover {
    background: var(--soft-gold);
    transform: translateY(-1px);
}
.btn-cookie-settings {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--border);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-cookie-settings:hover {
    border-color: var(--soft-gold);
    color: var(--soft-gold);
}
@media (max-width: 640px) {
    .cookie-banner {
        padding: 16px;
    }
    .cookie-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .cookie-text {
        min-width: auto;
    }
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* ── Navigation ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(24, 24, 37, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    height: var(--nav-h);
}
.site-header.scrolled {
    border-color: var(--soft-gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.navbar {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    font-weight: 600;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.nav-logo-img {
    height: 36px;
    width: auto;
    animation: logoEntrance 1s ease-out both;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.08);
    filter: brightness(1.1);
}
@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.92);
    }
    60% {
        opacity: 1;
        transform: translateY(2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}
.nav-link {
    padding: 8px 14px;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-radius: 6px;
    transition: color var(--transition);
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--soft-gold);
}
.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 14px;
    right: 14px;
    height: 1.5px;
    background: var(--soft-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--charcoal-grey);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--soft-gold);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all var(--transition);
    z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 0.875rem;
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.dropdown-menu li a:hover {
    background: var(--jet-black);
    color: var(--soft-gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition);
    position: relative;
    border: 1px solid transparent;
}
.nav-icon-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--soft-gold);
    color: var(--soft-gold);
}
.cart-btn {
    position: relative;
}
.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* User dropdown */
.nav-user-dropdown {
    position: relative;
}
.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--charcoal-grey);
    border: 1px solid var(--soft-gold);
    border-radius: var(--radius);
    padding: 8px;
    min-width: 160px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}
.nav-user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
}
.user-dropdown-menu .user-greeting {
    display: block;
    padding: 8px 14px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--soft-gold);
    margin-bottom: 4px;
}
.user-dropdown-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 0.875rem;
    color: var(--white);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.user-dropdown-menu a:hover {
    background: var(--jet-black);
    color: var(--soft-gold);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 990;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    border-radius: inherit;
    transition: opacity var(--transition);
}
.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--soft-gold);
    color: var(--jet-black);
    border: 1.5px solid var(--soft-gold);
}
.btn-primary:hover {
    background: var(--white);
    color: var(--jet-black);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--soft-gold);
    border: 1.5px solid var(--soft-gold);
}
.btn-outline:hover {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
}
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(232, 228, 224, 0.2);
}
.btn-ghost:hover {
    border-color: var(--soft-gold);
    color: var(--soft-gold);
}
.btn-cart {
    background: var(--soft-gold);
    color: var(--jet-black);
    font-size: 0.8125rem;
    padding: 10px 20px;
    width: 100%;
    margin-top: 12px;
    border: 1px solid var(--soft-gold);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-cart:hover {
    background: var(--white);
    color: var(--jet-black);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-disabled {
    background: var(--charcoal-grey);
    color: var(--text-muted);
    cursor: not-allowed;
}
.btn-disabled:hover::after {
    opacity: 0;
}
.btn-lg {
    padding: 16px 36px;
    font-size: 0.9375rem;
}
.btn-full {
    width: 100%;
}

/* Gold glow on hover */
.btn-primary:hover {
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
}

/* ── Layout ── */
main {
    padding-top: var(--nav-h);
}
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}
.container-narrow {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}
.section {
    padding: 64px 0;
}
.featured-section {
    padding: 48px 0;
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 90vh;
    min-height: 560px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: calc(-1 * var(--nav-h));
    padding-top: var(--nav-h);
    background: var(--jet-black);
}
.hero-bg {
    position: absolute;
    inset: 0;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.hero-content {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 680px;
    padding: 0 32px;
    width: 100%;
}
.hero-headline {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.hero-subheadline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--soft-gold);
    color: var(--jet-black);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
    margin-right: 16px;
}
.hero-cta:hover {
    background: var(--white);
    color: var(--jet-black);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}
.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--soft-gold);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.hero-cta-secondary:hover {
    background: var(--soft-gold);
    color: var(--jet-black);
    box-shadow: 0 4px 24px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
}
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.6875rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    z-index: 2;
    animation: scrollBounce 2s ease infinite;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
}
@keyframes scrollBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* ── Value Section ── */
.value-section {
    background: var(--jet-black);
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}
.value-block {
    text-align: center;
    padding: 40px 20px;
    background: var(--charcoal-grey);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.value-block:hover {
    background: var(--soft-gold);
    color: var(--jet-black);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
}
.value-block h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}
.value-block:hover h3 {
    color: var(--jet-black);
}
.value-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.value-block:hover p {
    color: var(--jet-black);
}

/* ── Occasion Section ── */
.occasion-section {
    background: var(--jet-black);
    padding: 96px 0;
}
.occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}
.occasion-card {
    background: var(--charcoal-grey);
    padding: 40px 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.occasion-card:hover {
    background: var(--soft-gold);
    color: var(--jet-black);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.3);
}
.occasion-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--white);
}
.occasion-card:hover h3 {
    color: var(--jet-black);
}
.occasion-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.occasion-card:hover p {
    color: var(--jet-black);
}

/* ── CTA Section ── */
.cta-section {
    background: var(--charcoal-grey);
    padding: 96px 0;
    text-align: center;
}
.cta-inner {
    max-width: 600px;
    margin: 0 auto;
}
.cta-inner h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}
.cta-inner p {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}
.cta-inner .btn {
    background: var(--soft-gold);
    color: var(--jet-black);
    border: 2px solid var(--soft-gold);
    font-size: 1rem;
    padding: 16px 40px;
}
.cta-inner .btn:hover {
    background: var(--white);
    color: var(--jet-black);
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: 36px;
}
.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--soft-gold);
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 14px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto;
}
.section-cta {
    text-align: center;
    margin-top: 52px;
}

/* ── Product Cards ── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.products-grid-large {
    grid-template-columns: repeat(4, 1fr);
}

.product-card {
    background: var(--charcoal-grey);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        box-shadow var(--transition),
        transform var(--transition);
    border: 1px solid var(--border);
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--soft-gold);
    background: var(--jet-black);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    display: block;
    background: var(--jet-black);
    border-radius: var(--radius) var(--radius) 0 0;
}
.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.product-card:hover .product-img {
    transform: scale(1.02);
}
.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 18, 37, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.product-overlay span {
    color: var(--white);
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--soft-gold);
    padding-bottom: 4px;
}
.product-card:hover .product-overlay {
    opacity: 1;
}
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--soft-gold);
    color: var(--jet-black);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 5px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}
.product-badge-out {
    background: var(--charcoal-grey);
}

.product-info {
    padding: 14px 16px 16px;
}
.product-category {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--soft-gold);
    font-weight: 600;
    margin-bottom: 6px;
}
.product-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.3;
}
.product-name a {
    color: var(--white);
}
.product-name a:hover {
    color: var(--soft-gold);
}
.product-description {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
}
.price-final {
    font-size: 1rem;
    font-weight: 600;
    color: var(--soft-gold);
}
.price-original {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.btn-cart {
    background: var(--soft-gold);
    color: var(--jet-black);
    font-size: 0.8125rem;
    padding: 10px 20px;
    width: 100%;
    margin-top: 12px;
    border: 1px solid var(--soft-gold);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.btn-cart:hover {
    background: var(--charcoal-grey);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* ── Collections ── */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.collection-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    display: block;
}
.collection-img-wrap {
    position: absolute;
    inset: 0;
}
.collection-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition:
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.5s ease;
}
.collection-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.3) 0%,
        rgba(26, 26, 26, 0.1) 60%
    );
    transition: background 0.5s ease;
}
.collection-card:hover .collection-img {
    transform: scale(1.08);
    filter: brightness(0.5);
}
.collection-card:hover .collection-overlay {
    background: rgba(26, 26, 26, 0.85);
}
.collection-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 100%;
    padding: 0 28px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.collection-name {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 8px;
    transition: all 0.5s ease;
}
.collection-link {
    font-size: 0.8125rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity var(--transition),
        transform var(--transition);
    display: inline-block;
}
.collection-card:hover .collection-link {
    opacity: 1;
    transform: translateY(0);
}
.collection-card:hover .collection-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

/* ── Marquee Banner ── */
.marquee-bar {
    background: var(--soft-gold);
    color: var(--jet-black);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
    width: 100%;
}
.marquee-track {
    display: inline-flex;
    animation: marqueeScroll 30s linear infinite;
    white-space: nowrap;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.marquee-sep {
    opacity: 0.55;
}
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ── About Section ── */
.about-section {
    background: var(--charcoal-grey);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-img-stack {
    position: relative;
    aspect-ratio: 4/5;
}
.about-img {
    border-radius: var(--radius-lg);
    object-fit: cover;
}
.about-img-main {
    width: 100%;
    height: 100%;
}
.about-img-accent {
    position: absolute;
    width: 45%;
    aspect-ratio: 1;
    bottom: -28px;
    right: -28px;
    border: 5px solid var(--jet-black);
    box-shadow: var(--shadow-md);
}
.about-text {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-stats {
    display: flex;
    gap: 40px;
    margin: 36px 0 40px;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--soft-gold);
}
.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ── Testimonials ── */
.testimonials-section {
    background: var(--charcoal-grey);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.testimonial-product-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--soft-gold);
}
.testimonial-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stars {
    font-size: 1rem;
    color: var(--soft-gold);
    letter-spacing: 2px;
}
.testimonial-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ── Newsletter ── */
.newsletter-section {
    background: var(--charcoal-grey);
    padding: 96px 32px;
    text-align: center;
}
.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
}
.newsletter-section .section-eyebrow {
    color: var(--soft-gold);
}
.newsletter-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--white);
    margin-bottom: 14px;
}
.newsletter-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    margin-bottom: 40px;
}
.newsletter-input-wrap {
    display: flex;
    gap: 0;
    max-width: 440px;
    margin: 0 auto;
}
.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 0.9375rem;
    transition: border-color var(--transition);
    outline: none;
}
.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}
.newsletter-input:focus {
    border-color: var(--soft-gold);
}
.newsletter-btn {
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--soft-gold);
    color: var(--jet-black);
    font-weight: 700;
    padding: 15px 28px;
    transition:
        background var(--transition),
        box-shadow var(--transition);
}
.newsletter-btn:hover {
    background: #d4a393;
    box-shadow: 0 4px 20px rgba(230, 183, 169, 0.4);
}
.newsletter-note {
    margin-top: 16px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}
.newsletter-note em {
    font-style: italic;
}

/* ── Footer ── */
.site-footer {
    background: var(--jet-black);
    color: rgba(255, 255, 255, 0.7);
    padding: 72px 0 0;
}
.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 8px;
}
.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
    font-style: italic;
}
.footer-social {
    display: flex;
    gap: 12px;
}
.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    transition:
        background var(--transition),
        color var(--transition);
}
.social-link:hover {
    background: var(--soft-gold);
    color: var(--jet-black);
}
.footer-links h4 {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 18px;
}
.footer-links ul li {
    margin-bottom: 10px;
}
.footer-links ul li a,
.footer-links ul li span {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--transition);
}
.footer-links ul li a:hover {
    color: var(--soft-gold);
}
.footer-bottom {
    max-width: 1280px;
    margin: 48px auto 0;
    padding: 20px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}
.footer-legal {
    display: flex;
    gap: 20px;
}
.footer-legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition);
}
.footer-legal a:hover {
    color: var(--soft-gold);
}

/* ── Page Hero (inner pages) ── */
.page-hero {
    background: var(--jet-black);
    padding: 56px 32px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-hero-sm {
    padding: 40px 32px;
}
.page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 500;
    margin-bottom: 10px;
}
.page-breadcrumb {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.page-breadcrumb a:hover {
    color: var(--soft-gold);
}

/* ── Shop Filter ── */
.shop-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.filter-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}
.filter-tab {
    padding: 9px 18px;
    border-radius: 40px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    transition: all var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    border-color: var(--soft-gold);
    font-weight: 600;
}
.shop-tools-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 40px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.search-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--jet-black);
    flex: 1;
    max-width: 360px;
}
.search-input {
    padding: 9px 14px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.875rem;
    width: 100%;
    color: var(--white);
}
.search-input::placeholder {
    color: var(--text-muted);
}
.sort-select {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--jet-black);
    color: var(--white);
    outline: none;
    cursor: pointer;
}

/* ── Product Detail ── */
.detail-breadcrumb {
    margin-bottom: 40px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-detail-main-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    max-height: 520px;
    position: relative;
}
.product-detail-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.badge-lg {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.8125rem;
}
.product-detail-name {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    margin: 8px 0 16px;
}
.product-detail-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}
.price-original-lg {
    font-size: 1.125rem;
}
.price-final-lg {
    font-size: 1.625rem;
    font-weight: 700;
}
.price-save {
    background: var(--soft-gold-light);
    color: var(--soft-gold);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.product-detail-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 0.9375rem;
}
.stock-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}
.color-stock-explainer {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 36em;
}
.stock-in {
    background: #e8f5e9;
    color: #2e7d32;
}
.stock-low {
    background: #fff3e0;
    color: #e65100;
}
.stock-out {
    background: #ffebee;
    color: #c62828;
}
.product-detail-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    width: fit-content;
    overflow: hidden;
}
.qty-btn {
    padding: 10px 16px;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: background var(--transition);
}
.qty-btn:hover {
    background: var(--jet-black);
    color: var(--soft-gold);
}
.qty-input {
    width: 56px;
    text-align: center;
    border: none;
    outline: none;
    padding: 10px 0;
    font-size: 0.9375rem;
    font-weight: 600;
}
.qty-display {
    width: 40px;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 10px 0;
}
.qty-selector-sm {
    width: auto;
}
.size-selector {
    margin-bottom: 20px;
}
.size-selector-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.size-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.size-btn {
    width: 52px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--charcoal-grey);
    cursor: pointer;
    transition: all 0.2s;
}
.size-btn:hover:not(:disabled) {
    border-color: var(--soft-gold);
}
.size-btn-active {
    border-color: var(--soft-gold);
    background: var(--soft-gold);
    color: var(--charcoal-grey);
}
.size-btn-oos {
    opacity: 0.35;
    text-decoration: line-through;
    cursor: not-allowed;
}
.size-stock-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 8px;
    min-height: 1.2em;
}
.product-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ── Cart ── */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--jet-black);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}
.cart-item:last-child {
    border-bottom: none;
}
.cart-item-img-wrap {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 1;
}
.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-name {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}
.cart-item-size {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.cart-item-price {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cart-remove-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    transition: color var(--transition);
}
.cart-remove-btn:hover {
    color: #c62828;
}
.cart-item-total {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
}
.cart-summary {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--nav-h) + 24px);
    border: 1px solid var(--border);
}
.cart-summary-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 28px;
    color: var(--white);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 0.9375rem;
}
.cart-discount-row {
    color: #2e7d32;
    font-weight: 500;
}
.cart-summary-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 16px 0;
}
.cart-total-row {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 24px;
    color: var(--soft-gold);
}
.cart-total-row span:last-child {
    color: var(--soft-gold);
}
.discount-form {
    margin-bottom: 20px;
}
.discount-input-wrap {
    display: flex;
    gap: 0;
}
.discount-input {
    flex: 1;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    outline: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    background: var(--charcoal-grey);
    color: var(--white);
}
.discount-input::placeholder {
    color: var(--text-muted);
}
.discount-btn {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 11px 16px;
    font-size: 0.8125rem;
}
.cart-summary .btn {
    margin-bottom: 16px;
}
.cart-summary .btn:last-child {
    margin-bottom: 0;
}

/* ── Checkout ── */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}
.checkout-block {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.checkout-block-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 20px;
}
.checkout-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.checkout-product-img-wrap {
    position: relative;
    flex-shrink: 0;
}
.checkout-product-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.checkout-product-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--text-muted);
    color: var(--white);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-product-name {
    font-size: 0.875rem;
    font-weight: 500;
}
.checkout-product-price {
    margin-left: auto;
    font-weight: 600;
    font-size: 0.875rem;
}
.payment-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--charcoal-grey);
    border: 1px solid var(--border);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* ── Modern Checkout ── */
.checkout-modern {
    min-height: calc(100vh - var(--nav-h));
    background: var(--charcoal-grey);
    padding: 40px 0 60px;
}
.checkout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}
.progress-step.active {
    color: var(--soft-gold);
}
.progress-step.completed {
    color: var(--soft-gold);
}
.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--jet-black);
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    font-weight: 600;
}
.progress-step.active .step-circle {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    border-color: var(--soft-gold);
}
.progress-step.completed .step-circle {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    border-color: var(--soft-gold);
}
.progress-line {
    width: 40px;
    height: 2px;
    background: var(--border);
}
.progress-line.completed {
    background: var(--soft-gold);
}
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}
.checkout-card {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.checkout-card.hidden {
    display: none;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
}
.card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin: 0;
}
.card-body {
    padding: 28px;
}
.form-group-modern {
    margin-bottom: 24px;
}
.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    color: var(--white);
}
.input-wrapper {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.form-input-modern {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background: var(--charcoal-grey);
    color: var(--white);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    outline: none;
}
.form-input-modern:focus {
    border-color: var(--soft-gold);
    box-shadow: 0 0 0 3px var(--soft-gold-light);
}
.form-input-modern[readonly] {
    background: var(--jet-black);
    cursor: not-allowed;
}
.input-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    display: block;
}
.name-row,
.city-row,
.zip-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.select-wrapper {
    position: relative;
}
.select-wrapper .form-input-modern {
    appearance: none;
    padding-right: 44px;
}
.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.country-flag {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
}
.building-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.building-option {
    cursor: pointer;
}
.building-option input {
    display: none;
}
.option-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.8125rem;
    transition: all var(--transition);
    color: var(--text-muted);
    background: var(--charcoal-grey);
}
.building-option input:checked + .option-box {
    border-color: var(--soft-gold);
    background: var(--soft-gold-light);
    color: var(--white);
}
.form-textarea-modern {
    resize: vertical;
    min-height: 80px;
}
.shipping-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--charcoal-grey);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    color: var(--text-muted);
    font-size: 0.875rem;
}
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.btn-primary {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}
.btn-secondary {
    background: var(--charcoal-grey);
    color: var(--white);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover {
    background: var(--jet-black);
    border-color: var(--soft-gold);
    color: var(--soft-gold);
}
.btn-text {
    background: none;
    border: none;
    color: var(--soft-gold);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}
.btn-text:hover {
    color: var(--soft-gold);
}
.form-actions {
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-top: 32px;
}
.checkout-sidebar {
    position: sticky;
    top: 100px;
}
.summary-card {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    border: 1px solid var(--border);
}
.summary-title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 20px;
}
.discount-section {
    margin-bottom: 24px;
}
.discount-form-modern {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.discount-input-group {
    display: flex;
    gap: 8px;
}
.discount-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}
.discount-input {
    flex: 1;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    background: var(--charcoal-grey);
    color: var(--white);
}
.discount-input::placeholder {
    color: var(--text-muted);
}
.btn-discount {
    padding: 12px 18px;
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
}
.btn-discount:hover {
    background: var(--soft-gold);
}
.discount-applied {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--soft-gold);
    font-size: 0.8125rem;
    margin-top: 8px;
}
.summary-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.summary-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.item-image {
    position: relative;
    flex-shrink: 0;
}
.item-image img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--text-muted);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.6875rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.item-details {
    flex: 1;
    min-width: 0;
}
.item-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.item-variant {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.item-price {
    font-weight: 600;
    font-size: 0.9375rem;
}
.summary-divider {
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}
.summary-totals {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}
.total-row.discount {
    color: var(--soft-gold);
}
.total-row.grand {
    font-size: 1.125rem;
    font-weight: 700;
}
.grand-total {
    color: var(--soft-gold);
}
.free-shipping {
    color: var(--soft-gold);
}
.free-shipping-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 4px 0 0;
}
.tax-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 8px;
}
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.payment-card {
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: border-color var(--transition);
    background: var(--charcoal-grey);
}
.payment-card.selected {
    border-color: var(--soft-gold);
}
.payment-card input {
    display: none;
}
.payment-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}
.payment-logo {
    flex-shrink: 0;
}
.payment-details {
    flex: 1;
}
.payment-details strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: 4px;
    color: var(--white);
}
.payment-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.payment-icons {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}
.pay-icon {
    font-size: 1.25rem;
}
.payment-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--soft-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-grey);
    opacity: 0;
    transition: opacity var(--transition);
}
.payment-card.selected .payment-check {
    opacity: 1;
}
.payment-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--charcoal-grey);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.security-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.security-badges .badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}
.review-section {
    margin-bottom: 20px;
}
.review-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.review-value {
    font-size: 0.9375rem;
    color: var(--white);
}
.review-total-box {
    background: var(--charcoal-grey);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 24px 0;
}
.review-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.875rem;
}
.review-total-row.final {
    font-size: 1.125rem;
    font-weight: 700;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}
.total-amount {
    color: var(--soft-gold);
}
.terms-check {
    margin: 24px 0;
}
.checkbox-modern {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}
.checkbox-modern input {
    display: none;
}
.checkmark {
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.checkbox-modern input:checked + .checkmark {
    background: var(--soft-gold);
    border-color: var(--soft-gold);
}
.checkmark::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}
.checkbox-modern input:checked + .checkmark::after {
    opacity: 1;
}
.checkbox-label {
    font-size: 0.8125rem;
    line-height: 1.5;
}
.checkbox-label a {
    color: var(--soft-gold);
    text-decoration: underline;
}
.btn-pay {
    width: 100%;
    justify-content: space-between;
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    font-weight: 600;
}
.btn-pay:hover {
    background: var(--soft-gold);
}
.btn-pay:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}
.btn-pay-text {
    font-weight: 500;
}
.btn-pay-amount {
    font-weight: 700;
}
.payment-error {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}
.payment-error svg {
    margin-bottom: 16px;
    color: #c62828;
}
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-sidebar {
        position: static;
        order: -1;
    }
    .checkout-progress {
        gap: 12px;
    }
    .progress-line {
        width: 20px;
    }
    .building-options {
        grid-template-columns: repeat(2, 1fr);
    }
    .name-row,
    .city-row,
    .zip-row {
        grid-template-columns: 1fr;
    }
}

.step-label {
    font-size: 0.8125rem;
    font-weight: 500;
}
.fade-in {
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.sticky {
    position: sticky;
    top: 100px;
}

/* ── Forms ── */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--white);
}
.form-input {
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background: var(--charcoal-grey);
    color: var(--white);
    transition:
        border-color var(--transition),
        box-shadow var(--transition);
    outline: none;
    width: 100%;
}
.form-input:focus {
    border-color: var(--soft-gold);
    box-shadow: 0 0 0 3px var(--soft-gold-light);
}
.form-textarea {
    resize: vertical;
    min-height: 100px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    cursor: pointer;
}
.auth-link-small {
    font-size: 0.875rem;
    color: var(--soft-gold);
}
.password-wrap {
    position: relative;
}
.password-wrap .form-input {
    padding-right: 48px;
}
.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color var(--transition);
}
.password-toggle:hover {
    color: var(--white);
}

/* ── Auth Pages ── */
.auth-section {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    padding: 60px 0;
}
.auth-card {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.auth-header {
    text-align: center;
    margin-bottom: 36px;
}
.auth-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
}
.auth-subtitle {
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.auth-form .btn-primary {
    margin-top: 8px;
}
.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: var(--text-muted);
}
.auth-link {
    color: var(--soft-gold);
    font-weight: 500;
}
.auth-terms {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* ── Profile (tabbed) - Compact ── */
.profile-page-section {
    align-items: flex-start;
    padding: 20px 0 40px;
    min-height: calc(100vh - var(--nav-h));
}
.profile-layout {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 32px;
}
.profile-intro {
    margin-bottom: 16px;
    text-align: center;
}
.profile-page-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--soft-gold);
    margin-bottom: 4px;
}
.profile-page-lead {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 420px;
    margin: 0 auto;
    line-height: 1.4;
}
.profile-shell {
    padding: 0;
    overflow: hidden;
}
.profile-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--jet-black);
}
.profile-tab {
    flex: 1;
    text-align: center;
    padding: 12px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition:
        color var(--transition),
        border-color var(--transition);
}
.profile-tab:hover {
    color: var(--soft-gold);
}
.profile-tab.active {
    color: var(--soft-gold);
    border-bottom-color: var(--soft-gold);
    background: var(--charcoal-grey);
}
.profile-tab-panel {
    padding: 20px 24px 24px;
}
.profile-tab-panel[hidden] {
    display: none !important;
}
.profile-panel-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: -4px 0 12px;
}
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 18px;
    background: var(--charcoal-grey);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
}
.order-item:hover {
    background: var(--jet-black);
    border-color: var(--soft-gold);
}
.order-item-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.order-num {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-body);
}
.order-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.order-item-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.order-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--soft-gold);
}
.order-status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: capitalize;
}
.order-status-badge.status-pending_payment {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.order-status-badge.status-pending {
    background: rgba(129, 140, 248, 0.15);
    color: #a5b4fc;
    border: 1px solid rgba(165, 180, 252, 0.3);
}
.order-status-badge.status-processing {
    background: rgba(96, 165, 250, 0.15);
    color: #93c5fd;
    border: 1px solid rgba(147, 197, 253, 0.3);
}
.order-status-badge.status-shipped {
    background: rgba(52, 211, 153, 0.15);
    color: #6ee7b7;
    border: 1px solid rgba(110, 231, 183, 0.3);
}
.order-status-badge.status-delivered {
    background: rgba(34, 211, 238, 0.15);
    color: #67e8f9;
    border: 1px solid rgba(103, 232, 249, 0.3);
}
.order-status-badge.status-cancelled {
    background: rgba(248, 113, 113, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(252, 165, 165, 0.3);
}

/* My Orders - User Profile */
.my-orders-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}
.my-orders-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin: 0;
}
.order-count-badge {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--charcoal-grey);
    padding: 4px 12px;
    border-radius: 20px;
}
.my-orders-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.my-order-card {
    display: block;
    padding: 20px;
    background: var(--charcoal-grey);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
}
.my-order-card:hover {
    background: var(--jet-black);
    border-color: var(--soft-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.my-order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.my-order-id {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}
.order-hash {
    color: var(--soft-gold);
}
.my-order-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: capitalize;
}
.my-order-status.status-pending_payment {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}
.my-order-status.status-pending {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
}
.my-order-status.status-processing {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}
.my-order-status.status-shipped {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
}
.my-order-status.status-delivered {
    background: rgba(34, 211, 238, 0.15);
    color: #67e8f9;
}
.my-order-status.status-cancelled {
    background: rgba(248, 113, 113, 0.15);
    color: #fca5a5;
}
.my-order-details {
    display: flex;
    gap: 32px;
}
.my-order-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.my-order-info .info-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.my-order-info .info-val {
    font-size: 0.875rem;
    color: var(--white);
    font-weight: 500;
}
.my-order-info .info-val.amount {
    color: var(--soft-gold);
    font-weight: 700;
    font-size: 1rem;
}
.my-order-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0;
    transition: all 0.25s ease;
}
.my-order-card:hover .my-order-arrow {
    opacity: 1;
    color: var(--soft-gold);
}

@media (max-width: 600px) {
    .order-item {
        padding: 12px 14px;
        gap: 12px;
    }
    .order-item-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
    .order-amount {
        font-size: 0.9rem;
    }
}

/* Order status badges (storefront — shared class name with admin patterns) */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: capitalize;
}
.status-pending_payment {
    background: #fef3c7;
    color: #92400e;
}
.status-pending {
    background: #e0e7ff;
    color: #3730a3;
}
.status-processing {
    background: #dbeafe;
    color: #1e40af;
}
.status-shipped {
    background: #d1fae5;
    color: #065f46;
}
.status-delivered {
    background: #cffafe;
    color: #0e7490;
}
.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* ── Order Confirmation ── */
.confirmation-section {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: flex-start;
    padding: 60px 40px;
}
.confirmation-card {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 56px 64px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--border);
    width: 100%;
}
.confirmation-icon {
    width: 72px;
    height: 72px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 24px;
}
.confirmation-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 8px;
}
.confirmation-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.confirmation-order-num {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    background: var(--charcoal-grey);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 24px;
    color: var(--soft-gold);
}
.confirmation-message {
    font-size: 0.9375rem;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 36px;
    line-height: 1.7;
}
.confirmation-items {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
    text-align: left;
}
.confirmation-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.confirmation-item:last-child {
    border-bottom: none;
}
.confirmation-item-img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}
.confirmation-item-name {
    font-weight: 500;
    font-size: 0.9375rem;
}
.confirmation-item-qty {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.confirmation-item-price {
    margin-left: auto;
    font-weight: 600;
}
.confirmation-total {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-top: 2px solid var(--border);
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.confirmation-payment-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 24px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.confirmation-payment-info .payment-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.confirmation-payment-info .payment-method {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--soft-gold);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}
.confirmation-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* ── Modal System (Ever Etched styled) ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 37, 0.88);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    backdrop-filter: blur(4px);
}
.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.modal-dialog {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    max-width: 420px;
    width: 100%;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.modal-overlay.open .modal-dialog {
    transform: translateY(0) scale(1);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}
.modal-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--white);
    margin: 0;
}
.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.modal-close:hover {
    background: var(--charcoal-grey);
    color: var(--soft-gold);
}
.modal-body {
    padding: 16px 24px 24px;
}
.modal-message {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
.modal-footer {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
    justify-content: flex-end;
}
.modal-footer .btn {
    padding: 10px 20px;
    font-size: 0.875rem;
}

/* ── Empty State ── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}
.empty-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}
.empty-state h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* ── Related Section ── */
.related-section {
    background: var(--charcoal-grey);
}

/* ── Cart Drawer ── */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.4);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: var(--jet-black);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-drawer.open {
    transform: translateX(0);
}
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-drawer-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
}
.cart-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--white);
    transition: background var(--transition);
}
.cart-drawer-close:hover {
    background: var(--jet-black);
    color: var(--soft-gold);
}
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}
.cart-drawer-loading {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
    font-size: 0.9375rem;
}
.cart-drawer-empty {
    text-align: center;
    padding: 64px 24px;
}
.cart-drawer-empty .empty-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}
.cart-drawer-empty h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 8px;
}
.cart-drawer-empty p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 20px;
}
.cart-drawer-item {
    display: flex;
    gap: 14px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.cart-drawer-item-img {
    width: 72px;
    height: 90px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.cart-drawer-item-info {
    flex: 1;
    min-width: 0;
}
.cart-drawer-item-name {
    font-family: var(--font-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-drawer-item-size {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.cart-drawer-item-price {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.cart-drawer-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cart-drawer-item-qty {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.cart-drawer-item-total {
    font-size: 0.9375rem;
    font-weight: 700;
}
.cart-drawer-item-remove {
    font-size: 0.75rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition);
    margin-top: 4px;
    display: inline-block;
}
.cart-drawer-item-remove:hover {
    color: #c62828;
}
.cart-drawer-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    background: var(--charcoal-grey);
}
.cart-drawer-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ── Info Pages ── */
.info-page-section {
    min-height: 60vh;
}
.info-page-card {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.info-page-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 500;
    margin-bottom: 32px;
    text-align: center;
}
.info-page-content {
    font-size: 0.9375rem;
    line-height: 1.9;
    color: var(--white);
}
.info-page-content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 32px 0 12px;
}
.info-page-content p {
    margin-bottom: 16px;
}
.info-page-content a {
    color: var(--soft-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Size Guide Table - Modern clean design */
.info-page-content table {
    width: 100%;
    max-width: 600px;
    margin: 24px auto;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.9375rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.info-page-content thead {
    background: linear-gradient(
        135deg,
        var(--charcoal-grey) 0%,
        var(--jet-black) 100%
    );
}

.info-page-content th {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--soft-gold);
    text-align: center;
    border-bottom: 2px solid var(--soft-gold);
}

.info-page-content td {
    padding: 14px 20px;
    text-align: center;
    color: var(--white);
    border-bottom: 1px solid var(--border);
}

.info-page-content tbody tr {
    background: var(--charcoal-grey);
    transition: background 0.2s ease;
}

.info-page-content tbody tr:nth-child(even) {
    background: var(--jet-black);
}

.info-page-content tbody tr:hover {
    background: rgba(212, 175, 55, 0.08);
}

.info-page-content tbody tr:last-child td {
    border-bottom: none;
}

.info-page-content td:first-child {
    font-weight: 700;
    color: var(--soft-gold);
    text-align: left;
    padding-left: 24px;
}

.info-page-content th:first-child {
    text-align: left;
    padding-left: 24px;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .info-page-content table {
        font-size: 0.8125rem;
    }
    .info-page-content th,
    .info-page-content td {
        padding: 12px 14px;
    }
    .info-page-content th:first-child,
    .info-page-content td:first-child {
        padding-left: 16px;
    }
}

/* ── Size Guide Snippet ── */
.size-guide-snippet {
    background: var(--jet-black);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}
.size-guide-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
}
.size-guide-chevron {
    transition: transform 0.3s ease;
}
.size-guide-snippet.open .size-guide-chevron {
    transform: rotate(180deg);
}
.size-guide-content {
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.4s ease,
        padding 0.3s ease;
    padding: 0 20px;
    font-size: 0.875rem;
    line-height: 1.7;
}
.size-guide-snippet.open .size-guide-content {
    max-height: 800px;
    padding: 0 20px 20px;
}
.size-guide-content h3 {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin: 16px 0 8px;
}
.size-guide-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--soft-gold);
    font-weight: 500;
    font-size: 0.8125rem;
}

/* ── Product Reviews ── */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.review-card {
    background: var(--jet-black);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
}
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.review-user {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-user-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--soft-gold);
}
.review-user-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.review-stars {
    color: var(--soft-gold);
    font-size: 0.9375rem;
    letter-spacing: 2px;
}
.review-author-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
}
.review-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.review-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    margin-bottom: 6px;
}
.review-body {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}
.review-author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
}

/* ── Review Form ── */
.review-form-wrap {
    background: var(--jet-black);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}
.review-form .form-group {
    margin-bottom: 16px;
}
.review-form label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--white);
}
.form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    background: var(--charcoal-grey);
    outline: none;
    transition: border-color var(--transition);
    font-family: inherit;
    color: var(--white);
}
.form-control:focus {
    border-color: var(--soft-gold);
}

/* ── Product Image Zoom Magnifier ── */
.product-detail-main-img {
    cursor: crosshair;
}
.zoom-lens {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--soft-gold);
    border-radius: 50%;
    background: rgba(230, 183, 169, 0.15);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s;
    z-index: 10;
}
.zoom-result {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 200px;
    height: 200px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background-repeat: no-repeat;
    background-color: var(--charcoal-grey);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 20;
}
.product-detail-main-img:hover .zoom-lens,
.product-detail-main-img:hover .zoom-result {
    opacity: 1;
}
@media (max-width: 1024px) {
    .zoom-result {
        display: none;
    }
    .zoom-lens {
        display: none;
    }
}

/* ── Social Link Icons ── */
.social-link svg {
    flex-shrink: 0;
}

/* ── Testimonial Product Name ── */
.testimonial-product {
    display: block;
    font-size: 0.75rem;
    color: var(--soft-gold);
    margin-top: 8px;
    font-style: italic;
}

/* ── Product Gallery Thumbnails ── */
.product-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumb-btn {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.25s ease;
    background: none;
    padding: 0;
}
.gallery-thumb-btn.active,
.gallery-thumb-btn:hover {
    border-color: var(--soft-gold);
    opacity: 1;
}
.gallery-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#mainProductImg {
    transition: opacity 0.2s ease;
}

/* ── Color Selector ── */
.color-selector {
    margin-top: 20px;
}
.color-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.color-swatch-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    cursor: pointer;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: inset 0 0 0 2px #fff;
}
.color-swatch-btn:hover {
    transform: scale(1.1);
}
.color-swatch-btn.active {
    border-color: var(--white);
    box-shadow:
        inset 0 0 0 2px #fff,
        0 0 0 1px var(--white);
}
.color-swatch-check {
    display: none;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.color-swatch-btn.active .color-swatch-check {
    display: block;
}
.color-btn-oos {
    opacity: 0.35;
    cursor: not-allowed;
    position: relative;
}
.color-btn-oos::after {
    content: "×";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    color: #c00;
    font-weight: bold;
}
.color-name-hint {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 6px;
    min-height: 1.2em;
}

/* ── Sticky add to cart (product detail) ── */
body.sticky-atc-active {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
}
.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 980;
    background: rgba(26, 26, 29, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.sticky-add-to-cart.visible {
    transform: translateY(0);
    pointer-events: auto;
}
.sticky-atc-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.sticky-atc-product {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.sticky-atc-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.sticky-atc-product-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.sticky-atc-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sticky-atc-price {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--soft-gold);
}
.sticky-atc-btn {
    flex-shrink: 0;
    min-height: 48px;
    padding-left: 22px;
    padding-right: 22px;
    max-width: 52%;
    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        opacity var(--transition);
}
.sticky-atc-btn:not(.sticky-atc-btn--ready) {
    background: transparent;
    color: var(--text-muted);
    border: 1.5px solid var(--border);
    font-weight: 600;
}
.sticky-atc-btn:not(.sticky-atc-btn--ready):hover {
    border-color: var(--soft-gold);
    color: var(--white);
}
.sticky-atc-btn.sticky-atc-btn--ready {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
    border-color: var(--soft-gold);
}
.sticky-atc-btn.sticky-atc-btn--ready:hover {
    background: var(--soft-gold);
    color: var(--charcoal-grey);
}
.sticky-atc-btn.sticky-atc-btn--submitting {
    pointer-events: none;
    opacity: 0.88;
}
@media (max-width: 768px) {
    .sticky-atc-inner {
        gap: 12px;
    }
    .sticky-atc-img {
        width: 44px;
        height: 44px;
    }
    .sticky-atc-btn {
        font-size: 0.875rem;
        padding-left: 16px;
        padding-right: 16px;
        min-height: 46px;
    }
}
@media (max-width: 600px) {
    .sticky-atc-product {
        display: none;
    }
    .sticky-atc-inner {
        justify-content: center;
    }
    .sticky-atc-btn {
        max-width: none;
        width: 100%;
    }
}
@media (max-width: 480px) {
    body.sticky-atc-active {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    }
    .sticky-add-to-cart {
        padding-top: 10px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .sticky-atc-btn {
        min-height: 52px;
        font-size: 0.9375rem;
        padding: 14px 20px;
    }
}

/* ── Fade-in Animations ── */
.fade-in-up {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .products-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-container {
        grid-template-columns: 2fr 1fr 1fr;
    }
    .footer-container > *:last-child {
        grid-column: 1;
    }
}
@media (max-width: 900px) {
    .about-grid,
    .value-grid,
    .occasion-grid,
    .product-detail-grid,
    .cart-grid,
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .about-img-accent {
        display: none;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    .collections-grid {
        grid-template-columns: 1fr 1fr;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    .cart-summary {
        position: static;
    }
    .about-grid {
        gap: 48px;
    }
}
@media (max-width: 600px) {
    :root {
        --nav-h: 56px;
    }
    .container,
    .container-narrow {
        padding: 0 12px;
    }
    .section {
        padding: 40px 0;
    }
    .navbar {
        padding: 0 16px;
        gap: 0;
        justify-content: space-between;
    }
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        width: 280px;
        height: calc(100vh - var(--nav-h));
        background: var(--jet-black);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 4px;
        transform: translateX(-100%);
        transition: transform var(--transition);
        z-index: 995;
        overflow-y: auto;
    }
    .nav-links.open {
        transform: translateX(0);
    }
    .nav-links .nav-link {
        padding: 14px 16px;
        width: 100%;
        font-size: 0.9375rem;
        color: var(--white);
        border-radius: 8px;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--charcoal-grey);
        padding: 4px 0 4px 16px;
    }
    .nav-overlay.open {
        display: block;
    }
    .nav-hamburger {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }
    .nav-logo {
        font-size: 1.125rem;
    }
    .products-grid,
    .products-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .collections-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    /* Better touch targets */
    .btn,
    .btn-modern,
    .btn-primary,
    .btn-secondary,
    .btn-ghost {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 0.9375rem;
    }

    /* Full width buttons on mobile */
    .form-actions {
        flex-direction: column;
    }
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Cart improvements */
    .cart-item {
        grid-template-columns: 85px 1fr;
        gap: 16px;
        padding: 20px 16px;
        align-items: flex-start;
    }
    .cart-item-total {
        display: none;
    }
    .cart-item-details {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    .cart-item-actions {
        margin-top: 12px;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
    }
    .qty-selector-sm {
        height: 40px;
    }
    .qty-selector-sm .qty-btn {
        padding: 0 14px;
        min-height: 40px;
        height: 40px;
        width: auto;
    }
    .qty-selector-sm .qty-input {
        width: 44px;
        min-height: 40px;
        height: 40px;
    }
    /* Form improvements */
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .form-input,
    .form-control {
        min-height: 44px;
        font-size: 16px;
    }

    /* Newsletter */
    .newsletter-input-wrap {
        flex-direction: column;
    }
    .newsletter-input {
        border-right: 1.5px solid rgba(255, 255, 255, 0.15);
        border-bottom: none;
        border-radius: var(--radius) var(--radius) 0 0;
        min-height: 44px;
    }
    .newsletter-btn {
        border-radius: 0 0 var(--radius) var(--radius);
        min-height: 44px;
    }

    /* Typography */
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    .page-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    /* About */
    .about-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .stat-number {
        font-size: 2rem;
    }

    /* Shop */
    .shop-filter-bar {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        gap: 8px;
    }
    .shop-tools-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .search-box {
        max-width: none;
    }

    /* Info pages */
    .info-page-card {
        padding: 24px 16px;
    }

    /* Reviews */
    .review-form-wrap {
        padding: 20px 16px;
    }
    .review-form .form-row {
        grid-template-columns: 1fr;
    }
    .reviews-summary {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    /* Confirmation */
    .confirmation-actions {
        flex-direction: column;
    }
    .confirmation-actions .btn {
        width: 100%;
    }
    .confirmation-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .confirmation-item-price {
        margin-left: 0;
        align-self: flex-end;
    }

    /* Payment */
    .payment-hosted-panel {
        padding: 24px 20px;
    }
    .payment-hosted-external-link,
    .payment-hosted-overlay button {
        width: 100%;
        min-height: 44px;
    }

    /* Cart page - full width layout */
    .cart-item-name {
        font-size: 0.9375rem;
        line-height: 1.4;
        margin-bottom: 4px;
    }
    .cart-item-price {
        font-size: 0.9375rem;
        font-weight: 600;
        margin-bottom: 0;
    }
    .cart-item-size {
        font-size: 0.8125rem;
        margin-bottom: 4px;
    }
    .cart-remove-btn {
        padding: 8px 0;
        font-size: 0.8125rem;
    }
    .cart-summary {
        margin-top: 24px;
        padding: 24px;
    }
    .cart-summary-title {
        font-size: 1.125rem;
    }

    /* Checkout - step navigation */
    .checkout-modern {
        padding: 16px;
    }
    .checkout-step {
        padding: 16px;
    }
    .checkout-step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .checkout-step-title {
        font-size: 1rem;
    }
    .checkout-step-badge {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    .checkout-review-table {
        font-size: 0.875rem;
    }
    .checkout-review-table th,
    .checkout-review-table td {
        padding: 8px;
    }

    /* Cart drawer */
    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }
    .cart-drawer-header {
        padding: 16px;
    }
    .cart-drawer-footer {
        padding: 16px;
    }

    /* Product detail mobile */
    .product-detail-grid {
        gap: 24px;
    }
    .product-info {
        gap: 16px;
    }
    .product-title {
        font-size: 1.5rem;
    }
    .product-price {
        font-size: 1.25rem;
    }

    /* Hero section mobile */
    .hero {
        padding: 80px 0;
    }
    .hero-headline {
        font-size: 1.75rem;
    }
    .hero-subheadline {
        font-size: 1rem;
    }

    /* Tables mobile */
    .data-table {
        font-size: 0.875rem;
    }
    .data-table th,
    .data-table td {
        padding: 10px 8px;
    }

    /* Auth pages - fix squashed mobile look */
    .auth-section {
        padding: 24px 0;
        min-height: auto;
    }
    .auth-card {
        padding: 32px 20px;
        margin: 0 12px;
        border-radius: var(--radius);
    }
    .auth-title {
        font-size: 1.5rem;
    }
    .auth-subtitle {
        font-size: 0.875rem;
    }
    .auth-header {
        margin-bottom: 24px;
    }
    .form-check {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .auth-link-small {
        font-size: 0.8125rem;
    }
    .auth-switch {
        font-size: 0.8125rem;
        margin-top: 20px;
    }
    .auth-terms {
        font-size: 0.75rem;
    }

    /* Mobile-first uniform button styles for checkout and cart */
    .btn-modern,
    .btn-pay,
    .btn-add-cart,
    .btn-primary,
    .btn-secondary {
        width: 100%;
        min-height: 52px;
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 14px 20px;
        border-radius: var(--radius);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    /* Checkout form actions */
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Product page add to cart */
    .cart-form {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .cart-form .qty-wrap {
        width: 100%;
        justify-content: center;
        height: 52px;
    }
    .qty-btn {
        width: 56px;
        height: 52px;
    }
    .qty-input {
        height: 52px;
        font-size: 1rem;
        font-weight: 600;
    }
    .btn-add-cart {
        width: 100%;
        height: 52px;
        font-size: 0.9375rem;
    }

    /* Sticky cart button */
    .sticky-atc-btn {
        min-height: 52px;
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 14px 24px;
    }

    /* Cart drawer buttons */
    .cart-drawer-footer .btn {
        width: 100%;
        min-height: 52px;
        font-size: 0.9375rem;
        font-weight: 600;
    }
}
@media (max-width: 400px) {
    .products-grid,
    .products-grid-large {
        grid-template-columns: 1fr;
    }
    .auth-card {
        padding: 24px 16px;
    }

    /* Smaller padding on very small screens */
    .container,
    .container-narrow {
        padding: 0 12px;
    }
    .section {
        padding: 40px 0;
    }

    /* Compact buttons - maintain uniform 52px height */
    .btn,
    .btn-modern,
    .btn-primary,
    .btn-secondary,
    .btn-pay,
    .btn-add-cart {
        min-height: 48px;
        font-size: 0.875rem;
        padding: 12px 16px;
    }

    /* Quantity buttons at 400px */
    .qty-btn {
        width: 48px;
        height: 48px;
    }
    .qty-input {
        height: 48px;
    }
}
