/* assets/css/style.css - Tayba Jewelry Premium Design */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --gold: #d4c3a5;
  --gold-light: #f7e7ce;
  --gold-dark: #b0a085;
  --gold-pale: #f8f4eb;
  --gold-bg: #fffcf5;
  --dark: #0b0d0f;
  --text: #1a1b1e;
  --text-muted: #7c7261;
  --border: #e6dfd1;
  --white: #ffffff;
  --shadow-gold: 0 8px 30px rgba(212,195,165,0.18);
  --radius: 16px;
  --transition: 0.3s ease;
  
  /* Theme Variables */
  --body-bg: #faf8f2;
  --card-bg: #ffffff;
  --header-bg: rgba(250, 248, 242, 0.96);
  --input-bg: #f5f2eb;
  --modal-bg: #ffffff;
  --footer-bg: linear-gradient(180deg, #121417 0%, #0b0d0f 100%);
}

.dark-theme {
  --body-bg: #0b0d0f;
  --card-bg: #161a1d;
  --header-bg: rgba(11, 13, 15, 0.96);
  --input-bg: #1d2226;
  --text: #f7e7ce;
  --text-muted: #b0a591;
  --border: #2a2e33;
  --gold-pale: #1d2024;
  --gold-bg: #121417;
  --modal-bg: #161a1d;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
button, input, select, textarea { font-family: 'Cairo', sans-serif; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--body-bg);
  color: var(--text);
  direction: rtl;
  line-height: 1.7;
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.site-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: var(--shadow-gold);
}
.logo-name { display: block; font-size: 18px; font-weight: 800; color: var(--gold-dark); line-height: 1.1; }
.logo-tagline { display: block; font-size: 11px; color: var(--text-muted); }

.header-search { flex: 1; max-width: 420px; }
.search-wrap { position: relative; }
.search-wrap input {
  width: 100%;
  background: var(--input-bg);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 10px 44px 10px 16px;
  font-family: 'Cairo', sans-serif; font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all var(--transition);
}
.search-wrap input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,0.12); }

/* ===== UTILITIES ===== */
.site-container { max-width: 1400px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.d-flex { display: flex; }
.flex-column { flex-direction: column; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-20 { margin-bottom: 20px; }
.mb-32 { margin-bottom: 32px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-60 { margin-bottom: 60px; }
.fw-800 { font-weight: 800; }
.fs-28 { font-size: 28px; }
.fs-14 { font-size: 14px; }
.text-gold { color: var(--gold-dark); }
.text-muted { color: var(--text-muted); }
.underline { text-decoration: underline; }
.search-wrap button {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--gold); cursor: pointer; font-size: 15px;
}

.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; border-radius: 10px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover { background: var(--gold-pale); color: var(--gold-dark); }
.nav-wa {
  padding: 8px 16px; border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.nav-wa:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }

/* Mobile menu */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
  margin-right: auto;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--gold-dark); border-radius: 2px; transition: all 0.3s; }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav { 
  display: none; 
  position: fixed;
  inset: 0;
  background: var(--card-bg);
  z-index: 2000;
  overflow-y: auto;
}
.mobile-nav.open { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
.mobile-nav-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px; border-bottom: 1.5px solid var(--border);
}
.mobile-close-btn {
    background: var(--gold-pale); border: none; width: 40px; height: 40px;
    border-radius: 50%; color: var(--gold-dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.mobile-nav-link { 
  display: flex; align-items: center; padding: 18px 24px; 
  font-size: 16px; font-weight: 700; color: var(--text); 
  text-decoration: none; border-bottom: 1.2px solid var(--border); 
}
.wa-link { color: #25d366 !important; background: rgba(37,211,102,0.05); }

/* ===== HERO / FILTER BAR ===== */
.filter-section {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 72px; z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.filter-inner {
  max-width: 1400px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 10px; overflow-x: auto;
  scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar { display: none; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: #fff; font-family: 'Cairo', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--text-muted); cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: all var(--transition);
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-dark); background: var(--gold-pale); }
.filter-chip.active { border-color: var(--gold); background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; }
.filter-chip .icon { font-size: 15px; }

/* ===== PRODUCTS GRID (Bento Masterpiece Edition) ===== */
.products-section { max-width: 1400px; margin: 0 auto; padding: 40px 24px; }
.products-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.products-title { font-size: 24px; font-weight: 900; color: var(--text); }
.products-count { font-size: 15px; color: var(--text-muted); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(280px, auto);
  grid-auto-flow: dense;
  gap: 28px;
  width: 100%;
}

/* Bento Span Variants */
.products-grid > .item-card.bento-1-1 { grid-column: span 1; grid-row: span 1; }
.products-grid > .item-card.bento-2-1 { grid-column: span 2; grid-row: span 1; }
.products-grid > .item-card.bento-1-2 { grid-column: span 1; grid-row: span 2; }
.products-grid > .item-card.bento-2-2 { grid-column: span 2; grid-row: span 2; }
.products-grid > .item-card.bento-2-3 { grid-column: span 2; grid-row: span 3; }

/* Entrance Animation */
.products-grid > .item-card { 
  animation: bentoEntrance 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes bentoEntrance {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Responsive Grid */
@media (max-width: 1000px) { 
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } 
    .products-grid > .item-card { grid-column: span 1 !important; grid-row: span 1 !important; }
}
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; gap: 20px; } }

/* Mixed-Media Bento Variants */
.item-card.bento-text-only {
  background: linear-gradient(135deg, var(--gold-dark), #1a1005); color: #fff;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 48px;
}
.item-card.bento-text-only.bg-light { background: var(--gold-bg); color: var(--gold-dark); border: 2.5px solid var(--gold-pale); }
.bento-text-content h3 { font-size: 32px; font-weight: 950; line-height: 1; margin-bottom: 16px; font-family: 'Cairo', sans-serif; }
.bento-text-content .weight { font-size: 15px; letter-spacing: 3px; text-transform: uppercase; opacity: 0.9; margin-bottom: 8px; display: block; }

.item-card.bento-spacer { 
  background: var(--gold-pale); border: none; min-height: 180px; 
  display: flex; align-items: center; justify-content: center; opacity: 0.6;
}
.item-card.bento-spacer.bg-dark { background: var(--dark); opacity: 1; }
.item-card.bento-spacer i { font-size: 30px; color: var(--gold); opacity: 0.4; }

/* Overlays for Large Items (2-2, 2-3) */
.item-card.bento-overlay .item-card-img { height: 100%; aspect-ratio: unset; }
.item-card.bento-overlay .item-card-body {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
  padding: 40px 32px 30px; color: #fff; pointer-events: none;
}
.item-card.bento-overlay .item-title a { color: #fff; font-size: 24px; text-shadow: 0 4px 8px rgba(0,0,0,0.6); font-weight: 900; }
.item-card.bento-overlay .spec-tag { background: rgba(212,160,23,0.4); color: #fff; border: 1.5px solid rgba(255,255,255,0.3); padding: 6px 14px; }
.item-card.bento-overlay .item-desc, .item-card.bento-overlay .item-actions { display: none; }

/* ===== ITEM CARD (Immersive Edition) ===== */
.item-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 100%;
}
.item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), var(--shadow-gold);
  border-color: rgba(212,160,23,0.6);
}
.item-card-img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  overflow: hidden;
  background: #111;
}
.item-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.item-card:hover .item-card-img img { transform: scale(1.08); }
.item-no-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: rgba(212,160,23,0.1);
}

.item-card-body { 
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 30px 24px 20px; 
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, transparent 100%);
  display: flex; flex-direction: column; gap: 10px;
  color: #fff;
}
.item-title { font-size: 16px; font-weight: 800; line-height: 1.4; }
.item-title a { color: #fff; text-decoration: none; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.item-title a:hover { color: var(--gold-light); }

.item-specs { display: flex; gap: 8px; flex-wrap: wrap; }
.spec-tag {
  font-size: 11px; background: rgba(255,255,255,0.1);
  color: #fff; padding: 4px 12px; border-radius: 999px; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
}
.item-desc { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.55; }
.item-actions { display: flex; gap: 10px; margin-top: 8px; }

/* Bento Specific body handling */
.item-card.bento-1-1 .item-desc { display: none; }
.item-card.bento-1-1 .item-title { font-size: 14px; }
.item-card.bento-1-2 .item-desc { display: none; }

.btn-primary-card {
  flex: 1; text-align: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark); font-weight: 800; font-size: 13px;
  padding: 12px; border-radius: 12px; text-decoration: none;
  transition: all var(--transition);
  border: none; cursor: pointer;
}
.btn-primary-card:hover { box-shadow: 0 8px 20px rgba(212,160,23,0.4); transform: translateY(-2px); }
.btn-wa-card, .btn-question-card {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; font-size: 18px; text-decoration: none;
  transition: all var(--transition);
}
.btn-wa-card { background: #25d366; color: #fff; flex: 0 0 44px; }
.btn-wa-card:hover { background: #128c7e; transform: translateY(-2px); }

/* Badges on Immersive */
.metal-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 5px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Metal Badge Color Mappings */
.badge-gold       { background: rgba(212,195,165,0.9); color: #0b0d0f; }
.badge-silver     { background: rgba(156,163,175,0.9); color: #fff; }
.badge-rose       { background: rgba(244,114,182,0.9); color: #fff; }
.badge-white-gold { background: rgba(229,231,235,0.95); color: #4b5563; }
.badge-platinum   { background: rgba(99,102,241,0.9); color: #fff; }
.badge-emerald    { background: rgba(16,185,129,0.9); color: #fff; }
.badge-ruby       { background: rgba(239,68,68,0.9); color: #fff; }
.badge-sapphire   { background: rgba(59,130,246,0.9); color: #fff; }
.badge-diamond    { background: rgba(147,197,253,0.95); color: #1e3a8a; }
.badge-onyx       { background: rgba(31,41,55,0.9); color: #fff; }
.badge-pearl      { background: rgba(249,250,251,0.95); color: #4b5563; border: 1px solid rgba(0,0,0,0.05); }
.badge-amethyst   { background: rgba(168,85,247,0.9); color: #fff; }
.badge-topaz      { background: rgba(245,158,11,0.9); color: #fff; }
.badge-aquamarine { background: rgba(34,211,238,0.9); color: #083344; }
.badge-citrine    { background: rgba(234,179,8,0.9); color: #422006; }
.badge-champagne  { background: rgba(254,243,199,0.95); color: #92400e; }
.featured-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: linear-gradient(135deg, #d4a017, #f5c842, #d4a017);
  color: #1a1005; padding: 6px 14px; border-radius: 12px;
  font-size: 11px; font-weight: 950;
  text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(212,160,23,0.45);
  border: 1px solid rgba(255,255,255,0.25);
  animation: shine-badge 3s infinite;
}
@keyframes shine-badge {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; filter: brightness(1.2); }
}
.sold-overlay {
  position: absolute; inset: 0; z-index: 4;
  background: rgba(0,0,0,0.65); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
}
.views-pill {
  position: absolute; top: 55px; right: 16px; z-index: 2;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
  color: rgba(255,255,255,0.9); padding: 4px 12px; border-radius: 999px; font-size: 11px;
}

/* ===== EMPTY STATE ===== */
.empty-products {
  text-align: center; padding: 80px 20px;
  color: var(--text-muted);
}
.empty-products i { font-size: 60px; opacity: 0.3; margin-bottom: 16px; display: block; }
.empty-products p { font-size: 18px; font-weight: 600; }

/* ===== ITEM DETAIL ===== */
.item-detail-section { max-width: 1100px; margin: 0 auto; padding: 32px 24px; }
.item-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.gallery-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: #f0e8d8; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-main img:hover { transform: scale(1.04); }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 12px; }
.thumb-btn {
  border-radius: 10px; overflow: hidden; aspect-ratio: 1;
  border: 2px solid transparent; cursor: pointer; background: #f0e8d8;
  transition: border-color var(--transition); padding: 0;
}
.thumb-btn.active, .thumb-btn:hover { border-color: var(--gold); }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; display: block; }

.item-detail-info { position: sticky; top: 90px; }
.item-detail-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.item-detail-title { font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 16px; line-height: 1.3; }
.detail-specs { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.detail-spec-card {
  flex: 1; min-width: 110px;
  background: var(--gold-pale); border-radius: 12px; padding: 14px;
  text-align: center; border: 1px solid rgba(212,160,23,0.2);
}
.detail-spec-card .spec-label { font-size: 11px; color: var(--text-muted); }
.detail-spec-card .spec-val { font-size: 16px; font-weight: 800; color: var(--gold-dark); margin-top: 4px; }
.item-detail-desc { font-size: 15px; color: var(--text); line-height: 1.9; margin-bottom: 24px; background: var(--gold-bg); border-radius: 12px; padding: 16px; border-right: 3px solid var(--gold); }
.item-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-detail-wa {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-weight: 700; font-size: 16px;
  padding: 14px; border-radius: 12px; text-decoration: none;
  transition: all var(--transition);
}
.btn-detail-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,211,102,0.4); }
.btn-detail-ask {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark); font-weight: 700; font-size: 16px;
  padding: 14px; border-radius: 12px; border: none; cursor: pointer;
  font-family: 'Cairo', sans-serif;
  transition: all var(--transition);
}
.btn-detail-ask:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.views-count { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; margin-bottom: 20px; }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: none; align-items: center; justify-content: center; z-index: 500;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--modal-bg); border-radius: 20px;
  width: 100%; max-width: 500px;
  max-height: 90vh; overflow-y: auto;
  padding: 28px; position: relative;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Hero Slider */
.hero-slider-wrap { position:relative;height:650px;overflow:hidden;background:#000;margin-bottom:48px; }
.hero-slider { height:100%;position:relative; }
.hero-slide { 
    position:absolute;inset:0;opacity:0;transition:opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display:flex;align-items:center;padding:0 10%;
    background-size:cover;background-position:center;
}
.hero-slide.active { opacity:1; }
.hero-slide::after { 
    content:'';position:absolute;inset:0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
    z-index:1; 
}
[dir="rtl"] .hero-slide::after {
    background: linear-gradient(-90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, transparent 100%);
}
.slide-content { position:relative;z-index:2;max-width:700px;color:#fff;transform:translateY(40px);transition:all 0.8s 0.2s cubic-bezier(0.2, 1, 0.3, 1);opacity:0; }
.hero-slide.active .slide-content { transform:translateY(0);opacity:1; }
.slide-title { font-size:56px;font-weight:900;margin-bottom:20px;color:var(--gold);line-height:1.1;text-shadow: 0 4px 20px rgba(0,0,0,0.5); }
.slide-subtitle { font-size:20px;color:rgba(255,255,255,0.9);margin-bottom:36px;line-height:1.6;font-weight:400; }
.slide-btn { display:inline-flex;align-items:center;padding:16px 36px;background:linear-gradient(135deg, var(--gold), var(--gold-light));color:var(--dark);font-weight:800;border-radius:14px;text-decoration:none;transition:all 0.3s;box-shadow: 0 8px 30px rgba(212,195,165,0.25); }
.slide-btn:hover { transform:translateY(-4px);box-shadow:0 15px 35px rgba(212,195,165,0.4); }

.slider-nav { position:absolute;bottom:40px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:12px; }
.nav-dot { width:12px;height:12px;border-radius:50%;background:rgba(255,255,255,0.35);cursor:pointer;transition:all 0.3s; }
.nav-dot.active { background:var(--gold);width:36px;border-radius:6px; }

@media (max-width: 1024px) {
    .slide-title { font-size:42px; }
    .hero-slide { padding: 0 6%; }
}
@media (max-width: 768px) {
    .hero-slider-wrap { height:480px; }
    .slide-title { font-size:32px; }
    .slide-subtitle { font-size:16px; margin-bottom:28px; }
    .hero-slide { padding:0 32px;text-align:center;justify-content:center; }
    .hero-slide::after { background:rgba(0,0,0,0.65); }
    [dir="rtl"] .hero-slide::after { background:rgba(0,0,0,0.65); }
    .slide-content { max-width:100%; }
}
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.modal-header h3 { font-size: 18px; font-weight: 800; }
.modal-close { background: #f3f4f6; border: none; border-radius: 8px; width: 34px; height: 34px; cursor: pointer; color: #6b7280; transition: all 0.2s; }
.modal-close:hover { background: #fee2e2; color: #dc2626; }
.modal-item-name { font-size: 13px; color: var(--gold-dark); font-weight: 600; margin-bottom: 20px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modal-field { margin-bottom: 14px; }
.modal-field label { display: block; font-size: 12px; font-weight: 700; color: #4a3a20; margin-bottom: 6px; }
.modal-field input, .modal-field textarea {
  width: 100%; background: var(--input-bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-family: 'Cairo', sans-serif; font-size: 14px; color: var(--text);
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.modal-field input:focus, .modal-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,0.1); }
.modal-field textarea { resize: vertical; }
.modal-actions { display: flex; gap: 10px; margin-top: 4px; }
.btn-modal-send {
  flex: 1; background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none; border-radius: 10px; color: var(--dark);
  font-family: 'Cairo', sans-serif; font-size: 15px; font-weight: 800;
  padding: 12px; cursor: pointer; transition: all var(--transition);
}
.btn-modal-send:hover { box-shadow: var(--shadow-gold); }
.btn-modal-cancel {
  padding: 12px 20px; border-radius: 10px; border: 1.5px solid var(--border);
  background: #fff; font-family: 'Cairo', sans-serif; font-size: 14px;
  cursor: pointer; color: var(--text-muted); transition: all var(--transition);
}
.btn-modal-cancel:hover { background: #f3f4f6; }
.form-msg { border-radius: 10px; padding: 12px 14px; font-size: 13px; margin-top: 12px; }
.form-msg.success { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
.form-msg.error   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

/* ===== FOOTER ===== */
.site-footer { background: linear-gradient(180deg, #121417 0%, #0b0d0f 100%); color: rgba(247,231,206,0.7); margin-top: 60px; }
.footer-inner { max-width: 1400px; margin: 0 auto; padding: 48px 24px 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(247,231,206,0.1); }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo .logo-icon { background: linear-gradient(135deg, var(--gold), var(--gold-light)); }
.footer-logo span { font-size: 20px; font-weight: 800; color: #f7e7ce; }
.footer-desc { font-size: 14px; line-height: 1.8; color: rgba(247,231,206,0.45); margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; text-decoration: none; transition: all var(--transition);
  background: rgba(255,255,255,0.05); color: #f7e7ce; border: 1px solid rgba(247,231,206,0.2);
}
.social-btn:hover { background: #f7e7ce; color: #0b0d0f; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(247,231,206,0.3); }
.site-footer h4 { color: #f7e7ce; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(247,231,206,0.55); text-decoration: none; font-size: 14px; transition: color var(--transition); }
.footer-links a:hover { color: #f7e7ce; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: rgba(247,231,206,0.55); font-size: 13px; }
.footer-contact-item i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { text-align: center; padding-top: 20px; color: rgba(247,231,206,0.25); font-size: 13px; }

/* ===== FLOATING WHATSAPP ===== */
.wa-fab {
  position: fixed; bottom: 28px; left: 28px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 25px rgba(37,211,102,0.5);
  transition: all var(--transition);
  animation: waPulse 2.5s ease-in-out infinite;
}
.wa-fab:hover { transform: scale(1.1); }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 6px 25px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 6px 40px rgba(37,211,102,0.8); }
}

/* ===== CONTACT PAGE ===== */
.contact-section { max-width: 1000px; margin: 0 auto; padding: 40px 24px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-card { background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); padding: 32px; }
.contact-card h2 { font-size: 22px; font-weight: 800; margin-bottom: 24px; color: var(--text); }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; color: var(--gold-dark); font-size: 17px; flex-shrink: 0; }
.contact-info-text .label { font-size: 12px; color: var(--text-muted); }
.contact-info-text .value { font-size: 15px; font-weight: 600; color: var(--text); }
.contact-form-field { margin-bottom: 16px; }
.contact-form-field label { display: block; font-size: 13px; font-weight: 700; color: #4a3a20; margin-bottom: 6px; }
.contact-form-field input, .contact-form-field textarea {
  width: 100%; background: var(--input-bg); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 11px 14px;
  font-family: 'Cairo', sans-serif; font-size: 14px; color: var(--text);
  outline: none; transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form-field input:focus, .contact-form-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,160,23,0.1); }
.contact-form-field textarea { resize: vertical; min-height: 130px; }
.btn-contact-send {
  width: 100%; padding: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none; border-radius: 12px;
  font-family: 'Cairo', sans-serif; font-size: 16px; font-weight: 800;
  color: var(--dark); cursor: pointer; transition: all var(--transition);
}
.btn-contact-send:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: linear-gradient(135deg, #1a1005 0%, #2d1f0a 50%, #1a1005 100%);
  color: #fff; text-align: center; padding: 80px 24px;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,160,23,0.15) 0%, transparent 70%);
}
.about-hero h1 { font-size: 42px; font-weight: 900; color: #f5c842; position: relative; }
.about-hero p { font-size: 17px; color: rgba(255,255,255,0.7); margin-top: 16px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { 
    background: var(--card-bg); border-radius: var(--radius); 
    border: 1px solid var(--border); padding: 32px 28px; 
    text-align: center; transition: all var(--transition); 
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-gold); border-color: var(--gold); }
.value-icon { 
    width: 64px; height: 64px; background: var(--gold-bg); 
    color: var(--gold-dark); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 20px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}
.value-card:hover .value-icon { background: var(--gold); color: #fff; transform: scale(1.1) rotate(5deg); border-color: var(--gold); }
.value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* About Stats */
.about-stat-card {
    text-align: center; background: var(--card-bg); 
    border: 1px solid var(--border); border-radius: 20px; padding: 32px;
    transition: all 0.3s;
}
.about-stat-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(212,160,23,0.1); }
.about-stat-num { font-size: 42px; font-weight: 950; color: var(--gold); line-height: 1; }
.about-stat-label { font-size: 13px; color: var(--text-muted); margin-top: 10px; font-weight: 600; }
.about-stat-icon { 
    width: 64px; height: 64px; background: var(--gold-bg); 
    color: var(--gold-dark); border-radius: 50%; 
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin: 0 auto 20px;
    border: 1px solid var(--border);
}
.about-stat-card:hover .about-stat-icon { background: var(--gold); color: #fff; transform: scale(1.1) rotate(5deg); border-color: var(--gold); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, var(--gold-pale), #fff8e6);
  border-bottom: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 28px; font-weight: 800; color: var(--text); }
.page-hero p { font-size: 15px; color: var(--text-muted); margin-top: 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .item-detail-grid { grid-template-columns: 1fr; }
  .item-detail-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 10px; }
  .header-search { order: 3; width: 100%; max-width: 100%; }
  .header-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .about-hero h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}
/* Share Card */
.share-card {
    margin-top: 32px; background: var(--card-bg); border: 1.2px solid var(--border);
    border-radius: 24px; overflow: hidden; box-shadow: var(--shadow);
}
.share-header {
    background: var(--gold-pale); padding: 12px 20px; display: flex; align-items: center; gap: 10px;
    border-bottom: 1.2px solid var(--border);
}
.share-header i { color: var(--gold-dark); font-size: 16px; }
.share-header h3 { font-size: 15px; font-weight: 800; color: var(--text); margin: 0; }
.share-content { padding: 24px; display: flex; gap: 24px; align-items: center; }
.share-qr-side { text-align: center; flex-shrink: 0; padding: 10px; background: #fff; border-radius: 16px; border: 4px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.share-qr-side p { font-size: 10px; color: #666; margin-top: 6px; font-weight: 700; }
.share-actions-side { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.btn-share-wa, .btn-share-link {
    width: 100%; padding: 14px; border-radius: 12px; border: none; font-family: 'Cairo', sans-serif;
    font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 10px; text-decoration: none; transition: all 0.3s;
}
.btn-share-wa { background: #25d366; color: #fff; }
.btn-share-wa:hover { background: #128c7e; transform: translateX(-4px); }
.btn-share-link { background: var(--gold-pale); color: var(--gold-dark); border: 1.5px dashed var(--gold); }
.btn-share-link:hover { background: var(--gold); color: #fff; transform: translateX(-4px); }

@media (max-width: 600px) {
    .share-content { flex-direction: column; text-align: center; }
    .share-actions-side { width: 100%; }
}

/* Theme Toggle */
.theme-toggle-btn {
    background: var(--gold-pale); border: none; width: 40px; height: 40px;
    border-radius: 12px; color: var(--gold-dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
    transition: all 0.3s; margin-right: 10px;
}
.theme-toggle-btn:hover { background: var(--gold); color: #fff; transform: rotate(15deg); }
.sun-icon { display: none; }
.dark-theme .moon-icon { display: none; }
.dark-theme .sun-icon { display: block; }
.dark-theme .theme-toggle-btn { background: #3d321d; color: #f5c842; }

/* Dashboard Utilities & Global Polishing */
.text-right { text-align: right !important; }
.p-0-24 { padding: 0 24px !important; }
.m-max-1100 { max-width: 1100px; margin: 0 auto; }
.fs-13 { font-size: 13px !important; }
.fs-20 { font-size: 20px !important; }
.c-gold { color: var(--gold) !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.ml-2 { margin-left: 8px !important; }
.fs-10 { font-size: 10px !important; }
.fs-18 { font-size: 18px !important; }
.fs-22 { font-size: 22px !important; }
.filter-chip-small { font-size: 11px !important; padding: 5px 14px !important; }

/* About Page Refinements */
.about-container { max-width: 900px; margin: 0 auto; padding: 48px 24px; }
.story-header { text-align: center; margin-bottom: 48px; }
.story-divider { width: 70px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius: 2px; margin: 0 auto 24px; }
.story-title { font-size: 26px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.story-text { font-size: 16px; color: var(--text-muted); line-height: 2; max-width: 700px; margin: 0 auto; }
.about-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.values-title { font-size: 24px; font-weight: 900; text-align: center; margin-bottom: 32px; color: var(--text); }
/* Pagination */
.pagination-wrap { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 40px 0; flex-wrap: wrap; }
.pagination { display: flex; list-style: none; gap: 6px; align-items: center; }
.page-link { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; color: var(--text-main); text-decoration: none; font-weight: 700; font-size: 14px; transition: all 0.3s; }
.page-link:hover { border-color: var(--gold); background: var(--gold-pale); color: var(--gold-dark); transform: translateY(-2px); }
.page-item.active .page-link { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); color: #1a1005; border-color: var(--gold); box-shadow: 0 5px 15px rgba(212,160,23,0.3); }
.page-item.disabled .page-link { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.page-nav-icon { font-size: 12px; }

.pagination-info { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 13px; color: var(--text-muted); }
.items-per-page { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); outline: none; font-family: inherit; font-weight: 600; cursor: pointer; }

/* CTA Section */
.about-cta { 
    text-align: center; margin-top: 56px; padding: 48px; 
    background: linear-gradient(135deg, #121417, #0b0d0f); 
    border-radius: 24px; color: #fff; 
    border: 1px solid rgba(247,231,206,0.1);
}
.cta-title { font-size: 26px; font-weight: 900; color: var(--gold-light); margin-bottom: 14px; }
.cta-text { color: rgba(247,231,206,0.6); margin-bottom: 32px; font-size: 15px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-cta-gold { padding: 14px 32px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--dark); font-weight: 800; border-radius: 12px; text-decoration: none; font-size: 15px; box-shadow: 0 4px 15px rgba(212,195,165,0.2); }
.btn-cta-outline { padding: 14px 32px; background: rgba(255,255,255,0.05); color: #fff; font-weight: 700; border-radius: 12px; text-decoration: none; font-size: 15px; border: 1.5px solid rgba(247,231,206,0.2); transition: all 0.3s; }
.btn-cta-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--gold-light); color: var(--gold-light); }

/* Contact Page Refinements */
.btn-wa-contact { 
    display: flex; align-items: center; justify-content: center; gap: 10px; 
    margin-top: 16px; padding: 14px; background: linear-gradient(135deg, #25d366, #128c7e); 
    color: #fff !important; font-weight: 700; font-size: 15px; border-radius: 12px; 
    text-decoration: none; transition: all 0.3s; 
}
.btn-wa-contact:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37,211,102,0.3); }
.contact-map-frame { width: 100%; height: 250px; border: 0; border-radius: 12px; }
.address-text { margin-top: 12px; font-size: 13px; color: var(--text-muted); }
.form-msg { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-weight: 600; display: none; }
.form-msg.success { background: #dcfce7; color: #166534; }
.form-msg.error { background: #fee2e2; color: #991b1b; }

@media (max-width: 768px) {
    .about-stats-grid { grid-template-columns: 1fr; }
}

/* Gold Gradient Button */
.btn-gold-gradient {
    display: inline-block; padding: 10px 24px; 
    background: linear-gradient(135deg, var(--gold), var(--gold-light)); 
    color: var(--dark) !important; font-weight: 700; border-radius: 10px; 
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212,195,165,0.2);
}
.btn-gold-gradient:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,195,165,0.35); }

/* Item Detail Header Fix */
.detail-breadcrumb { font-size: 13px; color: var(--text-muted); margin-bottom: 6px; }
.detail-breadcrumb a { color: var(--gold-dark); text-decoration: none; }
.detail-breadcrumb i { font-size: 10px; margin: 0 6px; }

/* Badges Relative Fix */
.badge-relative { position: relative !important; top: auto !important; right: auto !important; left: auto !important; }
.sold-badge-pill { background: #fee2e2; color: #b91c1c; padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; }

/* Inquiry Buttons */
.btn-wa-detail-gradient { 
    flex: 1; background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; 
    box-shadow: 0 8px 20px rgba(37,211,102,0.25); 
}
.btn-ask-detail-gold { 
    background: var(--gold-pale); color: var(--gold-dark); border: 1.5px solid var(--gold); 
    font-weight: 800; flex: 0.6; 
}

/* Lightbox/Zoom */
.zoom-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9000; display: none; align-items: center; justify-content: center; cursor: zoom-out; padding: 20px; backdrop-filter: blur(5px); }
.zoom-overlay img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.5); transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); }
.zoom-overlay.active { display: flex; }
.zoom-overlay.active img { transform: scale(1); }
.zoom-close { position: absolute; top: 30px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; }

/* Header Clean Fix */
.mobile-search-form { padding: 12px 16px; }
.header-search-wrap { display: none; }
@media (min-width: 769px) {
    .header-search-wrap { display: block; }
}
