/*
 * Arlaan live-store adapters.
 *
 * Visual design belongs to design-theme.css and design-store.css, which are
 * exact copies of the supplied html_template stylesheets. This file only
 * bridges server-rendered CMS/commerce controls to those original components.
 */

[hidden],
.is-hidden { display: none !important; }

/* Live notifications and request state */
[data-toast-region].toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 1000;
  width: min(420px, calc(100% - 28px));
  padding: 0;
  background: transparent;
  transform: translateX(-50%);
  pointer-events: none;
}
.site-toast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 8px;
  padding: 15px 18px;
  border-radius: 5px;
  background: var(--plum);
  color: #fff;
  box-shadow: 0 18px 45px #24172245;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .22s, transform .22s;
  pointer-events: auto;
}
.site-toast.is-visible { opacity: 1; transform: none; }
.site-toast.is-error { background: #8f2941; }
.site-toast button { border: 0; background: none; color: inherit; font-size: 22px; }
.button-spinner { width: 15px; height: 15px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: arlaan-spin .7s linear infinite; }
@keyframes arlaan-spin { to { transform: rotate(360deg); } }
.field-error { display: block; margin-top: 7px; color: #9d2741; font-size: 13px; }
.is-invalid { border-color: #9d2741 !important; }
.btn-block { width: 100%; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; grid-column: 1 / -1; }
.field > label { display: block; margin-bottom: 8px; font-weight: 500; }
.field > label span { color: var(--muted); font-weight: 400; }
.email-row { display: flex; gap: 8px; }
.email-row input { flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid #bdb5b8; background: #fff; }
.email-row button { border: 1px solid var(--plum); background: var(--plum); color: #fff; padding: 12px 18px; }

/* Header mega menu uses live routes but retains the supplied shell. */
.mega h3 a { padding: 0; color: inherit; }
.mega a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; }
.mega a:hover { color: var(--plum); text-decoration: underline; }
.product-card-link { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--plum); }
.merchandising-budget { margin: 24px 0 38px; }
.merchandising-reassurance { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 18px 0; font-size: 13px; color: var(--muted); }
.merchandising-reassurance a { text-decoration: underline; text-underline-offset: 3px; }
.department-shortcuts { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 48px; }
.department-shortcuts a { border: 1px solid var(--line); border-radius: 30px; padding: 10px 16px; font-size: 14px; }
.collection-directory-card > img { width: 100%; height: 240px; object-fit: cover; border-radius: 4px; }
.hero-controls a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #ffffff70; border-radius: 50%; background: #ffffff1a; color: #fff; }

/* The source prototype used JavaScript-only buttons for offer thumbnails.
 * Live product URLs retain the same treatment while remaining crawlable. */
.campaign-products a {
  flex: 1;
  min-width: 0;
  padding: 0 0 10px;
  overflow: hidden;
  border: 0;
  border-radius: 60px 60px 5px 5px;
  background: #ffffffc4;
  color: var(--plum);
  text-align: center;
  transition: transform .2s;
}
.campaign-products a:hover { transform: translateY(-7px); }

/* Live product cards */
.product-media > a { display: block; width: 100%; height: 100%; }
.product-media form { position: absolute; top: 10px; right: 10px; z-index: 2; }
.product-media .save { position: static; }
.product-info { position: relative; }
.product-info > form { float: right; margin-top: -31px; }
.stock-badge { position: absolute; left: 10px; bottom: 10px; padding: 5px 8px; background: var(--plum); color: #fff; font-size: 12px; }
.wishlist-button.is-wishlisted { color: #a44a68; }
.budget a { padding: 25px; background: var(--cream); }
.budget a:nth-child(even) { background: #eadde5; }
.budget strong { display: block; margin: 10px 0; font: 500 35px Newsreader; }
.budget span { font-size: 14px; }

/* Catalogue filters */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
body.no-scroll { overflow: hidden; }
.listing-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: start; gap: 32px; margin-bottom: 60px; }
.listing-products { min-width: 0; }
.listing-products > .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.catalogue-filters { display: block; min-width: 0; }
.filter-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filter-drawer-head h2 { margin: 0; font: 500 25px/1.2 Newsreader, serif; }
.filter-drawer-head > button { display: none; }
.catalogue-filters details { padding: 17px 0; border-bottom: 1px solid var(--line); }
.catalogue-filters summary { margin-bottom: 14px; cursor: pointer; font-size: 13px; font-weight: 600; }
.catalogue-filters input:not([type="hidden"]):not([type="checkbox"]),
.catalogue-filters select { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 13px; }
.filter-label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 11px; }
.catalogue-filters .filter-links { display: grid; max-height: 280px; overflow: auto; gap: 4px; margin-top: 12px; }
.catalogue-filters .filter-links a { display: block; padding: 7px 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.catalogue-filters .filter-links a:hover { color: var(--plum); text-decoration: underline; }
.filter-price-range { display: grid; grid-template-columns: minmax(0, 1fr) 10px minmax(0, 1fr); align-items: end; gap: 7px; }
.filter-price-range label { min-width: 0; font-size: 11px; color: var(--muted); }
.filter-price-range label input { margin-top: 7px; }
.filter-price-range > span { padding-bottom: 11px; color: var(--muted); }
.filter-check { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.filter-form-actions { display: grid; gap: 14px; padding-top: 20px; text-align: center; font-size: 12px; }
.filter-form-actions .filter-submit { margin: 0; }
.listing-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.catalogue-result-count { color: var(--muted); font-size: 13px; }
.catalogue-sort { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; }
.catalogue-sort select { max-width: 180px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font-size: 12px; }
.active-filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.active-filter-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 24px; font-size: 11px; }
.active-filter-chips .filter-clear-link { border-color: transparent; text-decoration: underline; }
.catalogue-filter-trigger,
.shop-filter-backdrop { display: none; }
.catalogue-card { display: flex; flex-direction: column; min-width: 0; }
.catalogue-card .product-media { position: relative; height: auto; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #fff; }
.catalogue-card .product-media > a { display: block; width: 100%; height: 100%; }
.catalogue-card .product-media img { width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.catalogue-card .product-media form { top: 10px; right: 10px; margin: 0; }
.catalogue-card .wishlist-button { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #e6e1db; border-radius: 50%; background: #fffffff2; font-size: 23px; }
.catalogue-card .product-info { display: flex; flex: 1; flex-direction: column; gap: 9px; padding: 14px 2px 0; }
.product-card-meta { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.product-card-meta > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.catalogue-card .product-info h3 { margin: 0; min-height: 2.8em; font: 500 15px/1.4 'DM Sans', sans-serif; }
.catalogue-card .product-info h3 a { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-card-price { min-height: 30px; margin-top: auto; }
.product-card-price strong { display: flex; align-items: baseline; gap: 6px; font-size: 20px; font-weight: 600; line-height: 1.35; }
.product-card-price .price-prefix { font-size: 11px; font-weight: 400; color: var(--muted); }
.product-card-action { margin-top: 2px; }
.product-card-action form { float: none; margin: 0; }
.product-card-action .product-card-link,
.product-card-add { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 40px; margin: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--plum); font: 500 12px/1.4 'DM Sans', sans-serif; }
.product-card-action .product-card-link:hover,
.product-card-add:hover { border-color: var(--plum); background: var(--cream); }
.product-card-add:disabled { opacity: .55; cursor: not-allowed; }
.product-gallery-thumb { flex: 0 0 68px; width: 68px; height: 68px; padding: 4px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.product-gallery-thumb img,
.product-gallery-thumb video { width: 100%; height: 100%; object-fit: contain; }
.product-gallery-thumb.is-active { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); }
.product-thumbnails { display: flex; gap: 8px; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; padding: 3px 1px 9px; }
.gallery-meta { margin: 8px 0 0; color: var(--muted); font-size: 12px; }
.product-choice[aria-disabled="true"] { opacity: .4; cursor: not-allowed; }
.product-choice[aria-disabled="true"] > span { text-decoration: line-through; }
.product-choice small:empty { display: none; }
.filters form > input,
.filters form > select { width: 100%; padding: 10px; border: 1px solid var(--line); background: #fff; }
.filters .filter-submit { width: 100%; min-height: 42px; margin: 15px 0 8px; }
.collection-directory-card { display: block; }
.collection-directory-art { height: 240px; border-radius: 4px; background: linear-gradient(145deg, var(--sage), #eadde5); }

/* Product page: original PDP composition with live variant controls. */
.gallery-main { position: relative; height: clamp(320px, 44vw, 600px); min-height: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.gallery-main > [data-product-main-media] { display: grid; place-items: center; width: 100%; height: 100%; padding: 18px; border: 0; background: transparent; cursor: zoom-in; touch-action: pan-y; }
.gallery-main img,
.gallery-main video { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-main > .gallery-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fffffff2; color: var(--plum); transform: translateY(-50%); }
.gallery-arrow--previous { left: 10px; }
.gallery-arrow--next { right: 10px; }
.gallery-tools { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin: 10px 0; color: var(--muted); font-size: 12px; }
.gallery-tools > button { border: 0; padding: 8px 0; background: none; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; font-size: 12px; }
.product-stock { display: flex; align-items: center; gap: 7px; margin: -8px 0 18px; color: var(--muted); font-size: 13px; }
.product-stock::before { width: 8px; height: 8px; border-radius: 50%; background: #70855f; content: ""; }
.product-stock.is-sold-out::before { background: #9d2741; }
.product-buy-form { margin-top: 20px; }
.product-option { margin: 0 0 18px; padding: 0; border: 0; }
.product-option legend { margin-bottom: 9px; font-size: 14px; font-weight: 600; }
.product-choice-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.product-choice { display: flex; gap: 10px; border: 1px solid var(--line); padding: 11px 16px; background: #fff; font-size: 14px; }
.product-choice.is-selected { border-color: var(--plum); box-shadow: inset 0 0 0 1px var(--plum); background: #f1e9ef; }
.product-choice small { color: var(--muted); }
.product-spec-list { margin: 12px 0 0; }
.product-spec-list > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 15px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.product-spec-list dt { color: var(--muted); }
.product-spec-list dd { margin: 0; }
.product-support-actions { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.product-support-actions > form .btn { background: transparent; color: var(--plum); }
.delivery-quote { width: 100%; margin-top: 8px; padding: 18px 20px; background: #edf0e7; }
.delivery-quote summary { cursor: pointer; font-weight: 600; }
.delivery-quote form { margin-top: 16px; }
.delivery-quote__result { margin-bottom: 0; font-size: 14px; }
.delivery-box form { flex-wrap: wrap; }
.delivery-box select { padding: 10px; border: 1px solid #babfab; border-radius: 3px; background: #fff; }
.delivery-box [data-product-delivery-result] { flex-basis: 100%; margin: 0; }
.variant-update-status { min-height: 20px; color: var(--muted); font-size: 13px; }
.product-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.product-pills span { padding: 7px 10px; border-radius: 20px; background: var(--sage); font-size: 12px; }
.product-editorial { margin-top: 65px; }
.product-text-section,
.product-faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 55px 0; border-top: 1px solid var(--line); }
.product-text-section h2,
.product-faq h2 { margin: 0; font: 500 40px/1.05 Newsreader; }
.product-text-section p,
.product-faq p { line-height: 1.8; color: var(--muted); }
.product-faq-list details { padding: 18px 0; border-top: 1px solid var(--line); }
.product-faq-list summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 600; }
.product-media-modal { position: fixed; inset: 0; z-index: 1000; display: none; grid-template-columns: 60px 1fr 60px; align-items: center; padding: 22px; background: #201520f5; color: #fff; }
.product-media-modal.is-open { display: grid; }
.product-media-modal__stage { height: calc(100dvh - 44px); min-width: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; gap: 12px; }
.product-media-modal__stage > img,
.product-media-modal__stage > video { grid-row: 1; grid-column: 1; width: 100%; height: 100%; min-height: 0; max-width: 100%; max-height: 100%; object-fit: contain; }
.product-media-modal__stage > div { display: flex; justify-content: space-between; gap: 18px; width: 100%; font-size: 12px; line-height: 1.5; }
.product-media-modal__close { position: absolute; top: 18px; right: 18px; }
.product-media-modal button { width: 44px; height: 44px; border: 1px solid #ffffff70; border-radius: 50%; background: #ffffff1a; color: #fff; }

/* CMS content keeps the supplied page typography. */
.arlaan-cms-page { width: min(1440px, calc(100% - 64px)); margin: auto; }
.page-copy { max-width: 900px; padding: 50px 0 80px; }
.page-copy > h1 { margin: 10px 0 20px; font: 500 clamp(42px, 5vw, 68px)/1 Newsreader; letter-spacing: -1.5px; }
.page-copy > h2 { margin: 36px 0 12px; font: 500 33px Newsreader; }
.page-copy > p,
.page-copy > li { line-height: 1.85; color: var(--muted); }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 28px; }
.support-grid a { padding: 24px; border: 1px solid var(--line); background: #fff; }
.support-grid strong { display: block; margin-bottom: 8px; font: 500 28px Newsreader; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; max-width: 760px; margin-top: 28px; padding: 32px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.contact-form > label { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5; }
.contact-form > label:has(textarea) { grid-column: 1 / -1; }
.contact-form input:not([type="hidden"]), .contact-form select, .contact-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #d9d0c6; border-radius: 5px; background: #fffcf7; color: var(--ink); font: 400 14px/1.5 'DM Sans', sans-serif; }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form select { padding-right: 36px; }
.contact-form input:focus-visible, .contact-form select:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; border-color: var(--plum); }
.contact-form input.is-invalid, .contact-form select.is-invalid, .contact-form textarea.is-invalid { border-color: #9d2741; }
.contact-form > .btn { grid-column: 1 / -1; justify-self: start; min-width: 180px; min-height: 50px; margin: 2px 0 0; padding: 14px 24px; border-radius: 5px; font-size: 14px; font-weight: 600; }
.contact-page { max-width: 1200px; }
.contact-page-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, .8fr); align-items: start; gap: 48px; padding: 12px 0 72px; }
.contact-form-column { min-width: 0; }
.contact-form-column .page-copy { max-width: none; padding: 0; }
.contact-form-column .page-copy > h1 { margin: 12px 0 0; color: var(--ink); line-height: 1.08; }
.contact-privacy { margin: 18px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.contact-privacy a { text-decoration: underline; text-underline-offset: 4px; }
.contact-help { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px 42px 12px 12px; background: var(--cream); }
.contact-help-heading { padding: 30px 26px; background: var(--plum); color: #fff; }
.contact-help-heading .eyebrow { color: #e6d8e1; font-size: 10px; }
.contact-help-heading h2 { margin: 14px 0 12px; font: 500 36px/1.1 Newsreader, serif; }
.contact-help-heading p { margin: 0; font-size: 13px; line-height: 1.7; color: #eee5eb; }
.contact-help-link { display: flex; align-items: center; gap: 13px; min-height: 92px; padding: 20px; border-bottom: 1px solid var(--line); }
.contact-help-link:last-child { border-bottom: 0; }
.contact-help-link:hover { background: #ebe3e6; }
.contact-help-link:focus-visible { outline: 2px solid var(--plum); outline-offset: -4px; }
.contact-help-icon { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: #fffcf7; color: var(--plum); }
.contact-help-icon svg { display: block; width: 22px; height: 22px; }
.contact-help-link > span:nth-child(2) { min-width: 0; }
.contact-help-link strong { display: block; font-size: 13px; font-weight: 600; line-height: 1.5; }
.contact-help-link small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.contact-help-arrow { flex-shrink: 0; margin-left: auto; color: var(--plum); }
@media (max-width: 1000px) {
  .contact-page-layout { gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .8fr); }
  .contact-form { padding: 24px; column-gap: 16px; }
}
@media (max-width: 800px) {
  .contact-page-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 44px; }
  .contact-help nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-help-link:nth-child(odd) { border-right: 1px solid var(--line); }
  .contact-help-link:nth-last-child(-n + 2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .contact-page-layout { padding-top: 4px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; padding: 22px 18px; }
  .contact-form > label:has(textarea), .contact-form > .btn { grid-column: auto; }
  .contact-form input:not([type="hidden"]), .contact-form select, .contact-form textarea { font-size: 16px; }
  .contact-form > .btn { justify-self: stretch; width: 100%; }
  .contact-help-heading { padding: 26px 22px; }
  .contact-help nav { grid-template-columns: minmax(0, 1fr); }
  .contact-help-link { padding: 18px 20px; min-height: 84px; }
  .contact-help-link:nth-child(odd) { border-right: 0; }
  .contact-help-link:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* Room discovery and the shop landing reuse the existing editorial palette and catalogue. */
.nav-room-link { color: var(--plum); font-weight: 600; }
.room-inline-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; color: var(--plum); text-decoration: underline; text-underline-offset: 5px; }
.shop-editorial-hero { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin: 10px 0 36px; border-radius: 8px 64px 8px 8px; background: #eee8ed; }
.shop-editorial-copy { padding: 38px 44px; align-self: center; }
.shop-editorial-copy .eyebrow { color: var(--plum); font-size: 10px; }
.shop-editorial-copy h1 { margin: 16px 0; font: 500 clamp(38px, 4.2vw, 64px)/1 Newsreader, serif; letter-spacing: -1.4px; }
.shop-editorial-copy h1 em { color: var(--plum); font-weight: 400; }
.shop-editorial-copy p { max-width: 410px; margin: 0 0 22px; color: #5e565a; font-size: 14px; line-height: 1.75; }
.shop-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.shop-editorial-image { position: relative; min-height: 310px; }
.shop-editorial-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop-editorial-image > span { position: absolute; right: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 8px 12px; border-radius: 3px; background: #fffcf7e8; font-size: 10px; color: var(--plum); }
.shop-room-discovery { margin: 0 0 28px; }
.shop-room-discovery .section-heading { margin-bottom: 20px; gap: 16px; }
.shop-room-discovery .section-heading h2, .room-category-section h2 { font-size: 32px; }
.room-tile-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.room-tile { display: block; min-width: 0; }
.room-tile-image { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 6px 28px 6px 6px; background: var(--cream); }
.room-tile-image img { transition: transform .3s ease; }
.room-tile:hover img { transform: scale(1.035); }
.room-tile > span:last-child { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; font-size: 13px; font-weight: 500; }
.room-tile > span:last-child > span { color: var(--plum); }
.shop-budget-shortcuts { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin: 28px 0 40px; padding: 20px 24px; border-radius: 6px; background: #e8ecdf; color: var(--plum); }
.shop-budget-shortcuts > span { font: 500 23px Newsreader, serif; }
.shop-budget-shortcuts a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #aab49b; border-radius: 30px; font-size: 13px; font-weight: 500; }
.shop-budget-shortcuts a:hover { background: #d8e0cd; }
.shop-results-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 22px; }
.shop-results-heading h2 { margin: 8px 0 0; font: 500 38px/1.1 Newsreader, serif; letter-spacing: -.7px; }
.shop-compact-heading .room-inline-link { margin-top: 4px; }
.home-room-section { background: #eee8ed; }
.home-room-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.home-room-grid .room-tile-image { aspect-ratio: 5 / 4; }
.home-room-grid .room-tile > span:last-child { font-size: 16px; }
.rooms-page { padding-bottom: 60px; }
.rooms-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 20px 0 44px; }
.rooms-intro .eyebrow { color: var(--plum); font-size: 11px; }
.rooms-intro h1 { margin: 20px 0 16px; font: 500 clamp(46px, 6vw, 82px)/.98 Newsreader, serif; letter-spacing: -2px; }
.rooms-intro p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.room-jump-links { display: flex; flex-direction: column; min-width: 230px; padding: 12px 24px; background: var(--cream); border-radius: 5px 28px 5px 5px; }
.room-jump-links a { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--plum); }
.room-jump-links a:last-child { border-bottom: 0; }
.room-directory-section { padding: 30px 0 44px; border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.room-directory-section .section-heading { gap: 24px; margin-bottom: 26px; }
.room-directory-section .section-heading p { max-width: 280px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.room-directory-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 24px; }
.room-card { grid-column: span 2; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px 42px 8px 8px; background: #fff; }
.room-card:nth-child(-n + 2) { grid-column: span 3; }
.room-card-image { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream); }
.room-card:nth-child(-n + 2) .room-card-image { aspect-ratio: 16 / 10; }
.room-card-image img { transition: transform .4s ease; }
.room-card-image:hover img { transform: scale(1.035); }
.room-card-arrow { position: absolute; bottom: 18px; right: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fffcf7; color: var(--plum); font-size: 21px; }
.room-card-copy { padding: 24px; }
.room-card-copy .eyebrow { font-size: 9px; color: var(--muted); }
.room-card h3 { margin: 10px 0 14px; font: 500 34px/1 Newsreader, serif; }
.room-card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.room-card-links a { display: inline-block; min-height: 36px; padding: 9px 12px; border-radius: 20px; background: var(--cream); color: #5d5559; font-size: 11px; }
.room-card-links a:hover { background: #e8dde7; }
.room-card-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--plum); font-size: 13px; font-weight: 600; }
.room-budget-banner { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 12px; padding: 36px; border-radius: 6px 42px 6px 6px; background: #e6eadc; }
.room-budget-banner h2 { margin: 14px 0 12px; font: 500 38px/1.1 Newsreader, serif; }
.room-budget-banner p { max-width: 490px; margin: 0; font-size: 14px; line-height: 1.7; color: #5d6555; }
.room-budget-banner .btn { flex-shrink: 0; }
.room-category-section { margin: 28px 0 36px; }
.room-category-section .section-heading { margin-bottom: 16px; }
.room-category-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.room-category-pills a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 24px; background: #fff; font-size: 13px; }
.room-category-pills a[aria-current] { background: var(--plum); color: #fff; border-color: var(--plum); }
@media (max-width: 1100px) {
  .shop-editorial-copy { padding: 30px; }
  .room-tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .home-room-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shop-budget-shortcuts { justify-content: flex-start; }
  .shop-budget-shortcuts > span { width: 100%; }
  .room-directory-grid { gap: 20px; }
  .room-card-copy { padding: 20px; }
  .room-card h3 { font-size: 30px; }
}
@media (max-width: 700px) {
  .shop-editorial-hero { grid-template-columns: minmax(0, 1fr); margin: 4px 0 30px; border-radius: 6px 36px 6px 6px; }
  .shop-editorial-copy { padding: 28px 24px; }
  .shop-editorial-copy h1 { font-size: 44px; }
  .shop-editorial-copy p { font-size: 13px; }
  .shop-editorial-image { min-height: 190px; }
  .shop-room-discovery .section-heading, .home-room-section .section-heading, .room-category-section .section-heading { flex-wrap: wrap; gap: 6px; }
  .shop-room-discovery .section-heading h2, .room-category-section h2 { font-size: 30px; }
  .room-tile-grid, .home-room-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .room-tile > span:last-child, .home-room-grid .room-tile > span:last-child { font-size: 13px; padding-top: 10px; }
  .shop-budget-shortcuts { padding: 18px; margin-bottom: 30px; gap: 8px; }
  .shop-budget-shortcuts > span { margin-bottom: 6px; font-size: 22px; }
  .shop-budget-shortcuts a { padding: 8px 12px; font-size: 12px; }
  .shop-results-heading { flex-wrap: wrap; gap: 4px; }
  .shop-results-heading h2 { font-size: 32px; }
  .rooms-intro { display: block; padding: 14px 0 30px; }
  .rooms-intro h1 { font-size: 48px; }
  .rooms-intro p { font-size: 14px; }
  .room-jump-links { flex-direction: row; flex-wrap: wrap; gap: 8px; min-width: 0; margin-top: 22px; padding: 0; border-radius: 0; background: none; }
  .room-jump-links a { gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); font-size: 12px; }
  .room-jump-links a:last-child { border-bottom: 1px solid var(--line); }
  .room-directory-section { padding: 26px 0 30px; }
  .room-directory-section .section-heading { display: block; }
  .room-directory-section .section-heading p { margin-top: 12px; max-width: none; }
  .room-directory-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .room-card, .room-card:nth-child(-n + 2) { grid-column: auto; }
  .room-card .room-card-image, .room-card:nth-child(-n + 2) .room-card-image { aspect-ratio: 4 / 3; }
  .room-card-copy { padding: 22px; }
  .room-budget-banner { display: block; padding: 26px 22px; }
  .room-budget-banner h2 { font-size: 34px; }
  .room-budget-banner .btn { width: 100%; margin-top: 24px; }
  .room-category-pills { gap: 8px; }
  .room-category-pills a { padding: 10px 14px; font-size: 12px; }
}

/* Account pages retain the original sidebar, panels, tables and forms. */
.account-page-shell { width: min(1440px, calc(100% - 64px)); margin: auto; }
.account-page-shell .page-top { padding-top: 42px; }
.account-nav form { margin: 15px 0 0; border-top: 1px solid #d6c8d2; }
.account-nav form button { margin: 0; border: 0; }
.account-nav a.is-active { background: var(--plum); color: #fff; }
.account-nav-head { padding: 8px 12px 15px; }
.account-nav-head span { display: block; color: var(--muted); font-size: 12px; }
.account-nav-head strong { display: block; margin-top: 4px; font-size: 14px; }
.account-nav-icon { display: none; }
.account-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-title { margin: 7px 0 0; font: 500 34px Newsreader; }
.account-panel { margin-bottom: 22px; padding: 28px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.account-empty { padding: 45px 25px; background: var(--cream); text-align: center; }
.order-list,
.address-stack { display: grid; gap: 12px; }
.order-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); background: #fff; }
.order-card h3 { margin: 7px 0 4px; }
.order-card p { margin: 0; color: var(--muted); font-size: 13px; }
.mini-badge,
.account-chip,
.account-verified-badge,
.account-pending-badge { display: inline-block; padding: 6px 10px; border-radius: 20px; background: #e1e9d8; font-size: 12px; }
.account-editor { margin-bottom: 12px; border: 1px solid var(--line); background: #fff; }
.account-editor > summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px; cursor: pointer; }
.account-editor > summary small { display: block; margin-top: 5px; color: var(--muted); }
.account-editor-form { padding: 0 20px 20px; }
.account-checkbox { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0; line-height: 1.6; }
.account-checkbox input { width: 18px; height: 18px; accent-color: var(--plum); }
.account-form-actions { display: flex; align-items: center; gap: 18px; }
.account-delete { color: #9d2741; }
.account-identity { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--muted); }
.account-verification { margin-bottom: 20px; }

/* Authentication follows the original split-card treatment. */
.auth-card { max-width: 540px; }
.auth-form .tabs { display: flex; gap: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.auth-form .tab { padding: 0 0 10px; color: var(--muted); }
.auth-form .tab.active { border-bottom: 2px solid var(--plum); color: var(--plum); font-weight: 600; }
.auth-form h1 { margin: 10px 0 20px; font: 500 42px/1 Newsreader; }
.auth-intro { margin-bottom: 26px; color: var(--muted); line-height: 1.6; }
.auth-back,
.link-arrow { display: inline-block; margin-top: 16px; text-decoration: underline; text-underline-offset: 4px; }
.auth-forgot { margin: 0 0 24px; }

/* Payment-provider controls inside the supplied checkout components. */
.checkout-payment-panel { padding: 28px; border: 1px solid var(--line); background: #fff; }
.checkout-line { display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.checkout-line img { height: 72px; border-radius: 3px; }
.sum-row { display: flex; justify-content: space-between; gap: 15px; margin: 17px 0; font-size: 14px; }
.sum-row.total { padding-top: 18px; border-top: 1px solid var(--line); font-size: 19px; }
.step-title { grid-column: 1 / -1; margin: 24px 0 8px; font: 500 28px Newsreader; }
.choice-grid,
.checkout-address-options { grid-column: 1 / -1; }
.checkout-account-strip { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding: 18px; background: var(--cream); }
.checkout-account-strip span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.checkout-notice { margin-bottom: 18px; padding: 15px 18px; border-left: 3px solid #95768f; background: #eee8f0; }
.paypal-button-host,
.stripe-payment-element { margin: 20px 0; }

/* Live comments use the original editorial page surfaces. */
.blog-comments { width: min(800px, calc(100% - 64px)); margin: 60px auto; }
.blog-comment { padding: 20px 0; border-top: 1px solid var(--line); }
.blog-comment__head { display: flex; justify-content: space-between; gap: 20px; }
.blog-comment-form { margin-top: 35px; padding: 28px; border: 1px solid var(--line); background: #fff; }
.blog-comment-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.blog-comment-field { display: grid; gap: 8px; }
.blog-comment-field--full { grid-column: 1 / -1; }
.blog-comment-field input,
.blog-comment-field textarea { width: 100%; padding: 13px 14px; border: 1px solid #bdb5b8; }
.comment-honeypot { position: absolute; left: -10000px; }

@media (max-width: 760px) {
  .listing-layout { display: block; }
  .listing-products > .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .catalogue-filters { position: fixed; inset: 0 auto 0 0; z-index: 1002; display: block; width: min(360px, 92vw); height: 100dvh; padding: 20px; overflow-y: auto; background: #fffcf7; visibility: hidden; transform: translateX(-105%); transition: transform .2s, visibility .2s; }
  .catalogue-filters.is-open { visibility: visible; transform: translateX(0); }
  .filter-drawer-head { position: sticky; top: -20px; z-index: 1; padding: 12px 0; background: #fffcf7; }
  .filter-drawer-head > button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 24px; }
  .shop-filter-backdrop { position: fixed; inset: 0; z-index: 1001; width: 100%; height: 100%; border: 0; background: #20152080; }
  .shop-filters-open .shop-filter-backdrop { display: block; }
  .catalogue-filter-trigger { display: inline-flex; align-items: center; min-height: 42px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px; background: transparent; color: var(--plum); font-size: 12px; }
  .listing-controls { gap: 10px; }
  .catalogue-sort { margin-left: auto; }
  .catalogue-sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; }
  .catalogue-sort select { max-width: 146px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .catalogue-card .product-info { gap: 7px; padding-top: 10px; }
  .catalogue-card .product-info h3 { font-size: 13px; }
  .product-card-meta { font-size: 10px; }
  .product-card-price strong { font-size: 17px; }
  .catalogue-card .product-media img { padding: 7px; }
  .catalogue-card .wishlist-button { width: 31px; height: 31px; font-size: 21px; }
  .product-card-action .product-card-link,
  .product-card-add { min-height: 40px; padding: 8px; font-size: 11px; }
  .gallery-main { height: min(96vw, 460px); }
  .product-media-modal { grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 5px; padding: 10px; }
  .product-media-modal button { width: 34px; height: 34px; }
  .product-media-modal__stage { height: calc(100dvh - 65px); }
  .arlaan-cms-page,
  .account-page-shell,
  .blog-comments { width: calc(100% - 28px); }
  .budget a { padding: 18px; }
  .product-text-section,
  .product-faq { grid-template-columns: 1fr; gap: 18px; }
  .order-card { grid-template-columns: 1fr auto; }
  .order-card .link-arrow { grid-column: 1 / -1; }
  .checkout-account-strip { display: block; }
  .blog-comment-form-grid { grid-template-columns: 1fr; }
  .blog-comment-field--full { grid-column: auto; }
  .support-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .email-row { display: block; }
  .email-row button { width: 100%; margin-top: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-toast,
  .button-spinner { animation: none; transition: none; }
}


/* Compact mobile chrome; navigation has one vertical scroll area in its drawer. */
.header-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; color: var(--ink); flex-shrink: 0; }
.mobile-menu-toggle, .mobile-navigation { display: none; }
.head .actions { align-items: center; gap: 16px; }
.head .header-action { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; }
.head .header-action svg, .search button svg { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.head .actions .header-action-label { padding: 0; background: none; border-radius: 0; font-size: 13px; }
.head .actions .header-count { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 10px; line-height: 1; }
.search button { display: flex; align-items: center; justify-content: center; gap: 8px; flex-shrink: 0; }
.nav-row { overflow: visible; height: auto; min-height: 49px; flex-wrap: wrap; gap: 6px 24px; padding-top: 6px; padding-bottom: 6px; }
.trending { flex-wrap: wrap; white-space: normal; overflow: visible; gap: 10px 18px; }
.nav .mega { top: 100%; }
@media (max-width: 1000px) and (min-width: 761px) { .head { gap: 14px; } .head .actions { gap: 9px; } .head .header-action-label { display: none; } }
@media (max-width: 760px) {
  html { scroll-padding-top: 130px; }
  .top { padding: 8px 12px; font-size: 11px; line-height: 1.3; }
  .top span { display: none; }
  .store-header { background: #fffcf7; backdrop-filter: none; }
  .head.wrap { width: calc(100% - 32px); height: auto; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 0 5px; padding: 8px 0 12px; }
  .mobile-menu-toggle { display: inline-flex; width: 40px; margin-left: -6px; }
  .head > .logo { font-size: 34px; letter-spacing: -1.7px; line-height: 1; justify-self: start; }
  .head .actions { gap: 0; }
  .head .header-action { justify-content: center; width: 38px; height: 44px; padding: 8px; }
  .head .actions .header-action-label { display: none; }
  .head .actions .header-count { position: absolute; top: 0; right: -1px; min-width: 15px; height: 15px; font-size: 9px; padding: 0 3px; }
  .head .search { grid-row: 2; grid-column: 1 / -1; height: 44px; margin-top: 8px; border-radius: 6px; }
  .head .search input { font-size: 16px; padding: 10px 12px; }
  .head .search button { width: 48px; padding: 10px; }
  .head .search .desktop-label { display: none; }
  .store-header > .trending, .store-header > .nav { display: none; }
  html.overlay-open { overflow: hidden; overscroll-behavior: none; }
  .mobile-navigation:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 120; overscroll-behavior: none; }
  .mobile-menu-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #211a245c; }
  .mobile-menu-panel { position: relative; display: flex; flex-direction: column; width: min(390px, calc(100% - 32px)); height: 100%; height: 100dvh; background: #fffcf7; box-shadow: 12px 0 40px #24172229; }
  .mobile-menu-heading { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: max(12px, env(safe-area-inset-top)) 14px 12px 22px; border-bottom: 1px solid var(--line); font: 500 27px/1.2 Newsreader, serif; }
  .mobile-menu-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 8px 22px 24px; scrollbar-width: thin; }
  .mobile-menu-featured a { display: flex; justify-content: space-between; align-items: center; min-height: 50px; font-size: 17px; font-weight: 500; }
  .mobile-menu-featured a:last-child { color: #8b5042; }
  .mobile-menu-eyebrow { margin: 25px 0 7px; font-size: 10px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
  .mobile-menu-departments details { border-bottom: 1px solid var(--line); }
  .mobile-menu-departments summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 12px 0; font-size: 15px; line-height: 1.4; list-style: none; cursor: pointer; }
  .mobile-menu-departments summary::-webkit-details-marker { display: none; }
  .mobile-menu-departments summary::after { content: '+'; font-size: 22px; font-weight: 400; }
  .mobile-menu-departments details[open] summary::after { content: '\2212'; }
  .mobile-menu-departments details > div { padding: 0 0 14px 12px; }
  .mobile-menu-departments a { display: block; min-height: 44px; padding: 11px 0; font-size: 13px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
  .mobile-menu-departments a:first-child { color: var(--plum); font-weight: 600; }
  .mobile-menu-edits { display: grid; gap: 0; padding: 20px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu-edits a { display: flex; align-items: center; min-height: 44px; font-size: 14px; }
  .mobile-menu-help { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; padding-top: 18px; }
  .mobile-menu-help a { display: flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--muted); }
  .mobile-menu-note { flex-shrink: 0; margin: 0; padding: 16px 22px max(16px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 10px; color: var(--muted); }
  .breadcrumbs { font-size: 12px; line-height: 1.5; padding: 18px 0; overflow-wrap: anywhere; }
}

@media (max-width: 360px) {
  .head.wrap { grid-template-columns: 32px minmax(0, 1fr) auto; gap: 0 4px; }
  .mobile-menu-toggle { width: 32px; padding: 6px; }
  .head > .logo { font-size: 30px; }
  .head .header-action { width: 32px; padding: 5px; }
}

/* Keep long galleries inside the product grid at tablet widths. */
.pdp > * { min-width: 0; }


/* Generous product imagery, with controls outside the image itself. */
.gallery-main { height: auto; aspect-ratio: 1; border: 0; border-radius: 0; }
.gallery-main > [data-product-main-media] { padding: 0; }
.catalogue-card .product-media { border-radius: 3px; }
.catalogue-card .product-media img { padding: 0; }
.catalogue-card .product-info { gap: 7px; padding: 11px 0 0; }
.product-card-price { margin-top: 0; min-height: 27px; }
.product-card-action { margin-top: auto; padding-top: 3px; }
.product-card-colours { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; min-height: 28px; margin-top: 2px; }
.product-card-swatch { display: grid; place-items: center; width: 26px; height: 28px; padding: 3px; border: 1.5px solid transparent; border-radius: 50%; background: none; }
.product-card-swatch.is-selected { border-color: var(--plum); }
.product-card-swatch-dot { display: block; width: 18px; height: 18px; border: 1px solid #00000020; border-radius: 50%; overflow: hidden; background: #f4f1eb; }
.product-card-swatch-dot img { width: 100%; height: 100%; object-fit: cover; }
.product-card-more-colours { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.product-card-selection { min-height: 15px; font-size: 10px; line-height: 1.4; color: var(--muted); }
.header-search { position: relative; min-width: 0; }
.rich-search-panel { position: absolute; top: calc(100% + 8px); left: 0; width: max(100%, 500px); max-width: calc(100vw - 40px); z-index: 60; overflow-y: auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 8px; background: #fffcf7; box-shadow: 0 16px 35px #211a2426; }
.rich-search-heading { padding: 14px 16px 10px; color: var(--muted); font-size: 11px; letter-spacing: .4px; }
.rich-search-product { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 16px; border-top: 1px solid #eee8df; }
.rich-search-product[aria-selected="true"], .rich-search-all[aria-selected="true"] { background: #f0e9ef; }
.rich-search-picture { width: 60px; height: 60px; border-radius: 4px; overflow: hidden; background-color: #fff; }
.rich-search-picture img { object-fit: contain; }
.rich-search-copy { min-width: 0; }
.rich-search-copy strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12px; line-height: 1.45; font-weight: 500; }
.rich-search-meta { display: block; margin-top: 5px; font-size: 10px; line-height: 1.4; color: var(--muted); }
.rich-search-price { text-align: right; white-space: nowrap; }
.rich-search-price b { display: block; font-size: 12px; font-weight: 600; }
.rich-search-price small { display: block; margin-top: 5px; font-size: 9px; color: #5b704b; }
.rich-search-price small.is-sold-out { color: #9d2741; }
.rich-search-all { display: block; padding: 16px; border-top: 1px solid var(--line); color: var(--plum); font-size: 12px; font-weight: 500; }
.rich-search-status { margin: 0; padding: 0 16px 12px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.rich-search-group { padding: 14px 16px 8px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.rich-search-category { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid #eee8df; font-size: 13px; color: var(--ink); }
.rich-search-category-action { flex-shrink: 0; font-size: 11px; color: var(--plum); }
.rich-search-category:hover, .rich-search-category[aria-selected="true"] { background: #f0e9ef; }
@media (max-width: 760px) {
  .head .header-search { grid-row: 2; grid-column: 1 / -1; margin-top: 8px; }
  .head .header-search .search { margin-top: 0; }
  .rich-search-panel { width: 100%; max-width: none; top: calc(100% + 6px); }
  .rich-search-product { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px; padding: 10px; }
  .rich-search-picture { width: 48px; height: 54px; }
  .rich-search-heading { padding: 12px 10px 8px; }
  .rich-search-copy strong { font-size: 11px; }
  .rich-search-price b { font-size: 11px; }
  .rich-search-meta { font-size: 9px; }
  .rich-search-all { padding: 14px 10px; }
  .rich-search-status { padding: 0 10px 10px; }
  .product-page.wrap, .catalogue-page.wrap { width: calc(100% - 24px); }
  .product-page .pdp > [data-product-gallery] { margin-inline: -12px; }
  .product-page .gallery-tools, .product-page .product-thumbnails, .product-page .gallery-meta { padding-inline: 12px; }
  .product-page .product-thumbnails { width: 100%; }
  .product-page .gallery-main { height: auto; aspect-ratio: 1; }
  .product-grid, .listing-products > .product-grid { column-gap: 8px; row-gap: 24px; }
  .catalogue-card .product-media img { padding: 0; }
  .catalogue-card .product-info { padding: 10px 0 0; gap: 6px; }
  .catalogue-card .product-card-action .product-card-link, .catalogue-card .product-card-add { min-height: 35px; padding: 7px 4px; }
}


/* Loading feedback preserves the size of every control and media slot. */
.rich-search-skeleton .skeleton-title { width: 95%; height: 12px; margin-bottom: 9px; }
.rich-search-skeleton .skeleton-subtitle { width: 64%; height: 9px; }
.rich-search-skeleton .skeleton-price { width: 45px; height: 12px; }
.head [data-cart-link].has-items svg path:first-child { fill: #efe5ed; }
.product-buy-form[aria-busy="true"] [data-variant-option], .product-buy-form[aria-busy="true"] .quantity { pointer-events: none; }


/* Cart and checkout: one primary action, compact item rows and a stable form grid. */
.commerce-page.wrap { max-width: 1160px; margin-bottom: 60px; }
.commerce-page .breadcrumbs { padding: 20px 0 24px; font-size: 12px; line-height: 1.5; }
.commerce-heading { margin: 0 0 26px; }
.commerce-heading .eyebrow { font-size: 10px; letter-spacing: 1.5px; }
.commerce-heading h1 { margin: 8px 0 0; font: 500 44px/1.12 Newsreader, serif; letter-spacing: -.7px; }
.commerce-heading p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.commerce-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 32px; }
.commerce-layout > * { min-width: 0; }
.commerce-primary, .commerce-secondary, .commerce-text-link { font-family: 'DM Sans', sans-serif; text-align: center; }
.commerce-primary { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 50px; padding: 14px 18px; border: 1px solid var(--plum); border-radius: 5px; background: var(--plum); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.4; }
.commerce-primary:hover { background: #352232; border-color: #352232; }
.commerce-primary:disabled { opacity: .55; cursor: not-allowed; }
.commerce-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--plum); font-size: 13px; font-weight: 500; line-height: 1.4; }
.commerce-secondary:hover { border-color: var(--plum); }
.commerce-text-link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; color: var(--plum); font-size: 13px; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }
.cart-items { padding: 0 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-page .cart-item { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cart-page .cart-item:last-child { border-bottom: 0; }
.cart-item-media { display: block; width: 104px; height: 104px; overflow: hidden; border: 1px solid #eee9e2; border-radius: 6px; background: #fff; }
.cart-page .cart-item-media img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-content { min-width: 0; }
.cart-item-content h2 { margin: 0; font: 600 15px/1.5 'DM Sans', sans-serif; }
.cart-item-content h2 a:hover { text-decoration: underline; }
.cart-item-options { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 9px 0 0; }
.cart-item-options > div { display: flex; flex-wrap: wrap; gap: 4px; align-items: baseline; font-size: 12px; line-height: 1.5; }
.cart-item-options dt { color: var(--muted); }
.cart-item-options dt::after { content: ':'; }
.cart-item-options dd { margin: 0; overflow-wrap: anywhere; }
.cart-item-variant { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.cart-item-pricing { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 12px; }
.cart-item-pricing > span { color: var(--muted); font-size: 12px; }
.cart-item-pricing > strong { white-space: nowrap; font-size: 16px; font-weight: 600; }
.cart-item-controls { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; }
.cart-item-controls form { margin: 0; }
.cart-page .cart-item .quantity { display: flex; width: max-content; height: 40px; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }
.cart-page .cart-item .quantity button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; font-size: 18px; }
.cart-page .cart-item .quantity input { width: 34px; min-width: 0; height: 38px; padding: 0; font-size: 14px; }
.cart-remove { min-height: 40px; padding: 8px 0 8px 10px; border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cart-secondary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; }
.commerce-summary { position: sticky; top: 225px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.commerce-summary > h2 { margin: 0 0 22px; font: 500 27px/1.2 Newsreader, serif; }
.commerce-sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 16px 0; font-size: 13px; line-height: 1.5; }
.commerce-sum-row > :last-child { min-width: 0; text-align: right; }
.commerce-sum-row b { font-weight: 500; }
.commerce-sum-total { padding-top: 16px; border-top: 1px solid var(--line); font-size: 18px; }
.commerce-sum-total b, .commerce-sum-total strong { font-weight: 600; }
.commerce-summary-note { margin: 16px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.commerce-payment-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.5; }
.commerce-empty { padding: 52px 24px; border: 1px solid var(--line); border-radius: 8px; background: #fff; text-align: center; }
.commerce-empty h2 { margin: 0; font: 500 30px/1.2 Newsreader, serif; }
.commerce-empty p { max-width: 440px; margin: 14px auto 24px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.commerce-empty .commerce-primary { width: auto; min-width: 180px; justify-content: center; }
.commerce-empty .commerce-text-link { display: flex; width: max-content; margin: 12px auto 0; }
.checkout-progress { display: flex; align-items: center; gap: 26px; margin: -4px 0 26px; padding: 0; list-style: none; }
.checkout-progress li > a, .checkout-progress li > span { display: flex; align-items: center; gap: 8px; min-height: 32px; color: var(--muted); font-size: 12px; }
.checkout-progress li > a > span, .checkout-progress li > span > span { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.checkout-progress .is-current > a, .checkout-progress .is-current > span { color: var(--plum); font-weight: 600; }
.checkout-progress .is-current > a > span, .checkout-progress .is-current > span > span { border-color: var(--plum); background: var(--plum); color: #fff; }
.checkout-main { grid-column: 1; grid-row: 1; padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.checkout-review { grid-column: 2; grid-row: 1; padding: 0; overflow: hidden; }
.checkout-review summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; list-style: none; cursor: pointer; }
.checkout-review summary::-webkit-details-marker { display: none; }
.checkout-review summary:focus-visible, .checkout-discount summary:focus-visible { outline: 2px solid var(--plum); outline-offset: -4px; }
.checkout-review summary > span:first-child > strong { display: block; font: 500 25px/1.15 Newsreader, serif; }
.checkout-review summary small { display: block; margin-top: 5px; font-size: 10px; color: var(--muted); }
.checkout-review-amount { display: grid; grid-template-columns: auto 10px; column-gap: 12px; align-items: center; text-align: right; }
.checkout-review-amount small { grid-column: 1; grid-row: 1; margin: 0; }
.checkout-review-amount b { grid-column: 1; grid-row: 2; margin-top: 4px; font-size: 16px; font-weight: 600; }
.checkout-review-chevron { grid-column: 2; grid-row: 1 / 3; display: block; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); }
.checkout-review details[open] .checkout-review-chevron { transform: rotate(225deg); }
.checkout-review-body { padding: 0 24px 8px; }
.checkout-review-actions { text-align: right; padding-bottom: 8px; }
.checkout-review-actions a { display: inline-block; padding: 6px 0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; }
.checkout-review .checkout-line { grid-template-columns: 52px minmax(0, 1fr) auto; align-items: start; gap: 10px; padding: 15px 0; }
.checkout-line-media { display: block; width: 52px; height: 62px; overflow: hidden; border-radius: 4px; background: #fff; }
.checkout-review .checkout-line-media img { width: 100%; height: 100%; object-fit: contain; }
.checkout-line-copy { min-width: 0; }
.checkout-line-copy > strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11px; line-height: 1.5; font-weight: 500; }
.checkout-line-copy p { margin: 5px 0; font-size: 10px; line-height: 1.5; color: var(--muted); overflow-wrap: anywhere; }
.checkout-line-copy > span, .checkout-line-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.checkout-review .checkout-line > b { font-size: 12px; white-space: nowrap; }
.checkout-main .checkout-account-strip { display: block; padding: 16px; margin: 0 0 28px; border: 1px solid var(--line); border-radius: 6px; background: #f7f3ec; }
.checkout-account-strip strong { display: block; font-size: 14px; line-height: 1.5; }
.checkout-main .checkout-account-strip span { font-size: 12px; line-height: 1.6; margin-top: 4px; }
.checkout-auth-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; }
.checkout-main .checkout-account-strip--signed-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.checkout-form { display: block; }
.checkout-section { min-inline-size: 0; margin: 0 0 24px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line); }
.checkout-section legend { padding: 0; font: 600 17px/1.4 'DM Sans', sans-serif; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-top: 16px; }
.checkout-form .field { min-width: 0; margin: 0; }
.checkout-fields .field-wide { grid-column: 1 / -1; }
.checkout-form .field > label { display: block; margin: 0 0 7px; font-size: 12px; line-height: 1.5; font-weight: 500; }
.checkout-form .field > label > span { font-size: 11px; font-weight: 400; color: var(--muted); }
.checkout-form input:not([type="radio"]):not([type="hidden"]), .checkout-form textarea { display: block; width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #cec7bd; border-radius: 5px; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.5; }
.checkout-form textarea { resize: vertical; }
.checkout-payment-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.checkout-payment-choices .choice, .checkout-address-options .choice { display: flex; align-items: start; gap: 10px; min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.checkout-payment-choices .choice:has(input:checked), .checkout-address-options .choice:has(input:checked) { border-color: var(--plum); background: #f7f2f6; box-shadow: inset 0 0 0 1px var(--plum); }
.checkout-payment-choices input, .checkout-address-options input { flex-shrink: 0; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--plum); }
.checkout-payment-choices strong { display: block; font-size: 12px; line-height: 1.5; font-weight: 500; }
.checkout-payment-choices small, .checkout-address-options small { display: block; margin-top: 4px; font-size: 10px; line-height: 1.5; color: var(--muted); }
.checkout-section-payment { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.checkout-address-options { display: grid; gap: 10px; margin-top: 16px; }
.checkout-address-options strong { font-size: 12px; line-height: 1.5; }
.checkout-discount { margin: 24px 0 0; padding: 16px 0; border-top: 1px solid var(--line); }
.checkout-discount summary { cursor: pointer; font-size: 12px; line-height: 1.5; }
.checkout-discount .field { max-width: 320px; margin-top: 14px; }
.checkout-submit { padding-top: 6px; }
.checkout-submit .commerce-primary { justify-content: center; min-height: 52px; font-size: 15px; }
.checkout-submit p { margin: 11px 0 0; color: var(--muted); text-align: center; font-size: 10px; line-height: 1.6; }
.checkout-delivery-error { margin: 0 0 16px; padding: 12px; border: 1px solid #d8b6b6; border-radius: 5px; background: #fff4f2; color: #8c3030; font-size: 12px; line-height: 1.5; }
.checkout-retry { margin-bottom: 20px; }
.checkout-main .checkout-payment-panel { padding: 0; border: 0; }
.checkout-payment-head { display: flex; align-items: start; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.checkout-payment-head h2 { margin: 8px 0 0; font: 500 30px/1.2 Newsreader, serif; }
.checkout-provider-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.checkout-provider-tabs form { margin: 0; }
.checkout-provider-tabs .choice { margin: 0; padding: 10px 14px; min-height: 42px; font-size: 12px; }
@media (max-width: 980px) {
  .commerce-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .commerce-summary { position: static; }
  .checkout-main, .checkout-review { grid-column: 1; grid-row: auto; }
}
@media (max-width: 540px) {
  .commerce-page.wrap { width: calc(100% - 24px); margin-bottom: 40px; }
  .commerce-page .breadcrumbs { padding: 18px 0 20px; }
  .commerce-heading { margin-bottom: 22px; }
  .commerce-heading h1 { font-size: 34px; }
  .commerce-heading p { margin-top: 8px; font-size: 13px; }
  .cart-items { padding: 0 16px; }
  .cart-page .cart-item { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
  .cart-item-media { width: 80px; height: 90px; }
  .cart-item-content h2 { font-size: 13px; line-height: 1.5; }
  .cart-item-options { gap: 3px 10px; margin-top: 7px; }
  .cart-item-options > div { font-size: 11px; }
  .cart-item-pricing { margin-top: 10px; gap: 8px; }
  .cart-item-pricing > span { font-size: 11px; }
  .cart-item-pricing > strong { font-size: 15px; }
  .cart-item-controls { margin-top: 12px; gap: 10px; }
  .cart-page .cart-item .quantity button { width: 32px; }
  .cart-page .cart-item .quantity input { width: 28px; }
  .cart-remove { font-size: 11px; padding-left: 5px; }
  .cart-secondary-actions { gap: 8px 18px; margin-top: 14px; }
  .commerce-summary { padding: 20px; }
  .commerce-summary > h2 { margin-bottom: 20px; font-size: 25px; }
  .checkout-progress { gap: 20px; margin-bottom: 20px; }
  .checkout-layout { gap: 16px; }
  .checkout-review { padding: 0; }
  .checkout-review summary { padding: 16px; }
  .checkout-review summary > span:first-child > strong { font-size: 22px; }
  .checkout-review-body { padding: 0 16px 6px; }
  .checkout-main { padding: 18px 16px; }
  .checkout-main .checkout-account-strip { padding: 14px; margin-bottom: 24px; }
  .checkout-section { margin-bottom: 22px; padding-bottom: 22px; }
  .checkout-section-payment { margin-bottom: 0; padding-bottom: 0; }
  .checkout-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .checkout-form input:not([type="radio"]):not([type="hidden"]), .checkout-form textarea { font-size: 16px; }
  .checkout-payment-choices { grid-template-columns: minmax(0, 1fr); }
  .checkout-payment-choices .choice { min-height: 64px; padding: 13px; }
  .checkout-auth-actions { gap: 6px 14px; }
}

.cart-summary .commerce-summary-note { margin: 16px 0 0; }
.checkout-focused .store-header > .trending, .checkout-focused .store-header > .nav,
.checkout-focused .head .header-search, .checkout-focused .head .mobile-menu-toggle,
.checkout-focused .head .header-action:not([data-cart-link]) { display: none; }
.checkout-focused .head.wrap { grid-template-columns: minmax(0, 1fr) auto; height: 76px; padding-top: 8px; padding-bottom: 8px; }
.checkout-focused .head .actions { grid-column: 2; grid-row: 1; }
.checkout-footer { padding: 24px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 1.5; }
.checkout-footer > .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; max-width: 1160px; }
.checkout-footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.checkout-footer a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .checkout-focused .head.wrap { height: 60px; }
  .checkout-focused .head > .logo { grid-column: 1; grid-row: 1; }
}

.checkout-focused .checkout-review { top: 96px; }
@media (max-width: 340px) {
  .cart-page .cart-item { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .cart-item-media { width: 64px; height: 76px; }
  .cart-item-controls { flex-wrap: wrap; }
}


/* Homepage choices fit their rows; supporting links never become a ticker. */
.hero-zone .hero-tabs { flex-wrap: wrap; overflow: visible; }
.hero-zone .hero-tabs button { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.hero-zone .hero-foot { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 24px; overflow: visible; white-space: normal; }
.hero-zone .hero-foot a { min-width: 0; color: var(--muted); font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
#products .chips { flex-wrap: wrap; overflow: visible; }
@media (max-width: 760px) {
  .hero-zone .hero-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-bottom: 16px; }
  .hero-zone .hero-tabs button { width: 100%; min-height: 46px; padding: 9px 10px; border-radius: 24px; font-size: 12px; line-height: 1.4; }
  .hero-zone .hero-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 12px; }
  .hero-zone .hero-foot a { padding: 5px 0; text-align: center; overflow-wrap: anywhere; }
}

[data-home-category-rail], [data-home-value-rail] { scrollbar-width: none; }
[data-home-category-rail]::-webkit-scrollbar, [data-home-value-rail]::-webkit-scrollbar { display: none; }


/* Responsive catalogue navigation. */
.listing-products { scroll-margin-top: 24px; }
.catalogue-pagination { display: block; margin: 32px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.pagination-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.pagination-meta p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.catalogue-pagination .pagination-meta > span { font-size: 12px; line-height: 1.5; color: var(--muted); }
.pagination-navigation { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px; }
.pagination-pages { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0; list-style: none; }
.pagination-page, .pagination-direction, .pagination-gap { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: transparent; font-size: 13px; line-height: 1.4; }
.catalogue-pagination .pagination-page { color: var(--ink); }
.catalogue-pagination .pagination-page.is-current { border-color: var(--plum); background: var(--plum); color: #fff; font-weight: 600; }
.pagination-direction { gap: 7px; min-width: 100px; padding: 9px 13px; color: var(--plum); }
.catalogue-pagination .pagination-gap { min-width: 18px; padding: 4px 0; border-color: transparent; font-size: 13px; }
.catalogue-pagination .pagination-direction.is-disabled { opacity: .4; cursor: default; }
.pagination-page:hover, .pagination-direction:not(.is-disabled):hover { border-color: var(--plum); background: var(--cream); }
.pagination-page.is-current:hover { background: var(--plum); }
.pagination-preferences { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #eae4db; }
.pagination-preferences form { display: flex; align-items: center; gap: 8px; margin: 0; }
.pagination-preferences label { font-size: 13px; color: var(--muted); }
.pagination-preferences input:not([type="hidden"]), .pagination-preferences select { height: 40px; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 5px; background: #fff; color: var(--ink); font-size: 13px; }
.pagination-preferences select { min-width: 62px; }
.pagination-jump input[type="number"] { width: 66px; }
.pagination-preferences button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--plum); border-radius: 5px; background: transparent; color: var(--plum); font-size: 13px; }
.pagination-preferences button:hover { background: var(--cream); }
@media (max-width: 600px) {
  .catalogue-pagination { margin-top: 26px; padding-top: 18px; }
  .pagination-meta { margin-bottom: 16px; }
  .pagination-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .pagination-pages { grid-column: 1 / -1; grid-row: 1; gap: 4px; }
  .pagination-direction { grid-row: 2; min-width: 0; min-height: 44px; }
  .pagination-preferences { align-items: stretch; gap: 14px; margin-top: 18px; padding-top: 16px; }
  .pagination-preferences form { justify-content: space-between; flex: 1 1 100%; }
  .pagination-size label, .pagination-jump label { margin-right: auto; }
  .pagination-preferences input:not([type="hidden"]), .pagination-preferences select { height: 44px; font-size: 16px; }
  .pagination-preferences button { min-height: 44px; }
}

/* Familiar category discovery, in Arlaan's softer palette. */
.discovery-category-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px 22px; }
.discovery-category { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; padding: 8px 4px; border-radius: 8px; text-align: center; }
.discovery-category-image { display: block; width: min(100%, 148px); aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #f1ece4; border: 1px solid #e8dfd4; }
.discovery-category:nth-child(3n + 2) .discovery-category-image { background: #f0e9eb; }
.discovery-category:nth-child(3n) .discovery-category-image { background: #eaf0e5; }
.discovery-category-image img { display: block; width: 100%; height: 100%; padding: 10%; object-fit: contain; mix-blend-mode: multiply; transition: transform .2s ease; }
.discovery-category-icon { display: block; width: 100%; height: 100%; padding: 27%; color: var(--plum); }
.discovery-category-title { max-width: 100%; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.discovery-category:hover .discovery-category-title { color: var(--plum); }
.discovery-category:hover img { transform: scale(1.05); }
.discovery-category:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
.directory-intro { max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.directory-discoveries { margin: 8px 0 48px; }
.directory-departments { padding: 36px 0 58px; border-top: 1px solid var(--line); }
.directory-departments .discovery-category-image { width: min(100%, 124px); }

/* Price bands and exact catalogue colours share the normal filter form. */
.filter-price-presets { display: grid; gap: 2px; margin: -4px 0 12px; }
.filter-price-presets button { display: flex; align-items: center; gap: 10px; min-height: 40px; width: 100%; padding: 7px 5px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.5; text-align: left; cursor: pointer; }
.filter-choice-mark { position: relative; flex: 0 0 17px; width: 17px; height: 17px; border: 1px solid #b8aea4; border-radius: 50%; background: #fffcf7; }
.filter-price-presets button[aria-pressed="true"] { color: var(--plum); font-weight: 600; }
.filter-price-presets button[aria-pressed="true"] .filter-choice-mark { border-color: var(--plum); }
.filter-price-presets button[aria-pressed="true"] .filter-choice-mark::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--plum); }
.filter-price-presets button:hover { background: #eae1e6; }
.filter-range-caption { margin: 12px 0 10px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.filter-colour-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.filter-colour-meta > span { min-width: 0; overflow-wrap: anywhere; }
.filter-colour-clear { flex-shrink: 0; padding: 4px 0; border: 0; background: transparent; color: var(--plum); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.filter-colour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 6px; }
.filter-colour { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; min-height: 64px; padding: 5px 2px; border: 0; border-radius: 5px; background: transparent; color: var(--ink); font: inherit; cursor: pointer; }
.filter-colour-dot { position: relative; display: block; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #0002; border-radius: 50%; box-shadow: 0 0 0 3px #fffcf7; }
.filter-colour-dot.is-unknown { background: repeating-linear-gradient(135deg, #f7f3eb 0 5px, #ded7cb 5px 7px); }
.filter-colour-name { display: block; max-width: 100%; font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.filter-colour[aria-pressed="true"] .filter-colour-dot { outline: 2px solid var(--plum); outline-offset: 3px; }
.filter-colour[aria-pressed="true"] .filter-colour-dot::after { content: '\2713'; position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--plum); color: #fff; font-size: 10px; font-weight: 600; }
.filter-colour[aria-pressed="true"] .filter-colour-name { color: var(--plum); font-weight: 600; }
.filter-colour:hover { background: #ebe3e6; }
.filter-colour:focus-visible, .filter-price-presets button:focus-visible, .filter-colour-clear:focus-visible { outline: 2px solid var(--plum); outline-offset: 2px; }
.catalogue-filters details.filter-more-colours { padding: 12px 0 0; border: 0; }
.catalogue-filters .filter-more-colours > summary { margin: 0; color: var(--plum); font-size: 12px; font-weight: 500; }
.filter-more-colours[open] > summary { margin-bottom: 16px; }
@media (max-width: 980px) {
  .discovery-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (max-width: 760px) {
  .filter-price-presets button { min-height: 44px; font-size: 14px; }
  .filter-colour-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 8px; }
  .filter-colour-dot { width: 38px; height: 38px; flex-basis: 38px; }
  .filter-colour-name { font-size: 11px; }
}
@media (max-width: 600px) {
  .discovery-category-grid { gap: 20px 10px; }
  .discovery-category { padding: 4px 0; gap: 10px; }
  .discovery-category-title { font-size: 12px; }
  .discovery-category-image { width: min(100%, 110px); }
  .directory-intro { font-size: 14px; }
  .directory-discoveries { margin-bottom: 30px; }
  .directory-departments { padding: 26px 0 36px; }
}
@media (prefers-reduced-motion: reduce) { .discovery-category-image img { transition: none; } }

/* The supplied wordmark keeps its artwork and transparent canvas intact. */
.related-products-heading { align-items: center; gap: 20px; }
.related-products-cta { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-height: 48px; margin: 0; padding: 14px 24px; flex-shrink: 0; white-space: nowrap; background: var(--plum); color: #fff; border: 1px solid var(--plum); font-size: 14px; font-weight: 600; }
.related-products-cta:hover { background: #563950; border-color: #563950; }
.related-products-cta:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
@media (max-width: 600px) {
  .related-products-heading { flex-direction: column; align-items: stretch; gap: 16px; }
  .related-products-heading h2 { margin-bottom: 0; }
  .related-products-cta { width: 100%; }
}

.head .logo.brand-logo, .store-footer .logo.brand-logo { display: block; width: 190px; max-width: 100%; min-width: 0; line-height: 0; letter-spacing: 0; }
.brand-logo-frame { position: relative; display: block; width: 100%; aspect-ratio: var(--brand-aspect, 3); overflow: hidden; }
.brand-logo-frame img { position: absolute; display: block; width: var(--brand-image-width, 100%); max-width: none; height: var(--brand-image-height, 100%); left: var(--brand-image-left, 0%); top: var(--brand-image-top, 0%); object-fit: contain; }
.store-footer .logo.brand-logo { width: 180px; margin-bottom: 18px; }
@media (max-width: 1100px) and (min-width: 761px) { .head .logo.brand-logo { width: 140px; } }
@media (max-width: 760px) {
  .head .logo.brand-logo { width: 136px; }
  .checkout-focused .head .logo.brand-logo { width: 150px; }
}
@media (max-width: 340px) { .head .logo.brand-logo { width: 112px; } }
