/**
 * AngelYazılım — Dijital Atölye
 * Yaratıcı & Profesyonel Dijital Marketplace
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --ink: #0f172a;
    --ink-soft: #1e293b;
    --ink-muted: #64748b;
    --ink-light: #94a3b8;
    --amber: #f59e0b;
    --amber-dark: #d97706;
    --amber-soft: #fef3c7;
    --surface: #f8fafc;
    --surface-elevated: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    --error: #ef4444;
    --font: 'Plus Jakarta Sans', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 1px 3px rgba(15,23,42,0.06);
    --shadow-lg: 0 20px 40px -15px rgba(15,23,42,0.15);
}

*, *::before, *::after { box-sizing: border-box; }
* { font-family: var(--font); -webkit-font-smoothing: antialiased; }

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
}

::selection { background: var(--amber-soft); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ===== LAYOUT ===== */
.page-wrap { min-height: calc(100vh - 200px); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 10px 0;
}
.top-bar a { color: rgba(255,255,255,0.8); text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar-main {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar-main.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.98);
}
.navbar-main .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 24px; }
.navbar-main .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--ink) !important;
    text-decoration: none;
    display: flex; align-items: center; gap: 8px;
}
.navbar-main .navbar-brand .logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
}
.navbar-main .nav-links { display: flex; align-items: center; gap: 8px; }
.navbar-main .nav-link {
    color: var(--ink-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 10px 16px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.navbar-main .nav-link:hover { color: var(--ink); background: var(--surface); }

.nav-search {
    position: relative;
    width: 240px;
}
.nav-search input {
    width: 100%;
    padding: 10px 44px 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    background: var(--surface);
    transition: border-color 0.2s;
}
.nav-search input:focus { outline: none; border-color: var(--amber); }
.nav-search .search-btn {
    position: absolute;
    right: 6px; top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    background: var(--amber);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.nav-search .search-btn:hover { background: var(--amber-dark); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.cart-btn {
    position: relative;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-muted);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.2s;
}
.cart-btn:hover { color: var(--ink); background: var(--surface); }
.cart-btn .badge {
    position: absolute;
    top: 6px; right: 6px;
    min-width: 18px; height: 18px;
    background: var(--amber);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
}

.user-menu .user-btn {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
}
.user-menu .user-btn:hover { background: var(--border); }
.user-menu .user-avatar {
    width: 32px; height: 32px;
    border-radius: 8px;
    object-fit: cover;
}
.user-menu .user-initial {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: #fff;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}
.user-menu .dropdown-menu {
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
}
.user-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--ink);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: background 0.2s;
}
.user-menu .dropdown-item:hover { background: var(--surface); }
.user-menu .dropdown-item.logout { color: var(--amber-dark); }

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(245,158,11,0.35); }

/* Mobile nav */
.navbar-toggler {
    display: none;
    width: 44px; height: 44px;
    background: none;
    border: none;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 991px) {
    .navbar-toggler { display: flex; align-items: center; justify-content: center; }
    .nav-links { display: none !important; }
    .nav-links.show { display: flex !important; flex-direction: column; width: 100%; }
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #fff;
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(245,158,11,0.2) 0%, rgba(139,92,246,0.15) 40%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(245,158,11,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139,92,246,0.1) 0%, transparent 50%);
    pointer-events: none;
    animation: heroShimmer 12s ease-in-out infinite;
}
@keyframes heroGlow {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) translateY(-20px) scale(1.1); }
}
@keyframes heroShimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero .hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 32px;
    letter-spacing: 0.05em;
    animation: fadeInUp 0.8s ease-out;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    max-width: 900px;
    margin: 0 auto 28px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}
.hero h1 span.hl {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #fcd34d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}
.hero h1 span.hl::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #f59e0b, transparent);
    opacity: 0.5;
    animation: underlineGlow 2s ease-in-out infinite;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes underlineGlow {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 0.6; transform: scaleX(1); }
}
.hero .hero-desc {
    font-size: clamp(1rem, 2vw, 1.375rem);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-search {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}
.hero-search input {
    width: 100%;
    padding: 20px 150px 20px 28px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    font-size: 1.0625rem;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    color: var(--ink);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}
.hero-search input:focus {
    outline: none;
    border-color: var(--amber);
    box-shadow: 0 8px 32px rgba(245,158,11,0.2);
    transform: translateY(-2px);
}
.hero-search input::placeholder { color: var(--ink-light); }
.hero-search .btn-search {
    position: absolute;
    right: 8px; top: 50%;
    transform: translateY(-50%);
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245,158,11,0.3);
    transition: all 0.3s ease;
}
.hero-search .btn-search:hover {
    background: linear-gradient(135deg, var(--amber-dark), #b45309);
    transform: translateY(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(245,158,11,0.4);
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}
.hero-tags a {
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.95);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}
.hero-tags a:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin-top: 64px;
    animation: fadeInUp 0.8s ease-out 1s both;
}
.hero-stats > div {
    position: relative;
    padding: 0 24px;
}
.hero-stats > div::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}
.hero-stats > div:last-child::after { display: none; }
.hero-stats .stat-num {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    display: block;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}
.hero-stats .stat-label {
    font-size: 0.875rem;
    opacity: 0.75;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
    position: relative;
}
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-desc {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--ink-muted);
    margin-bottom: 48px;
    line-height: 1.7;
    max-width: 600px;
}
.section-badge {
    display: inline-block;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--amber-soft), #fef9c3);
    color: var(--amber-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(245,158,11,0.15);
}

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.product-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(245,158,11,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(15,23,42,0.25), 0 0 0 1px rgba(245,158,11,0.1);
    border-color: transparent;
}
.product-card:hover::before {
    opacity: 1;
}
.product-card .thumb {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: var(--surface);
}
.product-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .thumb img {
    transform: scale(1.1);
}
.product-card .thumb .badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 6px 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
}
.product-card .thumb .price {
    position: absolute;
    top: 12px; right: 12px;
    padding: 6px 14px;
    background: var(--amber);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    border-radius: 8px;
}
.product-card .thumb .price.free { background: var(--success); }
.product-card .thumb .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
}
.product-card:hover .thumb .overlay {
    opacity: 1;
}
.product-card .thumb .overlay .actions {
    display: flex;
    gap: 10px;
    width: 100%;
    animation: slideUp 0.4s ease-out 0.1s both;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.product-card .thumb .overlay .actions a {
    flex: 1;
    padding: 14px 16px;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    color: var(--ink);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.product-card .thumb .overlay .actions a:hover {
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245,158,11,0.4);
}
.product-card .body { padding: 20px; }
.product-card .body h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.4;
}
.product-card .body h3 a { color: var(--ink); text-decoration: none; }
.product-card .body h3 a:hover { color: var(--amber-dark); }
.product-card .body .meta {
    font-size: 0.8125rem;
    color: var(--ink-muted);
}

/* Legacy card compatibility */
.card.asset-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all 0.3s;
}
.card.asset-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.card.asset-card .card-img-top { height: 200px; object-fit: cover; }
.card.asset-card .card-body { padding: 20px; }
.card.asset-card .card-title { font-weight: 700; font-size: 1rem; }
.card.asset-card .card-title a { color: var(--ink); text-decoration: none; }
.card.asset-card .card-title a:hover { color: var(--amber-dark); }
.placeholder-img { background: var(--surface); color: var(--ink-muted); display: flex; align-items: center; justify-content: center; }

/* Category cards */
.cat-card {
    display: block;
    height: 200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform 0.3s;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card .cat-bg {
    position: absolute;
    inset: 0;
    transition: transform 0.4s;
}
.cat-card:hover .cat-bg { transform: scale(1.05); }
.cat-card .cat-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
}
.cat-card .cat-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    color: #fff;
    z-index: 2;
}
.cat-card .cat-content .icon {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.95);
    color: var(--amber-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.cat-card .cat-content h4 { font-size: 1.125rem; margin: 0 0 4px; font-weight: 700; }
.cat-card .cat-content span { font-size: 0.875rem; opacity: 0.9; }

/* ===== CATEGORY BAR ===== */
.cat-bar {
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cat-bar-inner {
    display: flex;
    gap: 0;
    padding: 0 24px;
}
.cat-bar a {
    padding: 16px 20px;
    color: var(--ink-muted);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}
.cat-bar a:hover, .cat-bar a.active { color: var(--amber-dark); border-bottom-color: var(--amber); }

/* ===== BUTTONS ===== */
.btn-primary { background: var(--amber) !important; border-color: var(--amber) !important; color: #fff !important; font-weight: 600; border-radius: var(--radius); }
.btn-primary:hover { background: var(--amber-dark) !important; border-color: var(--amber-dark) !important; }
.btn-outline-primary { border-color: var(--amber); color: var(--amber); font-weight: 600; border-radius: var(--radius); }
.btn-outline-primary:hover { background: var(--amber-soft); border-color: var(--amber); color: var(--amber-dark); }
.btn-success { background: var(--success) !important; border-color: var(--success) !important; }

/* ===== FOOTER ===== */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}
.footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer .brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer .brand .logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
.footer p { font-size: 0.9375rem; line-height: 1.7; max-width: 320px; }
.footer h6 {
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer a {
    display: block;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.9375rem;
    padding: 4px 0;
    transition: color 0.2s;
}
.footer a:hover { color: #fff; }
.footer .socials { display: flex; gap: 12px; margin-top: 20px; }
.footer .socials a {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
}
.footer .socials a:hover { background: var(--amber); color: #fff; }
.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-bottom small { opacity: 0.6; font-size: 0.875rem; }

/* ===== PAGE HEADERS ===== */
.page-header {
    padding: 48px 0 32px;
    background: var(--surface-elevated);
    border-bottom: 1px solid var(--border);
}
.page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}
.page-header .breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 0.9375rem;
    color: var(--ink-muted);
}
.page-header .breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.page-header .breadcrumb a:hover { color: var(--amber-dark); }

/* ===== FORMS ===== */
.form-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px;
    margin: 0 auto;
    border: 1px solid var(--border);
}
.form-card .icon-wrap {
    width: 64px;
    height: 64px;
    background: var(--amber-soft);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--amber-dark);
    font-size: 2rem;
}
.form-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.form-card .form-label { font-weight: 600; font-size: 0.9375rem; }
.form-control {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 12px 16px;
}
.form-control:focus { border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-soft); }

/* ===== TABLES ===== */
.table-card {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}
.table-card table { margin: 0; }
.table-card th {
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-muted);
    padding: 16px 24px;
    background: var(--surface);
}
.table-card td { padding: 20px 24px; }

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 80px 24px;
}
.empty-state .icon {
    font-size: 4rem;
    color: var(--border);
    margin-bottom: 24px;
}
.empty-state h3 { font-size: 1.25rem; margin-bottom: 8px; }
.empty-state p { color: var(--ink-muted); margin-bottom: 24px; }

/* ===== CHIPS & PAGINATION ===== */
.chip-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    padding: 10px 18px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink-muted);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s;
}
.chip:hover, .chip.active {
    background: var(--amber);
    border-color: var(--amber);
    color: #fff;
}
.pagination .page-link { border-radius: var(--radius) !important; }
.pagination .page-item.active .page-link { background: var(--amber); border-color: var(--amber); }

/* ===== BREADCRUMB ===== */
.breadcrumb { --bs-breadcrumb-divider: '›'; font-size: 0.9375rem; }
.breadcrumb-item a { color: var(--ink-muted); }
.breadcrumb-item a:hover { color: var(--amber-dark); }

/* ===== ALERTS ===== */
.alert { border-radius: var(--radius); }

/* ===== DETAIL PAGE ===== */
.detail-hero {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
}
.detail-sidebar {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 1px solid var(--border);
}
.detail-price { font-size: 1.75rem; font-weight: 800; color: var(--amber); }

/* ===== CART ===== */
.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 16px;
}
.cart-item .thumb {
    width: 80px; height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-summary {
    background: var(--surface-elevated);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
}

/* ===== SCROLL ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal animations - will be triggered by JS */
.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .footer .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero { padding: 80px 0 100px; }
    .section { padding: 80px 0; }
    .hero-stats { gap: 40px; }
    .hero-stats > div::after { display: none; }
}
@media (max-width: 575px) {
    .footer .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer p { max-width: none; }
    .footer .socials { justify-content: center; }
    .hero-stats {
        flex-direction: column;
        gap: 32px;
        margin-top: 48px;
    }
    .hero-stats > div {
        padding: 0;
        width: 100%;
    }
    .hero-stats > div::after {
        display: block;
        right: auto;
        bottom: -16px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 1px;
    }
    .hero-stats > div:last-child::after { display: none; }
    .hero-search input { padding: 18px 120px 18px 20px; font-size: 1rem; }
    .hero-search .btn-search { padding: 12px 20px; font-size: 0.875rem; }
}
