:root {
  /* Colors */
  --accent: #b79652;
  --bg: #171714;
  --surface: #20201b;
  --raised: #282720;
  --ink: #eee8d9;
  --muted: #b4ab98;
  --line: #ffffff15;
  --paper: #f4efe3;
  --serif: 'Tajawal', Tahoma, sans-serif;
  --font: 'Tajawal', Tahoma, sans-serif;
  --shadow: 0 25px 80px #0004;
  color-scheme: dark;
  /* Corner radii: the only place shapes are defined (used in the SHAPE SYSTEM section at the end) */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --radius-arch: 95px;
  /* Control sizes: one height for every button, field and icon button */
  --control-h: 48px;
  --control-h-lg: 56px;
  --chip-h: 44px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 12px var(--font);
  -webkit-font-smoothing: antialiased;
}

body.ivory {
  --bg: #f4f0e7;
  --surface: #fffcf6;
  --raised: #eae4d7;
  --ink: #302c24;
  --muted: #726951;
  --line: #342b211b;
  --paper: #f4efe3;
  color-scheme: light;
}

body.no-motion * {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}

body.dialog-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  overflow-wrap: anywhere;
}

h3 {
  overflow-wrap: anywhere;
}

p {
  line-height: 2.15;
  color: var(--muted);
  overflow-wrap: anywhere;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button {
  border: 0;
  color: inherit;
  background: none;
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

input,
textarea,
select {
  accent-color: var(--accent);
}

.wrap {
  width: min(1280px, 89%);
  margin: auto;
}

.eyebrow {
  display: block;
  font: 10px Tajawal, sans-serif;
  letter-spacing: 2.8px;
  color: var(--accent);
  margin-bottom: 16px;
  line-height: 1.6;
}

.scroll-progress {
  height: 2px;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background: var(--accent);
  width: 0;
  pointer-events: none;
}

.announcement {
  background: var(--accent);
  color: #191913;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 34px;
  font-size: 10px;
  padding: 6px 22px;
  text-align: center;
}

.spark {
  font-size: 9px;
}

.nav-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-lockup img {
  height: 62px;
  width: 62px;
  object-fit: cover;
}

.brand-lockup .wordmark {
  font: 28px Tajawal, serif;
  letter-spacing: 4px;
  font-weight: 400;
}

.brand-lockup span {
  display: block;
  color: var(--accent);
  font-size: 8px;
  letter-spacing: 1px;
  margin-top: 5px;
}

.navlinks {
  display: flex;
  gap: 32px;
  font-size: 11px;
}

.navlinks a {
  padding: 16px 0;
  color: var(--muted);
  transition: .2s;
}

.navlinks a:hover {
  color: var(--accent);
}

.nav-discover {
  border: 1px solid var(--line);
  padding: 12px 17px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-discover span {
  font-size: 18px;
  color: var(--accent);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 65%;
  height: 130%;
  background: radial-gradient(ellipse, #b69b5711, transparent 68%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: .94fr 1.1fr;
  gap: 7%;
  align-items: center;
  padding: 65px 0 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(60px, 6.3vw, 94px);
  line-height: 1.23;
  margin: 0 0 25px;
  letter-spacing: -1px;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-copy p {
  max-width: 375px;
  font-size: 12px;
  margin-bottom: 32px;
}

.gold-button,
.outline-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 45px;
  padding: 13px 24px;
  transition: background .2s, transform .2s;
  font-size: 11px;
  white-space: normal;
  text-align: center;
}

.gold-button {
  background: var(--accent);
  color: #171714;
  border: 1px solid var(--accent);
}

.gold-button:hover {
  filter: brightness(1.09);
  transform: translateY(-2px);
}

.outline-button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
}

.outline-button:hover {
  background: var(--raised);
}

.danger-button {
  border: 1px solid #a7655c;
  color: #d79b8e;
  background: #a7655c15;
}

.hero-signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 35px;
  font-size: 9px;
  color: var(--muted);
}

.fine-line {
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.hero-art {
  position: relative;
  height: 520px;
  padding: 22px;
}

.hero-frame {
  height: 100%;
  background-size: cover;
  background-position: 28% center;
  position: relative;
  box-shadow: var(--shadow);
}

.hero-frame:after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid #dfb96833;
  pointer-events: none;
}

.hero-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid #b796523a;
  transform: rotate(-5deg);
}

.hero-seal {
  position: absolute;
  bottom: 46px;
  right: -20px;
  width: 108px;
  height: 108px;
  background: var(--bg);
  border: 1px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  box-shadow: 0 0 0 7px var(--bg);
}

.hero-seal b {
  font: 45px Tajawal, serif;
  font-weight: 400;
  line-height: 1;
}

.hero-seal span {
  font: 7px Tajawal, sans-serif;
  letter-spacing: 2px;
  margin: 6px 0;
}

.art-caption {
  position: absolute;
  bottom: 0;
  left: 15%;
  font: 8px Tajawal;
  letter-spacing: 2px;
  color: var(--muted);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.hero-bottom span:first-child {
  font: 9px Tajawal;
}

.hero-bottom a {
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-bottom b {
  font: 21px Tajawal;
  color: var(--accent);
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 21px;
  font-size: 11px;
  color: var(--muted);
}

.brand-strip i {
  font-style: normal;
  color: var(--accent);
}

.section {
  padding: 75px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 35px;
}

.section-head h2 {
  font-size: 45px;
  line-height: 1.3;
}

.section-head p {
  max-width: 300px;
  font-size: 11px;
}

.category-rail {
  display: grid;
  grid-auto-columns: calc((100% - 5*18px)/6);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 0 14px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.category-card {
  padding: 0;
  text-align: right;
  scroll-snap-align: start;
}

.category-image {
  aspect-ratio: .83;
  background-color: var(--raised);
  position: relative;
  overflow: hidden;
  transition: .5s;
}

.category-image:after {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid #dcc28b30;
}

.photo {
  background-repeat: no-repeat;
  background-color: var(--raised);
  background-position: center;
  background-size: cover;
}

.category-card h3 {
  font-size: 12px;
  font-weight: 500;
  margin-top: 16px;
}

.category-card p {
  font-size: 9px;
  margin-top: 4px;
}

.category-no {
  font: 10px Tajawal;
  color: var(--accent);
  display: block;
  margin-top: 8px;
}

.rail-hint {
  font-size: 9px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.catalog-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.catalog-counter {
  font-size: 10px;
  color: var(--muted);
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 23px;
}

.search-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  flex: 1;
  max-width: 440px;
  padding: 0 16px;
  background: var(--bg);
}

.search-wrap span {
  font: 25px Tajawal;
  color: var(--accent);
  margin-left: 13px;
}

.search-wrap input {
  border: 0;
  background: none;
  width: 100%;
  color: var(--ink);
  padding: 14px 0;
  min-width: 0;
  font-size: 12px;
}

.filter-rail {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding: 0 0 16px;
  margin-bottom: 27px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}

.filter-button {
  padding: 10px 17px;
  border: 1px solid transparent;
  white-space: nowrap;
  min-height: 44px;
  color: var(--muted);
  font-size: 10px;
}

.filter-button[aria-pressed=true] {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 23px;
}

.product-card {
  min-width: 0;
}

.product-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  background-color: var(--raised);
  border: 1px solid var(--line);
}

.product-photo .photo {
  position: absolute;
  inset: 0;
  transition: transform .6s;
}

.product-photo:hover .photo {
  transform: scale(1.045);
}

.product-photo:after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 45px #0002;
  pointer-events: none;
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  color: #171714;
  background: var(--accent);
  padding: 6px 10px;
  font-size: 8px;
  max-width: 80%;
  overflow-wrap: anywhere;
}

.product-detail-link {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  background: #171714cc;
  color: #e9dcc0;
  border: 1px solid #c4ad7e60;
  font-size: 9px;
  padding: 7px 12px;
}

.product-category {
  display: block;
  color: var(--accent);
  font-size: 8px;
  margin-top: 16px;
}

.product-card h3 {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.8;
  margin: 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 43px;
}

.product-unit {
  font-size: 9px;
  color: var(--muted);
}

.product-bottom {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font: 19px Tajawal, serif;
  color: var(--ink);
  display: block;
}

.price small {
  font: 9px var(--font);
  color: var(--muted);
  margin-right: 4px;
}

.old-price {
  display: block;
  font-size: 9px;
  text-decoration: line-through;
  color: var(--muted);
  margin-bottom: 4px;
}

.detail-arrow {
  border: 1px solid var(--line);
  width: 34px;
  height: 34px;
  font: 17px Tajawal;
  color: var(--accent);
}

.detail-arrow:hover {
  border-color: var(--accent);
}

.load-more {
  display: flex;
  margin: 35px auto 0;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 45px 20px;
  border: 1px dashed var(--line);
  color: var(--muted);
}

.empty-state h3 {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 11px;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.featured-card {
  padding: 0;
  position: relative;
  height: 350px;
  overflow: hidden;
  text-align: right;
}

.featured-card .photo {
  position: absolute;
  inset: 0;
  transition: transform .7s;
}

.featured-card:hover .photo {
  transform: scale(1.04);
}

.featured-card:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #12120ff2, transparent 90%);
}

.featured-copy {
  position: absolute;
  bottom: 24px;
  right: 25px;
  left: 25px;
  z-index: 1;
  color: #eee8d9;
}

.featured-copy span {
  font-size: 9px;
  color: #ceb374;
}

.featured-copy h3 {
  font: 29px var(--serif);
  margin: 10px 0;
}

.featured-copy p {
  font-size: 10px;
  color: #d6cbb4;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gifts-section {
  padding: 75px 0;
  background: linear-gradient(115deg, var(--raised), var(--surface));
  border-block: 1px solid var(--line);
}

.gifts-intro {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8%;
  align-items: center;
}

.gifts-copy h2 {
  font-size: 57px;
  line-height: 1.25;
  margin-bottom: 25px;
}

.gifts-copy p {
  font-size: 12px;
  max-width: 390px;
}

.gift-occasions {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.gift-occasions i {
  font-style: normal;
  color: var(--accent);
}

.gift-cover {
  aspect-ratio: 1.25;
  border: 1px solid var(--line);
  position: relative;
}

.gift-cover:after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid #c4ad7e55;
  pointer-events: none;
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.box-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 18px;
  background: var(--bg);
  text-align: right;
}

.box-card .photo {
  aspect-ratio: 1;
}

.box-card h3 {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}

.box-card p {
  font-size: 9px;
  margin: 6px 0;
}

.box-card .price {
  font-size: 16px;
  margin-top: 8px;
}

.story-section {
  text-align: center;
  position: relative;
}

.story-inner {
  max-width: 800px;
}

.story-mark {
  font: 80px Tajawal;
  color: var(--accent);
  opacity: .25;
  display: block;
  margin-bottom: 10px;
}

.story-inner h2 {
  font-size: 49px;
  line-height: 1.45;
  margin: 20px 0;
}

.story-inner p {
  font-size: 12px;
  max-width: 550px;
  margin: auto;
}

.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--accent);
  margin-top: 36px;
}

.story-divider span {
  width: 60px;
  height: 1px;
  background: var(--line);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8%;
  align-items: center;
}

.visit-grid h2 {
  font-size: 43px;
}

.visit-grid p {
  font-size: 11px;
  margin: 16px 0;
}

.visit-grid .eyebrow {
  font-size: 9px;
}

.map-panel {
  height: 300px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-panel iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

.map-placeholder .map-symbol {
  display: block;
  font: 52px Tajawal;
  color: var(--accent);
  margin-bottom: 15px;
}

.map-placeholder p {
  font-size: 11px;
}

.contact-links {
  display: flex;
  gap: 20px;
  font-size: 10px;
  margin-top: 20px;
  color: var(--accent);
}

.footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 0 22px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding-bottom: 30px;
}

.footer-top p {
  font-size: 10px;
  max-width: 400px;
}

.back-top {
  border: 1px solid var(--line);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 23px Tajawal;
  color: var(--accent);
}

.demo-note {
  font-size: 9px;
  color: var(--muted);
  background: var(--bg);
  padding: 11px 15px;
  line-height: 1.9;
  margin-bottom: 20px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 9px;
  color: var(--muted);
}

.company-credit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-credit img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.company-credit b {
  font: 12px Tajawal;
  color: var(--ink);
}

.admin-entry {
  color: var(--accent);
}

.mobile-nav {
  display: none;
}

.loading {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
}

.loading img {
  width: 90px;
}

.loading span {
  font-size: 12px;
}

.loading img {
  animation: breath 2s ease-in-out infinite;
}

.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 25px;
  font-size: 11px;
  box-shadow: var(--shadow);
  max-width: min(90%, 600px);
  line-height: 1.9;
}

.draft-return {
  position: fixed;
  bottom: 24px;
  right: 25px;
  z-index: 45;
  background: var(--accent);
  color: #171714;
  padding: 13px 18px;
  font-size: 10px;
  box-shadow: var(--shadow);
}

/* Dialogs */
dialog {
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  max-width: 94%;
  max-height: 90dvh;
  overflow: auto;
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: #070706c9;
  backdrop-filter: blur(7px);
}

.edit-dialog {
  width: 780px;
  padding: 30px;
}

.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.dialog-top h2 {
  font-size: 31px;
  line-height: 1.4;
}

.dialog-top .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}

.close-button {
  font: 30px Tajawal;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  color: var(--muted);
  line-height: 1;
}

.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.product-dialog {
  width: 850px;
  position: relative;
}

.floating-close {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  background: var(--bg);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 430px;
}

.detail-photo {
  min-height: 430px;
}

.detail-copy {
  padding: 40px 30px;
}

.detail-copy h2 {
  font-size: 36px;
  line-height: 1.4;
  margin: 15px 0;
}

.detail-copy p {
  font-size: 11px;
}

.detail-copy .price {
  margin-top: 23px;
  font-size: 25px;
}

.detail-copy .product-unit {
  margin-top: 9px;
  display: block;
}

.allergens {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 9px;
  color: var(--muted);
  line-height: 2;
}

.box-content-list {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 17px;
}

.box-content-list h3 {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 10px;
}

.box-content-list p {
  font-size: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.related-section {
  padding: 25px;
  border-top: 1px solid var(--line);
}

.related-section h3 {
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 15px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.related-grid button {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: right;
  padding: 0;
  font-size: 9px;
}

.related-grid .photo {
  width: 55px;
  height: 55px;
  flex-shrink: 0;
}

.confirm-dialog {
  width: 440px;
  padding: 30px;
}

.confirm-dialog h2 {
  font-size: 30px;
  margin-bottom: 15px;
}

.confirm-dialog p {
  font-size: 11px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes breath {
  50% {
    opacity: .6;
    transform: scale(.97);
  }

}

.hero-copy,
.hero-art {
  animation: rise .85s both;
}

.hero-art {
  animation-delay: .1s;
}

.product-card {
  animation: rise .45s both;
}

@media(min-width: 1500px) {
  .hero-grid {
    padding: 80px 0;
  }

  .hero-art {
    height: 580px;
  }

}

@media(max-width: 1150px) {
  .navlinks {
    gap: 22px;
  }

  .hero-grid {
    gap: 5%;
  }

  .hero-art {
    height: 460px;
  }

  .category-rail {
    grid-auto-columns: calc((100% - 4*16px)/5);
    gap: 16px;
  }

  .admin-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .admin-main {
    padding: 28px 25px;
  }

  .category-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-grid {
    gap: 12px;
  }

  .admin-duo {
    grid-template-columns: 1fr;
  }

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

}

@media(max-width: 900px) {
  .navlinks {
    gap: 17px;
    font-size: 10px;
  }

  .nav-discover {
    display: none;
  }

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

  .hero h1 {
    font-size: 65px;
  }

  .hero-art {
    height: 410px;
  }

  .hero-seal {
    width: 87px;
    height: 87px;
    right: -10px;
  }

  .hero-seal b {
    font-size: 35px;
  }

  .hero-seal span {
    font-size: 6px;
  }

  .hero-copy p {
    font-size: 11px;
  }

  .featured-card {
    height: 290px;
  }

  .featured-copy {
    right: 18px;
    left: 18px;
    bottom: 20px;
  }

  .featured-copy h3 {
    font-size: 25px;
  }

  .gifts-copy h2 {
    font-size: 46px;
  }

  .gifts-intro {
    gap: 5%;
  }

  .brand-strip {
    gap: 25px;
    font-size: 10px;
  }

  .admin-top {
    padding: 13px 20px;
  }

  .admin-top .save-state {
    display: none;
  }

  .admin-top-actions {
    gap: 8px;
  }

  .admin-top-actions .gold-button,
  .admin-top-actions .outline-button {
    font-size: 9px;
    padding: 10px 13px;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 76px;
    z-index: 25;
    height: auto;
    padding: 10px 15px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .sidebar-caption,
  .sidebar-footer,
  .signout {
    display: none;
  }

  .admin-sidebar #adminNav {
    display: flex;
    gap: 5px;
    overflow: auto;
    scrollbar-width: none;
  }

  .admin-nav-button {
    width: auto;
    white-space: nowrap;
    font-size: 9px;
    padding: 10px 12px;
    margin: 0;
    gap: 8px;
    min-height: 43px;
  }

  .admin-nav-button span {
    font-size: 16px;
    width: 16px;
  }

  .admin-main {
    padding: 25px 22px;
  }

}

@media(max-width: 650px) {
  html {
    scroll-padding-top: 90px;
  }

  .wrap {
    width: 89%;
  }

  .announcement {
    font-size: 8px;
    gap: 15px;
    min-height: 32px;
    padding: 6px 15px;
  }

  .nav {
    height: 79px;
    gap: 15px;
  }

  .brand-lockup img {
    width: 46px;
    height: 46px;
  }

  .brand-lockup .wordmark {
    font-size: 24px;
    letter-spacing: 3px;
  }

  .brand-lockup span {
    font-size: 7px;
    margin-top: 4px;
  }

  .navlinks {
    gap: 16px;
    font-size: 9px;
  }

  .navlinks a:nth-child(1),
  .navlinks a:nth-child(4) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding: 33px 0 28px;
    gap: 28px;
  }

  .hero-copy {
    text-align: center;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  .hero h1 {
    font-size: 61px;
    line-height: 1.19;
    margin-bottom: 20px;
    letter-spacing: -1.4px;
  }

  .hero-copy p {
    font-size: 11px;
    max-width: 310px;
    margin: 0 auto 23px;
  }

  .gold-button,
  .outline-button,
  .danger-button {
    min-height: 44px;
    padding: 12px 20px;
    font-size: 10px;
    gap: 20px;
  }

  .hero-signature {
    justify-content: center;
    margin-top: 21px;
    font-size: 8px;
  }

  .hero-art {
    height: 345px;
    margin: 0 7px;
    padding: 14px;
  }

  .hero-seal {
    width: 84px;
    height: 84px;
    right: -8px;
    bottom: 35px;
  }

  .hero-frame {
    background-position: 28% center;
  }

  .art-caption {
    font-size: 6px;
    letter-spacing: 1.6px;
    left: 14%;
  }

  .hero-bottom {
    font-size: 8px;
    padding: 18px 0;
    gap: 10px;
  }

  .hero-bottom span:first-child {
    font-size: 7px;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .hero-bottom a {
    font-size: 8px;
    gap: 12px;
  }

  .brand-strip {
    gap: 16px;
    padding: 16px;
    font-size: 9px;
    flex-wrap: wrap;
  }

  .brand-strip i:nth-last-child(2),
  .brand-strip span:last-child {
    display: none;
  }

  .section {
    padding: 47px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 26px;
  }

  .section-head h2 {
    font-size: 36px;
    line-height: 1.3;
  }

  .section-head p {
    font-size: 10px;
    margin-top: 15px;
    max-width: 290px;
  }

  .category-rail {
    grid-auto-columns: 42%;
    gap: 16px;
  }

  .category-card h3 {
    font-size: 11px;
    margin-top: 14px;
  }

  .category-card p {
    font-size: 9px;
  }

  .category-no {
    font-size: 9px;
  }

  .category-image {
    aspect-ratio: .93;
  }

  .rail-hint {
    font-size: 8px;
    margin-top: 7px;
  }

  .catalog-counter {
    display: block;
    font-size: 9px;
    margin-top: 14px;
  }

  .catalog-tools {
    gap: 10px;
    margin-bottom: 17px;
  }

  .search-wrap {
    padding: 0 10px;
  }

  .search-wrap input {
    font-size: 16px;
    padding: 12px 0;
  }

  .search-wrap input::placeholder {
    font-size: 10px;
  }

  .search-wrap span {
    font-size: 21px;
    margin-left: 7px;
  }

  .filter-rail {
    gap: 4px;
    padding-bottom: 13px;
    margin-bottom: 24px;
  }

  .filter-button {
    padding: 10px 12px;
    font-size: 9px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }

  .product-badge {
    font-size: 7px;
    padding: 5px 7px;
    right: 8px;
    top: 8px;
  }

  .product-detail-link {
    font-size: 8px;
    padding: 5px 8px;
    bottom: 8px;
    left: 8px;
  }

  .product-category {
    font-size: 8px;
    margin-top: 13px;
  }

  .product-card h3 {
    font-size: 10px;
    min-height: 38px;
    line-height: 1.9;
    margin: 5px 0;
  }

  .product-unit {
    font-size: 8px;
  }

  .product-bottom {
    margin-top: 10px;
    padding-top: 11px;
  }

  .price {
    font-size: 17px;
  }

  .price small {
    font-size: 8px;
  }

  .old-price {
    font-size: 8px;
  }

  .detail-arrow {
    width: 33px;
    height: 33px;
    flex-shrink: 0;
  }

  .load-more {
    margin-top: 26px;
  }

  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .featured-card:first-child {
    grid-column: 1/-1;
    height: 280px;
  }

  .featured-card {
    height: 220px;
  }

  .featured-copy {
    right: 15px;
    left: 15px;
    bottom: 18px;
  }

  .featured-copy h3 {
    font-size: 23px;
    margin: 7px 0;
  }

  .featured-copy span {
    font-size: 8px;
  }

  .featured-copy p {
    font-size: 9px;
  }

  .gifts-section {
    padding: 45px 0;
  }

  .gifts-intro {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  .gifts-copy h2 {
    font-size: 44px;
    line-height: 1.27;
    margin-bottom: 18px;
  }

  .gifts-copy p {
    font-size: 11px;
  }

  .gift-occasions {
    margin-top: 22px;
    font-size: 9px;
    gap: 20px;
  }

  .gift-cover {
    aspect-ratio: 1.18;
  }

  .box-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .box-card {
    grid-template-columns: 90px 1fr;
    gap: 17px;
    padding: 16px;
  }

  .box-card h3 {
    font-size: 11px;
  }

  .story-mark {
    font-size: 65px;
  }

  .story-inner h2 {
    font-size: 37px;
    line-height: 1.5;
  }

  .story-inner p {
    font-size: 11px;
  }

  .story-divider {
    margin-top: 24px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .visit-grid h2 {
    font-size: 36px;
  }

  .visit-grid .eyebrow {
    font-size: 8px;
  }

  .map-panel {
    height: 260px;
  }

  .footer {
    padding: 30px 0 95px;
  }

  .footer-top {
    flex-wrap: wrap;
    gap: 22px;
    padding-bottom: 25px;
  }

  .footer-top p {
    order: 3;
    flex-basis: 100%;
    font-size: 9px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 8px;
  }

  .demo-note {
    font-size: 8px;
  }

  .company-credit b {
    font-size: 11px;
  }

  .mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    padding: 9px 10px max(10px, env(safe-area-inset-bottom));
    min-height: 66px;
  }

  .mobile-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 8px;
    padding: 2px 15px;
    min-width: 55px;
    min-height: 44px;
  }

  .mobile-nav a span {
    font: 23px Tajawal;
    color: var(--accent);
    line-height: 1;
  }

  .toast {
    bottom: 85px;
    padding: 12px 18px;
    font-size: 10px;
    width: max-content;
    max-width: 89%;
  }

  .draft-return {
    bottom: 83px;
    right: 15px;
    padding: 12px 15px;
    font-size: 9px;
  }

  .admin-top {
    padding: 12px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .admin-top .brand-lockup img {
    height: 39px;
    width: 39px;
  }

  .admin-top .brand-lockup b {
    font-size: 13px;
  }

  .admin-top .brand-lockup span {
    font-size: 8px;
  }

  .admin-top-actions {
    gap: 7px;
  }

  .admin-top-actions .outline-button {
    padding: 9px 10px;
    font-size: 8px;
    min-height: 39px;
  }

  .admin-top-actions .gold-button {
    padding: 9px 10px;
    font-size: 8px;
    min-height: 39px;
  }

  .admin-top-actions #previewStore {
    display: none;
  }

  .admin-sidebar {
    top: 64px;
    padding: 8px 10px;
  }

  .admin-nav-button {
    font-size: 8px;
    padding: 9px 10px;
    gap: 6px;
  }

  .admin-main {
    padding: 23px 16px 40px;
  }

  .admin-heading {
    gap: 12px;
    margin-bottom: 22px;
    align-items: flex-start;
  }

  .admin-heading h1 {
    font-size: 30px;
  }

  .admin-heading p {
    font-size: 9px;
  }

  .admin-heading .gold-button {
    padding: 11px 13px;
    font-size: 9px;
    white-space: nowrap;
  }

  .admin-banner {
    padding: 21px;
    gap: 15px;
  }

  .admin-banner h2 {
    font-size: 28px;
  }

  .admin-banner p {
    font-size: 10px;
  }

  .admin-banner .banner-mark {
    font-size: 59px;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 18px;
  }

  .stat-card b {
    font-size: 30px;
    margin-bottom: 9px;
  }

  .stat-card span {
    font-size: 9px;
  }

  .panel {
    padding: 20px;
    margin-bottom: 18px;
  }

  .panel h2 {
    font-size: 27px;
  }

  .panel p {
    font-size: 10px;
  }

  .quick-actions button {
    padding: 16px 10px;
    font-size: 9px;
  }

  .admin-duo {
    gap: 0;
  }

  .category-admin-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .table-tools {
    gap: 9px;
  }

  .table-tools input {
    width: 100%;
    max-width: none;
    flex-basis: 100%;
    font-size: 16px;
  }

  .table-tools input::placeholder {
    font-size: 11px;
  }

  .table-tools select {
    padding: 10px 12px;
    font-size: 10px;
  }

  .table-name {
    min-width: 135px;
  }

  td,
  th {
    padding: 12px;
  }

  .table-actions {
    gap: 5px;
  }

  .tiny-button {
    min-height: 38px;
    font-size: 9px;
    padding: 8px 11px;
  }

  .fields {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .fields .full {
    grid-column: auto;
  }

  .fields label {
    font-size: 10px;
  }

  .fields input,
  .fields textarea,
  .fields select {
    font-size: 16px;
    padding: 11px;
  }

  .fields input[type=number] {
    font-size: 16px;
  }

  .fields textarea {
    min-height: 100px;
  }

  .fields .switch-label {
    font-size: 10px;
    padding: 14px;
  }

  .image-field {
    grid-template-columns: 90px 1fr;
    gap: 12px;
    padding: 12px;
  }

  .image-preview {
    height: 95px;
  }

  .image-field input[type=text],
  .image-field input[type=url] {
    font-size: 16px;
  }

  .image-field-actions {
    gap: 5px;
  }

  .upload-button {
    padding: 8px;
    font-size: 8px;
    min-height: 38px;
    display: flex;
    align-items: center;
  }

  .content-tabs {
    gap: 6px;
    padding-bottom: 7px;
  }

  .content-tabs button {
    padding: 10px 13px;
    font-size: 9px;
    min-height: 43px;
  }

  .form-footer {
    justify-content: stretch;
    flex-wrap: wrap;
  }

  .form-footer button {
    flex: 1;
  }

  .edit-dialog {
    padding: 22px 18px;
    max-width: 96%;
    max-height: 93dvh;
  }

  .dialog-top {
    margin-bottom: 23px;
    gap: 15px;
  }

  .dialog-top h2 {
    font-size: 29px;
  }

  .dialog-actions {
    gap: 9px;
    justify-content: stretch;
  }

  .dialog-actions button {
    flex: 1;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-photo {
    min-height: 0;
    aspect-ratio: 1.12;
  }

  .detail-copy {
    padding: 25px;
  }

  .detail-copy h2 {
    font-size: 32px;
  }

  .detail-copy p {
    font-size: 11px;
  }

  .related-section {
    padding: 20px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .related-grid button {
    font-size: 10px;
  }

  .related-grid .photo {
    width: 48px;
    height: 48px;
  }

  .product-dialog {
    max-width: 94%;
    max-height: 91dvh;
  }

  .confirm-dialog {
    padding: 25px;
  }

  .box-component {
    grid-template-columns: 1fr 75px;
  }

  .box-components {
    max-height: 230px;
  }

  .backup-actions {
    flex-direction: column;
  }

  .access-card {
    margin: 8vh 5%;
    padding: 30px;
  }

  .access-card h1 {
    font-size: 33px;
  }

  .access-card p {
    font-size: 11px;
  }

  .access-card a {
    display: flex;
    margin-left: 0;
  }

  .loading {
    min-height: 80vh;
  }

  .loading span {
    font-size: 11px;
  }

}

@media(max-width: 650px) {
  .product-card h3 {
    font-size: 12px;
    line-height: 1.7;
    min-height: 41px;
  }

  .product-category {
    font-size: 9px;
  }

  .product-unit {
    font-size: 10px;
  }

  .price {
    font-size: 19px;
  }

  .price small {
    font-size: 9px;
  }

  .admin-top {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 16px;
    gap: 12px;
  }

  .admin-top .brand-lockup {
    justify-content: center;
  }

  .admin-top-actions {
    justify-content: center;
  }

  .admin-top-actions #previewStore {
    display: inline-flex;
  }

  .admin-top-actions .gold-button,
  .admin-top-actions .outline-button {
    font-size: 9px;
    min-height: 42px;
    padding: 10px 18px;
  }

  .admin-sidebar {
    top: 0;
  }

}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }

}

/* Clarity, stable dialogs, and touch-first browsing. */
html {
  scrollbar-gutter: stable;
  scroll-padding-top: 100px;
}

body {
  font-size: 16px;
  line-height: 1.7;
}

h1,
h2,
h3 {
  font-family: var(--font);
  font-weight: 500;
}

p {
  line-height: 1.95;
}

.eyebrow {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 2px;
}

.wordmark {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: 4px;
}

.brand-lockup span {
  font-size: 12px;
}

.gold-button,
.outline-button {
  font-size: 14px;
  min-height: 48px;
}

.navlinks a,
.nav-discover {
  font-size: 14px;
}

.announcement {
  font-size: 12px;
}

.hero-copy h1 {
  font-family: var(--font);
  font-size: clamp(43px, 5.1vw, 76px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -1.5px;
}

.hero-copy h1 em {
  font-style: normal;
}

.hero-copy p {
  font-size: 17px;
  max-width: 460px;
}

.hero-grid {
  min-height: 620px;
}

.hero-copy,
.hero-art,
.product-card {
  animation: none;
}

.hero-signature {
  font-size: 12px;
}

.section-head h2,
.gifts-copy h2 {
  font-size: 43px;
  line-height: 1.5;
}

.section-head p {
  font-size: 15px;
  max-width: 390px;
}

.section {
  padding-block: 72px;
}

.photo {
  position: relative;
  overflow: hidden;
}

.photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame > img {
  object-position: 28% center;
}

.category-card h3 {
  font-size: 17px;
  font-weight: 500;
  margin-top: 15px;
}

.category-card p {
  font-size: 13px;
}

.rail-hint {
  font-size: 12px;
}

.product-category {
  font-size: 12px;
}

.product-card h3 {
  font-size: 18px;
  line-height: 1.6;
  min-height: 58px;
  margin-top: 9px;
}

.product-unit {
  font-size: 13px;
}

.price {
  font-family: var(--font);
  font-size: 25px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.price small {
  font-size: 12px;
}

.old-price {
  font-size: 12px;
}

.detail-arrow {
  width: 44px;
  height: 44px;
}

.product-badge {
  font-size: 11px;
}

.product-detail-link {
  font-size: 12px;
}

.filter-button {
  font-size: 14px;
  min-height: 46px;
  padding: 8px 18px;
}

.filter-rail {
  gap: 6px;
}

.search-wrap input {
  font-size: 16px;
  min-height: 50px;
}

.catalog-counter {
  font-size: 13px;
}

.featured-copy h3 {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 500;
}

.featured-copy span {
  font-size: 12px;
}

.featured-copy p {
  font-size: 14px;
}

.gifts-copy p {
  font-size: 16px;
}

.gift-occasions {
  font-size: 13px;
}

.box-card h3 {
  font-size: 17px;
}

.box-card p {
  font-size: 13px;
}

.box-card .price {
  font-size: 20px;
}

.story-inner h2 {
  font-size: 42px;
  line-height: 1.6;
}

.story-inner p {
  font-size: 16px;
}

.visit-grid h2 {
  font-size: 38px;
}

.visit-grid p {
  font-size: 15px;
}

.contact-links {
  font-size: 15px;
}

.footer-top p {
  font-size: 14px;
}

.footer-bottom,
.demo-note {
  font-size: 12px;
}

.company-credit {
  gap: 8px;
  min-height: 44px;
}

.company-credit img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.company-credit b {
  font: 500 14px var(--font);
}

.company-credit:hover {
  color: var(--accent);
}

.company-credit:focus-visible {
  outline-offset: 6px;
}

.demo-note {
  line-height: 1.8;
}

.sync-notice {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 10px 5%;
  font-size: 14px;
  color: var(--muted);
}

.sync-notice button {
  text-decoration: underline;
  color: var(--accent);
  min-height: 44px;
  padding-inline: 12px;
}

.skeleton-card {
  aspect-ratio: .77;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface), var(--raised));
}

.empty-state h3 {
  font-family: var(--font);
  font-size: 27px;
}

.empty-state p {
  font-size: 15px;
}

.photo img {
  transition: opacity .15s;
}

.product-photo:hover .photo {
  transform: none;
}

dialog {
  position: fixed !important;
  inset: 0;
  margin: auto;
  max-height: 90dvh;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

dialog::backdrop {
  backdrop-filter: none;
  background: #080805d9;
}

.close-button {
  min-width: 44px;
  min-height: 44px;
}

.floating-close {
  position: sticky;
  float: left;
  top: 12px;
  left: 12px;
  margin: 12px 12px -56px;
  z-index: 3;
}

.detail-copy h2 {
  font: 500 33px/1.5 var(--font);
}

.detail-copy p {
  font-size: 16px;
}

.detail-copy .price {
  font-size: 30px;
}

.allergens {
  font-size: 13px;
}

.box-content-list h3 {
  font-size: 17px;
}

.box-content-list p {
  font-size: 14px;
}

.related-section h3 {
  font-size: 16px;
}

.related-grid button {
  font-size: 13px;
  min-height: 52px;
}

.toast {
  font-size: 14px;
  padding: 13px 20px;
}

.product-grid {
  align-items: start;
}

.brand-strip {
  font-size: 13px;
}

.map-panel {
  overflow: hidden;
}

@media(max-width: 900px) {
  .hero-grid {
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: 56px;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-rail {
    grid-auto-columns: calc((100% - 40px)/3);
  }

  .section-head h2 {
    font-size: 35px;
  }

}

@media(max-width: 650px) {
  html {
    scroll-padding-top: 84px;
  }

  .wrap {
    width: calc(100% - 32px);
  }

  .nav-shell {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--bg);
  }

  .nav {
    min-height: 72px;
    padding-block: 10px;
  }

  .brand-lockup img {
    width: 43px;
    height: 43px;
  }

  .nav-discover {
    font-size: 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .brand-lockup span {
    font-size: 11px;
  }

  .wordmark {
    font-size: 23px;
  }

  .announcement {
    font-size: 10px;
    min-height: 31px;
    padding-block: 6px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    gap: 25px;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
  }

  .hero-copy .eyebrow {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .hero-copy h1 {
    font-size: 44px;
    line-height: 1.4;
    letter-spacing: -.5px;
  }

  .hero-copy p {
    font-size: 15px;
    max-width: 340px;
    margin: 15px auto 21px;
  }

  .hero-copy .gold-button {
    margin-inline: auto;
    min-height: 48px;
    font-size: 14px;
    padding-inline: 25px;
  }

  .hero-signature {
    display: none;
  }

  .hero-art {
    height: 320px;
    width: 100%;
    max-width: 350px;
    align-self: center;
  }

  .hero-orbit {
    display: none;
  }

  .hero-seal {
    width: 76px;
    height: 76px;
    left: -2px;
    bottom: 19px;
  }

  .art-caption {
    font-size: 8px;
  }

  .hero-bottom {
    padding-block: 20px;
    font-size: 10px;
  }

  .hero-bottom > span:first-child {
    display: none;
  }

  .brand-strip {
    gap: 14px;
    font-size: 11px;
    padding: 18px 16px;
    white-space: nowrap;
    overflow: auto;
  }

  .section {
    padding-block: 43px;
  }

  .section-head {
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 25px;
  }

  .section-head h2 {
    font-size: 29px;
    line-height: 1.5;
  }

  .section-head p {
    font-size: 14px;
    max-width: 100%;
  }

  .section-head .eyebrow {
    font-size: 9px;
    margin-bottom: 7px;
  }

  .category-rail {
    grid-auto-columns: 42%;
    gap: 14px;
    scrollbar-width: none;
  }

  .category-card h3 {
    font-size: 16px;
  }

  .category-card p {
    font-size: 12px;
  }

  .category-no {
    font-size: 10px;
  }

  .rail-hint {
    font-size: 12px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 12px;
  }

  .product-photo {
    aspect-ratio: 1;
  }

  .product-category {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 12px;
  }

  .product-card h3 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.65;
    min-height: 53px;
    margin-block: 5px;
  }

  .product-unit {
    font-size: 12px;
  }

  .product-bottom {
    gap: 4px;
    padding-top: 10px;
    margin-top: 10px;
  }

  .price {
    font-size: 21px;
    white-space: nowrap;
  }

  .price small {
    font-size: 10px;
    margin-right: 3px;
  }

  .old-price {
    font-size: 11px;
  }

  .detail-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .product-badge {
    font-size: 10px;
    top: 8px;
    right: 8px;
    padding: 4px 7px;
  }

  .product-detail-link {
    display: none;
  }

  .catalog-tools {
    gap: 10px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .search-wrap {
    max-width: none;
    width: 100%;
    padding-inline: 13px;
  }

  .search-wrap input {
    font-size: 16px;
    padding: 11px 0;
  }

  .filter-rail {
    position: sticky;
    top: 72px;
    z-index: 20;
    background: var(--surface);
    margin-inline: -16px;
    padding: 8px 16px 12px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
  }

  .filter-button {
    font-size: 13px;
    min-height: 42px;
    padding: 8px 15px;
  }

  .catalog-counter {
    font-size: 12px;
    padding-top: 10px;
  }

  .featured-grid {
    display: flex;
    overflow-x: auto;
    gap: 14px;
    scroll-snap-type: x mandatory;
  }

  .featured-card {
    flex: 0 0 84%;
    height: 320px;
    scroll-snap-align: start;
  }

  .featured-copy h3 {
    font-size: 27px;
  }

  .featured-copy p {
    font-size: 14px;
  }

  .featured-copy span {
    font-size: 12px;
  }

  .gifts-copy h2 {
    font-size: 31px;
  }

  .gifts-copy p {
    font-size: 15px;
  }

  .gift-occasions {
    font-size: 12px;
    gap: 14px;
  }

  .box-card h3 {
    font-size: 16px;
  }

  .box-card p {
    font-size: 12px;
  }

  .box-card .price {
    font-size: 21px;
  }

  .story-inner h2 {
    font-size: 30px;
  }

  .story-inner p {
    font-size: 15px;
  }

  .visit-grid h2 {
    font-size: 31px;
  }

  .visit-grid p {
    font-size: 14px;
  }

  .footer {
    padding-bottom: 100px;
  }

  .footer-top p {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 11px;
    align-items: center;
    gap: 12px;
  }

  .company-credit {
    font-size: 12px;
    align-self: center;
    gap: 7px;
  }

  .company-credit img {
    width: 24px;
    height: 24px;
  }

  .company-credit b {
    font-size: 13px;
  }

  .demo-note {
    font-size: 11px;
    padding: 12px;
  }

  .mobile-nav {
    background: var(--bg);
    backdrop-filter: none;
    padding-bottom: max(9px, env(safe-area-inset-bottom));
    padding-top: 8px;
  }

  .mobile-nav a {
    font-size: 12px;
    gap: 3px;
    min-width: 60px;
    padding-inline: 10px;
  }

  .mobile-nav a span {
    font-size: 23px;
  }

  .toast {
    font-size: 13px;
    bottom: 85px;
    max-width: calc(100% - 32px);
  }

  .product-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 94dvh;
    inset: auto 0 0;
    margin: 0;
    scrollbar-gutter: auto;
  }

  .detail-photo {
    aspect-ratio: 1.1;
    min-height: 0;
  }

  .detail-copy {
    padding: 25px 20px;
  }

  .detail-copy h2 {
    font-size: 29px;
  }

  .detail-copy p {
    font-size: 15px;
  }

  .detail-copy .eyebrow {
    font-size: 11px;
  }

  .detail-copy .price {
    font-size: 29px;
  }

  .related-section {
    padding: 22px 20px 35px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .related-grid button {
    font-size: 14px;
  }

  .related-grid .photo {
    width: 56px;
    height: 56px;
  }

  .close-button {
    background: var(--bg);
    color: var(--ink);
  }

  .sync-notice {
    font-size: 13px;
  }

  .hero-copy,
  .hero-art {
    opacity: 1;
    transform: none;
  }

}

@media(max-width: 360px) {
  .wrap {
    width: calc(100% - 24px);
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-art {
    height: 285px;
  }

  .product-card h3 {
    font-size: 15px;
  }

  .price {
    font-size: 18px;
  }

  .detail-arrow {
    width: 36px;
    height: 36px;
  }

  .price small {
    font-size: 9px;
  }

  .hero-grid {
    padding-top: 23px;
  }

  .company-credit {
    flex-wrap: wrap;
    justify-content: center;
  }

  .wordmark {
    font-size: 21px;
  }

}

@media(max-width: 650px) {
  .navlinks {
    display: none;
  }

  .nav {
    justify-content: space-between;
    gap: 14px;
  }

  .nav-discover {
    white-space: nowrap;
    gap: 12px;
    padding: 10px 13px;
    font-size: 13px;
  }

  .brand-lockup {
    min-width: 0;
    gap: 10px;
  }

  .brand-lockup .wordmark {
    letter-spacing: 3px;
  }

}

@media(prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}

/* ZoSphorus credit — large clickable logo */
.footer-bottom .company-credit {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 0;
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}

.footer-bottom .company-credit img.company-logo {
  width: 230px;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px #0005;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.footer-bottom .company-credit:hover img.company-logo,
.footer-bottom .company-credit:focus-visible img.company-logo {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 18px 44px #0007;
}

.footer-bottom .company-credit b {
  font: 600 15px var(--font);
}

@media(max-width: 650px) {
  .footer-bottom .company-credit {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom .company-credit img.company-logo {
    width: min(280px, 100%);
  }

  .footer-bottom .company-credit > span[aria-hidden] {
    display: none;
  }

}

/* Map: crop the embedded OSM attribution strip out of view */
.map-panel {
  overflow: hidden;
}

.map-panel iframe {
  height: calc(100% + 40px);
  align-self: flex-start;
}

/* ZoSphorus credit — compact logo + hint */
.footer-bottom .company-credit img.company-logo {
  width: 120px;
}

.footer-bottom .company-credit .credit-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-bottom .company-credit .credit-text small {
  font-size: 12px;
  color: var(--accent);
  line-height: 1.6;
}

@media(max-width: 650px) {
  .footer-bottom .company-credit img.company-logo {
    width: 130px;
  }

}

/* Contact buttons — easy to see */
.contact-links {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--accent);
  transition: transform .2s, filter .2s, background .2s;
}

.contact-links a span {
  font-size: 20px;
  line-height: 1;
}

.contact-links .contact-call {
  background: var(--accent);
  color: #171714;
}

.contact-links .contact-insta {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent);
}

.contact-links a:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

@media(max-width: 650px) {
  .contact-links a {
    flex: 1 1 140px;
  }

}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 40;
  width: 60px;
  height: 60px;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px #0006;
  transition: transform .2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float:before {
  content: '';
  position: absolute;
  inset: -7px;
  border: 2px solid #25d36688;
  animation: waPulse 2.2s ease-out infinite;
}

@keyframes waPulse {
  0% {
    transform: scale(.9);
    opacity: .9;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }

}

@media(max-width: 650px) {
  .whatsapp-float {
    right: 16px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }

}

/* Location: no embedded map — a big directions button instead */
.visit-grid {
  grid-template-columns: 1fr !important;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.visit-grid .contact-links {
  justify-content: center;
}

#directions {
  display: flex;
  width: 100%;
  max-width: 520px;
  min-height: 68px;
  margin: 30px auto 0;
  gap: 14px;
  padding: 16px 30px;
  font-size: 20px;
  font-weight: 700;
  color: #171714;
  background: var(--accent);
  border: 1px solid var(--accent);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 35%, transparent);
  transition: transform .2s, filter .2s;
}

#directions:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

#directions svg {
  flex-shrink: 0;
}

@media(max-width: 650px) {
  #directions {
    font-size: 18px;
    min-height: 64px;
    padding: 14px 18px;
  }

}

.contact-links a {
  white-space: nowrap;
}

@media(max-width: 650px) {
  .contact-links a {
    padding-inline: 14px;
    font-size: 15px;
  }

}

/* Visitor day/night toggle */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--accent);
  transition: border-color .2s, background .2s;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.theme-toggle .icon-moon {
  display: none;
}

body.ivory .theme-toggle .icon-sun {
  display: none;
}

body.ivory .theme-toggle .icon-moon {
  display: block;
}

@media(max-width: 650px) {
  .nav {
    gap: 10px;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
  }

}

/* =============================================================
   DROPDOWN (custom replacement for the native sort <select>)
   The native <select> stays in the DOM, hidden and kept in sync,
   so scripts and accessibility keep working. See dropdown.js
   ============================================================= */
.dropdown {
  position: relative;
  min-width: 210px;
}

.dropdown > select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: var(--control-h);
  padding: 0 20px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 14px;
  text-align: right;
  transition: border-color .2s, background .2s;
}

.dropdown-trigger:hover,
.dropdown.is-open .dropdown-trigger {
  border-color: var(--accent);
}

.dropdown-trigger svg {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .2s;
}

.dropdown.is-open .dropdown-trigger svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  z-index: 40;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-height: 300px;
  overflow: auto;
}

.dropdown-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
}

.dropdown-option:hover,
.dropdown-option.is-active {
  background: var(--raised);
  color: var(--ink);
}

.dropdown-option[aria-selected=true] {
  color: var(--accent);
}

.dropdown-option[aria-selected=true]::after {
  content: '\2713';
  font-size: 13px;
}

/* =============================================================
   CONTROL SIZES
   Buttons, fields and icon buttons share one height (--control-h).
   ============================================================= */
.gold-button,
.outline-button,
.danger-button,
.nav-discover,
.theme-toggle,
.back-top,
.close-button,
.search-wrap {
  min-height: var(--control-h);
}

.theme-toggle,
.back-top,
.close-button {
  width: var(--control-h);
  height: var(--control-h);
  padding: 0;
}

.nav-discover {
  align-items: center;
}

.search-wrap input {
  min-height: calc(var(--control-h) - 2px);
  padding-block: 0;
}

.contact-links a,
#directions {
  min-height: var(--control-h-lg);
}

.filter-button {
  min-height: var(--chip-h);
}

@media (max-width: 650px) {
  :root {
    --control-h: 44px;
    --control-h-lg: 52px;
  }
}

/* =============================================================
   SHAPE SYSTEM
   Every corner radius on the site lives in this section.
   Change a token in :root and the whole site follows.
   ============================================================= */

/* Pills: buttons, chips, fields, badges */
.gold-button,
.outline-button,
.danger-button,
.nav-discover,
.contact-links a,
#directions,
.filter-button,
.search-wrap,
.dropdown-trigger,
.product-badge,
.product-detail-link,
.draft-return,
.sync-notice button,
.scroll-progress {
  border-radius: var(--radius-pill);
}

/* Circles: icon buttons, logos, seals */
.brand-lockup img,
.hero-seal,
.theme-toggle,
.back-top,
.close-button,
.detail-arrow,
.whatsapp-float,
.whatsapp-float:before,
.loading img {
  border-radius: 50%;
}

/* Cards, panels and large photos */
.product-photo,
.featured-card,
.box-card,
.skeleton-card,
.map-panel,
.empty-state,
.demo-note,
.toast,
.dropdown-menu {
  border-radius: var(--radius-md);
}

.gift-cover {
  border-radius: var(--radius-lg);
}

/* Inner frame line = outer radius minus its inset (14px) */
.gift-cover:after {
  border-radius: calc(var(--radius-lg) - 14px);
}

/* Small images and list items */
.box-card .photo,
.related-grid .photo,
.company-credit img,
.footer-bottom .company-credit img.company-logo,
.dropdown-option {
  border-radius: var(--radius-sm);
}

/* Arches: round top, soft bottom */
.hero-frame,
.hero-orbit {
  border-radius: 50% 50% var(--radius-lg) var(--radius-lg);
}

.hero-frame:after {
  border-radius: inherit;
}

.category-image {
  border-radius: var(--radius-arch) var(--radius-arch) var(--radius-md) var(--radius-md);
}

.category-image:after {
  border-radius: inherit;
}

.category-card:hover .category-image {
  border-radius: var(--radius-lg);
}

/* Dialogs: centered card on desktop, bottom sheet on phones */
dialog {
  border-radius: var(--radius-lg);
}

@media (max-width: 650px) {
  .hero-frame {
    border-radius: 130px 130px var(--radius-lg) var(--radius-lg);
  }

  .category-image {
    border-radius: 90px 90px var(--radius-md) var(--radius-md);
  }

  .product-dialog {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
}
