:root {
  --navy: #123b84;
  --coral: #ef5a45;
  --orange: #f39a44;
  --butter: #f5d976;
  --lilac: #c7b7e8;
  --sage: #a7c6a2;
  --cream: #fff8ee;
  --paper: #fffdf9;
  --ink: #14213d;
  --muted: #66718a;
  --line: #e2d9cb;
  --display: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  --sans: Arial, Helvetica, sans-serif;
}

.google-button-host { width: 100%; min-height: 48px; display: flex; justify-content: center; }
.google-button-host > div { width: 100% !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-y: scroll; scrollbar-gutter: stable; }
body { margin: 0; max-width: 100%; overflow-x: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
body:has(.account-backdrop), body:has(.bag-backdrop), body:has(.zoom-backdrop) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
/* The app renders route content at the end of the document. Keep the footer
   below the first viewport while that content is being created so it cannot
   jump from the top of the page and inflate CLS. */
#site-main { min-height: 100vh; }

.announcement { min-height: 34px; padding: 8px 4vw; display: flex; justify-content: center; gap: 28px; background: var(--navy); color: white; text-transform: uppercase; letter-spacing: .11em; font-size: 10px; }
.announcement span { opacity: .82; }
.site-header { position: sticky; top: 0; z-index: 12; min-height: 82px; padding: 12px 4vw; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 34px; background: rgba(255,253,249,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-family: var(--display); font-size: 18px; letter-spacing: .08em; white-space: nowrap; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--orange); }
.main-nav { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); font-size: 13px; font-weight: 700; }
.main-nav a, .footer-top a, .footer-bottom a { transition: color .2s ease; }
.main-nav a:hover, .footer-top a:hover, .footer-bottom a:hover { color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.language-button { width: 74px; min-height: 34px; padding: 0 8px; border: 1px solid var(--navy); border-radius: 999px; background: transparent; color: var(--navy); font-size: 11px; font-weight: 800; white-space: nowrap; }
.language-button:hover { background: var(--butter); }
.language-button:focus-visible { outline: 3px solid rgba(18,59,132,.28); outline-offset: 3px; }
.icon-button, .bag-button { display: inline-flex; align-items: center; justify-content: center; border: 0; background: transparent; color: var(--ink); }
.header-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button { min-width: 38px; height: 38px; font-size: 22px; }
.menu-button { display: none; }
.bag-button { gap: 4px; padding: 9px 12px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 700; }
.bag-button .header-icon { width: 20px; height: 20px; }
.bag-button span { display: inline-grid; min-width: 21px; height: 21px; place-items: center; margin-left: 1px; border-radius: 50%; background: var(--coral); color: white; font-size: 11px; }

.hero { position: relative; width: 100%; max-width: 100%; aspect-ratio: 8 / 3; min-height: 0; overflow: hidden; clip-path: inset(0); background: var(--cream); isolation: isolate; }
.hero::before { display: none; }
.hero > img { position: relative; z-index: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: contain; object-position: center; background: var(--cream); transition: opacity .25s ease; }
.hero > picture { position: relative; z-index: 0; display: block; width: 100%; height: 100%; }
.hero > picture > img { position: relative; z-index: 0; display: block; width: 100%; max-width: none; height: 100%; object-fit: contain; object-position: center; background: var(--cream); transition: opacity .25s ease; }
.hero.hero-square > img { object-fit: contain; background: var(--cream); }
.hero::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(18,59,132,.92) 0%, rgba(18,59,132,.52) 37%, rgba(18,59,132,0) 70%); pointer-events: none; }
.hero-content { position: absolute; z-index: 2; left: 7vw; top: 50%; width: min(440px, 42vw); transform: translateY(-50%); color: white; }
.hero h1 { margin: 10px 0 20px; font-family: var(--display); font-size: clamp(42px, 6vw, 82px); line-height: .95; letter-spacing: -.06em; }
.hero-content > p:not(.eyebrow) { max-width: 380px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.eyebrow { margin: 0 0 8px; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }
.hero .eyebrow { color: var(--butter); }
.hero-controls { position: absolute; z-index: 3; right: 5vw; bottom: 28px; display: flex; align-items: center; gap: 10px; color: white; }
.hero-controls button { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(18,59,132,.18); color: white; font-size: 20px; }
.hero-controls span { min-width: 62px; text-align: center; font-size: 11px; letter-spacing: .1em; }
.panorama-section { display: none !important; }

.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--navy); border-radius: 999px; background: var(--navy); color: white; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); }
.button-light { background: white; border-color: white; color: var(--navy); }
.button-outline { background: transparent; color: var(--navy); }
.hero .button-outline { border-color: white; color: white; }
.text-link { display: inline-block; margin-top: 16px; border-bottom: 2px solid currentColor; font-weight: 800; }

.section { width: min(1240px, 92vw); margin: 0 auto; padding: 88px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 34px; }
.section-heading > div { max-width: 670px; }
.section-heading > p { max-width: 340px; margin: 0; color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 8px; font-family: var(--display); font-size: clamp(33px, 4vw, 58px); line-height: .98; letter-spacing: -.05em; }
h3 { font-size: 21px; line-height: 1.1; }
.category-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.category-strip a { min-height: 140px; display: flex; align-items: end; padding: 18px; border-radius: 18px; font-family: var(--display); font-size: 21px; color: var(--navy); transition: transform .2s ease; }
.category-strip a:nth-child(1) { background: var(--coral); }.category-strip a:nth-child(2) { background: var(--butter); }.category-strip a:nth-child(3) { background: var(--lilac); }.category-strip a:nth-child(4) { background: var(--sage); }.category-strip a:nth-child(5) { background: var(--orange); }
.category-strip a:hover, .colour-card:hover { transform: translateY(-5px); }

.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 28px 0; padding: 13px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-button, .sort-select { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--ink); font-size: 13px; }
.filter-button.is-active { background: var(--navy); border-color: var(--navy); color: white; }
.sort-select { min-width: 160px; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card { min-width: 0; display: flex; flex-direction: column; }
.product-card-image { display: block; overflow: hidden; aspect-ratio: 1 / 1.05; border-radius: 16px; background: var(--butter); }
.product-card:nth-child(2n) .product-card-image { background: var(--lilac); }.product-card:nth-child(3n) .product-card-image { background: var(--sage); }.product-card:nth-child(4n) .product-card-image { background: #ffc4ae; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.product-card:hover .product-card-image img { transform: scale(1.04); }
.product-card-info { display: flex; flex: 1; justify-content: space-between; gap: 12px; padding: 14px 0 4px; }
.product-card-info h3 { margin: 0 0 5px; font-family: var(--display); font-size: 18px; }.product-card-info p { margin: 0; color: var(--muted); font-size: 12px; }.price { white-space: nowrap; color: var(--navy); font-weight: 800; }
.rating { margin: 0 0 9px; color: var(--orange); font-size: 12px; }.rating span { color: var(--muted); }
.swatches { display: flex; gap: 6px; margin: 12px 0; }.swatch { width: 16px; height: 16px; border: 2px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }.swatch.coral { background: var(--coral); }.swatch.blue { background: var(--navy); }.swatch.sage { background: var(--sage); }.swatch.butter { background: var(--butter); }.swatch.graphite { background: #34383D; }
.card-actions { display: flex; gap: 7px; margin-top: auto; padding-top: 12px; }.card-actions .button { min-height: 37px; padding: 0 13px; font-size: 12px; }

.feature-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 470px; overflow: hidden; border-radius: 24px; background: var(--navy); color: white; }.feature-band img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }.feature-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 80px); }.feature-copy h2 { color: var(--butter); }.feature-copy p:not(.eyebrow) { color: rgba(255,255,255,.82); }.feature-copy .button { align-self: start; margin-top: 16px; }
.colour-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }.colour-card { min-height: 160px; display: flex; flex-direction: column; justify-content: end; padding: 16px; border-radius: 14px; transition: transform .2s ease; }.colour-card strong { font-family: var(--display); font-size: 20px; }.colour-card span { font-size: 11px; }.colour-card:nth-child(1) { background: var(--coral); }.colour-card:nth-child(2) { background: var(--butter); }.colour-card:nth-child(3) { background: var(--sage); }.colour-card:nth-child(4) { background: var(--navy); color: white; }.colour-card:nth-child(5) { background: var(--orange); }.colour-card:nth-child(6) { background: var(--lilac); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }.story-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; }.story-card img { width: 100%; aspect-ratio: 1.2 / 1; object-fit: cover; }.story-card > div { padding: 22px; }.story-card h3 { margin-bottom: 8px; font-family: var(--display); }.story-card p:not(.eyebrow) { color: var(--muted); font-size: 14px; }
.recipe-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; }.recipe-card { min-height: 260px; padding: 24px; border-radius: 18px; display: flex; flex-direction: column; justify-content: end; }.recipe-card:nth-child(1) { background: var(--butter); }.recipe-card:nth-child(2) { background: var(--lilac); }.recipe-card:nth-child(3) { background: var(--sage); }.recipe-card h3 { margin: 7px 0; font-family: var(--display); font-size: 26px; }.recipe-card p { max-width: 320px; margin: 0; }
.newsletter, .footer-signup { position: relative; padding: clamp(30px, 5vw, 58px); border-radius: 22px; background: var(--coral); color: white; }.newsletter { display: flex; justify-content: space-between; align-items: center; gap: 30px; }.newsletter h2, .footer-signup h2 { color: var(--butter); }.newsletter p:not(.eyebrow), .footer-signup p:not(.eyebrow) { max-width: 430px; color: rgba(255,255,255,.9); }.newsletter form, .footer-signup form { display: flex; min-width: min(410px, 100%); gap: 8px; }.newsletter input, .footer-signup input { min-width: 0; flex: 1; padding: 0 16px; border: 0; border-radius: 999px; color: var(--ink); }.newsletter-note { position: absolute; left: 58px; bottom: 10px; margin: 0; font-size: 12px; }

.site-footer { margin-top: 10px; background: var(--navy); color: white; }.footer-signup { width: min(1240px, 92vw); margin: 0 auto; transform: translateY(-28px); background: var(--orange); }.footer-signup form { max-width: 520px; }.footer-top { width: min(1240px, 92vw); margin: -4px auto 0; padding: 26px 0 65px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 40px; }.footer-brand img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--butter); }.footer-brand strong { display: block; margin-top: 12px; font-family: var(--display); letter-spacing: .08em; }.footer-brand p { max-width: 240px; color: rgba(255,255,255,.75); font-size: 13px; }.footer-top h3 { margin-bottom: 15px; color: var(--butter); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }.footer-top a { display: block; margin: 9px 0; color: rgba(255,255,255,.8); font-size: 13px; }.footer-bottom { padding: 15px 4vw; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.65); font-size: 11px; }

.simple-page { min-height: 420px; }.simple-page h1 { max-width: 780px; font-family: var(--display); font-size: clamp(50px, 8vw, 96px); line-height: .92; }.simple-page p:not(.eyebrow) { max-width: 680px; color: var(--muted); font-size: 18px; }.site-search { width: 100%; margin-top: 20px; padding: 18px 0; border: 0; border-bottom: 2px solid var(--navy); outline: 0; background: transparent; font-size: 22px; }
.product-page { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(35px, 7vw, 100px); align-items: start; }.product-gallery { position: sticky; top: 110px; }.gallery-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: var(--butter); }.gallery-stage > img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }.gallery-zoom { position: absolute; right: 17px; bottom: 17px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: white; color: var(--navy); font-size: 25px; }.gallery-thumbs { display: flex; gap: 9px; margin-top: 10px; overflow-x: auto; }.gallery-thumb { flex: 0 0 70px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 10px; background: var(--lilac); }.gallery-thumb.is-active { border-color: var(--navy); }.gallery-thumb img { width: 70px; height: 70px; object-fit: cover; }.gallery-hint { color: var(--muted); font-size: 11px; }.product-info { padding-top: 30px; }.product-info h1 { max-width: 570px; margin-bottom: 12px; font-family: var(--display); font-size: clamp(40px, 6vw, 78px); line-height: .95; letter-spacing: -.06em; }.product-info > .price { display: block; margin-bottom: 24px; font-size: 21px; }.product-info > p { max-width: 520px; color: var(--muted); font-size: 18px; }.pieces { display: grid; gap: 7px; margin: 25px 0; color: var(--navy); font-size: 14px; }.quantity { display: inline-flex; align-items: center; gap: 15px; margin-right: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }.quantity button { width: 26px; height: 28px; border: 0; background: transparent; }

.account-backdrop, .bag-backdrop, .zoom-backdrop { position: fixed; inset: 0; z-index: 40; display: grid; background: rgba(20,33,61,.56); }.account-backdrop { place-items: center; padding: 20px; }.account-modal { position: relative; width: min(580px, 100%); max-height: min(760px, 92vh); overflow: auto; padding: clamp(28px, 5vw, 55px); border-radius: 25px; background: var(--cream); box-shadow: 0 20px 80px rgba(0,0,0,.22); }.close-button { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: rgba(20,33,61,.08); color: var(--ink); font-size: 25px; line-height: 1; }.account-modal h2 { max-width: 480px; margin: 0 0 12px; color: var(--navy); font-size: clamp(34px, 6vw, 61px); }.account-lead { max-width: 440px; color: var(--muted); }.auth-form { display: grid; gap: 14px; margin-top: 23px; }.auth-form label { display: grid; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }.auth-form input { width: 100%; padding: 12px 0; border: 0; border-bottom: 2px solid var(--ink); outline: 0; background: transparent; color: var(--ink); }.auth-form input:focus { border-color: var(--coral); }.auth-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-top: 8px; }.auth-row > button, .account-switch button { border: 0; padding: 0; background: transparent; color: var(--navy); font-weight: 800; text-decoration: underline; }.check-label { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 8px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; }.check-label input { width: 18px; height: 18px; border: 1px solid var(--ink); }.account-submit { width: 100%; margin-top: 6px; border-radius: 7px; }.auth-status { min-height: 22px; margin: 0; color: var(--coral); font-size: 13px; }.account-divider { display: flex; align-items: center; gap: 12px; margin: 22px 0 14px; color: var(--muted); }.account-divider::before, .account-divider::after { content: ""; height: 1px; flex: 1; background: var(--line); }.google-placeholder { width: 100%; padding: 12px; border: 1px solid var(--ink); border-radius: 7px; background: white; color: var(--ink); font-weight: 800; }.google-mark { display: inline-block; margin-right: 7px; color: #4285f4; font-size: 20px; }.account-switch { margin: 20px 0 0; text-align: center; color: var(--muted); }.account-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 25px 0; }.account-tile { display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; text-align: left; color: var(--ink); }.account-tile span { font-size: 24px; }.account-tile small { color: var(--muted); }
.bag-backdrop { inset: 0; width: auto; max-width: none; display: flex; align-items: stretch; justify-content: flex-end; overflow: hidden; overscroll-behavior: none; }.bag-drawer { width: min(520px, 100%); max-width: 100%; min-width: 0; height: 100%; overflow-y: scroll; overflow-x: hidden; scrollbar-gutter: stable; overscroll-behavior: contain; overflow-anchor: none; touch-action: pan-y; padding: 28px; background: var(--cream); box-shadow: -15px 0 45px rgba(0,0,0,.16); }.bag-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }.bag-head h2 { font-size: 36px; }.bag-head .close-button { position: static; }.bag-items { padding: 20px 0; overflow-anchor: none; }.empty-bag { color: var(--muted); }.bag-item { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }.bag-item img { width: 78px; height: 78px; border-radius: 10px; object-fit: cover; }.bag-item strong, .bag-item small { display: block; }.bag-item small { margin-top: 5px; color: var(--muted); }.bag-item-controls { display: flex; align-items: center; gap: 8px; margin-top: 9px; }.bag-item-controls button { border: 0; background: transparent; }.remove-item { color: var(--coral); font-size: 12px; }.bag-total { padding-top: 18px; border-top: 2px solid var(--navy); }.bag-total-line { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 18px; }.checkout-note { color: var(--muted); font-size: 12px; }.bag-total > .button { width: 100%; border-radius: 7px; }.zoom-backdrop { place-items: center; padding: 5vw; }.zoom-viewer { position: relative; width: min(900px, 100%); max-height: 90vh; padding: 20px; background: var(--cream); border-radius: 18px; }.zoom-viewer img { max-height: 82vh; width: 100%; object-fit: contain; }.zoom-viewer .close-button { z-index: 1; }

.google-placeholder { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 16px; border: 1px solid #dadce0; border-radius: 4px; background: #fff; color: #3c4043; font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: 500; box-shadow: 0 1px 2px rgba(60,64,67,.3); transition: background .15s ease, box-shadow .15s ease; }
.google-placeholder:hover { background: #f8fafd; box-shadow: 0 1px 3px rgba(60,64,67,.35); }
.google-placeholder .google-mark { display: block; width: 20px; height: 20px; margin: 0; flex: 0 0 20px; overflow: visible; }
.google-button-host { position: relative; }
.google-gis-overlay { position: absolute; z-index: 2; inset: 0; overflow: hidden; opacity: 0; cursor: pointer; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: auto auto; justify-content: space-between; }.main-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 4vw; background: var(--cream); border-bottom: 1px solid var(--line); }.main-nav.is-open { display: grid; gap: 14px; }.menu-button { display: inline-block; }.hero-content { left: 6vw; width: min(500px, 72vw); }.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.colour-grid { grid-template-columns: repeat(3, 1fr); }.product-page { grid-template-columns: 1fr; }.product-gallery { position: static; }.newsletter, .section-heading { align-items: start; flex-direction: column; }.newsletter form { width: 100%; }.footer-top { grid-template-columns: 1.5fr 1fr 1fr; }.footer-brand { grid-column: 1 / -1; }.recipe-grid { grid-template-columns: 1fr 1fr; }.recipe-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .announcement { gap: 10px; justify-content: space-between; font-size: 8px; }.announcement span:last-child { display: none; }.site-header { min-height: 70px; padding: 8px 4vw; }.brand img { width: 43px; height: 43px; }.brand { font-size: 15px; }.header-actions { gap: 2px; }.icon-button { min-width: 32px; font-size: 19px; }.bag-button { padding: 7px 10px; font-size: 12px; }.hero { aspect-ratio: auto; min-height: 520px; height: 520px; }.hero > img { min-height: 520px; height: 520px; object-fit: cover; object-position: 57% center; }.hero::after { background: linear-gradient(180deg, rgba(18,59,132,.15), rgba(18,59,132,.85) 76%); }.hero-content { top: auto; bottom: 65px; left: 5vw; width: 90vw; }.hero h1 { font-size: 55px; }.hero-content > p:not(.eyebrow) { font-size: 15px; }.section { padding: 58px 0; }.category-strip { grid-template-columns: repeat(2, 1fr); }.category-strip a { min-height: 110px; font-size: 18px; }.category-strip a:last-child { grid-column: 1 / -1; }.catalog-toolbar { align-items: start; flex-direction: column; }.product-grid { gap: 20px 10px; }.product-card-info { display: block; }.product-card-info .price { display: block; margin-top: 6px; }.card-actions .button { width: 100%; padding: 0 8px; }.card-actions .button-outline { display: none; }.feature-band { grid-template-columns: 1fr; }.feature-band img { min-height: 260px; }.feature-copy { min-height: 320px; }.colour-grid { grid-template-columns: repeat(2, 1fr); }.colour-card { min-height: 125px; }.story-grid, .recipe-grid { grid-template-columns: 1fr; }.recipe-card:first-child { grid-column: auto; }.newsletter form, .footer-signup form { min-width: 0; flex-direction: column; }.newsletter input, .footer-signup input { min-height: 44px; }.footer-signup { width: 92vw; }.footer-top { grid-template-columns: 1fr 1fr; gap: 28px 18px; }.footer-brand { grid-column: 1 / -1; }.footer-bottom { text-align: center; }.account-actions { grid-template-columns: 1fr; }.account-modal { padding: 34px 22px 25px; }.auth-row { align-items: start; flex-direction: column; }.bag-drawer { padding: 23px 18px; }.bag-item { grid-template-columns: 62px 1fr; }.bag-item > .price { grid-column: 2; }.bag-item img { width: 62px; height: 62px; }
}
.auth-success { margin: 20px 0 14px; padding: 13px 15px; border: 1px solid #9fcaab; border-radius: 10px; background: #edf8f0; color: #216b36; font-size: 14px; font-weight: 700; }

/* Indigo style: use the requested #3949AB accent while keeping product colours true. */
:root { --navy: #3949AB; --sage: #9FA8DA; --ink: #20243b; --muted: #62677f; --line: #d9dcf2; --cream: #f5f6ff; --paper: #fcfcff; --butter: #e5e7ff; --coral: #b8bff0; --orange: #8794df; --lilac: #d8d9f7; }
.hero::after { background: linear-gradient(90deg, rgba(27, 37, 108, .84) 0%, rgba(52, 65, 148, .46) 37%, rgba(52, 65, 148, 0) 70%); }
.hero-controls button { background: rgba(27, 37, 108, .2); }
.account-backdrop, .bag-backdrop, .zoom-backdrop { background: rgba(21, 27, 77, .54); }
.swatch.blue { background: #303f9f; }
.colour-card:nth-child(4) { background: #303f9f; }
@media (max-width: 560px) { .hero::after { background: linear-gradient(180deg, rgba(27, 37, 108, .13), rgba(27, 37, 108, .8) 76%); } }
@media (max-width: 560px) {
  .hero { min-height: 430px; height: 430px; }
  .hero > img { min-height: 430px; height: 430px; object-fit: cover; object-position: 57% center; }
  .hero > picture > img { min-height: 430px; height: 430px; object-fit: cover; object-position: center center; }
  .hero-content { bottom: 54px; }
  .hero h1 { font-size: 44px; line-height: .98; }
  .hero-content > p:not(.eyebrow) { max-width: 320px; font-size: 14px; line-height: 1.35; }
  .hero-actions { margin-top: 18px; }
  .hero-controls { right: 4vw; bottom: 13px; }
}

/* Product photos: keep every card the same size while showing each full piece. */
.product-card-image { aspect-ratio: 1 / 1; background: #f1dfc8; }
.product-card-image img { object-fit: contain; }
.gallery-stage { background: #f1dfc8; }
.gallery-stage > img, .gallery-thumb img { object-fit: contain; }
.bag-grand-total { padding-top: 8px; border-top: 1px solid var(--line); font-weight: 800; }
/* Cart updates must stay visually stationary while quantities and totals change. */
.bag-backdrop, .bag-drawer, .bag-drawer *, .bag-button { transition: none !important; animation: none !important; }
.bag-drawer .button:hover, .bag-drawer .bag-item-controls button:hover, .bag-button:hover { transform: none !important; }
.cart-reward { margin: 4px 0 20px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--butter); }
.cart-reward.is-unlocked { border-color: #b8d8bf; background: #edf8f0; }
.cart-reward-message { margin: 0 0 14px; color: var(--navy); font-size: 14px; font-weight: 800; line-height: 1.35; }
.cart-progress { height: 10px; overflow: hidden; border-radius: 999px; background: rgba(57,73,171,.14); }
.cart-progress span { display: block; height: 100%; border-radius: inherit; background: var(--navy); transition: width .35s cubic-bezier(.22,.61,.36,1); }
.cart-reward.is-unlocked .cart-progress span { background: #45945a; }
.cart-progress-labels { display: flex; justify-content: space-between; margin-top: 7px; color: var(--muted); font-size: 11px; font-weight: 700; }
.promo-notice { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 26px 30px; border-radius: 18px; background: var(--butter); color: var(--ink); }
.promo-notice + #shop { padding-top: 18px; }
.promo-notice h2 { margin: 4px 0 8px; color: var(--navy); font-size: clamp(24px, 3vw, 38px); }
.promo-notice p { margin: 0; }
.promo-benefits { font-size: 20px; color: var(--navy); }
.referral-invite-notice { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 30px; border: 2px solid var(--navy); border-radius: 20px; background: var(--navy); color: white; }
.referral-invite-notice h2 { margin: 4px 0 8px; color: var(--butter); font-size: clamp(28px, 4vw, 48px); }
.referral-invite-notice p:not(.eyebrow) { max-width: 680px; margin: 0; color: rgba(255,255,255,.86); }
.referral-invite-notice small { display: block; margin-top: 14px; color: rgba(255,255,255,.62); font-size: 11px; }
.referral-invite-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.referral-invite-actions .button-outline { border-color: rgba(255,255,255,.75); color: white; }
@media (max-width: 700px) { .promo-notice, .referral-invite-notice { align-items: flex-start; flex-direction: column; } }

/* Finish variations: keep the catalog calm while making the choice clear on each product page. */
.product-finish-note { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; line-height: 1.25; letter-spacing: .03em; }
.card-finish-picker { display: grid; gap: 7px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--line); }
.card-finish-title { color: var(--navy); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-finish-options { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-height: 32px; }
.card-finish-option { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 3px 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; font-weight: 700; line-height: 1.2; text-align: left; white-space: nowrap; cursor: pointer; touch-action: manipulation; }
.card-finish-option > * { pointer-events: none; }
.card-finish-option:hover, .card-finish-option.is-active { color: var(--navy); }
.card-finish-option:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.card-finish-swatch { width: 24px; height: 24px; flex: 0 0 24px; display: inline-block; border: 1px solid rgba(32,36,59,.22); border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5), 0 0 0 1px rgba(32,36,59,.06); }
.finish-picker { margin: 4px 0 25px; padding: 17px 0 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.finish-label { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.finish-label strong { margin-left: 6px; color: var(--ink); font-weight: 700; }
.finish-options { display: flex; flex-wrap: wrap; gap: 9px; }
.finish-option { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 7px 13px 7px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; font-size: 12px; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.finish-option:hover { transform: translateY(-1px); border-color: var(--navy); }
.finish-option.is-active { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(57,73,171,.12); }
.finish-swatch { width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid rgba(32,36,59,.18); border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.finish-swatch-black { background: #111316; }
.finish-swatch-darkGreyCream { background: linear-gradient(135deg, #41464A 0%, #41464A 50%, #F2F1E8 50%, #F2F1E8 100%); }
.card-finish-swatch.finish-swatch-darkGreyCream { background: linear-gradient(135deg, #41464A 0%, #41464A 50%, #F2F1E8 50%, #F2F1E8 100%); }
.product-card-image img, .gallery-stage > img { transition: opacity .26s ease, transform .38s cubic-bezier(.22, .61, .36, 1), filter .26s ease; }
.product-card-image img.is-changing, .gallery-stage > img.is-changing { opacity: 0; transform: scale(1.025); filter: blur(1.5px); }
.product-card-image img.is-revealing, .gallery-stage > img.is-revealing { animation: finish-image-reveal .42s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes finish-image-reveal { from { opacity: 0; transform: scale(1.025); filter: blur(1.5px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }

/* Keep the finish controls clickable in the embedded preview when its comment layer is present. */
#codex-browser-sidebar-comments-root { display: none !important; pointer-events: none !important; }

.close-button { z-index: 2; cursor: pointer; pointer-events: auto; touch-action: manipulation; }

/* Referral rewards dashboard. */
.referral-page { padding-top: clamp(55px, 8vw, 100px); }
.referral-hero { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 35px; }
.referral-hero h1 { max-width: 760px; margin: 0 0 18px; color: var(--navy); font-family: var(--display); font-size: clamp(48px, 8vw, 100px); line-height: .9; letter-spacing: -.065em; }
.referral-lead { max-width: 650px; margin: 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.4; }
.referral-demo-note { width: min(280px, 100%); display: grid; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--butter); color: var(--navy); }
.referral-demo-note strong { font-size: 13px; text-transform: uppercase; letter-spacing: .09em; }
.referral-demo-note span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.referral-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.referral-stat { display: grid; gap: 8px; min-height: 150px; padding: 23px; border-radius: 18px; background: white; box-shadow: inset 0 0 0 1px var(--line); }
.referral-stat span { color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.referral-stat strong { color: var(--navy); font-family: var(--display); font-size: clamp(38px, 5vw, 60px); line-height: .9; }
.referral-stat small { color: var(--muted); font-size: 12px; }
.referral-board { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; margin-bottom: 18px; }
.referral-panel { padding: clamp(24px, 4vw, 38px); border-radius: 20px; background: white; box-shadow: inset 0 0 0 1px var(--line); }
.referral-panel h2 { margin-bottom: 12px; color: var(--navy); font-size: clamp(30px, 4vw, 48px); }
.referral-panel p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }
.referral-field-label { display: block; margin: 22px 0 7px; color: var(--navy); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.referral-link-row { display: flex; gap: 8px; }
.referral-link-row input { min-width: 0; flex: 1; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--ink); font: inherit; font-size: 12px; }
.referral-link-row .button { min-height: 42px; padding: 0 16px; border-radius: 8px; }
.referral-code { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-top: 14px; padding: 13px 15px; border-radius: 10px; background: var(--lilac); }
.referral-code span { color: var(--muted); font-size: 12px; }
.referral-code strong { color: var(--navy); letter-spacing: .1em; }
.referral-action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.referral-action-row .button { border-radius: 8px; }
.referral-action-note { min-height: 18px; margin: 12px 0 0 !important; font-size: 12px; }
.referral-steps { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.referral-steps li { display: grid; grid-template-columns: 31px 1fr; gap: 12px; align-items: start; }
.referral-steps li > b { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-size: 12px; }
.referral-steps span { display: grid; gap: 3px; }
.referral-steps strong { color: var(--ink); font-size: 14px; }
.referral-steps small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.referral-codes, .referral-activity { margin-bottom: 18px; }
.referral-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.referral-panel-heading h2 { margin-bottom: 0; }
.referral-count { color: var(--muted); font-size: 12px; }
.referral-code-list { display: grid; gap: 9px; }
.referral-code-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.referral-code-row > div { display: grid; gap: 4px; }
.referral-code-row strong { color: var(--navy); letter-spacing: .08em; }
.referral-code-row small { color: var(--muted); font-size: 12px; }
.referral-code-row .button { min-height: 34px; padding: 0 13px; border-radius: 7px; font-size: 11px; }
.referral-empty-copy { margin: 0 !important; padding: 18px; border-radius: 10px; background: var(--cream); font-size: 13px; }
.referral-activity ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.referral-activity li { display: flex; justify-content: space-between; gap: 15px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.referral-activity li:first-child { padding-top: 0; }
.referral-activity li:last-child { padding-bottom: 0; border-bottom: 0; }
.referral-activity li span { display: grid; gap: 4px; }
.referral-activity li strong { font-size: 14px; }
.referral-activity li small { color: var(--muted); font-size: 12px; }
.referral-activity li b { align-self: center; color: var(--navy); font-size: 12px; letter-spacing: .06em; }
.referral-empty { min-height: 43px; }
@media (max-width: 760px) {
  .referral-hero, .referral-board { grid-template-columns: 1fr; display: grid; }
  .referral-demo-note { width: auto; }
  .referral-stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .referral-link-row, .referral-code-row { align-items: stretch; flex-direction: column; }
  .referral-link-row input { min-height: 42px; }
  .referral-link-row .button, .referral-code-row .button { width: 100%; }
  .referral-panel-heading { align-items: start; flex-direction: column; }
}
.referral-locked { min-height: 560px; display: grid; place-items: center; }
.referral-locked-card { width: min(760px, 100%); padding: clamp(30px, 7vw, 78px); border-radius: 24px; background: var(--butter); text-align: center; }
.referral-locked-card h1 { margin: 0 auto 18px; color: var(--navy); font-family: var(--display); font-size: clamp(45px, 7vw, 84px); line-height: .92; letter-spacing: -.06em; }
.referral-locked-card .referral-lead { margin: 0 auto; }
.referral-locked-card .referral-action-row { justify-content: center; }
.referral-locked-card .referral-action-note { color: var(--muted); }
.referral-coupon-form { margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); }
.referral-coupon-form label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.referral-coupon-row { display: flex; gap: 8px; }
.referral-coupon-row input { min-width: 0; flex: 1; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font: inherit; font-size: 12px; text-transform: uppercase; }
.referral-coupon-row .button { min-height: 39px; padding: 0 15px; border-radius: 7px; font-size: 12px; }
.referral-coupon-form .checkout-note { margin: 9px 0 0; }
.referral-coupon-form .checkout-note.is-success { color: #216b36; font-weight: 700; }
.referral-coupon-form .checkout-note.is-error { color: var(--coral); font-weight: 700; }
@media (max-width: 520px) { .referral-coupon-row { flex-direction: column; }.referral-coupon-row input { min-height: 39px; } }
.cart-reminder-form { margin: 0 0 18px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--butter); }.cart-reminder-form .check-label { margin-bottom: 12px; color: var(--navy); font-size: 12px; line-height: 1.35; }.cart-reminder-email { width: 100%; min-height: 39px; margin-bottom: 9px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font-size: 13px; }.cart-reminder-form .button { min-height: 39px; border-radius: 7px; font-size: 12px; }.cart-reminder-form .checkout-note { margin: 9px 0 0; }
.product-specs { max-width: 520px; margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }.product-specs h3 { margin-bottom: 12px; color: var(--navy); font-size: 16px; }.product-specs dl { margin: 0; }.product-specs dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 7px 0; font-size: 14px; }.product-specs dt { color: var(--muted); }.product-specs dd { margin: 0; color: var(--ink); font-weight: 700; text-align: right; }
.language-switching *, .language-switching *::before, .language-switching *::after { transition: none !important; animation: none !important; }
@media (max-width: 560px) { .language-button { width: 66px; padding: 0 5px; font-size: 10px; } }
.referral-status { margin-top: 20px; padding: 14px 16px; border-radius: 10px; background: var(--cream); color: var(--muted); font-size: 13px; line-height: 1.45; }
.referral-status.is-ready { background: #e8f3e7; color: #216b36; font-weight: 700; }
.referral-action-row .button:disabled, .card-actions .button:disabled, .product-info .button:disabled { cursor: not-allowed; opacity: .52; background: var(--muted); border-color: var(--muted); }
.out-of-stock-panel { display: grid; gap: 4px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--muted); }
.out-of-stock-panel strong { color: var(--navy); font-size: 15px; }

/* Arabic readability: use a clear system Arabic face without changing the layout direction. */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .brand,
html[lang="ar"] .category-strip a,
html[lang="ar"] .colour-card strong,
html[lang="ar"] .recipe-card h3,
html[lang="ar"] .product-card-info h3,
html[lang="ar"] .product-info h1,
html[lang="ar"] .referral-hero h1,
html[lang="ar"] .referral-panel h2,
html[lang="ar"] .referral-locked-card h1 {
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.2;
}
html[lang="ar"] .announcement { font-size: 11px; line-height: 1.65; letter-spacing: .04em; }
html[lang="ar"] .main-nav { font-size: 14px; line-height: 1.5; }
html[lang="ar"] .language-button { font-size: 12px; }
html[lang="ar"] .product-card-info h3 { font-size: 19px; line-height: 1.35; }
html[lang="ar"] .product-card-info p { font-size: 14px; line-height: 1.65; }
html[lang="ar"] .card-finish-title { font-size: 11px; letter-spacing: 0; }
html[lang="ar"] .card-finish-option { font-size: 12px; line-height: 1.5; }
html[lang="ar"] .card-actions .button { font-size: 13px; }
html[lang="ar"] .product-info h1 { line-height: 1.18; }
html[lang="ar"] .product-info > p { font-size: 19px; line-height: 1.85; }
html[lang="ar"] .pieces,
html[lang="ar"] .product-specs { font-size: 15px; line-height: 1.85; }
html[lang="ar"] .product-specs dl > div { font-size: 15px; line-height: 1.7; }
html[lang="ar"] .finish-label,
html[lang="ar"] .finish-option { font-size: 13px; line-height: 1.55; }
html[lang="ar"] .cart-reward-message,
html[lang="ar"] .cart-progress-labels,
html[lang="ar"] .checkout-note,
html[lang="ar"] .cart-reminder-form,
html[lang="ar"] .referral-coupon-form { line-height: 1.75; }
html[lang="ar"] .site-footer { line-height: 1.75; }
@media (max-width: 560px) {
  html[lang="ar"] .product-card-info h3 { font-size: 18px; }
  html[lang="ar"] .product-info > p { font-size: 17px; }
  html[lang="ar"] .button { min-height: 42px; }
}
html[lang="ar"] .account-modal .eyebrow { font-size: 12px; line-height: 1.6; letter-spacing: 0; }
html[lang="ar"] .account-modal .auth-form label { font-size: 14px; line-height: 1.6; letter-spacing: 0; }
html[lang="ar"] .account-modal .auth-row,
html[lang="ar"] .account-modal .account-switch,
html[lang="ar"] .account-modal .account-divider,
html[lang="ar"] .account-modal .google-placeholder { font-size: 14px; line-height: 1.7; }
html[lang="ar"] .cart-reminder-form .check-label { font-size: 14px; line-height: 1.7; }
html[lang="ar"] .cart-reminder-form .checkout-note { font-size: 13px; line-height: 1.7; }

/* Arabic copy reads right-to-left without reversing the page grid or moving controls. */
html[lang="ar"] .announcement,
html[lang="ar"] .main-nav a,
html[lang="ar"] .hero-content h1,
html[lang="ar"] .hero-content .eyebrow,
html[lang="ar"] .hero-content > p:not(.eyebrow),
html[lang="ar"] .section-heading h2,
html[lang="ar"] .section-heading > p,
html[lang="ar"] .product-card-info h3,
html[lang="ar"] .product-card-info p,
html[lang="ar"] .card-finish-title,
html[lang="ar"] .card-finish-option,
html[lang="ar"] .product-info h1,
html[lang="ar"] .product-info > p,
html[lang="ar"] .pieces,
html[lang="ar"] .product-specs h3,
html[lang="ar"] .product-specs dt,
html[lang="ar"] .product-specs dd,
html[lang="ar"] .finish-label,
html[lang="ar"] .finish-option,
html[lang="ar"] .promo-notice h2,
html[lang="ar"] .promo-notice p,
html[lang="ar"] .referral-invite-notice h2,
html[lang="ar"] .referral-invite-notice p,
html[lang="ar"] .referral-invite-notice small,
html[lang="ar"] .feature-copy h2,
html[lang="ar"] .feature-copy p,
html[lang="ar"] .colour-card strong,
html[lang="ar"] .colour-card span,
html[lang="ar"] .story-card h3,
html[lang="ar"] .story-card p,
html[lang="ar"] .recipe-card h3,
html[lang="ar"] .recipe-card p,
html[lang="ar"] .newsletter h2,
html[lang="ar"] .newsletter p,
html[lang="ar"] .footer-brand strong,
html[lang="ar"] .footer-brand p,
html[lang="ar"] .footer-top h3,
html[lang="ar"] .footer-top a,
html[lang="ar"] .simple-page h1,
html[lang="ar"] .simple-page p,
html[lang="ar"] .account-modal h2,
html[lang="ar"] .account-modal .eyebrow,
html[lang="ar"] .account-modal .account-lead,
html[lang="ar"] .account-modal .auth-form label,
html[lang="ar"] .account-modal .auth-row,
html[lang="ar"] .account-modal .account-switch,
html[lang="ar"] .bag-item strong,
html[lang="ar"] .bag-item small,
html[lang="ar"] .cart-reward-message,
html[lang="ar"] .checkout-note,
html[lang="ar"] .referral-coupon-form label,
html[lang="ar"] .referral-panel h2,
html[lang="ar"] .referral-panel p,
html[lang="ar"] .referral-field-label,
html[lang="ar"] .referral-code span,
html[lang="ar"] .referral-steps strong,
html[lang="ar"] .referral-steps small,
html[lang="ar"] .assistant-head,
html[lang="ar"] .assistant-messages,
html[lang="ar"] .assistant-message,
html[lang="ar"] .assistant-suggestions,
html[lang="ar"] .assistant-form,
html[lang="ar"] .assistant-disclosure {
  direction: rtl;
  text-align: right;
}

/* Keep the controls above the banner in the same place while Arabic copy reads from the right. */
html[lang="ar"] .site-header,
html[lang="ar"] .announcement,
html[lang="ar"] .main-nav,
html[lang="ar"] .header-actions,
html[lang="ar"] .brand {
  direction: ltr;
}
html[lang="ar"] .hero-content {
  left: auto;
  right: 7vw;
  direction: rtl;
  text-align: right;
}
html[lang="ar"] .hero-content h1,
html[lang="ar"] .hero-content .eyebrow,
html[lang="ar"] .hero-content > p:not(.eyebrow) {
  direction: rtl;
  text-align: right;
}

/* Customer help assistant: fixed so it never shifts the page or the shopping bag. */
.assistant-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 14px 30px rgba(32,35,67,.2);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.assistant-launcher:hover { background: var(--navy); }
.assistant-launcher-icon { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--cream); }
.assistant-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  background: rgba(20,24,54,.28);
}
.assistant-panel {
  width: min(420px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid rgba(45,55,125,.16);
  border-radius: 24px;
  background: var(--cream);
  box-shadow: 0 24px 80px rgba(20,24,54,.28);
}
.assistant-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 16px; border-bottom: 1px solid rgba(45,55,125,.14); }
.assistant-head h2 { margin: 2px 0 0; font-size: clamp(25px, 4vw, 34px); line-height: 1.05; }
.assistant-messages { min-height: 0; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.assistant-message { max-width: 88%; margin: 0 0 12px; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.55; }
.assistant-message-bot { margin-right: auto; background: #edf7ee; color: var(--ink); border: 1px solid #c3dfc6; }
.assistant-message-user { margin-left: auto; background: var(--navy); color: #fff; }
.assistant-suggestions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.assistant-suggestions button { min-height: 36px; padding: 7px 12px; border: 1px solid rgba(55,72,176,.32); border-radius: 999px; background: transparent; color: var(--navy); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.assistant-suggestions button:hover { background: rgba(55,72,176,.08); }
.assistant-form { display: flex; gap: 10px; padding: 16px 20px 20px; border-top: 1px solid rgba(45,55,125,.14); }
.assistant-form input { min-width: 0; flex: 1; min-height: 48px; padding: 0 14px; border: 1px solid rgba(45,55,125,.24); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.assistant-form input:focus { outline: 3px solid rgba(55,72,176,.18); border-color: var(--navy); }
.assistant-form .button { min-height: 48px; padding-inline: 18px; }
.assistant-disclosure { margin: -8px 20px 16px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 560px) {
  html[lang="ar"] .hero-content { left: auto; right: 5vw; }
  .assistant-launcher { right: 14px; bottom: 14px; }
  .assistant-backdrop { align-items: stretch; padding: 0; }
  .assistant-panel { width: 100%; max-height: 100vh; border-radius: 0; }
  .assistant-head { padding-top: max(20px, env(safe-area-inset-top)); }
  .assistant-form { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
html[lang="ar"] .auth-form input,
html[lang="ar"] .site-search,
html[lang="ar"] .referral-link-row input,
html[lang="ar"] #referral-coupon {
  direction: rtl;
  text-align: right;
}
html[lang="ar"] .button,
html[lang="ar"] button,
html[lang="ar"] .language-button,
html[lang="ar"] .price,
html[lang="ar"] .cart-progress-labels,
html[lang="ar"] .bag-total-line,
html[lang="ar"] .footer-bottom {
  direction: ltr;
}

/* Keep footer copy readable against the navy background. */
.site-footer .footer-brand p,
.site-footer .footer-top a,
.site-footer .footer-bottom,
.site-footer .footer-bottom a {
  color: #fff;
}
