/* ============================================
   BHC Tesettür - Complete Stylesheet
   Colors: #2b1f1a #8b5a4a #c08a6e #f3e9e0 #b24545 #ece2d9 #6b5d55
   ============================================ */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: #2b1f1a; background: #faf6f3; line-height: 1.7;
    min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #8b5a4a; text-decoration: none; transition: color .2s; }
a:hover { color: #2b1f1a; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ----- TYPOGRAPHY ----- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600; color: #2b1f1a; line-height: 1.3;
}
.section-title {
    text-align: center; font-size: 2rem; margin-bottom: 2rem;
    position: relative; padding-bottom: 1rem;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; background: #c08a6e; border-radius: 2px;
}
.section-title .highlight { color: #8b5a4a; }
.text-center { text-align: center; }
.text-muted { color: #6b5d55; }
.text-mono { font-family: 'Courier New', monospace; font-size: .85rem; }
.text-nowrap { white-space: nowrap; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.d-inline { display: inline; }

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .75rem 1.75rem; font-size: .9rem; font-weight: 500;
    border: 2px solid transparent; border-radius: 8px; cursor: pointer;
    transition: all .25s; font-family: 'Inter', sans-serif;
    white-space: nowrap; text-decoration: none;
}
.btn-primary {
    background: #8b5a4a; color: #fff; border-color: #8b5a4a;
}
.btn-primary:hover { background: #2b1f1a; border-color: #2b1f1a; color: #fff; }
.btn-outline {
    background: transparent; color: #8b5a4a; border-color: #8b5a4a;
}
.btn-outline:hover { background: #8b5a4a; color: #fff; }
.btn-danger { background: #b24545; color: #fff; border-color: #b24545; }
.btn-danger:hover { background: #8a2e2e; }
.btn-sm { padding: .4rem .9rem; font-size: .8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* ----- FORMS ----- */
.form-group { margin-bottom: 1rem; flex: 1; }
.form-group label { display: block; font-weight: 500; margin-bottom: .4rem; color: #2b1f1a; font-size: .9rem; }
.form-input {
    width: 100%; padding: .7rem 1rem; border: 2px solid #ece2d9;
    border-radius: 8px; font-size: .9rem; font-family: 'Inter', sans-serif;
    transition: border-color .2s; background: #fff; color: #2b1f1a;
}
.form-input:focus { outline: none; border-color: #c08a6e; }
textarea.form-input { resize: vertical; min-height: 60px; }
select.form-input { cursor: pointer; }
.form-row {
    display: flex; gap: 1rem; flex-wrap: wrap;
}
.filter-form .form-group { margin-bottom: 0; }
.checkbox-row {
    gap: 1.5rem; padding: .5rem 0;
}
.checkbox-label {
    display: flex; align-items: center; gap: .5rem;
    cursor: pointer; font-size: .9rem;
}
.checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: #8b5a4a; cursor: pointer;
}
.checkbox-inline {
    display: inline-flex; margin-bottom: .3rem;
}
.checkbox-grid {
    display: flex; flex-wrap: wrap; gap: .3rem 1rem;
    padding: .5rem 0; max-height: 200px; overflow-y: auto;
}

/* ----- ALERTS ----- */
.alert {
    padding: 1rem 1.5rem; border-radius: 8px; margin-bottom: 1.5rem;
    border-left: 4px solid; font-size: .9rem;
}
.alert-success { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; }
.alert-danger { background: #fce4ec; border-color: #b24545; color: #8a2e2e; }
.alert-info { background: #e3f2fd; border-color: #2196f3; color: #1565c0; }
.alert-danger ul, .alert-success ul { margin-left: 1rem; }

/* ----- HEADER ----- */
.site-header {
    background: #2b1f1a; position: sticky; top: 0; z-index: 100;
}
.header-top {
    background: #8b5a4a; text-align: center; padding: .4rem 0;
}
.header-tagline {
    color: #f3e9e0; font-size: .8rem; font-weight: 300; letter-spacing: 2px;
    text-transform: uppercase;
}
.header-main { padding: .8rem 0; }
.header-row { display: flex; align-items: center; justify-content: space-between; }
.logo { text-decoration: none; }
.logo-text {
    font-family: 'Playfair Display', serif; font-size: 1.6rem;
    color: #f3e9e0; font-weight: 600; letter-spacing: 1px;
}
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
    color: #c08a6e; font-size: .9rem; font-weight: 400;
    transition: color .2s; position: relative; text-decoration: none;
}
.nav-link:hover { color: #f3e9e0; }
.cart-link { position: relative; }
.cart-count {
    position: absolute; top: -10px; right: -12px; background: #b24545;
    color: #fff; font-size: 11px; min-width: 20px; height: 20px;
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 600;
}
.mobile-menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 5px;
}
.mobile-menu-toggle span {
    display: block; width: 25px; height: 2px; background: #f3e9e0;
    transition: all .3s; border-radius: 2px;
}

/* ----- HERO ----- */
.hero {
    background: linear-gradient(135deg, #2b1f1a 0%, #8b5a4a 100%);
    padding: 6rem 0; text-align: center; position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 1; }
.hero-title {
    font-family: 'Playfair Display', serif; font-size: 3.2rem; color: #f3e9e0;
    margin-bottom: 1rem; line-height: 1.2;
}
.hero-subtitle {
    font-size: 1.1rem; color: #c08a6e; max-width: 500px;
    margin: 0 auto 2rem; font-weight: 300;
}

/* ----- SECTIONS ----- */
.categories-section, .campaign-section, .featured-section, .deals-section, .features-section {
    padding: 4rem 0;
}
.categories-section { background: #fff; }
.categories-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}
.category-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 2rem 1rem; background: #f3e9e0; border-radius: 12px;
    text-decoration: none; transition: all .3s; text-align: center;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,.1); }
.category-icon {
    width: 60px; height: 60px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; font-size: 1.5rem; color: #8b5a4a;
}
.category-card h3 { font-size: 1.1rem; margin-bottom: .5rem; color: #2b1f1a; }
.category-link { font-size: .85rem; color: #8b5a4a; font-weight: 500; }
.category-link i { transition: transform .2s; }
.category-card:hover .category-link i { transform: translateX(3px); }

/* ----- PRODUCT CARDS ----- */
.product-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.product-card {
    background: #fff; border-radius: 12px; overflow: hidden;
    transition: all .3s; position: relative; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.product-badge {
    position: absolute; top: 10px; z-index: 2; padding: .3rem .7rem;
    border-radius: 4px; font-size: .75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .5px;
}
.badge-campaign { left: 10px; background: #8b5a4a; color: #fff; }
.badge-discount { right: 10px; background: #b24545; color: #fff; }
.badge-deal { left: 10px; background: #2b1f1a; color: #f3e9e0; }
.product-image { display: block; overflow: hidden; aspect-ratio: 3/4; }
.product-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s;
}
.product-card:hover .product-image img { transform: scale(1.05); }
.product-info { padding: 1.2rem; }
.product-category { font-size: .75rem; color: #6b5d55; text-transform: uppercase; letter-spacing: 1px; }
.product-name {
    display: block; font-weight: 600; font-size: .95rem; margin: .3rem 0;
    color: #2b1f1a; font-family: 'Inter', sans-serif;
}
.product-name:hover { color: #8b5a4a; }
.product-price { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.price-old { font-size: .85rem; color: #6b5d55; text-decoration: line-through; }
.price-current { font-size: 1.1rem; font-weight: 700; color: #8b5a4a; }
.price-lg { font-size: 1.5rem; }

/* ----- FEATURES ----- */
.features-section { background: #fff; }
.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; text-align: center;
}
.feature-item i { font-size: 2.2rem; color: #c08a6e; margin-bottom: 1rem; }
.feature-item h4 { margin-bottom: .5rem; }
.feature-item p { font-size: .9rem; color: #6b5d55; }

/* ----- PAGE BANNER ----- */
.page-banner {
    background: linear-gradient(135deg, #8b5a4a, #2b1f1a);
    padding: 3rem 0; text-align: center; color: #f3e9e0;
}
.page-banner h1 { color: #f3e9e0; font-size: 2.2rem; }
.page-banner p { color: #c08a6e; margin-top: .3rem; }

/* ----- LAYOUT ----- */
.page-with-sidebar { display: flex; gap: 2rem; padding-top: 2rem; padding-bottom: 3rem; }
.sidebar { width: 260px; flex-shrink: 0; }
.main-content-area { flex: 1; min-width: 0; }
.sidebar-widget { background: #fff; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-widget h3 {
    font-size: 1rem; margin-bottom: 1rem; padding-bottom: .5rem;
    border-bottom: 2px solid #ece2d9;
}
.search-form { display: flex; gap: .5rem; }
.search-form .form-input { flex: 1; }
.search-form .btn { padding: .7rem 1rem; }
.category-list li { margin-bottom: .3rem; }
.category-list a {
    display: block; padding: .5rem .8rem; border-radius: 6px;
    font-size: .9rem; transition: all .2s; color: #2b1f1a;
}
.category-list a:hover, .category-list a.active { background: #f3e9e0; color: #8b5a4a; font-weight: 500; }

/* ----- FILTER TABS ----- */
.filter-tabs {
    display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.filter-tab {
    padding: .5rem 1.2rem; border-radius: 20px; font-size: .85rem;
    border: 2px solid #ece2d9; transition: all .2s;
    background: #fff; color: #6b5d55; cursor: pointer; text-decoration: none;
}
.filter-tab:hover, .filter-tab.active { background: #8b5a4a; border-color: #8b5a4a; color: #fff; }

/* ----- PAGINATION ----- */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-link {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 8px; font-size: .9rem;
    border: 2px solid #ece2d9; transition: all .2s; color: #2b1f1a; text-decoration: none;
}
.page-link:hover, .page-link.active { background: #8b5a4a; border-color: #8b5a4a; color: #fff; }

/* ----- EMPTY STATE ----- */
.empty-state {
    text-align: center; padding: 4rem 2rem; color: #6b5d55;
}
.empty-state i { font-size: 3rem; color: #c08a6e; margin-bottom: 1rem; }
.empty-state h3 { margin-bottom: .5rem; }

/* ----- PRODUCT DETAIL ----- */
.breadcrumb { padding: 1rem 0; font-size: .85rem; color: #6b5d55; }
.breadcrumb a { color: #8b5a4a; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem 0; }
.product-gallery { position: sticky; top: 100px; align-self: start; }
.product-main-image {
    border-radius: 12px; overflow: hidden; background: #fff;
    aspect-ratio: 3/4; margin-bottom: 1rem;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbnails { display: flex; gap: .5rem; }
.product-thumbnails img {
    width: 70px; height: 70px; object-fit: cover; border-radius: 8px;
    cursor: pointer; border: 2px solid transparent; transition: border-color .2s;
}
.product-thumbnails img:hover { border-color: #c08a6e; }
.product-detail-info { padding-top: 1rem; }
.product-detail-title { font-size: 1.8rem; margin-bottom: .5rem; }
.product-category-label { color: #6b5d55; font-size: .9rem; }
.product-sku { color: #6b5d55; font-size: .85rem; margin-bottom: 1rem; }
.product-detail-price { margin: 1.5rem 0; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.discount-badge-lg {
    background: #b24545; color: #fff; padding: .3rem .7rem;
    border-radius: 4px; font-size: .8rem; font-weight: 700;
}
.product-description { margin: 1.5rem 0; }
.product-description h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.product-description p { color: #6b5d55; font-size: .95rem; line-height: 1.8; }
.color-options, .size-options { display: flex; gap: .5rem; flex-wrap: wrap; }
.color-option, .size-option { cursor: pointer; }
.color-option input, .size-option input { display: none; }
.color-swatch {
    display: inline-block; width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid transparent; transition: all .2s; cursor: pointer;
}
.color-option input:checked + .color-swatch { border-color: #2b1f1a; box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2b1f1a; }
.color-label { display: none; }
.size-option .size-label {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; height: 38px; padding: 0 .8rem; border: 2px solid #ece2d9;
    border-radius: 8px; font-size: .85rem; transition: all .2s; background: #fff;
}
.size-option input:checked + .size-label { background: #8b5a4a; color: #fff; border-color: #8b5a4a; }
.quantity-selector {
    display: inline-flex; align-items: center; border: 2px solid #ece2d9;
    border-radius: 8px; overflow: hidden;
}
.quantity-selector.small .qty-btn, .quantity-selector.small .qty-input { width: 36px; height: 36px; font-size: .85rem; }
.qty-btn {
    width: 44px; height: 44px; border: none; background: #f3e9e0;
    font-size: 1.2rem; cursor: pointer; transition: background .2s; display: flex;
    align-items: center; justify-content: center;
}
.qty-btn:hover { background: #ece2d9; }
.qty-input {
    width: 60px; height: 44px; text-align: center; border: none;
    border-left: 2px solid #ece2d9; border-right: 2px solid #ece2d9;
    font-size: 1rem; font-weight: 600; -moz-appearance: textfield;
}
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-form { margin-top: 1.5rem; }

/* ----- CART ----- */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 2rem; padding: 2rem 0; }
.cart-item {
    display: flex; gap: 1rem; padding: 1rem; background: #fff;
    border-radius: 12px; margin-bottom: 1rem; align-items: center;
    box-shadow: 0 1px 5px rgba(0,0,0,.05);
}
.cart-item-image { width: 80px; height: 80px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 0; }
.cart-item-details h3 { font-family: 'Inter', sans-serif; font-size: .95rem; }
.cart-item-option { font-size: .85rem; color: #6b5d55; }
.cart-item-price { font-weight: 600; color: #8b5a4a; margin-top: .3rem; }
.cart-item-quantity { width: 120px; }
.cart-item-total { min-width: 80px; text-align: right; }
.cart-item-total strong { color: #2b1f1a; }
.btn-remove {
    background: none; border: none; color: #b24545; cursor: pointer;
    font-size: 1.2rem; padding: .3rem; transition: opacity .2s;
}
.btn-remove:hover { opacity: .7; }
.cart-summary {
    background: #fff; border-radius: 12px; padding: 1.5rem;
    position: sticky; top: 100px; align-self: start;
}
.cart-summary h3 { margin-bottom: 1rem; }
.summary-row { display: flex; justify-content: space-between; padding: .7rem 0; font-size: .95rem; }
.summary-total { border-top: 2px solid #ece2d9; margin-top: .5rem; padding-top: 1rem; font-size: 1.1rem; }

/* ----- CHECKOUT ----- */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; padding: 2rem 0 3rem; }
.form-card { background: #fff; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.form-card h3 { margin-bottom: 1.2rem; }
.checkout-items { margin-bottom: 1rem; }
.checkout-item { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .9rem; }
.checkout-total { display: flex; justify-content: space-between; padding-top: 1rem; border-top: 2px solid #ece2d9; font-size: 1.1rem; }
.bank-info p { margin-bottom: .4rem; font-size: .9rem; }
.bank-note { font-size: .85rem; color: #6b5d55; margin-top: .5rem; font-style: italic; }
.payment-info { font-size: .85rem; color: #6b5d55; margin-top: .5rem; }

/* ----- ORDER SUCCESS ----- */
.order-success {
    text-align: center; padding: 4rem 2rem; max-width: 500px; margin: 0 auto;
}
.success-icon i { font-size: 4rem; color: #4caf50; margin-bottom: 1rem; }
.order-success h1 { font-size: 2rem; margin-bottom: .5rem; }
.success-message { color: #6b5d55; }
.order-no-display {
    font-size: 1.5rem; font-weight: 700; color: #8b5a4a;
    background: #f3e9e0; display: inline-block; padding: .7rem 2rem;
    border-radius: 8px; margin: 1.5rem 0; letter-spacing: 2px;
}
.success-info { color: #6b5d55; line-height: 1.8; margin-bottom: 2rem; }
.success-actions { display: flex; gap: 1rem; justify-content: center; }

/* ----- FOOTER ----- */
.site-footer {
    background: #2b1f1a; color: #c08a6e; margin-top: auto;
    padding: 3rem 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; padding-bottom: 2rem;
}
.footer-col h4 {
    font-family: 'Playfair Display', serif; color: #f3e9e0;
    margin-bottom: 1rem; font-size: 1.1rem;
}
.footer-col p { font-size: .9rem; line-height: 1.8; }
.footer-col ul li { margin-bottom: .5rem; font-size: .9rem; }
.footer-col ul li a { color: #c08a6e; }
.footer-col ul li a:hover { color: #f3e9e0; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px; height: 40px; background: #8b5a4a; color: #f3e9e0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; transition: background .2s;
}
.social-links a:hover { background: #b24545; }
.footer-bottom {
    border-top: 1px solid #8b5a4a; padding: 1.5rem 0;
    text-align: center; font-size: .85rem;
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-body { background: #f0ebe7; }
.admin-wrapper { display: flex; min-height: 100vh; }

/* Sidebar */
.admin-sidebar {
    width: 260px; background: #2b1f1a; color: #c08a6e;
    display: flex; flex-direction: column; position: fixed; top: 0; left: 0;
    height: 100vh; z-index: 200; transition: transform .3s;
}
.sidebar-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.2rem; border-bottom: 1px solid #8b5a4a;
}
.sidebar-logo {
    font-family: 'Playfair Display', serif; font-size: 1.3rem;
    color: #f3e9e0; text-decoration: none;
}
.sidebar-close { display: none; background: none; border: none; color: #c08a6e; font-size: 1.2rem; cursor: pointer; }
.sidebar-user {
    display: flex; align-items: center; gap: .8rem;
    padding: 1rem 1.2rem; border-bottom: 1px solid rgba(139,90,74,.3);
}
.user-avatar { font-size: 2rem; color: #8b5a4a; }
.user-info strong { display: block; font-size: .9rem; color: #f3e9e0; }
.user-role { font-size: .7rem; margin-top: .2rem; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: .5rem 0; }
.sidebar-nav hr { border: none; border-top: 1px solid rgba(139,90,74,.3); margin: .5rem 1.2rem; }
.sidebar-link {
    display: flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem;
    font-size: .9rem; color: #c08a6e; text-decoration: none; transition: all .2s;
}
.sidebar-link:hover { background: rgba(139,90,74,.2); color: #f3e9e0; }
.sidebar-link.active { background: #8b5a4a; color: #fff; }

/* Admin Overlay */
.admin-overlay {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.4); z-index: 150;
}
.admin-overlay.active { display: block; }

/* Admin Content */
.admin-content { flex: 1; margin-left: 260px; }
.admin-topbar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid #ece2d9;
    position: sticky; top: 0; z-index: 100;
}
.admin-topbar h2 { font-size: 1.2rem; }
.sidebar-toggle {
    display: none; background: none; border: none; font-size: 1.3rem;
    color: #2b1f1a; cursor: pointer;
}
.topbar-actions { display: flex; gap: .5rem; }
.admin-inner { padding: 1.5rem; }

/* ----- STAT CARDS ----- */
.stats-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem; margin-bottom: 2rem;
}
.stat-card {
    background: #fff; border-radius: 12px; padding: 1.2rem;
    display: flex; align-items: center; gap: 1rem;
    box-shadow: 0 1px 5px rgba(0,0,0,.05); transition: transform .2s;
}
.stat-card:hover { transform: translateY(-2px); }
.stat-card-warning { border-left: 4px solid #b24545; }
.stat-icon {
    width: 50px; height: 50px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}
.stat-icon-products { background: #e3f2fd; color: #1565c0; }
.stat-icon-orders { background: #e8f5e9; color: #2e7d32; }
.stat-icon-today { background: #fff3e0; color: #e65100; }
.stat-icon-revenue { background: #f3e5f5; color: #7b1fa2; }
.stat-icon-pending { background: #fff8e1; color: #f9a825; }
.stat-icon-unseen { background: #fce4ec; color: #b24545; }
.stat-info h3 { font-family: 'Inter', sans-serif; font-size: 1.5rem; }
.stat-info p { font-size: .8rem; color: #6b5d55; }

/* ----- CARDS ----- */
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 5px rgba(0,0,0,.05); }
.card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 1.5rem; border-bottom: 1px solid #ece2d9;
}
.card-header h3 { font-size: 1.05rem; }
.card-body { padding: 1.5rem; }

/* ----- TABLES ----- */
.table-responsive { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.table th {
    text-align: left; padding: .7rem 1rem; font-weight: 600;
    background: #f3e9e0; color: #2b1f1a; white-space: nowrap;
}
.table td { padding: .7rem 1rem; border-bottom: 1px solid #ece2d9; }
.table tbody tr:hover { background: #faf6f3; }
.row-unseen { background: #fff8e1; }
.row-unseen:hover { background: #fff3cd !important; }
.table-thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }

/* ----- BADGES ----- */
.badge {
    display: inline-block; padding: .2rem .6rem; border-radius: 4px;
    font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-danger { background: #fce4ec; color: #b24545; }
.badge-warning { background: #fff8e1; color: #e65100; }
.badge-info { background: #e3f2fd; color: #1565c0; }
.badge-primary { background: #e8eaf6; color: #283593; }
.badge-secondary { background: #ece2d9; color: #6b5d55; }
.badge-superadmin { background: #f3e5f5; color: #7b1fa2; }
.badge-admin { background: #e3f2fd; color: #1565c0; }
.badge-staff { background: #e8f5e9; color: #2e7d32; }

/* ----- CHARTS ----- */
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.chart-container { height: 200px; }
.bar-chart { display: flex; align-items: flex-end; gap: .5rem; height: 200px; padding-top: 1.5rem; }
.bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; }
.bar-value { font-size: .7rem; color: #6b5d55; margin-bottom: .3rem; font-weight: 600; }
.bar {
    width: 100%; max-width: 40px; background: linear-gradient(to top, #8b5a4a, #c08a6e);
    border-radius: 4px 4px 0 0; transition: height .5s; min-height: 4px;
}
.bar-label { font-size: .7rem; color: #6b5d55; margin-top: .3rem; white-space: nowrap; }

/* ----- DETAIL GRID ----- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.detail-section h4 { margin-bottom: .8rem; font-size: 1rem; }
.detail-section p { margin-bottom: .3rem; font-size: .9rem; }

/* ----- EXISTING IMAGES ----- */
.existing-images { display: flex; gap: .4rem; margin-top: .5rem; flex-wrap: wrap; }
.existing-thumb { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }

/* ----- ADMIN FORM ----- */
.admin-form .form-row { margin-bottom: 1rem; }

/* ----- PULSE DOT ----- */
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
.pulse-dot { display: inline-block; width: 10px; height: 10px; background: #b24545; border-radius: 50%; animation: pulse 1.5s infinite; vertical-align: middle; margin-left: .3rem; }

/* ----- LOGIN PAGE ----- */
.login-page {
    background: linear-gradient(135deg, #2b1f1a, #8b5a4a);
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
}
.login-container { width: 100%; max-width: 400px; padding: 1rem; }
.login-card {
    background: #fff; border-radius: 16px; padding: 2rem;
    box-shadow: 0 15px 50px rgba(0,0,0,.2);
}
.login-header { text-align: center; margin-bottom: 1.5rem; }
.login-logo {
    font-family: 'Playfair Display', serif; font-size: 1.8rem;
    color: #2b1f1a; text-decoration: none; display: block;
}
.login-header p { color: #6b5d55; margin-top: .3rem; }
.login-form .btn { margin-top: .5rem; }
.login-footer { text-align: center; margin-top: 1.5rem; }
.login-footer a { font-size: .85rem; color: #6b5d55; }
.login-footer a:hover { color: #8b5a4a; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
    .product-gallery { position: static; }
    .cart-layout { grid-template-columns: 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .page-with-sidebar { flex-direction: column; }
    .sidebar { width: 100%; }
    .main-nav { position: fixed; top: 0; right: -280px; width: 280px; height: 100vh; background: #2b1f1a; flex-direction: column; padding: 5rem 1.5rem; transition: right .3s; z-index: 200; }
    .main-nav.active { right: 0; }
    .mobile-menu-toggle { display: flex; }
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.active { transform: translateX(0); }
    .sidebar-close { display: block; }
    .admin-content { margin-left: 0; }
    .sidebar-toggle { display: block; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .detail-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .product-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }
    .filter-tab { white-space: nowrap; }
}

/* ----- FADE IN ANIMATION ----- */
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.product-card { animation: fadeIn .5s ease-out; }
