/* CodeKitt — Design System */
:root {
    --ink: #09090b;
    --ink-soft: #3f3f46;
    --ink-muted: #71717a;
    --surface: #ffffff;
    --surface-raised: #fafafa;
    --surface-sunken: #f4f4f5;
    --surface-alt: #f8fafc;
    --border: #e4e4e7;
    --border-light: #f0f0f2;
    --accent: #18181b;
    --accent-hover: #27272a;
    --accent-brand: #2563eb;
    --accent-brand-hover: #1d4ed8;
    --accent-soft: #eff6ff;
    --accent-glow: rgba(37, 99, 235, 0.15);
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    --success: #16a34a;
    --success-soft: #f0fdf4;
    --warning: #ca8a04;
    --warning-soft: #fefce8;
    --danger: #dc2626;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 999px;
    --shadow-xs: 0 1px 2px rgba(9, 9, 11, 0.04);
    --shadow-sm: 0 2px 8px rgba(9, 9, 11, 0.06);
    --shadow: 0 8px 30px rgba(9, 9, 11, 0.08);
    --shadow-lg: 0 20px 50px rgba(9, 9, 11, 0.1);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --header-h: 72px;
    --mega-h: 44px;
    --container: 1200px;
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: var(--shadow-xs);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--surface);
    color: var(--ink);
    border-color: var(--border);
}
.btn-outline:hover {
    border-color: var(--ink-muted);
    background: var(--surface-raised);
}

.btn-ghost {
    background: transparent;
    color: var(--ink-soft);
    border-color: transparent;
}
.btn-ghost:hover {
    background: var(--surface-sunken);
    color: var(--ink);
}

.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── Header ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.header-bar { border-bottom: 1px solid var(--border-light); }

.header-grid {
    display: grid;
    grid-template-columns: auto minmax(280px, 480px) 1fr;
    align-items: center;
    height: var(--header-h);
    gap: 20px;
}

.header-brand { justify-self: start; }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--accent);
    color: #fff;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.6px;
    color: var(--ink);
}

.logo-sm .logo-mark { width: 30px; height: 30px; }
.logo-sm .logo-text { font-size: 15px; }

/* Header search — left aligned, right after the logo */
.header-search {
    justify-self: start;
    width: 100%;
    display: flex;
    align-items: center;
    height: 42px;
    background: var(--surface-raised);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.header-search:focus-within {
    border-color: var(--accent-brand);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--surface);
}

.search-category {
    position: relative;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--border);
    flex-shrink: 0;
}

.search-category select {
    appearance: none;
    padding: 0 28px 0 14px;
    height: 42px;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    cursor: pointer;
    outline: none;
}

.search-caret {
    position: absolute;
    right: 10px;
    pointer-events: none;
    color: var(--ink-muted);
}

.header-search input[type="search"] {
    flex: 1;
    padding: 0 14px;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 14px;
    outline: none;
    min-width: 0;
    color: var(--ink);
}

.header-search input[type="search"]::placeholder { color: var(--ink-muted); }

.search-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--ink-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: color var(--transition);
}
.search-submit:hover { color: var(--accent-brand); }

.header-utilities {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-divider {
    width: 1px;
    height: 20px;
    background: var(--border);
    margin: 0 6px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border: none;
    background: none;
    cursor: pointer;
    justify-self: end;
}
.mobile-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
}

/* ── Mega Menu ── */
.mega-nav {
    height: var(--mega-h);
    background: var(--surface);
}

.mega-nav-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    gap: 0;
}

.mega-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    height: 100%;
}

.mega-item { position: relative; height: 100%; }

.mega-item:first-child .mega-trigger {
    padding-left: 0;
}

.mega-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-muted);
    transition: color var(--transition);
    white-space: nowrap;
}

.mega-trigger:hover,
.mega-item:hover .mega-trigger { color: var(--ink); }

.mega-chevron { opacity: 0.35; transition: transform var(--transition); }
.mega-item:hover .mega-chevron { transform: rotate(180deg); opacity: 0.6; }

.mega-panel {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 480px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s ease;
    z-index: 50;
}

.mega-item:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-panel-grid {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
}

.mega-panel-main h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.mega-subcats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.mega-subcats a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--ink-soft);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.mega-subcats a:hover {
    background: var(--accent-soft);
    color: var(--accent-brand);
}

.mega-view-all {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-brand);
}

.mega-aside-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.mega-mini-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: var(--radius-sm);
    margin-bottom: 6px;
    transition: background var(--transition);
}
.mega-mini-card:hover { background: var(--surface-raised); }

.mega-mini-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.mega-mini-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.mega-mini-info strong {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-mini-info span { font-size: 11px; color: var(--ink-muted); }

.mega-browse-all {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-brand);
    padding: 6px 14px;
    margin-left: auto;
    white-space: nowrap;
    border-radius: var(--radius-full);
    transition: background var(--transition);
}
.mega-browse-all:hover { background: var(--accent-soft); }

/* ── Product Cards ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
}

.product-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.product-card-thumb {
    position: relative;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.04) 100%);
}

.product-card-thumb-inner {
    width: 72%;
    height: 58%;
    background: rgba(255,255,255,0.2);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.product-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.95);
    color: var(--ink);
    backdrop-filter: blur(8px);
    z-index: 1;
}

.product-card-badge.featured { background: var(--accent-brand); color: #fff; }
.product-card-badge.bestseller { background: var(--warning); color: #fff; }
.product-card-badge.trending { background: var(--success); color: #fff; }
.product-card-badge.new { background: var(--accent); color: #fff; }

.product-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.product-card-cat {
    font-size: 11px;
    color: var(--ink-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.product-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.product-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.product-card-author {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}

.product-card-price {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
}

.product-card-rating .star { color: var(--warning); }

/* ── Hero ── */
.hero {
    position: relative;
    padding: 96px 0 80px;
    overflow: hidden;
    background: var(--surface);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.hero-glow-1 {
    width: 500px;
    height: 500px;
    top: -120px;
    left: 50%;
    transform: translateX(-60%);
    background: rgba(37, 99, 235, 0.12);
}
.hero-glow-2 {
    width: 400px;
    height: 400px;
    top: 40px;
    left: 50%;
    transform: translateX(-20%);
    background: rgba(124, 58, 237, 0.08);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-light) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-centered {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
}

.hero-label-dot {
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--success-soft);
}

.hero-title {
    font-size: clamp(36px, 5.5vw, 58px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    color: var(--ink);
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 18px;
    color: var(--ink-muted);
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 36px;
    font-weight: 500;
}

.hero-search {
    display: flex;
    align-items: center;
    max-width: 580px;
    margin: 0 auto 20px;
    height: 56px;
    padding: 6px 6px 6px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.hero-search:focus-within {
    border-color: var(--accent-brand);
    box-shadow: var(--shadow), 0 0 0 3px var(--accent-glow);
}

.hero-search-icon {
    color: var(--ink-muted);
    flex-shrink: 0;
    margin-right: 12px;
}

.hero-search input[type="search"] {
    flex: 1;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    min-width: 0;
    color: var(--ink);
}

.hero-search input[type="search"]::placeholder { color: var(--ink-muted); }

.hero-search .btn { height: 44px; padding: 0 24px; flex-shrink: 0; }

.hero-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.hero-tags-label {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}

.hero-tag {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--surface-raised);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.hero-tag:hover {
    border-color: var(--border);
    background: var(--surface);
    color: var(--ink);
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 16px 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xs);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px;
    gap: 2px;
}

.hero-stat strong {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--ink);
}

.hero-stat span {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--border);
}

/* ── Sections ── */
.section { padding: 80px 0; }
.section-tight { padding-top: 48px; }
.section-alt { background: var(--surface-alt); }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header-center p {
    max-width: 480px;
    margin-top: 8px;
}

.section-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--accent-brand);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--ink);
}

.section-header p {
    color: var(--ink-muted);
    font-size: 16px;
    font-weight: 500;
}

/* ── Category Grid ── */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    position: relative;
}

.category-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.category-card-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--ink);
}

.category-card-count {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}

.category-card-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--ink-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition);
}

.category-card:hover .category-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--accent-brand);
}

/* ── Product Detail Page ── */
.product-page {
    padding-bottom: 0;
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-muted);
    padding: 20px 0 0;
}

.product-breadcrumb a {
    color: var(--ink-muted);
    transition: color var(--transition);
}
.product-breadcrumb a:hover { color: var(--accent-brand); }
.product-breadcrumb svg { color: var(--border); flex-shrink: 0; }
.breadcrumb-current {
    color: var(--ink-soft);
    font-weight: 600;
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Product top header band */
.product-top {
    padding: 24px 0 32px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
}

.product-top-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.product-top-labels {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.product-category-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-brand);
    background: var(--accent-soft);
    border-radius: var(--radius-full);
}

.product-status-badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink);
    background: var(--surface-sunken);
    border-radius: var(--radius-full);
}

.product-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -1.2px;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 16px;
}

.product-stats-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.product-rating-block {
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-rating-stars {
    font-size: 14px;
    font-weight: 700;
    color: var(--warning);
}

.product-rating-count {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}

.product-stat-pill {
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--surface-raised);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
}

.product-byline {
    font-size: 14px;
    color: var(--ink-muted);
    font-weight: 500;
}

.product-byline a {
    color: var(--accent-brand);
    font-weight: 700;
}
.product-byline a:hover { text-decoration: underline; }

.product-top-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.product-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Main layout */
.product-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
    padding-bottom: 64px;
}

.product-main { min-width: 0; }

/* Gallery */
.product-gallery {
    margin-bottom: 24px;
}

.gallery-main {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-main-frame {
    width: 78%;
    height: 72%;
    background: rgba(255,255,255,0.12);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-main-ui {
    height: 28px;
    background: rgba(255,255,255,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gallery-main-content {
    flex: 1;
    background: rgba(255,255,255,0.08);
}

.gallery-toolbar {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    transition: all var(--transition);
}

.gallery-btn:hover {
    border-color: var(--ink-muted);
    color: var(--ink);
}

.gallery-btn-primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.gallery-btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.gallery-thumb {
    width: 88px;
    height: 60px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    opacity: 0.65;
    padding: 0;
}
.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--accent-brand);
    opacity: 1;
    box-shadow: var(--shadow-xs);
}

.product-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.product-tag {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    background: var(--surface-raised);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    color: var(--ink-soft);
    transition: color .15s ease, border-color .15s ease;
}

a.product-tag:hover {
    border-color: var(--accent-brand);
    color: var(--accent-brand);
}

/* Sidebar */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + var(--mega-h) + 20px);
}

.purchase-card,
.specs-card,
.author-card-pro {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xs);
}

.purchase-trust {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    background: var(--success-soft);
    border-radius: var(--radius-sm);
}

.purchase-trust svg { flex-shrink: 0; }

.license-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    padding: 4px;
    background: var(--surface-raised);
    border-radius: var(--radius-full);
}

.license-tab {
    flex: 1;
    padding: 9px 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    background: transparent;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-family: var(--font);
    color: var(--ink-muted);
    transition: all var(--transition);
}
.license-tab.active {
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow-xs);
}

.license-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
}

.license-price {
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--ink);
    line-height: 1;
}

.license-price-note {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
}

.license-desc {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 20px;
    line-height: 1.55;
    font-weight: 500;
}

.purchase-features {
    list-style: none;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.purchase-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
}

.purchase-card .btn { margin-bottom: 10px; }
.purchase-card .btn:last-of-type { margin-bottom: 0; }

.purchase-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
}

/* Shared feature check */
.feature-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--success-soft);
    color: var(--success);
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 800;
}
.feature-check::before { content: '✓'; }

.feature-list {
    list-style: none;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    line-height: 1.5;
}
.feature-list-compact li { padding: 5px 0; font-size: 13px; }

/* Specs card */
.specs-card-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 16px;
    color: var(--ink);
}

.specs-list { margin: 0; }

.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
}
.specs-row:last-child { border-bottom: none; }

.specs-row dt {
    color: var(--ink-muted);
    font-weight: 500;
}
.specs-row dd {
    color: var(--ink);
    font-weight: 700;
    text-align: right;
}

/* Author card pro */
.author-card-pro-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.author-avatar-lg {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.author-card-pro-header h4 {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.2px;
}
.author-card-pro-header h4 a:hover { color: var(--accent-brand); }
.author-card-pro-header p {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
    margin-top: 2px;
}

.author-card-pro-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.author-card-pro-stats div {
    text-align: center;
}
.author-card-pro-stats strong {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.3px;
}
.author-card-pro-stats span {
    font-size: 11px;
    color: var(--ink-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Product tabs */
.product-tabs-section {
    border-top: 1px solid var(--border-light);
    padding-top: 8px;
}

.tab-nav {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 32px;
    overflow-x: auto;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: -1px;
    white-space: nowrap;
}
.tab-btn.active {
    color: var(--ink);
    border-bottom-color: var(--accent-brand);
}
.tab-btn:hover { color: var(--ink); }

.tab-count {
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    background: var(--surface-sunken);
    border-radius: var(--radius-full);
    color: var(--ink-muted);
}
.tab-btn.active .tab-count {
    background: var(--accent-soft);
    color: var(--accent-brand);
}

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.tab-content-block p {
    color: var(--ink-soft);
    line-height: 1.75;
    font-weight: 500;
    margin-bottom: 14px;
}
.tab-lead {
    font-size: 16px !important;
    color: var(--ink) !important;
    font-weight: 600 !important;
}

.support-card {
    margin-top: 20px;
    padding: 20px;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}
.support-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.changelog-list { display: flex; flex-direction: column; gap: 20px; }

.changelog-item {
    padding: 20px;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.changelog-version {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.changelog-version strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.changelog-version time {
    font-size: 13px;
    color: var(--ink-muted);
    font-weight: 500;
}

/* Reviews */
.reviews-summary {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 32px;
    padding: 24px;
    background: var(--surface-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.reviews-score {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.reviews-score strong {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--ink);
    line-height: 1;
}
.reviews-score > span {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
}
.reviews-score-stars {
    color: var(--warning);
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 4px;
}
.reviews-score-count {
    font-size: 12px !important;
    margin-top: 4px;
}

.reviews-bars { display: flex; flex-direction: column; gap: 8px; justify-content: center; }

.review-bar-row {
    display: grid;
    grid-template-columns: 28px 1fr 36px;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-muted);
}

.review-bar {
    height: 6px;
    background: var(--surface-sunken);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.review-bar-fill {
    height: 100%;
    background: var(--warning);
    border-radius: var(--radius-full);
}

.review-list { display: flex; flex-direction: column; gap: 16px; }

.review-card {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 12px;
}

.review-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-sunken);
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    flex-shrink: 0;
}

.review-card-user strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}
.review-stars {
    display: block;
    color: var(--warning);
    font-size: 12px;
    margin-top: 2px;
}

.review-card-header time {
    font-size: 12px;
    color: var(--ink-muted);
    font-weight: 500;
    flex-shrink: 0;
}

.review-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.65;
    font-weight: 500;
}

/* Legacy review items (author dashboard) */
.review-item {
    padding: 20px;
    background: var(--surface-raised);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}
.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.review-author { font-weight: 700; font-size: 14px; }
.review-date { font-size: 12px; color: var(--ink-muted); }
.review-text { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ── Listing Page ── */
.listing-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    padding: 32px 0 64px;
}

.filters-sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--mega-h) + 24px);
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
    margin-bottom: 12px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--ink-soft);
    cursor: pointer;
}

.filter-option input { accent-color: var(--accent-brand); }

.listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.listing-header h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.listing-count { font-size: 14px; color: var(--ink-muted); }

.listing-sort select {
    padding: 8px 12px;
    font-family: var(--font);
    font-size: 13px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
}

/* ── Auth Pages ── */
.auth-page {
    min-height: calc(100vh - var(--header-h) - var(--mega-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: var(--surface-alt);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-sm);
}

.auth-card h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.6px;
    margin-bottom: 8px;
}

.auth-card .auth-sub {
    font-size: 14px;
    color: var(--ink-muted);
    margin-bottom: 28px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink-soft);
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font);
    font-size: 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus {
    border-color: var(--accent-brand);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--ink-muted);
}

.form-footer a { color: var(--accent-brand); font-weight: 600; }

.form-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    font-size: 12px;
    color: var(--ink-muted);
}
.form-divider::before,
.form-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ── Become Author ── */
.become-hero {
    padding: 96px 0 80px;
    text-align: center;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

.become-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(37,99,235,0.08), transparent);
    pointer-events: none;
}

.become-hero .container { position: relative; }

.become-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.become-hero p {
    font-size: 17px;
    color: var(--ink-muted);
    max-width: 520px;
    margin: 0 auto 32px;
    font-weight: 500;
    line-height: 1.65;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 64px 0;
}

.benefit-card {
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    text-align: left;
    transition: all var(--transition);
}

.benefit-card:hover {
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-soft);
    color: var(--accent-brand);
    font-size: 14px;
    font-weight: 800;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--ink-muted);
    line-height: 1.6;
    font-weight: 500;
}

.steps-section {
    padding: 64px 0;
    background: var(--surface-raised);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.step-card {
    text-align: center;
    padding: 24px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.step-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--ink-muted); }

/* ── Author Profile ── */
.profile-hero {
    padding: 48px 0;
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border-light);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
}

.profile-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 28px;
    flex-shrink: 0;
}

.profile-info h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.profile-info p { color: var(--ink-muted); font-size: 15px; margin-top: 4px; }

.profile-stats {
    display: flex;
    gap: 32px;
    margin-top: 16px;
}

.profile-stat {
    font-size: 14px;
    color: var(--ink-muted);
}
.profile-stat strong {
    display: block;
    font-size: 20px;
    color: var(--ink);
    font-weight: 800;
}

/* ── Dashboard ── */
.dash-header {
    height: 56px;
    background: var(--surface);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 50;
}

.dash-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 24px;
    max-width: 100%;
}

.dash-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dash-header-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 4px;
    background: var(--surface-raised);
    border-radius: 20px;
}

.dash-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

.dash-user-name { font-size: 13px; font-weight: 600; }

.dash-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: calc(100vh - 56px);
}

.dash-sidebar {
    background: var(--surface-raised);
    border-right: 1px solid var(--border-light);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
}

.dash-sidebar-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink-muted);
    padding: 0 12px;
    margin-bottom: 12px;
}

.dash-nav { flex: 1; }

.dash-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: var(--radius-sm);
    margin-bottom: 2px;
    transition: all var(--transition);
}

.dash-nav-item:hover { background: var(--surface-sunken); color: var(--ink); }
.dash-nav-item.active {
    background: var(--accent-soft);
    color: var(--accent-brand);
    font-weight: 600;
}

.dash-nav-icon { font-size: 14px; opacity: 0.6; width: 20px; text-align: center; }
.dash-nav-item.active .dash-nav-icon { opacity: 1; }

.dash-sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin-top: 16px;
}

.dash-main {
    padding: 32px 40px;
    background: var(--surface);
    overflow-y: auto;
}

.dash-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.dash-page-header h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.dash-subheading {
    font-size: 14px;
    color: var(--ink-muted);
    margin-top: 4px;
}

/* Dashboard Cards */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.dash-stat-card {
    padding: 20px;
    background: var(--surface-raised);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
}

.dash-stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--ink-muted);
    margin-bottom: 8px;
}

.dash-stat-value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
}

.dash-stat-change {
    font-size: 12px;
    margin-top: 4px;
    font-weight: 600;
}
.dash-stat-change.up { color: var(--success); }
.dash-stat-change.down { color: var(--danger); }

/* Tables */
.dash-table-wrap {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* Item links in dashboard tables keep the cell's colour; underline on hover only. */
.dash-table a.dash-item-link:hover { text-decoration: underline; }

.dash-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--ink-muted);
    background: var(--surface-raised);
    border-bottom: 1px solid var(--border-light);
}

.dash-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    color: var(--ink-soft);
}

.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--surface-raised); }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.active { background: var(--success-soft); color: var(--success); }
.status-badge.pending { background: var(--warning-soft); color: var(--warning); }
.status-badge.rejected { background: #fef2f2; color: var(--danger); }
.status-badge.draft { background: var(--surface-sunken); color: var(--ink-muted); }

/* Upload Form */
.upload-zones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.upload-zone:hover {
    border-color: var(--accent-brand);
    background: var(--accent-soft);
}

.upload-zone-icon { font-size: 32px; margin-bottom: 12px; opacity: 0.4; }
.upload-zone h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.upload-zone p { font-size: 12px; color: var(--ink-muted); }

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.form-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

textarea.form-input {
    min-height: 120px;
    resize: vertical;
}

/* ── Footer ── */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo-text { color: #fff; }
.footer-tagline {
    font-size: 14px;
    margin-top: 12px;
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h5 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    padding: 4px 0;
    transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

/* ── CTA Section ── */
.cta-section { padding: 48px 0 80px; }

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 48px 56px;
    background: var(--accent);
    border-radius: var(--radius-xl);
    color: #fff;
}

.cta-panel h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.8px;
    margin-bottom: 10px;
}

.cta-panel p {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 440px;
    font-weight: 500;
}

.cta-panel-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cta-panel .btn-primary {
    background: #fff;
    color: var(--accent);
    border-color: #fff;
}
.cta-panel .btn-primary:hover {
    background: var(--surface-raised);
    border-color: var(--surface-raised);
}

.cta-panel .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
    background: transparent;
}
.cta-panel .btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .header-grid {
        grid-template-columns: auto 1fr auto;
    }
    .header-search { display: none; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .product-layout { grid-template-columns: 1fr; gap: 32px; }
    .product-sidebar { position: static; }
    .product-top-inner { flex-direction: column; }
    .product-top-actions { width: 100%; }
    .reviews-summary { grid-template-columns: 1fr; text-align: center; }
    .listing-layout { grid-template-columns: 1fr; }
    .filters-sidebar { position: static; }
    .dash-shell { grid-template-columns: 1fr; }
    .dash-sidebar { display: none; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-panel { flex-direction: column; text-align: center; padding: 40px 32px; }
    .cta-panel-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .header-grid {
        grid-template-columns: 1fr auto;
    }
    .header-utilities { display: none; }
    .mobile-toggle { display: flex; }
    .mega-nav { display: none; }
    .product-title { font-size: 26px; }
    .product-stats-row { gap: 6px; }
    .gallery-thumbs { overflow-x: auto; padding-bottom: 4px; }
    .tab-nav { gap: 0; }
    .tab-btn { padding: 12px 14px; font-size: 13px; }
    .hero { padding: 64px 0 56px; }
    .hero-title { letter-spacing: -1px; }
    .hero-stats { flex-wrap: wrap; border-radius: var(--radius-lg); padding: 16px; }
    .hero-stat-divider { display: none; }
    .hero-stat { padding: 8px 16px; }
    .product-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .dash-main { padding: 24px 16px; }
    .dash-stats { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .upload-zones { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta-panel-actions { flex-direction: column; width: 100%; }
    .cta-panel-actions .btn { width: 100%; }
}
