/* ============================================================
   AWAAN SHOP – COMPLETE RESPONSIVE STYLESHEET
   Supports: Android/iOS phones, tablets, iPads, laptops, desktops
============================================================ */

/* ── TOKENS ── */
:root {
  --bg:          #0d0a07;
  --bg2:         #13100c;
  --bg3:         #1c1710;
  --card:        #1e1912;
  --gold:        #c89b3c;
  --gold-light:  #e8c56d;
  --gold-dim:    #8a6820;
  --crimson:     #b33a3a;
  --teal:        #2a7a72;
  --text:        #f0e8d8;
  --text-muted:  #9a8f7e;
  --border:      rgba(200,155,60,0.18);
  --radius:      12px;
  --shadow:      0 8px 40px rgba(0,0,0,0.55);
  --header-h:    64px;
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
  --page-max:    1340px;
  --page-pad:    clamp(14px, 4vw, 40px);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }

/* ============================================================
   HEADER
============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: rgba(13,10,7,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 var(--page-pad);
  gap: 20px;
}
.brand-link {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.brand-logo-wrap {
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 10px rgba(200,155,60,0.4);
}
.brand-logo { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}
.nav-links {
  display: flex; gap: clamp(14px, 2vw, 28px); margin-left: auto;
}
.nav-links a {
  font-size: 0.82rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  white-space: nowrap;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
  background: none; border: 1.5px solid var(--border);
  border-radius: 50%; width: 40px; height: 40px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text); position: relative;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}
.cart-btn:hover { border-color: var(--gold); background: rgba(200,155,60,0.1); }
.cart-count {
  position: absolute; top: -4px; right: -4px;
  background: var(--crimson); color: #fff;
  font-size: 0.6rem; font-weight: 700;
  border-radius: 50%; min-width: 16px; height: 16px;
  display: none; align-items: center; justify-content: center;
  padding: 0 3px;
}
.admin-link {
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 20px;
  transition: all var(--transition); white-space: nowrap;
}
.admin-link:hover { color: var(--gold); border-color: var(--gold); }

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

/* Mobile nav drawer */
.mobile-nav {
  display: none; position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(13,10,7,0.97); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  z-index: 999; padding: 16px var(--page-pad) 20px;
  flex-direction: column; gap: 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 13px 0;
  font-size: 1rem; font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--gold-light); }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(200,155,60,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 15% 80%, rgba(42,122,114,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 85% 20%, rgba(179,58,58,0.08) 0%, transparent 60%),
    var(--bg);
}
.hero-particles { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold); opacity: 0;
  animation: floatUp 7s infinite ease-in;
}
@keyframes floatUp {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.08; }
  100% { transform: translateY(-110vh) scale(1); opacity: 0; }
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: min(820px, 90vw);
  padding: 40px var(--page-pad);
  animation: heroReveal 1.2s cubic-bezier(0.2,0,0,1) both;
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
  font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
  animation: heroReveal 1s 0.2s both;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 900; line-height: 1.06;
  margin-bottom: 20px;
  animation: heroReveal 1s 0.4s both;
}
.hero-title span {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, #a07010 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: var(--text-muted); max-width: 520px;
  margin: 0 auto 36px; line-height: 1.7;
  animation: heroReveal 1s 0.6s both;
}
.hero-cta {
  animation: heroReveal 1s 0.8s both;
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0d0a07; font-weight: 700; font-size: clamp(0.82rem, 2vw, 0.95rem);
  padding: clamp(11px,2vw,14px) clamp(22px,4vw,36px);
  border-radius: 50px; border: none;
  cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(200,155,60,0.35);
  white-space: nowrap;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,155,60,0.5); }
.btn-primary:active { transform: scale(0.97); }
.btn-secondary {
  background: transparent; color: var(--text);
  font-weight: 500; font-size: clamp(0.82rem, 2vw, 0.95rem);
  padding: clamp(10px,2vw,13px) clamp(22px,4vw,36px);
  border-radius: 50px; border: 1.5px solid var(--border);
  cursor: pointer; letter-spacing: 0.05em;
  transition: all var(--transition); white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }
.scroll-indicator {
  position: absolute; bottom: clamp(24px,5vh,40px); left: 50%;
  transform: translateX(-50%); z-index: 1; opacity: 0.4;
  animation: bounce 2.2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%     { transform: translateX(-50%) translateY(9px); }
}

/* ============================================================
   FEATURE STRIP
============================================================ */
.feature-strip {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(18px,4vw,28px) var(--page-pad);
}
.feature-strip-inner {
  max-width: var(--page-max); margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: clamp(12px,3vw,24px);
  text-align: center;
}
.feature-item .fi-icon { font-size: clamp(1.3rem,3vw,1.6rem); margin-bottom: 6px; }
.feature-item .fi-title { font-weight: 700; font-size: clamp(0.75rem,1.5vw,0.9rem); }
.feature-item .fi-sub   { font-size: clamp(0.68rem,1.2vw,0.78rem); color: var(--text-muted); margin-top: 2px; }

/* ============================================================
   SECTION
============================================================ */
.section {
  padding: clamp(56px,8vw,96px) var(--page-pad);
  max-width: var(--page-max);
  margin: 0 auto;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  font-weight: 700; text-align: center;
  margin-bottom: 10px;
}
.section-title span { color: var(--gold); }
.section-sub { text-align: center; color: var(--text-muted); font-size: clamp(0.85rem,1.5vw,1rem); margin-bottom: 48px; }
.divider {
  width: 56px; height: 3px; margin: 14px auto 44px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}

/* ============================================================
   PRODUCT GRID
============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: clamp(14px, 3vw, 28px);
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  animation: cardReveal 0.6s both;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,155,60,0.2);
}
.product-img-wrap {
  position: relative; width: 100%; padding-top: 108%; overflow: hidden;
  background: var(--bg3);
}
.product-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); }
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--crimson); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.product-color-dots {
  position: absolute; bottom: 10px; left: 10px;
  display: flex; gap: 5px;
}
.product-color-dots span {
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 1px 4px rgba(0,0,0,0.4);
  cursor: pointer; transition: transform var(--transition);
}
.product-color-dots span:hover { transform: scale(1.25); }
.product-body { padding: clamp(12px, 3vw, 18px); }
.product-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 700; margin-bottom: 5px; line-height: 1.3;
}
.product-desc {
  font-size: clamp(0.75rem, 1.5vw, 0.82rem);
  color: var(--text-muted); line-height: 1.55; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.price-offer  { font-size: clamp(1rem,2.5vw,1.2rem); font-weight: 700; color: var(--gold-light); }
.price-original { font-size: clamp(0.78rem,1.5vw,0.9rem); color: var(--text-muted); text-decoration: line-through; }
.price-off {
  background: rgba(200,155,60,0.15); color: var(--gold);
  font-size: 0.7rem; font-weight: 700; padding: 2px 7px; border-radius: 20px;
}
.product-card-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0d0a07; font-weight: 700; font-size: clamp(0.78rem,1.5vw,0.86rem);
  padding: clamp(9px,2vw,11px); border: none; border-radius: 8px;
  cursor: pointer; letter-spacing: 0.04em;
  transition: opacity var(--transition), transform var(--transition);
}
.product-card-btn:hover   { opacity: 0.88; }
.product-card-btn:active  { transform: scale(0.97); }

/* ============================================================
   PRODUCT MODAL – Image Gallery + Colour Variants
============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.8); backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(10px,3vw,20px);
  animation: fadeIn 0.22s both;
}
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.modal-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%; max-width: 900px;
  max-height: 92svh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  animation: slideUp 0.32s cubic-bezier(0.2,0,0,1) both;
  position: relative;
}
@keyframes slideUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* Left – gallery */
.modal-gallery {
  display: flex; flex-direction: column;
  border-radius: 16px 0 0 16px;
  overflow: hidden; background: var(--bg3);
  min-height: 0;
}
.modal-main-img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  transition: opacity 0.25s;
  flex-shrink: 0;
}
.modal-thumbnails {
  display: flex; gap: 6px; padding: 8px;
  background: rgba(0,0,0,0.3);
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: thin;
}
.modal-thumb {
  width: 52px; height: 58px; object-fit: cover;
  border-radius: 6px; flex-shrink: 0;
  cursor: pointer; opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity var(--transition), border-color var(--transition);
}
.modal-thumb.active { opacity: 1; border-color: var(--gold); }
.modal-thumb:hover  { opacity: 0.85; }

/* Right – info */
.modal-content {
  padding: clamp(20px, 4vw, 36px);
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,0.55); border: none; color: #fff;
  width: 34px; height: 34px; border-radius: 50%;
  cursor: pointer; font-size: 1rem; z-index: 10;
  transition: background var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--crimson); }
.modal-cat { font-size: 0.7rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase; font-weight: 700; }
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem,3vw,1.7rem); font-weight: 700; line-height: 1.25;
}
.modal-desc { font-size: clamp(0.8rem,1.5vw,0.9rem); color: var(--text-muted); line-height: 1.72; }
.modal-price-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.modal-price-offer   { font-size: clamp(1.4rem,3vw,1.9rem); font-weight: 800; color: var(--gold-light); }
.modal-price-original{ font-size: clamp(0.9rem,2vw,1.1rem); color: var(--text-muted); text-decoration: line-through; }
.modal-price-off {
  background: linear-gradient(135deg, var(--crimson), #e05555);
  color: #fff; padding: 3px 11px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 700;
}
.selector-label {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 9px;
}
.color-options { display: flex; gap: 9px; flex-wrap: wrap; }
.color-swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.color-swatch:hover,
.color-swatch.active { border-color: var(--gold); transform: scale(1.18); }
.size-options { display: flex; gap: 7px; flex-wrap: wrap; }
.size-btn {
  min-width: 42px; height: 36px; padding: 0 9px;
  background: transparent; border: 1.5px solid var(--border);
  color: var(--text); font-size: 0.82rem; font-weight: 600;
  border-radius: 7px; cursor: pointer;
  transition: all var(--transition);
}
.size-btn:hover,
.size-btn.active {
  border-color: var(--gold); background: rgba(200,155,60,0.12);
  color: var(--gold-light);
}
.modal-add-btn {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #0d0a07; font-weight: 800; font-size: clamp(0.88rem,2vw,1rem);
  padding: clamp(12px,3vw,15px); border: none; border-radius: 10px;
  cursor: pointer; margin-top: auto;
  transition: transform var(--transition), box-shadow var(--transition);
}
.modal-add-btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(200,155,60,0.45); }
.modal-add-btn:active { transform: scale(0.97); }

/* ============================================================
   CART SIDEBAR
============================================================ */
.cart-overlay {
  position: fixed; inset: 0; z-index: 1500;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
}
.cart-overlay.open { display: block; }
.cart-sidebar {
  position: fixed; top: 0; right: -100%; z-index: 1600;
  width: min(440px, 100vw); height: 100dvh;
  background: var(--bg2); border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: right 0.38s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { right: 0; }
.cart-header {
  padding: clamp(16px,3vw,24px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.cart-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.1rem,3vw,1.4rem); }
.close-btn {
  background: none; border: none; color: var(--text-muted);
  font-size: 1.2rem; cursor: pointer;
  transition: color var(--transition); padding: 4px;
}
.close-btn:hover { color: var(--crimson); }
.cart-items {
  flex: 1; overflow-y: auto;
  padding: clamp(10px,2vw,16px) clamp(12px,3vw,24px);
  display: flex; flex-direction: column; gap: 12px;
}
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto;
  gap: 10px; align-items: start;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 12px;
}
.cart-item-img {
  width: 64px; height: 72px; object-fit: cover;
  border-radius: 7px; flex-shrink: 0;
}
.cart-item-info h4 { font-size: clamp(0.8rem,2vw,0.9rem); font-weight: 700; margin-bottom: 3px; line-height: 1.3; }
.cart-item-meta { font-size: 0.72rem; color: var(--text-muted); line-height: 1.7; }
.cart-item-price { font-size: clamp(0.85rem,2vw,0.95rem); font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.qty-controls { display: flex; align-items: center; gap: 7px; margin-top: 9px; flex-wrap: wrap; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 6px;
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover   { background: rgba(200,155,60,0.15); border-color: var(--gold); }
.qty-btn:active  { transform: scale(0.9); }
.qty-num { font-weight: 700; min-width: 22px; text-align: center; font-size: 0.9rem; }
.remove-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 0.75rem;
  transition: color var(--transition); padding: 2px 0;
}
.remove-btn:hover { color: var(--crimson); }
.cart-empty {
  text-align: center; padding: 50px 20px; color: var(--text-muted);
}
.cart-empty svg { opacity: 0.25; margin-bottom: 14px; }
.cart-footer {
  padding: clamp(14px,3vw,20px) clamp(12px,3vw,24px);
  border-top: 1px solid var(--border); flex-shrink: 0;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px;
}
.cart-total span:first-child { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.cart-total strong { font-size: clamp(1.1rem,3vw,1.4rem); font-weight: 800; color: var(--gold-light); }
.checkout-btn {
  width: 100%; padding: clamp(12px,3vw,15px);
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-weight: 800; font-size: clamp(0.88rem,2vw,1rem);
  border: none; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.checkout-btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
.checkout-btn:active { transform: scale(0.97); }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: clamp(40px,6vw,64px) var(--page-pad) 0;
  margin-top: clamp(40px,8vw,80px);
}
.footer-inner {
  max-width: var(--page-max); margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(24px,5vw,48px);
  padding-bottom: clamp(32px,5vw,48px);
}
.footer-logo-link { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-wrap {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid var(--gold-dim); overflow: hidden; flex-shrink: 0;
}
.footer-logo { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem,2vw,1.25rem); font-weight: 700; color: var(--gold-light);
}
.footer-tagline { font-size: 0.83rem; color: var(--text-muted); line-height: 1.6; }
.footer-links, .footer-social { display: flex; flex-direction: column; gap: 9px; }
.footer-links h4, .footer-social h4 {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 5px; font-weight: 700;
}
.footer-links a, .footer-social a {
  font-size: 0.85rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover, .footer-social a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px var(--page-pad); text-align: center;
}
.footer-copy-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-copy-link:hover { color: var(--gold-light); }
.footer-copy-logo { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }

/* ============================================================
   POLICY PAGES
============================================================ */
.policy-page {
  max-width: min(820px, 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(28px,5vw,48px)) var(--page-pad) clamp(48px,8vw,80px);
}
.policy-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 900;
  margin-bottom: 6px; color: var(--gold-light);
}
.policy-page .divider { margin: 12px 0 28px; }
.policy-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.05rem,2.5vw,1.3rem); color: var(--gold);
  margin: 28px 0 10px;
}
.policy-page p  { color: var(--text-muted); line-height: 1.82; margin-bottom: 12px; font-size: clamp(0.85rem,1.5vw,0.95rem); }
.policy-page ul { color: var(--text-muted); line-height: 1.82; padding-left: 20px; margin-bottom: 12px; }
.policy-page ul li { margin-bottom: 5px; font-size: clamp(0.85rem,1.5vw,0.95rem); }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-page {
  max-width: min(920px, 100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(28px,5vw,48px)) var(--page-pad) clamp(48px,8vw,80px);
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,5vw,48px); align-items: center; margin-top: 40px;
}
.about-img {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/3; background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  font-size: clamp(3rem,8vw,5rem);
}
.about-text h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem,3vw,1.8rem); margin-bottom: 14px; }
.about-text p  { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; font-size: clamp(0.85rem,1.5vw,0.95rem); }
.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(12px,3vw,20px); margin-top: 44px;
}
.value-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(16px,3vw,24px); text-align: center;
}
.value-card .icon { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 10px; }
.value-card h3    { font-family: 'Playfair Display', serif; font-size: clamp(0.9rem,1.8vw,1rem); margin-bottom: 6px; }
.value-card p     { font-size: clamp(0.75rem,1.4vw,0.82rem); color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-page {
  max-width: min(680px,100%);
  margin: 0 auto;
  padding: calc(var(--header-h) + clamp(28px,5vw,48px)) var(--page-pad) clamp(48px,8vw,80px);
  text-align: center;
}
.contact-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: clamp(24px,5vw,40px); margin-top: 36px;
}
.contact-card p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.7; font-size: clamp(0.85rem,1.5vw,0.95rem); }
.whatsapp-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; font-weight: 700; font-size: clamp(0.88rem,2vw,1rem);
  padding: clamp(11px,2.5vw,14px) clamp(22px,4vw,32px); border-radius: 50px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover  { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
.whatsapp-btn:active { transform: scale(0.97); }

/* ============================================================
   ADMIN PANEL
============================================================ */
.admin-page {
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(20px,4vw,40px)) var(--page-pad) clamp(40px,6vw,60px);
  max-width: min(1100px,100%);
  margin: 0 auto;
}
.admin-login {
  max-width: 420px; margin: clamp(60px,10vh,100px) auto 0;
  text-align: center;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: clamp(28px,6vw,48px) clamp(20px,5vw,40px);
}
.admin-login h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,4vw,2rem); margin-bottom: 7px; }
.admin-login > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 28px; }
.form-group { margin-bottom: 16px; text-align: left; }
.form-group label {
  display: block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 7px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: clamp(10px,2vw,12px) clamp(12px,2.5vw,16px);
  background: var(--bg3); border: 1.5px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: clamp(0.82rem,1.5vw,0.9rem);
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 76px; resize: vertical; }
.form-error { color: var(--crimson); font-size: 0.78rem; margin-top: 10px; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.admin-tab {
  padding: 9px clamp(14px,3vw,24px); border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent; color: var(--text-muted);
  font-size: clamp(0.78rem,1.5vw,0.85rem); font-weight: 600;
  cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.admin-tab.active { background: rgba(200,155,60,0.12); border-color: var(--gold); color: var(--gold-light); }
.admin-products-list { display: flex; flex-direction: column; gap: 14px; }
.admin-product-row {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(12px,2.5vw,20px);
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: clamp(10px,2vw,16px); align-items: center;
}
.admin-product-row img { width: 72px; height: 80px; object-fit: cover; border-radius: 7px; }
.admin-product-info h4 { font-weight: 700; margin-bottom: 3px; font-size: clamp(0.85rem,1.8vw,0.95rem); }
.admin-product-info p  { font-size: clamp(0.72rem,1.3vw,0.8rem); color: var(--text-muted); line-height: 1.5; }
.admin-actions { display: flex; flex-direction: column; gap: 7px; }
.btn-edit   { background: rgba(42,122,114,0.15); border: 1px solid var(--teal); color: #5dc4bb; }
.btn-delete { background: rgba(179,58,58,0.15);  border: 1px solid var(--crimson); color: #e07070; }
.btn-edit, .btn-delete {
  padding: 6px 14px; border-radius: 6px; font-size: clamp(0.72rem,1.3vw,0.8rem);
  font-weight: 600; cursor: pointer; transition: all var(--transition); white-space: nowrap;
}
.btn-edit:hover   { background: rgba(42,122,114,0.3); }
.btn-delete:hover { background: rgba(179,58,58,0.3); }
.add-product-form {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: clamp(20px,4vw,32px);
}
.add-product-form h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.1rem,3vw,1.4rem); margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px,2vw,16px); }
.tags-input { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.tag {
  background: rgba(200,155,60,0.14); border: 1px solid var(--gold-dim);
  color: var(--gold-light); padding: 4px 11px; border-radius: 20px;
  font-size: clamp(0.72rem,1.3vw,0.8rem); display: flex; align-items: center; gap: 5px;
}
.tag button { background: none; border: none; color: inherit; cursor: pointer; font-size: 0.88rem; padding: 0 1px; }
.logout-btn {
  background: none; border: 1px solid var(--border);
  color: var(--text-muted); padding: 7px 18px; border-radius: 8px;
  cursor: pointer; font-size: clamp(0.78rem,1.5vw,0.85rem);
  transition: all var(--transition); margin-bottom: 20px;
}
.logout-btn:hover { border-color: var(--crimson); color: #e07070; }
.color-preview { display: flex; gap: 7px; margin-top: 7px; flex-wrap: wrap; }
.color-preview-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border); }

/* colour variant builder in admin */
.cv-block {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: clamp(12px,3vw,18px); margin-bottom: 10px;
}
.cv-block-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.cv-images-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cv-img-thumb {
  position: relative; width: 72px; height: 80px;
}
.cv-img-thumb img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 7px;
  border: 1.5px solid var(--border);
}
.cv-img-remove {
  position: absolute; top: -5px; right: -5px;
  background: var(--crimson); border: none; color: #fff;
  width: 18px; height: 18px; border-radius: 50%;
  cursor: pointer; font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
}
.cv-add-img {
  display: flex; gap: 6px; margin-top: 8px;
}
.cv-add-img input { flex: 1; }
.cv-add-img button { padding: 8px 12px; border-radius: 6px; font-size: 0.8rem; }

/* ============================================================
   TOAST
============================================================ */
.toast {
  position: fixed; bottom: clamp(16px,5vw,30px); left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: var(--bg2); border: 1px solid var(--gold);
  color: var(--text); padding: 11px clamp(18px,4vw,28px);
  border-radius: 50px; font-size: clamp(0.8rem,1.5vw,0.88rem); font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 9999; opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none; white-space: nowrap;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   ── RESPONSIVE BREAKPOINTS ──────────────────────────────────

   Device targets:
   • xs  : < 480px   – small Android/iPhone SE
   • sm  : 480–640px – average Android phone, iPhone 13/14
   • md  : 640–768px – large phones, small tablets
   • lg  : 768–1024px– iPad mini, tablets, iPad Air portrait
   • xl  : 1024–1280px– iPad Pro, laptops
   • 2xl : 1280px+   – desktop, wide monitors
============================================================ */

/* ── MOBILE (≤ 640px) ── */
@media (max-width: 640px) {
  :root { --header-h: 58px; }

  .nav-links  { display: none; }
  .admin-link { display: none; }
  .hamburger  { display: flex; }

  .modal-box {
    grid-template-columns: 1fr;
    border-radius: 16px 16px 0 0;
    align-self: flex-end;
    max-height: 92svh;
  }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-gallery { border-radius: 16px 16px 0 0; }
  .modal-main-img { aspect-ratio: 16/10; }
  .modal-content  { padding: 18px 16px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .about-grid    { grid-template-columns: 1fr; }
  .values-grid   { grid-template-columns: 1fr 1fr; }

  .form-row      { grid-template-columns: 1fr; }
  .admin-product-row { grid-template-columns: 64px 1fr; }
  .admin-actions { flex-direction: row; grid-column: 1/-1; }

  .feature-strip-inner { grid-template-columns: repeat(2,1fr); }

  .cart-sidebar { width: 100%; }

  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
}

/* ── TABLET PORTRAIT (641–1023px) ── */
@media (min-width: 641px) and (max-width: 1023px) {
  .nav-links { gap: 18px; }
  .admin-link { display: none; }
  .hamburger  { display: flex; }

  .modal-box { grid-template-columns: 1fr 1fr; }

  .footer-inner { grid-template-columns: 1.5fr 1fr; }
  .footer-social { display: none; }

  .about-grid  { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(3,1fr); }

  .feature-strip-inner { grid-template-columns: repeat(4,1fr); }

  .admin-product-row { grid-template-columns: 72px 1fr auto; }
}

/* ── TABLET LANDSCAPE / SMALL LAPTOP (1024–1279px) ── */
@media (min-width: 1024px) and (max-width: 1279px) {
  .nav-links  { display: flex; }
  .hamburger  { display: none; }
  .admin-link { display: block; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .about-grid   { grid-template-columns: 1fr 1fr; }
  .values-grid  { grid-template-columns: repeat(3,1fr); }
}

/* ── DESKTOP (≥ 1280px) ── */
@media (min-width: 1280px) {
  .nav-links  { display: flex; }
  .hamburger  { display: none; }
  .admin-link { display: block; }
}

/* ── VERY SMALL (< 380px) extra tweaks ── */
@media (max-width: 380px) {
  .brand-name { font-size: 1rem; }
  .brand-logo-wrap { width: 34px; height: 34px; }
  .hero-title { font-size: 2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
  .modal-thumb { width: 44px; height: 50px; }
}

/* ── LARGE DESKTOP (≥ 1600px) ── */
@media (min-width: 1600px) {
  :root { --page-max: 1500px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); }
}

/* ── HIGH-DPI / Retina ── */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-logo, .footer-logo { image-rendering: -webkit-optimize-contrast; }
}

/* ── Safe area for iPhone notch/home-bar ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .cart-footer { padding-bottom: calc(clamp(14px,3vw,20px) + env(safe-area-inset-bottom)); }
  .mobile-nav  { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
