/* ============ RESET & BASE ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131a;
    --bg-card: #1a1a24;
    --bg-elevated: #22222e;
    --gold: #D4AF37;
    --gold-bright: #F4D06F;
    --gold-dark: #9B7E1F;
    --text-primary: #ffffff;
    --text-secondary: #b8b8c4;
    --text-muted: #6b6b78;
    --accent: #8B5CF6;
    --success: #10B981;
    --error: #EF4444;
    --border: rgba(212, 175, 55, 0.15);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

img {
    max-width: 100%;
    display: block;
}

/* ============ HEADER ============ */
.navbar {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.6));
}

.logo-text {
    color: var(--text-primary);
}

.logo-accent {
    color: var(--gold);
}

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

.main-nav a {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.main-nav a:hover {
    color: var(--gold);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s;
}

.main-nav a:hover::after {
    width: 100%;
}

.admin-link {
    color: var(--gold) !important;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-btn:hover {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.btn-login, .btn-register {
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-login {
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-login:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-register {
    background: var(--gold);
    color: var(--bg-primary);
    font-weight: 700;
}

.btn-register:hover {
    background: var(--gold-bright);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.user-menu {
    position: relative;
    cursor: pointer;
    padding: 8px 14px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.user-name {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 14px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: var(--bg-elevated);
    border-radius: 8px;
    min-width: 180px;
    box-shadow: var(--shadow);
    padding: 8px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-dropdown a:hover {
    background: var(--bg-card);
    color: var(--gold);
}

/* ============ ALERTS ============ */
.alert {
    padding: 14px 24px;
    margin: 16px auto;
    max-width: 600px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
    transition: opacity 0.3s;
    border: 1px solid;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.3);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.3);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.hero-eyebrow {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

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

.hero p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============ SECTIONS ============ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
}

.gold-text {
    color: var(--gold);
}

/* ============ CATEGORIES ============ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

.category-icon {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
}

.category-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ============ PRODUCTS GRID ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

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

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--bg-primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
}

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

.product-brand {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.product-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
    min-height: 44px;
}

.product-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 16px;
    margin-top: auto;
}

.product-price .currency {
    font-size: 16px;
    margin-right: 4px;
    opacity: 0.7;
}

.product-actions {
    display: flex;
    gap: 8px;
}

.btn-view {
    flex: 1;
    padding: 10px;
    background: var(--bg-elevated);
    color: var(--text-primary);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.btn-view:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-add-cart {
    padding: 10px 16px;
    background: var(--gold);
    color: var(--bg-primary);
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-add-cart:hover {
    background: var(--gold-bright);
}

/* ============ FEATURES ============ */
.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ============ FILTERS ============ */
.page-header {
    background: var(--bg-secondary);
    padding: 60px 0 40px;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 16px;
}

.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 32px 0;
    align-items: center;
}

.filter-chip {
    padding: 8px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-chip:hover, .filter-chip.active {
    background: var(--gold);
    color: var(--bg-primary);
    border-color: var(--gold);
}

.search-box {
    flex: 1;
    min-width: 240px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: inherit;
}

.search-box input:focus {
    outline: none;
    border-color: var(--gold);
}

.search-box::before {
    content: '🔍';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* ============ PRODUCT DETAILS ============ */
.product-details {
    padding: 60px 0;
}

.product-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.product-details-image {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-details-info .breadcrumb {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.product-details-info .breadcrumb a {
    color: var(--gold);
}

.product-details-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
}

.product-details-info .brand {
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-details-info .price {
    font-size: 42px;
    font-weight: 900;
    color: var(--gold);
    margin: 24px 0;
}

.product-details-info .description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 32px;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.stock-badge.low {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border-color: rgba(239, 68, 68, 0.3);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.quantity-selector label {
    font-weight: 600;
}

.quantity-input {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.quantity-input button {
    width: 40px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
}

.quantity-input button:hover {
    background: var(--bg-elevated);
    color: var(--gold);
}

.quantity-input input {
    width: 60px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}

.btn-buy {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212, 175, 55, 0.5);
}

/* ============ CART ============ */
.cart-page {
    padding: 60px 0;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
}

.cart-items {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-elevated);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.cart-item-info .price-each {
    color: var(--text-muted);
    font-size: 14px;
}

.cart-item-subtotal {
    font-size: 18px;
    font-weight: 800;
    color: var(--gold);
    min-width: 100px;
    text-align: left;
}

.btn-remove {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--error);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary h2 {
    font-size: 22px;
    margin-bottom: 24px;
    font-family: 'Playfair Display', serif;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--text-secondary);
}

.summary-row.total {
    border-top: 1px solid var(--border);
    margin-top: 12px;
    padding-top: 20px;
    color: var(--text-primary);
    font-size: 22px;
    font-weight: 900;
}

.summary-row.total .amount {
    color: var(--gold);
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 80px;
    margin-bottom: 24px;
    opacity: 0.4;
}

.empty-cart h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* ============ AUTH (Login/Register) ============ */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
}

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

.auth-card .logo {
    justify-content: center;
    margin-bottom: 24px;
}

.auth-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
    color: var(--bg-primary);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.4);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-switch a {
    color: var(--gold);
    font-weight: 600;
}

.demo-credentials {
    background: var(--bg-elevated);
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px dashed var(--border);
}

.demo-credentials strong {
    color: var(--gold);
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ============ ADMIN PANEL ============ */
.admin-page {
    padding: 40px 0;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 900;
    color: var(--gold);
}

.admin-table {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--bg-elevated);
    padding: 16px;
    text-align: right;
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border);
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover {
    background: var(--bg-elevated);
}

.admin-table .product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.btn-edit, .btn-delete {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-edit {
    background: var(--accent);
    color: white;
}

.btn-delete {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    background: var(--error);
    color: white;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
    overflow-x: auto;
}

.admin-tabs a {
    padding: 12px 20px;
    color: var(--text-secondary);
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.admin-tabs a:hover, .admin-tabs a.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    color: var(--text-primary);
}

/* ============ FOOTER ============ */
.site-footer {
    background: #050508;
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 14px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

/* ============ ORDER CONFIRMATION ============ */
.confirmation-page {
    padding: 80px 0;
    text-align: center;
}

.confirmation-icon {
    width: 100px;
    height: 100px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    font-size: 48px;
    color: var(--success);
}

.confirmation-page h1 {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    margin-bottom: 16px;
}

.confirmation-page p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
}

.order-summary {
    max-width: 560px;
    margin: 0 auto 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: right;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .product-details-grid {
        grid-template-columns: 1fr;
    }
    .cart-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .nav-container {
        gap: 16px;
    }
    .hero {
        padding: 80px 0 60px;
    }
    section {
        padding: 60px 0;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .btn-login {
        display: none;
    }
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }
    .cart-item-subtotal, .btn-remove {
        grid-column: 2;
    }
    .user-name {
        font-size: 13px;
    }
}
