:root {
  --bg: #fffdf8;
  --surface: #ffffff;
  --ink: #15120f;
  --muted: #746b60;
  --line: #e9dfd0;
  --gold: #c6a15b;
  --gold-dark: #9b7431;
  --beige: #f4eadb;
  --black: #0f0d0b;
  --shadow: 0 18px 50px rgba(33, 24, 14, .12);
  --radius: 8px;
  --serif: "Playfair Display", Georgia, serif;
  --sans: Inter, Arial, sans-serif;
}

/* Premium extensions */
.hero video, .hero-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,7,6,.86), rgba(8,7,6,.26) 52%, rgba(198,161,91,.18)); z-index: 1; }
.hero-inner { position: relative; z-index: 2; }
.scroll-indicator { display: inline-flex; margin-top: 34px; color: rgba(255,255,255,.72); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; animation: float 1.8s ease-in-out infinite; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.luxe-toolbar { grid-template-columns: 1.4fr repeat(5, 1fr); align-items: end; }
.range-label { display: grid; gap: 6px; color: var(--muted); font-size: .85rem; }
.rating { color: var(--gold-dark); margin: 4px 0 8px; }
.rating small { color: var(--muted); margin-left: 6px; }
.availability { position: absolute; right: 12px; bottom: 12px; background: rgba(15,13,11,.78); color: #fff; padding: 6px 10px; border-radius: 999px; font-size: .72rem; backdrop-filter: blur(10px); }
.viewer-360 { position: relative; overflow: hidden; border-radius: var(--radius); }
.viewer-360 span { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255,255,255,.82); color: var(--black); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; backdrop-filter: blur(12px); }
.thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; color: var(--muted); }
.link-button { border: 0; background: transparent; color: var(--gold-dark); cursor: pointer; padding: 0; }
.modal-card.lightbox { width: min(1080px, 100%); grid-template-columns: repeat(3, 1fr); max-height: 90vh; overflow: auto; }
.search-panel { position: fixed; top: 0; right: 0; width: min(440px, 100%); height: 100vh; z-index: 75; background: rgba(255,253,248,.92); color: var(--ink); backdrop-filter: blur(22px); border-left: 1px solid var(--line); padding: 28px; transform: translateX(105%); transition: transform .3s ease; box-shadow: var(--shadow); }
.dark .search-panel { background: rgba(17,16,14,.92); }
.search-panel.open { transform: translateX(0); }
.search-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); cursor: pointer; float: right; }
.search-results { display: grid; gap: 12px; margin-top: 18px; }
.search-result { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.search-result img { height: 86px; border-radius: var(--radius); }
.search-result small { display: block; color: var(--gold-dark); }
.lookbook, .video-grid, .collection-grid, .dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lookbook img, .video-grid video, .collection-card img { min-height: 320px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--beige); object-fit: cover; }
.video-grid { grid-template-columns: repeat(2, 1fr); }
.collection-card { position: relative; min-height: 420px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.collection-card span { position: absolute; left: 18px; bottom: 18px; right: 18px; z-index: 2; color: #fff; font-family: var(--serif); font-size: 2rem; text-shadow: 0 8px 24px rgba(0,0,0,.5); }
.collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); z-index: 1; }
.compare-panel { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.compare-panel article, .compare-panel p { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.compare-panel span, .compare-panel small { display: block; color: var(--muted); margin-top: 6px; }
.review img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.payment-icons span { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 10px; color: rgba(255,248,237,.78); font-size: .8rem; }
.footer-newsletter { margin-bottom: 42px; color: var(--ink); }
.footer-map-section {
  padding: 54px 20px;
  background: var(--bg);
}
.footer-map-shell {
  width: 100%;
  margin: 0;
}
.footer-map-shell .footer-map {
  width: 100%;
  min-height: 400px;
  height: 400px;
  display: block;
  border-radius: var(--radius);
}
.map-route-btn {
  margin-top: 18px;
}
.copyright { border-top: 1px solid rgba(255,255,255,.12); margin-top: 34px; padding-top: 18px; color: rgba(255,248,237,.58); font-size: .9rem; }
.bottom-nav { display: none; }
.recent-popup { position: fixed; left: 18px; bottom: 24px; z-index: 46; width: min(310px, calc(100vw - 36px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; transform: translateY(20px); opacity: 0; pointer-events: none; transition: .25s ease; }
.recent-popup.show { opacity: 1; transform: translateY(0); }
.recent-popup strong, .recent-popup span { display: block; }
.recent-popup span { color: var(--muted); font-size: .9rem; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 62px; padding: 10px 16px; background: rgba(255,253,248,.88); backdrop-filter: blur(16px); border-top: 1px solid var(--line); z-index: 44; display: none; }
.chart-bars { height: 220px; display: flex; align-items: end; gap: 12px; padding-top: 20px; }
.chart-bars span { flex: 1; background: linear-gradient(180deg, var(--gold), var(--gold-dark)); border-radius: 8px 8px 0 0; }
.table-wrap { overflow-x: auto; }
.legal { max-width: 860px; }
.not-found { min-height: 62vh; display: grid; align-items: center; }
.masonry video { width: 100%; min-height: 260px; break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--black); }
@keyframes float { 50% { transform: translateY(8px); } }

@media (max-width: 980px) {
  .luxe-toolbar, .video-grid, .dashboard-grid, .compare-panel { grid-template-columns: 1fr; }
  .lookbook, .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .lookbook, .collection-grid, .spec-grid { grid-template-columns: 1fr; }
  .modal-card.lightbox { grid-template-columns: 1fr; }
  .bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: 62px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px rgba(0,0,0,.08); }
  .bottom-nav a { display: grid; place-items: center; font-size: .78rem; color: var(--muted); }
  .sticky-buy.show { display: block; }
  .floating { bottom: 132px; }
  body { padding-bottom: 62px; }
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.dark {
  --bg: #11100e;
  --surface: #191714;
  --ink: #fff8ed;
  --muted: #c9bba8;
  --line: #322b22;
  --beige: #1f1b16;
  --shadow: 0 18px 50px rgba(0, 0, 0, .32);
}
.loader {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: var(--bg); transition: opacity .35s ease, visibility .35s ease;
}
.loader::after {
  content: "SG"; width: 70px; height: 70px; display: grid; place-items: center;
  border: 1px solid var(--gold); border-radius: 50%; color: var(--gold);
  font-family: var(--serif); animation: pulse 1.1s infinite alternate;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.78);
  backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: .25s ease;
}
.dark .site-header { background: rgba(17,16,14,.78); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.nav {
  max-width: 1220px; margin: auto; min-height: 76px; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}
.nav-links { display: flex; align-items: center; gap: 20px; font-size: .92rem; color: var(--muted); }
.nav-links a:hover { color: var(--gold-dark); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn, .menu-toggle {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink); cursor: pointer; display: inline-grid; place-items: center;
}
.menu-toggle { display: none; }
.count-pill { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .7rem; display: inline-grid; place-items: center; }
.hero {
  min-height: calc(100vh - 76px); display: grid; align-items: end; position: relative; overflow: hidden;
  background: linear-gradient(90deg, rgba(8,7,6,.82), rgba(8,7,6,.22)), url("https://images.unsplash.com/photo-1515886657613-9f3515b0c78f?auto=format&fit=crop&w=1800&q=82") center/cover;
}
.hero-inner { width: min(1220px, 100%); margin: auto; padding: 14vh 20px 9vh; color: white; }
.eyebrow { margin: 0 0 10px; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 700; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.08; letter-spacing: 0; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 8vw, 7.4rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); margin: 0 0 14px; }
h3 { margin: 0 0 8px; font-size: 1.35rem; }
.lead { max-width: 640px; color: rgba(255,255,255,.84); font-size: 1.06rem; }
.hero-actions, .inline-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn {
  position: relative; overflow: hidden; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink);
  color: white; padding: 13px 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn.ghost { background: transparent; color: currentColor; border-color: var(--line); }
.btn.small { min-height: 36px; padding: 8px 13px; font-size: .85rem; }
.btn.rippling::after {
  content: ""; position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px;
  background: rgba(255,255,255,.45); border-radius: 50%; transform: translate(-50%,-50%) scale(18); opacity: 0; transition: .6s ease;
}
.section { padding: 86px 20px; }
section[id] { scroll-margin-top: 96px; }
.section.alt { background: var(--beige); }
.container { width: min(1220px, 100%); margin: auto; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 30px; }
.section-head p { max-width: 580px; color: var(--muted); margin: 0; }
.grid { display: grid; gap: 22px; }
.product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.04); transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--beige); }
.badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.86); color: var(--black); padding: 6px 10px; border-radius: 999px; font-size: .75rem; backdrop-filter: blur(10px); }
.product-body { position: relative; padding: 18px; }
.favorite { position: absolute; top: -22px; right: 14px; box-shadow: var(--shadow); }
.favorite.active { background: var(--gold); color: #fff; }
.price { font-weight: 800; color: var(--gold-dark); }
.price s { margin-left: 8px; color: var(--muted); font-weight: 400; }
.product-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.featured-store-card .product-media img { transition: none; }
.product-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.product-media picture img {
  width: 100%;
  height: 100%;
}
.featured-photo-pair {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
}
.featured-photo-pair img {
  min-width: 0;
  height: 100%;
  object-fit: cover;
}
.featured-photo-pair picture {
  min-width: 0;
  height: 100%;
}
.product-main-picture {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-main-picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.breadcrumbs a:hover { color: var(--gold-dark); }
.featured-price-badge {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 248, 237, .34);
  border-radius: 999px;
  background: rgba(15, 13, 11, .72);
  color: #fff8ed;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  backdrop-filter: blur(12px);
}
.unique-piece-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 248, 237, .46);
  border-radius: 999px;
  background: rgba(15, 13, 11, .74);
  color: #fff8ed;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
  backdrop-filter: blur(10px);
}
.unique-availability {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: .82rem;
  font-weight: 700;
}
.reservation-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.45;
}
.sold-piece-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(198, 161, 91, .48);
  border-radius: var(--radius);
  background: var(--black);
  color: #fff8ed;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.featured-store-card .sold-piece-badge { width: 100%; }
.product-main-media { position: relative; }
.product-main-media .unique-piece-badge { top: 16px; left: 16px; }
.detail-reservation-note { max-width: 440px; }
.featured-actions .btn { width: 100%; }
.unique-creation-section { background: var(--beige); }
.unique-creation-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 68px);
  border: 1px solid rgba(198, 161, 91, .4);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(125deg, #11100e 0%, #272017 48%, #b18a43 140%);
  color: #fff8ed;
  box-shadow: 0 22px 58px rgba(36, 27, 14, .2);
}
.unique-creation-card::before,
.unique-creation-card::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}
.unique-creation-card::before {
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  top: -42%;
  right: -11%;
  border: 1px solid rgba(229, 199, 134, .24);
  box-shadow: 0 0 0 26px rgba(229, 199, 134, .055), 0 0 0 52px rgba(229, 199, 134, .035);
}
.unique-creation-card::after {
  width: 190px;
  height: 190px;
  bottom: -110px;
  left: 43%;
  background: radial-gradient(circle, rgba(214, 176, 99, .24), transparent 68%);
}
.unique-creation-content { position: relative; z-index: 1; max-width: 800px; }
.unique-creation-card .eyebrow { color: #e4bd6e; }
.unique-creation-card h2 { max-width: 780px; color: #fffaf2; font-size: clamp(2.25rem, 5vw, 5.2rem); }
.unique-creation-card p:not(.eyebrow) { max-width: 760px; color: rgba(255, 248, 237, .83); font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.72; }
.unique-creation-signature { margin: 26px 0 0; color: #f0cf88 !important; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem) !important; font-style: italic; }
.unique-creation-icons {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: clamp(28px, 4vw, 46px) 0 0;
  padding: 0;
  list-style: none;
}
.unique-creation-icons li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 66px;
  padding: 12px;
  border: 1px solid rgba(255, 248, 237, .18);
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 248, 237, .075);
  color: #fff8ed;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
  backdrop-filter: blur(10px);
}
.unique-creation-icons i { color: #e7be6b; font-size: 1.1rem; }
.feature-grid, .story-grid, .admin-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature, .review, .blog-card, .stat, .faq-item, .glass {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.flash { background: var(--black); color: #fff; }
.flash .container { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.timer { display: flex; gap: 10px; }
.timer span { min-width: 72px; padding: 14px; border: 1px solid rgba(255,255,255,.25); text-align: center; border-radius: var(--radius); }
.insta-grid, .masonry { columns: 4 210px; column-gap: 16px; }
.insta-grid img, .masonry img { break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius); aspect-ratio: auto; height: auto; box-shadow: var(--shadow); }
.newsletter {
  background: linear-gradient(120deg, rgba(198,161,91,.18), rgba(255,255,255,.35)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input, select, textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); padding: 13px 14px;
}
textarea { min-height: 130px; resize: vertical; }
.site-footer { background: var(--black); color: #fff8ed; padding: 54px 20px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer-grid a, .site-footer p { color: rgba(255,248,237,.72); }
.page-hero { padding: 95px 20px 44px; background: var(--beige); }
.page-hero h1 { color: var(--ink); font-size: clamp(2.5rem, 6vw, 5.4rem); }
.toolbar { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.detail-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 42px; align-items: start; }
.detail-gallery .main-product-img { aspect-ratio: 4 / 5; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s ease; }
.detail-gallery .main-product-img:hover { transform: scale(1.02); }
.detail-gallery .thumb-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.thumb { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; aspect-ratio: 1; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--surface); }
.tailor-form, .contact-grid, .checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.measure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.map { min-height: 320px; border: 0; border-radius: var(--radius); filter: grayscale(.2); }
.map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.map-shell .map {
  width: 100%;
  min-height: clamp(300px, 45vw, 480px);
  display: block;
}
.footer-map-shell .footer-map {
  min-height: 400px;
  height: 400px;
}
.form-success {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(198, 161, 91, .38);
  border-radius: var(--radius);
  background: rgba(198, 161, 91, .12);
  color: var(--gold-dark);
}
.form-success[hidden] { display: none; }
.field-error {
  border-color: #b86a4b;
  box-shadow: 0 0 0 3px rgba(184, 106, 75, .12);
}
.cart-line { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.quick-modal { position: fixed; inset: 0; z-index: 70; display: none; place-items: center; background: rgba(0,0,0,.48); padding: 20px; }
.quick-modal.open { display: grid; }
.modal-card { width: min(780px, 100%); display: grid; grid-template-columns: .9fr 1fr; gap: 24px; background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: 18px; position: relative; }
.modal-card img { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.modal-close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--black); color: #fff; padding: 12px 18px; border-radius: 999px; opacity: 0; transition: .25s ease; z-index: 90; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.floating { position: fixed; right: 18px; z-index: 45; display: grid; gap: 10px; bottom: 88px; }
.floating a, .back-top { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow); }
.whatsapp { background: #25D366; }
.whatsapp i {
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.instagram {
  background: linear-gradient(135deg, #833ab4 0%, #c13584 32%, #e1306c 55%, #fd1d1d 74%, #fcb045 100%);
}
.instagram svg {
  display: block;
  width: 22px;
  height: 22px;
}
.facebook { background: #1877f2; font-family: Arial, sans-serif; font-size: 1.35rem; font-weight: 800; }
.back-top { background: var(--gold); }
.admin-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.admin-table th, .admin-table td { padding: 15px; border-bottom: 1px solid var(--line); text-align: left; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes pulse { from { transform: scale(.92); opacity: .62; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; }
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; padding: 18px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .product-grid, .feature-grid, .story-grid, .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-layout, .tailor-form, .contact-grid, .checkout-grid, .newsletter, .flash .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .nav { min-height: 68px; padding: 0 14px; }
  .brand-logo { width: 50px; height: 50px; }
  .brand span:last-child { max-width: 145px; line-height: 1.15; }
  .hero { min-height: 88vh; }
  .section { padding: 58px 16px; }
  .section-head { display: block; }
  .product-grid, .feature-grid, .story-grid, .admin-stats, .toolbar, .measure-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; max-height: 90vh; overflow: auto; }
  .form-row { grid-template-columns: 1fr; }
  .nav-actions .icon-btn:nth-child(1), .nav-actions .icon-btn:nth-child(2) { display: none; }
}

html { overflow-x: hidden; -webkit-text-size-adjust: 100%; }
body { overflow-x: clip; }
img, picture, video, iframe, svg { max-width: 100%; }
button, input, select, textarea { min-width: 0; }
.mobile-nav-tools { display: none; }
.toolbar, .luxe-toolbar { grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); }
.product-actions > * { flex: 1 1 130px; }
.product-actions a { min-width: 0; }
.detail-gallery .thumb-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.table-wrap { -webkit-overflow-scrolling: touch; }
form.glass { display: grid; gap: 12px; }
form.glass > h2 { margin: 10px 0 0; }
.checkout-grid aside > input { margin-top: 12px; }

@media (max-width: 1023px) {
  .section { padding-block: clamp(58px, 8vw, 76px); }
  .page-hero { padding-top: clamp(76px, 12vw, 96px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-inner { padding-top: clamp(88px, 14vh, 130px); }
}

@media (max-width: 767px) {
  .nav { min-height: 68px; padding-inline: 12px; gap: 8px; }
  .brand { min-width: 0; flex: 1 1 auto; gap: 8px; }
  .brand span:last-child { max-width: 106px; font-size: .92rem; line-height: 1.16; }
  .brand-logo { width: 48px; height: 48px; flex: 0 0 auto; }
  .nav-actions { flex: 0 0 auto; gap: 6px; }
  .icon-btn, .menu-toggle { width: 44px; height: 44px; }
  .nav-actions .lang-toggle, .nav-actions .theme-toggle, .nav-actions .icon-btn:nth-child(4) { display: none; }
  .nav-links { top: 68px; max-height: calc(100dvh - 68px); overflow-y: auto; padding: 18px 16px 24px; gap: 4px; }
  .nav-links a, .mobile-nav-button { min-height: 44px; padding: 10px 12px; border-radius: var(--radius); }
  .nav-links a:hover { background: var(--beige); }
  .mobile-nav-tools { display: grid; gap: 8px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
  .mobile-nav-button { width: 100%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; }
  .hero { min-height: max(620px, calc(100svh - 68px)); }
  .hero-inner { padding: 96px 16px 56px; }
  .hero h1 { font-size: clamp(2.85rem, 15vw, 4.6rem); }
  .hero .lead { font-size: clamp(.98rem, 3.8vw, 1.08rem); }
  .hero-actions .btn { flex: 1 1 100%; }
  .section-head { align-items: start; }
  .newsletter { padding: 24px 18px; }
  .search-panel { width: min(440px, 100vw); padding: 20px 16px; }
  .floating { right: 12px; }
  .recent-popup { left: 12px; width: min(310px, calc(100vw - 24px)); }
  .map { min-height: 260px; }
  .footer-map-section { padding: 38px 14px; }
  .footer-map-shell .footer-map { min-height: 320px; height: 320px; }
  .unique-creation-card { padding: 30px 22px; }
  .unique-creation-icons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 479px) {
  .section { padding-inline: 14px; }
  .page-hero { padding-inline: 14px; }
  .product-grid, .feature-grid, .story-grid, .admin-stats { grid-template-columns: 1fr; }
  .product-actions > * { flex-basis: 100%; }
  .thumb-row, .detail-gallery .thumb-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flash .container { gap: 18px; }
  .timer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timer span { min-width: 0; padding: 10px 6px; font-size: .82rem; }
  .floating a, .back-top { width: 44px; height: 44px; }
  .unique-creation-icons { grid-template-columns: 1fr; }
  .unique-creation-icons li { min-height: 56px; }
  .product-main-media .unique-piece-badge { top: 12px; left: 12px; }
}

@media (max-width: 359px) {
  .nav-actions .search-toggle { display: none; }
  .brand span:last-child { max-width: 116px; }
  .hero { min-height: 590px; }
}

@media (min-width: 480px) and (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { flex: 0 1 auto; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .nav { padding-inline: 24px; }
  .hero-inner, .container { width: min(100% - 48px, 980px); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid, .story-grid, .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-inner, .container, .nav { width: min(100% - 64px, 1180px); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .hero-inner, .container, .nav { width: min(100% - 80px, 1320px); max-width: none; }
  .section { padding-block: clamp(86px, 8vw, 124px); }
}

@media (min-width: 1440px) {
  .hero-inner, .container, .nav { width: min(100% - 120px, 1440px); }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
  .section-head { margin-bottom: 38px; }
}

@media (min-width: 1920px) {
  .hero-inner, .container, .nav { width: min(100% - 160px, 1580px); }
  .hero-inner { padding-block: 16vh 11vh; }
  .section { padding-block: 132px; }
}

@media (max-height: 560px) and (orientation: landscape) and (max-width: 767px) {
  .hero { min-height: 500px; }
  .floating { bottom: 76px; right: 12px; display: flex; gap: 8px; }
  .floating a, .back-top { width: 40px; height: 40px; }
  .bottom-nav { height: 56px; }
  body { padding-bottom: 56px; }
}
