:root {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #171717;
  background: #efede7;
  font-synthesis: none;
  --page: #efede7;
  --ink: #181818;
  --dark: #202020;
  --line: #d8d3ca;
  --gutter: clamp(10px, 1.25vw, 22px);
  --radius-xl: 30px;
  --radius-lg: 23px;
  /* AVERA brand palette: Navy · Black · Beige · Cream · Gold */
  --navy: #1e2a44;
  --gold: #a98b52;
  --cream: #f4f1ea;
  --beige: #d9cdb3;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--page); overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #9f8163; outline-offset: 3px; }
img { display: block; width: 100%; }

.announcement-bar {
  height: 38px; position: sticky; top: 0; z-index: 70; display: grid; grid-template-columns: 48px 1fr 48px;
  align-items: center; color: white; background: #1f1f1f; font-size: 11px; letter-spacing: .02em;
}
.announcement-bar p { margin: 0; text-align: center; }
.announcement-bar button { height: 100%; display: grid; place-items: center; opacity: .8; }
.announcement-bar button:hover { opacity: 1; }

main { position: relative; }
.site-header {
  position: sticky; top: 48px; z-index: 60; height: 48px; margin: 10px var(--gutter) -58px; padding: 0 18px;
  background: rgba(255,255,255,.96); border-radius: 20px; display: grid; grid-template-columns: 180px 1fr 180px;
  align-items: center; box-shadow: 0 6px 22px rgba(0,0,0,.06); backdrop-filter: blur(12px);
}
.brand-link { width: 124px; height: 54px; overflow: hidden; display: flex; align-items: center; }
.brand-link img { width: 132px; height: auto; transform: translateY(-1px); }
.desktop-nav { display: flex; justify-content: center; gap: clamp(20px, 2.4vw, 40px); }
.desktop-nav a { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; gap: 4px; }
.icon-button { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; }
.icon-button:hover { background: #f0eee9; }
.cart-button { position: relative; }
.cart-button span { position: absolute; top: 3px; right: 0; width: 17px; height: 17px; border-radius: 50%; background: #1f1f1f; color: #fff; font-size: 9px; display: grid; place-items: center; }
.mobile-only { display: none; }

.hero { margin: 0 var(--gutter); height: clamp(650px, 77vw, 940px); max-height: calc(100vh - 42px); min-height: 640px; border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-columns: 36% 64%; position: relative; background: #d8d2ca; }
.hero-image { min-width: 0; overflow: hidden; }
.hero-image img { height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.hero:hover .hero-image img { transform: scale(1.015); }
.hero-image-left img { object-position: 52% 38%; }
.hero-image-right img { object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 0 35%, rgba(0,0,0,.03) 40%, rgba(0,0,0,.12) 100%); pointer-events: none; }
.hero-copy { position: absolute; z-index: 2; right: clamp(30px, 5vw, 86px); bottom: clamp(44px, 7vw, 92px); color: white; width: min(620px, 48vw); text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-copy p { margin: 0 0 16px; font-size: 11px; letter-spacing: .22em; font-weight: 700; }
.hero-copy h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(46px, 5.2vw, 82px); line-height: .98; letter-spacing: -.045em; }
.hero-actions { display: flex; justify-content: center; gap: 10px; margin-top: 30px; text-shadow: none; }
.hero-actions a { min-width: 135px; padding: 13px 22px; background: white; color: #171717; border-radius: 999px; text-transform: uppercase; font-size: 10px; letter-spacing: .06em; font-weight: 700; transition: .2s ease; }
.hero-actions a:hover { background: #171717; color: #fff; }
.hero-mark { position: absolute; left: 29%; bottom: 25%; z-index: 2; writing-mode: vertical-rl; transform: rotate(180deg); color: rgba(255,255,255,.85); font-size: 10px; letter-spacing: .22em; font-weight: 700; }

.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; padding: 8px var(--gutter) 0; }
.category-card { background: var(--card-tone); min-height: clamp(330px, 36vw, 530px); border-radius: var(--radius-lg); position: relative; overflow: hidden; display: grid; place-items: center; }
.category-art { width: 118%; transform: translateY(7%); transition: transform .45s ease; }
.category-card:hover .category-art { transform: translateY(5%) scale(1.025); }
.category-card > span { position: absolute; left: 50%; top: 54%; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.8); border-radius: 999px; padding: 9px 18px; color: #fff; font-size: 9px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; white-space: nowrap; backdrop-filter: blur(4px); transition: .2s ease; }
.category-card:hover > span { background: white; color: #181818; }

.product-section { padding: clamp(46px, 6vw, 88px) 0 clamp(36px, 4vw, 60px); }
.section-heading { padding: 0 var(--gutter) 20px; display: flex; justify-content: space-between; align-items: flex-end; }
.section-heading h2 { margin: 0; text-transform: uppercase; font-size: 12px; letter-spacing: .08em; font-weight: 700; }
.section-heading > div:first-child > span { display: block; width: 68px; height: 1px; background: #222; margin-top: 8px; }
.section-controls { display: flex; gap: 8px; }
.section-controls button { width: 38px; height: 38px; border: 1px solid #aaa59c; border-radius: 999px; display: grid; place-items: center; }
.section-controls button:disabled { opacity: .25; cursor: default; }
.product-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 24.2vw, 365px); gap: 8px; padding: 0 var(--gutter); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.product-track::-webkit-scrollbar { display: none; }
.product-card { scroll-snap-align: start; min-height: clamp(470px, 48vw, 650px); background: #fff; border-radius: 22px; position: relative; padding: 16px; display: grid; grid-template-rows: 1fr auto; }
.product-badge { position: absolute; left: 14px; top: 14px; padding: 6px 8px; border-radius: 999px; background: #f1efe9; font-size: 8px; letter-spacing: .08em; font-weight: 700; }
.product-art-wrap { display: grid; place-items: center; overflow: hidden; }
.product-art-wrap svg { width: 116%; transition: transform .4s ease; }
.product-card:hover .product-art-wrap svg { transform: scale(1.025) translateY(-3px); }
.product-meta { padding: 8px 4px 2px; }
.product-meta h3 { margin: 0 0 8px; text-transform: uppercase; font-size: 11px; line-height: 1.35; letter-spacing: .02em; }
.product-meta p { margin: 0 0 9px; font-size: 11px; color: #585858; }
.product-meta > div { display: flex; align-items: center; justify-content: space-between; }
.product-meta strong { font-size: 11px; }
.swatch { width: 19px; height: 19px; border-radius: 50%; border: 1px solid #b9b5ad; padding: 3px; background: radial-gradient(circle, var(--swatch) 0 48%, transparent 51%); }

.editorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 0 var(--gutter); }
.editorial-card { height: clamp(580px, 58vw, 820px); border-radius: var(--radius-xl); overflow: hidden; position: relative; background: #b6afa6; }
.editorial-card img { height: 100%; object-fit: cover; transition: transform .75s ease; }
.editorial-card:hover img { transform: scale(1.025); }
.editorial-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.06) 20%, rgba(0,0,0,.1) 52%, rgba(0,0,0,.5) 100%); }
.editorial-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 44px 28px 28px; color: white; text-align: center; }
.editorial-copy h2 { margin: auto 0 34px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(36px, 4vw, 62px); line-height: 1.04; letter-spacing: -.035em; text-shadow: 0 2px 16px rgba(0,0,0,.25); }
.editorial-copy > div { width: 100%; display: flex; gap: 8px; justify-content: center; }
.editorial-copy a { min-width: 46%; padding: 11px 18px; border: 1px solid rgba(255,255,255,.78); border-radius: 999px; text-transform: uppercase; font-size: 9px; letter-spacing: .07em; font-weight: 700; backdrop-filter: blur(3px); transition: .2s ease; }
.editorial-copy a:hover { background: white; color: #181818; }

.value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; padding: 8px var(--gutter); }
.value-grid article { background: white; border-radius: 18px; min-height: 200px; padding: clamp(24px, 3vw, 42px); }
.value-grid h3 { margin: 0 0 22px; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; }
.value-grid p { margin: 0; max-width: 42ch; font-size: 13px; line-height: 1.7; color: #3f3f3f; }

.site-footer { background: var(--dark); color: #fff; padding: 54px var(--gutter) 18px; }
.footer-top { display: grid; grid-template-columns: minmax(320px,1.15fr) 2fr; gap: clamp(50px,8vw,140px); padding-bottom: 70px; }
.newsletter h2, .footer-groups h3, .social-block h3 { margin: 0 0 24px; text-transform: uppercase; font-size: 9px; letter-spacing: .13em; }
.newsletter form { width: min(100%,460px); height: 38px; border-radius: 999px; overflow: hidden; background: #fff; display: grid; grid-template-columns: 1fr auto; }
.newsletter input { border: 0; padding: 0 18px; outline: none; min-width: 0; font-size: 11px; }
.newsletter button { padding: 0 18px; text-transform: uppercase; font-size: 8px; letter-spacing: .08em; font-weight: 700; color: #1f1f1f; }
.newsletter > p { min-height: 20px; font-size: 11px; color: #c9c4bc; }
.footer-groups { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.footer-groups div { display: flex; flex-direction: column; align-items: flex-start; }
.footer-groups a { font-size: 11px; margin-bottom: 13px; color: #dedbd5; }
.footer-groups a:hover { color: #fff; }
.footer-lower { display: grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 50px; align-items: end; padding: 0 0 48px; }
.footer-brand img { width: 150px; margin-bottom: 12px; }
.footer-brand p { margin: 0; color: #c8c4bc; font-size: 11px; }
.social-block > div { display: flex; gap: 10px; }
.social-block a { width: 36px; height: 36px; border: 1px solid #777; border-radius: 50%; display: grid; place-items: center; }
.social-block a:hover { background: white; color: #1f1f1f; border-color: white; }
.region { justify-self: end; }
.region span { display: block; color: #aaa59e; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 10px; }
.region strong { color: #fff; font-size: 11px; font-weight: 500; }
.legal-row { border-top: 1px solid #444; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 24px; font-size: 8px; color: #b8b4ad; }
.legal-row span { margin-right: auto; }

.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.42); display: flex; justify-content: flex-end; backdrop-filter: blur(3px); }
.overlay-panel { width: min(520px, 100%); height: 100%; background: #f7f5f0; padding: 24px; animation: overlayFade .22s ease; overflow-y: auto; }
@keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }
.panel-heading { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d8d3ca; padding-bottom: 16px; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; }
.search-field { margin-top: 34px; border: 1px solid #cfc9bf; border-radius: 999px; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.search-field input { flex: 1; border: 0; outline: none; background: transparent; min-width: 0; }
.quick-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.quick-links span { width: 100%; text-transform: uppercase; letter-spacing: .1em; font-size: 9px; margin-bottom: 8px; }
.quick-links button { background: #e9e5dd; border-radius: 999px; padding: 10px 14px; font-size: 11px; }
.empty-cart { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.empty-cart h3 { margin: 20px 0 8px; font-family: Georgia,serif; font-weight: 400; font-size: 32px; }
.empty-cart p { margin: 0 0 26px; color: #666; }
.dark-pill { background: #1f1f1f; color: #fff; border-radius: 999px; padding: 13px 20px; text-transform: uppercase; font-size: 10px; letter-spacing: .08em; font-weight: 700; }
.menu-logo { width: 120px; }
.mobile-menu { display: flex; flex-direction: column; margin-top: 20px; }
.mobile-menu a { padding: 20px 4px; border-bottom: 1px solid #d8d3ca; text-transform: uppercase; font-size: 13px; letter-spacing: .08em; display: flex; justify-content: space-between; }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 150px 1fr 120px; }
  .desktop-nav { gap: 18px; }
  .hero { grid-template-columns: 42% 58%; height: 720px; }
  .hero-copy { width: 54vw; right: 22px; }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .category-card { min-height: 420px; }
  .product-track { grid-auto-columns: 38vw; }
  .editorial-card { height: 650px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 8px; --radius-xl: 22px; }
  .announcement-bar { grid-template-columns: 36px 1fr 36px; font-size: 9px; }
  .site-header { top: 46px; height: 50px; margin: 8px var(--gutter) -58px; padding: 0 9px; grid-template-columns: 45px 1fr auto; border-radius: 17px; }
  .mobile-only { display: grid; }
  .desktop-nav { display: none; }
  .brand-link { justify-self: center; width: 105px; height: 45px; }
  .brand-link img { width: 112px; }
  .header-actions { gap: 0; }
  .icon-button { width: 38px; height: 38px; }
  .hero { height: 780px; min-height: 700px; max-height: none; grid-template-columns: 1fr; }
  .hero-image-left { display: none; }
  .hero-image-right img { object-position: 51% center; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.03) 30%, rgba(0,0,0,.5) 100%); }
  .hero-copy { left: 20px; right: 20px; bottom: 34px; width: auto; }
  .hero-copy h1 { font-size: 48px; }
  .hero-copy p { font-size: 9px; }
  .hero-actions { gap: 7px; }
  .hero-actions a { min-width: 0; flex: 1; padding: 12px 10px; }
  .hero-mark { display: none; }
  .category-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .category-grid::-webkit-scrollbar { display: none; }
  .category-card { min-width: 78vw; min-height: 430px; scroll-snap-align: start; }
  .product-section { padding-top: 48px; }
  .product-track { grid-auto-columns: 82vw; }
  .product-card { min-height: 520px; }
  .editorial-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .editorial-grid::-webkit-scrollbar { display: none; }
  .editorial-card { min-width: 88vw; height: 650px; scroll-snap-align: start; }
  .editorial-copy h2 { font-size: 48px; }
  .value-grid { grid-template-columns: 1fr; }
  .value-grid article { min-height: auto; }
  .footer-top { gap: 42px; padding-bottom: 48px; }
  .footer-groups { grid-template-columns: 1fr; }
  .footer-groups div { padding: 18px 0; border-top: 1px solid #444; }
  .footer-lower { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .region { justify-self: start; }
  .legal-row { flex-direction: column; gap: 14px; }
  .legal-row span { margin-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Professional refinement — preserves the original layout while using real photography. */
.site-header {
  border: 1px solid rgba(23, 23, 23, 0.045);
  box-shadow: 0 8px 28px rgba(24, 22, 19, 0.075);
}
.brand-link {
  width: 132px;
  height: 48px;
  overflow: visible;
}
.brand-link img {
  width: 128px;
  max-height: 40px;
  object-fit: contain;
  transform: none;
}
.hero-image img {
  filter: saturate(.94) contrast(1.015);
}
.hero-image-left img { object-position: center 36%; }
.hero-image-right img { object-position: center 63%; }
.hero::after {
  background: linear-gradient(90deg, rgba(0,0,0,.025) 0 35%, rgba(0,0,0,.06) 45%, rgba(0,0,0,.34) 100%);
}
.hero-copy {
  text-shadow: 0 3px 24px rgba(0,0,0,.34);
}
.hero-copy h1 {
  max-width: 11ch;
  margin-inline: auto;
}

.category-card {
  border: 1px solid rgba(255,255,255,.12);
  isolation: isolate;
}
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(0,0,0,.08));
  pointer-events: none;
  z-index: 1;
}
.category-art {
  position: relative;
  z-index: 0;
  width: 92%;
  height: 76%;
  object-fit: contain;
  transform: translateY(6%) scale(var(--photo-scale, 1));
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .35s ease;
  filter: saturate(.9) contrast(1.04);
}
.category-art--blend { mix-blend-mode: multiply; }
.category-card:hover .category-art {
  transform: translateY(4%) scale(calc(var(--photo-scale, 1) + .025));
  filter: saturate(.98) contrast(1.06);
}
.category-card > span {
  z-index: 3;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.product-card {
  border: 1px solid rgba(24,24,24,.045);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  overflow: hidden;
}
.product-art-wrap {
  margin: -16px -16px 0;
  min-height: 0;
  position: relative;
  background: #f7f6f3;
  overflow: hidden;
}
.product-art-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .35s ease;
  filter: saturate(.92) contrast(1.02);
}
.product-art-wrap--contain img {
  object-fit: contain;
  padding: clamp(24px, 3vw, 52px);
  mix-blend-mode: multiply;
}
.product-art-wrap--cover img {
  object-fit: cover;
}
.product-card:hover .product-art-wrap img {
  transform: scale(1.022);
  filter: saturate(1) contrast(1.035);
}
.product-meta {
  padding: 17px 4px 4px;
  background: #fff;
}
.product-meta h3 {
  margin-bottom: 7px;
  letter-spacing: .035em;
}
.product-meta p { color: #6c6862; }
.product-badge {
  z-index: 2;
  border: 1px solid rgba(24,24,24,.06);
  background: rgba(247,245,240,.92);
  backdrop-filter: blur(8px);
}

.editorial-card {
  border: 1px solid rgba(24,24,24,.035);
}
.editorial-card img {
  filter: saturate(.92) contrast(1.02);
}
.editorial-card:hover img {
  transform: scale(1.018);
  filter: saturate(.98) contrast(1.035);
}
.editorial-shade {
  background: linear-gradient(180deg, rgba(0,0,0,.03) 18%, rgba(0,0,0,.12) 54%, rgba(0,0,0,.58) 100%);
}
.value-grid article {
  border: 1px solid rgba(24,24,24,.04);
}
.footer-brand img {
  width: 156px;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
.menu-logo {
  width: 124px;
  max-height: 44px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .brand-link { width: 110px; height: 42px; }
  .brand-link img { width: 106px; max-height: 35px; }
  .hero-image-right img { object-position: 49% center; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.02) 26%, rgba(0,0,0,.56) 100%); }
  .category-art { width: 88%; height: 74%; }
  .product-art-wrap--contain img { padding: 34px; }
}

/* ---------- Account & order messaging (additive) ---------- */
.account-button { position: relative; }
.account-button [data-account-dot] { position: absolute; top: 6px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--navy); border: 1.5px solid #fff; }
.account-shell { max-width: 1120px; margin: 0 auto; padding: clamp(96px, 12vw, 150px) var(--gutter) clamp(60px, 8vw, 110px); }
.account-loading { padding: 60px 0; text-align: center; color: #7a756c; font-size: 13px; letter-spacing: .02em; }
.account-back { display: inline-block; margin-bottom: 20px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; color: #4a4640; }
.account-back:hover { color: #181818; }
.account-primary { width: 100%; padding: 14px 22px; background: #1f1f1f; color: #fff; border-radius: 999px; text-transform: uppercase; font-size: 10px; letter-spacing: .07em; font-weight: 700; transition: .2s ease; }
.account-primary:hover { background: #3a3733; }
.account-primary:disabled { opacity: .5; cursor: default; }
.account-primary--link { display: inline-block; width: auto; text-align: center; }

.account-auth { max-width: 440px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: 0 10px 40px rgba(0,0,0,.06); }
.account-auth-intro h1 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; letter-spacing: -.03em; }
.account-auth-intro p { margin: 0 0 22px; font-size: 13px; line-height: 1.6; color: #5a554d; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: #f1efe9; border-radius: 999px; padding: 4px; margin-bottom: 22px; }
.account-tabs button { padding: 10px; border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: #6a655d; }
.account-tabs button.is-active { background: #fff; color: #181818; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.account-form { display: flex; flex-direction: column; gap: 14px; }
.account-form label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 650; color: #565149; }
.account-form input { width: 100%; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: #faf9f6; font-size: 14px; text-transform: none; letter-spacing: normal; font-weight: 400; color: #181818; }
.account-form input:focus { outline: none; border-color: #9f8163; background: #fff; }
.account-form .account-primary { margin-top: 6px; }
.account-form-message { min-height: 18px; margin: 2px 0 0; font-size: 12px; color: var(--navy); text-align: center; }
.account-notice { display: flex; align-items: flex-start; gap: 10px; background: var(--cream); color: var(--navy); border-radius: 12px; padding: 13px 15px; margin-bottom: 18px; font-size: 13px; line-height: 1.5; }
.account-notice svg { flex: none; margin-top: 2px; color: var(--gold); }
.account-notice p { margin: 0; }
.account-verify-link { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.account-resend { margin-top: 4px; font-size: 12px; color: #6a655d; text-decoration: underline; text-underline-offset: 3px; }
.account-resend:hover { color: #181818; }

.account-dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.account-hi { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #8a857c; }
.account-dash-head h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.03em; }
.account-logout { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; color: #6a655d; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
.account-logout:hover { background: #fff; color: #181818; }
.account-banner { display: flex; align-items: center; gap: 10px; background: var(--cream); color: var(--navy); border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-size: 13px; }
.account-banner svg { flex: none; color: var(--gold); }

.account-grid { display: grid; grid-template-columns: 300px 1fr; gap: 18px; align-items: start; }
.account-order-nav { display: flex; flex-direction: column; gap: 8px; }
.account-order-row { position: relative; text-align: left; background: #fff; border: 1px solid transparent; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 5px; transition: .18s ease; }
.account-order-row:hover { border-color: var(--line); }
.account-order-row.is-active { border-color: #181818; }
.account-order-num { font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.account-order-meta { font-size: 12px; color: #6a655d; }
.account-unread { position: absolute; top: 14px; right: 16px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }

.account-detail { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.account-detail-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.account-detail-head h2 { margin: 0 0 6px; font-size: 15px; letter-spacing: .02em; }
.account-detail-sub { margin: 0; font-size: 12px; color: #6a655d; }
.account-pill { display: inline-block; background: #f1efe9; border-radius: 999px; padding: 3px 10px; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; color: #4a4640; }
.account-detail-total { text-align: right; }
.account-detail-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex: none; }
.account-invoice { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #1f1f1f; font-size: 11px; font-weight: 650; letter-spacing: .03em; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.account-invoice:hover { border-color: #1f1f1f; background: #faf9f6; }
.account-invoice-no { font-size: 10.5px; color: #8a857c; }
[dir="rtl"] .account-detail-side { align-items: flex-start; }
@media (max-width: 560px) { .account-detail-head { flex-wrap: wrap; } .account-detail-side { width: 100%; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; } }
.account-detail-total span { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: #8a857c; }
.account-detail-total strong { font-size: 17px; }
.account-detail-lines { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.account-detail-line { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #3f3b35; }

.checkout-help { margin-top: 16px; }
.checkout-terms { margin: 12px 0 0; font-size: 11.5px; line-height: 1.6; color: #6a655d; text-align: center; }
.checkout-terms a, .pdp2-acc-body a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.checkout-terms--form { display: none; margin-top: 16px; }
@media (max-width: 820px) {
  .checkout-terms--summary { display: none; }
  .checkout-terms--form { display: block; }
}
.account-help-link {
  display: flex; align-items: center; gap: 14px; padding: 15px 18px;
  border: 1px solid var(--line); border-radius: 16px; background: var(--page);
  color: var(--navy); transition: border-color .15s ease, background .15s ease;
}
.account-help-link:hover { border-color: var(--navy); background: #f5f3ee; }
.account-help-mark {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
}
.account-help-copy { display: grid; gap: 3px; }
.account-help-copy strong { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.account-help-copy span { font-size: 12.5px; line-height: 1.5; color: #4a4640; }
.account-help-go { flex: none; margin-inline-start: auto; color: var(--gold); display: grid; place-items: center; }
[dir="rtl"] .account-help-go { transform: scaleX(-1); }
.account-chat { padding-top: 18px; }
.account-chat-head { display: flex; align-items: center; gap: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: #6a655d; margin-bottom: 14px; }
.account-chat-thread { display: flex; flex-direction: column; gap: 10px; max-height: 340px; overflow-y: auto; padding: 4px 2px; }
.account-chat-empty { margin: 20px 0; text-align: center; font-size: 12px; color: #9a958c; }
.account-msg { display: flex; align-items: flex-end; gap: 8px; }
.account-msg.is-mine { flex-direction: row-reverse; }
.account-msg-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; letter-spacing: .02em; background: var(--beige); color: #4a4640; }
.account-msg.is-mine .account-msg-avatar { background: var(--navy); color: #fff; }
.account-msg-bubble { max-width: 78%; padding: 11px 14px; border-radius: 16px; background: #fff; border: 1px solid #e7e1d6; color: #23201c; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.account-msg.is-mine .account-msg-bubble { background: var(--navy); color: #fff; border-color: var(--navy); border-bottom-right-radius: 5px; }
.account-msg.is-team .account-msg-bubble { background: var(--cream); border-color: #e7e1d6; border-bottom-left-radius: 5px; }
.account-msg-who { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .07em; font-weight: 700; opacity: .6; margin-bottom: 3px; }
.account-msg-bubble p { margin: 0; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; word-break: break-word; }
.account-msg-bubble time { display: block; margin-top: 5px; font-size: 10px; opacity: .55; }
.account-msg-system { text-align: center; font-size: 11px; color: var(--navy); }
.account-chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.account-chat-form input { height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #faf9f6; font-size: 14px; }
.account-chat-form input:focus { outline: none; border-color: #9f8163; background: #fff; }
.account-chat-form button { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; transition: .2s ease; }
.account-chat-form button:hover { background: #2a3a5c; }

.account-checkout { max-width: 1000px; margin: 0 auto; }
.account-checkout h1 { margin: 0 0 6px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 30px; letter-spacing: -.03em; }
.checkout-layout { display: grid; grid-template-columns: 1fr 350px; gap: 20px; align-items: start; margin-top: 14px; }
.checkout-layout > * { min-width: 0; }
.checkout-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 30px); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.checkout-h { margin: 0 0 16px; font-size: 11px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; color: #4a4640; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.checkout-fields label { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; color: #565149; }
.checkout-fields label.full { grid-column: 1 / -1; }
.checkout-opt { text-transform: none; letter-spacing: normal; color: #9a958c; font-weight: 400; }
.checkout-fields input { width: 100%; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 11px; background: #faf9f6; font-size: 14px; text-transform: none; letter-spacing: normal; font-weight: 400; color: #181818; }
.checkout-fields input:focus { outline: none; border-color: #9f8163; background: #fff; }
.checkout-divider { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.checkout-summary { position: sticky; top: 118px; background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 2.6vw, 26px); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.checkout-summary-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.checkout-sum-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; }
.checkout-sum-item img { width: 44px; height: 44px; object-fit: contain; background: #f4f2ed; border-radius: 9px; }
.checkout-sum-item strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; }
.checkout-sum-item span { font-size: 11px; color: #6a655d; }
.checkout-sum-item b { font-size: 12px; }
.checkout-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: #5a554d; padding: 3px 0; }
.checkout-summary-total { display: flex; justify-content: space-between; align-items: center; margin: 12px 0 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.checkout-summary-total strong { font-size: 20px; }
.checkout-secure { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 12px 0 0; font-size: 11px; color: var(--navy); }
.pay-logo { height: 24px; width: auto; display: block; }
.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 16px; }
.pay-method { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 50px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; overflow: hidden; transition: .16s ease; }
.pay-method:hover { border-color: #b3ab9c; }
.pay-method.is-active { border-color: #1c1c1c; box-shadow: 0 0 0 1px #1c1c1c; }
.pay-method-marks { display: inline-flex; gap: 3px; }
.pay-method-marks .pay-logo { height: 18px; }
.pay-method-name { font-size: 11px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: #4a4640; }
.pay-wallet-note { background: #faf9f6; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; font-size: 13px; line-height: 1.55; color: #5a554d; }
.checkout-accepted { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; }
.checkout-accepted .pay-logo { height: 22px; }
@media (max-width: 460px) { .pay-methods { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
.account-sub, .account-detail-sub { font-size: 13px; color: #6a655d; }
.account-sub { margin: 0 0 22px; }
.account-order-lines { display: flex; flex-direction: column; gap: 12px; }
.account-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 12px 14px; }
.account-line-img { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; background: #f4f2ed; }
.account-line-img img { width: 100%; height: 100%; object-fit: contain; }
.account-line strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
.account-line span { font-size: 12px; color: #6a655d; }
.account-line b { font-size: 13px; }
.account-checkout-total { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.account-checkout-total strong { font-size: 20px; }
.account-note { font-size: 12.5px; line-height: 1.6; color: #5a554d; background: #fff; border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }

.account-empty { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 70px) 30px; }
.account-empty-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; background: #f1efe9; color: #6a655d; }
.account-empty h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.account-empty p { margin: 0 auto 22px; max-width: 40ch; font-size: 13px; line-height: 1.6; color: #5a554d; }

.account-viewtabs { display: inline-flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; margin-bottom: 22px; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.account-viewtabs button { padding: 9px 20px; border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: #6a655d; }
.account-viewtabs button.is-active { background: #1f1f1f; color: #fff; }
.account-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.account-form-row > label { min-width: 0; }
.account-profile > * { min-width: 0; }
.account-fieldset { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; margin: 0 0 16px; background: #fff; }
.account-fieldset legend { padding: 0 8px; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: #4a4640; }
.account-testmode { display: inline-block; margin-left: 6px; background: var(--cream); color: var(--navy); border-radius: 999px; padding: 3px 9px; font-size: 9px; letter-spacing: .04em; }
.account-testhint { margin: 4px 0 0; font-size: 11.5px; color: #7a756c; }
.account-testhint strong { color: #4a4640; }
/* Shown at checkout while no payment provider is connected. */
.checkout-nopay { border: 1px solid var(--line); border-left: 3px solid var(--navy); border-radius: var(--radius-sm, 6px); background: var(--cream); padding: 14px 16px; }
.checkout-nopay p { margin: 0; font-size: 13px; line-height: 1.55; color: #4a4640; }
.checkout-nopay p + p { margin-top: 7px; font-size: 12.5px; color: #6d685f; }
.checkout-nopay strong { color: var(--navy); }
[dir="rtl"] .checkout-nopay { border-left: 1px solid var(--line); border-right: 3px solid var(--navy); }
.account-profile { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.account-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.account-card h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 22px; letter-spacing: -.02em; }
.account-form input:disabled { background: #f1efe9; color: #8a857c; }
.account-form-ok { color: var(--navy); }
.account-pill--paid { display: inline-flex; align-items: center; gap: 4px; background: var(--cream); color: var(--navy); }
.account-pill--paid svg { margin-bottom: -1px; }
@media (max-width: 820px) {
  .account-grid { grid-template-columns: 1fr; }
  .account-order-nav { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .account-order-row { min-width: 190px; }
  .account-profile { grid-template-columns: 1fr; }
}

/* ---------- Mobile polish (phone only; desktop untouched) ---------- */
@media (max-width: 760px) {
  /* 16px form text stops iOS from zooming in when a field is focused */
  .account-form input, .account-form label, .checkout-fields input, .checkout-fields label,
  .account-chat-form input, [data-search-input], .search-field input { font-size: 16px; }
  /* Give the account pages comfortable edge spacing and clear the floating header */
  .account-shell { padding-top: clamp(84px, 22vw, 120px); padding-left: 14px; padding-right: 14px; }
  .account-auth { padding: 22px 18px; box-shadow: 0 8px 26px rgba(0,0,0,.06); }
  .account-dash-head { flex-wrap: wrap; gap: 12px; }
  .account-dash-head h1 { font-size: 26px; }
  .account-detail { padding: 18px 16px; }
  .account-chat-thread { max-height: 300px; }
  .checkout-card, .checkout-summary { padding: 18px 16px; }
  .checkout-summary { position: static; }
  .account-checkout h1, .account-auth-intro h1 { font-size: 26px; }
  /* Comfortable finger targets */
  .pdp2-sizes button { min-width: 54px; height: 48px; }
  .pdp2-qty button { width: 46px; height: 46px; }
  .pdp2-add, .pdp2-buy, .account-primary { height: 52px; }
  .pdp2-thumb { max-height: 74px; }
  .pdp2-title { font-size: clamp(24px, 7vw, 30px); }
  /* Cart drawer full width and readable */
  .overlay-panel { width: 100%; padding: 20px 16px; }
  .cart-line-item h3 { font-size: 13px; }
}
@media (max-width: 420px) {
  .pay-methods { grid-template-columns: repeat(2, 1fr); }
  .checkout-fields { grid-template-columns: 1fr; }
  .checkout-fields label.full { grid-column: auto; }
}

/* ---------- Checkout: address form, suggestions, validation, summary editor ---------- */
.checkout-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.checkout-field.full { grid-column: 1 / -1; }
.checkout-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; }
.checkout-field > label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; color: #565149; }
.checkout-field-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; color: #565149; }
/* Delivery is Saudi-only, so the country is a fixed, clearly non-editable value */
.checkout-country { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 11px; background: #f1efe9; }
.checkout-country span { font-size: 14px; color: #181818; }
.checkout-country small { font-size: 11.5px; color: #6a655d; }
.checkout-fields input:focus-visible, .checkout-phone:focus-within { box-shadow: 0 0 0 3px rgba(159,129,99,.16); }

.checkout-suggest-anchor { position: relative; }
.checkout-suggest { position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(20,18,14,.12); overflow: hidden; }
.checkout-suggest ul { list-style: none; margin: 0; padding: 6px; max-height: 264px; overflow-y: auto; overscroll-behavior: contain; }
.checkout-suggest ul:empty { display: none; }
.checkout-suggest li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.checkout-suggest li strong { font-size: 13.5px; font-weight: 600; color: #181818; }
.checkout-suggest li span { font-size: 12px; color: #6a655d; }
.checkout-suggest li:hover, .checkout-suggest li[aria-selected="true"] { background: var(--cream); }
.checkout-suggest-foot { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 8px 14px; border-top: 1px solid #eeeae3; font-size: 11px; color: #8a857c; }
.checkout-suggest ul:empty + .checkout-suggest-foot { border-top: 0; padding-block: 11px; }

.checkout-phone { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: 11px; background: #faf9f6; overflow: hidden; text-transform: none; letter-spacing: normal; font-weight: 400; transition: border-color .15s ease; }
.checkout-phone:focus-within { border-color: #9f8163; background: #fff; }
.checkout-dial { display: flex; align-items: center; padding: 0 12px; border-inline-end: 1px solid var(--line); background: #f1efe9; font-size: 14px; font-weight: 500; color: #4a4640; font-variant-numeric: tabular-nums; }
.checkout-fields .checkout-phone input { border: 0; border-radius: 0; background: transparent; }
.account-form .account-phone input { border: 0; border-radius: 0; background: transparent; }
.account-form .account-phone { background: #faf9f6; }

.checkout-error { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.45; color: #b3261e; text-transform: none; letter-spacing: normal; font-weight: 500; }
.checkout-error[hidden] { display: none; }
.checkout-error::before { content: "!"; flex: none; display: grid; place-items: center; width: 14px; height: 14px; margin-top: 2px; border-radius: 50%; background: #b3261e; color: #fff; font-size: 9.5px; font-weight: 800; line-height: 1; }
.checkout-fields .has-error input, .checkout-fields .has-error .checkout-phone { border-color: #c4453b; background-color: #fffbfa; }
.checkout-fields .has-error .checkout-phone input { background: transparent; }
@keyframes checkout-filled { from { background-color: #f1e7d6; border-color: #c7ab86; } }
.checkout-fields input.is-filled { animation: checkout-filled 1.4s ease-out; }
@media (prefers-reduced-motion: reduce) { .checkout-fields input.is-filled { animation: none; } }

.checkout-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.checkout-summary-head .checkout-h { margin: 0; }
.checkout-edit { padding: 4px 2px; font-size: 12px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.checkout-edit:hover { color: #9f8163; }
.checkout-summary-items { max-height: min(46vh, 360px); overflow-y: auto; overscroll-behavior: contain; padding: 2px; margin-inline: -2px; }
.checkout-summary.is-editing .checkout-sum-item { align-items: start; }
.checkout-sum-item .checkout-qty { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: #181818; }
.checkout-qty button:not(.checkout-remove) { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: #1f1f1f; transition: border-color .15s ease; }
.checkout-qty button:not(.checkout-remove):hover:not(:disabled) { border-color: #1f1f1f; }
.checkout-qty button:disabled { opacity: .35; cursor: not-allowed; }
.checkout-qty output { min-width: 20px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.checkout-remove { margin-inline-start: 8px; font-size: 11.5px; color: #6a655d; text-decoration: underline; text-underline-offset: 3px; }
.checkout-remove:hover { color: #b3261e; }
.checkout-summary-empty { margin: 0; font-size: 13px; line-height: 1.6; color: #5a554d; }
.checkout-summary-empty a { color: var(--navy); text-decoration: underline; }
.checkout-summary-toggle, .checkout-mobile-bar { display: none; }

@media (max-width: 820px) {
  /* Room for the fixed Place order bar, so the last field is never hidden under it */
  .account-checkout { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .checkout-summary { order: -1; padding: 0; overflow: hidden; }
  .checkout-summary-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 16px 18px; font-size: 13px; font-weight: 600; color: var(--navy); text-align: start; }
  .checkout-summary-toggle > span { display: inline-flex; align-items: center; gap: 6px; }
  .checkout-summary-toggle > span::after { content: ""; width: 7px; height: 7px; margin-inline-start: 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
  .checkout-summary.is-open .checkout-summary-toggle > span::after { transform: translateY(2px) rotate(-135deg); }
  .checkout-summary-count { color: #6a655d; font-weight: 500; }
  .checkout-summary-toggle strong { font-size: 16px; color: #181818; }
  .checkout-summary-body { display: none; padding: 16px 18px 18px; border-top: 1px solid #eeeae3; }
  .checkout-summary.is-open .checkout-summary-body { display: block; }
  .checkout-summary-items { max-height: none; overflow: visible; }
  .checkout-summary-total { margin-bottom: 0; }
  .checkout-summary-actions { display: none; }
  .checkout-mobile-bar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 50; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(0,0,0,.07); }
  .checkout-mobile-row { display: flex; align-items: center; gap: 16px; max-width: 1000px; margin: 0 auto; }
  .checkout-mobile-total { display: flex; flex-direction: column; flex: none; line-height: 1.25; }
  .checkout-mobile-total span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; color: #6a655d; }
  .checkout-mobile-total strong { font-size: 17px; color: #181818; white-space: nowrap; }
  .checkout-mobile-bar .account-primary { flex: 1; width: auto; height: 50px; margin: 0; }
  .checkout-mobile-message { margin: 0 auto 8px; max-width: 1000px; font-size: 12px; line-height: 1.4; color: #b3261e; text-align: center; }
  .checkout-mobile-message:empty { display: none; }
}
@media (max-width: 760px) {
  /* Fields stay at 16px (no iOS focus zoom); their captions keep the small-caps look */
  .checkout-fields label, .checkout-field > label, .checkout-field-label { font-size: 11px; }
  .checkout-country span, .checkout-dial { font-size: 16px; }
}
/* ---------- Language toggle + Arabic (RTL) ---------- */
.lang-toggle { height: 38px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #4a4640; white-space: nowrap; font-family: "Noto Naskh Arabic", "Amiri", "Sakkal Majalla", "Segoe UI", Tahoma, serif; }
.lang-toggle:hover { background: #f0eee9; }
/* Formal Arabic (Naskh) typeface across the whole storefront when in Arabic */
[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[dir="rtl"] .hero-copy h1,
[dir="rtl"] .editorial-copy h2,
[dir="rtl"] .pdp2-title,
[dir="rtl"] .account-auth-intro h1,
[dir="rtl"] .account-dash-head h1,
[dir="rtl"] .account-checkout h1,
[dir="rtl"] .account-card h2,
[dir="rtl"] .account-empty h2 {
  font-family: "Noto Naskh Arabic", "Amiri", "Sakkal Majalla", "Traditional Arabic", "Segoe UI", Tahoma, serif;
}
/* Arabic is a connected script — letter-spacing must never break the joins */
[dir="rtl"] * { letter-spacing: normal !important; }
[dir="rtl"] body { line-height: 1.7; }
[dir="rtl"] body { text-align: right; }
[dir="rtl"] .hero-copy { right: auto; left: clamp(30px, 5vw, 86px); }
[dir="rtl"] .hero-mark { left: auto; right: 29%; }
[dir="rtl"] .product-badge, [dir="rtl"] .collection-card-badge { left: auto; right: 14px; }
[dir="rtl"] .cart-button span { right: auto; left: 0; }
[dir="rtl"] .account-button [data-account-dot] { right: auto; left: 7px; }
[dir="rtl"] .account-unread { right: auto; left: 16px; }
[dir="rtl"] .pdp2-badge { left: auto; right: 14px; }
[dir="rtl"] .pdp2-zoom { right: auto; left: 14px; }
[dir="rtl"] .simple-photo-remove { right: auto; left: 6px; }
[dir="rtl"] .simple-cover-tag { left: auto; right: 6px; }
[dir="rtl"] .account-msg.is-mine { flex-direction: row; }
[dir="rtl"] .account-msg.is-team { flex-direction: row-reverse; }
[dir="rtl"] .account-highlights ul, [dir="rtl"] .pdp2-highlights ul { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .account-back, [dir="rtl"] .pdp2-sizeguide-link { direction: rtl; }
[dir="rtl"] .checkout-secure, [dir="rtl"] .account-notice { text-align: right; }
[dir="rtl"] .pdp2-stars { direction: ltr; display: inline-block; }
[dir="rtl"] .account-detail-total, [dir="rtl"] .checkout-summary-row, [dir="rtl"] .checkout-summary-total { text-align: right; }

/* Phone: trim the storefront so pages, cards and headings feel right-sized */
@media (max-width: 600px) {
  .hero { height: 600px; min-height: 540px; }
  .hero-copy h1 { font-size: 38px; }
  .hero-actions a { font-size: 9px; padding: 11px 8px; }
  .category-card { min-width: 70vw; min-height: 340px; }
  .product-track { grid-auto-columns: 74vw; }
  .product-card { min-height: 430px; padding: 12px; }
  .editorial-card { min-width: 84vw; height: 500px; }
  .editorial-copy h2 { font-size: 34px; }
  .value-grid article { padding: 22px 20px; }
  .value-grid p { font-size: 12.5px; }
  .account-dash-head h1, .account-checkout h1, .account-auth-intro h1 { font-size: 23px; }
  .account-card h2, .account-empty h2 { font-size: 19px; }
  .account-shell { padding-top: clamp(80px, 20vw, 108px); }
}

/* ---------- Rebrand: single-image hero + Our Story ---------- */
/* Landscape hero: container matches the photo's ~16:9 ratio so `cover` shows
   it in full with no awkward crop on desktop; subject sits left, so we bias
   object-position left when a wide viewport does force a small horizontal crop. */
.hero--single { grid-template-columns: 1fr; height: auto; min-height: 0; aspect-ratio: 16 / 9; max-height: calc(100vh - 60px); }
.hero--single .hero-image { width: 100%; height: 100%; }
.hero--single .hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.hero--single .hero-copy { right: auto; left: 50%; transform: translateX(-50%); text-align: center; width: min(680px, 86vw); bottom: clamp(50px, 8vw, 110px); }
.hero--single .hero-overline { margin: 0 0 14px; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; font-weight: 700; }
.hero--single h1 { font-size: clamp(42px, 6vw, 86px); }
.hero--single .hero-sub { margin: 18px 0 0; font-size: clamp(13px, 1.4vw, 16px); letter-spacing: .02em; font-weight: 400; }
[dir="rtl"] .hero--single .hero-copy { right: auto; left: 50%; transform: translateX(-50%); }
/* Gap between the announcement bar and the hero photo; the floating header's negative bottom margin must equal -(top margin + height). */
.hero--single { margin-top: 14px; }
.site-header:has(+ .hero--single) { margin-top: 28px; margin-bottom: -76px; }
@media (max-width: 760px) {
  .hero--single { margin-top: 10px; }
  .site-header:has(+ .hero--single) { margin-top: 20px; margin-bottom: -70px; }
}
/* Mobile: stack the full (uncropped) image over copy on cream, so nothing is cut. */
@media (max-width: 768px) {
  .hero--single { aspect-ratio: auto; height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; background: var(--cream, #f4f1ea); }
  .hero--single::after { display: none; }
  .hero--single .hero-image { width: 100%; aspect-ratio: 4 / 5; }
  .hero--single .hero-image img { object-position: 12% center; }
  .hero--single .hero-copy { position: static; transform: none; inset: auto; left: auto; right: auto; bottom: auto; width: auto; color: var(--navy, #1e2a44); text-shadow: none; text-align: center; padding: 26px 20px 32px; }
  [dir="rtl"] .hero--single .hero-copy { left: auto; transform: none; }
  .hero--single .hero-overline { color: var(--gold, #a98b52); }
  .hero--single .hero-sub { color: #3f3b35; }
  .hero--single .hero-actions a { background: var(--navy, #1e2a44); color: #fff; }
}
.our-story { max-width: 800px; margin: 0 auto; padding: clamp(56px, 8vw, 110px) var(--gutter); text-align: center; }
.our-story-overline { margin: 0 0 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.our-story h2 { margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; }
.our-story p { margin: 0 auto 16px; max-width: 62ch; font-size: 15px; line-height: 1.85; color: #3f3b35; }
.our-story-sign { font-style: italic; color: var(--navy); }
@media (max-width: 600px) {
  .our-story p { font-size: 14px; }
  .hero--single .hero-overline { letter-spacing: .28em; }
}

/* --- Wallet approval sheet (Apple Pay / Google Pay / PayPal) --- */
.wallet-sheet-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center;background:rgba(20,24,36,.55);opacity:1;padding:0;backdrop-filter:saturate(120%) blur(2px);}
.wallet-sheet{width:100%;max-width:420px;background:var(--cream,#f4f1ea);color:var(--navy,#1e2a44);border-radius:20px 20px 0 0;padding:26px 24px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px rgba(20,24,36,.28);text-align:center;opacity:1;transform:translateY(0);animation:walletRise .26s cubic-bezier(.2,.7,.2,1);}
@keyframes walletRise{from{transform:translateY(26px)}to{transform:translateY(0)}}
.wallet-sheet-brand{display:flex;justify-content:center;align-items:center;height:34px;margin-bottom:14px;}
.wallet-sheet-brand svg,.wallet-sheet-brand img{height:30px;width:auto;max-width:120px;}
.wallet-sheet-merchant{font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;opacity:.6;margin:0 0 4px;}
.wallet-sheet-amount{font-size:2rem;font-weight:600;margin:0 0 10px;letter-spacing:.01em;}
.wallet-sheet-hint{font-size:.9rem;opacity:.72;margin:0 0 22px;line-height:1.45;}
.wallet-sheet-approve{width:100%;border:none;border-radius:999px;background:var(--navy,#1e2a44);color:#fff;padding:15px 18px;font-size:1rem;font-weight:600;cursor:pointer;transition:opacity .15s ease;}
.wallet-sheet-approve:hover{opacity:.9;}
.wallet-sheet-approve:disabled{opacity:.6;cursor:default;}
.wallet-sheet-cancel{width:100%;border:none;background:transparent;color:var(--navy,#1e2a44);padding:14px 8px 2px;font-size:.95rem;cursor:pointer;opacity:.7;}
.wallet-sheet-cancel:hover{opacity:1;}
@media (min-width:640px){.wallet-sheet-backdrop{align-items:center;}.wallet-sheet{border-radius:20px;}}
[dir="rtl"] .wallet-sheet{text-align:center;}

/* --- AVERA text wordmark --- */
.brand-link { width: auto; height: auto; overflow: visible; }
.brand-word { font-family: Georgia, "Times New Roman", serif; font-weight: 400; text-transform: uppercase; letter-spacing: .36em; line-height: 1; display: inline-block; padding-left: .36em; font-size: 26px; color: #1a1a1a; white-space: nowrap; }
.menu-logo.brand-word { font-size: 22px; }
.footer-brand .brand-word, .brand-word--light { color: #fff; font-size: 26px; margin-bottom: 12px; }
@media (max-width: 768px) { .brand-word { font-size: 21px; letter-spacing: .3em; } }

.brand-word .brand-v { color: #c2a877; }

/* Women / Men: full-bleed lifestyle photo cards.
   The photo covers the card's ::after tone layer, which is where the hover morph
   is drawn, so the photo (and its legibility gradient on ::before) morph with a
   clip-path of their own. A clip-path does not change the card's hit area, so the
   flicker fix below still holds. */
.category-card--photo .category-art { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; transform: none; mix-blend-mode: normal; }
.category-card--photo .category-art,
.category-card--photo::before {
  clip-path: inset(0 round var(--radius-lg));
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .35s ease, clip-path .5s cubic-bezier(.2,.7,.2,1);
}
.category-card--photo::before { background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.28) 100%); }
.category-card--photo:hover .category-art { transform: scale(1.03); }
.category-card--photo:hover .category-art, .category-card--photo.is-open .category-art,
.category-card--photo:hover::before, .category-card--photo.is-open::before { clip-path: inset(0 round 46%); }

/* --- Uploaded AVERA logo image (dark logo: natural on light, inverted on dark) --- */
.brand-link { width: auto; height: auto; overflow: visible; display: flex; align-items: center; }
.brand-link img { width: auto; height: 40px; transform: none; }
.menu-logo { width: auto; height: 32px; }
.footer-brand img { width: auto; height: 34px; margin-bottom: 12px; filter: brightness(0) invert(1); }
@media (max-width: 768px) { .brand-link img { height: 34px; } }

/* --- Category cards: Allbirds-style hover (shape morph + reveal CTAs) ---
   The morph is painted on ::after, never on .category-card itself. Hit-testing
   respects border-radius, and the card also clips with overflow:hidden, so
   rounding the card pulled its own corners out from under the cursor: moving
   onto a card fired mouseenter, the card rounded away, mouseleave fired, it
   un-rounded, and the Shop Men / Shop Women buttons flickered in and out --
   which also made them very hard to click. ::after is pointer-events:none, so
   the card's hit area now stays a stable rectangle while the visual is
   unchanged. */
.category-card { transition: box-shadow .4s ease; background: transparent; border: none; }
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--card-tone);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  transition: border-radius .5s cubic-bezier(.2,.7,.2,1);
}
.category-card:hover, .category-card.is-open { box-shadow: 0 18px 44px rgba(20,24,36,.18); }
.category-card:hover::after, .category-card.is-open::after { border-radius: 46%; }
.category-overlay { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; pointer-events: none; padding: 20px; }
.category-label { color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; text-shadow: 0 2px 12px rgba(0,0,0,.35); transition: transform .4s ease; }
.category-card:hover .category-label, .category-card.is-open .category-label { transform: translateY(-4px); }
.category-ctas { display: flex; flex-direction: column; align-items: center; gap: 9px; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s cubic-bezier(.2,.7,.2,1); }
.category-card:hover .category-ctas, .category-card.is-open .category-ctas { opacity: 1; transform: translateY(0); }
.cat-cta { pointer-events: auto; min-width: 156px; text-align: center; padding: 12px 24px; border-radius: 999px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; font-weight: 700; border: 1px solid rgba(255,255,255,.9); color: #fff; background: transparent; transition: background .2s ease, color .2s ease, transform .2s ease; }
.cat-cta--solid { background: #fff; color: #1a1a1a; }
.cat-cta:hover { background: #fff; color: #1a1a1a; }
.cat-cta:active { transform: scale(.97); }
/* Touch devices: tap toggles .is-open (handled in JS); neutralise sticky :hover so tap drives the animation. */
@media (hover: none) {
  .category-card:hover { box-shadow: none; }
  .category-card:hover::after { border-radius: var(--radius-lg); }
  .category-card:hover .category-label { transform: none; }
  .category-card:hover .category-ctas { opacity: 0; transform: translateY(14px); }
  .category-card.is-open { box-shadow: 0 18px 44px rgba(20,24,36,.18); }
  .category-card.is-open::after { border-radius: 46%; }
  .category-card.is-open .category-ctas { opacity: 1; transform: translateY(0); }
  .category-card--photo:hover .category-art, .category-card--photo:hover::before { transform: none; clip-path: inset(0 round var(--radius-lg)); }
  .category-card--photo.is-open .category-art, .category-card--photo.is-open::before { clip-path: inset(0 round 46%); }
}

/* --- Our Story page --- */
.story-page { max-width: 760px; margin: 0 auto; padding: clamp(70px, 12vw, 150px) var(--gutter) clamp(70px, 10vw, 130px); text-align: center; }
.story-overline { margin: 0 0 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.story-page h1 { margin: 0 0 30px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; }
.story-body { margin: 0 auto; max-width: 60ch; font-size: 16px; line-height: 1.95; color: #3f3b35; }
.story-sign { margin-top: 34px; font-style: italic; font-size: 15px; color: var(--navy); letter-spacing: .02em; }

/* --- Hero headline: modern sans-serif treatment --- */
.hero-copy--modern h1.hero-headline {
  font-family: "Inter", "Helvetica Neue", "Segoe UI", system-ui, Arial, sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
  font-size: clamp(38px, 5.2vw, 72px);
  text-transform: none;
}
.hero-copy--modern .hero-sub { margin-top: 16px; }

/* --- Modern typed hero: AVERA + gold "Beyond For" --- */
.hero-copy--modern { z-index: 3; }
.hero-copy--modern .hero-brand {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400;
  letter-spacing: .14em; line-height: .95; margin: 0;
  font-size: clamp(52px, 8vw, 104px); color: #faf8f5;
}
.hero-copy--modern .hero-brand::after {
  content: ""; display: block; width: 62px; height: 2px; margin: 16px auto 0;
  background: var(--gold, #c9a96e);
}
.hero-copy--modern .hero-typed { margin: 12px 0 0; min-height: 1.5em; display: flex; align-items: baseline; justify-content: center;
  font-family: Georgia, "Times New Roman", serif; font-weight: 300; letter-spacing: .05em;
  font-size: clamp(20px, 3vw, 40px); }
.hero-typed-text { color: #e6d5ab; text-shadow: 0 1px 24px rgba(201,169,110,.25); white-space: nowrap; }
.hero-typed-cursor { display: inline-block; width: 2px; height: 1em; margin-left: 4px; transform: translateY(.14em);
  background: var(--gold, #c9a96e); box-shadow: 0 0 12px rgba(201,169,110,.5); animation: heroCursor 1.1s steps(1) infinite; }
.hero-typed-cursor.is-done { animation: none; opacity: 0; transition: opacity 1s ease; }
@keyframes heroCursor { 0%,45%{opacity:1} 46%,100%{opacity:0} }
.hero-copy--modern .hero-sub { color: #ddd6c9; }
.hero-copy--modern .hero-sub span { color: #e6d5ab; }
/* Readability scrim behind the copy on the image (desktop only) */
.hero--single::after { background: linear-gradient(to top, rgba(20,18,17,.58) 0%, rgba(20,18,17,.22) 40%, transparent 66%); }
/* Mobile: copy is stacked on cream — dark text, no scrim */
@media (max-width: 768px) {
  .hero--single::after { display: none; }
  .hero-copy--modern .hero-brand { color: var(--navy, #1e2a44); }
  .hero-typed-text, .hero-copy--modern .hero-sub span { color: #a98b52; }
  .hero-typed-text { text-shadow: none; }
  .hero-typed-cursor { background: #a98b52; box-shadow: none; }
  .hero-copy--modern .hero-sub { color: #6a655d; }
}

/* Hero "AVERA" uses the logo artwork (same typeface as the header logo) */
.hero-copy--modern .hero-brand { font-size: 0; line-height: 0; max-width: none; margin: 0 0 4px; text-align: center; }
.hero-brand-logo { display: block; height: clamp(46px, 7.5vw, 86px); width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
@media (max-width: 768px) { .hero-brand-logo { filter: none; height: clamp(42px, 12vw, 64px); } }

/* --- Large screens: keep the hero copy scaling with the viewport ---
   Every hero dimension above tops out around a 1150–1300px viewport, so on a
   1440p or ultrawide display the hero box grows to 2400px+ while the logo,
   headline and buttons stay frozen at laptop size and read as a tiny island.
   Each value below starts exactly where its cap left off at 1400px, so nothing
   under that width changes, then keeps growing and settles again by ~2500px. */
@media (min-width: 1400px) {
  .hero-brand-logo { height: clamp(86px, 6.15vw, 152px); }
  .hero-copy--modern .hero-brand::after { width: clamp(62px, 4.43vw, 116px); margin: clamp(16px, 1.14vw, 28px) auto 0; }
  .hero-copy--modern .hero-typed { font-size: clamp(40px, 2.86vw, 68px); }
  .hero--single .hero-sub { font-size: clamp(16px, 1.15vw, 26px); }
  .hero--single .hero-copy { width: min(86vw, clamp(680px, 48.6vw, 1080px)); bottom: clamp(110px, 7.86vw, 190px); }
  .hero--single .hero-actions { margin-top: clamp(30px, 2.14vw, 52px); }
  .hero--single .hero-actions a { min-width: clamp(135px, 9.64vw, 210px); padding: clamp(13px, .93vw, 20px) clamp(22px, 1.57vw, 38px); font-size: clamp(10px, .714vw, 15px); }
}

/* --- Footer "Our Identity" link --- */
.footer-identity { display: inline-block; margin-top: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold, #a98b52); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.footer-identity:hover { border-color: var(--gold, #a98b52); }

/* --- Corporate identity page --- */
.identity-page { max-width: 760px; margin: 0 auto; padding: clamp(64px, 10vw, 130px) var(--gutter) clamp(64px, 9vw, 110px); }
.identity-overline { margin: 0 0 14px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold, #a98b52); font-weight: 700; text-align: center; }
.identity-title { margin: 0 0 clamp(34px, 6vw, 64px); font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(34px, 5vw, 58px); letter-spacing: -.02em; text-align: center; }
.identity-block { margin: 0 0 clamp(30px, 4vw, 46px); }
.identity-block h2 { margin: 0 0 12px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(20px, 2.6vw, 28px); color: var(--navy, #1e2a44); letter-spacing: -.01em; }
.identity-block p { margin: 0; font-size: 16px; line-height: 1.9; color: #3f3b35; }
.identity-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px !important; }
.identity-links a { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); font-size: 12px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.identity-links a:hover { border-color: var(--navy); }
.identity-block [data-contact-email] { margin-top: 12px; }
.identity-block [data-contact-email] a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.identity-values { width: 100%; border-collapse: collapse; margin-top: 4px; }
.identity-values th, .identity-values td { text-align: start; padding: 13px 14px; border-bottom: 1px solid var(--line, #d8d3ca); font-size: 15px; line-height: 1.6; vertical-align: top; }
.identity-values th { font-family: "Inter", system-ui, sans-serif; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #6a655d; font-weight: 700; }
.identity-values td:first-child { font-weight: 600; color: var(--navy, #1e2a44); white-space: nowrap; }
.identity-values td:last-child { color: #3f3b35; }
[dir="rtl"] .identity-block, [dir="rtl"] .identity-values td, [dir="rtl"] .identity-values th { text-align: right; }
@media (max-width: 600px) { .identity-values td:first-child { white-space: normal; } .identity-block p { font-size: 15px; } }

.identity-block, .identity-title { scroll-margin-top: 96px; }

/* ---------- Store policies ---------- */
.policy-page { max-width: 1120px; margin: 0 auto; padding: clamp(70px, 9vw, 120px) var(--gutter) clamp(60px, 8vw, 100px); }
.policy-head { text-align: center; }
.policy-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.02em; line-height: 1.12; color: var(--ink); }
.policy-updated { margin: 14px 0 0; font-size: 12px; letter-spacing: .06em; color: #8a857c; }
.policy-switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: clamp(28px, 4vw, 40px) 0 clamp(30px, 4.5vw, 48px); }
.policy-switch a { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #4a4640; font-size: 12px; font-weight: 650; letter-spacing: .04em; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.policy-switch a:hover { border-color: var(--navy); color: var(--navy); }
.policy-switch a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.policy-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(22px, 3vw, 40px); align-items: start; }
.policy-toc { position: sticky; top: 118px; padding: 22px; border-radius: var(--radius-lg); background: var(--cream); border: 1px solid #e6e1d8; }
.policy-toc > p { margin: 0 0 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.policy-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.policy-toc li { counter-increment: toc; }
.policy-toc a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 13px; line-height: 1.45; color: #4a4640; }
.policy-toc a::before { content: counter(toc); flex: none; min-width: 14px; font-weight: 700; color: var(--gold); }
.policy-toc a:hover { background: #fff; color: var(--navy); }
.policy-body { background: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 4.2vw, 56px); box-shadow: 0 8px 30px rgba(0, 0, 0, .04); }
.policy-body p, .policy-list li { font-size: 15.5px; line-height: 1.85; color: #3f3b35; }
.policy-intro { padding-bottom: clamp(20px, 3vw, 30px); margin-bottom: clamp(8px, 1.5vw, 14px); border-bottom: 1px solid var(--line); }
.policy-intro p { margin: 0 0 10px; }
.policy-intro p:first-child { font-family: Georgia, "Times New Roman", serif; font-size: 21px; color: var(--navy); }
.policy-intro p:last-child { margin-bottom: 0; }
.policy-section { padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid #efebe4; scroll-margin-top: 110px; }
.policy-section:last-of-type { border-bottom: 0; }
.policy-section h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(21px, 2.3vw, 26px); line-height: 1.3; color: var(--navy); }
.policy-num { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--gold); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 13px; font-weight: 700; transform: translateY(-3px); }
.policy-section p { margin: 0 0 12px; }
.policy-sub { margin: 20px 0 6px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #6a655d; }
.policy-list { margin: 4px 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.policy-list li { position: relative; padding-inline-start: 22px; }
.policy-list li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.policy-contact { display: grid; gap: 2px; margin: 6px 0 14px; padding: 16px 20px; border-radius: 14px; background: var(--cream); }
.policy-contact p { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.policy-contact span { min-width: 90px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #8a857c; line-height: 2.5; }
.policy-contact a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; unicode-bidi: isolate; }
.policy-help { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: clamp(22px, 3vw, 34px); padding: clamp(20px, 3vw, 28px); border-radius: 18px; background: var(--navy); color: #fff; }
.policy-help h2 { margin: 0 0 4px; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: 21px; color: #fff; }
.policy-help p { margin: 0; font-size: 14px; color: #d9d4ca; }
.policy-help-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.policy-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: background .15s ease, border-color .15s ease; }
.policy-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.policy-btn--solid { background: #fff; border-color: #fff; color: var(--navy); }
.policy-btn--solid:hover { background: var(--cream); }
[dir="rtl"] .policy-section h2, [dir="rtl"] .policy-body, [dir="rtl"] .policy-toc { text-align: right; }
[dir="rtl"] .policy-sub, [dir="rtl"] .policy-contact span, [dir="rtl"] .policy-btn, [dir="rtl"] .policy-toc > p { letter-spacing: 0; }
@media (max-width: 900px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
}
@media (max-width: 600px) {
  .policy-body p, .policy-list li { font-size: 15px; }
  .policy-intro p:first-child { font-size: 19px; }
  .policy-switch { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .policy-switch::-webkit-scrollbar { display: none; }
  .policy-switch a { flex: none; }
  .policy-help-actions, .policy-btn { width: 100%; }
  .policy-btn { justify-content: center; }
}
