/* =========================================================
   LUXO — Light Luxury Theme
   Inspired by NET-A-PORTER, Farfetch, SSENSE
   ========================================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f9f8f6;
    --bg-card: #ffffff;
    --bg-card-hover: #f7f6f4;
    --border-subtle: #ebebeb;
    --border-medium: #d5d5d5;

    --text-primary: #222222;
    --text-secondary: #737373;
    --text-muted: #a0a0a0;

    --gold: #9a8c7a;
    --gold-light: #b0a594;
    --gold-dark: #7a6e5e;

    --accent: #222222;

    --success: #2d8a4e;
    --warning: #c47a0a;
    --error: #c0392b;
    --info: #2471a3;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 0px;
    --radius-md: 2px;
    --radius-lg: 4px;

    --shadow-card: none;
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.06);

    --transition: all 0.25s ease;
    --max-width: 1280px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p { color: var(--text-secondary); }

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--text-secondary); }

/* --- Container --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navigation --- */
.nav {
    background: #0d0d0d;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 1.5rem;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: #c8b590;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.nav-logo:hover { color: #d4c4a0; }

/* --- Hamburger Menu --- */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.55);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
}
.nav-links a:hover { color: #ffffff; }
.nav-links a.active { color: #c8b590; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.nav-icon {
    color: rgba(255,255,255,0.55);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.nav-icon:hover { color: #ffffff; }

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #c8b590;
    color: #0d0d0d;
    font-size: 0.6rem;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Hero --- */
.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
    padding: 6rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-gold {
    background: var(--text-primary);
    color: #ffffff;
}
.btn-gold:hover {
    background: #3a3a3a;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}
.btn-outline:hover {
    background: var(--text-primary);
    color: #ffffff;
}


.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.875rem;
}

.btn-full { width: 100%; }

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

/* --- Product Card --- */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}
.product-card:hover {
    border-color: var(--border-medium);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.product-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-secondary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
}

.product-card-body {
    padding: 1.25rem;
}

.product-card-brand {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.375rem;
}

.product-card-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-card-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.product-card-original-price {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.product-card-shipping {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: var(--success);
    margin-top: 0.5rem;
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- How It Works --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0 auto 1.25rem;
}

.step h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Brands Bar --- */
.brands-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    padding: 2rem 0;
    opacity: 0.5;
}

.brands-bar img {
    height: 28px;
    filter: grayscale(1) brightness(0);
    transition: var(--transition);
}
.brands-bar img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* --- Free Shipping Banner --- */
.shipping-banner {
    background: #0d0d0d;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #c8b590;
    font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- Footer --- */
.footer {
    background: #0d0d0d;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #c8b590;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

.footer h5 {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #c8b590;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
}
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.03em;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
    letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: none;
}

.form-input::placeholder { color: var(--text-muted); }

/* --- Alerts --- */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.alert-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: var(--success); }
.alert-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: var(--error); }
.alert-warning { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); color: var(--warning); }
.alert-info { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: var(--info); }

/* --- Badge --- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 2px;
}

.badge-gold { background: var(--bg-secondary); color: var(--text-primary); border: 1px solid var(--border-subtle); }
.badge-success { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-error { background: rgba(239,68,68,0.15); color: var(--error); }
.badge-info { background: rgba(59,130,246,0.15); color: var(--info); }

/* --- Tables --- */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-subtle);
}

.table th {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.table td {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.table tr:hover td { background: rgba(0,0,0,0.015); }

/* --- Divider --- */
.divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 2rem 0;
}

/* --- Utility --- */
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }

.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero { min-height: 60vh; }

    /* Mobile nav */
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: #0d0d0d;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0;
        box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-links a {
        display: block;
        padding: 0.875rem 0;
        font-size: 0.9375rem;
    }

    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .section { padding: 3rem 0; }
}

@media (max-width: 480px) {
    .product-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
}

/* =========================================================
   Product Detail Page
   ========================================================= */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-gallery-main {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
    overflow-x: auto;
}
.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.6;
    transition: var(--transition);
}
.product-thumb:hover { opacity: 0.8; }
.product-thumb.active {
    border-color: var(--text-primary);
    opacity: 1;
}
.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-brand {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: block;
}

.product-info-name {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.product-info-price {
    margin-bottom: 1.5rem;
}
.product-price-current {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}
.product-price-original {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-left: 0.75rem;
}

.product-option-group {
    margin-bottom: 1.5rem;
}
.product-option-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
.product-option-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.option-btn {
    padding: 0.5rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
}
.option-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
}
.option-btn.selected {
    border-color: var(--text-primary);
    color: var(--text-primary);
    background: var(--bg-primary);
}

.qty-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
}
.qty-btn:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.product-description {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
}

.product-details-list {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.product-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.product-detail-item svg { color: var(--text-muted); flex-shrink: 0; }

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .product-info-name { font-size: 1.5rem; }
}

/* =========================================================
   Auth Pages
   ========================================================= */
.auth-container {
    max-width: 440px;
    margin: 0 auto;
    padding: 3rem 0;
}
.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}
.auth-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}
.auth-header p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--border-subtle);
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =========================================================
   Cart Page
   ========================================================= */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.25rem;
}
.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-secondary);
}
.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cart-item-brand {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}
.cart-item-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}
.cart-item-meta {
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.cart-item-price {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}
.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    text-align: right;
    margin-top: 0.5rem;
    transition: var(--transition);
    font-family: var(--font-body);
}
.cart-item-remove:hover { color: var(--error); }

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: sticky;
    top: 100px;
}
.cart-summary h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-subtle);
}
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9375rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}
.cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    padding-top: 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-item {
        grid-template-columns: 80px 1fr;
    }
    .cart-item-price { grid-column: 2; }
}

/* =========================================================
   Account Dashboard
   ========================================================= */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: start;
}
.account-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    position: sticky;
    top: 100px;
}
.account-sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.account-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.account-sidebar-nav a:hover { background: rgba(0,0,0,0.03); color: var(--text-primary); }
.account-sidebar-nav a.active { background: var(--bg-secondary); color: var(--text-primary); font-weight: 500; }

.account-content {
    min-height: 400px;
}

/* --- Order Status Badges --- */
.status-pending_confirmation { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-partially_confirmed { background: rgba(245,158,11,0.15); color: var(--warning); }
.status-awaiting_payment { background: rgba(59,130,246,0.15); color: var(--info); }
.status-paid { background: rgba(34,197,94,0.15); color: var(--success); }
.status-purchasing { background: rgba(168,85,247,0.15); color: #a855f7; }
.status-shipped { background: rgba(59,130,246,0.15); color: var(--info); }
.status-delivered { background: rgba(34,197,94,0.15); color: var(--success); }
.status-cancelled { background: rgba(239,68,68,0.15); color: var(--error); }
.status-expired { background: rgba(107,114,128,0.15); color: #6b7280; }

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    .account-sidebar {
        position: static;
    }
    .account-sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
    }
}

/* =========================================================
   Stripe Payment
   ========================================================= */
.payment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 2rem;
    max-width: 540px;
    margin: 0 auto;
}
#card-element {
    padding: 0.875rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
}
#card-errors {
    color: var(--error);
    font-size: 0.8125rem;
    margin-top: 0.5rem;
}
