@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --bg-alt: #f8f8f8;
  --bg-card: #ffffff;
  --text: #333333;
  --text-light: #777777;
  --text-muted: #999999;
  --border: #e8e8e8;
  --gold: #c9a84c;
  --gold-hover: #b8953e;
  --green: #4caf50;
  --red: #e74c3c;
  --heading-font: 'Playfair Display', Georgia, serif;
  --body-font: 'Poppins', 'Segoe UI', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 4px;
  --max-width: 1240px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body-font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ========== TOP BAR ========== */
.top-bar { background: #333; color: #fff; text-align: center; padding: 8px 0; font-size: 12px; letter-spacing: 1px; font-weight: 400; }

/* ========== HEADER ========== */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--heading-font); font-size: 22px; font-weight: 600; color: var(--text); letter-spacing: 1px; }
.logo:hover { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a, .nav-dropdown-trigger { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text); padding: 8px 0; border: none; background: none; }
.main-nav > a:hover, .nav-dropdown-trigger:hover { color: var(--gold); }
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger .fa-chevron-down { font-size: 9px; transition: transform 0.2s; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--bg); border: 1px solid var(--border); box-shadow: var(--shadow-md); min-width: 180px; padding: 8px 0; z-index: 200; border-radius: var(--radius); }
.nav-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown:hover .fa-chevron-down { transform: rotate(180deg); }
.nav-dropdown-menu a { display: block; padding: 8px 20px; font-size: 13px; color: var(--text); }
.nav-dropdown-menu a:hover { background: var(--bg-alt); color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-icon { color: var(--text); font-size: 18px; position: relative; }
.header-icon:hover { color: var(--gold); }
.cart-icon { position: relative; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 600; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.mobile-toggle { display: none; background: none; border: none; font-size: 20px; color: var(--text); }

/* ========== HERO ========== */
.hero-section { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); color: #fff; text-align: center; padding: 80px 20px; position: relative; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-title { font-family: var(--heading-font); font-size: 48px; font-weight: 400; letter-spacing: 2px; margin-bottom: 12px; }
.hero-subtitle { font-size: 16px; font-weight: 300; font-style: italic; color: #ccc; margin-bottom: 28px; }

/* ========== BUTTONS ========== */
.btn { display: inline-block; padding: 10px 28px; font-size: 13px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase; border: none; border-radius: var(--radius); transition: all 0.2s; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #fff; }
.btn-lg { padding: 12px 36px; font-size: 14px; }
.btn-add-cart { width: 100%; padding: 8px 16px; background: var(--gold); color: #fff; border: none; border-radius: var(--radius); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s; margin-top: 8px; }
.btn-add-cart:hover { background: var(--gold-hover); }

/* ========== SECTIONS ========== */
.section { padding: 40px 0; }
.section-title { font-family: var(--heading-font); font-size: 24px; font-weight: 500; text-align: center; margin-bottom: 28px; color: var(--text); position: relative; }
.section-title::after { content: ''; display: block; width: 50px; height: 2px; background: var(--gold); margin: 10px auto 0; }

/* ========== CATEGORIES GRID ========== */
.categories-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.category-card { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: all 0.2s; }
.category-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.category-card .category-icon { font-size: 28px; color: var(--gold); margin-bottom: 10px; }
.category-card h3 { font-family: var(--heading-font); font-size: 16px; font-weight: 500; margin-bottom: 4px; }
.category-card .category-count { font-size: 12px; color: var(--text-muted); }

/* ========== PRODUCT GRID ========== */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.product-image { position: relative; width: 100%; padding-top: 100%; overflow: hidden; background: #f5f5f5; }
.product-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); color: #ccc; font-size: 36px; }

.product-actions { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%) translateY(10px); display: flex; gap: 6px; opacity: 0; transition: all 0.25s; }
.product-card:hover .product-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
.action-btn { width: 32px; height: 32px; border-radius: 50%; border: none; background: #fff; color: var(--text); font-size: 12px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: all 0.2s; cursor: pointer; }
.action-btn:hover { background: var(--gold); color: #fff; }

.badge { position: absolute; top: 8px; left: 8px; padding: 3px 10px; font-size: 11px; font-weight: 600; border-radius: 2px; text-transform: uppercase; }
.badge-sale { background: var(--red); color: #fff; }

.product-info { padding: 12px 14px 14px; text-align: center; }
.product-name { display: block; font-family: var(--heading-font); font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 6px; line-height: 1.3; min-height: 36px; }
.product-name:hover { color: var(--gold); }
.product-rating { margin-bottom: 6px; }
.product-rating .fas, .product-rating .far { font-size: 11px; color: var(--gold); }
.product-rating .far { color: #ddd; }
.product-price { margin-bottom: 4px; }
.price-current { font-size: 16px; font-weight: 600; color: var(--gold); }
.price-old { font-size: 13px; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }

/* ========== PROMO BANNERS ========== */
.promo-banner { padding: 50px 20px; text-align: center; color: #fff; }
.watch-banner { background: linear-gradient(135deg, #1a1a1a, #2c2c2c); }
.styles-banner { background: linear-gradient(135deg, #2c1810, #4a2c1a); }
.bracelet-banner { background: linear-gradient(135deg, #1a2c1a, #2c4a2c); }
.promo-content h2 { font-family: var(--heading-font); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.promo-content p { font-size: 14px; color: #bbb; margin-bottom: 20px; }

/* ========== TOP SELLING ========== */
.top-selling-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.top-selling-item { display: flex; gap: 14px; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); transition: box-shadow 0.2s; }
.top-selling-item:hover { box-shadow: var(--shadow-sm); }
.top-selling-image { width: 80px; height: 80px; flex-shrink: 0; border-radius: var(--radius); overflow: hidden; background: #f5f5f5; }
.top-selling-image img { width: 100%; height: 100%; object-fit: cover; }
.top-selling-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.top-selling-info .product-name { font-size: 13px; text-align: left; min-height: unset; margin-bottom: 4px; }
.top-selling-info .product-rating { text-align: left; margin-bottom: 4px; }
.top-selling-info .product-price { text-align: left; }

/* ========== SHOP PAGE ========== */
.page-header { background: var(--bg-alt); padding: 20px 0; border-bottom: 1px solid var(--border); }
.page-title { font-family: var(--heading-font); font-size: 24px; font-weight: 500; }
.breadcrumb { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 4px; }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.toolbar-left { font-size: 13px; color: var(--text-muted); }
.toolbar-right { display: flex; gap: 16px; align-items: center; }
.toolbar-control { display: flex; align-items: center; gap: 6px; }
.toolbar-control label { font-size: 12px; color: var(--text-muted); }
.toolbar-control select { padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; background: var(--bg); color: var(--text); }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.page-link { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; color: var(--text); transition: all 0.2s; }
.page-link:hover, .page-link.active { background: var(--gold); color: #fff; border-color: var(--gold); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 48px; margin-bottom: 16px; }
.empty-state h3 { font-family: var(--heading-font); margin-bottom: 8px; color: var(--text); }

/* ========== PRODUCT DETAIL ========== */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.product-detail-image { border-radius: var(--radius); overflow: hidden; background: #f5f5f5; }
.product-detail-image img { width: 100%; height: auto; display: block; }
.product-detail-name { font-family: var(--heading-font); font-size: 26px; font-weight: 500; margin-bottom: 10px; }
.product-detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.product-detail-rating .stars .fas, .product-detail-rating .stars .far { font-size: 14px; color: var(--gold); }
.product-detail-rating .stars .far { color: #ddd; }
.review-count-link { font-size: 13px; color: var(--text-muted); }
.review-count-link:hover { color: var(--gold); }
.product-detail-price { margin-bottom: 14px; }
.product-detail-price .price-current { font-size: 24px; font-weight: 600; color: var(--gold); }
.product-detail-price .price-old { font-size: 16px; }
.product-stock { margin-bottom: 14px; font-size: 13px; }
.in-stock { color: var(--green); }
.in-stock i, .out-of-stock i { margin-right: 4px; }
.out-of-stock { color: var(--red); }
.product-short-desc { margin-bottom: 16px; font-size: 13px; color: var(--text-light); line-height: 1.7; }
.product-variants { margin-bottom: 16px; }
.variant-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.variant-select { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; min-width: 120px; }
.product-add-to-cart { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; }
.quantity-selector { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 36px; height: 40px; border: none; background: var(--bg-alt); font-size: 16px; color: var(--text); transition: background 0.2s; }
.qty-btn:hover { background: #e0e0e0; }
.qty-input { width: 48px; height: 40px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 14px; font-family: var(--body-font); }
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.product-meta { padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-light); }
.product-meta p { margin-bottom: 4px; }
.product-meta a { color: var(--gold); }
.product-notify { background: var(--bg-alt); padding: 20px; border-radius: var(--radius); }
.product-notify p { margin-bottom: 12px; font-size: 13px; }
.notify-form { display: flex; gap: 8px; }
.notify-form input { flex: 1; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; }

/* ========== TABS ========== */
.product-tabs { border-top: 1px solid var(--border); padding-top: 30px; }
.tab-headers { display: flex; gap: 0; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.tab-btn { padding: 10px 24px; background: none; border: none; font-size: 14px; font-weight: 500; color: var(--text-muted); position: relative; transition: color 0.2s; }
.tab-btn.active { color: var(--text); }
.tab-btn.active::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--gold); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.description-content { font-size: 14px; line-height: 1.8; color: var(--text-light); white-space: pre-line; }
.specs-table { width: 100%; margin-top: 20px; border-collapse: collapse; }
.specs-table th, .specs-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); font-size: 13px; }
.specs-table th { font-weight: 500; width: 30%; background: var(--bg-alt); }

/* ========== REVIEWS ========== */
.reviews-list { margin-bottom: 30px; }
.review-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-stars .fas, .review-stars .far { font-size: 12px; color: var(--gold); }
.review-stars .far { color: #ddd; }
.review-author { font-size: 13px; }
.review-date { font-size: 12px; color: var(--text-muted); }
.review-text { font-size: 13px; color: var(--text-light); line-height: 1.7; }
.review-form-wrapper { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); margin-top: 24px; }
.review-form-wrapper h3 { font-family: var(--heading-font); font-size: 18px; margin-bottom: 16px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.review-form input, .review-form textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: var(--body-font); background: var(--bg); }
.review-form textarea { resize: vertical; }
.star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-rating-input input { display: none; }
.star-rating-input label { cursor: pointer; font-size: 20px; color: #ddd; transition: color 0.15s; }
.star-rating-input label:hover, .star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: var(--gold); }

/* ========== CART ========== */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 30px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--border); font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.cart-table td { padding: 14px 12px; border-bottom: 1px solid var(--border); font-size: 13px; vertical-align: middle; }
.cart-item-image { width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; background: #f5f5f5; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-name { font-weight: 500; }
.cart-item-remove { background: none; border: none; color: var(--red); font-size: 16px; padding: 4px; cursor: pointer; }
.cart-item-info { display: flex; align-items: center; gap: 12px; }
.cart-item-img { width: 60px; height: 60px; border-radius: var(--radius); overflow: hidden; object-fit: cover; background: #f5f5f5; flex-shrink: 0; }
.cart-item-name a { color: var(--text); font-weight: 500; }
.cart-item-name a:hover { color: var(--gold); }
.cart-item-variant { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.cart-item-price { white-space: nowrap; }
.cart-qty { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cart-qty button { width: 32px; height: 36px; border: none; background: var(--bg-alt); font-size: 14px; color: var(--text); cursor: pointer; }
.cart-qty button:hover { background: #e0e0e0; }
.cart-qty input { width: 44px; height: 36px; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); text-align: center; font-size: 13px; font-family: var(--body-font); }
.cart-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.cart-totals { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
.cart-totals h3 { font-family: var(--heading-font); font-size: 18px; margin-bottom: 16px; }
.cart-totals-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.cart-totals-row.total { font-weight: 600; font-size: 16px; border-bottom: none; color: var(--gold); }
.cart-totals .btn { width: 100%; margin-top: 16px; text-align: center; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty i { font-size: 48px; color: #ddd; margin-bottom: 16px; }

/* ========== CHECKOUT ========== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.checkout-form h3 { font-family: var(--heading-font); font-size: 18px; margin-bottom: 16px; }
.checkout-form .form-group { margin-bottom: 12px; }
.checkout-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.checkout-form input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; font-family: var(--body-font); }
.checkout-form input:focus { outline: none; border-color: var(--gold); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row-3 { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; }
#card-container { padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); min-height: 60px; margin-bottom: 16px; }
#checkoutError { display: none; background: #fef2f2; border: 1px solid #fca5a5; color: var(--red); padding: 10px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 12px; }
#checkoutError.visible { display: block; }
.order-summary { background: var(--bg-alt); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); position: sticky; top: 90px; }
.order-summary h3 { font-family: var(--heading-font); font-size: 18px; margin-bottom: 16px; }
.order-summary-item { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--text-light); }
.order-summary-item .item-name { flex: 1; }
.order-summary-item .item-qty { margin: 0 12px; color: var(--text-muted); }
.order-summary-total { display: flex; justify-content: space-between; padding: 12px 0 0; margin-top: 8px; border-top: 2px solid var(--border); font-size: 16px; font-weight: 600; color: var(--gold); }
#payBtn { width: 100%; padding: 14px; font-size: 15px; }
#payBtn.loading { opacity: 0.7; pointer-events: none; }

/* ========== BLOG ========== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: var(--shadow-md); }
.blog-card-image { height: 180px; background: linear-gradient(135deg, #f0f0f0, #e0e0e0); display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 36px; position: relative; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-image .blog-card-category { position: absolute; top: 12px; left: 12px; z-index: 1; }
.blog-card-body { padding: 16px; }
.blog-card-category { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--gold); font-weight: 500; margin-bottom: 6px; }
.blog-card-date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.blog-card-title { font-family: var(--heading-font); font-size: 16px; font-weight: 500; margin-bottom: 8px; line-height: 1.4; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt { font-size: 13px; color: var(--text-light); margin-bottom: 12px; line-height: 1.6; }
.blog-card-link { font-size: 13px; color: var(--gold); font-weight: 500; }
.blog-card-link:hover { text-decoration: underline; }

.blog-post-content { max-width: 800px; margin: 0 auto; }
.blog-post-content h1 { font-family: var(--heading-font); font-size: 30px; margin-bottom: 20px; }
.blog-post-content h2 { font-family: var(--heading-font); font-size: 22px; margin: 28px 0 12px; }
.blog-post-content h3 { font-family: var(--heading-font); font-size: 18px; margin: 20px 0 8px; }
.blog-post-content p { font-size: 14px; line-height: 1.8; color: var(--text-light); margin-bottom: 16px; }
.blog-post-content ul, .blog-post-content ol { margin: 12px 0 16px 24px; }
.blog-post-content li { font-size: 14px; line-height: 1.7; color: var(--text-light); margin-bottom: 6px; }
.blog-nav { display: flex; justify-content: space-between; padding: 20px 0; margin-top: 30px; border-top: 1px solid var(--border); font-size: 13px; }
.blog-nav a { color: var(--gold); }
.blog-nav a:hover { text-decoration: underline; }

.blog-post-wrapper { max-width: 800px; margin: 0 auto; }
.blog-post-title { font-family: var(--heading-font); font-size: 32px; font-weight: 500; margin-bottom: 8px; line-height: 1.3; }
.blog-post-date { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.blog-post-featured-image { margin-bottom: 28px; border-radius: var(--radius); overflow: hidden; }
.blog-post-featured-image img { width: 100%; height: auto; display: block; }
.blog-post-tags { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.blog-tag { display: inline-block; padding: 4px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; font-size: 12px; color: var(--text-light); }
.blog-post-nav { display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; margin-top: 28px; border-top: 1px solid var(--border); }
.post-nav-link { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-light); max-width: 45%; }
.post-nav-link:hover { color: var(--gold); }
.post-nav-link strong { font-size: 14px; color: var(--text); }
.post-nav-link.next { text-align: right; margin-left: auto; }
.back-to-blog { display: inline-block; margin-top: 20px; }

/* ========== VALUE PROPS ========== */
.value-props { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 30px 0; margin-top: 40px; }
.value-props-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value-prop { display: flex; align-items: center; gap: 12px; text-align: left; }
.value-prop i { font-size: 24px; color: var(--gold); flex-shrink: 0; }
.value-prop strong { display: block; font-size: 12px; letter-spacing: 0.5px; }
.value-prop p { font-size: 11px; color: var(--text-muted); margin: 0; }

/* ========== FOOTER ========== */
.site-footer { background: #222; color: #ccc; padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; }
.footer-about { font-size: 12px; line-height: 1.7; color: #999; margin-bottom: 14px; }
.footer-contact { margin: 0; }
.footer-contact li { font-size: 12px; margin-bottom: 6px; color: #999; }
.footer-contact i { color: var(--gold); margin-right: 6px; width: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 12px; color: #999; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.newsletter-form { display: flex; margin-top: 10px; }
.newsletter-form input { flex: 1; padding: 8px 12px; border: 1px solid #444; background: #333; color: #fff; font-size: 12px; border-radius: var(--radius) 0 0 var(--radius); }
.newsletter-form button { padding: 8px 16px; background: var(--gold); color: #fff; border: none; font-size: 11px; font-weight: 600; letter-spacing: 0.5px; border-radius: 0 var(--radius) var(--radius) 0; cursor: pointer; }
.newsletter-form button:hover { background: var(--gold-hover); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid #444; display: flex; align-items: center; justify-content: center; color: #999; font-size: 13px; transition: all 0.2s; }
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom { text-align: center; padding: 20px 0; margin-top: 30px; border-top: 1px solid #333; font-size: 12px; color: #666; }

/* ========== STATIC PAGES ========== */
.page-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.page-content h1 { font-family: var(--heading-font); font-size: 28px; margin-bottom: 20px; }
.page-content h2 { font-family: var(--heading-font); font-size: 20px; margin: 24px 0 10px; }
.page-content p { font-size: 14px; line-height: 1.8; color: var(--text-light); margin-bottom: 14px; }

.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 8px; overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; cursor: pointer; font-weight: 500; font-size: 14px; background: var(--bg-alt); }
.faq-question i { font-size: 12px; transition: transform 0.2s; color: var(--gold); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { display: none; padding: 14px 16px; font-size: 13px; color: var(--text-light); line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: var(--body-font); margin-bottom: 12px; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-info-card { background: var(--bg-alt); padding: 20px; border-radius: var(--radius); margin-bottom: 12px; }
.contact-info-card i { color: var(--gold); margin-right: 8px; }

/* ========== WISHLIST ========== */
.wishlist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ========== CONFIRMATION ========== */
.confirmation-page { text-align: center; padding: 60px 20px; }
.confirmation-page i { font-size: 48px; color: var(--green); margin-bottom: 16px; }
.confirmation-page h1 { font-family: var(--heading-font); font-size: 28px; margin-bottom: 8px; }
.order-details { max-width: 500px; margin: 24px auto; text-align: left; background: var(--bg-alt); padding: 24px; border-radius: var(--radius); }

/* ========== TOAST ========== */
.toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; }
.toast-notification { background: #333; color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: 13px; margin-top: 8px; opacity: 0; transform: translateY(10px); transition: all 0.3s; box-shadow: var(--shadow-lg); }
.toast-notification.show { opacity: 1; transform: translateY(0); }

/* ========== ADMIN ========== */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #1a1a1a; color: #ccc; padding: 20px 0; flex-shrink: 0; }
.admin-sidebar .admin-logo { padding: 0 20px 20px; font-family: var(--heading-font); font-size: 16px; color: var(--gold); border-bottom: 1px solid #333; margin-bottom: 10px; }
.admin-sidebar a { display: flex; align-items: center; gap: 10px; padding: 10px 20px; font-size: 13px; color: #999; transition: all 0.2s; }
.admin-sidebar a:hover, .admin-sidebar a.active { color: #fff; background: #222; border-left: 3px solid var(--gold); }
.admin-sidebar a i { width: 18px; text-align: center; }
.admin-main { flex: 1; padding: 24px 30px; background: var(--bg-alt); }
.admin-main h1 { font-family: var(--heading-font); font-size: 22px; margin-bottom: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.admin-stat-card { background: var(--bg); padding: 20px; border-radius: var(--radius); border: 1px solid var(--border); }
.admin-stat-card .stat-number { font-size: 28px; font-weight: 600; color: var(--gold); }
.admin-stat-card .stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table { width: 100%; border-collapse: collapse; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.admin-table th { background: var(--bg-alt); padding: 10px 14px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 10px 14px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: #fafafa; }
.admin-table img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius); }
.admin-btn { display: inline-block; padding: 6px 14px; font-size: 12px; font-weight: 500; border: none; border-radius: var(--radius); cursor: pointer; transition: all 0.2s; }
.admin-btn-primary { background: var(--gold); color: #fff; }
.admin-btn-primary:hover { background: var(--gold-hover); }
.admin-btn-danger { background: var(--red); color: #fff; }
.admin-btn-danger:hover { background: #c0392b; }
.admin-btn-sm { padding: 4px 10px; font-size: 11px; }
.admin-form { max-width: 700px; }
.admin-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 4px; margin-top: 14px; }
.admin-form input, .admin-form select, .admin-form textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; font-family: var(--body-font); }
.admin-form textarea { resize: vertical; min-height: 120px; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { outline: none; border-color: var(--gold); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg-alt); }
.admin-login-card { background: var(--bg); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 360px; text-align: center; }
.admin-login-card h1 { font-family: var(--heading-font); font-size: 22px; margin-bottom: 24px; }
.admin-login-card input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; margin-bottom: 12px; }
.admin-login-card .btn { width: 100%; }
.stock-badge { padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500; }
.stock-badge.in-stock { background: #e8f5e9; color: #2e7d32; }
.stock-badge.low-stock { background: #fff3e0; color: #e65100; }
.stock-badge.out-of-stock { background: #fce4ec; color: #c62828; }

/* ========== SEARCH OVERLAY ========== */
.search-toggle { background: none; border: none; cursor: pointer; color: inherit; font-size: inherit; padding: 0; }
.search-overlay { position: fixed; top: 0; left: 0; right: 0; background: var(--bg); z-index: 10001; padding: 0; transform: translateY(-100%); transition: transform 0.3s; box-shadow: var(--shadow-lg); }
.search-overlay.open { transform: translateY(0); }
.search-overlay-inner { display: flex; align-items: center; gap: 12px; max-width: 700px; margin: 0 auto; padding: 24px 20px; }
.search-overlay-form { display: flex; flex: 1; gap: 0; }
.search-overlay-input { flex: 1; padding: 12px 16px; border: 1px solid var(--border); border-right: none; border-radius: var(--radius) 0 0 var(--radius); font-size: 15px; font-family: var(--body-font); outline: none; }
.search-overlay-input:focus { border-color: var(--gold); }
.search-overlay-btn { padding: 12px 20px; background: var(--gold); color: #fff; border: none; border-radius: 0 var(--radius) var(--radius) 0; font-size: 15px; cursor: pointer; }
.search-overlay-btn:hover { background: var(--gold-hover); }
.search-overlay-close { background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; padding: 8px; }
.search-overlay-close:hover { color: var(--text); }

/* ========== QUICK VIEW MODAL ========== */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal { background: var(--bg); border-radius: var(--radius); width: 90%; max-width: 800px; max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--border); }
.modal-header h2 { font-family: var(--heading-font); font-size: 18px; font-weight: 500; }
.modal-close { background: none; border: none; font-size: 18px; color: var(--text-muted); cursor: pointer; padding: 4px; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 24px; }
.quickview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quickview-image img { width: 100%; height: auto; border-radius: var(--radius); }
.quickview-info .product-title { font-family: var(--heading-font); font-size: 20px; margin-bottom: 8px; }
.quickview-info .product-price { font-size: 18px; font-weight: 600; color: var(--gold); margin-bottom: 12px; }
.quickview-info .product-description { font-size: 13px; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.btn-add-to-cart { display: inline-block; padding: 12px 24px; background: var(--gold); color: #fff; border: none; border-radius: var(--radius); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s; }
.btn-add-to-cart:hover { background: var(--gold-hover); }

/* ========== ABOUT PAGE ========== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-content h2 { font-family: var(--heading-font); font-size: 24px; margin-bottom: 16px; }
.about-content p { font-size: 14px; line-height: 1.8; color: var(--text-light); margin-bottom: 16px; }
.about-list { list-style: none; padding: 0; margin: 0 0 20px; }
.about-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--text-light); }
.about-list li i { color: var(--gold); font-size: 14px; width: 16px; }
.about-image { border-radius: var(--radius); overflow: hidden; }
.about-image img { width: 100%; height: auto; display: block; }
.about-placeholder { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: var(--radius); color: var(--text-muted); }
.about-placeholder i { font-size: 48px; margin-bottom: 12px; color: var(--gold); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: var(--bg-alt); padding: 32px 24px; border-radius: var(--radius); text-align: center; border: 1px solid var(--border); }
.value-card i { font-size: 28px; color: var(--gold); margin-bottom: 16px; }
.value-card h3 { font-family: var(--heading-font); font-size: 16px; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* ========== CONTACT PAGE ========== */
.contact-form-wrapper h2, .contact-info-wrapper h2 { font-family: var(--heading-font); font-size: 20px; margin-bottom: 8px; }
.contact-form-wrapper p, .contact-info-wrapper p { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.contact-info-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.contact-social h3 { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.social-links { display: flex; gap: 12px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); font-size: 14px; transition: all 0.2s; }
.social-links a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ========== LEGAL/PRIVACY PAGE ========== */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-family: var(--heading-font); font-size: 20px; margin: 28px 0 12px; }
.legal-content h3 { font-family: var(--heading-font); font-size: 16px; margin: 20px 0 8px; }
.legal-content p { font-size: 14px; line-height: 1.8; color: var(--text-light); margin-bottom: 12px; }
.legal-content ul, .legal-content ol { margin: 8px 0 16px 24px; list-style: disc; }
.legal-content li { font-size: 14px; line-height: 1.7; color: var(--text-light); margin-bottom: 4px; }
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; font-style: italic; }

/* ========== ERROR PAGE ========== */
.error-content { text-align: center; padding: 60px 20px; }
.error-code { font-family: var(--heading-font); font-size: 48px; color: var(--gold); margin-bottom: 12px; }
.error-message { font-size: 16px; color: var(--text-light); margin-bottom: 24px; }

/* ========== WISHLIST EMPTY ========== */
.wishlist-empty { text-align: center; padding: 60px 20px; }
.wishlist-empty i { font-size: 48px; color: #ddd; margin-bottom: 16px; display: block; }
.wishlist-empty h3 { font-family: var(--heading-font); font-size: 20px; margin-bottom: 8px; }
.wishlist-empty p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .products-grid, .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 20px; gap: 0; box-shadow: var(--shadow-md); z-index: 99; }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-dropdown-trigger { padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
  .nav-dropdown:hover .nav-dropdown-menu { display: block; }
  .products-grid, .wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 20px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .hero-section { padding: 50px 20px; }
  .value-props-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
  .top-selling-grid { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .quickview-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .cart-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.blog-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/9; background: var(--bg-alt); color: var(--text-muted); font-size: 28px; }
.related-products { padding-bottom: 40px; }
.related-products .section-title { margin-bottom: 24px; }

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-info { padding: 8px 10px 10px; }
  .product-name { font-size: 12px; min-height: 30px; }
  .price-current { font-size: 14px; }
  .btn-add-cart { font-size: 11px; padding: 6px 10px; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .value-props-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
