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

:root {
  --primary: #C4956A;
  --primary-dark: #A07850;
  --brand-blue: #1A3C8F;
  --brand-blue-light: #4A7FD4;
  --dark: #1A1A1A;
  --text: #333333;
  --text-muted: #777777;
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --border: #E5DDD5;
  --rose: #D4A0A5;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4, h5 { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-whatsapp {
  background: #25D366; color: white;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; padding: 14px 32px;
}
.btn-whatsapp:hover { background: #20b557; }
.btn-danger { background: #e53e3e; color: white; }
.btn-secondary { background: #6b7280; color: white; }
.btn-secondary:hover { background: #4b5563; }
.btn-sm { padding: 6px 14px; font-size: 0.85rem; }

/* Header - 2-tier */
.site-header { position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.header-top-bar { background: var(--bg-card); border-bottom: 1px solid var(--border); }
.header-top-inner { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 58px; width: auto; }
.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem; font-weight: 700;
  color: var(--brand-blue);
  text-transform: uppercase; letter-spacing: 3px; line-height: 1.1;
}
.logo-sub { font-size: 0.63rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.header-links { display: flex; align-items: center; }
.header-links a { margin-left: 22px; color: var(--text); font-weight: 500; font-size: 0.88rem; transition: color 0.2s; }
.header-links a:hover, .header-links a.active { color: var(--brand-blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; color: var(--text); }

/* Category nav bar */
.header-cat-bar { background: var(--brand-blue); }
.cat-nav { display: flex; align-items: center; overflow: visible; scrollbar-width: none; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-block; padding: 11px 18px;
  color: rgba(255,255,255,0.80); font-size: 0.84rem; font-weight: 500;
  border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.2s;
}
.cat-nav a:hover, .cat-nav a.active { color: white; border-bottom-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.cat-nav-loading { padding: 10px 18px; color: rgba(255,255,255,0.45); font-size: 0.84rem; }

/* Category nav dropdown */
.cat-nav-item { position: relative; display: inline-flex; align-items: stretch; }
.cat-nav-item > a { display: inline-flex; align-items: center; gap: 5px; }
.cat-nav-item > a i { font-size: 0.65rem; opacity: 0.7; transition: transform 0.2s; }
.cat-nav-item:hover > a i { transform: rotate(180deg); }
.cat-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  min-width: 190px; background: var(--bg-card);
  border-radius: 0 0 8px 8px; box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 300; overflow: hidden;
}
.cat-dropdown a {
  display: block; padding: 10px 16px;
  color: var(--text); font-size: 0.83rem; font-weight: 500;
  border-bottom: 1px solid var(--border); white-space: nowrap;
  transition: all 0.15s; background: var(--bg-card);
}
.cat-dropdown a:last-child { border-bottom: none; }
.cat-dropdown a:hover { background: #F5F0EB; color: var(--primary); padding-left: 22px; }
.cat-nav-item:hover .cat-dropdown { display: block; }

/* Sub-category chips (products page) */
.sub-chips-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; margin-right: 6px; white-space: nowrap; }
.chip.sub-chip { background: #F0EAF5; color: #7B4FA6; border-color: #D4B8E8; font-size: 0.78rem; }
.chip.sub-chip.active, .chip.sub-chip:hover { background: #7B4FA6; color: white; border-color: #7B4FA6; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1A1A1A 0%, #3D2B1F 100%);
  color: white; padding: 110px 0; text-align: center;
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: -1px; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 40px; }
.hero-accent { color: var(--primary); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-header p { color: var(--text-muted); }
.section-divider { width: 60px; height: 3px; background: var(--primary); margin: 14px auto 0; border-radius: 2px; }

/* Category Grid */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.category-card {
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer; text-align: center;
}
.category-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.category-card-img {
  width: 100%; height: 150px; object-fit: cover;
  background: linear-gradient(135deg, var(--primary) 0%, var(--rose) 100%);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 2.5rem;
}
.category-card-img img { width: 100%; height: 100%; object-fit: cover; }
.category-card-body { padding: 16px 12px; }
.category-card-body h3 { font-size: 0.9rem; font-weight: 600; font-family: 'Inter', sans-serif; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--bg-card); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.product-card-img {
  width: 100%; height: 240px; object-fit: cover;
  background: linear-gradient(135deg, #f0e8e0 0%, #e8d8cc 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 3rem;
}
.product-card-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card-body { padding: 16px; }
.product-category-badge {
  font-size: 0.75rem; color: var(--primary); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.product-card-body h3 { font-size: 1rem; margin-bottom: 8px; font-weight: 600; font-family: 'Inter', sans-serif; }
.product-price { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price-current { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); }
.price-original { font-size: 0.9rem; color: var(--text-muted); text-decoration: line-through; }
.price-discount { font-size: 0.8rem; color: #22c55e; font-weight: 600; }

/* About */
.about-section { background: var(--dark); color: white; }
.about-section h2 { color: var(--primary); font-size: 2.2rem; margin-bottom: 20px; }
.about-section p { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.8; max-width: 620px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-features { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.about-feature { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); font-size: 0.95rem; }
.about-feature i { color: var(--primary); width: 20px; }

/* Enquiry Form */
.enquiry-form {
  max-width: 620px; margin: 0 auto;
  background: var(--bg-card); padding: 40px; border-radius: 16px; border: 1px solid var(--border);
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 0.9rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: 6px; font-size: 0.95rem; font-family: inherit;
  background: var(--bg); color: var(--text); transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo-text { color: var(--brand-blue-light); display: block; font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 0.9rem; font-family: 'Inter', sans-serif; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.85rem; }

/* Products Page */
.page-hero { background: var(--dark); color: white; padding: 40px 0; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { color: rgba(255,255,255,0.7); margin-top: 6px; }

.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; padding: 40px 0; }
.filter-sidebar { background: var(--bg-card); border-radius: 12px; padding: 24px; border: 1px solid var(--border); position: sticky; top: 124px; }
.filter-sidebar h3 { font-size: 1rem; font-weight: 600; font-family: 'Inter', sans-serif; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.filter-group { margin-bottom: 24px; }
.filter-group h4 { font-size: 0.85rem; font-weight: 600; font-family: 'Inter', sans-serif; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 6px 14px; border-radius: 100px; font-size: 0.85rem; cursor: pointer; border: 1px solid var(--border); background: var(--bg); transition: all 0.2s; }
.chip.active, .chip:hover { background: var(--primary); color: white; border-color: var(--primary); }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; margin-bottom: 24px; }
.search-box input { border: none; background: none; flex: 1; font-size: 0.9rem; font-family: inherit; outline: none; }
.search-box i { color: var(--text-muted); }
.products-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.products-count { color: var(--text-muted); font-size: 0.9rem; }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg-card); cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.page-btn.active, .page-btn:hover:not(:disabled) { background: var(--primary); color: white; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Product Detail */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding: 50px 0; }
.gallery-main { width: 100%; height: 480px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); background: linear-gradient(135deg, #f0e8e0 0%, #e8d8cc 100%); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--text-muted); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); cursor: pointer; transition: border-color 0.2s; flex-shrink: 0; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.product-detail-info h1 { font-size: 1.45rem; margin-bottom: 10px; }
.product-detail-category { color: var(--primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.product-detail-price { display: flex; align-items: baseline; gap: 14px; margin: 20px 0; }
.product-detail-price .price-current { font-size: 2rem; }
.product-detail-desc { color: var(--text-muted); line-height: 1.8; margin-bottom: 24px; }
.product-detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.stock-badge { display: inline-block; padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.stock-badge.in-stock { background: #dcfce7; color: #166534; }
.stock-badge.out-of-stock { background: #fee2e2; color: #991b1b; }
.size-label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 20px; }
.size-chip { padding: 5px 12px; border: 1.5px solid var(--border); border-radius: 4px; font-size: 0.82rem; cursor: default; background: #fff; color: var(--text); }
.size-chip.out-of-stock { text-decoration: line-through; color: #bbb; border-color: #e0e0e0; background: #f7f7f7; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.9rem; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

/* Empty state */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state i { font-size: 3rem; margin-bottom: 16px; display: block; }

/* Loading spinner */
.loading { text-align: center; padding: 40px; color: var(--text-muted); }
.loading i { font-size: 2rem; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Admin Styles */
.admin-body { display: flex; min-height: 100vh; background: #f1f5f9; }
.admin-sidebar {
  width: 240px; background: var(--dark); color: white;
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto;
}
.admin-sidebar-header { padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.admin-sidebar-header .logo-text { color: var(--brand-blue-light); font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; display: block; }
.admin-sidebar-header small { color: rgba(255,255,255,0.5); font-size: 0.75rem; }
.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: all 0.2s; }
.admin-nav a:hover, .admin-nav a.active { background: rgba(196,149,106,0.2); color: var(--primary); }
.admin-nav a i { width: 18px; text-align: center; }
.admin-content { flex: 1; margin-left: 240px; padding: 30px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.admin-topbar h1 { font-size: 1.5rem; font-weight: 600; }
.admin-topbar .user-info { font-size: 0.9rem; color: var(--text-muted); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { background: white; border-radius: 12px; padding: 24px; border: 1px solid #e2e8f0; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.stat-icon { font-size: 2rem; color: var(--primary); opacity: 0.2; float: right; margin-top: -48px; }

.admin-card { background: white; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; margin-bottom: 24px; }
.admin-card-header { padding: 20px 24px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; }
.admin-card-header h2 { font-size: 1.1rem; font-weight: 600; font-family: 'Inter', sans-serif; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th { padding: 12px 16px; text-align: left; background: #f8fafc; font-weight: 600; color: var(--text-muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 1px solid #e2e8f0; }
.admin-table td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.admin-table img { width: 48px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid #e2e8f0; }

.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.78rem; font-weight: 600; }
.badge-success { background: #dcfce7; color: #166534; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: white; border-radius: 16px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; }
.modal-header h3 { font-size: 1.1rem; font-family: 'Inter', sans-serif; font-weight: 600; }
.modal-close { background: none; border: none; font-size: 1.3rem; cursor: pointer; color: var(--text-muted); padding: 4px; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #e2e8f0; display: flex; justify-content: flex-end; gap: 12px; }

/* Toggle */
.toggle { position: relative; display: inline-block; width: 44px; height: 24px; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider { position: absolute; cursor: pointer; inset: 0; background: #cbd5e1; border-radius: 100px; transition: 0.2s; }
.toggle-slider:before { content: ''; position: absolute; height: 18px; width: 18px; left: 3px; bottom: 3px; background: white; border-radius: 50%; transition: 0.2s; }
.toggle input:checked + .toggle-slider { background: var(--primary); }
.toggle input:checked + .toggle-slider:before { transform: translateX(20px); }

/* Image upload */
.image-preview-box { width: 100%; height: 180px; border: 2px dashed var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-top: 8px; overflow: hidden; position: relative; cursor: pointer; background: var(--bg); }
.image-preview-box img { width: 100%; height: 100%; object-fit: cover; }
.image-preview-placeholder { text-align: center; color: var(--text-muted); }
.image-preview-placeholder i { font-size: 2rem; display: block; margin-bottom: 8px; }

/* Admin Login */
.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--dark) 0%, #3D2B1F 100%); display: flex; align-items: center; justify-content: center; }
.login-card { background: white; border-radius: 16px; padding: 48px 40px; width: 100%; max-width: 400px; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-card img { height: 60px; margin-bottom: 20px; }
.login-card h1 { font-size: 1.4rem; margin-bottom: 6px; }
.login-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ==================== NEW ARRIVALS CAROUSEL ==================== */
.arrivals-section { background: #ECF0FB; padding: 26px 0 30px; }

.carousel-wrapper {
  position: relative;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 36px rgba(26,60,143,0.13);
  height: 370px;
}
.carousel-inner { position: relative; width: 100%; height: 100%; }
.carousel-loading {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #e0e8f8; color: var(--brand-blue); font-size: 2rem;
}
.carousel-slide {
  position: absolute; inset: 0;
  display: flex; opacity: 0; transition: opacity 0.75s ease;
  pointer-events: none;
}
.carousel-slide.active { opacity: 1; pointer-events: auto; }

/* Split panels */
.slide-img-panel { flex: 0 0 55%; overflow: hidden; position: relative; }
.slide-img-panel img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.slide-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.08); font-size: 12rem;
}
.slide-info-panel {
  flex: 1; background: #EEF3FF;
  padding: 36px 38px; display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.slide-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-blue); color: white;
  font-size: 0.63rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px; margin-bottom: 14px; align-self: flex-start;
}
.slide-info-panel h2 {
  font-size: 1.75rem; color: var(--brand-blue); line-height: 1.25;
  margin-bottom: 10px; font-family: 'Playfair Display', serif;
}
.slide-tagline { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 18px; line-height: 1.65; max-width: 300px; }
.slide-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.slide-price-cur { font-size: 1.65rem; font-weight: 700; color: var(--brand-blue); }
.slide-price-orig { font-size: 0.88rem; color: var(--text-muted); text-decoration: line-through; }
.price-discount { font-size: 0.78rem; color: #22c55e; font-weight: 700; }
.slide-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Arrows */
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px;
  background: white; border: none;
  color: var(--brand-blue); border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: all 0.2s; z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.carousel-arrow:hover { background: var(--brand-blue); color: white; }
.carousel-arrow.prev { left: 12px; }
.carousel-arrow.next { right: 12px; }

/* Dots */
.carousel-nav {
  display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 14px;
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(26,60,143,0.25); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.carousel-dot.active { width: 24px; border-radius: 4px; background: var(--brand-blue); }

/* ==================== LIGHTBOX ==================== */
.lightbox-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); z-index: 9000;
  flex-direction: column; align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }

.lightbox-img-wrap {
  flex: 1; width: 100%; display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: zoom-in; position: relative;
}
.lightbox-img-wrap.zoomed { cursor: move; }

#lbImage {
  max-width: 90vw; max-height: 80vh; object-fit: contain;
  transform-origin: center center; transition: transform 0.15s ease;
  user-select: none; -webkit-user-drag: none; pointer-events: none;
}

.lightbox-close {
  position: absolute; top: 16px; right: 20px; z-index: 10;
  background: rgba(255,255,255,0.12); border: none; color: white;
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.28); }

.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(255,255,255,0.12); border: none; color: white;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-arrow:hover { background: rgba(255,255,255,0.30); }
.lightbox-arrow.hidden { visibility: hidden; pointer-events: none; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-controls {
  display: flex; align-items: center; gap: 10px; padding: 12px 0 16px;
}
.lightbox-zoom-btn {
  background: rgba(255,255,255,0.12); border: none; color: white;
  width: 38px; height: 38px; border-radius: 8px; font-size: 0.9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-zoom-btn:hover { background: rgba(255,255,255,0.28); }
.lightbox-zoom-label {
  color: rgba(255,255,255,0.65); font-size: 0.85rem; min-width: 46px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.lightbox-counter {
  position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.45); font-size: 0.8rem; pointer-events: none;
}

/* Clickable hint on main gallery image */
.gallery-main-clickable { cursor: zoom-in; }
.gallery-main-clickable:hover::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.45); color: white;
  padding: 7px 9px; border-radius: 6px; font-size: 0.9rem;
  pointer-events: none;
}
.gallery-main { position: relative; }

/* ==================== HOVER ZOOM ==================== */
.gallery-zoom-lens {
  position: absolute; border: 2px solid var(--primary);
  background: rgba(196,149,106,0.12);
  pointer-events: none; display: none; z-index: 10;
  border-radius: 4px; box-sizing: border-box;
  width: 120px; height: 120px;
}
.gallery-zoom-result {
  display: none; position: fixed;
  width: 300px; height: 300px;
  border: 1px solid var(--border); border-radius: 12px;
  background-color: #f9f5f1; background-repeat: no-repeat;
  z-index: 9999; box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  pointer-events: none; overflow: hidden;
}

/* ==================== MULTI-IMAGE UPLOAD ==================== */
.multi-img-area {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 12px; border: 1px solid var(--border); border-radius: 8px;
  background: var(--bg); min-height: 106px; align-items: flex-start; margin-top: 8px;
}
.img-thumb { position: relative; width: 80px; height: 80px; flex-shrink: 0; }
.img-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px; border: 2px solid var(--border); display: block;
}
.img-thumb.is-primary img { border-color: var(--primary); }
.primary-tag {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: var(--primary); color: white; font-size: 0.58rem; font-weight: 700;
  text-align: center; padding: 2px 0; border-radius: 0 0 4px 4px;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.del-img-btn {
  position: absolute; top: -7px; right: -7px;
  width: 20px; height: 20px; background: #e53e3e; color: white;
  border: 2px solid white; border-radius: 50%; cursor: pointer;
  font-size: 0.6rem; display: flex; align-items: center; justify-content: center;
}
.add-img-tile {
  width: 80px; height: 80px; border: 2px dashed #cbd5e1; border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer; color: #94a3b8; font-size: 0.68rem; gap: 5px;
  transition: all 0.2s; background: white; flex-shrink: 0; text-align: center;
}
.add-img-tile:hover { border-color: var(--primary); color: var(--primary); }
.add-img-tile i { font-size: 1.3rem; }
.img-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

/* Responsive */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Carousel mobile: stack panels vertically */
  .carousel-wrapper { height: auto; border-radius: 10px; }
  .carousel-slide { flex-direction: column; }
  .carousel-inner { height: 480px; }
  .slide-img-panel { flex: 0 0 220px; }
  .slide-info-panel { padding: 22px 24px; flex: 1; }
  .slide-info-panel h2 { font-size: 1.3rem; }
  .slide-price-cur { font-size: 1.3rem; }
  .arrivals-section { padding: 16px 0 20px; }

  .hero h1 { font-size: 2.2rem; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 1fr; padding: 20px 0; }
  .filter-sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; gap: 30px; padding: 30px 0; }
  .gallery-main { height: 300px; }

  /* Mobile header: show toggle, hide cat bar links */
  .header-links { display: none; }
  .header-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: white; padding: 16px 20px; border-bottom: 1px solid var(--border); z-index: 99; }
  .header-links.open a { margin: 8px 0; }
  .nav-toggle { display: block; }
  .site-header { position: sticky; }
  .header-cat-bar { display: none; }

  .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; z-index: 200; }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { margin-left: 0; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.8rem; }
  .enquiry-form { padding: 24px 16px; }
  .login-card { padding: 32px 24px; }
}
