:root {
    --bg-primary: #0e1117;
    --bg-secondary: #141924;
    --bg-card: #1a2029;
    --bg-card-hover: #1f2631;
    --bg-input: #181e28;
    --text-primary: #eef1f6;
    --text-secondary: #98a2b3;
    --text-muted: #66707f;
    --accent: #d4a853;
    --accent-hover: #c99a3e;
    --accent-subtle: rgba(212, 168, 83, 0.12);
    --accent-glow: rgba(212, 168, 83, 0.25);
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --info: #3b82f6;
    --border: #283040;
    --border-light: #1f2731;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 6px 36px rgba(0,0,0,0.5);
    --shadow-lg: 0 12px 60px rgba(0,0,0,0.6);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ─── Header ─────────────────────────────────────────────── */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(14, 17, 23, 0.94);
    border-bottom: 1px solid var(--border-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 28px;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.logo-icon { font-size: 1.6rem; opacity: 0.9; }
.logo-text { color: var(--text-primary); }
.logo-text span { color: var(--accent); font-weight: 800; }

.nav {
    display: flex;
    gap: 4px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    padding: 9px 20px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.05);
}

.nav-link.active {
    color: var(--accent);
    background: var(--accent-subtle);
}

.cart-badge {
    background: var(--accent);
    color: #0e1117;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 50px;
    margin-left: 5px;
    vertical-align: middle;
}

.user-menu { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.user-name { font-size: 0.88rem; color: var(--text-secondary); font-weight: 500; }

.logout-btn {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.logout-btn:hover {
    border-color: var(--error);
    color: var(--error);
    background: rgba(239,68,68,0.06);
}

/* ─── Main ───────────────────────────────────────────────── */
.main { padding: 0; min-height: calc(100vh - 68px); }

/* ─── Flash Messages ─────────────────────────────────────── */
.flash-container { max-width: 1380px; margin: 16px auto 0; padding: 0 28px; }

.flash {
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.flash-success { background: rgba(34,197,94,0.1); color: var(--success); border: 1px solid rgba(34,197,94,0.2); }
.flash-error { background: rgba(239,68,68,0.1); color: var(--error); border: 1px solid rgba(239,68,68,0.2); }
.flash-warning { background: rgba(234,179,8,0.1); color: var(--warning); border: 1px solid rgba(234,179,8,0.2); }
.flash-info { background: rgba(59,130,246,0.1); color: var(--info); border: 1px solid rgba(59,130,246,0.2); }

/* ─── Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 30px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #c4943a 100%);
    color: #0e1117;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #b88830 100%);
    box-shadow: 0 4px 24px var(--accent-glow);
    transform: translateY(-1px);
}

.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--text-secondary); background: var(--bg-card-hover); }

.btn-outline {
    background: transparent;
    border: 2px solid rgba(212, 168, 83, 0.4);
    color: var(--accent);
}

.btn-outline:hover {
    background: rgba(212, 168, 83, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text-primary); }
.btn-ghost:hover { border-color: var(--text-secondary); background: var(--bg-card-hover); color: var(--text-primary); }

.btn-sm { padding: 9px 20px; font-size: 0.86rem; }
.btn-lg { padding: 15px 40px; font-size: 1.02rem; font-weight: 600; }

/* ─── Section Head ───────────────────────────────────────── */
.section-eyebrow {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

.section-head .section-sub { margin: 0 auto; }
.section-foot { text-align: center; margin-top: 40px; }

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 110px 0 96px;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(212,168,83,0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 42%, rgba(96,120,222,0.1) 0%, transparent 55%),
        linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #1b2230 100%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    opacity: 0.5;
}

.beam {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212,168,83,0.5), transparent);
    border-radius: 2px;
    box-shadow: 0 0 14px rgba(212,168,83,0.25);
    transform: rotate(-6deg);
    transform-origin: left center;
}

.beam-1 { top: 22%; left: -5%; width: 58%; }
.beam-2 { top: 58%; right: -8%; width: 52%; transform: rotate(7deg); }
.beam-3 { bottom: 16%; left: 14%; width: 40%; transform: rotate(-12deg); }

.hero .container { position: relative; z-index: 2; }

.hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 7px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 500;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 9px var(--accent-glow);
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.16;
    margin-bottom: 22px;
}

.hero h1 .accent-word {
    background: linear-gradient(135deg, var(--accent) 0%, #c4943a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    font-size: 1.14rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 38px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 24px 44px;
    justify-content: center;
    border-top: 1px solid var(--border-light);
    padding-top: 28px;
}

.hero-meta-item { text-align: center; }

.hero-meta-item strong {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.hero-meta-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── Services ───────────────────────────────────────────── */
.services-section { padding: 92px 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 34px;
    position: relative;
    transition: var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(212,168,83,0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.42);
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: var(--accent-subtle);
    color: var(--accent);
    margin-bottom: 22px;
}

.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }

.service-card p {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(212,168,83,0.08);
    border: 1px solid rgba(212,168,83,0.2);
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 600;
}

/* ─── Portfolio / Work ───────────────────────────────────── */
.portfolio-section {
    padding: 92px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.work-card:hover {
    border-color: rgba(212,168,83,0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.42);
}

.work-photo {
    aspect-ratio: 16 / 10;
    position: relative;
}

.work-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 68%, rgba(255,255,255,0.14) 0%, transparent 46%);
}

.work-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11,14,22,0.8) 100%);
}

.work-cat {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    padding: 5px 14px;
    border-radius: 50px;
    background: rgba(14,17,23,0.75);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 0.74rem;
    font-weight: 600;
}

.work-body {
    position: relative;
    z-index: 3;
    padding: 18px 22px 22px;
    background: var(--bg-card);
}

.work-body h3 { font-size: 1.06rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.work-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Featured Products ──────────────────────────────────── */
.featured-section { padding: 92px 0; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 28px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(212,168,83,0.35);
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.4);
}

.product-image {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.4rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border-light);
}

.product-info { padding: 22px; flex: 1; display: flex; flex-direction: column; }

.product-info h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 9px; color: var(--text-primary); line-height: 1.4; }

.product-desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
    flex: 1;
}

.product-price { font-size: 1.28rem; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.product-info .btn { margin-top: 0; width: 100%; }

/* Catalog product card */
.product-card-image {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border-bottom: 1px solid var(--border-light);
}

.product-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body h3 {
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 9px;
    color: var(--text-primary);
    line-height: 1.4;
}

.product-card-body .price {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 12px;
}

.product-card-body .description {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.product-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.product-card-actions form { flex: 1; }
.product-card-actions .btn { width: 100%; }

/* ─── Steps ──────────────────────────────────────────────── */
.steps-section {
    padding: 92px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 26px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover { border-color: rgba(212,168,83,0.35); transform: translateY(-4px); }

.step-num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.65;
}

.step-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 22px 0 10px; }
.step-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.65; }

/* ─── Stats ──────────────────────────────────────────────── */
.stats-section { padding: 48px 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.stat-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-card:hover { border-color: rgba(212,168,83,0.35); transform: translateY(-3px); }

.stat-card .number {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.stat-card .label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }

/* ─── Reviews ────────────────────────────────────────────── */
.reviews-section { padding: 92px 0; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.review-card:hover { border-color: rgba(212,168,83,0.35); transform: translateY(-4px); }

.review-stars {
    color: var(--accent);
    font-size: 1.05rem;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
}

.review-text {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.72;
    flex: 1;
    margin-bottom: 22px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-subtle);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    flex-shrink: 0;
}

.review-author strong { display: block; font-size: 0.94rem; color: var(--text-primary); font-weight: 600; }
.review-author span { display: block; font-size: 0.78rem; color: var(--text-muted); }

/* ─── Partners ───────────────────────────────────────────── */
.partners-section {
    padding: 92px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.partner-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 40px;
    text-align: center;
    transition: var(--transition);
    min-width: 140px;
}

.partner-item:hover { border-color: rgba(212,168,83,0.25); transform: translateY(-3px); }
.partner-item svg { opacity: 0.55; transition: var(--transition); }
.partner-item:hover svg { opacity: 0.85; }

.partner-item span { display: block; margin-top: 12px; font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }

/* ─── CTA ────────────────────────────────────────────────── */
.cta-section {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(212,168,83,0.08) 0%, transparent 60%),
        linear-gradient(160deg, var(--bg-primary) 0%, #1b2230 60%, var(--bg-secondary) 100%);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.cta-inner { max-width: 720px; margin: 0 auto; }

.cta-inner h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 1.04rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ─── Landing Footer ─────────────────────────────────────── */
.landing-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-grid h4 { font-size: 0.98rem; font-weight: 700; margin-bottom: 15px; color: var(--text-primary); }
.footer-grid p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; }

.footer-grid a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 6px 0;
    transition: var(--transition);
}

.footer-grid a:hover { color: var(--accent); }
.footer-brand p { color: var(--text-muted); }

.footer-copy {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Catalog Page ───────────────────────────────────────── */
.page-header { padding: 46px 0 30px; }
.page-header h1 { font-size: 1.9rem; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.02em; }
.page-header p { color: var(--text-secondary); font-size: 0.98rem; }

.catalog-layout { display: flex; gap: 30px; }

.sidebar { width: 250px; flex-shrink: 0; }

.sidebar-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 18px;
}

.sidebar-section h3 {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    margin-bottom: 14px;
    font-weight: 600;
}

.sidebar-section a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.sidebar-section a:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.sidebar-section a.active { color: var(--accent); background: var(--accent-subtle); }

.search-form { display: flex; gap: 10px; }

.search-form input {
    flex: 1;
    padding: 11px 15px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: var(--transition);
}

.search-form input:focus { outline: none; border-color: var(--accent); }
.search-form input::placeholder { color: var(--text-muted); }
.search-form .btn { padding: 11px 18px; width: auto; }

/* ─── Product Page ───────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    margin-bottom: 48px;
}

.product-detail-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border-radius: var(--radius);
    min-height: 360px;
    border: 1px solid var(--border-light);
}

.product-detail-info h1 { font-size: 1.8rem; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.02em; }
.product-detail-info .price { font-size: 1.9rem; font-weight: 800; color: var(--accent); margin-bottom: 22px; }
.product-detail-info .description { color: var(--text-secondary); margin-bottom: 30px; line-height: 1.75; font-size: 0.98rem; }

.product-features { list-style: none; margin-bottom: 34px; }

.product-features li {
    padding: 11px 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-features li::before { content: "✓ "; color: var(--success); font-weight: 700; }

.related-products { margin-bottom: 64px; }
.related-products h2 { margin-bottom: 26px; font-size: 1.35rem; font-weight: 600; }
.related-products .products-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

/* ─── Cart ───────────────────────────────────────────────── */
.cart-table { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }

.cart-table table { width: 100%; border-collapse: collapse; }

.cart-table th {
    text-align: left;
    padding: 17px 22px;
    background: var(--bg-secondary);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

.cart-table td { padding: 17px 22px; border-bottom: 1px solid var(--border-light); vertical-align: middle; font-size: 0.93rem; }
.cart-table tr:last-child td { border-bottom: none; }
.cart-item-name { font-weight: 600; }
.cart-item-price { color: var(--text-secondary); }

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-control input {
    width: 58px;
    text-align: center;
    border: none;
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 0.9rem;
    padding: 9px;
    font-family: inherit;
}

.qty-control input:focus { outline: none; }

.cart-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: right; }
.cart-summary .total { font-size: 1.45rem; font-weight: 700; margin-bottom: 18px; }
.cart-summary .total span { color: var(--accent); }

.cart-empty { text-align: center; padding: 90px 20px; color: var(--text-secondary); }
.cart-empty .icon { font-size: 3.6rem; margin-bottom: 18px; opacity: 0.6; }
.cart-empty h3 { font-size: 1.35rem; margin-bottom: 10px; color: var(--text-primary); }
.cart-empty .btn { width: auto; margin-top: 26px; display: inline-flex; }

/* ─── Checkout ───────────────────────────────────────────── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; margin-bottom: 64px; }
.checkout-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.checkout-form h2 { margin-bottom: 26px; font-size: 1.25rem; font-weight: 600; }
.checkout-form .btn { margin-top: 10px; }
.checkout-order { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; align-self: start; position: sticky; top: 92px; }
.checkout-order h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: 1.05rem; font-weight: 600; }
.checkout-item { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.9rem; color: var(--text-secondary); }
.checkout-total { display: flex; justify-content: space-between; padding-top: 14px; margin-top: 14px; border-top: 1px solid var(--border); font-weight: 700; font-size: 1.1rem; }
.checkout-total span:last-child { color: var(--accent); }

/* ─── Profile ────────────────────────────────────────────── */
.profile-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 44px; max-width: 640px; margin-bottom: 64px; }
.profile-card h2 { margin-bottom: 26px; font-size: 1.25rem; font-weight: 600; }
.profile-info { list-style: none; }
.profile-info li { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--border-light); font-size: 0.93rem; }
.profile-info li:last-child { border-bottom: none; }
.profile-info li span:first-child { color: var(--text-secondary); }

/* ─── Orders ─────────────────────────────────────────────── */
.order-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-bottom: 18px; transition: var(--transition); }
.order-card:hover { border-color: rgba(212,168,83,0.25); }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.order-id { font-weight: 700; font-size: 1.08rem; }
.order-status { padding: 5px 15px; border-radius: 50px; font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.order-status.new { background: rgba(59,130,246,0.1); color: var(--info); border: 1px solid rgba(59,130,246,0.2); }
.order-items { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 14px; line-height: 1.75; }
.order-total { font-weight: 700; color: var(--accent); font-size: 1.08rem; }

/* ─── Auth Pages ─────────────────────────────────────────── */
.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 68px);
    padding: 52px 28px;
    background: radial-gradient(ellipse at top, var(--bg-secondary) 0%, var(--bg-primary) 70%);
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px 44px;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
}

.auth-card h1 { text-align: center; margin-bottom: 8px; font-size: 1.55rem; font-weight: 700; letter-spacing: -0.02em; }
.auth-card .subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 34px; font-size: 0.9rem; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 7px; font-weight: 500; font-size: 0.88rem; color: var(--text-secondary); }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 17px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.auth-footer { text-align: center; margin-top: 30px; font-size: 0.9rem; color: var(--text-secondary); }
.auth-footer a { color: var(--accent); font-weight: 600; }
.auth-footer a:hover { text-decoration: underline; }

/* ─── About / Contact ────────────────────────────────────── */
.content-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 48px; max-width: 880px; margin: 0 auto; }
.content-card h1 { margin-bottom: 22px; font-size: 1.65rem; font-weight: 700; }
.content-card p { color: var(--text-secondary); margin-bottom: 18px; line-height: 1.85; font-size: 0.98rem; }
.content-card h2 { margin-top: 40px; margin-bottom: 18px; font-size: 1.25rem; font-weight: 600; color: var(--text-primary); }
.content-card ul { margin: 0 0 22px 0; color: var(--text-secondary); list-style: none; }
.content-card li { margin-bottom: 11px; padding-left: 22px; position: relative; }
.content-card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.6; }

/* ─── 404 ────────────────────────────────────────────────── */
.error-page { text-align: center; padding: 110px 20px; }
.error-page .code { font-size: 5.5rem; font-weight: 800; color: var(--accent); line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px; }
.error-page h2 { margin: 14px 0; font-size: 1.45rem; font-weight: 600; }
.error-page p { color: var(--text-secondary); margin-bottom: 40px; font-size: 0.98rem; }
.error-page .btn { width: auto; display: inline-flex; }

/* ─── Generic Footer (app pages) ─────────────────────────── */
.footer { background: var(--bg-secondary); border-top: 1px solid var(--border-light); margin-top: auto; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; padding: 52px 0 44px; }
.footer-col h4 { margin-bottom: 18px; font-size: 0.98rem; font-weight: 600; color: var(--text-primary); }
.footer-col p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; }
.footer-col a { display: block; font-size: 0.88rem; color: var(--text-secondary); padding: 6px 0; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-light); padding: 20px 28px; text-align: center; font-size: 0.82rem; color: var(--text-muted); }

/* ─── Contact Page ───────────────────────────────────────── */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-bottom: 64px; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.contact-info-card h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 26px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--border-light); }
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon { width: 44px; height: 44px; background: var(--accent-subtle); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { opacity: 0.8; }
.contact-info-text h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 3px; }
.contact-info-text p { font-size: 0.88rem; color: var(--text-secondary); }
.contact-form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; }
.contact-form-card h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 26px; }

/* ─── About Page ─────────────────────────────────────────── */
.about-hero { text-align: center; padding: 76px 0 54px; background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, #1b2230 100%); border-bottom: 1px solid var(--border-light); }
.about-hero h1 { font-size: 2.1rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 14px; }
.about-hero p { color: var(--text-secondary); max-width: 640px; margin: 0 auto; font-size: 1.04rem; }
.about-content { padding: 64px 0; }
.about-content .content-card { max-width: 880px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 28px; }
.team-card { background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: var(--radius); padding: 30px 26px; text-align: center; }
.team-avatar { width: 68px; height: 68px; border-radius: 50%; background: var(--accent-subtle); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.team-card h4 { font-weight: 600; margin-bottom: 6px; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-meta { grid-template-columns: repeat(2, auto); }
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; }
    .work-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { height: auto; padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
    .nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; gap: 2px; padding: 6px 0; }
    .nav-link { padding: 7px 14px; font-size: 0.82rem; white-space: nowrap; }
    .user-menu { gap: 10px; }
    .container { padding: 0 18px; }
    .hero { padding: 68px 0 60px; }
    .hero h1 { font-size: 1.9rem; line-height: 1.25; }
    .hero-sub { font-size: 1rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .hero-meta { grid-template-columns: 1fr 1fr; row-gap: 16px; column-gap: 26px; }
    .catalog-layout { flex-direction: column; }
    .sidebar { width: 100%; }
    .product-detail { grid-template-columns: 1fr; padding: 26px; }
    .checkout-layout { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .content-card { padding: 30px; }
    .contact-info-card, .contact-form-card { padding: 30px; }
    .section-title { font-size: 1.55rem; }
    .section-eyebrow { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-meta { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; }
    .cta-actions .btn { width: 100%; }
}