@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* Default palette: Classic Navy & Gold. The active theme (Admin -> Themes) overrides these
   variables from a small style block in the page header. The --wine and --navy variables mean
   "primary colour" and the --gold variables mean "accent colour" (the names are historical). */
:root {
  --wine: #1b2a49;
  --wine-dark: #111b33;
  --wine-light: #2e4372;
  --wine-darker: #0b1222;
  --primary-rgb: 27, 42, 73;
  --navy: #1b2a49;
  --navy-light: #2e4372;
  --cream: #faf8f4;
  --paper: #ffffff;
  --ink: #1f2430;
  --ink-soft: #5f6675;
  --gold: #c9962b;
  --gold-light: #e3b857;
  --gold-dark: #8f6a14;
  --line: #e8e4db;
  --success: #2f7d4f;
  --danger: #b3422f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; margin: 0 0 .5em; letter-spacing: .2px; }

.site-main > h2, .site-main section h2 { position: relative; padding-bottom: 12px; display: inline-block; }
.site-main > h2::after, .site-main section h2::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 56px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ---------- Header ---------- */
.site-header {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: #fff;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  background-size: 18px 18px, 100% 100%;
}
.header-top { max-width: 1600px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo { font-family: 'Fraunces', serif; font-size: 27px; font-weight: 700; letter-spacing: .5px; color: #fff; display: flex; align-items: center; gap: 12px; }
.logo-img { max-height: 44px; width: auto; display: block; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.logo-text { line-height: 1; }
.search-form { flex: 1; display: flex; min-width: 200px; }
.search-form input { flex: 1; padding: 11px 16px; border: none; border-radius: 24px 0 0 24px; font-size: 14px; }
.search-form button { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--wine-dark); border: none; padding: 0 20px; border-radius: 0 24px 24px 0; font-weight: 700; cursor: pointer; }
.search-form button:hover { filter: brightness(1.05); }
.header-links { display: flex; align-items: center; gap: 20px; font-size: 13px; }
.header-links a { line-height: 1.3; }
.header-links a:hover { color: var(--gold-light); }
.cart-link { font-weight: 600; }

/* ---------- Announcement ticker ---------- */
.announcement-bar {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold)); color: var(--wine-dark); padding: 9px 0;
  font-size: 13px; font-weight: 700; overflow: hidden; white-space: nowrap;
}
.announcement-track { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; animation: vvr-marquee 24s linear infinite; will-change: transform; }
.announcement-bar:hover .announcement-track { animation-play-state: paused; }
.announcement-item { white-space: nowrap; }
.announcement-sep { opacity: .65; font-size: 10px; }
@keyframes vvr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Layout ---------- */
.site-main { max-width: 1600px; margin: 0 auto; padding: 28px 32px 60px; min-height: 60vh; }
.site-footer { text-align: center; padding: 28px 20px; color: var(--ink-soft); font-size: 13px; border-top: 1px solid var(--line); }
.back-to-top { display: block; text-align: center; background: var(--wine-light); color: #fff; padding: 14px; font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: .3px; }
.back-to-top:hover { background: var(--wine); }
.site-footer-rich {
  background: linear-gradient(180deg, var(--wine-dark), var(--wine-darker)); color: #e6d9cf; padding: 44px 20px 22px;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(180deg, var(--wine-dark), var(--wine-darker));
  background-size: 16px 16px, 100% 100%;
}
.footer-columns { max-width: 1600px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: var(--gold-light); font-family: 'Fraunces', serif; font-weight: 600; font-size: 15px; margin: 0 0 6px; }
.footer-col a { color: #d8c7bd; font-size: 13px; }
.footer-col a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-bottom { max-width: 1600px; margin: 30px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 12px; color: #a8938a; }
@media (max-width: 700px) { .footer-columns { grid-template-columns: 1fr 1fr; } }

/* ---------- Mobile category menu ---------- */
.category-mobile-bar { display: none; position: relative; margin-bottom: 20px; }
.category-mobile-toggle {
  width: 100%; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 16px; font-weight: 600; font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; color: var(--ink);
}
.category-mobile-toggle span { font-size: 16px; }
.category-mobile-dropdown {
  display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; padding: 8px; z-index: 20;
  max-height: 65vh; overflow-y: auto; box-shadow: 0 10px 28px rgba(0,0,0,.16);
}
.category-mobile-dropdown.open { display: flex; flex-direction: column; gap: 2px; }
.category-mobile-dropdown a { padding: 11px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; }
.category-mobile-dropdown a.active { background: linear-gradient(135deg, var(--wine), var(--wine-light)); color: #fff; }
.category-mobile-dropdown a:not(.active):hover { background: #f4ede1; }
@media (max-width: 700px) { .category-nav { display: none; } .category-mobile-bar { display: block; } }

/* ---------- Category nav (desktop pills) ---------- */
.category-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.category-nav a {
  padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.category-nav a:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(var(--primary-rgb),.15); }
.category-nav a.active { background: linear-gradient(135deg, var(--wine), var(--wine-light)); color: #fff; border-color: var(--wine); }

/* ---------- Vibrant section header banners ---------- */
.section-header-banner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 26px; border-radius: 16px; margin-bottom: 16px; }
.section-header-banner h2 { color: #fff; margin: 0; font-size: 24px; }
.section-header-vismaya {
  background: linear-gradient(120deg, var(--wine), var(--wine-light));
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(120deg, var(--wine), var(--wine-light));
  background-size: 14px 14px, 100% 100%;
}
.section-header-vismaya .btn { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--wine-dark); }
.section-header-hot {
  background: linear-gradient(120deg, #e0472c, #b3422f);
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(120deg, #e0472c, #b3422f);
  background-size: 14px 14px, 100% 100%;
}

/* ---------- Featured / category / hot-selling strips ---------- */
.featured-wrap { position: relative; }
.featured-scroll { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.featured-scroll::-webkit-scrollbar { display: none; }
.featured-card { flex: 0 0 220px; scroll-snap-align: start; }
.category-featured-card { flex: 0 0 270px; }
.featured-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: none; background: #fff; box-shadow: 0 3px 14px rgba(var(--primary-rgb),.22); font-size: 18px; color: var(--wine);
  cursor: pointer; z-index: 3; display: flex; align-items: center; justify-content: center;
}
.featured-arrow:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--wine-dark); }
.featured-arrow-prev { left: -8px; }
.featured-arrow-next { right: -8px; }
@media (max-width: 700px) { .featured-arrow { width: 34px; height: 34px; font-size: 14px; } }

/* ---------- Category showcase banner (homepage) ---------- */
.category-banner {
  position: relative; border-radius: 20px; overflow: hidden; min-height: 260px;
  display: flex; align-items: stretch; background: linear-gradient(120deg, var(--wine), var(--wine-light));
  margin-bottom: 20px;
}
.category-banner-text { flex: 1.1; display: flex; flex-direction: column; justify-content: center; padding: 30px 40px; z-index: 2; }
.category-banner-eyebrow { color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.category-banner-text h2 { color: #fff; font-size: 32px; margin-bottom: 16px; }
.category-banner-text .btn { align-self: flex-start; }
.category-banner-images { flex: 1; display: flex; gap: 10px; padding: 20px 20px 20px 0; }
.category-banner-images img { width: 50%; height: auto; object-fit: cover; border-radius: 14px; box-shadow: 0 10px 26px rgba(0,0,0,.3); }
.category-banner-images img:nth-child(2) { margin-top: 24px; }
@media (max-width: 780px) { .category-banner { flex-direction: column; } .category-banner-images { padding: 0 20px 20px; } }

/* ---------- Title truncation ---------- */
.title-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; min-height: 2.6em; }

/* ---------- Swipeable media gallery (photos + video) ---------- */
.img-carousel { position: relative; margin-bottom: 10px; }
.card-badge {
  position: absolute; top: 8px; z-index: 5; font-size: 10px; font-weight: 700; letter-spacing: .2px;
  padding: 4px 10px; border-radius: 20px; color: #fff; white-space: nowrap; box-shadow: 0 2px 6px rgba(0,0,0,.3);
  line-height: 1.6;
}
.card-badge-vismaya { left: 8px; background: linear-gradient(135deg, var(--wine), var(--wine-light)); }
.card-badge-hot { right: 8px; background: linear-gradient(135deg, #e0472c, #b3422f); }
.img-carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 10px; background: #f4ede1; scrollbar-width: none; -ms-overflow-style: none; }
.img-carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: start; width: 100%; aspect-ratio: 1/1; overflow: hidden; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: contain; background: #f4ede1; display: block; transition: transform .25s ease; }
.carousel-slide video.vvr-product-video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.img-carousel-dots {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; pointer-events: none; background: rgba(0,0,0,.3); padding: 5px 9px; border-radius: 20px;
}
.img-carousel-dots .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7); border: none; pointer-events: auto; cursor: pointer; }
.img-carousel-dots .dot.active { background: var(--gold); }
.detail-carousel .carousel-slide { border-radius: 12px; }
.detail-carousel .img-carousel-dots .dot { width: 8px; height: 8px; }
.detail-carousel .carousel-slide img { cursor: zoom-in; }
.detail-carousel .carousel-slide img.zoomed { transform: scale(2); }
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.9); color: var(--wine); display: flex; align-items: center; justify-content: center;
  font-size: 13px; cursor: pointer; z-index: 2; box-shadow: 0 1px 5px rgba(0,0,0,.25);
}
.carousel-arrow:hover { background: #fff; }
.carousel-arrow-prev { left: 8px; }
.carousel-arrow-next { right: 8px; }
.detail-carousel .carousel-arrow { width: 44px; height: 44px; font-size: 18px; }
.img-thumbnails { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.img-thumbnails .thumb { width: 64px; height: 64px; object-fit: contain; background: #f4ede1; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .65; flex: 0 0 auto; }
.img-thumbnails .thumb.active { border-color: var(--gold); opacity: 1; }
.thumb-video { width: 64px; height: 64px; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: .65; flex: 0 0 auto; background: var(--wine); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.thumb-video.active { border-color: var(--gold); opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox-overlay { position: fixed; inset: 0; background: rgba(20,8,12,.94); z-index: 1000; display: none; align-items: center; justify-content: center; }
.lightbox-overlay.open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lightbox-close { position: absolute; top: 18px; right: 22px; color: #fff; font-size: 30px; background: none; border: none; cursor: pointer; line-height: 1; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 22px; cursor: pointer; background: rgba(255,255,255,.15); border: none; width: 46px; height: 46px; border-radius: 50%; }
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* ---------- Quantity stepper ---------- */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.qty-stepper .qty-btn { background: #f8f2e8; border: none; width: 34px; height: 38px; font-size: 16px; font-weight: 700; color: var(--wine); cursor: pointer; line-height: 1; }
.qty-stepper .qty-btn:hover { background: #f0e6d5; }
.qty-stepper input[type=number] { width: 44px; text-align: center; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line); height: 38px; padding: 0; background: #fff; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.product-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
  display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(var(--primary-rgb),.05);
  transition: box-shadow .2s ease, transform .2s ease;
}
.product-card:hover { box-shadow: 0 10px 28px rgba(var(--primary-rgb),.16), 0 0 0 1px rgba(200,146,42,.25); transform: translateY(-3px); }
.product-card h3 { font-size: 16px; margin-bottom: 6px; }
.product-card .price-row { margin: 6px 0 10px; }
.price { font-size: 18px; font-weight: 700; color: var(--wine); }
.mrp { text-decoration: line-through; color: var(--ink-soft); font-size: 13px; margin-left: 8px; }
.stock-note { font-size: 12px; color: var(--danger); margin-bottom: 8px; }

/* ---------- Clearance Sale (highlighted everywhere) ---------- */
.card-badge-sale { top: auto; bottom: 10px; left: 8px; background: linear-gradient(135deg, #d62828, #9d0208); font-size: 11px; letter-spacing: .4px; }
.nav-clearance {
  background: linear-gradient(135deg, #e63946, #b3121f); color: #fff !important; font-weight: 800; padding: 7px 14px; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(230,57,70,.6); animation: vvr-clearance-pulse 2.2s infinite; white-space: nowrap;
}
.nav-clearance:hover { filter: brightness(1.1); color: #fff !important; }
@keyframes vvr-clearance-pulse { 0% { box-shadow: 0 0 0 0 rgba(230,57,70,.55); } 70% { box-shadow: 0 0 0 10px rgba(230,57,70,0); } 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); } }
@media (prefers-reduced-motion: reduce) { .nav-clearance { animation: none; } }

.category-nav a.clearance-pill, .category-mobile-dropdown a.clearance-pill {
  background: linear-gradient(135deg, #e63946, #b3121f); color: #fff; border-color: #b3121f; font-weight: 800;
}
.category-nav a.clearance-pill:hover { box-shadow: 0 3px 12px rgba(179,18,31,.4); }

.section-header-clearance {
  background: linear-gradient(120deg, #e63946, #9d0208);
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(120deg, #e63946, #9d0208);
  background-size: 14px 14px, 100% 100%;
}
.section-header-clearance .btn { background: #fff; color: #9d0208; }
.section-header-clearance h2::after { display: none; }
.clearance-sub { color: #ffe3e0; font-size: 14px; font-weight: 600; margin-top: 2px; }

.clearance-banner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  background: linear-gradient(120deg, #e63946, #9d0208);
  background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(120deg, #e63946, #9d0208);
  background-size: 14px 14px, 100% 100%;
  color: #fff; border-radius: 18px; padding: 30px 34px; margin-bottom: 24px;
}
.clearance-banner h1 { color: #fff; margin: 4px 0 6px; font-size: 38px; }
.clearance-banner p { margin: 0; font-size: 17px; color: #ffe3e0; }
.clearance-banner .btn { background: #fff; color: #9d0208; }
.clearance-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #ffd166; }
.clearance-sort { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.clearance-sort span { font-weight: 700; }
.clearance-sort a { padding: 6px 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; }
.clearance-sort a.active { background: #b3121f; border-color: #b3121f; color: #fff; }
.clearance-tag { display: inline-block; background: linear-gradient(135deg, #e63946, #9d0208); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .4px; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; }
@media (max-width: 640px) { .clearance-banner { padding: 22px 20px; } .clearance-banner h1 { font-size: 28px; } }

/* ---------- INR price shown beside the AED price ---------- */
.price-inr { font-size: 14px; font-weight: 600; color: var(--gold-dark); margin: -4px 0 8px; }
.price-inr-mrp { text-decoration: line-through; color: var(--ink-soft); font-weight: 400; font-size: 12px; margin-left: 4px; }
.product-detail-grid .price-inr { font-size: 20px; margin: -6px 0 14px; }

/* ---------- Currency chooser in the cart / flash deal ---------- */
.currency-switch { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 18px; }
.currency-switch > span { font-weight: 700; font-size: 14px; }
.currency-switch button {
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); padding: 9px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14px; cursor: pointer; font-family: inherit; transition: all .15s ease;
}
.currency-switch button:hover { border-color: var(--gold); }
.currency-switch button.active { background: linear-gradient(135deg, var(--wine), var(--wine-light)); color: #fff; border-color: var(--wine); }
.currency-note { background: #faf3e3; border: 1px solid var(--gold); border-radius: 10px; padding: 10px 14px; font-size: 13px; color: var(--gold-dark); margin-bottom: 16px; }
.cart-other-currency { font-size: 12px; color: var(--ink-soft); text-align: right; margin-top: 4px; }
.variation-hint { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.variation-hint-thumb { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); margin-left: -8px; }
.variation-hint-thumb:first-child { margin-left: 0; }
.variation-hint span { font-size: 11px; color: var(--ink-soft); margin-left: 4px; }

/* Pin the action button (Add to Cart / View Options / View Details / Out of Stock)
   to the bottom of every card, regardless of how much content sits above it. */
.product-card > .btn:last-child,
.product-card > button:last-child,
.product-card > span.btn:last-child { margin-top: auto !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--wine-dark);
  border: none; padding: 11px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 14px; text-align: center;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(1.04); transform: translateY(-1px); }
.btn-secondary { background: linear-gradient(135deg, var(--wine), var(--wine-dark)); color: #fff; }
.btn-secondary:hover { filter: brightness(1.1); }
.btn-outline { background: transparent; border: 1.5px solid var(--wine); color: var(--wine); }
.btn-outline:hover { background: rgba(var(--primary-rgb),.06); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Forms ---------- */
.form-box { max-width: 420px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 32px; box-shadow: 0 2px 10px rgba(var(--primary-rgb),.06); }
label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 13px; }
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], input[type=date], input[type=datetime-local], textarea, select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,146,42,.15); }
textarea { resize: vertical; }
.error-msg { background: #fbeae6; color: var(--danger); padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }
.success-msg { background: #e8f3ec; color: var(--success); padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; }

/* ---------- Responsive grid utilities ---------- */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.checkout-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.split-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.grid-4stat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 780px) {
  .product-detail-grid, .checkout-grid, .split-grid, .grid-2col { grid-template-columns: 1fr; }
  .grid-3col { grid-template-columns: 1fr 1fr; }
  .grid-4stat { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .grid-3col { grid-template-columns: 1fr; } }

/* ---------- Chips / swatches (variation picker) ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--paper); font-size: 13px; cursor: pointer; font-weight: 600; transition: all .15s ease; }
.chip:hover { border-color: var(--gold); }
.chip.active { background: linear-gradient(135deg, var(--wine), var(--wine-light)); color: #fff; border-color: var(--wine); }
.chip.unavailable { text-decoration: line-through; opacity: .5; cursor: not-allowed; }
.chip.unavailable.active { opacity: .8; }
.chip-x { font-size: 11px; opacity: .8; }
.swatch-option { display: inline-block; width: 50px; height: 50px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; transition: border-color .15s ease; }
.swatch-option:hover { border-color: rgba(200,146,42,.5); }
.swatch-option.active { border-color: var(--gold); }
.swatch-option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.swatch-option.unavailable { position: relative; opacity: .5; }
.swatch-option.unavailable::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 1.5px), var(--danger) calc(50% - 1.5px), var(--danger) calc(50% + 1.5px), transparent calc(50% + 1.5px));
}

/* ---------- Cart / Checkout ---------- */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-table th, .cart-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 14px; }
.cart-table img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; margin-right: 10px; vertical-align: middle; }
.cart-summary { max-width: 320px; margin-left: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px; box-shadow: 0 2px 10px rgba(var(--primary-rgb),.06); }
.cart-summary .row { display: flex; justify-content: space-between; margin: 8px 0; }
.total-row { font-weight: 700; font-size: 17px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; color: var(--wine); }
.payment-option { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin-bottom: 10px; cursor: pointer; display: block; transition: border-color .15s ease; }
.payment-option:hover { border-color: var(--gold); }
.payment-option input { width: auto; margin-right: 10px; }
.bank-details { background: #f8f2e8; border-radius: 10px; padding: 16px; margin-top: 14px; font-size: 14px; }
.bank-details div { margin: 4px 0; }
.bullet-points { margin: 14px 0; padding-left: 20px; color: var(--ink-soft); }
.bullet-points li { margin-bottom: 6px; }
.product-description-full { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.product-description-full h3 { margin-bottom: 10px; }

/* ---------- Wholesale ---------- */
.wholesale-info-box { background: #faf8f3; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 16px 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.wholesale-badge { display: inline-block; background: linear-gradient(135deg, var(--wine), var(--wine-light)); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.wholesale-cart-banner { background: #faf3e3; border: 1px solid var(--gold); border-radius: 10px; padding: 14px 18px; margin-bottom: 20px; font-size: 13px; color: var(--gold-dark); }

/* ---------- Vismaya Fashion ---------- */
.vismaya-banner {
  background: linear-gradient(135deg, var(--wine), var(--wine-dark));
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(135deg, var(--wine), var(--wine-dark));
  background-size: 16px 16px, 100% 100%;
  color: #fff; border-radius: 16px; padding: 26px 28px; margin-bottom: 22px;
}

/* ---------- Quick add-to-cart button on cards ---------- */
.quick-add-btn.added { background: var(--success) !important; color: #fff !important; }

/* ---------- Admin ---------- */
.admin-nav { background: linear-gradient(135deg, var(--wine), var(--wine-dark)); color: #fff; padding: 12px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.admin-nav a { color: #ecdcd3; font-size: 13px; }
.admin-nav a:hover { color: var(--gold-light); }
.admin-nav .brand { font-family: 'Fraunces', serif; font-weight: 700; font-size: 18px; color: #fff; margin-right: 10px; }
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: 24px 20px 60px; }
table.admin-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 10px; overflow: hidden; }
table.admin-table th, table.admin-table td { padding: 10px; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
table.admin-table th { background: #f8f2e8; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-placed { background: #eef1fa; color: #3a4d94; }
.badge-confirmed { background: #eaf3ec; color: var(--success); }
.badge-shipped { background: #fbf3e3; color: var(--gold-dark); }
.badge-delivered { background: #e6f5ea; color: var(--success); }
.badge-cancelled { background: #fbeae6; color: var(--danger); }
.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

@media (max-width: 640px) {
  .header-top { flex-direction: column; align-items: stretch; }
  .header-links { justify-content: space-between; }
}
