:root {
  --navy: #20242b;
  --navy-2: #374151;
  --muted: #6b7280;
  --muted-2: #9ca3af;
  --cool-white: #ffffff;
  --surface: #ffffff;
  --cool-blue: #eff6ff;
  --line: #e5e7eb;
  --focus: #0a66ff;
  --glow: rgba(10, 102, 255, .12);
  --soft-shadow: 0 2px 8px rgba(0, 0, 0, .035);
  --accent: #0a66ff;
  --accent-soft: #eff6ff;
  --storefront-background: #ffffff;
  --surface-warm: var(--storefront-background);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --control-border: #e5e7eb;
  --control-selected: #0a66ff;
  --control-selected-bg: #eff6ff;
  --control-disabled-bg: #f3f4f6;
  --font: "Segoe UI", Tahoma, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--storefront-background);
  color: var(--navy);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.harness { width: min(1100px, 100%); margin: 0 auto; padding: 36px 22px 64px; }
.harness-head { margin-bottom: 22px; }
.eyebrow, .kicker { letter-spacing: .12em; font-size: 11px; font-weight: 800; color: #5f78a0; }
.harness-head h1 { margin: 7px 0 6px; font-size: clamp(26px, 4vw, 40px); }
.harness-head p { margin: 0; color: #718198; }.test-card {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(160,187,224,.28);
  border-radius: 26px;
  padding: 22px;
  margin-top: 22px;
  box-shadow: 0 10px 34px rgba(57,93,140,.06);
}
.test-card__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.test-card__head h2 { margin: 4px 0 0; font-size: 21px; }
.state-tabs { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.state-tab {
  border: 1px solid #dbe7f5;
  background: #f8fbff;
  color: #657d9f;
  padding: 9px 13px;
  border-radius: 999px;
  cursor: pointer;
}
.state-tab.is-active { color: var(--navy); background: #edf5ff; border-color: #bfd8fb; font-weight: 700; }
.mobile-stage {
  width: min(430px, 100%);
  margin: 0 auto;
  min-height: 184px;
  border-radius: 30px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  padding: 20px 16px 14px;
  box-shadow: inset 0 0 0 1px rgba(193,210,233,.28);
  transition: min-height .22s ease;
}
.mobile-stage#navbarStage:has(.safhat-navbar[data-state="active"]) { min-height: 535px; }
.safhat-navbar { width: 100%; position: relative; color: var(--navy); }
.navbar-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: block; width: 182px; flex: 0 1 182px; }
.brand img { display: block; width: 100%; height: auto; }
.navbar-actions { display: flex; align-items: center; gap: 9px; }.wishlist-btn, .language-btn {
  border: 0;
  color: var(--navy);
  background: rgba(255,255,255,.96);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}
.wishlist-btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 50px;
}
.wishlist-btn svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.language-btn {
  height: 50px; min-width: 123px; padding: 0 17px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 16px; font-weight: 700;
}
.language-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.wishlist-btn:hover, .language-btn:hover { box-shadow: var(--soft-shadow); }
.wishlist-btn:focus-visible, .language-btn:focus-visible, .scanner-btn:focus-visible, .bottom-item:focus-visible, .state-tab:focus-visible {
  outline: 3px solid rgba(78,145,255,.24); outline-offset: 2px;
}
.navbar-search-wrap { display: none; position: relative; margin-top: 18px; z-index: auto; }
.safhat-navbar[data-state="search"] .navbar-search-wrap,
.safhat-navbar[data-state="active"] .navbar-search-wrap { display: block; }

.search-icon { position: absolute; right: 17px; top: 50%; transform: translateY(-50%); width: 27px; height: 27px; fill: none; stroke: var(--navy); stroke-width: 1.8; }

.search-field input::placeholder { color: #91a4bf; opacity: 1; }.scanner-btn {
  position: absolute; left: 7px; top: 7px; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: #f3f8ff; color: var(--navy); display: grid; place-items: center; cursor: pointer;
}
.scanner-btn svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-dropdown {
  display: none; position: absolute; top: 72px; left: 0; right: 0; background: rgba(255,255,255,.98);
  border: 1px solid rgba(216,229,247,.75); border-radius: 18px; padding: 16px 16px 13px;
  box-shadow: var(--soft-shadow); z-index: 20;
}
.search-dropdown::before {
  content: ""; position: absolute; top: -8px; left: 50%; width: 16px; height: 16px;
  transform: translateX(-50%) rotate(45deg); background: white; border-left: 1px solid #e3edf9; border-top: 1px solid #e3edf9;
}
.safhat-navbar[data-state="active"] .search-dropdown { display: block; }
.dropdown-section { position: relative; }
.dropdown-title { display: flex; align-items: center; justify-content: flex-start; gap: 7px; font-size: 16px; font-weight: 800; }
.dropdown-title svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.clear-recent {
  position: absolute; left: 0; top: 0; border: 0; background: transparent; color: #8799b4; cursor: pointer; padding: 2px 0;
}
.recent-list { margin-top: 9px; }
.recent-list > button {
  width: 100%; height: 42px; border: 0; border-bottom: 1px solid #edf2f9; background: transparent;
  color: var(--navy); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 9px; text-align: right; cursor: pointer;
}
.recent-clock { color: #7188aa; font-size: 19px; }
.recent-remove { justify-self: start; color: #6f86a8; font-size: 24px; line-height: 1; }
.trending-section { margin-top: 15px; }
.trending-section .dropdown-title { border-top: 1px solid #edf2f9; padding-top: 13px; }
.trend-arrow { font-size: 24px; font-weight: 500; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.chips button { border: 0; background: #f3f7fc; color: var(--navy); border-radius: 999px; padding: 8px 13px; cursor: pointer; }.stage-feedback {
  margin-top: 12px; min-height: 28px; border-radius: 10px; padding: 7px 10px;
  background: #f3f8ff; color: #5f7698; font-size: 12px; text-align: center;
}
.bottom-test-card { margin-top: 26px; }
.mini-note { margin: 0; color: #7889a0; font-size: 13px; }
.bottom-stage { min-height: 165px; display: flex; flex-direction: column; justify-content: center; }




.nav-icon .outline { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon .filled { display: none; fill: currentColor; stroke: none; }

.bottom-item.is-selected { color: var(--accent); }
.bottom-item.is-selected .outline { display: none; }
.bottom-item.is-selected .filled { display: block; }

.phase-lock { text-align: center; margin: 20px 0 0; color: #8392a8; font-size: 12px; font-weight: 700; letter-spacing: .04em; }#navbarStage[dir="ltr"] .search-icon { left: 17px; right: auto; }
#navbarStage[dir="ltr"] .scanner-btn { right: 7px; left: auto; }
#navbarStage[dir="ltr"] .search-field input { padding: 0 70px 0 57px; text-align: left; }
#navbarStage[dir="ltr"] .recent-list > button { grid-template-columns: 1fr auto auto; text-align: left; }
#navbarStage[dir="ltr"] .clear-recent { right: 0; left: auto; }
#navbarStage[dir="ltr"] .search-dropdown { direction: ltr; }
#navbarStage[dir="ltr"] .dropdown-title { justify-content: flex-start; }

@media (max-width: 700px) {
  .harness { padding: 22px 12px 48px; }
  .test-card { padding: 14px; border-radius: 22px; }
  .test-card__head { align-items: flex-start; flex-direction: column; }
  .state-tabs { justify-content: flex-start; }
}
@media (max-width: 420px) {
  .mobile-stage { padding-inline: 12px; }
  .brand { width: 162px; flex-basis: 162px; }
  .language-btn { min-width: 110px; padding-inline: 13px; }
  .wishlist-btn { width: 46px; height: 46px; flex-basis: 46px; }
  .language-btn { height: 46px; }
  .nav-label { font-size: 10px; }
  .bottom-nav { padding-inline: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
/* === Phase 1 live tuning architecture: semantic prototype tokens === */
:root {
  --safhat-navbar-logo-width: 182px;
  --safhat-logo-inline-offset: 0px;
  --safhat-navbar-wishlist-size: 50px;
  --safhat-navbar-language-height: 50px;
  --safhat-navbar-language-padding-x: 17px;
  --safhat-navbar-search-top-gap: 18px;
  --safhat-navbar-scanner-size: 48px;
  --safhat-nav-surface-shadow-blur: 14px;
  --safhat-nav-surface-shadow-spread: -2px;
  --safhat-nav-surface-shadow-opacity: .08;
  --safhat-nav-cool-blue-tint-intensity: .07;
  --safhat-bottom-nav-inset: 12px;
  --safhat-bottom-nav-icon-size: 28px;
  --safhat-bottom-nav-icon-label-gap: 3px;
  --safhat-services-bridge-width: 82px;
  --safhat-services-bridge-height: 34px;
  --safhat-services-bridge-rise: 20px;
  --safhat-services-icon-size: 31px;
  --safhat-services-icon-y: -8px;
  --safhat-services-glow-blur: 22px;
  --safhat-services-glow-spread: 8px;
  --safhat-services-glow-opacity: .23;
  --safhat-services-glow-hue: 216;
  --safhat-navigation-transition-ms: 180ms;
}
.legacy-test-card { display: none; }
.tuning-card { padding: 22px; }
.tuning-head { align-items: center; }
.tuning-layout {
  display: grid;
  grid-template-columns: 470px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.phone-preview-column { position: sticky; top: 18px; }
.phone-device {
  position: relative;
  width: 510px;
  height: 1012px;
  margin: 0 auto;
  filter: drop-shadow(0 28px 34px rgba(24,52,88,.18));
}
.phone-screen {
  position: absolute;
  z-index: 1;
  left: 40px;
  top: 40px;
  width: 430px;
  height: 932px;
  overflow: hidden;
  border-radius: 55px;
  background:var(--storefront-background);
  clip-path: inset(0 round 55px);
  contain: paint;
}
.phone-frame-overlay {
  position: absolute;
  z-index: 100;
  inset: 0;
  width: 510px;
  height: 1012px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.phone-header-slot {
  position: relative;
  z-index: auto;
  padding: 42px 0 0;
}
.phone-header-slot .safhat-navbar {
  padding-block: 0;
}
.phone-sample-body {
  position: absolute;
  inset: 190px 18px 105px;
  z-index: 1;
  padding-top: 80px;
}
.sample-pill { width: 92px; height: 12px; border-radius: 999px; background: #edf4fc; }
.sample-title { width: 58%; height: 18px; margin-top: 14px; border-radius: 8px; background: #e8f0f9; }
.sample-card {
  height: 120px;
  margin-top: 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f6faff, #edf5fd);
  box-shadow: 0 14px 30px rgba(59,106,169,.06);
}
.sample-card--short { height: 88px; }
.sample-lines { display: grid; gap: 12px; margin-top: 26px; }
.sample-lines i { display: block; height: 10px; border-radius: 999px; background: #edf3fb; }
.sample-lines i:nth-child(2) { width: 82%; }
.sample-lines i:nth-child(3) { width: 64%; }
.phone-bottom-slot {
  position: absolute;
  left: var(--safhat-bottom-nav-inset);
  right: var(--safhat-bottom-nav-inset);
  bottom: 18px;
  z-index: 30;
}
.preview-status {
  width: 430px;
  margin: 12px auto 0;
  min-height: 38px;
  border-radius: 14px;
  padding: 9px 12px;
  background: #eef5fe;
  color: #597397;
  text-align: center;
  font-size: 12px;
}
.navbar-toprow { gap: 12px; }
.brand {
  width: var(--safhat-navbar-logo-width);
  flex-basis: var(--safhat-navbar-logo-width);
  position: relative;
  inset-inline-start: var(--safhat-logo-inline-offset, 0px);
}
.navbar-actions { gap: var(--safhat-navigation-item-gap, 9px); }
.wishlist-btn {
  width: var(--safhat-navbar-wishlist-size);
  height: var(--safhat-navbar-wishlist-size);
  flex-basis: var(--safhat-navbar-wishlist-size);
}
.language-btn {
  height: var(--safhat-navbar-language-height);
  min-width: 0;
  padding-inline: var(--safhat-navbar-language-padding-x);
}
.wishlist-btn, .language-btn, .search-field, .bottom-nav, .storefront-category-card, .storefront-brand-card, .storefront-bundle-card {
  background: linear-gradient(0deg,
    rgba(237,245,255,var(--safhat-nav-cool-blue-tint-intensity)),
    rgba(255,255,255,0)), rgba(255,255,255,.98);
  box-shadow: 0 2px var(--safhat-nav-surface-shadow-blur)
    var(--safhat-nav-surface-shadow-spread)
    rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity));
}
.navbar-search-wrap { margin-top: var(--safhat-navbar-search-top-gap); }


.scanner-btn {
  width: var(--safhat-navbar-scanner-size);
  height: var(--safhat-navbar-scanner-size);
  top: calc((var(--safhat-search-height, 62px) - var(--safhat-navbar-scanner-size)) / 2);
  left: 7px;
}
.search-dropdown {
  top: calc(var(--safhat-search-height, 62px) + 10px);
  box-shadow: 0 3px var(--safhat-nav-surface-shadow-blur)
    var(--safhat-nav-surface-shadow-spread)
    rgba(49,99,164,var(--safhat-nav-surface-shadow-opacity));
}
.phone-screen[dir="ltr"] .search-icon { left: 17px; right: auto; }
.phone-screen[dir="ltr"] .scanner-btn { right: 7px; left: auto; }
.phone-screen[dir="ltr"] .search-field input { text-align: left; }
.phone-screen[dir="ltr"] .recent-list > button { text-align: left; }
.phone-screen[dir="ltr"] .clear-recent { right: 0; left: auto; }
.phone-screen[dir="ltr"] .search-dropdown { direction: ltr; }
.phone-screen[dir="rtl"] .search-field input { text-align: right; }


.nav-icon {
  position: relative;
  border-radius: 50%;
  display: grid;
  place-items: center;
  width: calc(var(--safhat-bottom-nav-icon-size) + 6px);
  height: calc(var(--safhat-bottom-nav-icon-size) + 6px);
  transition: transform var(--safhat-navigation-transition-ms) ease;
}
.nav-icon svg {
  position: absolute;
  width: var(--safhat-bottom-nav-icon-size);
  height: var(--safhat-bottom-nav-icon-size);
}

.tuning-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(177,201,233,.4);
  border-radius: 22px;
  background: rgba(249,252,255,.82);
}
.panel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.panel-actions button, .asset-clear {
  border: 1px solid #cfe0f5;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.panel-actions button:hover, .asset-clear:hover { background: #edf5ff; }
.control-groups { display: grid; gap: 14px; }
.control-group, .asset-test-panel {
  border: 1px solid #e1ebf7;
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  padding: 13px;
}
.control-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.control-group-head h3 { margin: 0; font-size: 12px; letter-spacing: .08em; }
.control-group-head span { color: #8495ad; font-size: 10px; }
.control-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(160px, 1.25fr) 60px;
  align-items: center;
  gap: 10px;
  min-height: 35px;
}
.control-row + .control-row { border-top: 1px solid #eef3fa; }
.control-row label { color: #526b8f; font-size: 11px; font-weight: 700; }
.control-row input[type="range"] { width: 100%; accent-color: #3978cb; }
.control-row output {
  justify-self: end;
  min-width: 54px;
  padding: 4px 7px;
  border-radius: 8px;
  background: #f1f6fd;
  color: #3d5e8b;
  text-align: right;
  font: 700 10px/1.2 Consolas, monospace;
}
.asset-test-panel { margin-top: 14px; }
.asset-controls { display: grid; gap: 7px; }
.asset-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: #526b8f;
}
.asset-row input[type="file"] { min-width: 0; width: 100%; font-size: 10px; color: #7186a3; }
.test-asset-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.asset-replaced > svg { display: none !important; }
.asset-replaced .test-asset-img { display: block; }
.wishlist-btn.asset-replaced .test-asset-img { width: 27px; height: 27px; }
.language-btn.asset-replaced .test-asset-img { width: 26px; height: 26px; flex: 0 0 26px; }
.nav-icon.asset-replaced .test-asset-img {
  width: var(--safhat-bottom-nav-icon-size);
  height: var(--safhat-bottom-nav-icon-size);
}
.safhat-navbar[data-state="active"] .search-field,
.search-field:focus-within {
  border-color: var(--focus);
  box-shadow: 0 0 0 3px var(--glow);
}
@media (max-width: 1050px) {
  .tuning-layout { grid-template-columns: 1fr; }
  .phone-preview-column { position: relative; top: auto; }
  .tuning-panel { width: min(760px, 100%); margin: 0 auto; }
}
@media (max-width: 620px) {
  .tuning-card { padding: 12px; }
  .phone-frame { width: min(456px, 100%); border-radius: 48px; }
  .phone-screen { width: 100%; height: 880px; border-radius: 40px; }
  .preview-status { width: min(430px, 100%); }
  .control-row { grid-template-columns: 1fr; gap: 5px; padding-block: 8px; }
  .control-row output { justify-self: start; }
  .asset-row { grid-template-columns: 1fr; padding-block: 7px; }
  .panel-actions { flex-direction: column; }
}
/* Final Phase-1 geometry corrections from rendered certification. */
.phone-header-slot { padding: 42px 0 0; }
.phone-header-slot .safhat-navbar { padding-block: 0; }
.navbar-toprow {
  padding-inline: 14px;
  padding-block: 0;
}
.navbar-search-wrap {
  margin-inline: 14px;
  margin-top: var(--safhat-navbar-search-top-gap);
}


/* === NAVIGATION PROTOTYPE V2: real iPhone frame + frozen-registry runtime === */
:root {
  --safhat-device-safe-area-top: 59px;
  --safhat-device-safe-area-bottom: 34px;
  --safhat-device-safe-area-inline: 0px;
  --safhat-device-screen-radius: 55px;
  --safhat-header-safe-extra: 0px;
  --safhat-bottom-safe-extra: 0px;
  --safhat-bottom-nav-vertical-offset: 3px;
}
.phone-screen {
  width: 430px;
  height: 932px;
  border-radius: var(--safhat-device-screen-radius);
  clip-path: inset(0 round var(--safhat-device-screen-radius));
  overflow: hidden;
  contain: paint;
}
.phone-frame-overlay {
  z-index: 1000;
  pointer-events: none !important;
}
.phone-header-slot {
  padding-top: calc(var(--safhat-device-safe-area-top) + var(--safhat-header-safe-extra));
  padding-inline: var(--safhat-device-safe-area-inline);
}
.phone-bottom-slot {
  bottom: calc(var(--safhat-bottom-nav-inset, 12px) + var(--safhat-bottom-nav-vertical-offset, 3px));
}
.registry-coverage-summary {
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #dbe8f7;
  border-radius: 16px;
  background: #f5f9ff;
  color: #526b8f;
  font-size: 11px;
  line-height: 1.55;
}
.registry-coverage-summary strong { color: var(--navy); }
.registry-control-groups { display: grid; gap: 14px; }
.registry-control-group {
  border: 1px solid #e1ebf7;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  overflow: hidden;
}
.registry-control-group > summary {
  cursor: pointer;
  list-style: none;
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--navy);
  background: #f9fcff;
}
.registry-control-group > summary::-webkit-details-marker { display: none; }
.registry-control-body { padding: 4px 13px 13px; }
.registry-row {
  display: grid;
  grid-template-columns: minmax(150px,1fr) minmax(150px,1.2fr) 76px;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border-top: 1px solid #eef3fa;
}
.registry-row:first-child { border-top: 0; }
.registry-row label,
.registry-row .registry-label { font-size: 10.5px; font-weight: 700; color: #536d91; }
.registry-row small { display: block; margin-top: 2px; color: #93a0b2; font-size: 9px; font-weight: 500; }
.registry-row input[type="range"] { width: 100%; accent-color: #3978cb; }
.registry-row input[type="text"],
.registry-row select {
  width: 100%;
  min-height: 31px;
  border: 1px solid #d9e6f5;
  border-radius: 9px;
  background: white;
  color: #365980;
  padding: 5px 7px;
  font-size: 10px;
}
.registry-row input[type="color"] {
  width: 52px;
  height: 30px;
  padding: 2px;
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  background: white;
}
.registry-output {
  justify-self: end;
  min-width: 66px;
  padding: 4px 7px;
  border-radius: 8px;
  background: #f1f6fd;
  color: #3d5e8b;
  text-align: right;
  font: 700 9.5px/1.2 Consolas, monospace;
}
.toggle-control {
  justify-self: start;
  width: 42px;
  height: 23px;
  border-radius: 999px;
  border: 0;
  background: #dce7f4;
  padding: 3px;
  cursor: pointer;
}
.toggle-control::after {
  content: "";
  display: block;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 5px rgba(28,60,102,.18);
  transition: transform .18s ease;
}
.toggle-control[aria-checked="true"] { background: #8ab8f1; }
.toggle-control[aria-checked="true"]::after { transform: translateX(19px); }
.order-editor,
.label-editor {
  grid-column: 2 / 4;
  display: grid;
  gap: 6px;
  padding: 7px 0;
}
.order-editor-row,
.label-editor-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 6px;
}
.order-editor-row button {
  width: 26px;
  height: 26px;
  border: 1px solid #d7e4f4;
  border-radius: 7px;
  background: white;
  color: var(--navy);
  cursor: pointer;
}
.label-editor-row input { min-width: 0; }
.expanded-asset-panel-note {
  margin: 7px 0 10px;
  color: #8293aa;
  font-size: 10px;
}
.asset-row { grid-template-columns: 150px minmax(0,1fr) auto; }
.asset-row .asset-slot-meta { display: block; color: #94a2b4; font-size: 9px; margin-top: 2px; }
@media (max-width: 760px) {
  .registry-row { grid-template-columns: 1fr; padding: 8px 0; }
  .registry-output { justify-self: start; }
  .order-editor, .label-editor { grid-column: 1; }
}
/* Registry token adapters: safe presentation properties only. */
.safhat-navbar {
  width: min(100%, var(--safhat-header-width, 430px));
  max-width: min(100%, var(--safhat-header-max-width, 430px));
  min-height: max(var(--safhat-header-min-height, 0px), var(--safhat-header-height, 0px));
  border: var(--safhat-header-border-width, 0px) solid var(--safhat-header-border-color, transparent);
  border-radius: min(var(--safhat-header-border-radius, 0px), var(--radius-lg));
  background-color: color-mix(in srgb, var(--safhat-header-background-color, transparent) calc(var(--safhat-background-transparency, 1) * 100%), transparent);
  overflow: var(--safhat-header-overflow-behavior, visible);
}
.navbar-toprow {
  padding-top: var(--safhat-header-padding-top, 16px);
  padding-right: var(--safhat-header-padding-right, 14px);
  padding-bottom: var(--safhat-header-padding-bottom, 16px);
  padding-left: var(--safhat-header-padding-left, 14px);
  gap: var(--safhat-header-internal-gap, 12px);
  justify-content: var(--safhat-header-content-alignment, space-between);
}
.navbar-search-wrap {
  padding-top: var(--safhat-search-bar-padding-top, 0px);
  padding-right: var(--safhat-search-bar-padding-right, 0px);
  padding-bottom: var(--safhat-search-bar-padding-bottom, 0px);
  padding-left: var(--safhat-search-bar-padding-left, 0px);
}
.search-field {
  position: relative;
  background: var(--surface);
  border: 1.5px solid transparent;
  box-shadow: var(--soft-shadow);
  transition: .18s ease;
  transition-duration: var(--safhat-navigation-transition-ms);
  width: min(100%, var(--safhat-search-width, 430px));
  max-width: min(100%, var(--safhat-search-bar-max-width, 430px));
  min-height: 44px;
  height: var(--safhat-search-height, 62px);
  border-radius: min(var(--safhat-search-radius, 31px), var(--radius-md));
  background-color: #fff;
  border-width: var(--safhat-search-bar-border-width, 1.5px);
  border-color: var(--line);
}
.search-field input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  padding: 0 57px 0 70px;
  text-align: right;
  padding-inline: 57px;
  padding-inline-start: var(--safhat-search-padding-start, 57px);
  padding-inline-end: var(--safhat-search-padding-end, 57px);
  padding-top: var(--safhat-search-padding-top, 0px);
  padding-bottom: var(--safhat-search-padding-bottom, 0px);
  font-size: var(--safhat-search-font-size, 17px);
}
.search-dropdown {
  max-height: var(--safhat-suggestions-max-height, 340px);
  overflow-y: auto;
}
.bottom-nav {
  background: rgba(255,255,255,.98);
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: 6px 11px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  direction: inherit;
  height: var(--safhat-bar-height, 68px);
  min-height: max(var(--safhat-bottom-nav-min-height, 0px), var(--safhat-bar-height, 68px));
  width: min(100%, var(--safhat-bottom-nav-width, 430px));
  max-width: min(100%, var(--safhat-bottom-nav-max-width, 430px));
  padding-top: var(--safhat-bottom-nav-padding-top, 6px);
  padding-right: var(--safhat-bottom-nav-padding-right, 11px);
  padding-bottom: var(--safhat-bottom-nav-padding-bottom, 6px);
  padding-left: var(--safhat-bottom-nav-padding-left, 11px);
  border:1px solid var(--line);
  
  border-radius:var(--radius-md);
  background-color: #fff;
  box-shadow: none;
  column-gap: var(--safhat-item-gap, 5px);
}
.bottom-item {
  position: relative;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #71839c;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  height: calc(var(--safhat-bar-height, 68px) - var(--safhat-bottom-nav-padding-top, 6px) - var(--safhat-bottom-nav-padding-bottom, 6px));
  justify-content: center;
  padding: var(--safhat-item-padding, 0px);
  gap: var(--safhat-bottom-nav-icon-label-gap);
}
.nav-label {
  white-space: nowrap;
  transition: color var(--safhat-navigation-transition-ms) ease;
  color: var(--safhat-inactive-label-color, #71839c);
  font-family: var(--safhat-nav-label-font-family-resolved, var(--font));
  font-size: var(--safhat-label-font-size, 10.5px);
  font-weight: var(--safhat-nav-label-font-weight, 600);
  line-height: var(--safhat-nav-label-line-height, 1.1);
  letter-spacing: var(--safhat-nav-label-letter-spacing, 0px);
  text-align: var(--safhat-nav-label-text-alignment, center);
}
.bottom-item.is-selected .nav-label {
  font-weight: 800;
  color: var(--accent);
}
.bottom-item.is-selected:not(.services-item) .nav-icon {
  background: transparent;
}
.phone-screen[data-labels-visible="false"] .nav-label { display: none; }
.phone-screen[data-suggestion-density="compact"] .recent-list > button { height: 34px; }
.phone-screen[data-suggestion-density="compact"] .chips button { padding: 6px 10px; }
.phone-screen[data-focus-style="border-only"] .safhat-navbar[data-state="active"] .search-field,
.phone-screen[data-focus-style="border-only"] .search-field:focus-within {
  box-shadow: none;
  border-color: var(--focus);
}
.phone-screen[data-focus-style="none"] .safhat-navbar[data-state="active"] .search-field,
.phone-screen[data-focus-style="none"] .search-field:focus-within {
  box-shadow: var(--soft-shadow);
  border-color: transparent;
}
.search-clear-test {
  position: absolute;
  z-index: 4;
  left: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #f3f7fc;
  color: #7489a6;
  display: none;
  place-items: center;
  cursor: pointer;
}
.search-clear-test.is-visible { display: grid; }
.phone-screen[dir="ltr"] .search-clear-test { right: 58px; left: auto; }
.v2-generic-asset,
.v2-search-asset,
.v2-clear-asset,
.v2-nav-asset { object-fit: contain; pointer-events: none; }
.has-v2-generic-asset > svg { display: none !important; }
.wishlist-btn .v2-generic-asset { width: 27px; height: 27px; }
.language-btn .v2-generic-asset { width: 26px; height: 26px; }
.scanner-btn .v2-generic-asset { width: 28px; height: 28px; }
.v2-search-asset {
  position: absolute;
  z-index: 3;
  right: 17px;
  top: 50%;
  width: 27px;
  height: 27px;
  transform: translateY(-50%);
}
.phone-screen[dir="ltr"] .v2-search-asset { left: 17px; right: auto; }
.search-field.has-v2-search-asset > .search-icon { display: none !important; }
.v2-clear-asset { width: 18px; height: 18px; }
.search-clear-test.has-v2-clear-asset { font-size: 0; }
.v2-nav-asset {
  position: absolute;
  width: var(--safhat-bottom-nav-icon-size);
  height: var(--safhat-bottom-nav-icon-size);
  display: none;
}
.bottom-item:not(.is-selected) .nav-icon.has-v2-inactive .outline { display: none !important; }
.bottom-item:not(.is-selected) .nav-icon.has-v2-inactive .v2-nav-asset-inactive { display: block; }
.bottom-item.is-selected .nav-icon.has-v2-active .filled { display: none !important; }
.bottom-item.is-selected .nav-icon.has-v2-active .v2-nav-asset-active { display: block; }

/* === V2.2 Owner editor UX refinements (test-only) === */
.phone-preview-column { align-self: start; position: sticky; top: 18px; height: max-content; }
.panel-actions {
  position: sticky; top: 12px; z-index: 45;
  margin: -4px -4px 16px; padding: 10px;
  border: 1px solid rgba(202,219,240,.72); border-radius: 16px;
  background: rgba(249,252,255,.94); backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(54,94,147,.08);
}
.panel-actions button:active, .asset-clear:active { transform: translateY(1px) scale(.98); }
.panel-actions button:disabled { opacity: .42; cursor: not-allowed; background: #f5f8fc; }
.preview-status { opacity: 0; transform: translateY(4px); transition: opacity .2s ease, transform .2s ease; pointer-events: none; }
.preview-status.is-toast-visible { opacity: 1; transform: translateY(0); }
.search-dropdown { scrollbar-width: none; -ms-overflow-style: none; }
.search-dropdown::-webkit-scrollbar { width: 0; height: 0; display: none; }
@media (max-width: 1050px) {
  .phone-preview-column { position: relative; top: auto; }
  .panel-actions { top: 8px; }
}

body[data-safhat-surface="editor"] .preview-status {
  position: fixed; z-index: 2200; right: 22px; bottom: 22px;
  width: min(360px, calc(100vw - 44px)); margin: 0;
  min-height: 0; padding: 11px 14px;
  border: 1px solid rgba(184,207,236,.72);
  background: rgba(245,250,255,.96);
  box-shadow: 0 14px 36px rgba(47,91,148,.14);
  backdrop-filter: blur(10px);
}

/* === V2.3 governed editor dedup + required-control wiring === */
.navbar-actions { gap: var(--safhat-navigation-item-gap, 9px); }
.navbar-toprow {
  width: min(100%, var(--safhat-content-max-width, 430px));
  margin-inline: auto;
}
.phone-screen[dir="rtl"] .navbar-toprow {
  padding-right: var(--safhat-header-padding-left, 14px);
  padding-left: var(--safhat-header-padding-right, 14px);
}
.navbar-search-wrap {
  width: min(calc(100% - var(--safhat-header-padding-right, 14px) - var(--safhat-header-padding-left, 14px)), var(--safhat-content-max-width, 430px));
  margin-left: auto; margin-right: auto;
}
.navbar-toprow.has-inline-search { flex-wrap: wrap; }
.navbar-toprow.has-inline-search .navbar-search-wrap { flex: 1 1 180px; width: auto; max-width: none; margin: 0; }
.phone-header-slot { transition: transform var(--safhat-navigation-transition-ms) ease, opacity var(--safhat-navigation-transition-ms) ease; }
.phone-screen[data-header-sticky="true"] .phone-header-slot { position: sticky; top: 0; }
.phone-screen[data-header-sticky="true"] .phone-header-slot:has(.safhat-navbar[data-state="active"]) { z-index: 10; }
.phone-screen[data-header-sticky="false"] .phone-header-slot { position: relative; }
.phone-screen[data-header-scroll-state="hidden"] .phone-header-slot { transform: translateY(-110%); opacity: 0; pointer-events: none; }
.phone-screen[data-header-scroll-state="compact"] .phone-header-slot .navbar-search-wrap { display: none !important; }
.search-clear-test[data-clear-visibility="hidden"] { display: none !important; }
.search-clear-test[data-clear-visibility="visible"] { display: grid !important; }
.search-dropdown[data-presentation="floating-panel"] { transform: translateY(var(--safhat-navbar-search-top-gap)); }

/* === V2.3 editor accordion presentation === */
.editor-accordion-group { overflow: hidden; }
.editor-accordion-group > summary { cursor: pointer; list-style: none; user-select: none; }
.editor-accordion-group > summary::-webkit-details-marker { display: none; }
.control-group.editor-accordion-group { padding: 0; }
.control-group.editor-accordion-group > .control-group-head { margin: 0; padding: 13px; }
.control-group.editor-accordion-group > .control-group-body { padding: 0 13px 13px; }
.asset-test-panel.editor-accordion-group { padding: 0; }
.asset-test-panel.editor-accordion-group > .control-group-head { margin: 0; padding: 13px; }
.asset-test-panel.editor-accordion-group > .asset-controls { padding: 0 13px 13px; }
.editor-accordion-group[open] > summary { background: #f9fcff; }
/* =========================================================
   STOREFRONT STUDIO CONTROLLED HOMEPAGE/HERO EXTENSION
   Same approved prototype stylesheet; no parallel CSS system.
   ========================================================= */
.harness { width: min(1680px, 100%); }
.tuning-card { overflow: visible; }
.tuning-head { align-items: flex-start; }
.mini-note { margin: 0; max-width: 520px; color: #6f829d; font-size: 12px; line-height: 1.5; text-align: end; }
.tuning-layout {
  grid-template-columns: minmax(260px, 300px) minmax(520px, 1fr) minmax(390px, 440px);
  gap: 18px;
}
.studio-structure-panel,
.studio-settings-panel {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(160,187,224,.34);
  border-radius: 22px;
  box-shadow: 0 16px 42px rgba(47,96,162,.08);
}
.studio-structure-panel {
  position: sticky;
  top: 18px;
  padding: 16px;
  max-height: calc(100vh - 36px);
  overflow: auto;
}
.studio-panel-head,
.studio-inspector-head {
  display: grid;
  gap: 4px;
  padding: 2px 2px 14px;
}
.studio-panel-head strong,
.studio-inspector-head strong { font-size: 17px; color: var(--navy); }
.studio-inspector-head small { color: #7d90aa; font-size: 11px; }
.studio-global-nav { display: grid; gap: 7px; }
.studio-tree-button,
.studio-section-select {
  width: 100%;
  border: 1px solid #e0e9f5;
  background: #fbfdff;
  color: #294a75;
  border-radius: 13px;
  padding: 10px 11px;
  text-align: start;
  cursor: pointer;
}
.studio-tree-button { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.studio-tree-button small,
.studio-section-select small { display: block; margin-top: 3px; color: #8a9bb2; font-size: 9px; letter-spacing: .06em; }
.studio-tree-button.is-selected,
.studio-section-card.is-selected .studio-section-select,
.studio-slide-list button.is-selected {
  background: #edf5ff;
  border-color: #bcd7fb;
  color: var(--navy);
  box-shadow: none;
}
.studio-tree-divider { height: 1px; background: #e8eef7; margin: 14px 0; }
.studio-page-field { display: grid; gap: 6px; color: #5f78a0; font-size: 11px; font-weight: 800; }
.studio-page-field select,
.studio-add-row select,
.studio-setting-row select,
#sectionInspector select,
#sectionInspector input:not([type="file"]):not([type="range"]):not([type="checkbox"]):not([type="color"]),
#sectionInspector textarea {
  width: 100%;
  border: 1px solid #dbe7f5;
  border-radius: 11px;
  background: #fff;
  color: var(--navy);
  padding: 9px 10px;
}
.studio-page-note { margin: 9px 0 12px; color: #7b8fa9; font-size: 10px; line-height: 1.45; }
.studio-page-field select,.studio-add-row select,.studio-setting-row select,#sectionInspector select { appearance:none; padding-inline-end:30px; background-image:linear-gradient(45deg,transparent 50%,#6882a6 50%),linear-gradient(135deg,#6882a6 50%,transparent 50%); background-position:calc(100% - 16px) 50%,calc(100% - 12px) 50%; background-size:4px 4px; background-repeat:no-repeat; }
[dir="rtl"] :is(.studio-page-field,.studio-add-row,.studio-setting-row,#sectionInspector) select { background-position:16px 50%,20px 50%; }
.studio-section-list { display: grid; gap: 9px; }
.studio-section-card {
  border: 1px solid #e1eaf6;
  border-radius: 15px;
  padding: 7px;
  background: #fff;
}
.studio-section-select { border: 0; padding: 7px 8px; }
.studio-section-flags { display: flex; gap: 5px; flex-wrap: wrap; padding: 5px 8px; }
.studio-section-flags span {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .05em;
  color: #6882a6;
  background: #f0f6fd;
  border-radius: 999px;
  padding: 4px 6px;
}
.studio-section-actions,
.studio-slide-actions { display: flex; gap: 5px; flex-wrap: wrap; padding: 5px 7px 2px; }
.studio-section-actions button,
.studio-slide-actions button,
.studio-add-row button,
.studio-media-cell button,
#sectionInspector button {
  border: 1px solid #dbe7f5;
  background: #f8fbff;
  color: #5e789c;
  border-radius: 8px;
  padding: 6px 7px;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.studio-section-actions button:disabled,
.studio-slide-actions button:disabled,
.studio-add-row button:disabled,
#sectionInspector button:disabled { opacity: .42; cursor: not-allowed; }
.studio-add-row { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 12px; }
.studio-fail-closed-note,
.studio-setting-note,
.studio-empty-state {
  color: #7b8ca5;
  font-size: 10px;
  line-height: 1.5;
}
.studio-fail-closed-note { margin: 11px 2px 0; padding-top: 10px; border-top: 1px solid #edf2f8; }
.studio-preview-column { position: sticky; top: 18px; min-width: 0; }
.studio-preview-toolbar { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 auto 11px; flex-wrap: wrap; }
.studio-segmented {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid #dce8f6;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 8px 20px rgba(47,96,162,.05);
}
.studio-segmented button {
  border: 0;
  background: transparent;
  color: #7489a7;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.studio-segmented button.is-active { background: #eaf3ff; color: var(--navy); }
.device-preview-shell.phone-device {
  position: relative;
  width: var(--device-frame-width, 510px);
  height: var(--device-frame-height, 1012px);
  margin: 0 auto;
  filter: drop-shadow(0 28px 34px rgba(24,52,88,.18));
  transition: width .24s ease, height .24s ease;
}
.device-preview-screen.phone-screen {
  left: var(--device-screen-x, 40px);
  top: var(--device-screen-y, 40px);
  width: var(--device-screen-width, 430px);
  height: var(--device-screen-height, 932px);
  border-radius: var(--device-screen-radius, 55px);
  clip-path: inset(0 round var(--device-screen-radius, 55px));
  background:var(--storefront-background);
}
.device-frame-overlay.phone-frame-overlay {
  width: var(--device-frame-width, 510px);
  height: var(--device-frame-height, 1012px);
}
.device-profile-gate {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 28px;
  text-align: center;
  background: rgba(250,253,255,.98);
  color: var(--navy);
}
.device-profile-gate[hidden] { display: none; }
.device-profile-gate span { color: #6f829d; font-size: 11px; line-height: 1.55; max-width: 380px; }
.studio-device-meta {
  width: min(620px, 100%);
  margin: 10px auto 0;
  color: #6f829d;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}
.studio-preview-column .preview-status { width: min(620px, 100%); }
.storefront-sections-host {
  position: relative;
  z-index: 4;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 16px 24px;
  scrollbar-width: none;
}
.device-preview-screen.phone-screen { display: flex; flex-direction: column; }
.device-preview-screen.phone-screen > .phone-header-slot { flex: 0 0 auto; }
.device-preview-screen.phone-screen > .storefront-sections-host { margin-bottom: 104px; }
.storefront-sections-host::-webkit-scrollbar { display: none; }
.storefront-preview-empty {
  margin-top: 28px;
  padding: 22px 18px;
  border: 1px dashed #cfdced;
  border-radius: 18px;
  color: #7790af;
  text-align: center;
  font-size: 12px;
  line-height: 1.55;
  background: #fbfdff;
}
.storefront-hero-section { width: 100%; margin: 0 0 14px; }
.storefront-hero-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 2px solid #fff;
  border-radius: 18px;
  background: linear-gradient(180deg,#f9fcff,#eef6ff);
  box-shadow: 0 2px 14px -2px rgba(61,121,188,.08), 0 0 6px rgba(112,170,236,.05);
  touch-action: pan-y;
  user-select: none;
}
.storefront-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.storefront-hero-slide.is-active { z-index: 2; opacity: 1; pointer-events: auto; }
.storefront-hero-slide.is-leaving { z-index: 1; opacity: 1; }
.storefront-hero-slide img { display: block; width: 100%; height: 100%; }
.storefront-hero-media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #7b90ab;
  text-align: center;
  font-size: 11px;
  background: linear-gradient(135deg,#f7fbff,#eaf4ff);
}
.storefront-hero-dots {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: var(--hero-dot-inset, 14px);
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(8px);
}
.storefront-hero-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b8c8db;
  cursor: pointer;
}
.storefront-hero-dots button.is-active { background: var(--accent); transform: scale(1.18); }
.storefront-service-grid-section { width: 100%; min-width: 0; }
.storefront-service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--service-card-gap, 5px);
  align-items: stretch;
  width: 100%;
  min-width: 0;
}
.storefront-service-card {
  position: relative;
  width: min(100%, var(--service-card-target-width, 64px));
  max-width: 100%;
  height: var(--service-card-height, 96px);
  min-width: 0;
  justify-self: center;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  gap: var(--service-label-gap, 6px);
  padding: 11px 5px 9px;
  border: 0;
  border-radius: min(var(--service-card-radius, 20px), var(--radius-md));
  overflow: hidden;
  background: linear-gradient(0deg,
    rgba(237,245,255,var(--safhat-nav-cool-blue-tint-intensity)),
    rgba(255,255,255,0)), rgba(255,255,255,.98);
  box-shadow: 0 2px var(--safhat-nav-surface-shadow-blur)
    var(--safhat-nav-surface-shadow-spread)
    rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity));
  color: var(--navy);
  text-align: center;
  cursor: pointer;
}
.storefront-service-card:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.storefront-service-icon { width: var(--service-icon-size, 34px); height: var(--service-icon-size, 34px); display: grid; place-items: center; min-width: 0; }
.storefront-service-icon img,
.storefront-service-default-icon { display: block; width: 100%; height: 100%; object-fit: contain; }
.storefront-service-default-icon { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.storefront-service-label { width: 100%; min-width: 0; color: var(--navy); font-size: var(--service-label-size, 11px); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.storefront-service-card.is-image-mode { display: block; padding: 0; }
.storefront-service-full-image { display: block; width: 100%; height: 100%; }
.storefront-service-card:has(.service-home-title) { position:relative; }
.service-home-title { position:absolute; inset-inline:0; inset-block-end:0; padding:3px 2px; background:#142c4bea; color:white; font-size:12px; line-height:1.1; font-weight:700; text-align:center; }
.storefront-category-carousel-section { width: 100%; min-width: 0; background: transparent; }

.storefront-category-carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: var(--category-header-gap, 8px); min-width: 0; background: transparent; }

.storefront-category-carousel-title { margin: 0; min-width: 0; color: var(--navy); font-size: var(--category-title-font-size, 14px); line-height: 1.2; font-weight: 750; overflow-wrap: anywhere; }

.storefront-category-view-more {

  flex: 0 0 auto;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 4px;

  min-height: var(--category-view-more-min-height, 24px);

  border: 0;

  border-radius: 999px;

  padding: 4px 8px;

  background: rgba(237,245,255,.78);

  color: var(--navy);

  font-size: 10px;

  line-height: 1.1;

  font-weight: 700;

  cursor: pointer;

  white-space: nowrap;

}

.storefront-category-view-more-label { display: inline-flex; align-items: center; line-height: 1; }
.storefront-category-view-more-arrow { display: inline-flex; align-items: center; justify-content: center; width: 1em; height: 1em; font-size: 11px; line-height: 1; font-weight: 700; transform: translateY(-1px); }

.storefront-category-view-more:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

.storefront-category-carousel-track {

  display: grid;

  grid-auto-flow: column;

  grid-auto-columns: var(--category-card-width, 72px);

  gap: var(--category-card-gap, 6px);

  width: 100%;

  min-width: 0;

  overflow-x: auto;

  overflow-y: hidden;

  overscroll-behavior-inline: contain;

  scroll-snap-type: inline proximity;

  scrollbar-width: none;

  padding-inline: 3px;

  padding-block: calc(var(--safhat-nav-surface-shadow-blur, 14px) + max(var(--safhat-nav-surface-shadow-spread, -2px), 0px) + 2px);

  margin-block: calc(3px - (var(--safhat-nav-surface-shadow-blur, 14px) + max(var(--safhat-nav-surface-shadow-spread, -2px), 0px) + 2px));

  background: transparent;

}

.storefront-category-carousel-track::-webkit-scrollbar { display: none; }
.storefront-category-carousel-section[data-five-cards="true"] .storefront-category-carousel-track { grid-auto-flow:row; grid-template-columns:repeat(5,minmax(0,1fr)); grid-auto-columns:auto; overflow:visible; scroll-snap-type:none; }
.storefront-category-carousel-section[data-five-cards="true"] .storefront-category-card-slot { width:100%; }

/* SEC-16: existing carousel owns scrolling; three slots derive from its content width.
   Card width only changes inset within a slot. Global elevation is consumed above. */
.storefront-bundle-section { min-width:0; max-width:100%; margin-block:var(--bundle-top) var(--bundle-bottom); padding-inline:var(--bundle-gutter); color:var(--navy); }
.storefront-bundle-header { display:flex; align-items:center; gap:var(--bundle-headerIconGap); margin-bottom:var(--bundle-headerGap); min-width:0; }
.storefront-bundle-header-icon { display:flex; align-items:center; justify-content:center; flex:none; width:var(--bundle-headerIconWidth); height:var(--bundle-headerIconHeight); border-radius:var(--bundle-headerIconRadius); background:var(--bundle-headerIconBackground); font-size:var(--bundle-headerIconSize); overflow:hidden; }
.storefront-bundle-header-icon img { display:block; width:var(--bundle-headerIconSize); height:var(--bundle-headerIconSize); max-width:100%; max-height:100%; object-fit:contain; object-position:center; }
.storefront-bundle-heading { margin:0; min-width:0; font-size:var(--bundle-sectionTitleSize); font-weight:var(--bundle-sectionTitleWeight); line-height:1.25; overflow-wrap:anywhere; }
.storefront-bundle-view-all { flex:none; margin-inline-start:auto; border:0; border-radius:var(--radius-sm); padding:5px 7px; background:var(--accent-soft); color:var(--accent); display:flex; align-items:center; justify-content:center; gap:var(--bundle-viewAllArrowGap); font-size:var(--bundle-viewAllSize); font-weight:var(--bundle-viewAllWeight); max-width:45%; }
.storefront-bundle-view-label { min-width:0; overflow-wrap:anywhere; }
.storefront-bundle-view-all[data-arrow-align="before"] svg { order:-1; }
.storefront-bundle-view-all svg { display:block; flex:none; width:var(--bundle-viewAllArrowSize); height:var(--bundle-viewAllArrowSize); fill:none; stroke:currentColor; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; }
.storefront-bundle-track { box-sizing:border-box; grid-auto-columns:calc((100% - 2 * var(--bundle-gap)) / 3); padding-inline:0; }
.storefront-bundle-slot { min-width:0; display:flex; justify-content:center; scroll-snap-align:start; }
.storefront-bundle-card { box-sizing:border-box; width:var(--bundle-width); max-width:100%; min-width:0; min-height:var(--bundle-height); padding:var(--bundle-padding); border:1px solid var(--line); border-radius:min(var(--bundle-radius),var(--radius-md)); background-color:#fff; display:flex; flex-direction:column; align-items:center; }
.storefront-bundle-media { box-sizing:border-box; width:100%; height:var(--bundle-imageHeight); flex:none; padding:0; border-radius:min(var(--bundle-imageRadius),var(--radius-sm)); overflow:hidden; }
.storefront-bundle-media[data-empty] { background:#f0f4f9; }
.storefront-bundle-media img { display:block; width:100%; height:100%;     }
.storefront-bundle-section[data-presentation-only="false"] .storefront-bundle-media { padding:0; }
.storefront-bundle-title { width:100%; margin:var(--bundle-imageTitleGap) 0 0; font-size:var(--bundle-titleSize); font-weight:var(--bundle-titleWeight); text-align:center; line-height:1.3; overflow-wrap:anywhere; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--bundle-titleLines); overflow:hidden; }
.storefront-bundle-count { width:100%; margin:var(--bundle-titleCountGap) 0 0; font-size:var(--bundle-countSize); font-weight:var(--bundle-countWeight); color:var(--bundle-countColor); text-align:center; line-height:1.3; overflow-wrap:anywhere; }
.storefront-bundle-prices { width:100%; min-width:0; display:flex; align-items:baseline; justify-content:var(--bundle-price-align); gap:var(--bundle-priceGap); margin-top:var(--bundle-countPriceGap); }
.storefront-bundle-current { min-width:0; display:flex; align-items:center; gap:var(--bundle-currencyGap); color:var(--bundle-priceColor); font-size:var(--bundle-priceSize); font-weight:var(--bundle-priceWeight); line-height:1.3; }
.storefront-bundle-currency { display:block; flex:none; width:var(--bundle-currencySize); height:var(--bundle-currencySize); object-fit:contain; }
.storefront-bundle-amount { min-width:0; overflow-wrap:anywhere; }
.storefront-bundle-compare { min-width:0; color:var(--bundle-compareColor); font-size:var(--bundle-compareSize); line-height:1.3; overflow-wrap:anywhere; text-decoration:line-through; }
.storefront-bundle-action { box-sizing:border-box; flex:none; width:var(--bundle-actionWidth); max-width:100%; height:var(--bundle-actionHeight); margin-top:var(--bundle-priceActionGap); padding:0; border:0; border-radius:min(var(--bundle-actionRadius),var(--radius-sm)); background:var(--bundle-actionBackground); color:var(--bundle-arrowColor); display:flex; align-items:center; justify-content:center; line-height:0; }
.storefront-bundle-action svg { display:block; flex:none; width:var(--bundle-arrowSize); height:var(--bundle-arrowSize); max-width:100%; max-height:100%; fill:none; stroke:currentColor; stroke-width:var(--bundle-arrowStroke); stroke-linecap:round; stroke-linejoin:round; }
.storefront-bundle-action:focus-visible, .storefront-bundle-view-all:focus-visible, .storefront-bundle-track:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }

/* SEC-28 consumes the existing surface rule above and category carousel track.
   All Brand presentation values are section-local; no elevation owner is added. */
.storefront-brand-section { width:100%; min-width:0; box-sizing:border-box; padding-inline:var(--brand-gutter); margin-block:var(--brand-marginTop) var(--brand-marginBottom); }
.storefront-brand-header { display:flex; align-items:center; gap:var(--brand-headerIconGap); margin-bottom:var(--brand-headerGap); min-width:0; }
.storefront-brand-header h2 { margin:0; min-width:0; font-size:var(--brand-sectionTitleSize); font-weight:var(--brand-sectionTitleWeight); line-height:1.25; color:var(--navy); overflow-wrap:anywhere; }
.storefront-brand-header-icon { display:grid; place-items:center; flex:none; width:var(--brand-headerIconWidth); height:var(--brand-headerIconHeight); border-radius:var(--brand-headerIconRadius); background:var(--brand-headerIconBackground); color:var(--navy); overflow:hidden; }
.storefront-brand-header-icon :is(img,svg) { width:min(var(--brand-headerIconSize),100%); height:min(var(--brand-headerIconSize),100%); object-fit:contain; }
.storefront-brand-track { grid-auto-columns:min(var(--brand-cardWidth),calc(100% - 6px)); }
.storefront-brand-card { box-sizing:border-box; min-width:0; min-height:var(--brand-cardHeight); padding:var(--brand-padding); border:var(--brand-borderWidth) solid var(--brand-borderColor); border-radius:var(--brand-radius); background-color:var(--brand-background); scroll-snap-align:start; display:flex; flex-direction:column; }
.storefront-brand-media { box-sizing:border-box; height:var(--brand-imageHeight); padding:var(--brand-imagePadding); flex:none; min-width:0; overflow:hidden; border-radius:var(--brand-imageRadius); background:#f4f6f9; }
.storefront-brand-media img { display:block; width:100%; height:100%; min-width:0; border-radius:inherit; }
.storefront-brand-body { display:flex; gap:var(--brand-arrowGap); margin-top:var(--brand-imageTitleGap); flex:1; min-width:0; }
.storefront-brand-text { min-width:0; flex:1; text-align:start; }
.storefront-brand-text h3 { margin:0; color:var(--navy); font-size:var(--brand-titleSize); font-weight:var(--brand-titleWeight); line-height:1.3; overflow-wrap:anywhere; }
.storefront-brand-text p { margin:var(--brand-supportGap) 0 0; font-size:var(--brand-supportSize); font-weight:var(--brand-supportWeight); color:var(--brand-supportColor); line-height:1.3; overflow-wrap:anywhere; }
.storefront-brand-arrow { flex:none; align-self:var(--brand-arrow-align); display:flex; align-items:center; justify-content:center; width:var(--brand-arrowWidth); height:var(--brand-arrowHeight); max-width:45%; border:0; padding:0; border-radius:var(--brand-arrowRadius); background:var(--brand-arrowBackground); color:var(--brand-arrowColor); font-size:var(--brand-arrowSize); line-height:0; cursor:default; }
.storefront-brand-arrow:focus-visible, .storefront-brand-track:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
/* SEC-28 image destinations: four complete tiles fit the available content width; the next tiles remain native touch-scroll content. */
.storefront-image-destination-section { margin-block:0 12px; width:100%; min-width:0; box-sizing:border-box; container-type:inline-size; color:var(--navy); --product-section-title-size:16px; --product-header-gap:8px; }
.storefront-image-destination-track { --image-destination-gap:var(--category-card-gap,8px); display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 3 * var(--image-destination-gap)) / 4); gap:var(--image-destination-gap); width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; scroll-snap-type:inline proximity; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.storefront-image-destination-track::-webkit-scrollbar { display:none; }
.storefront-image-destination-card { display:block; width:100%; min-width:0; aspect-ratio:1; overflow:hidden; padding:0; border:0; border-radius:var(--radius-sm); background:var(--control-disabled-bg); scroll-snap-align:start; }
.storefront-image-destination-card img { display:block; width:100%; height:100%; object-fit:cover; }
.storefront-image-destination-card:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.storefront-shopping-benefits-section { box-sizing:border-box; width:100%; min-width:0; }
.storefront-shopping-benefits { display:flex; align-items:center; justify-content:space-around; flex-wrap:wrap; gap:var(--block-gap,8px); margin:0; padding:var(--block-padding,12px); list-style:none; }
.storefront-shopping-benefit { display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; color:var(--navy-2); font-size:12px; line-height:1.35; text-align:start; }
.storefront-shopping-benefit svg { flex:none; width:20px; height:20px; color:var(--accent); }
.storefront-shopping-benefit span { overflow-wrap:anywhere; }
/* Center the chevron's symmetric painted bounds without font-baseline offsets. */
.storefront-brand-arrow > svg { display:block; flex:none; width:1em; height:1em; max-width:100%; max-height:100%; margin:0; }

.storefront-category-card-slot {
  position: relative;
  width: var(--category-card-width, 72px);
  height: var(--category-card-height, 86px);
  min-width: 0;
  overflow: visible;

  border-radius: calc(var(--category-card-border-radius, 14px) + 2px);
  scroll-snap-align: start;
  background: transparent;
}

.storefront-category-card {

  position: relative;

  display: block;

  width: 100%;

  height: 100%;

  min-width: 0;

  padding: 0;

  border: var(--category-card-border-width, 2px) solid var(--category-card-border-color, #fff);

  border-radius: min(var(--category-card-border-radius, 14px), var(--radius-md));

  overflow: hidden;

  color: var(--navy);

  cursor: pointer;

}

.storefront-category-card:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }

.storefront-category-card-media { display: block; width: 100%; height: 100%; min-width: 0; overflow: hidden; }

.storefront-category-card-image { display: block; width: 100%; height: 100%; max-width: 100%; }

/* Home service tiles reuse category artwork while retaining service-card geometry. */
.storefront-service-card.home-service-tile {
  display: block;
  width: min(100%, var(--service-card-target-width, 64px));
  height: max(var(--service-card-height, 96px), 78px);
  min-height: 78px;
  padding: 0;
}
.home-service-tile > .storefront-category-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
}
html[data-safa-keyboard-open] :is(#bottomNav, #previewBottomHost, .clean-bottom-host) {
  visibility: hidden;
  pointer-events: none;
}

.storefront-category-card.is-empty { cursor: default; }

/* SEC-03 Small Promotional Banner: image-first, shorter than Hero, Mobile-first. */
.storefront-small-promo-section { width: 100%; min-width: 0; }
.storefront-small-promo-viewport {
  position: relative; width: 100%; overflow: hidden; min-width: 0;
  border-style: solid; background: linear-gradient(180deg,#f9fcff,#eef6ff);
  box-shadow: 0 2px var(--safhat-nav-surface-shadow-blur,14px)
    var(--safhat-nav-surface-shadow-spread,-2px)
    rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity));
  touch-action: pan-y; user-select: none;
}
.storefront-small-promo-slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.storefront-small-promo-slide.is-active { z-index: 2; opacity: 1; pointer-events: auto; }
.storefront-small-promo-slide.is-leaving { z-index: 1; opacity: 1; }
.storefront-small-promo-slide img { display: block; width: 100%; height: 100%; max-width: 100%; }
.storefront-small-promo-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 14px; color: #7b90ab; text-align: center; font-size: 10px; background: linear-gradient(135deg,#f7fbff,#eaf4ff); }
.storefront-small-promo-dots { position: absolute; z-index: 8; left: 50%; bottom: var(--small-promo-dot-inset,8px); transform: translateX(-50%); display: flex; gap: 6px; align-items: center; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,.72); backdrop-filter: blur(8px); }
.storefront-small-promo-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #b8c8db; cursor: pointer; }
.storefront-small-promo-dots button.is-active { background: var(--accent); transform: scale(1.18); }

/* SEC-08 Compact: one Product Card family. Mobile prototype values; SVE-0523/0927
   own its restrained elevation independently of the Navigation surface tokens. */
.storefront-product-carousel-section {
  width: 100%; min-width: 0;
  margin-block: var(--product-section-top) var(--product-section-bottom);
  color: var(--navy);
}
.storefront-product-section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-block-end: var(--product-header-gap);
}
.storefront-product-section-title {
  flex: 1; min-width: 0; margin: 0; font-size: var(--product-section-title-size);
  line-height: 1.35; font-weight: 750; overflow-wrap: anywhere;
}
.storefront-product-view-all {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  flex-shrink: 0; min-height: var(--product-view-all-height); padding: 3px 9px;
  border: 0; border-radius: 999px; background: #edf5fc; color: var(--navy);
  font-size: 10px; font-weight: 700; line-height: 1; white-space: nowrap; cursor: pointer;
}
.storefront-product-view-all-arrow { display: block; flex: 0 0 12px; width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.storefront-product-carousel-track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: max(var(--product-card-width), var(--product-content-min-width));
  align-items: stretch; gap: var(--product-carousel-gap); width: 100%; min-width: 0;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity; scrollbar-width: none;
  padding: 16px 2px; margin-block: -16px; background: transparent;
}
.storefront-product-carousel-track::-webkit-scrollbar { display: none; }
.storefront-product-card {
  display: flex; flex-direction: column; min-width: 0; min-height: max(var(--product-card-min-height), var(--product-content-min-height));
  padding: var(--product-card-padding); gap: var(--product-card-gap);
  border: var(--product-card-border-width) solid var(--product-card-border-color);
  border-radius: var(--product-card-radius); background: var(--product-card-background);
  box-shadow: 0 2px 12px 0 rgba(47,96,162,var(--product-card-shadow-opacity));
  scroll-snap-align: start; color: var(--navy);
}
.storefront-product-content {
  display: flex; flex: 0 0 auto; flex-direction: column; align-items: stretch;
  gap: 0; width: 100%; min-width: 0;
  padding: 0; border: 0; background: transparent; color: inherit; text-align: start;
  cursor: pointer;
}
.storefront-product-content > * { flex-shrink: 0; }
.storefront-product-image-area {
  display: block; height: var(--product-image-height); min-height: var(--product-image-height);
  width: min(100%, calc(var(--product-image-height) * var(--product-image-ratio)));
  align-self: center; padding: var(--product-image-padding); border:var(--product-card-border-width) solid var(--product-card-border-color); border-radius:max(0px, calc(var(--product-card-radius) - 2px)); background:#f0f3f6; overflow: hidden;
}
.storefront-product-image-area > img,
.storefront-bundle-media img,
.pd-main-image > img,
.pd-thumbnail img,
.pd-viewer-frame img,
.bundle-page-cover img,
.bundle-page-item-image img,
.commerce-media:not(.commerce-service-media) img { width:100%; height:100%; object-fit:cover; object-position:center; padding:0; border:0; }
.storefront-product-image-area img { display: block; width: 100%; height: 100%; max-width: 100%;  }
.storefront-product-title {
  margin-block-start: var(--product-card-gap);
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--product-title-lines);
  line-clamp: var(--product-title-lines); overflow: hidden; overflow-wrap: anywhere;
  font-size: var(--product-title-size); line-height: 1.35; font-weight: 500;
  height: calc(var(--product-title-size) * 1.35 * var(--product-title-lines));
  min-height: calc(var(--product-title-size) * 1.35 * var(--product-title-lines));
  padding-inline-end: 2px; color: var(--navy-2);
}
.storefront-product-price {
  display: flex; align-items: center; justify-content: flex-start; gap: 3px;
  margin-block-start: var(--product-title-price-gap); align-self: flex-start;
  font-size: var(--product-price-size); line-height: 1.35; font-weight: 700;
  direction: ltr; unicode-bidi: isolate; white-space: nowrap;
}
[dir="rtl"] .storefront-product-price { align-self: flex-end; }
.storefront-product-price-value { font-variant-numeric: lining-nums tabular-nums; }
.storefront-product-riyal { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; font-family: "Segoe UI", Tahoma, Arial, sans-serif; font-size: 1em; font-weight: 400; }
.storefront-product-riyal img { display: block; width: 1em; height: 1em; object-fit: contain; }
.storefront-product-actions { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-block-start: 0; }
.storefront-product-wishlist, .storefront-product-cart {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  min-height: 24px; padding: 4px; border: 0; cursor: pointer;
}
.storefront-product-wishlist { width: var(--product-wishlist-size); height: var(--product-wishlist-size); border-radius: 50%; color: var(--product-wishlist-color); background: var(--product-wishlist-background); box-shadow: 0 1px 5px rgba(47,96,162,.06); }
.storefront-product-cart { width: var(--product-cart-width); height: var(--product-cart-height); min-height: 15px; padding-block: min(4px, calc((var(--product-cart-height) - var(--product-cart-icon-size)) / 2)); border-radius: 10px; color: #fff; background: var(--accent); }
.storefront-product-actions svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.storefront-product-wishlist svg { width: var(--product-wishlist-icon-size); height: var(--product-wishlist-icon-size); }
.storefront-product-cart svg { width: var(--product-cart-icon-size); height: var(--product-cart-icon-size); }
.storefront-product-card button:focus-visible, .storefront-product-view-all:focus-visible, .storefront-product-carousel-track:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
/* SEARCH / SEC-09: isolated page overrides of the same Product Card family.
   Card elevation remains the existing Product Card shadow consumer above. */
.storefront-search-results { box-sizing:border-box; min-width:0; margin-inline:-16px; padding:var(--search-pageTop) var(--search-pageGutter) var(--search-pageBottom); color:var(--navy); }
.search-results-heading { margin:var(--search-headingTop) 0 var(--search-headingBottom); font-size:var(--search-headingSize); font-weight:var(--search-headingWeight); line-height:1.25; text-align:var(--search-headingAlign); }
.search-results-count { margin:0 0 var(--search-countGridGap); font-size:var(--search-countSize); font-weight:var(--search-countWeight); color:var(--search-countColor); line-height:1.4; overflow-wrap:anywhere; text-align:var(--search-headingAlign); }
.storefront-search-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:var(--search-columnGap); row-gap:var(--search-rowGap); padding-inline:var(--search-gridPadding); align-items:var(--search-cardAlign); }
.storefront-product-card[data-variant="search"] { position:relative; gap:0; box-sizing:border-box; }
.storefront-product-card[data-variant="search"] .storefront-product-image-area { width:100%; height:var(--search-imageHeight); min-height:var(--search-imageHeight); padding:var(--search-imagePadding); border-radius:var(--search-imageRadius); background:#f0f3f6; box-sizing:border-box; }
.storefront-product-card[data-variant="search"] .storefront-product-title { height:auto; min-height:0; margin:var(--search-titleTop) 0 var(--search-titleBottom); font-size:var(--search-titleSize); font-weight:var(--search-titleWeight); color:var(--navy); -webkit-line-clamp:var(--search-titleLines); line-clamp:var(--search-titleLines); text-align:var(--search-titleAlign); line-height:1.25; padding:0; }
.search-product-variation { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--search-variationLines); overflow:hidden; overflow-wrap:anywhere; font-size:var(--search-variationSize); font-weight:var(--search-variationWeight); color:var(--search-variationColor); text-align:var(--search-variationAlign); line-height:1.3; margin:var(--search-variationTop) 0 var(--search-variationBottom); }
.search-product-prices { display:flex; align-items:center; flex-wrap:wrap; gap:var(--search-compareGap); direction:ltr; margin:var(--search-priceTop) 0 var(--search-priceBottom); }
.storefront-product-card[data-variant="search"] .storefront-product-price { margin:0; align-self:auto; gap:3px; font-size:var(--search-priceSize); font-weight:var(--search-priceWeight); color:var(--search-priceColor); line-height:1.25; }
.search-product-compare { color:var(--search-compareColor); font-size:var(--search-compareSize); font-weight:var(--search-compareWeight); white-space:nowrap; }
.search-product-rating { display:flex; align-items:center; gap:var(--search-starGap); margin:var(--search-ratingTop) 0 var(--search-ratingBottom); }
.search-rating-star { position:relative; display:inline-block; flex-shrink:0; color:#dbe2ec; font-size:var(--search-starSize); line-height:1; }
.search-rating-star > span { position:absolute; left:0; top:0; overflow:hidden; color:var(--search-starColor); white-space:nowrap; }
.search-review-count { margin-inline-start:var(--search-reviewGap); color:var(--search-reviewColor); font-size:var(--search-reviewSize); font-weight:var(--search-reviewWeight); line-height:1; }
.storefront-product-card[data-variant="search"] > .storefront-product-wishlist { position:absolute; z-index:1; top:var(--search-wishlistTop); right:var(--search-wishlistRight); width:var(--search-wishlistSize); height:var(--search-wishlistSize); min-height:0; border-radius:var(--search-wishlistRadius); color:var(--navy); background:#fff; padding:4px; }
.storefront-product-card[data-variant="search"] > .storefront-product-wishlist svg { width:var(--search-wishlistIcon); height:var(--search-wishlistIcon); fill:none; stroke:currentColor; stroke-width:1.8; stroke-linejoin:round; stroke-linecap:round; }
.storefront-product-card[data-variant="search"] .storefront-product-actions { margin-top:auto; padding-block:var(--search-cartTop) var(--search-cartBottom); }
.storefront-product-card[data-variant="search"] .storefront-product-cart { box-sizing:border-box; width:100%; height:auto; min-height:var(--search-cartHeight); border:1px solid var(--control-border); border-radius:min(var(--search-cartRadius),var(--radius-sm)); padding:var(--search-cartPadding); gap:var(--search-cartGap); color:var(--accent); background:var(--accent-soft); font-size:var(--search-cartTextSize); font-weight:var(--search-cartWeight); line-height:1.1; }
.storefront-product-card[data-variant="search"] .storefront-product-cart svg { width:var(--search-cartIcon); height:var(--search-cartIcon); }
.storefront-search-results [hidden] { display:none !important; }
/* Category prototype: existing theme tokens, one template at every depth. */
.storefront-category-core { box-sizing:border-box; min-width:0; margin-inline:-16px; padding:var(--category-top) var(--category-gutter) var(--category-bottom); color:var(--navy); }
.category-core-heading { font-size:var(--category-headingSize); font-weight:var(--category-headingWeight); line-height:1.3; margin:0 0 var(--category-coreGap); overflow-wrap:anywhere; }
.category-core-grid { display:grid; grid-template-columns:repeat(var(--category-columns),minmax(0,1fr)); column-gap:var(--category-columnGap); row-gap:var(--category-rowGap); }
.category-core-card { display:flex; flex-direction:column; min-width:0; border:0; border-radius:var(--category-radius); padding:var(--category-padding); background:var(--category-background); color:var(--navy); gap:var(--category-imageTitleGap); cursor:pointer; box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity)); }
/* Overlay borders preserve Category Index geometry, padding, shadows and exact radii. */
.storefront-category-core[data-preview-source="canonical-menu-projection"] .category-core-card,
.storefront-category-core[data-preview-source="canonical-menu-projection"] .category-core-image { position:relative; }
.storefront-category-core[data-preview-source="canonical-menu-projection"] .category-core-card::after,
.storefront-category-core[data-preview-source="canonical-menu-projection"] .category-core-image::after { content:''; position:absolute; inset:0; pointer-events:none; border:1px solid var(--product-card-border-color); border-radius:inherit; }
.category-core-image { height:var(--category-imageHeight); width:100%; border-radius:var(--category-imageRadius); overflow:hidden; background:var(--cool-blue); }
.category-core-image img { display:block; height:100%; width:100%; object-fit:contain; }
.category-core-title { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--category-titleLines); overflow:hidden; overflow-wrap:anywhere; width:100%; font-size:var(--category-titleSize); font-weight:var(--category-titleWeight); text-align:var(--category-titleAlign); line-height:1.35; }
.category-context-navigation { display:flex; flex-direction:column; align-items:flex-start; gap:6px; margin-bottom:var(--category-navigationGap); font-size:var(--category-breadcrumbSize); min-width:0; }
.category-context-navigation button { border:0; background:transparent; padding:4px 0; color:var(--navy); font:inherit; cursor:pointer; text-align:start; overflow-wrap:anywhere; }
.category-back { font-weight:600 !important; }
.category-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:6px; min-width:0; max-width:100%; }
.category-breadcrumb [aria-current] { color:var(--muted); }
.category-core-card:focus-visible,.category-context-navigation button:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.storefront-category-core [hidden] { display:none !important; }
/* SEC-08 Detailed: one Product Card family, instance-scoped Mobile presentation. */
.storefront-product-carousel-section[data-variant="detailed"] {
  padding-inline: var(--product-detail-gutter); box-sizing: border-box;
}
.storefront-product-carousel-section[data-variant="detailed"] .storefront-product-carousel-track {
  grid-auto-columns: calc((100% - 2 * var(--product-carousel-gap)) / 3);
}
.storefront-product-carousel-section[data-variant="detailed"] .storefront-product-view-all { font-size: var(--product-detail-viewAllSize); }
.storefront-product-card[data-variant="detailed"] { min-height: var(--product-card-min-height); gap: 0; overflow: hidden; }
.storefront-product-card[data-variant="detailed"] .storefront-product-image-area {
  position: relative; width: 100%; border-radius: var(--product-detail-imageRadius);
}
.storefront-product-card[data-variant="detailed"] .storefront-product-title { margin-block-start: var(--product-detail-imageTitleGap); }
.storefront-product-rating {
  display: flex; align-items: center; gap: 3px; direction: ltr; unicode-bidi: isolate;
  margin-block-start: var(--product-detail-titleRatingGap); font-size: var(--product-detail-ratingSize); line-height: 1.35;
}
.storefront-product-rating-star { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; color: #d99117; font-size: var(--product-detail-ratingIconSize); line-height: 1; }
.storefront-product-rating-star img { display: block; width: var(--product-detail-ratingIconSize); height: var(--product-detail-ratingIconSize); object-fit: var(--product-detail-ratingStarFit); }
.storefront-product-rating-value { font-weight: var(--product-detail-ratingValueWeight); line-height: 1; }
.storefront-product-review-count { margin-inline-start: var(--product-detail-ratingReviewGap); color: var(--product-detail-reviewColor); line-height: 1; }
.storefront-product-prices {
  display: flex; align-items: center; direction: ltr; unicode-bidi: isolate; flex-wrap: wrap;
  gap: var(--product-detail-compareGap); margin-block-start: var(--product-detail-ratingPriceGap);
}
.storefront-product-card[data-variant="detailed"] .storefront-product-price { margin: 0; align-self: auto; gap: var(--product-detail-currencyGap); }
.storefront-product-card[data-variant="detailed"] .storefront-product-riyal img { width: var(--product-detail-currencySize); height: var(--product-detail-currencySize); }
.storefront-product-compare { font-size: var(--product-detail-compareSize); color: var(--product-detail-compareColor); white-space: nowrap; text-decoration: line-through; }
.storefront-product-product-badge {
  position: absolute; left: var(--product-detail-badgeX); top: var(--product-detail-badgeY);
  width: var(--product-detail-badgeWidth); height: var(--product-detail-badgeHeight);
  max-width: 100%; box-sizing: border-box; border-radius: var(--product-detail-badgeRadius); overflow: hidden; background: #edf5fc;
}
.storefront-product-image-area .storefront-product-product-badge img { width: 100%; height: 100%; object-fit: var(--product-detail-badgeFit); }
.storefront-product-delivery-badge {
  display: block; width: var(--product-detail-deliveryWidth); height: var(--product-detail-deliveryHeight);
  max-width: 100%; box-sizing: border-box;
  border-radius: var(--product-detail-deliveryRadius); overflow: hidden; background: #edf5fc;
  margin-block-start: var(--product-detail-priceDeliveryGap);
}
.storefront-product-delivery-badge img { display: block; width: 100%; height: 100%; object-fit: var(--product-detail-deliveryFit); }
.storefront-product-card[data-variant="detailed"] .storefront-product-actions {
  justify-content: flex-start; gap: var(--product-detail-actionGap); margin-block-start: var(--product-detail-deliveryActionsGap);
}
.storefront-product-card[data-variant="detailed"] .storefront-product-cart,
.storefront-product-card[data-variant="detailed"] .storefront-product-wishlist { padding: 0; }
.storefront-product-card[data-variant="detailed"] .storefront-product-cart { flex-shrink:1; min-width:0; border-radius: min(var(--product-cart-radius), var(--radius-sm)); }
.storefront-product-card[data-variant="detailed"] .storefront-product-wishlist {
  width: var(--product-wishlist-width); height: var(--product-wishlist-height);
  border-radius: var(--product-wishlist-radius);
}
.studio-service-item-list, .studio-category-item-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; }
.studio-service-item-list button, .studio-category-item-list button { min-width: 0; border: 1px solid #dbe7f5; background: #f8fbff; color: #607b9f; border-radius: 10px; padding: 7px 8px; font-size: 9px; line-height: 1.25; text-align: start; cursor: pointer; }
.studio-service-item-list button.is-selected, .studio-category-item-list button.is-selected { border-color: #a9ccff; background: #eef6ff; color: #173e70; }
/* SEC-28 inspector-only polish: keep existing item state and events unchanged. */
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="select"] {
  min-width: 0; width: 100%; border: 1px solid #dbe7f5; background: #f8fbff; color: #607b9f;
  border-radius: 10px; padding: 8px 10px; font: 700 10px/1.25 var(--font); text-align: start; cursor: pointer;
  transition: border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="select"][aria-pressed="true"] { border-color: #a9ccff; background: #eef6ff; color: #173e70; box-shadow: 0 3px 10px rgba(67,130,207,.08); }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="select"]:hover,
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="select"]:focus-visible { border-color: #8dbbfa; background: #f1f7ff; color: #173e70; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="select"]:focus-visible,
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action]:focus-visible { outline: 2px solid rgba(78,145,255,.28); outline-offset: 2px; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="add"],
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="remove"],
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="up"],
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="down"] {
  border: 1px solid #d3e3f5; border-radius: 9px; padding: 8px 9px; background: #f8fbff; color: #52749c;
  font: 800 9px/1.15 var(--font); cursor: pointer; transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="add"] { background: #eaf4ff; border-color: #a9ccff; color: #174579; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="remove"] { color: #8e5363; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="up"],
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="down"] { padding-inline: 8px; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="add"]:hover,
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="up"]:hover,
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="down"]:hover { background: #eef6ff; border-color: #9fc6f2; color: #173e70; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action="remove"]:hover { background: #fff6f7; border-color: #e8bfc8; color: #854556; }
.studio-inspector-group[data-studio-group="BRAND CARDS"] [data-brand-action][disabled] { opacity: .42; cursor: not-allowed; box-shadow: none; }
.studio-settings-panel { min-width: 0; }
.studio-inspector-head { padding: 4px 4px 13px; border-bottom: 1px solid #e8eef7; margin-bottom: 10px; }
.studio-inspector-group { border: 1px solid #e1eaf6; border-radius: 14px; margin-top: 9px; overflow: hidden; background: #fff; }
.studio-inspector-group > .control-group-head { margin: 0; padding: 13px; }
.studio-inspector-body { padding: 0 13px 13px; display: grid; gap: 10px; }
.studio-setting-row {
  display: grid;
  gap: 7px;
  padding: 9px;
  border: 1px solid #edf2f8;
  border-radius: 11px;
  background: #fcfdff;
  color: #385779;
  font-size: 11px;
  font-weight: 700;
}
#sectionInspector > * { min-width:0; }
#sectionInspector fieldset { margin:0 0 12px; }
#sectionInspector fieldset legend { padding:0 5px; color:var(--navy); font-weight:700; }
#sectionInspector textarea { resize:vertical; min-height:80px; font:inherit; line-height:1.5; }
#sectionInspector input[type="checkbox"] { accent-color:#315d91; width:18px; height:18px; }
#sectionInspector :is(button,input,select,textarea):focus-visible,.studio-add-row :focus-visible { outline:2px solid #8dbbfa; outline-offset:2px; }
#sectionInspector button:hover:not(:disabled) { background:#eaf3ff; border-color:#a9ccff; }
#sectionInspector button[data-destructive="true"],.studio-section-actions [data-section-action="remove"] { color:#9b3d48; border-color:#eccdd1; }
.studio-setting-row > span { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.studio-setting-row span small { color: #8a9bb2; font-size: 8px; font-weight: 700; }
.studio-toggle-row { grid-template-columns: 1fr auto; align-items: center; }
.studio-toggle-row > span { display: block; }
.studio-toggle-row input { width: 18px; height: 18px; }
.studio-range-wrap { display: grid; grid-template-columns: 1fr 56px; gap: 8px; align-items: center; }
.studio-range-wrap input { width: 100%; }
.studio-range-wrap output { text-align: end; color: #5d78a0; font-size: 10px; font-variant-numeric: tabular-nums; }
.studio-setting-note { margin: 0; font-weight: 500; }
.studio-slide-list { display: flex; gap: 6px; flex-wrap: wrap; }
.studio-slide-list button {
  border: 1px solid #dbe7f5;
  background: #f8fbff;
  color: #607b9f;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 9px;
  cursor: pointer;
}
.studio-media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.studio-media-cell {
  display: grid;
  gap: 5px;
  padding: 9px;
  border: 1px solid #e7eef8;
  border-radius: 11px;
  background: #fbfdff;
}
.studio-media-cell strong { font-size: 10px; color: #355474; }
.studio-media-cell span { min-height: 26px; color: #8091a8; font-size: 9px; line-height: 1.4; }
.studio-current-asset { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.studio-current-asset.is-invalid { color: #9b3d48; font-weight: 700; }
.studio-media-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip-path: inset(50%);
}
.studio-media-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.studio-media-picker,
.studio-media-actions button {
  border: 1px solid #d9e6f5;
  border-radius: 8px;
  background: #fff;
  color: #55759c;
  padding: 6px 8px;
  font: 700 9px/1 var(--font);
  cursor: pointer;
}
.studio-media-picker:hover,
.studio-media-actions button:hover { background: #f3f8ff; }
.studio-media-file-input:focus + .studio-media-picker { outline: 2px solid rgba(78,145,255,.28); outline-offset: 2px; }
.studio-trace-box,
.studio-context-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid #dfeaf7;
  border-radius: 12px;
  background: #f7fbff;
  color: #526f94;
  font-size: 10px;
  line-height: 1.45;
}
.studio-context-card p { margin: 0; color: #7287a4; }
[hidden] { display: none !important; }
@media (max-width: 1420px) {
  .harness { width: min(1260px, 100%); }
  .tuning-layout { grid-template-columns: 260px minmax(500px, 1fr) 390px; }
}
@media (max-width: 1180px) {
  .tuning-layout { grid-template-columns: 1fr; }
  .studio-structure-panel,
  .studio-preview-column { position: static; max-height: none; }
  .studio-settings-panel { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .storefront-hero-slide,
  .device-preview-shell.phone-device { transition: none; }
}
/* Global Footer: one mobile reference composition, shared surface tokens. */
.storefront-global-footer { box-sizing:border-box; width:calc(100% + var(--footer-host-start,0px) + var(--footer-host-end,0px)); max-width:none; margin-inline:calc(-1 * var(--footer-host-start,0px)) calc(-1 * var(--footer-host-end,0px)); container-type:inline-size; padding:var(--footer-paddingY) var(--footer-paddingX); background:var(--footer-background); color:#0b2347; border:var(--footer-borderWidth) solid var(--footer-borderColor); border-radius:var(--footer-radius); }
.storefront-global-footer * { box-sizing:border-box; }
.footer-reference { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:var(--footer-gap); max-width:430px; margin-inline:auto; }
.footer-block { min-width:0; min-height:var(--footer-minHeight); padding:var(--footer-padding); border-radius:var(--footer-radius); background:var(--footer-background); border:var(--footer-borderWidth) solid var(--footer-borderColor); box-shadow:0 2px var(--safhat-nav-surface-shadow-blur,18px) var(--safhat-nav-surface-shadow-spread,1px) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity,.07)); }
.footer-support { grid-column:2; grid-row:1; padding:calc(var(--footer-padding) * .75); }
.footer-policies { grid-column:1; grid-row:1; padding:calc(var(--footer-padding) * .75); }
.footer-app,.footer-payment,.footer-social,.footer-bottom { grid-column:1 / -1; }
.footer-heading { display:flex; align-items:center; gap:var(--footer-headingGap); min-width:0; }
.footer-heading h2 { font-size:var(--footer-headingSize); font-weight:var(--footer-headingWeight); color:var(--footer-headingColor); margin:0; line-height:1.45; overflow-wrap:anywhere; }
.footer-heading-icon { display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:var(--footer-iconWidth); height:var(--footer-iconHeight); border-radius:min(var(--footer-iconRadius),var(--radius-sm)); background:var(--accent-soft); border:0; color:var(--accent); }
.storefront-global-footer svg { display:block; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.footer-heading-icon svg { width:var(--footer-iconSize); height:var(--footer-iconSize); }
.footer-links { display:grid; gap:var(--footer-rowGap); margin-top:7px; }
.footer-link { display:flex; align-items:center; width:100%; min-width:0; min-height:var(--footer-rowHeight); gap:var(--footer-rowSpacing); padding:4px 0; background:transparent; border:0; border-bottom:var(--footer-dividerWidth) solid var(--footer-dividerColor); color:inherit; font:inherit; text-align:start; opacity:1; cursor:default; }
.footer-link:last-child { border-bottom:0; }
.footer-link span { flex:1; min-width:0; font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.footer-row-icon { width:var(--footer-rowIconSize); height:var(--footer-rowIconSize); }
.footer-chevron { width:var(--footer-chevronSize); height:var(--footer-chevronSize); }
.storefront-global-footer:dir(rtl) .footer-chevron { transform:rotate(180deg); }
.footer-description { white-space:pre-line; font-size:var(--footer-supportSize); line-height:1.6; color:var(--muted); margin:2px calc(var(--footer-iconWidth) + var(--footer-headingGap)) 0 0; }
.storefront-global-footer:dir(ltr) .footer-description { margin:2px 0 0 calc(var(--footer-iconWidth) + var(--footer-headingGap)); }
.footer-app,.footer-social { display:grid; grid-template-columns:minmax(0,1.12fr) minmax(0,1fr); align-items:center; gap:8px; padding:calc(var(--footer-padding) * .75); }
.footer-media-row { display:flex; justify-content:space-between; align-items:center; gap:5px; min-width:0; direction:ltr; }
.footer-app .footer-media-row { gap:var(--footer-badgeGap); }
.footer-media-placeholder { display:flex; align-items:center; justify-content:center; min-width:0; overflow:hidden; background:#f6f9fc; color:#7b8ba2; border:.5px dashed #cbd7e4; font-size:9px; text-align:center; padding:3px; }
.footer-media-placeholder.has-media { position:relative; border:0; background:transparent; padding:0; }
.footer-media-placeholder.has-media img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:var(--footer-imageFit,contain); border:0; outline:0; object-position:center; }
.footer-media-placeholder.has-media .footer-visible-artwork { display:block; width:100%; height:100%; flex:none; }
/* Only pages with a rendered Footer use the derived persistent-nav composition reserve. */
#phoneScreen > #storefrontSectionsHost[data-footer-composition="true"] { padding-bottom:var(--footer-end-padding); margin-bottom:var(--footer-nav-reserve); }
.footer-app .footer-media-placeholder { width:var(--footer-badgeWidth); max-width:calc((100% - var(--footer-badgeGap))/2); height:var(--footer-badgeHeight); border-radius:6px; }
.footer-payment { padding-block:calc(var(--footer-padding) * .6); }
.footer-payment .footer-media-row { margin-top:8px; }
.footer-payment .footer-media-placeholder { flex:1; height:35px; border-radius:10px; font-size:8px; }
.footer-social .footer-media-placeholder { flex:1; aspect-ratio:1; max-height:32px; border-radius:50%; font-size:7px; }
.footer-social .footer-heading h2 { font-size:min(var(--footer-headingSize),14px); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-block:8px; }
.footer-copyright { flex:1; margin:0; font-size:10px; line-height:1.5; }
.footer-languages { display:flex; align-items:center; gap:4px; direction:ltr; padding-inline-end:16px; border-inline-end:1px solid #cbd7e4; }
.footer-languages svg { width:17px; height:17px; }
.footer-languages button { background:white; border:1px solid var(--control-border); color:var(--navy); border-radius:var(--radius-sm); padding:6px 10px; font:inherit; font-size:10px; min-height:27px; cursor:pointer; }
.footer-languages button[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:var(--accent); font-weight:700; }
.storefront-global-footer button:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.footer-owner-logo,.footer-owner-decorative { grid-column:1 / -1; max-width:100%; width:auto; height:32px; object-fit:contain; justify-self:center; }
.storefront-global-footer[data-footer-mode="COMPACT"] .footer-block { min-height:0; }
@container (max-width:365px) {
  .footer-heading h2 { font-size:calc(var(--footer-headingSize) * .88); }
  .footer-heading { gap:calc(var(--footer-headingGap) * .65); }
  .footer-heading-icon { width:calc(var(--footer-iconWidth) * .9); height:calc(var(--footer-iconHeight) * .9); }
  .footer-block { padding:calc(var(--footer-padding) * .8); }
  .footer-link span { font-size:10px; }
  .footer-link { gap:calc(var(--footer-rowSpacing) * .6); }
  .footer-languages { padding-inline-end:7px; }
  .footer-languages button { padding:5px 7px; }
  .footer-copyright { font-size:9px; }
}
/* Dedicated Search utility presentation; all controls below are prototype-only
   CSS presentation seams, not new SVE IDs or persisted camera/Search state. */
.phone-screen.scanner-utility-active #storefrontSectionsHost,
.phone-screen.scanner-utility-active #searchWrap,
.phone-screen.scanner-utility-active #bottomNav,
.phone-screen.scanner-utility-active .storefront-global-footer { display:none !important; }
.scanner-utility-page {
  --scanner-top:26px; --scanner-bottom:32px; --scanner-gutter:6%;
  --scanner-title-size:28px; --scanner-title-weight:700; --scanner-title-color:var(--navy,#142f54);
  --scanner-subtitle-size:17px; --scanner-subtitle-weight:500; --scanner-subtitle-color:#8698b5; --scanner-title-gap:8px;
  --scanner-camera-width:100%; --scanner-camera-height:auto; --scanner-camera-radius:26px;
  --scanner-frame-width:62%; --scanner-frame-height:49%; --scanner-corner-length:30px; --scanner-corner-thickness:5px; --scanner-corner-radius:16px; --scanner-corner-color:#fff;
  --scanner-line-display:block; --scanner-line-thickness:2px; --scanner-line-opacity:.85; --scanner-line-color:#b5efff;
  --scanner-torch-size:46px; --scanner-torch-radius:50%; --scanner-torch-background:#fff; --scanner-torch-icon:24px; --scanner-torch-color:var(--navy,#142f54); --scanner-torch-label:15px; --scanner-torch-offset:7%;
  --scanner-or-spacing:29px; --scanner-or-line-width:24%; --scanner-or-thickness:1px; --scanner-or-color:#e0e8f2; --scanner-or-size:17px; --scanner-or-weight:500; --scanner-or-text:#8698b5; --scanner-or-gap:18px;
  --scanner-manual-width:100%; --scanner-manual-height:66px; --scanner-manual-radius:36px; --scanner-manual-background:#fff; --scanner-manual-padding:14px; --scanner-search-icon:24px; --scanner-arrow-size:23px;
  --scanner-manual-title:18px; --scanner-manual-weight:600; --scanner-manual-color:var(--navy,#142f54); --scanner-helper-size:13px; --scanner-helper-weight:500; --scanner-helper-color:#8698b5; --scanner-manual-gap:12px; --scanner-helper-gap:2px;
  position:relative; box-sizing:border-box; flex:1 0 auto; min-width:0; width:100%;
  padding:var(--scanner-top) var(--scanner-gutter) var(--scanner-bottom); color:var(--scanner-title-color); font-family:var(--font);
}
.scanner-utility-page *, .scanner-utility-page *::before, .scanner-utility-page *::after { box-sizing:border-box; }
.scanner-utility-page button { font:inherit; cursor:pointer; border:0; }
.scanner-utility-page h1 { margin:0; text-align:center; font-size:var(--scanner-title-size); font-weight:var(--scanner-title-weight); color:var(--scanner-title-color); line-height:1.4; }
.scanner-subtitle { margin:var(--scanner-title-gap) 0 24px; text-align:center; font-size:var(--scanner-subtitle-size); font-weight:var(--scanner-subtitle-weight); color:var(--scanner-subtitle-color); line-height:1.5; }
.scanner-camera { position:relative; width:min(100%,var(--scanner-camera-width)); height:var(--scanner-camera-height); aspect-ratio:829 / 790; margin-inline:auto; overflow:hidden; border-radius:var(--scanner-camera-radius); background:linear-gradient(135deg,#dce4ed,#f1f5f9); }
.scanner-camera,.scanner-manual { box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity)); }
.scanner-camera video { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.scanner-frame { position:absolute; width:var(--scanner-frame-width); height:var(--scanner-frame-height); left:50%; top:22%; transform:translateX(-50%); pointer-events:none; }
.scanner-frame i { position:absolute; width:var(--scanner-corner-length); height:var(--scanner-corner-length); border:0 solid var(--scanner-corner-color); }
.scanner-frame i:nth-child(1) { left:0; top:0; border-left-width:var(--scanner-corner-thickness); border-top-width:var(--scanner-corner-thickness); border-top-left-radius:var(--scanner-corner-radius); }
.scanner-frame i:nth-child(2) { right:0; top:0; border-right-width:var(--scanner-corner-thickness); border-top-width:var(--scanner-corner-thickness); border-top-right-radius:var(--scanner-corner-radius); }
.scanner-frame i:nth-child(3) { left:0; bottom:0; border-left-width:var(--scanner-corner-thickness); border-bottom-width:var(--scanner-corner-thickness); border-bottom-left-radius:var(--scanner-corner-radius); }
.scanner-frame i:nth-child(4) { right:0; bottom:0; border-right-width:var(--scanner-corner-thickness); border-bottom-width:var(--scanner-corner-thickness); border-bottom-right-radius:var(--scanner-corner-radius); }
.scanner-line { display:var(--scanner-line-display); position:absolute; left:0; right:0; top:50%; height:var(--scanner-line-thickness); background:var(--scanner-line-color); opacity:var(--scanner-line-opacity); }
.scanner-status { position:absolute; top:7%; left:7%; right:7%; margin:0; text-align:center; color:#425d7d; font-size:13px; line-height:1.5; }
.scanner-torch { position:absolute; left:var(--scanner-torch-offset); bottom:14%; width:var(--scanner-torch-size); height:var(--scanner-torch-size); border-radius:var(--scanner-torch-radius); background:var(--scanner-torch-background); color:var(--scanner-torch-color); display:grid; place-items:center; }
.scanner-torch[hidden] { display:none; }
.scanner-torch svg { width:var(--scanner-torch-icon); height:var(--scanner-torch-icon); }
.scanner-torch span { position:absolute; top:calc(100% + 6px); font-size:var(--scanner-torch-label); white-space:nowrap; }
.scanner-or { display:flex; justify-content:center; align-items:center; gap:var(--scanner-or-gap); margin-block:var(--scanner-or-spacing); color:var(--scanner-or-text); font-size:var(--scanner-or-size); font-weight:var(--scanner-or-weight); }
.scanner-or i { width:var(--scanner-or-line-width); height:var(--scanner-or-thickness); background:var(--scanner-or-color); }
.scanner-manual { display:flex; align-items:center; gap:var(--scanner-manual-gap); width:min(100%,var(--scanner-manual-width)); min-height:var(--scanner-manual-height); margin-inline:auto; padding:var(--scanner-manual-padding); border-radius:var(--scanner-manual-radius); background:var(--scanner-manual-background); color:var(--scanner-manual-color); text-align:start; }
.scanner-manual-copy { min-width:0; flex:1; display:grid; gap:var(--scanner-helper-gap); }
.scanner-manual-copy strong { font-size:var(--scanner-manual-title); font-weight:var(--scanner-manual-weight); }
.scanner-manual-copy > span { font-size:var(--scanner-helper-size); font-weight:var(--scanner-helper-weight); color:var(--scanner-helper-color); }
.scanner-search-icon { flex:none; display:grid; place-items:center; width:42px; height:42px; background:#f2f6fb; border-radius:50%; }
.scanner-search-icon svg { width:var(--scanner-search-icon); height:var(--scanner-search-icon); }
.scanner-manual-arrow svg { width:var(--scanner-arrow-size); height:var(--scanner-arrow-size); }
.scanner-utility-page[dir="rtl"] .scanner-manual { direction:ltr; }
.scanner-utility-page[dir="rtl"] .scanner-manual-copy { direction:rtl; text-align:right; }
.scanner-back { position:absolute; inset-inline-start:4px; top:0; width:28px; height:28px; background:transparent; color:inherit; }
.scanner-back svg { width:18px; height:18px; }
.scanner-utility-page[dir="rtl"] .scanner-back svg { transform:rotate(180deg); }

/* Product Detail only: page-local regions, certified global elevation tokens. */
.storefront-pd-region { box-sizing:border-box; min-width:0; margin:var(--pd-top) var(--pd-gutter) var(--pd-bottom); padding:var(--pd-padding); border:var(--pd-borderWidth) solid var(--pd-borderColor); border-radius:min(var(--pd-radius),var(--radius-md)); background:#fff; color:var(--navy); overflow-wrap:anywhere; }
.storefront-pd-region[data-pd-role="MEDIA"],.storefront-pd-region[data-pd-role="DESCRIPTION-SPECS"],.storefront-pd-region[data-pd-role="REVIEWS"],.pd-round-action,.pd-sticky-cart { box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity)); }
.storefront-pd-region button,.pd-viewer button,.pd-sticky-purchase button { font-family:inherit; color:inherit; cursor:pointer; }
.storefront-pd-region button:focus-visible,.pd-viewer button:focus-visible { outline:2px solid #1675ff; outline-offset:2px; }
/* PDP context only: canonical Detailed cards and native carousel, independent geometry. */
.storefront-product-carousel-section[data-pd-cards] .storefront-product-carousel-track { grid-auto-columns:calc((100% - (var(--product-visible-cards) - 1) * var(--product-carousel-gap)) / var(--product-visible-cards)); }
.storefront-product-carousel-section[data-pd-cards] .storefront-product-card { box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--product-card-shadow-opacity)); }
.storefront-product-carousel-section[data-pd-cards] .storefront-product-cart { color:#fff; flex-shrink:1; min-width:0; max-width:100%; }
.storefront-product-carousel-section[data-pd-cards] .storefront-product-wishlist { color:var(--product-wishlist-color); flex-shrink:1; min-width:0; max-width:100%; box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity)); }
.storefront-product-carousel-section[data-pd-cards] .storefront-product-actions svg { max-width:100%; max-height:100%; }
.pd-options-purchase-surface,.storefront-pd-region[data-pd-role="OPTIONS"],.storefront-pd-region[data-pd-role="PURCHASE"] { box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity)); }
.pd-options-purchase-surface { min-width:0; background:#fff; }
.pd-options-purchase-surface > .storefront-pd-region { margin:0; box-shadow:none; }
.pd-options-purchase-surface > .storefront-pd-region:first-child { border-end-start-radius:0; border-end-end-radius:0; }
.pd-options-purchase-surface > .storefront-pd-region:last-child { border-start-start-radius:0; border-start-end-radius:0; }
.pd-gallery { display:grid; grid-template-columns:minmax(0,1fr) var(--pd-thumbSize); gap:var(--pd-railGap); direction:ltr; }
.pd-main-image { display:block; position:relative; width:100%; height:var(--pd-imageHeight); aspect-ratio:var(--pd-aspect); border:0; border-radius:var(--pd-imageRadius); padding:var(--pd-imagePadding); overflow:hidden; background:#f1f4f7; touch-action:pan-y; }
.pd-main-image > img { display:block; width:100%; height:100%; object-fit:var(--pd-fit); }
.pd-thumbnails { display:flex; flex-direction:column; gap:var(--pd-thumbGap); height:var(--pd-imageHeight); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; }
.pd-thumbnails::-webkit-scrollbar { display:none; width:0; height:0; }
.pd-thumbnail { flex:0 0 var(--pd-thumbSize); height:var(--pd-thumbSize); min-height:0; padding:0; overflow:hidden; border:var(--pd-selectedBorder) solid transparent; border-radius:var(--pd-thumbRadius); background:#f1f4f7; }
.pd-thumbnail[aria-pressed="true"] { border-color:var(--pd-selectedColor); }
.pd-thumbnail img { width:100%; height:100%;   }
/* Actual Product raster surfaces only. Existing borders/geometry stay governed. */
:root { --product-media-background:#f1f2f3; }
.storefront-product-image-area { background:var(--product-media-background); }
.storefront-product-image-area > img { object-fit:contain; }
.pd-main-image[data-product-media],.pd-thumbnail[data-product-media] { background:var(--product-media-background); }
.pd-thumbnail[data-product-media] img { object-fit:contain; }
.pd-gallery-track { display:block; position:absolute; inset:var(--pd-imagePadding); pointer-events:none; }
.pd-gallery-slide { display:block; position:absolute; top:0; width:100%; height:100%; object-position:center; }
.pd-counter { position:absolute; bottom:var(--pd-counterOffset); right:var(--pd-counterOffset); border-radius:7px; padding:3px 7px; color:white; background:#0006; font-size:var(--pd-counterSize); }
.pd-metadata { position:absolute; left:var(--pd-badgeOffset); top:var(--pd-badgeOffset); font-size:var(--pd-badgeSize); background:#fff5ed; color:#a75714; border-radius:var(--radius-sm); padding:4px 8px; }
.pd-metadata img { display:block; max-width:100%; height:var(--pd-badgeSize); object-fit:contain; }
.pd-summary-head { display:flex; gap:var(--pd-titleActionGap); align-items:start; }
.pd-summary-copy { flex:1; min-width:0; }
.pd-title { margin:0 0 var(--pd-titleGap); font-size:var(--pd-titleSize); font-weight:var(--pd-titleWeight); line-height:var(--pd-titleLineHeight); text-align:var(--pd-titleAlign); color:var(--pd-titleColor); display:-webkit-box; -webkit-line-clamp:var(--pd-titleLines); -webkit-box-orient:vertical; overflow:hidden; }
.pd-subtitle { margin:0; color:var(--pd-mutedColor); font-size:var(--pd-subtitleSize); }
.pd-summary-actions { display:flex; gap:var(--pd-actionGap); flex:none; }
.pd-round-action { display:grid; place-items:center; width:var(--pd-actionSize); height:var(--pd-actionSize); border:0; border-radius:50%; background:white; padding:0; font-size:var(--pd-actionIcon); }
.pd-round-action svg { width:var(--pd-actionIcon); height:var(--pd-actionIcon); fill:none; stroke:currentColor; stroke-width:1.8; }
.pd-rating { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:var(--pd-ratingGap); font-size:var(--pd-reviewSize); }
.pd-review-count { color:var(--pd-mutedColor); }
.pd-stars { display:inline-flex; gap:var(--pd-starGap,1px); color:#e3e8ef; font-size:var(--pd-starSize,14px); line-height:1.2; white-space:nowrap; }
.pd-star { display:inline-block; position:relative; }
.pd-star-fill { position:absolute; inset:0 auto 0 0; overflow:hidden; color:var(--pd-starColor,#ffb52c); }
.pd-prices { display:flex; flex-wrap:wrap; align-items:center; gap:var(--pd-compareGap); margin-top:var(--pd-priceGap); }
.pd-price { display:inline-flex; align-items:center; gap:var(--pd-currencyGap,4px); font-size:var(--pd-priceSize,18px); font-weight:var(--pd-priceWeight,700); color:var(--pd-priceColor,#102d50); }
.pd-currency { width:var(--pd-currencySize,18px); height:var(--pd-currencySize,18px); object-fit:contain; }
.pd-currency-missing { font-size:.65em; }
.pd-compare { font-size:var(--pd-compareSize); color:var(--pd-mutedColor); }
.pd-option-groups { display:flex; flex-wrap:wrap; align-items:flex-start; gap:var(--pd-groupGap); }
.pd-option-group { flex:1 1 min-content; min-inline-size:0; max-inline-size:100%; }
/* Bound only the rendered Color area; secondary pills wrap within the remaining space. */
.pd-option-group[data-option-type="color"] { --pd-color-cellSize:calc(var(--pd-swatchSize) + 6px + 2 * var(--pd-selectedBorder)); flex:0 1 auto; inline-size:calc(var(--pd-color-columns) * var(--pd-color-cellSize) + (var(--pd-color-columns) - 1) * var(--pd-optionGap)); }
.pd-option-group[data-option-type="color"] .pd-option-values { display:grid; grid-template-columns:repeat(auto-fit,var(--pd-color-cellSize)); }
.pd-option-group h3 { font-size:var(--pd-labelSize); margin:0 0 var(--pd-optionGap); }
.pd-option-values { display:flex; gap:var(--pd-optionGap); flex-wrap:wrap; }
.pd-option { display:grid; place-items:center; box-sizing:border-box; max-inline-size:100%; min-width:var(--pd-optionHeight); min-height:var(--pd-optionHeight); padding:3px 10px; font-size:var(--pd-valueSize); border:var(--pd-selectedBorder) solid var(--control-border); border-radius:min(var(--pd-optionRadius),var(--radius-sm)); background:var(--pd-optionBackground); }
.pd-option[aria-pressed="true"] { border-color:var(--control-selected); background:var(--control-selected-bg); color:#0a66ff; font-weight:700; }
.pd-option:disabled { opacity:.58; cursor:not-allowed; background:var(--control-disabled-bg); }
.pd-quantity-connected,.pd-viewer-controls button { box-shadow:var(--soft-shadow); }
.pd-option[data-option-type="color"] { width:var(--pd-color-cellSize); height:var(--pd-color-cellSize); min-width:0; min-height:0; padding:3px; border-radius:50%; background:white; }
.pd-option[data-option-type="color"][aria-pressed="true"] { border-color:var(--control-selected); }
.pd-swatch { display:block; width:var(--pd-swatchSize); height:var(--pd-swatchSize); border-radius:50%; object-fit:contain; }
.pd-quantity { display:flex; justify-content:flex-end; align-items:center; gap:var(--pd-quantityGap); font-size:var(--pd-quantitySize); }
.pd-quantity button { width:var(--pd-quantityButton); height:var(--pd-quantityButton); border:0; background:#f5f8fc; border-radius:50%; }
.pd-quantity-value { width:3ch; text-align:center; border:0; padding:0; font:inherit; color:inherit; background:transparent; direction:ltr; }
.pd-quantity-connected { display:flex; align-items:center; direction:ltr; gap:var(--pd-quantityGap); background:white; border:1px solid var(--control-border); border-radius:var(--radius-sm); padding:3px; }
.pd-quantity-connected button { background:transparent; }
.pd-sticky-purchase { position:absolute; z-index:35; left:var(--pd-gutter); right:var(--pd-gutter); pointer-events:none; }
.pd-sticky-cart { display:flex; width:100%; height:var(--pd-cartHeight); align-items:center; justify-content:center; gap:var(--pd-cartGap); border:0; border-radius:min(var(--pd-cartRadius),var(--radius-md)); background:var(--accent); color:white!important; font-size:var(--pd-cartTextSize); pointer-events:auto; }
.pd-sticky-cart svg { width:var(--pd-cartIcon); height:var(--pd-cartIcon); stroke:currentColor; fill:none; stroke-width:1.8; }
#phoneScreen.pd-active > #storefrontSectionsHost[data-footer-composition="true"] { margin-bottom:calc(var(--footer-nav-reserve) + var(--pd-purchase-reserve)); }
.scanner-utility-active .pd-sticky-purchase { display:none; }
.pd-delivery-image { display:block; width:100%; height:var(--pd-bannerHeight); object-fit:var(--pd-fit); border-radius:inherit; }
.pd-tabs { display:flex; gap:var(--pd-tabGap); }
.pd-tabs button { flex:1; min-width:0; min-height:var(--pd-tabHeight); border:1px solid var(--control-border); border-radius:min(var(--pd-tabRadius),var(--radius-sm)); background:#fff; font-size:var(--pd-tabSize); }
.pd-tabs button[aria-selected="true"] { border-color:var(--accent); background:var(--accent); color:white; }
.pd-tab-content { margin-top:var(--pd-contentGap); font-size:var(--pd-contentSize); line-height:var(--pd-contentLineHeight); color:#8296b5; }
.storefront-pd-region[data-pd-role="FBT"] .storefront-product-section-title { font-size:var(--pd-headingSize); }
.pd-fbt-item { min-width:0; scroll-snap-align:start; }
.pd-fbt-item > .pd-fbt-select { margin-bottom:var(--pd-itemGap); }
.pd-fbt-select { display:flex; justify-content:center; }
.pd-fbt-select input { width:var(--pd-checkSize); height:var(--pd-checkSize); accent-color:#173554; }
.pd-fbt-total { display:flex; justify-content:space-between; align-items:center; font-size:var(--pd-totalSize); margin-block:var(--pd-itemGap); }
.pd-fbt-cta { width:100%; height:var(--pd-ctaHeight); border:0; border-radius:min(var(--pd-ctaRadius),var(--radius-md)); background:var(--accent); color:white!important; }
.pd-reviews-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pd-reviews-head h2 { margin:0 0 8px; font-size:var(--pd-headingSize); }
.pd-reviews-head button { border:1px solid var(--control-border); border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent); font-size:var(--pd-viewAllSize); white-space:nowrap; padding:4px 8px; }
.pd-review-columns { display:grid; grid-template-columns:30% minmax(0,1fr); gap:var(--pd-columnGap); }
.pd-review-aggregate { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:8px; text-align:center; border-inline-end:1px solid #e3eaf2; padding-inline-end:var(--pd-columnGap); font-size:var(--pd-reviewSize); color:#8296b5; }
.pd-review-aggregate strong { font-size:var(--pd-aggregateSize); line-height:1.2; color:#102d50; }
.pd-highlights { display:grid; gap:var(--pd-reviewGap); }
.pd-review-row { display:flex; gap:8px; align-items:start; min-width:0; font-size:var(--pd-reviewSize); }
.pd-review-avatar { display:grid; place-items:center; flex:none; width:var(--pd-avatarSize); height:var(--pd-avatarSize); border-radius:50%; background:#edf2f7; color:#7187a3; font-size:22px; }
.pd-review-body { min-width:0; }
.pd-review-line { display:flex; align-items:center; flex-wrap:wrap; gap:4px; }
.pd-review-body p { margin:5px 0 0; color:#8296b5; line-height:1.6; }
.pd-viewer { width:min(94vw,600px); max-height:90vh; padding:12px; border:0; border-radius:18px; background:white; color:#102d50; }
.pd-viewer::backdrop { background:#102d50bb; }
.pd-viewer-frame { height:65vh; overflow:auto; display:grid; place-items:center; }
.pd-viewer-frame img { max-width:100%; max-height:100%;  transform-origin:center;  }
.pd-viewer-controls { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:12px; }
.pd-viewer-controls { gap:10px; padding:6px; }
.pd-viewer-controls button { min-height:44px; min-width:44px; padding:8px 14px; font-size:15px; font-weight:600; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:white; }
.pd-viewer-controls button:hover { background:var(--accent-soft); }
.pd-viewer-controls button:active,.pd-option:not(:disabled):active { background:#e5e7eb; }

/* Printing Service: presentation consumers of the existing global surface. */
.storefront-printing-core { box-sizing:border-box; width:100%; max-width:var(--printing-maxWidth); margin:var(--printing-top) auto var(--printing-bottom); padding-inline:var(--printing-gutter); display:flex; flex-direction:column; gap:var(--printing-gap); color:#153453; container-type:inline-size; }
.storefront-printing-core * { box-sizing:border-box; min-width:0; }
.storefront-printing-core button,.storefront-printing-core input { font:inherit; color:inherit; }
.storefront-printing-core button { cursor:pointer; }
.storefront-printing-core svg { width:var(--printing-iconSize); height:var(--printing-iconSize); fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.printing-surface { background:#fff; border:1px solid var(--line); border-radius:min(var(--printing-radius),var(--radius-md)); box-shadow:none; }
.printing-upload { padding:var(--printing-uploadPadding); }
.printing-dropzone { min-height:var(--printing-uploadHeight); border:1px dashed var(--control-border); border-radius:var(--radius-sm); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; padding:10px; text-align:center; }
.printing-upload-icon { display:grid; place-items:center; width:44px; height:44px; border-radius:50%; background:#eff6ff; }
.printing-upload-icon svg { width:26px; height:26px; }
.printing-upload-button { min-height:var(--printing-uploadButtonHeight); width:min(100%,var(--printing-uploadButtonWidth)); border:0; border-radius:var(--radius-sm); background:var(--accent); color:white!important; font-size:12px!important; }
.printing-helper { margin:0; color:var(--muted); font-size:10px; line-height:1.5; overflow-wrap:anywhere; }
.printing-file-remove { border:0; background:transparent; text-decoration:underline; font-size:11px!important; }
.printing-group-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--printing-gap) var(--printing-columnGap); }
.printing-option-card { padding:var(--printing-padding); }
.printing-option-card.is-wide { grid-column:1/-1; }
.printing-option-card h2 { display:flex; align-items:center; gap:5px; font-size:var(--printing-labelSize); font-weight:var(--printing-labelWeight); margin:0 0 7px; line-height:1.4; }
.printing-options { display:flex; flex-wrap:wrap; align-items:center; gap:var(--printing-optionGap); }
.printing-option { display:flex; align-items:center; justify-content:center; flex:1 1 auto; gap:4px; min-height:var(--printing-pillHeight); padding:3px var(--printing-pillPadding); border:var(--printing-selectedBorder) solid var(--control-border); border-radius:min(var(--printing-pillRadius),var(--radius-sm)); background:#fff; color:var(--navy); font-size:var(--printing-optionSize)!important; line-height:1.3; overflow-wrap:anywhere; }
.printing-option[aria-pressed="true"] { border-color:var(--control-selected); background:var(--control-selected-bg); color:#0a66ff; font-weight:700; }
.printing-option:disabled { opacity:.58; cursor:not-allowed; background:var(--control-disabled-bg); color:var(--muted); }
.printing-option img,.printing-color { width:14px; height:14px; object-fit:contain; flex:none; border-radius:50%; }
.printing-option-media { display:grid; place-items:center; flex:none; width:14px; height:14px; overflow:hidden; border-radius:4px; color:#8095b2; }
.printing-option-media img { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.printing-option-media.is-fallback svg { width:12px; height:12px; fill:none; stroke:currentColor; stroke-width:1.6; }
.printing-quantity { display:flex; direction:ltr; align-items:center; width:100%; min-height:var(--printing-quantityHeight); border:1px solid var(--control-border); border-radius:min(var(--printing-quantityRadius),var(--radius-sm)); overflow:hidden; background:#fff; }
.printing-quantity button { flex:none; width:var(--printing-quantityButton); align-self:stretch; border:0; background:var(--accent-soft); color:var(--accent); }
.printing-quantity input { width:100%; border:0; text-align:center; background:transparent; font-size:13px; }
.printing-custom-pages { width:100%; margin-top:6px; border:1px solid #dce7f2; padding:5px; border-radius:8px; font-size:12px!important; }
.printing-safa { border-radius:var(--printing-safaRadius); overflow:hidden; border:0; box-shadow:0 2px var(--safhat-nav-surface-shadow-blur) var(--safhat-nav-surface-shadow-spread) rgba(47,96,162,var(--safhat-nav-surface-shadow-opacity)); }
.printing-safa-bar { display:flex; align-items:center; gap:10px; min-height:var(--printing-safaHeight); width:100%; padding:8px 12px; border:0; background:transparent; text-align:start; }
.printing-avatar { display:grid; place-items:center; width:var(--printing-avatarSize); height:var(--printing-avatarSize); border-radius:50%; background:#f0f6fc; flex:none; overflow:hidden; }
.printing-avatar img { width:100%; height:100%; object-fit:contain; }
.printing-safa-copy { flex:1; display:flex; flex-direction:column; gap:4px; }
.printing-safa-copy strong { font-size:15px; }
.printing-safa-copy small { font-size:11px; color:#8399b5; }
.printing-safa-toggle { border-radius:15px; border:1px solid #e6edf4; padding:7px 12px; font-size:11px; }
.printing-safa-panel { display:grid; grid-template-rows:0fr; transition:grid-template-rows .2s ease; }
.printing-safa.is-open .printing-safa-panel { grid-template-rows:1fr; }
.printing-safa-inner { overflow:hidden; }
.printing-chat-history { padding-inline:12px; font-size:12px; overflow-wrap:anywhere; }
.printing-chat-form { display:flex; gap:6px; padding:10px 12px; }
.printing-chat-form input { width:100%; border:1px solid var(--control-border); border-radius:var(--radius-sm); padding:7px; font-size:12px; }
.printing-chat-form button { display:flex; align-items:center; justify-content:center; flex:none; min-width:44px; min-height:44px; line-height:1.2; border:0; background:var(--accent); color:white; border-radius:var(--radius-sm); padding:6px 12px; }
.printing-chat-form input { min-height:44px; }
.printing-safa-suggestions { display:flex; flex-wrap:wrap; gap:6px; padding:8px 12px; }
.printing-safa-question,.printing-safa-analyze { padding:8px 10px; border:1px solid #dde8f4; border-radius:12px; background:#f6faff; font-size:12px!important; line-height:1.5; text-align:start; }
.printing-safa-analyze { margin:0 12px 8px; max-width:calc(100% - 24px); }
.printing-safa-inner > .printing-helper { margin:0 12px 8px; }
.storefront-sections-host > .safa-global { position:sticky; inset-block-end:8px; z-index:8; margin:10px; background:#fff; border:1px solid #dce8f4; box-shadow:0 8px 26px rgba(28,57,94,.14); }
.safa-global .printing-chat-history { max-height:220px; overflow:auto; }
.printing-back { display:flex; align-items:center; justify-content:center; align-self:flex-start; gap:6px; min-height:44px; padding:6px 12px; border:1px solid var(--line); border-radius:var(--radius-sm); background:white; color:var(--navy); }
.storefront-sections-host > .printing-back { position:relative; z-index:0; margin:8px 10px; }
.printing-back svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transform:rotate(180deg); }
.phone-screen[dir="rtl"] .printing-back svg { transform:none; }
.printing-conditional { display:flex; flex-wrap:wrap; gap:6px; padding-top:8px; }
.printing-conditional[hidden] { display:none; }
.printing-conditional label { flex:1; font-size:11px; }
.printing-conditional .printing-helper { flex-basis:100%; }
.printing-notes { padding:var(--printing-padding); }
.printing-notes label { display:block; font-size:var(--printing-labelSize); font-weight:var(--printing-labelWeight); }
.printing-notes textarea { display:block; width:100%; min-height:80px; margin:7px 0; resize:vertical; padding:8px; border:1px solid #dce7f2; border-radius:10px; font:inherit; font-weight:400; color:inherit; background:#fff; }
.printing-notes textarea:focus,.printing-conditional input:focus { outline:2px solid #85baff; outline-offset:1px; }
.printing-quote { padding:var(--printing-quotePadding); display:grid; grid-template-columns:minmax(0,.9fr) repeat(2,minmax(0,1fr)); gap:7px; align-items:center; }
.printing-price { display:flex; flex-direction:column; gap:4px; font-size:10px; }
.printing-price strong { font-size:12px; }
.printing-cart,.printing-quote-button { display:flex; align-items:center; justify-content:center; gap:5px; min-height:var(--printing-ctaHeight); border:0; border-radius:min(var(--printing-ctaRadius),var(--radius-md)); padding:5px; font-size:var(--printing-ctaTextSize)!important; }
.printing-cart { background:#fff; border:1px solid #e1e9f3; }
.printing-quote-button { background:var(--accent); color:white!important; }
.printing-quote svg { width:var(--printing-ctaIconSize); height:var(--printing-ctaIconSize); }
.printing-status { grid-column:1/-1; margin:0; font-size:11px; color:#8399b5; }
.printing-status:empty { display:none; }
@container (max-width:300px) { .printing-group-grid { grid-template-columns:minmax(0,1fr); } .printing-quote { grid-template-columns:repeat(2,minmax(0,1fr)); } .printing-price { grid-column:1/-1; } }
@media (prefers-reduced-motion:reduce) { .printing-safa-panel { transition:none; } }
/* Physical Services: one shared mobile presentation, existing Cool Blue surface. */
.storefront-presentation-block { box-sizing:border-box; min-width:0; margin:12px; padding:var(--block-padding); border-radius:var(--block-radius); display:flex; flex-direction:column; gap:var(--block-gap); color:#153453; }
.storefront-presentation-block h2 { margin:0; font-size:var(--block-titleSize); }
.presentation-block-image { width:100%; height:var(--block-height); border-radius:var(--block-radius); }
.presentation-block-copy { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; }
.storefront-service-detail,.storefront-services-hub { box-sizing:border-box; width:100%; max-width:var(--printing-maxWidth); margin:var(--printing-top) auto var(--printing-bottom); padding-inline:var(--printing-gutter); display:flex; flex-direction:column; gap:var(--printing-gap); color:var(--navy); }
.storefront-service-detail *,.storefront-services-hub * { box-sizing:border-box; min-width:0; }
.storefront-service-detail [hidden],.storefront-services-hub [hidden] { display:none!important; }
.storefront-service-detail :is(button,input,textarea,select),.storefront-services-hub button { font:inherit; }
.storefront-service-detail button,.storefront-services-hub button { cursor:pointer; }
.storefront-service-detail button:disabled { cursor:not-allowed; opacity:.65; }
.storefront-service-detail svg,.storefront-services-hub svg { width:var(--printing-iconSize); height:var(--printing-iconSize); fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.service-editorial-image { width:100%; max-height:260px; border-radius:var(--printing-radius); }
.service-hub-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--printing-columnGap); }
.storefront-service-grid.is-carousel { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; justify-content:flex-start; }
.storefront-service-grid.is-carousel > .storefront-service-card { flex:0 0 var(--service-card-target-width); scroll-snap-align:start; }
.service-hub-card { display:flex; flex-direction:column; padding:0; border:1px solid #e5e9f3; border-radius:16px; overflow:hidden; background:#fff; }
.service-hub-card .service-hub-image { height:auto; aspect-ratio:2; background:#e7eef9; }
.service-directory-copy { display:flex; flex:1; flex-direction:column; gap:7px; padding:12px; text-align:start; }
.service-directory-copy h2,.service-directory-copy p { margin:0; }
.service-directory-copy h2 { color:#213754; font-size:1rem; line-height:1.25; }
.service-directory-copy p { color:#495970; font-size:.78rem; line-height:1.45; }
.service-directory-copy small { color:#3c597c; font-size:.72rem; }
.service-directory-action { margin-block-start:auto; min-height:42px; border:0; border-radius:9px; padding:7px 9px; color:#134a96; background:#e7f0ff; font:inherit; font-size:.8rem; font-weight:650; cursor:pointer; }
.service-directory-action:focus-visible { outline:2px solid #1259b2; outline-offset:2px; }
@media (prefers-reduced-motion:no-preference) {
  .service-directory-action { transition:transform 150ms cubic-bezier(.23,1,.32,1); }
  .service-directory-action:active { transform:scale(.97); }
}
.service-hub-image { display:block; width:100%; height:100%; object-position:center; }
.service-panel { padding:var(--printing-padding); }
.service-panel h2 { font-size:var(--printing-labelSize); font-weight:var(--printing-labelWeight); margin:0 0 10px; }
.service-panel h3 { font-size:13px; margin:5px 0; }
.service-helper { color:var(--muted); font-size:11px; line-height:1.65; margin:7px 0; }
.service-book-list,.service-book-body,.service-lamination,.service-quran { display:flex; flex-direction:column; gap:var(--printing-gap); }
.service-book { overflow:hidden; padding:var(--printing-padding); }
.service-book-heading { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; }
.service-book-toggle { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:44px; border:0; background:transparent; color:#153453; font-size:16px; font-weight:700; padding:6px; text-align:start; flex:1; }
.service-book-toggle svg { transform:rotate(90deg); }
.service-book-toggle[aria-expanded="true"] svg { transform:rotate(-90deg); }
.service-book-toggle:focus-visible { outline:2px solid #527aa9; outline-offset:2px; border-radius:8px; }
.service-text-button { border:0; background:transparent; color:#527aa9!important; padding:6px; font-size:11px!important; }
.service-primary,.service-secondary,.service-add-book { border:1px solid var(--control-border); min-height:var(--printing-ctaHeight); padding:8px 12px; border-radius:min(var(--printing-ctaRadius),var(--radius-md)); font-size:var(--printing-ctaTextSize)!important; }
.service-primary { background:var(--accent); color:white!important; inline-size:min(100%,var(--printing-ctaWidth,52%)); max-inline-size:100%; flex:0 0 min(100%,var(--printing-ctaWidth,52%)); }
.service-secondary,.service-add-book { background:var(--accent-soft); color:var(--accent); }
.service-add-book { width:100%; margin-top:var(--printing-gap); }
.service-evidence-row { display:flex; gap:8px; }
.service-evidence { display:flex; flex:1; flex-direction:column; align-items:center; border:1px dashed #cddff5; border-radius:12px; padding:10px; text-align:center; }
.service-evidence-choose { border:0; background:transparent; display:flex; flex-direction:column; align-items:center; gap:8px; padding:8px; width:100%; font-size:12px!important; }
.service-evidence-choose svg { width:30px; height:30px; }
.service-evidence small { font-size:10px; color:#8399b5; overflow-wrap:anywhere; }
.service-field { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; margin:6px 0; }
.service-field input,.service-notes { border:1px solid #dce6f3; border-radius:10px; padding:9px; background:#fff; width:100%; }
.service-field input { width:50%; }
.service-notes { resize:vertical; min-height:65px; font-size:12px!important; }
.service-unknown { display:flex; align-items:center; gap:8px; background:#eff6ff; padding:10px; border-radius:10px; font-size:11px; }
.service-unknown input { flex:none; }
.service-size-known-region { display:grid; grid-template-rows:1fr; opacity:1; transition:grid-template-rows .22s ease,opacity .18s ease; }
.service-size-known-region.is-collapsed { grid-template-rows:0fr; opacity:0; }
.service-size-known-region > .service-size-grid { overflow:hidden; }
.service-size-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
.service-size-quantity { text-align:start; padding:10px 7px; border:1px solid var(--control-border); border-radius:var(--radius-md); background:#fff; }
.service-size-quantity .printing-option-card { box-shadow:none; padding:0; }
.service-size-quantity .printing-options { display:block; }
.service-size-quantity .printing-quantity { width:100%; gap:0; border:0; border-radius:var(--radius-sm); overflow:hidden; background:var(--accent-soft); }
.service-size-quantity .printing-quantity button,.service-size-quantity .printing-quantity input { background:transparent; }
.service-size-quantity .printing-quantity button { flex:1; width:24px; height:30px; border-radius:0; }
.service-size-quantity .printing-quantity input { width:28px; }
.service-size-helper { min-height:36px; font-size:11px; color:#8095b2; line-height:1.5; white-space:pre-wrap; margin:6px 0 12px; }
.service-size-icon-slot { display:flex; justify-content:var(--service-size-icon-inline,center); align-items:var(--service-size-icon-block,center); inline-size:100%; block-size:38px; margin-block-end:8px; overflow:hidden; color:#0a66ff; }
.service-size-icon-slot .service-size-icon { display:block; inline-size:auto; max-inline-size:34px; block-size:30px; max-block-size:100%; object-fit:contain; }
.service-size-icon-slot.is-fallback .service-size-icon { fill:none; stroke:currentColor; stroke-width:1.5; }
.service-size-mode-toggle { margin-block-start:14px; border:1px solid #e2ebf5; background:#fff; padding:10px 12px; border-radius:12px; }
.service-size-unknown-region { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .22s ease,opacity .18s ease; }
.service-size-unknown-region.is-expanded { grid-template-rows:1fr; opacity:1; }
.service-size-unknown-content { overflow:hidden; padding-block-start:0; }
.service-size-unknown-region.is-expanded .service-size-unknown-content { padding-block-start:10px; }
.service-important-note { white-space:pre-wrap; }
.service-lamination > .printing-option-card,.service-lamination > div > .printing-option-card { position:relative; padding:var(--printing-padding); }
.service-lamination [data-option-group="grade"] .printing-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.service-lamination [data-option-group="texture"] .printing-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(86px,1fr)); gap:8px; }
.service-lamination .printing-option { min-height:40px; border-radius:10px; }
.service-lamination [data-option-group="texture"] .printing-option { flex-direction:column; align-items:stretch; justify-content:flex-start; gap:7px; min-height:104px; padding:7px; text-align:center; }
.service-lamination [data-option-group="texture"] .printing-option-media { inline-size:100%; block-size:64px; border-radius:8px; background:#f3f7fb; }
.service-lamination [data-option-group="texture"] .printing-option-media img { inline-size:100%; block-size:100%; object-fit:cover; }
.service-lamination [data-option-group="texture"] .printing-option-media.is-fallback svg { width:24px; height:24px; color:#7890ad; }
[data-option-group="texture"] .printing-option[aria-pressed="true"] { border:var(--printing-selectedBorder,1px) solid var(--control-selected); border-radius:var(--radius-sm); background:var(--control-selected-bg); }
.service-texture-section > .printing-option-card { display:flex; flex-direction:column; }
.service-texture-all { position:static; align-self:flex-end; margin-block-start:12px; min-height:32px; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent); font-size:11px; font-weight:650; padding:6px 12px; }
.service-texture-all:hover { background:#e5e7eb; }
.service-texture-all:active { background:#e5e7eb; }
.service-texture-all:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.service-return-slots > .printing-option-card { padding:0; margin-top:9px; border:0; border-radius:0; background:none; box-shadow:none; }
.service-return-slots .printing-options { display:grid; gap:8px; grid-template-columns:repeat(5,minmax(0,1fr)); }
.service-return-slots [data-option-group="demo-return-window"] .printing-options { grid-template-columns:repeat(4,minmax(0,1fr)); }
.service-return-slots .printing-option { display:flex; justify-content:center; white-space:pre-line; min-height:44px; padding:7px 2px; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:#fff; color:var(--navy); font-size:11px; line-height:1.7; text-align:center; }
.service-return-slots [data-option-group="demo-return-window"] .printing-option { min-height:30px; font-size:10px; white-space:nowrap; direction:ltr; }
.service-return-slots .printing-option[aria-pressed="true"] { border-color:var(--control-selected); background:var(--accent); color:#fff; font-weight:750; opacity:1; }
.service-return-slots .printing-option:disabled { opacity:.58; background:var(--control-disabled-bg); color:var(--muted); }
.storefront-service-detail .printing-chat-form button:hover:not(:disabled) { background:#0a66ff; }
.storefront-service-detail .printing-chat-form button:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.storefront-bundle-page { display:grid; gap:var(--bundle-page-gap); margin:14px var(--bundle-page-gutter) 18px; color:var(--navy); --pd-currencySize:20px; --pd-currencyGap:4px; --pd-priceSize:var(--bundle-page-priceSize); --pd-priceWeight:780; --pd-compareSize:12px; --pd-cartHeight:var(--bundle-page-ctaHeight); --pd-cartRadius:var(--radius-md); --pd-cartIcon:20px; --pd-cartTextSize:13px; --pd-cartGap:7px; --printing-quantityHeight:38px; --printing-quantityRadius:var(--radius-sm); --printing-quantityButton:36px; }
.bundle-page-card,.bundle-page-description,.bundle-page-benefits,.bundle-page-summary,.bundle-page-final-action { box-sizing:border-box; min-width:0; border:1px solid var(--line); background:#fff; box-shadow:none; }
.bundle-page-card { position:relative; overflow:hidden; padding:max(var(--bundle-page-padding),12px); border-radius:min(var(--bundle-page-radius),var(--radius-md)); transition:transform .16s ease,border-color .18s ease,box-shadow .18s ease; }
.bundle-page-card::before { content:""; position:absolute; inset:0 0 auto; height:1px; background:linear-gradient(90deg,transparent,#d7e8fa 50%,transparent); pointer-events:none; }
.bundle-page-card-top { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(118px,.92fr); align-items:stretch; gap:14px; }
.bundle-page-card-copy { display:flex; flex-direction:column; gap:9px; min-width:0; padding-block:2px; }
.bundle-page-title { margin:0; padding:0; background:none; border:0; color:var(--navy); font-size:var(--bundle-page-titleSize); font-weight:800; letter-spacing:-.012em; text-align:start; line-height:1.42; overflow-wrap:anywhere; transition:color .16s ease,transform .16s ease; }
.bundle-page-card-copy p,.bundle-page-summary p,.bundle-page-description p { margin:0; font-size:var(--bundle-page-textSize); color:#7087a3; line-height:1.72; }
.bundle-page-cover { position:relative; display:grid; place-items:center; width:100%; height:auto; min-height:138px; max-height:var(--bundle-page-imageHeight); aspect-ratio:1/1; padding:0; overflow:hidden; border:0; border-radius:var(--radius-md); background:linear-gradient(145deg,#f9fcff,#edf4fb); box-shadow:inset 0 1px 0 #fff; transition:transform .16s ease,border-color .18s ease,box-shadow .18s ease; }
.bundle-page-cover img { display:block; width:100%; height:100%;   transition:transform .2s ease;  }
.bundle-page-media-fallback { display:grid; place-items:center; width:62px; height:62px; border:1px solid #dce8f3; border-radius:18px; background:#fff9; color:#7890ad; box-shadow:0 6px 18px rgba(31,72,116,.06); }
.bundle-page-media-fallback svg { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:1.45; }
.bundle-page-chips { display:flex; flex-wrap:wrap; align-items:center; gap:5px; }
.bundle-page-chips span { max-width:100%; padding:3px 7px; overflow:hidden; border:1px solid #dce9f6; border-radius:999px; background:#f2f7fc; color:#5e7592; font-size:9.5px; line-height:1.45; text-overflow:ellipsis; white-space:nowrap; }
.bundle-page-prices { display:flex; align-items:baseline; flex-wrap:wrap; gap:7px 9px; padding:7px 0 2px; margin-top:auto; }
.bundle-page-prices .pd-price { line-height:1; letter-spacing:-.02em; }
.bundle-page-prices .pd-compare { color:#8b9db2; text-decoration-thickness:1px; text-decoration-color:#a8b7c8; }
.bundle-page-savings { padding:4px 8px; border:1px solid #cfead9; background:#edf9f2; color:#187a47; border-radius:999px; font-size:10px; font-weight:700; line-height:1.35; }
.bundle-page-purchase { display:grid; grid-template-columns:minmax(118px,.78fr) minmax(0,1.22fr); gap:10px; align-items:center; margin:12px 0 8px; }
.bundle-page-purchase .printing-option-card { border:0; padding:0; box-shadow:none; background:none; min-width:0; }
.bundle-page-purchase .printing-option-card h2 { display:none; }
.bundle-page-purchase .printing-options { display:block; }
.bundle-page-purchase .printing-quantity { border-color:#dce7f2; background:#fff; box-shadow:0 3px 12px rgba(31,72,116,.055); }
.bundle-page-purchase .printing-quantity button { background:#f5f9fd; color:#274968; transition:background .14s ease,transform .12s ease; }
.bundle-page-purchase .printing-quantity input { min-width:0; background:#fff; color:#173554; font-weight:700; }
.bundle-page-purchase .pd-sticky-cart,.bundle-page-final-action .pd-sticky-cart { width:100%; min-height:42px; box-shadow:0 8px 20px rgba(23,53,84,.16); transition:transform .14s ease,box-shadow .18s ease,background .18s ease; }
.bundle-page-status { grid-column:1/-1; margin:2px 0 0; color:#7389a3; font-size:11px; line-height:1.55; }
.bundle-page-status:empty { display:none; }
.bundle-page-contents { min-width:0; margin-top:10px; padding-top:11px; border-top:1px solid #e6edf5; }
.storefront-bundle-page[data-page-profile="BUNDLE_DETAIL"] > .bundle-page-contents { margin-top:0; padding:13px; border:1px solid var(--line); border-radius:min(var(--bundle-page-radius),var(--radius-md)); background:#fff; box-shadow:var(--soft-shadow); }
.bundle-page-contents header { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:9px; }
.bundle-page-contents h2,.bundle-page-description h2 { margin:0; color:#173554; font-size:14px; font-weight:800; letter-spacing:-.01em; }
.bundle-page-contents header > span,.bundle-page-link { font-size:10.5px; color:#7087a3; }
.bundle-page-content-count { padding:3px 7px; border-radius:999px; background:#f2f7fc; }
.bundle-page-link { display:inline-flex; align-items:center; gap:3px; min-height:28px; border:0; border-radius:var(--radius-sm); padding:4px 7px; background:transparent; font-weight:700; transition:color .14s ease,background .14s ease,transform .14s ease; }
.bundle-page-link svg { width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:1.8; transition:transform .16s ease; }
#phoneScreen[dir="rtl"] .bundle-page-link svg { transform:rotate(180deg); }
.bundle-page-included-rail { display:flex; gap:8px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:inline proximity; scrollbar-width:none; padding-bottom:2px; }
.bundle-page-included-rail::-webkit-scrollbar { display:none; }
.bundle-page-included-rail .bundle-page-included-item { flex:0 0 clamp(68px,22%,86px); display:flex; flex-direction:column; gap:5px; min-width:0; scroll-snap-align:start; text-align:center; font-size:10px; }
.bundle-page-item-image { display:flex; align-items:center; justify-content:center; width:100%; aspect-ratio:1/1; min-height:0; overflow:hidden; border:1px solid #e1ebf5; border-radius:12px; background:#f4f8fc; color:#7c92ad; }
.bundle-page-item-image img { width:100%; height:100%;     }
.bundle-page-item-image svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.45; }
.bundle-page-item-copy { display:flex; flex-direction:column; gap:2px; min-width:0; line-height:1.38; }
.bundle-page-item-title { display:-webkit-box; overflow:hidden; color:#536c89; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow-wrap:anywhere; }
.bundle-page-item-quantity { color:#173554; font-size:9px; font-weight:800; direction:ltr; }
.bundle-page-included-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(88px,1fr)); gap:7px; }
.bundle-page-included-list .bundle-page-included-item { display:flex; flex-direction:column; align-items:stretch; gap:5px; min-width:0; border:1px solid #e2ebf5; border-radius:13px; background:#f8fbfe; padding:6px; text-align:center; }
.bundle-page-included-list .bundle-page-item-image { width:100%; height:auto; aspect-ratio:1/1; flex:none; border-radius:10px; background:#fff; }
.bundle-page-included-list .bundle-page-item-copy { flex:1; align-items:center; text-align:center; }
.bundle-page-included-list .bundle-page-item-title { font-size:9.5px; -webkit-line-clamp:2; }
.bundle-page-included-list .bundle-page-item-variant { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:8px; color:#7890aa; }
.bundle-page-included-list .bundle-page-item-quantity { font-size:9px; }
.bundle-search-result { grid-column:1/-1; }
@media (max-width:480px) { .bundle-page-included-list { grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; } .bundle-page-included-list .bundle-page-included-item { padding:5px; border-radius:11px; } }
.bundle-page-gallery { margin:0; padding:9px; border-color:var(--line); border-radius:min(var(--bundle-page-radius),var(--radius-md)); box-shadow:var(--soft-shadow); }
.bundle-page-gallery .pd-gallery { grid-template-columns:minmax(0,1fr); }
.bundle-page-gallery .pd-main-image { min-height:clamp(210px,55vw,248px); padding:0; border-radius:18px; background:linear-gradient(145deg,#f9fcff,#edf4fb); }

.bundle-page-gallery .pd-empty { display:grid; place-items:center; width:100%; height:100%; }
.bundle-page-gallery .pd-thumbnails { display:flex; flex-direction:row; height:auto; overflow:auto; max-height:none; padding-top:7px; }
.bundle-page-gallery .pd-thumbnails:empty { display:none; }
.bundle-page-gallery .pd-thumbnail { flex:none; border-radius:10px; }
.bundle-page-summary,.bundle-page-description,.bundle-page-benefits,.bundle-page-final-action { padding:max(var(--bundle-page-padding),12px); border-radius:min(var(--bundle-page-radius),var(--radius-md)); }
.bundle-page-summary { display:grid; gap:5px; }
.bundle-page-summary .bundle-page-title { font-size:clamp(var(--bundle-page-titleSize),4.6vw,22px); line-height:1.35; }
.bundle-page-summary .bundle-page-prices { margin-top:2px; padding-bottom:0; }
.bundle-page-rating-copy { color:#7087a3; font-size:11px; }
.storefront-bundle-page[data-page-profile="BUNDLE_DETAIL"] > .bundle-page-purchase { grid-template-columns:minmax(0,1fr); margin:0; padding:10px 12px; border:1px solid var(--line); border-radius:min(var(--bundle-page-radius),var(--radius-md)); background:#fff; box-shadow:var(--soft-shadow); }
.storefront-bundle-page[data-page-profile="BUNDLE_DETAIL"] > .bundle-page-purchase .printing-option-card { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.storefront-bundle-page[data-page-profile="BUNDLE_DETAIL"] > .bundle-page-purchase h2 { display:block; margin:0; color:#173554; font-size:12.5px; font-weight:800; }
.storefront-bundle-page[data-page-profile="BUNDLE_DETAIL"] > .bundle-page-purchase h2 svg { display:none; }
.storefront-bundle-page[data-page-profile="BUNDLE_DETAIL"] > .bundle-page-purchase .printing-options { width:min(48%,150px); }
.bundle-page-description { display:grid; gap:7px; }
.bundle-page-description p { color:#647d99; }
.bundle-page-benefits { display:grid; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)); gap:0; padding-block:10px; background:#f8fbfe; }
.bundle-page-benefits > .bundle-page-benefit { display:flex; min-width:0; min-height:52px; align-items:center; justify-content:center; gap:7px; padding:7px 9px; border-inline-end:1px solid #e1ebf5; text-align:start; font-size:10.5px; font-weight:700; line-height:1.35; }
.bundle-page-benefits > .bundle-page-benefit:last-child { border-inline-end:0; }
.bundle-page-benefits img,.bundle-page-benefit-icon { width:25px; height:25px; flex:none; object-fit:contain; }
.bundle-page-benefit-icon { display:grid; place-items:center; border-radius:9px; background:#eaf3fc; color:#567798; }
.bundle-page-benefit-icon svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.5; }
.bundle-page-final-action { display:grid; gap:7px; margin-top:1px; }
.bundle-page-empty { margin:18px 0; padding:18px; border:1px solid #e1ebf5; border-radius:18px; background:#fff; color:#7087a3; text-align:center; }
.bundle-page-cover:focus-visible,.bundle-page-title:focus-visible,.bundle-page-link:focus-visible,.bundle-page-purchase button:focus-visible,.bundle-page-final-action button:focus-visible { outline:2px solid #1675ff; outline-offset:2px; }
@media (hover:hover) {
  .bundle-page-card:hover { transform:translateY(-1px); border-color:#d3e3f3; box-shadow:0 12px 30px rgba(31,72,116,.11); }
  .bundle-page-cover:hover { border-color:#cddff0; box-shadow:inset 0 1px 0 #fff,0 6px 18px rgba(31,72,116,.07); }
  .bundle-page-cover:hover img { transform:scale(1.018); }
  .bundle-page-title:hover,.bundle-page-link:hover { color:#1675ff; }
  .bundle-page-link:hover { background:#f1f7fd; }
  .bundle-page-link:hover svg { transform:translateX(2px); }
  #phoneScreen[dir="rtl"] .bundle-page-link:hover svg { transform:rotate(180deg) translateX(2px); }
  .bundle-page-purchase .pd-sticky-cart:hover,.bundle-page-final-action .pd-sticky-cart:hover { background:#21496e; box-shadow:0 10px 24px rgba(23,53,84,.21); }
  .bundle-page-purchase .printing-quantity button:hover { background:#eaf3fc; }
}
.bundle-page-cover:active,.bundle-page-title:active,.bundle-page-link:active,.bundle-page-purchase .pd-sticky-cart:active,.bundle-page-final-action .pd-sticky-cart:active,.bundle-page-purchase .printing-quantity button:active { transform:scale(.98); }
@media (max-width:380px) {
  .bundle-page-card-top { grid-template-columns:minmax(0,1.12fr) minmax(112px,.88fr); gap:10px; }
  .bundle-page-cover { min-height:126px; }
  .bundle-page-purchase { grid-template-columns:minmax(110px,.8fr) minmax(0,1.2fr); gap:8px; }
  .bundle-page-benefits { grid-template-columns:1fr; }
  .bundle-page-benefits > .bundle-page-benefit { justify-content:flex-start; border-inline-end:0; border-bottom:1px solid #e1ebf5; }
  .bundle-page-benefits > .bundle-page-benefit:last-child { border-bottom:0; }
}
@media (prefers-reduced-motion:reduce) {
  .bundle-page-card,.bundle-page-cover,.bundle-page-cover img,.bundle-page-title,.bundle-page-link,.bundle-page-link svg,.bundle-page-purchase .pd-sticky-cart,.bundle-page-final-action .pd-sticky-cart,.bundle-page-purchase .printing-quantity button { transition:none!important; animation:none!important; }
  .bundle-page-card:hover,.bundle-page-cover:active,.bundle-page-title:active,.bundle-page-link:active,.bundle-page-purchase .pd-sticky-cart:active,.bundle-page-final-action .pd-sticky-cart:active,.bundle-page-purchase .printing-quantity button:active { transform:none!important; }
}
.service-quote { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding:var(--printing-quotePadding); }
.service-important-note { flex-basis:100%; padding:12px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--accent-soft); color:var(--navy); }
.service-important-note p { margin:6px 0 0; font-size:12px; line-height:1.7; }
.service-quote > div { display:flex; flex-direction:column; gap:5px; }
.service-quote small { font-size:10px; color:#8399b5; }
.service-quote strong { font-size:12px; }
.service-price-details { flex-basis:100%; border-top:1px solid #e7eef6; padding-top:7px; }
.service-price-toggle { width:100%; min-height:38px; padding:4px 2px; font-size:12px!important; }
.service-price-details-body { display:grid; grid-template-rows:0fr; opacity:0; overflow:hidden; transition:grid-template-rows .2s ease,opacity .18s ease; }
.service-price-details-body.is-open { grid-template-rows:1fr; opacity:1; }
.service-price-details-body > * { min-height:0; }
.service-price-details-body .service-helper { margin:5px 2px 2px; }
.service-operation-choices,.service-tier-row { display:flex; flex-wrap:wrap; gap:6px; }
.service-option { padding:8px; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:#fff; font-size:11px!important; }
.service-option[aria-pressed="true"] { border-color:var(--control-selected); background:var(--control-selected-bg); color:#0a66ff; font-weight:700; }
.service-operation-group { margin-top:10px; border:1px solid #e3ecf6; padding:8px; border-radius:10px; }
.service-insertion-row { padding:7px; margin:7px 0; background:#f4f8ff; border-radius:10px; }
.pd-viewer.service-texture-viewer { width:min(calc(100vw - 24px),430px); max-width:430px; max-height:min(86dvh,760px); padding:0; overflow:hidden; border-radius:var(--radius-lg); color:var(--navy); box-shadow:0 18px 48px rgba(57,44,81,.18); }
.service-texture-modal-layer { position:absolute; inset:0; display:grid; place-items:center; padding:12px; overflow:hidden; border-radius:inherit; background:#102d50bb; z-index:40; }
.service-texture-modal-layer > .pd-viewer.service-texture-viewer { position:relative; inset:auto; margin:0; width:min(100%,430px); max-width:100%; max-height:min(calc(100% - 24px),760px); }
.service-gallery-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px 10px; border-bottom:1px solid #edf2f7; background:#fff; }
.service-gallery-header h2 { margin:0; font-size:16px; line-height:1.4; }
.service-gallery-close { min-height:36px; border:1px solid var(--control-border); border-radius:var(--radius-sm); padding:6px 12px; background:var(--accent-soft); color:var(--accent); font-size:11px!important; }
.service-gallery-close:hover { background:#eaf3fd; }
.service-gallery-body { max-height:calc(min(86dvh,760px) - 61px); overflow:auto; overscroll-behavior:contain; padding:12px 14px max(16px,env(safe-area-inset-bottom)); }
.service-texture-gallery { padding:0; border:0; border-radius:0; box-shadow:none; background:transparent; }
.service-texture-gallery .printing-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(112px,1fr)); gap:10px; }
.service-texture-gallery .printing-option { flex-direction:column; align-items:stretch; justify-content:flex-start; gap:8px; min-height:126px; padding:8px; text-align:center; }
.service-texture-gallery .printing-option-media { inline-size:100%; block-size:78px; border-radius:9px; background:#f3f7fb; }
.service-texture-gallery .printing-option-media img { inline-size:100%; block-size:100%; object-fit:cover; }
.service-texture-gallery .printing-option-media.is-fallback svg { width:26px; height:26px; color:#7890ad; }
.service-repair-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,2.2fr); gap:8px; align-items:start; }
.service-repair-layout > .service-panel:first-child { padding:0; box-shadow:none; }
.service-repair-layout .service-evidence { padding:5px 2px; min-height:150px; }
.service-repair-layout .service-evidence-choose { padding:4px; font-size:10px!important; }
.service-repair-layout .service-helper { overflow-wrap:anywhere; }
.service-repair-layout .service-operation-choices { flex-direction:column; }
.service-repair-layout .service-option { text-align:start; }
.service-repair-layout .service-field { flex-direction:column; align-items:stretch; }
.service-repair-layout .service-field input { width:100%; }
/* CW-01/CW-02: protected Commerce presentation. One existing owner, polished in place.
   Commercial truth, service media truth, Safa truth and transaction state remain external. */
.commerce-core { --commerce-gutter:14px; --commerce-gap:12px; --commerce-padding:14px; --commerce-radius:12px; --commerce-headingSize:24px; --commerce-textSize:13px; --commerce-ctaHeight:44px; color:#20242b; display:flex; flex-direction:column; gap:var(--commerce-gap); padding:var(--commerce-top,14px) var(--commerce-gutter) var(--commerce-bottom,18px); min-width:0; box-sizing:border-box; font-size:var(--commerce-textSize); background:var(--surface-warm); }
.commerce-core *, .commerce-core *::before,.commerce-core *::after { box-sizing:border-box; }
.commerce-core h1,.commerce-core h2,.commerce-core h3,.commerce-core p { margin:0; }
.commerce-heading { display:flex; flex-direction:column; gap:5px; padding:4px 2px 3px; }
.commerce-heading h1 { font-size:var(--commerce-headingSize); font-weight:780; letter-spacing:-.02em; color:var(--navy); }
.commerce-muted { color:var(--muted); font-size:var(--commerce-textSize); line-height:1.55; overflow-wrap:anywhere; }
.commerce-panel,.commerce-line,.commerce-empty { min-width:0; background:#fff; border:1px solid var(--line); border-radius:min(var(--commerce-radius),var(--radius-md)); padding:var(--commerce-padding); box-shadow:none; }
.commerce-panel { display:flex; flex-direction:column; gap:11px; }
.commerce-panel h2 { font-size:16px; display:flex; align-items:center; gap:9px; line-height:1.45; color:var(--navy); font-weight:760; }
.commerce-panel h2 > svg { inline-size:20px; block-size:20px; color:var(--accent); }
.commerce-core svg { inline-size:22px; block-size:22px; flex-shrink:0; stroke:currentColor; fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.commerce-line { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 11px; }
@media (hover:hover) and (pointer:fine) {
  .commerce-line:hover { border-color:#e5e7eb; box-shadow:0 6px 18px rgba(57,44,81,.09); }
}
.commerce-line[data-mutation-state] { border-color:#8bb9ff; background:#f8fbff; }
.commerce-line[data-mutation-state]::after { content:attr(data-pending-label); position:absolute; inset-block-start:12px; inset-inline-end:49px; padding:5px 9px; border-radius:var(--radius-pill); background:#e8f2ff; color:#0756bb; font-size:11px; font-weight:700; pointer-events:none; }
.commerce-line[data-mutation-state="removing"] .commerce-line-actions { pointer-events:none; opacity:.45; }
.commerce-identity { display:flex; gap:11px; align-items:center; min-width:0; grid-column:1/-1; padding-inline-end:26px; }
.commerce-media { display:flex; align-items:center; justify-content:center; inline-size:78px; block-size:78px; flex:0 0 78px; overflow:hidden; border-radius:var(--radius-sm); background:#f8f6fa; color:var(--muted); border:1px solid var(--line); }
.commerce-media img { inline-size:100%; block-size:100%;     }
.commerce-media svg { inline-size:31px; block-size:31px; }
.commerce-service-media img { object-fit:cover; padding:0; }
.commerce-line-copy { min-width:0; display:flex; flex-direction:column; gap:5px; flex:1; }
.commerce-item-title { border:0; padding:0; background:none; color:var(--navy); text-align:start; font:inherit; font-size:14px; font-weight:740; line-height:1.42; overflow-wrap:anywhere; cursor:pointer; }
.commerce-type { font-size:10px; font-weight:680; padding:5px 9px; background:var(--accent-soft); color:#0a66ff; border:1px solid #e5e7eb; border-radius:var(--radius-pill); align-self:flex-start; }
.commerce-line-price { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; min-width:0; grid-column:1/-1; }
.commerce-line-price p { flex-basis:100%; }
.commerce-line-price > strong { color:var(--navy); }
.commerce-core .pd-price { font-size:18px; gap:4px; display:inline-flex; align-items:center; white-space:nowrap; color:var(--navy); font-weight:780; }
.commerce-core .pd-currency { inline-size:17px; block-size:18px; object-fit:contain; }
.commerce-line-actions { grid-column:1/-1; display:flex; align-items:center; justify-content:flex-end; gap:9px; border-block-start:1px solid #edf3f9; padding-block-start:9px; }
.commerce-remove { position:absolute; inset-block-start:12px; inset-inline-end:10px; inline-size:34px; block-size:34px; border:0; border-radius:50%; background:#f7fafe; color:#758ca8; cursor:pointer; padding:7px; transition:background .15s,color .15s,transform .15s; }
.commerce-remove:hover { background:#fff0f0; color:#ad4b4b; }
.commerce-remove:active { transform:scale(.94); }
.commerce-remove svg { inline-size:19px; block-size:19px; }
.commerce-core .printing-safa { --printing-radius:var(--commerce-radius); --printing-safaAvatar:38px; --printing-safaHeight:54px; --printing-safaText:13px; --printing-safaPadding:10px; --printing-safaGap:8px; min-width:0; border:1px solid #e3ebf5; border-radius:var(--commerce-radius); overflow:hidden; box-shadow:0 6px 20px rgba(48,91,140,.065); background:#fff; }
.commerce-core .printing-safa-bar { padding:10px 12px; min-height:58px; background:linear-gradient(90deg,#fbfdff,#f4f8fd); }
.commerce-core .printing-avatar { background:#e9f3fc; color:#376d9b; }
.commerce-core .printing-safa-copy small { font-size:11px; color:#6f86a0; }
.commerce-core .printing-safa-toggle { background:#fff; color:#315d88; border-color:#d8e5f2; font-weight:680; }
.commerce-core .printing-safa-suggestions { gap:7px; padding:9px 12px 4px; }
.commerce-core .printing-safa-question { border-radius:999px; background:#f2f7fc; border-color:#dce8f4; color:#365f88; font-size:11px!important; padding:7px 10px; }
.commerce-core .commerce-quantity { padding:0; margin:0; border:0; box-shadow:none; background:none; }
.commerce-quantity h2 { display:none; }
.commerce-quantity .printing-quantity { --printing-quantityButton:32px; --printing-quantityWidth:32px; display:flex; direction:ltr; gap:2px; padding:3px; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:#fff; box-shadow:none; }
.commerce-quantity .printing-quantity button { width:32px; height:32px; min-width:32px; border:0; border-radius:var(--radius-xs); background:var(--accent-soft); font-size:20px; color:var(--accent); touch-action:manipulation; transition:transform 120ms cubic-bezier(.23,1,.32,1); }
.commerce-quantity .printing-quantity button:active:not(:disabled) { transform:scale(.96); }
.commerce-quantity .printing-quantity input { width:34px; min-width:0; height:32px; border:0; background:none; text-align:center; color:#17395f; font:inherit; font-weight:700; }
.commerce-included { grid-column:1/-1; font-size:12px; border-radius:11px; background:#f8fbfe; padding:8px 10px; }
.commerce-included summary { cursor:pointer; color:#365f89; font-weight:660; }
.commerce-availability { color:#16815c; grid-column:1/-1; font-size:11px; font-weight:650; }
.commerce-warning,.commerce-notice { border-radius:14px; padding:11px 12px; color:#365f89; background:#edf5ff; border:1px solid #dfeafa; font-size:12px; line-height:1.58; }
.commerce-warning { color:#8b5638; background:#fff7ef; border-color:#f5e6d7; grid-column:1/-1; }
.commerce-notice[hidden] { display:none; }
.commerce-button { min-height:var(--commerce-ctaHeight); min-width:0; border:1px solid #ddd5e9; border-radius:10px; color:#0a66ff; background:#f8f5fc; padding:9px 13px; display:inline-flex; gap:8px; align-items:center; justify-content:center; font:inherit; font-weight:690; cursor:pointer; transition:transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease; }
.commerce-button:hover:not(:disabled) { background:#eff6ff; border-color:#eff6ff; }
.commerce-button.is-primary { background:var(--accent); color:#fff; border-color:var(--accent); box-shadow:0 5px 14px rgba(91,70,153,.16); }
.commerce-button.is-primary:hover:not(:disabled) { background:#0a66ff; }
.commerce-button:active:not(:disabled) { transform:translateY(1px) scale(.99); }
.commerce-button:disabled { opacity:.48; cursor:not-allowed; box-shadow:none; }
.commerce-core button:focus-visible,.commerce-core input:focus-visible,.commerce-core textarea:focus-visible,.commerce-core summary:focus-visible,.commerce-map-area:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.commerce-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.7fr); gap:9px; }
.commerce-summary-row { display:flex; align-items:center; justify-content:space-between; gap:12px; color:#6f86a2; padding-block:2px; }
.commerce-summary-row .pd-price { color:var(--navy); font-size:14px; }
.commerce-summary-row.is-total { margin-block-start:4px; padding-block-start:12px; border-block-start:1px solid #dfe9f5; color:#102d51; font-size:16px; font-weight:780; }
.commerce-summary-row.is-total .pd-price { font-size:20px; }
.commerce-estimated { display:flex; flex-direction:column; gap:5px; padding:11px 12px; border-radius:13px; background:#f2f6fb; border:1px solid #e5edf6; }
.commerce-estimated bdi { direction:ltr; align-self:flex-start; font-weight:760; color:#315a83; }
.commerce-estimated small { color:#7187a1; }
.commerce-summary-value { color:#17375c; font-weight:700; text-align:end; }
.commerce-estimated-row { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.commerce-estimated-row span { color:#315a83; font-weight:650; }
.commerce-separate-deliveries { display:flex; flex-direction:column; gap:9px; margin-top:8px; padding:11px 12px; border:1px solid #e5edf6; border-radius:13px; background:#f8fbff; }
.commerce-separate-delivery-row { display:flex; flex-direction:column; gap:2px; padding-block:3px; }
.commerce-separate-delivery-row span { color:#17375c; font-weight:700; }
.commerce-separate-delivery-row small { color:#7187a1; }
.commerce-coupon { display:flex; gap:8px; }
.commerce-coupon input,.commerce-address-form input,.commerce-address-form textarea { min-width:0; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:#fff; padding:11px 12px; color:inherit; font:inherit; transition:border-color .15s,box-shadow .15s; }
.commerce-coupon input:focus,.commerce-address-form input:focus,.commerce-address-form textarea:focus { border-color:var(--focus); box-shadow:0 0 0 3px var(--glow); }
.commerce-coupon input { flex:1; width:0; }
.commerce-stepper { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; margin-block:2px 9px; padding:10px 5px 6px; border-radius:16px; background:#fff; border:1px solid #e9eff6; }
.commerce-step { position:relative; display:flex; flex-direction:column; gap:6px; align-items:center; background:none; border:0; color:#8096b2; font:inherit; font-size:10px; padding:0 2px; line-height:1.35; cursor:pointer; }
.commerce-step::before { content:''; position:absolute; inset-inline:50% -50%; inset-block-start:16px; height:2px; background:#dce8f5; }
.commerce-step:last-child::before { display:none; }
.commerce-step-number { position:relative; display:grid; place-items:center; border:4px solid white; border-radius:50%; inline-size:34px; block-size:34px; background:#edf4fb; color:#7892b0; font-weight:760; font-size:12px; box-shadow:0 0 0 1px #e0eaf5; }
.commerce-step[aria-current] { color:#102d51; font-weight:740; }
.commerce-step[aria-current] .commerce-step-number { background:#12365e; color:white; box-shadow:0 0 0 1px #12365e,0 4px 10px #234e7b25; }
.commerce-step.is-complete .commerce-step-number { background:#397fb8; color:white; box-shadow:0 0 0 1px #397fb8; }
.commerce-choice { border:1px solid var(--control-border); border-radius:var(--radius-md); padding:12px; display:flex; align-items:center; gap:10px; cursor:pointer; transition:background .15s,border-color .15s,box-shadow .15s,transform .15s; min-width:0; background:#fff; }
.commerce-choice:hover:not(.is-unavailable) { border-color:#eff6ff; background:#faf7fe; }
.commerce-choice.is-selected { border-color:var(--control-selected); background:var(--control-selected-bg); }
.commerce-choice.is-unavailable { opacity:.58; cursor:not-allowed; background:var(--control-disabled-bg); }
.commerce-choice input { width:18px; height:18px; accent-color:var(--accent); flex-shrink:0; margin:0; }
.commerce-choice > svg { inline-size:38px; block-size:38px; padding:9px; border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent); }
.commerce-choice.is-selected > svg { background:#dbeafe; color:#0a66ff; }
.commerce-choice-copy { display:flex; flex-direction:column; gap:4px; min-width:0; }
.commerce-choice-copy strong { color:#16395f; }
.commerce-choice-copy small { color:#758aa4; line-height:1.48; }
.commerce-payment-stack { display:flex; flex-direction:column; gap:12px; }
.commerce-payment-choice { position:relative; display:grid; grid-template-columns:18px 28px minmax(0,1fr); gap:8px; align-items:center; min-width:0; min-height:44px; padding:6px 10px; box-sizing:border-box; border:0; border-radius:var(--radius-md); background:transparent; cursor:pointer; }
.commerce-payment-method:hover:not(.is-unavailable) { border-color:var(--control-selected); }
.commerce-payment-method.is-selected { border-color:var(--control-selected); background:var(--control-selected-bg); }
.commerce-payment-method.is-unavailable { opacity:.58; background:var(--control-disabled-bg); }
.commerce-payment-method.is-unavailable .commerce-payment-choice { cursor:default; }
.commerce-payment-choice > input { width:18px; height:18px; margin:0; accent-color:var(--accent); }
.commerce-payment-visual { display:grid; place-items:center; width:28px; height:28px; border-radius:var(--radius-sm); background:transparent; color:#44739f; overflow:hidden; }
.commerce-payment-visual > svg { width:20px; height:20px; }
.commerce-payment-copy { min-width:0; display:flex; flex-direction:column; gap:3px; }
.commerce-payment-copy strong { color:#15385e; font-size:13px; }
.commerce-payment-copy small { color:#7289a4; font-size:11px; line-height:1.45; }
.commerce-payment-gate { align-self:flex-start; margin-top:2px; padding:3px 7px; border-radius:999px; background:#eef2f7; color:#667c96; font-size:9px; font-weight:760; letter-spacing:.02em; }
.commerce-network-row { grid-column:2/-1; display:flex; flex-wrap:wrap; align-items:center; gap:7px; min-height:30px; padding-top:3px; }
.commerce-payment-logo { display:grid; place-items:center; width:58px; height:30px; padding:4px 7px; border:1px solid #e1e9f2; border-radius:9px; background:#fff; overflow:hidden; }
.commerce-payment-logo img { width:100%; height:100%; object-fit:contain; object-position:center; }
.commerce-payment-visual .commerce-payment-logo { width:100%; height:100%; padding:2px; border:0; border-radius:0; background:transparent; }
.commerce-payment-authority-note { grid-column:2/-1; color:#7a8ea7; font-size:9px; line-height:1.45; }
.commerce-payment-choice:focus-within { outline:2px solid var(--focus); outline-offset:3px; }
.commerce-payment-methods { overflow:visible; }
.commerce-payment-method { display:flex; flex-direction:column; gap:0; min-width:0; border:1px solid var(--control-border); border-radius:var(--radius-md); background:#fff; }
.commerce-payment-method + .commerce-payment-method { margin-top:8px; }
.commerce-payment-body { margin:0; padding:0 10px 10px; border:0; background:transparent; min-width:0; }
.phone-screen.checkout-focused-shell #bottomNav { display:none!important; }
.commerce-core[data-commerce-page="CHECKOUT"] { padding-block-end:calc(var(--safhat-bottom-safe-extra,0px) + env(safe-area-inset-bottom,0px) + 16px); }
.commerce-saved-cards { display:flex; flex-direction:column; gap:8px; animation:commerce-payment-reveal .18s ease-out both; }
.commerce-saved-card { display:grid; grid-template-columns:auto minmax(0,1fr) 20px; align-items:center; gap:10px; width:100%; min-height:54px; padding:9px 10px; text-align:start; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:#fff; cursor:pointer; transition:border-color .15s,background .15s,transform .15s; }
.commerce-saved-card:hover { border-color:var(--control-selected); }
.commerce-saved-card.is-selected { border-color:var(--control-selected); background:var(--control-selected-bg); }
.commerce-saved-card .commerce-payment-logo { width:50px; height:28px; }
.commerce-saved-card-copy { display:flex; min-width:0; flex-direction:column; gap:3px; color:var(--navy-2); }
.commerce-saved-card-copy strong { font-size:12px; }
.commerce-saved-card-copy small { font-size:10px; color:#7289a4; }
.commerce-saved-card-check { justify-self:end; color:var(--accent); font-weight:800; }
.commerce-add-card,.commerce-card-back { width:100%; min-height:42px; margin-top:2px; }
.commerce-card-sdk-shell { min-height:90px; margin-top:0; }
.commerce-card-change { align-self:flex-end; margin:-40px 10px 9px; position:relative; z-index:1; min-height:32px; padding:4px 9px; font-size:11px; }
.commerce-card-sheet[hidden] { display:none!important; }
.commerce-card-sheet[hidden].is-prewarming { display:flex!important; visibility:hidden; opacity:0!important; pointer-events:none; }
.commerce-secure-card-shell { display:grid; min-height:156px; border-radius:var(--radius-sm); background:#fafbfc; }
.commerce-secure-card-shell > * { grid-area:1 / 1; min-width:0; }
.commerce-card-skeleton { min-height:156px; padding:18px; box-sizing:border-box; border-radius:var(--radius-sm); color:var(--navy-2); display:flex; flex-direction:column; gap:8px; align-items:center; justify-content:center; text-align:center; }
.commerce-card-dots { display:flex; gap:8px; direction:ltr; color:var(--navy-2); }
.commerce-card-dot { font-size:22px; line-height:1; animation:commerce-card-bubble 1.2s ease-in-out infinite; }
.commerce-card-dot:nth-child(2) { animation-delay:.15s; }
.commerce-card-dot:nth-child(3) { animation-delay:.3s; }
.commerce-card-loading-copy { font-size:12px; }
@keyframes commerce-card-bubble { 0%,80%,100% { opacity:.35; transform:translateY(0); } 40% { opacity:1; transform:translateY(-3px); } }
@media(prefers-reduced-motion:reduce) { .commerce-card-dot { animation:none; opacity:.7; } }
.commerce-payment-notice { display:flex; align-items:flex-start; gap:12px; padding:16px; border:1px solid #e2e7ee; border-radius:var(--radius-md); margin-block:12px; overflow-wrap:anywhere; }
.commerce-payment-notice-icon { display:grid; place-items:center; width:24px; height:24px; flex:0 0 24px; border-radius:50%; background:#ffffffa8; font-weight:700; }
.commerce-payment-notice-copy { min-width:0; text-align:start; }
.commerce-payment-notice-copy p { margin-block:6px 0; font-size:13px; line-height:1.6; }
.commerce-payment-success { background:#f0faf3; color:#24643d; border-color:#c8e4d1; }
.commerce-card-skeleton[hidden] { display:none; }
.commerce-payment-inline-error { margin:8px 0 12px; padding:12px; border:1px solid #dc6262; border-radius:var(--radius-sm); background:#fff0f0; color:#9a1b1b; font-size:14px; line-height:1.5; }
.commerce-card-sheet { --commerce-viewport-gap:12px; position:fixed; z-index:10020; left:var(--commerce-visible-left,0px); width:var(--commerce-visible-width,100%); top:var(--commerce-visible-top,0px); height:var(--commerce-visible-height,100dvh); display:flex; align-items:flex-end; overflow:hidden; box-sizing:border-box; padding:env(safe-area-inset-top,0px) env(safe-area-inset-right,0px) calc(var(--commerce-viewport-gap) + env(safe-area-inset-bottom,0px)) env(safe-area-inset-left,0px); }
.commerce-card-sheet-backdrop { position:absolute; inset:0; background:#0c1c35a8; }
.commerce-card-sheet-surface { position:relative; display:flex; flex-direction:column; min-height:0; box-sizing:border-box; width:min(100%,520px); max-height:min(86dvh,760px,calc(var(--commerce-visible-height,100dvh) - var(--commerce-viewport-gap) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))); margin-inline:auto; overflow:hidden; padding:16px 16px 0; border-radius:22px 22px 0 0; background:#fff; box-shadow:0 -12px 42px #0c1c3540; }
.commerce-payment-scroll { flex:1 1 auto; min-height:0; overflow:auto; overscroll-behavior:contain; scroll-padding-block:12px; }
.commerce-payment-footer { flex:0 0 auto; padding-block:12px calc(18px + env(safe-area-inset-bottom,0px)); background:#fff; }
.commerce-payment-footer > .commerce-button { width:100%; }
.remaining-payment-secure-surface { display:flex; flex-direction:column; min-height:0; max-height:calc(var(--commerce-visible-height,100dvh) - 16px - env(safe-area-inset-top,0px)); overflow:hidden; scroll-margin-block:8px; }
.remaining-payment-secure-surface .commerce-payment-footer { padding-bottom:calc(12px + env(safe-area-inset-bottom,0px)); }
.commerce-card-sheet-head { display:flex; flex:0 0 auto; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.commerce-card-sheet-head h3 { margin:0; color:var(--navy-2); font-size:18px; }
.commerce-card-sheet-close { min-height:40px; }
.commerce-card-nickname { display:grid; gap:6px; margin-block:12px; font-size:12px; color:var(--navy-2); }
.commerce-card-nickname input { min-height:42px; box-sizing:border-box; width:100%; padding:8px 10px; border:1px solid var(--control-border); border-radius:var(--radius-sm); font:inherit; }
.remaining-payment-card { display:grid; gap:8px; padding:12px 0; border-bottom:1px solid var(--control-border); }
.remaining-payment-card-actions { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.remaining-payment-nickname { display:flex; flex-wrap:wrap; gap:6px; }
.remaining-payment-nickname input { min-height:40px; border:1px solid var(--control-border); border-radius:var(--radius-sm); padding:6px 9px; }
.commerce-card-sheet-surface > .commerce-button.is-primary { width:100%; margin-top:12px; }
@media(min-width:701px) { .commerce-card-sheet { align-items:center; } .commerce-card-sheet-surface { border-radius:var(--radius-md); max-height:min(82dvh,760px,calc(var(--commerce-visible-height,100dvh) - var(--commerce-viewport-gap) - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))); } }
.commerce-payment-selected-note { margin:6px 12px 4px 72px; color:#647f9c; font-size:11px; line-height:1.5; animation:commerce-payment-reveal .16s ease-out both; }
html[dir="rtl"] .commerce-payment-selected-note { margin-right:72px; margin-left:12px; }
.commerce-applepay-action { flex:1 1 220px; min-height:46px; }
.commerce-applepay-action > div,.commerce-applepay-action > button { width:100%; min-height:46px; }
.commerce-applepay-preview { display:grid; place-items:center; min-height:46px; border-radius:var(--radius-md); background:#111; color:#fff; font-weight:750; }
@keyframes commerce-payment-reveal { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:560px) {
  .commerce-payment-selected-note { margin-inline:12px; }
}
@media (prefers-reduced-motion:reduce) {
  .commerce-payment-body,.commerce-saved-cards,.commerce-card-sdk-shell,.commerce-payment-selected-note { animation:none; }
  .commerce-saved-card { transition:none; }
}

.commerce-address-actions,.commerce-address-form-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.commerce-address-form { display:flex; flex-direction:column; gap:11px; margin-block-start:3px; padding:13px; border:1px solid var(--line); border-radius:var(--radius-md); background:#faf8fc; }
.commerce-address-form label { display:flex; flex-direction:column; gap:6px; font-size:12px; font-weight:650; color:var(--navy-2); }
.commerce-address-form textarea { min-height:72px; resize:vertical; }
.commerce-map-required { margin:0; padding:10px 11px; border-radius:12px; background:#eef5fc; color:#365e87; font-size:12px; line-height:1.55; border:1px solid #ddeaf6; }
.commerce-address-form [data-commerce-map-select] { width:100%; min-height:52px; }
.commerce-address-form [data-commerce-map-select].is-selected { background:#eaf6f1; color:#18644d; border-color:#cce8dc; box-shadow:none; }
.commerce-map-dialog { width:min(calc(100vw - 28px),410px); max-height:min(86dvh,720px); padding:0; overflow:hidden; border-radius:22px; color:#153653; box-shadow:0 22px 60px rgba(13,42,72,.28); }
.commerce-map-dialog::backdrop { background:#102d50b8; backdrop-filter:blur(2px); }
.commerce-map-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 14px 9px; border-bottom:1px solid #edf2f7; }
.commerce-map-title { font-size:17px; font-weight:780; color:#102f53; }
.commerce-map-close { width:36px; height:36px; border:1px solid #dce7f2; border-radius:50%; background:#f6f9fd; color:#466b91; font-size:22px; line-height:1; cursor:pointer; box-shadow:0 3px 10px rgba(47,89,137,.06); }
.commerce-map-dialog > .commerce-muted { padding:11px 16px 0; }
.commerce-map-area { position:relative; height:min(46dvh,320px); min-height:230px; margin:12px 14px; overflow:hidden; border:1px solid #d5e3f1; border-radius:18px; background-color:#f2f7fc; background-image:linear-gradient(#dfe9f4 1px,transparent 1px),linear-gradient(90deg,#dfe9f4 1px,transparent 1px),linear-gradient(32deg,transparent 46%,#e7eef6 47% 52%,transparent 53%),linear-gradient(-28deg,transparent 44%,#e5edf6 45% 50%,transparent 51%); background-size:42px 42px,42px 42px,150px 120px,170px 145px; cursor:crosshair; touch-action:none; }
.commerce-map-area::before,.commerce-map-area::after { content:''; position:absolute; border-radius:20px; background:#e5f0e9; opacity:.85; }
.commerce-map-area::before { width:88px; height:54px; inset-inline-start:10%; inset-block-start:14%; transform:rotate(-8deg); }
.commerce-map-area::after { width:72px; height:82px; inset-inline-end:10%; inset-block-end:13%; transform:rotate(12deg); }
.commerce-map-pin { position:absolute; z-index:2; inset-inline-start:50%; inset-block-start:50%; width:42px; height:42px; margin:-36px 0 0 -21px; display:grid; place-items:center; border-radius:50% 50% 50% 4px; transform:rotate(-45deg); background:#244f7c; color:white; box-shadow:0 8px 16px #244f7c42; transition:left .12s ease,top .12s ease,inset-inline-start .12s ease,inset-block-start .12s ease,transform .15s ease; }
.phone-screen[dir="rtl"] .commerce-map-pin { margin-inline-start:-21px; margin-inline-end:0; }
.commerce-map-pin svg { width:21px; height:21px; transform:rotate(45deg); }
.commerce-map-pin.is-selected { background:#176f9f; transform:rotate(-45deg) scale(1.05); }
.commerce-map-status { margin:0 14px; min-height:32px; padding:7px 10px; border-radius:10px; background:#f6f9fc; color:#617b98; font-size:11px; line-height:1.45; }
.commerce-map-actions { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.18fr); gap:7px; padding:9px 14px max(12px,env(safe-area-inset-bottom)); }
.commerce-map-actions .commerce-button { min-height:44px; padding:8px 11px; border-radius:13px; font-size:12px; gap:7px; box-shadow:0 4px 12px rgba(42,83,129,.07); }
.commerce-map-actions .commerce-button svg { width:18px; height:18px; }
.commerce-map-actions .commerce-button.is-primary:disabled { background:#dfe8f2; color:#8194aa; border-color:#dfe8f2; opacity:1; }
.commerce-map-actions .commerce-button.is-primary:not(:disabled) { box-shadow:0 6px 14px rgba(16,47,84,.14); }







.commerce-core .printing-chat-form { padding-block:9px 12px; }
.commerce-line.is-compact { border-radius:14px; padding:10px; box-shadow:none; gap:6px 8px; background:#fbfdff; }
.commerce-line.is-compact:hover { box-shadow:none; }
.commerce-line.is-compact .commerce-media { width:52px; height:52px; flex-basis:52px; border-radius:11px; }
.commerce-line.is-compact .commerce-identity { padding:0; }
.commerce-line.is-compact .commerce-item-title { font-size:12px; }
.commerce-line.is-compact .commerce-muted { font-size:10px; }
.commerce-line.is-compact .pd-price { font-size:14px; }
.commerce-count { justify-self:end; font-size:11px; color:#7188a3; font-weight:680; }
.commerce-success { position:relative; padding:20px 16px 20px 72px; min-height:102px; justify-content:center; background:linear-gradient(135deg,#f4fbf8,#fff); border-color:#d9eee5; }
.phone-screen[dir="rtl"] .commerce-success { padding:20px 72px 20px 16px; }
.commerce-success-check { position:absolute; inset-inline-start:16px; inset-block-start:27px; width:44px; height:44px; border-radius:50%; background:#dff5eb; color:#138061; display:grid; place-items:center; font-size:27px; box-shadow:0 0 0 5px #effaf5; }
.commerce-confirmation { display:grid; gap:var(--commerce-gap); min-inline-size:0; }
.commerce-confirmation-hero { display:grid; justify-items:center; gap:9px; text-align:center; padding:24px 16px 20px; border:1px solid #d9eee5; border-radius:var(--commerce-radius); background:linear-gradient(160deg,#f2fbf6,#fff 70%); }
.commerce-confirmation-hero h1 { margin:0; color:#145c42; font-size:clamp(22px,4vw,30px); }
.commerce-confirmation-hero p { margin:0; max-inline-size:38ch; }
.commerce-confirmation-check { inline-size:54px; block-size:54px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#16845d; box-shadow:0 0 0 6px #e2f5eb; }
.commerce-confirmation-check svg { inline-size:30px; block-size:30px; fill:none; stroke:currentColor; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.commerce-confirmation-meta { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:7px 15px; align-items:center; }
.commerce-confirmation-meta .remaining-order-ref { color:var(--navy); font-weight:800; }
.commerce-payment-error { border-color:#efc5c5; background:#fff7f7; color:#9c2424; }
.commerce-payment-verification { border-color:#e8d9aa; background:#fffaf0; color:#665516; }
.commerce-line.is-wishlist { grid-template-columns:72px minmax(0,1fr); grid-template-rows:auto auto auto; gap:5px 10px; align-items:center; padding:12px; border-radius:17px; background:#fff; }
.commerce-line.is-wishlist .commerce-identity { display:contents; }
.commerce-line.is-wishlist .commerce-media { grid-column:1; grid-row:1/4; width:72px; height:84px; border-radius:14px; }
.commerce-line.is-wishlist .commerce-line-copy { grid-column:2; grid-row:1; padding-inline-end:24px; }
.commerce-line.is-wishlist .commerce-item-title { font-size:13px; }
.commerce-line.is-wishlist .commerce-muted { font-size:10px; line-height:1.4; }
.commerce-line.is-wishlist .commerce-line-price { grid-column:2; grid-row:2; padding:0; }
.commerce-line.is-wishlist .pd-price { font-size:15px; }
.commerce-line.is-wishlist .pd-currency { width:14px; height:15px; }
.commerce-line.is-wishlist .commerce-line-actions { grid-column:2; grid-row:3; border:0; padding:2px 0 0; justify-content:flex-start; }
.commerce-line.is-wishlist .commerce-availability,.commerce-line.is-wishlist .commerce-warning { grid-column:2; grid-row:3; padding:0; background:none; border:0; font-size:10px; justify-self:end; }
.commerce-line.is-wishlist .commerce-remove { inset-block-start:9px; inset-inline-end:9px; width:31px; height:31px; padding:7px; }
.commerce-line.is-wishlist .commerce-button { border-radius:var(--radius-sm); min-height:36px; font-size:10px; background:var(--accent-soft); padding:7px 11px; gap:5px; width:auto; }
.commerce-line.is-wishlist .commerce-button svg { width:17px; height:17px; }
.commerce-line.is-compact { grid-template-columns:minmax(0,1fr) auto; align-items:center; }
.commerce-line.is-compact .commerce-identity { grid-column:1; grid-row:1; }
.commerce-line.is-compact .commerce-line-price[data-price-state="final"] { grid-column:2; grid-row:1; flex-direction:column; align-items:flex-end; max-width:108px; }
.commerce-line.is-compact .commerce-line-price:not([data-price-state="final"]) { grid-column:1/-1; }
.commerce-line.is-compact .commerce-count { grid-column:2; }
.commerce-line.is-compact > .commerce-book-lamination-details { grid-column:1/-1; min-inline-size:0; }
.commerce-line.is-compact[data-line-type="SERVICE"] .commerce-line-copy { overflow-wrap:break-word; word-break:normal; }
.commerce-choice,.commerce-service-disclosure>summary { -webkit-tap-highlight-color:transparent; }
.commerce-choice:focus-visible,.commerce-service-disclosure>summary:focus-visible { outline:2px solid var(--accent); outline-offset:3px; border-radius:8px; }
@media(max-width:560px){
 .commerce-line.is-compact[data-line-type="SERVICE"] { grid-template-columns:minmax(0,1fr); }
 .commerce-line.is-compact[data-line-type="SERVICE"] > .commerce-identity,
 .commerce-line.is-compact[data-line-type="SERVICE"] > .commerce-line-price[data-price-state],
 .commerce-line.is-compact[data-line-type="SERVICE"] > .commerce-count { grid-column:1/-1; grid-row:auto; max-inline-size:none; }
 .commerce-line.is-compact[data-line-type="SERVICE"] > .commerce-line-price { align-items:flex-start; }
 .commerce-line.is-compact[data-line-type="SERVICE"] .commerce-identity { padding-inline-end:0; }
}
.commerce-line-lower { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:10px; min-width:0; }
.commerce-line-lower .commerce-line-price { flex:1; }
.commerce-line-lower .commerce-line-actions { flex:none; border:0; padding:0; }
.commerce-line.is-compact .commerce-line-price .commerce-count { font-size:11px; }
.commerce-quantity .printing-quantity { position:relative; flex:none; width:110px; height:40px; box-sizing:border-box; }
.commerce-line[data-mutation-state="updating"]::after { content:none; }
.commerce-quantity .printing-quantity[aria-busy="true"] > :is(button,input) { visibility:hidden; }
.commerce-quantity .printing-quantity[aria-busy="true"]::after { content:'•••'; position:absolute; inset:0; display:grid; place-items:center; letter-spacing:4px; font-size:16px; color:var(--accent); animation:commerce-quantity-dots .8s ease-in-out infinite alternate; }
@keyframes commerce-quantity-dots { from { opacity:.35; } to { opacity:1; } }
@media(prefers-reduced-motion:reduce){.commerce-quantity .printing-quantity[aria-busy="true"]::after { animation:none; }}
@media (max-width:380px) {
  .commerce-core { --commerce-gutter:10px; --commerce-padding:12px; }
  .commerce-actions,.commerce-address-actions,.commerce-address-form-actions { grid-template-columns:1fr; }
  .commerce-map-actions { grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); }
  .commerce-line.is-wishlist { grid-template-columns:64px minmax(0,1fr); }
  .commerce-line.is-wishlist .commerce-media { width:64px; height:76px; }
  .commerce-step { font-size:9px; }
  .commerce-step-number { inline-size:31px; block-size:31px; }
  .commerce-step::before { inset-block-start:14px; }
}
@media(prefers-reduced-motion:reduce) {
  .commerce-core *,.commerce-map-dialog * { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
  .commerce-line:hover,.commerce-button:active:not(:disabled),.commerce-remove:active,.commerce-quantity .printing-quantity button:active { transform:none!important; }
}

/* Remaining Page Profiles: premium SAFHAT-family presentation, existing owners only. */
.remaining-page {
  --remaining-ink:#20242b; --remaining-muted:#706a7c; --remaining-border:#e8e3eb; --remaining-soft:#f8f5fa;
  color:var(--remaining-ink); display:flex; flex-direction:column; gap:14px; padding:8px 8px 24px;
  max-inline-size:760px; inline-size:100%; box-sizing:border-box; margin-inline:auto; overflow-wrap:anywhere;
  font-size:var(--commerce-textSize,13px); background:var(--surface-warm);
}
.remaining-page *, .remaining-page *::before, .remaining-page *::after { box-sizing:border-box; min-inline-size:0; }
.remaining-page h1,.remaining-page h2,.remaining-page h3,.remaining-page p { margin:0; }
.remaining-page h1 { font-size:clamp(22px,var(--commerce-headingSize,24px),30px); line-height:1.28; letter-spacing:-.018em; color:var(--navy); font-weight:780; }
.remaining-page h2 { font-size:16px; line-height:1.4; color:var(--navy); font-weight:740; }
.remaining-page p { line-height:1.62; }
.remaining-page svg { inline-size:22px; block-size:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.remaining-page :is(button,summary):focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.remaining-page-head { min-block-size:48px; display:flex; align-items:center; gap:10px; padding:0 2px; }
.remaining-page-head h1 { flex:1; }
.remaining-page-head.is-auth { min-block-size:42px; }
.remaining-page .commerce-button.remaining-back { inline-size:40px; block-size:40px; min-block-size:40px; padding:0; border-radius:var(--radius-sm); background:#fff; border:1px solid var(--line); box-shadow:none; color:var(--accent); }
.remaining-back svg { inline-size:19px; block-size:19px; transform:rotate(180deg); }
.remaining-page:dir(rtl) .remaining-back svg { transform:none; }
.remaining-panel,.remaining-row,.remaining-message-bubble {
  background:#fff; border:1px solid var(--remaining-border); border-radius:12px; padding:14px;
  box-shadow:none;
}
.remaining-panel { display:flex; flex-direction:column; gap:11px; }
.remaining-muted,.remaining-lead,.remaining-message,.remaining-row small,.remaining-fixture-note,.remaining-auth-gate { color:var(--remaining-muted); }
.remaining-lead { font-size:14px; line-height:1.6; }
.remaining-message { padding:12px 13px; background:var(--accent-soft); border:1px solid var(--line); border-radius:var(--radius-sm); color:#0a66ff; }
.remaining-row {
  color:inherit; font:inherit; display:flex; align-items:center; gap:11px; text-align:start; min-block-size:62px;
  cursor:pointer; inline-size:100%; transition:border-color .15s ease,background .15s ease,transform .15s ease,box-shadow .15s ease;
}
.remaining-row:hover { border-color:#e5e7eb; background:#fcfaff; box-shadow:var(--soft-shadow); }
.remaining-row:active { transform:translateY(1px); }
.remaining-row-icon { inline-size:38px; block-size:38px; display:grid; place-items:center; flex:0 0 38px; border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent); }
.remaining-row-icon svg { inline-size:20px; block-size:20px; }
.remaining-row-copy { display:flex; flex:1; flex-direction:column; gap:3px; }
.remaining-row-copy strong { font-weight:680; font-size:13px; color:var(--navy); }
.remaining-row-copy small { font-size:11px; line-height:1.45; }
.remaining-row-chevron { inline-size:15px!important; block-size:15px!important; color:#91a5bc; }
.remaining-page:dir(rtl) .remaining-row-chevron { transform:rotate(180deg); }
.remaining-page .commerce-button { min-block-size:var(--commerce-ctaHeight,46px); white-space:normal; border-radius:var(--radius-sm); }
.remaining-page .commerce-button.is-primary { box-shadow:0 5px 14px rgba(91,70,153,.16); }
.remaining-page>.commerce-button { inline-size:100%; }
.remaining-eyebrow { color:#7890aa; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:760; }
.remaining-status-chip { white-space:nowrap; flex-shrink:0; align-self:flex-start; display:inline-flex; align-items:center; min-block-size:27px; padding:5px 9px; border-radius:var(--radius-pill); background:var(--accent-soft); color:#0a66ff; border:1px solid #e5e7eb; font-size:10px; font-weight:720; }
.remaining-filter-rail,.remaining-review-filters,.remaining-tabs,.remaining-policy-nav { display:flex; gap:7px; overflow:auto; scrollbar-width:none; padding-block:1px 2px; }
.remaining-filter-rail::-webkit-scrollbar,.remaining-review-filters::-webkit-scrollbar,.remaining-tabs::-webkit-scrollbar,.remaining-policy-nav::-webkit-scrollbar { display:none; }
.remaining-filter-pill,.remaining-tab { flex:0 0 auto; min-block-size:34px; border:1px solid var(--control-border); border-radius:var(--radius-sm); padding:7px 12px; background:#fff; color:var(--navy); font:inherit; font-size:11px; font-weight:650; cursor:pointer; }
.remaining-filter-pill.is-selected,.remaining-filter-pill[aria-pressed="true"],.remaining-tab[aria-pressed="true"] { background:var(--accent); border-color:var(--accent); color:#fff; }
.remaining-tab { flex:1 1 0; }

/* Authentication: isolated reference composition; owner artwork is deliberately frame-free. */
.remaining-auth { text-align:center; max-inline-size:440px; gap:14px; padding-block:24px 40px; }
.remaining-auth .remaining-page-head { justify-content:flex-start; }
.remaining-auth .remaining-page-head.is-auth { margin-block-end:-2px; }
.remaining-auth-brand { display:flex; justify-content:center; min-block-size:32px; }
.remaining-auth-brand img { inline-size:128px; max-block-size:30px; object-fit:contain; }
.remaining-auth-art {
  inline-size:var(--auth-art-width,56%); max-inline-size:300px; min-block-size:88px; margin:2px auto 0;
  display:grid; place-items:center; overflow:visible; background:transparent!important; border:0!important; border-radius:0!important;
  box-shadow:none!important; transform:translate(var(--auth-art-x,0px),var(--auth-art-y,0px));
}
.remaining-auth-art img { inline-size:100%; block-size:auto; max-block-size:270px; object-fit:var(--auth-art-fit,contain); object-position:center; filter:none; }
.remaining-auth-art[data-fit="cover"] { block-size:clamp(150px,42vw,240px); overflow:hidden; }
.remaining-auth-art[data-fit="cover"] img { block-size:100%; max-block-size:none; object-fit:cover; }
.remaining-auth-art svg { inline-size:72px; block-size:72px; color:#8aa8c6; opacity:.78; }
.remaining-auth>h1 { font-size:29px; line-height:1.28; margin-block-start:2px; }
.remaining-auth .remaining-lead { max-inline-size:340px; margin-inline:auto; font-size:13px; }
.remaining-auth .remaining-form { margin-block-start:3px; }
.remaining-auth .remaining-fixture-note { font-size:10px; line-height:1.5; }
.remaining-auth-links { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 16px; }
.remaining-text-action { border:0; padding:4px 2px; background:none; color:var(--accent); font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
.remaining-auth-legal { display:flex; justify-content:center; flex-wrap:wrap; align-items:center; gap:2px 6px; color:#7a8da7; font-size:10px; line-height:1.5; padding-inline:8px; }
.remaining-auth-legal .remaining-text-action { font-size:10px; padding:2px; }
.remaining-auth-gate { font-size:10px; line-height:1.5; }
.remaining-auth-shell #bottomNav { display:none!important; }

/* Unified forms. */
.remaining-form { display:flex; flex-direction:column; gap:13px; }
.remaining-field { position:relative; display:flex; flex-direction:column; gap:7px; color:var(--navy-2); font-size:12px; font-weight:650; text-align:start; }
.remaining-field input,.remaining-field textarea,.remaining-form select {
  inline-size:100%; max-inline-size:100%; min-block-size:48px; border:1px solid var(--control-border); background:#fff;
  color:var(--navy); border-radius:var(--radius-sm); padding:12px 13px; font:inherit; font-weight:500; transition:border-color .15s,box-shadow .15s,background .15s;
}
.remaining-field input:focus,.remaining-field textarea:focus,.remaining-form select:focus { outline:0; border-color:var(--focus); background:#fff; box-shadow:0 0 0 3px var(--glow); }
.remaining-field.is-invalid { color:#a33f3f; }
.remaining-field.is-invalid input,.remaining-field.is-invalid textarea { border-color:#c95b5b; background:#fff8f8; box-shadow:0 0 0 3px rgba(190,66,66,.08); }
.remaining-field.is-invalid input:focus,.remaining-field.is-invalid textarea:focus { border-color:#ba4444; box-shadow:0 0 0 3px rgba(190,66,66,.14); }
.remaining-field-error { color:#a33f3f; font-size:10.5px; line-height:1.45; font-weight:650; }
.remaining-otp-target { margin:0; color:#58718e; font-size:11px; line-height:1.5; }
.remaining-otp-target-email { color:#173b62; font-weight:720; overflow-wrap:anywhere; }

.remaining-field textarea { min-block-size:96px; resize:vertical; line-height:1.55; }

/* Batch-6 Tranche-D Write-a-Review modal reuses current Storefront form/button tokens. */
.remaining-review-dialog { width:min(calc(100vw - 24px),430px); max-width:430px; max-height:min(86dvh,760px); padding:0; overflow:hidden; border-radius:var(--radius-lg); color:var(--navy); box-shadow:0 18px 54px rgba(57,44,81,.18); }
.remaining-review-dialog .service-gallery-header { position:sticky; inset-block-start:0; z-index:2; }
.remaining-review-modal-body { display:flex; flex-direction:column; gap:14px; max-block-size:calc(min(86dvh,760px) - 58px); padding:16px; overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; }
.remaining-review-modal-target { margin:0; gap:4px; overflow-wrap:anywhere; }
.remaining-review-target-name { display:block; color:#173b62; line-height:1.45; overflow-wrap:anywhere; }
.remaining-review-rating-field { margin:0; padding:0; border:0; min-inline-size:0; }
.remaining-review-rating-field legend { margin-block-end:7px; color:#4b6786; font-size:12px; font-weight:650; }
.remaining-review-stars { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.remaining-review-star { min-inline-size:0; min-block-size:44px; border:1px solid var(--control-border); border-radius:var(--radius-sm); background:#fff; color:var(--navy); font:inherit; font-weight:700; cursor:pointer; }
.remaining-review-star[aria-pressed="true"] { border-color:var(--accent); background:var(--accent-soft); color:var(--accent); }
.remaining-review-star:focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.remaining-review-star:disabled { cursor:default; opacity:.62; }
.remaining-review-write-form .remaining-field textarea { min-block-size:128px; }
.remaining-review-modal-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.remaining-review-modal-actions .commerce-button { flex:0 1 auto; }
@media (max-width:460px){.remaining-review-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.remaining-review-modal-body{max-block-size:calc(100dvh - 80px);padding:14px}.remaining-review-modal-actions .commerce-button{flex:1 1 120px}}
.remaining-password-control { position:relative; display:block; inline-size:100%; }
.remaining-password-field .remaining-password-control>input { padding-left:13px; padding-right:52px; }
.remaining-page:dir(rtl) .remaining-password-field .remaining-password-control>input { padding-left:52px; padding-right:13px; }
.remaining-password-toggle { position:absolute; inset-inline-end:6px; inset-block-start:50%; transform:translateY(-50%); inline-size:36px; block-size:36px; border:0; border-radius:50%; display:grid; place-items:center; background:#f1f6fb; color:#5c7897; cursor:pointer; }
.remaining-password-toggle svg { inline-size:18px; block-size:18px; }
.remaining-password-field.is-invalid .remaining-password-toggle { color:#7d5360; }
.remaining-password-toggle:disabled { cursor:default; opacity:.62; }
.remaining-validation { color:#a33f3f; padding:8px 10px; border-radius:10px; background:#fff3f3; font-size:11px; }
.remaining-otp-wrap { position:relative; direction:ltr; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:7px; cursor:text; }
.remaining-otp-cell { block-size:48px; display:grid; place-items:center; border:1px solid #dbe7f4; border-radius:12px; background:#fff; color:#153a61; font-size:18px; font-weight:760; transition:border-color .15s,box-shadow .15s; }
.remaining-otp-cell.is-filled { border-color:#89b5dd; }
.remaining-otp-wrap.is-focused .remaining-otp-cell { box-shadow:0 0 0 2px rgba(112,166,219,.12); }
.remaining-field.is-invalid .remaining-otp-cell { border-color:#c95b5b; background:#fff8f8; color:#9b3434; }
.remaining-field.is-invalid .remaining-otp-wrap.is-focused .remaining-otp-cell { box-shadow:0 0 0 2px rgba(190,66,66,.12); }

.remaining-otp-input { position:absolute; inset:0; inline-size:100%; block-size:100%; opacity:.01; border:0!important; padding:0!important; cursor:text; }

/* Account + profile. */
.remaining-profile { display:grid; grid-template-columns:54px minmax(0,1fr) auto; gap:10px 13px; align-items:center; padding:16px; }
.remaining-profile-avatar { grid-row:1; inline-size:54px; block-size:54px; display:grid; place-items:center; border-radius:var(--radius-md); background:var(--accent-soft); color:var(--accent); }
.remaining-profile-avatar svg { inline-size:27px; block-size:27px; }
.remaining-profile-copy { display:flex; flex-direction:column; gap:3px; }
.remaining-profile-copy strong { font-size:15px; color:var(--navy); }
.remaining-profile-copy bdi { font-size:11px; }
.remaining-profile>.commerce-button { min-block-size:36px; padding:8px 11px; font-size:10px; }
.remaining-account-menu { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.remaining-profile-form { padding:15px; }

/* Orders / fulfillment. */
.remaining-order-card { gap:8px; padding:12px 14px; }
.remaining-order-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.remaining-order-head>div { display:flex; flex-direction:column; gap:3px; }
.remaining-order-ref { font-size:14px; font-weight:780; color:var(--navy); }
.remaining-thumbnails { display:flex; flex-wrap:wrap; gap:7px; padding-block:2px; }
.remaining-thumbnails .commerce-media { inline-size:46px; block-size:46px; flex:0 0 46px; border-radius:10px; }
.remaining-order-meta,.remaining-order-total { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:11px; }
.remaining-order-card .remaining-muted { font-size:11px; line-height:1.4; }
.remaining-order-card .remaining-order-meta { border-top:1px solid var(--line); padding-top:8px; }
.remaining-order-total { padding-block-start:10px; border-block-start:1px solid #e7eef7; font-weight:700; }
.remaining-order-total .pd-price { font-size:15px; }
.remaining-order-hero { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 12px; background:#fff; padding:12px 14px; }
.remaining-order-hero .remaining-status-chip { justify-self:end; }
.remaining-order-hero .remaining-order-hero-total { justify-self:end; font-size:14px; color:var(--navy); }
.remaining-order-hero .remaining-muted { font-size:11px; }
.remaining-fulfillment-panel { position:relative; overflow:hidden; }
.remaining-service-route { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.remaining-service-route span { position:relative; min-block-size:38px; display:grid; place-items:center; padding:6px; text-align:center; border-radius:10px; background:#f1f7fd; color:#496b8d; font-size:9px; font-weight:680; }
.remaining-service-route span:not(:last-child)::after { content:'›'; position:absolute; inset-inline-end:-7px; color:#8da5bd; z-index:1; }
.remaining-page:dir(rtl) .remaining-service-route span:not(:last-child)::after { content:'‹'; }

/* Returns. */
.remaining-return-form,.remaining-return-card { gap:12px; }
.remaining-return-card .remaining-status-chip { margin-block-end:2px; }

/* Dedicated Reviews, same canonical Reviews domain. */
.remaining-review-target { padding:2px 1px 0; display:flex; flex-direction:column; gap:3px; }
.remaining-review-target strong { font-size:15px; color:#15395f; }
.remaining-review-summary { display:grid; grid-template-columns:minmax(110px,.8fr) minmax(0,1.3fr); gap:16px; align-items:center; padding:16px; }
.remaining-review-score { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; min-block-size:145px; border-inline-end:1px solid #e7eef7; }
.remaining-review-score>strong { font-size:42px; line-height:1; letter-spacing:-.04em; color:#10375f; }
.remaining-review-score>span:not(.pd-stars) { color:#758aa3; font-size:12px; }
.remaining-review-score .pd-stars { font-size:18px; }
.remaining-rating-bars { display:flex; flex-direction:column; gap:7px; inline-size:100%; }
.remaining-rating-row { display:grid; grid-template-columns:31px minmax(0,1fr) 24px; gap:7px; align-items:center; color:#617996; font-size:10px; }
.remaining-rating-track { block-size:7px; border-radius:999px; overflow:hidden; background:#eaf0f7; }
.remaining-rating-fill { display:block; block-size:100%; border-radius:inherit; background:#f4b544; }
.remaining-rating-count { text-align:end; }
.remaining-review-list { display:flex; flex-direction:column; gap:10px; }
.remaining-review-card { display:grid; grid-template-columns:40px minmax(0,1fr); gap:11px; padding:14px; }
.remaining-review-avatar { inline-size:40px; block-size:40px; display:grid; place-items:center; border-radius:50%; background:#eef5fc; color:#4a78a3; }
.remaining-review-avatar svg { inline-size:20px; block-size:20px; }
.remaining-review-card-body { display:flex; flex-direction:column; gap:8px; }
.remaining-review-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.remaining-review-card-head strong { font-size:12px; color:#173b61; }
.remaining-review-card .pd-stars { font-size:14px; }
.remaining-review-card p { color:#405f7e; font-size:12px; }
.remaining-review-account-card { grid-template-columns:minmax(0,1fr) auto; align-items:start; }
.remaining-review-account-card .remaining-review-card-body { min-inline-size:0; }
.remaining-review-account-card .remaining-review-card-head { justify-content:flex-start; flex-wrap:wrap; }
.remaining-review-account-card .remaining-review-card-head strong { flex:1 1 220px; min-inline-size:0; overflow-wrap:break-word; word-break:normal; }
.remaining-review-account-card .remaining-status-chip { flex:none; white-space:nowrap; }
.remaining-review-account-card>.commerce-button { justify-self:end; align-self:start; inline-size:auto; max-inline-size:100%; }

@media (max-width:600px) {
  .remaining-review-account-card { grid-template-columns:minmax(0,1fr); gap:10px; }
  .remaining-review-account-card .remaining-review-card-head { align-items:flex-start; gap:6px 8px; }
  .remaining-review-account-card .remaining-review-card-head strong { flex-basis:100%; }
  .remaining-review-account-card>.commerce-button { justify-self:start; inline-size:auto; min-inline-size:0; }
}
.remaining-write-review { padding:15px; }

/* Notifications. */
.remaining-empty-state,.remaining-contact-state { align-items:center; text-align:center; padding:24px 18px; gap:9px; }
.remaining-empty-icon { inline-size:54px; block-size:54px; display:grid; place-items:center; border-radius:50%; background:#edf6ff; color:#3d73a3; }
.remaining-empty-icon svg { inline-size:25px; block-size:25px; }
.remaining-notification { position:relative; display:grid; grid-template-columns:42px minmax(0,1fr); gap:11px; align-items:start; }
.remaining-notification[data-notification-read="false"] { border-color:#cfe3f6; background:#fbfdff; }
.remaining-notification-icon { inline-size:42px; block-size:42px; display:grid; place-items:center; border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent); }
.remaining-notification-icon svg { inline-size:20px; block-size:20px; }
.remaining-notification-copy { display:flex; flex-direction:column; gap:4px; }
.remaining-notification-copy p { color:#58708c; font-size:12px; }
.remaining-unread-dot { position:absolute; inset-block-start:11px; inset-inline-end:11px; inline-size:8px; block-size:8px; border-radius:50%; background:#2e83c1; box-shadow:0 0 0 3px #e7f4ff; }
.remaining-notification>.commerce-button { grid-column:2; min-block-size:35px; font-size:10px; justify-self:start; }

/* Human Support / Messaging. */
.remaining-thread-head { display:grid; grid-template-columns:40px minmax(0,1fr); align-items:center; gap:11px; }
.remaining-thread-head .remaining-row-icon { inline-size:40px; block-size:40px; }
.remaining-message-thread { display:flex; flex-direction:column; gap:9px; }
.remaining-message-bubble { display:flex; flex-direction:column; gap:5px; align-self:flex-start; max-inline-size:86%; border-radius:var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-xs); padding:10px 12px; box-shadow:none; background:#fff; }
.remaining-message-bubble.is-customer { align-self:flex-end; background:var(--accent-soft); border-color:var(--control-border); border-radius:var(--radius-md) var(--radius-md) var(--radius-xs) var(--radius-md); }
.remaining-page:dir(rtl) .remaining-message-bubble { border-radius:17px 17px 5px 17px; }
.remaining-page:dir(rtl) .remaining-message-bubble.is-customer { border-radius:17px 17px 17px 5px; }
.remaining-message-author { color:#7890aa; font-size:9px; font-weight:720; }
.remaining-message-bubble p { font-size:12px; color:#335574; }
.remaining-composer textarea { min-block-size:72px; }
.remaining-composer .commerce-button svg { inline-size:17px; block-size:17px; }
.remaining-thread-list { display:flex; flex-direction:column; gap:7px; }

/* Policies / FAQ. */
.remaining-policy-nav { margin-block-end:2px; }
.remaining-policy-section { padding:0; overflow:hidden; }
.remaining-policy-section>summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px; cursor:pointer; color:var(--navy); font-size:13px; font-weight:700; }
.remaining-policy-section>summary::-webkit-details-marker { display:none; }
.remaining-policy-section>summary svg { inline-size:16px; block-size:16px; color:#7991aa; transform:rotate(90deg); transition:transform .15s; }
.remaining-policy-section[open]>summary svg { transform:rotate(-90deg); }
.remaining-page:dir(rtl) .remaining-policy-section>summary svg { transform:rotate(90deg); }
.remaining-page:dir(rtl) .remaining-policy-section[open]>summary svg { transform:rotate(-90deg); }
.remaining-policy-section>.remaining-message { margin:0 14px 14px; }

/* Contact. */
.remaining-contact-state { background:linear-gradient(145deg,#f6faff,#fff); }

/* Reused certified Address flow: page-level spacing only, no map/logic restyle. */
.commerce-core[data-commerce-page="ADDRESSES"] { padding-block-start:10px; }
.commerce-core[data-commerce-page="ADDRESSES"]>.commerce-button:last-child { inline-size:100%; }

@media (max-width:380px) {
  .remaining-page { gap:11px; }
  .remaining-page h1 { font-size:22px; }
  .remaining-panel,.remaining-row { border-radius:var(--radius-md); }
  .remaining-row { min-block-size:58px; padding:12px; }
  .remaining-row-icon { inline-size:35px; block-size:35px; flex-basis:35px; }
  .remaining-profile { grid-template-columns:48px minmax(0,1fr); }
  .remaining-profile-avatar { inline-size:48px; block-size:48px; }
  .remaining-profile>.commerce-button { grid-column:1/-1; }
  .remaining-review-summary { grid-template-columns:1fr; }
  .remaining-review-score { border-inline-end:0; border-block-end:1px solid #e7eef7; padding-block-end:13px; min-block-size:120px; }
  .remaining-otp-wrap { gap:4px; }
  .remaining-otp-cell { block-size:44px; border-radius:10px; }
  .remaining-service-route { gap:5px; }
}
@media (prefers-reduced-motion:reduce) {
  .remaining-page * { transition:none!important; animation:none!important; scroll-behavior:auto!important; }
  .remaining-row:active { transform:none; }
}

/* Printing frontend finalization styles follow. */
.storefront-printing-core :is(button,input,textarea):focus-visible { outline:2px solid var(--focus); outline-offset:2px; }
.printing-dropzone { transition:border-color .16s ease,background .16s ease,box-shadow .16s ease; }
.printing-dropzone:hover { border-color:#b9d4ef; background:#fbfdff; }
.printing-upload-button { font-weight:700; box-shadow:0 5px 14px rgba(91,70,153,.16); }
.printing-upload-button:hover:not(:disabled) { background:#0a66ff; }
.printing-file-row { display:flex; align-items:center; width:min(100%,330px); gap:7px; padding:7px 9px; border:1px solid #e2ebf4; border-radius:10px; background:#f8fbfe; }
.printing-file-row:empty { display:none; }
.printing-file-icon { display:grid; place-items:center; width:26px; height:26px; flex:none; color:#4f7398; }
.printing-file-icon svg { width:18px; height:18px; }
.printing-file-name { flex:1; overflow:hidden; font-size:11px; font-weight:650; text-overflow:ellipsis; white-space:nowrap; text-align:start; }
.printing-file-remove { display:flex; align-items:center; gap:4px; flex:none; border:0; background:transparent; color:#6f839b; text-decoration:none; font-size:10px!important; }
.printing-file-remove svg { width:15px; height:15px; }
.printing-upload-status[data-upload-state="analyzing"] { color:#527aa9; }
.printing-upload-status[data-upload-state="complete"] { color:#287353; }
.printing-upload-status:is([data-upload-state="failed"],[data-upload-state="unsupported"]) { color:#b54747; }
.printing-option:hover:not(:disabled):not([aria-pressed="true"]) { border-color:#eff6ff; background:#faf7fe; }
.printing-quantity :is(button,input):disabled,.printing-quote-button:disabled,.printing-cart:disabled { cursor:not-allowed; opacity:.55; }
.printing-custom-size { align-items:flex-start; }
.printing-dimension-field { display:flex; flex:1 1 130px; flex-direction:column; gap:4px; }
.printing-input-with-unit { display:flex; align-items:center; gap:6px; }
.printing-input-with-unit .printing-custom-pages { margin-top:0; }
.printing-input-with-unit > span { flex:none; color:#7f94ad; font-size:10px; }
.printing-validation { display:block; min-height:0; margin:4px 0 0; color:#7f94ad; font-size:10px; line-height:1.45; }
.printing-validation:empty { display:none; }
.printing-validation[data-severity="error"] { color:#b54747; }
.printing-validation[data-severity="warning"] { color:#996b22; }
.printing-range-editor { flex-direction:column; align-items:stretch; gap:8px; }
.printing-range-list { display:flex; flex-direction:column; gap:7px; }
.printing-range-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) 34px; gap:7px; align-items:end; }
.printing-range-row label { display:flex; flex-direction:column; gap:3px; color:#66809c; font-size:10px; }
.printing-range-row .printing-custom-pages { margin-top:0; min-height:34px; }
.printing-range-remove { display:grid; place-items:center; width:34px; height:34px; border:1px solid #e2ebf4; border-radius:9px; background:#fff; color:#7389a3; }
.printing-range-remove svg { width:16px; height:16px; }
.printing-range-add { display:flex; align-items:center; justify-content:center; gap:6px; align-self:flex-start; min-height:34px; padding:6px 11px; border:1px solid #d9e7f4; border-radius:10px; background:#f6faff; color:#476d94; font-size:11px!important; }
@container (max-width:300px) { .printing-range-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 32px; gap:5px; } .printing-file-row { width:100%; } }
.printing-quote { box-shadow:0 8px 26px rgba(31,72,116,.08); }
.printing-price strong { max-width:100%; overflow-wrap:anywhere; color:#173554; font-size:13px; }
.printing-breakdown-host { grid-column:1/-1; min-width:0; }
.printing-breakdown { border-top:1px solid #e6eef6; padding-top:8px; }
.printing-breakdown summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:34px; cursor:pointer; color:#35597d; font-size:11px; font-weight:750; list-style:none; }
.printing-breakdown summary::-webkit-details-marker { display:none; }
.printing-breakdown summary svg { width:16px; height:16px; transition:transform .16s ease; }
.printing-breakdown[open] summary svg { transform:rotate(90deg); }
.printing-breakdown-body { display:flex; flex-direction:column; padding-top:5px; }
.printing-breakdown-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid #eef3f8; }
.printing-breakdown-copy { display:flex; min-width:0; flex-direction:column; gap:2px; text-align:start; }
.printing-breakdown-copy strong { color:#35597d; font-size:10.5px; }
.printing-breakdown-copy small { color:#8799ae; font-size:9.5px; line-height:1.4; }
.printing-breakdown-value { flex:none; color:#294b6d; font-size:10.5px; font-weight:700; text-align:end; }
.printing-breakdown-row.is-adjustment .printing-breakdown-value { color:#287353; }
.printing-breakdown-row.is-info .printing-breakdown-value { color:#6c819a; }
.printing-breakdown-row.is-total { margin-top:3px; border-top-color:#d9e6f2; }
.printing-breakdown-row.is-final { margin-top:2px; padding-top:10px; border-top:1px solid #bed5ea; }
.printing-breakdown-row.is-final .printing-breakdown-copy strong,.printing-breakdown-row.is-final .printing-breakdown-value { color:#173554; font-size:12px; }
@media (prefers-reduced-motion:reduce) { .printing-dropzone,.printing-breakdown summary svg { transition:none; } }


/* Printing Paper Type ↔ GSM conditional content. */
.printing-paper-weight-content { display:grid; grid-template-areas:'paper-weight-stack'; min-height:34px; overflow:hidden; }
.printing-paper-weight-content > .printing-options,.printing-paper-weight-content > .printing-paper-weight-info { grid-area:paper-weight-stack; align-self:center; transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s; }
.printing-paper-weight-content[data-mode="standard"] > .printing-options,.printing-paper-weight-content[data-mode="info"] > .printing-paper-weight-info { opacity:1; transform:translateY(0); visibility:visible; transition-delay:0s; pointer-events:auto; }
.printing-paper-weight-content[data-mode="info"] > .printing-options,.printing-paper-weight-content[data-mode="standard"] > .printing-paper-weight-info { opacity:0; transform:translateY(2px); visibility:hidden; pointer-events:none; }
.printing-paper-weight-info { display:flex; align-items:flex-start; gap:8px; min-height:34px; padding:8px 10px; border:1px solid #e2ebf4; border-radius:10px; background:#f8fbfe; color:#4f6e8e; }
.printing-paper-weight-info-icon { display:grid; place-items:center; width:24px; height:24px; flex:none; border-radius:8px; background:#edf5fc; color:#52779c; }
.printing-paper-weight-info-icon svg { width:15px; height:15px; }
.printing-paper-weight-info-copy { display:flex; min-width:0; flex-direction:column; gap:2px; text-align:start; }
.printing-paper-weight-info-copy strong { color:#35597d; font-size:10.5px; line-height:1.35; }
.printing-paper-weight-info-copy > span { color:#70879f; font-size:10px; line-height:1.45; overflow-wrap:anywhere; }
@media (prefers-reduced-motion:reduce) { .printing-paper-weight-content > .printing-options,.printing-paper-weight-content > .printing-paper-weight-info { transition:none; } }

/* Printing Paper Size availability routing. */
.printing-option-card[data-option-group="size"] .printing-options { min-height:var(--printing-pillHeight); }
.printing-option-card[data-option-group="size"] .printing-option[data-option-value="custom"] { flex:0 1 auto; max-inline-size:140px; overflow:hidden; white-space:nowrap; transition:opacity .16s ease,transform .16s ease,max-inline-size .16s ease,padding .16s ease,border-width .16s ease; }
.printing-option-card[data-option-group="size"] .printing-option[data-option-value="custom"][data-availability="unavailable"] { flex:0 0 0; inline-size:0; min-inline-size:0; max-inline-size:0; padding:0; border-width:0; gap:0; opacity:0; transform:translateY(2px) scale(.98); pointer-events:none; }
.printing-custom-size { max-block-size:150px; overflow:hidden; opacity:1; transform:translateY(0); transition:max-block-size .16s ease,opacity .16s ease,transform .16s ease,padding .16s ease; }
.printing-custom-size[data-visibility="hidden"] { max-block-size:0; padding-top:0; opacity:0; transform:translateY(-2px); pointer-events:none; }
.printing-option-card[data-option-group="gsm"] .printing-option[data-option-value="80"] > span:last-child { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (prefers-reduced-motion:reduce) { .printing-option-card[data-option-group="size"] .printing-option[data-option-value="custom"],.printing-custom-size { transition:none; } }


/* Printing Paper Type ↔ Sides conditional availability. */
.printing-option-card[data-option-group="sides"] .printing-options { min-height:var(--printing-pillHeight); }
.printing-option-card[data-option-group="sides"] .printing-option[data-option-value="double"] { flex:0 1 auto; max-inline-size:160px; overflow:hidden; white-space:nowrap; transition:opacity .16s ease,transform .16s ease,max-inline-size .16s ease,padding .16s ease,border-width .16s ease; }
.printing-option-card[data-option-group="sides"] .printing-option[data-option-value="double"][data-availability="unavailable"] { flex:0 0 0; inline-size:0; min-inline-size:0; max-inline-size:0; padding:0; border-width:0; gap:0; opacity:0; transform:translateY(2px) scale(.98); pointer-events:none; }
@media (prefers-reduced-motion:reduce) { .printing-option-card[data-option-group="sides"] .printing-option[data-option-value="double"] { transition:none; } }

/* Book Lamination frontend-readiness only: preserve existing card geometry while allowing dynamic data overflow. */
.service-texture-viewer[data-service-instance="SERVICE_BOOK_LAMINATION"] .service-texture-gallery .printing-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
.service-texture-viewer[data-service-instance="SERVICE_BOOK_LAMINATION"] .service-gallery-body { overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.service-texture-viewer[data-service-instance="SERVICE_BOOK_LAMINATION"] .service-texture-gallery .printing-option { min-width:0; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-slots { padding:calc(var(--printing-padding) + 2px); padding-block-end:calc(var(--printing-padding) + 4px); }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-header { display:flex; align-items:flex-start; gap:8px; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-icon { display:grid; place-items:center; flex:none; inline-size:28px; block-size:28px; border-radius:9px; background:#eef5fc; color:#456f98; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-icon svg { inline-size:17px; block-size:17px; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-heading { display:flex; min-width:0; flex-direction:column; gap:2px; padding-block-start:1px; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-heading h2 { margin:0; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-return-subtitle { margin:0; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-date-strip { margin-block-start:10px; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-host { margin-block-start:12px; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-date-strip .printing-options,
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-strip .printing-options { display:grid; grid-auto-flow:column; grid-template-columns:none; gap:8px; max-width:100%; min-width:0; overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; scroll-behavior:smooth; scroll-snap-type:inline proximity; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-date-strip .printing-options::-webkit-scrollbar,
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-strip .printing-options::-webkit-scrollbar { display:none; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-date-strip .printing-options { grid-auto-columns:calc((100% - 32px)/5); }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-strip .printing-options { grid-auto-columns:calc((100% - 24px)/4); }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-date-strip .printing-option { min-width:0; height:51.375px; min-height:51.375px; scroll-snap-align:start; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-strip .printing-option { min-width:0; min-height:30px; font-size:10px; white-space:nowrap; direction:ltr; scroll-snap-align:start; }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-price-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; align-items:stretch; flex:1 1 min(100%,230px); min-width:min(100%,220px); }
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-price-actions .service-primary { inline-size:100%; max-inline-size:none; flex:none; padding-inline:8px; }
/* Book Lamination Owner-correction states: reuse Storefront visual language. */
.commerce-book-lamination-details .commerce-warning[data-hold-status="EXPIRED"],
.commerce-book-lamination-details .commerce-warning[data-hold-status="INVALIDATED"],
.commerce-book-lamination-details .commerce-warning[data-hold-status="MISSING"]{color:#a43b3b;background:#fff6f6;border-color:#efd0d0}
.book-lamination-success .commerce-success{display:grid;gap:14px;text-align:center}
.book-lamination-success-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.book-lamination-edit-mode{margin-bottom:10px}
.commerce-book-lamination-reschedule{grid-column:1/-1;display:grid;gap:12px;margin-top:10px;padding:14px;border:1px solid #dfeafa;border-radius:16px;background:#fbfdff}
.commerce-book-lamination-reschedule>h3{margin:0;color:#173855;font-size:15px}
@media(max-width:520px){.book-lamination-success-actions{grid-template-columns:1fr}.commerce-book-lamination-reschedule{padding:12px}}



/* Revised Batch-2 canonical merchandising routes — scoped to existing Storefront components. */
.storefront-merchandising-route { min-width:0; }
.storefront-merchandising-route-head { display:flex; align-items:center; gap:10px; min-width:0; margin-bottom:12px; }
.storefront-merchandising-route-image { display:block; flex:0 0 64px; width:64px; height:64px; border-radius:12px; object-fit:cover; background:#f3f6fa; }
.storefront-merchandising-route-copy { min-width:0; flex:1; }
.storefront-merchandising-route-copy h2 { margin:0; color:var(--navy); font-size:20px; line-height:1.2; font-weight:750; overflow-wrap:anywhere; }
.storefront-merchandising-route-copy p { margin:5px 0 0; color:#6f8094; font-size:11px; line-height:1.4; overflow-wrap:anywhere; }
.storefront-merchandising-product-track { min-height:64px; }

.storefront-category-menu-nav { display:flex; align-items:center; gap:7px; min-width:0; margin:0 0 7px; color:var(--navy); }
.storefront-category-menu-back { flex:none; min-height:24px; padding:3px 7px; border:0; border-radius:var(--radius-sm); background:var(--accent-soft); color:var(--accent); font-size:10px; font-weight:700; }
.storefront-category-menu-trail { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; color:#6f8094; }
.storefront-category-card.is-menu-driven { cursor:pointer; background:#f4f7fb; }
.storefront-category-card.is-menu-driven .storefront-category-card-media[data-empty="true"] { background:linear-gradient(145deg,#f8fbff,#eaf2fb); }
.storefront-category-card-label { position:absolute; z-index:2; inset-inline:4px; bottom:4px; display:flex; align-items:center; justify-content:center; gap:2px; min-width:0; max-height:34px; padding:3px 4px; border-radius:8px; background:rgba(255,255,255,.9); color:var(--navy); font-size:9px; font-weight:700; line-height:1.15; text-align:center; overflow:hidden; box-shadow:0 1px 4px rgba(30,61,99,.09); }
.storefront-category-card-label-short { display:block; padding:2px; white-space:nowrap; text-overflow:ellipsis; }
.storefront-category-card-child { flex:none; font-size:11px; line-height:1; }

/* Batch-3 canonical Checkout grouping presentation */
.commerce-delivery-group{display:grid;gap:4px;padding:12px 0;border-block-end:1px solid rgba(27,54,93,.12)}
.commerce-delivery-group:last-child{border-block-end:0}
.commerce-delivery-group>strong{font-size:14px}
.commerce-summary-row bdi{white-space:nowrap}
@media(max-width:420px){.commerce-summary-row{gap:10px}.commerce-delivery-group{min-width:0}.commerce-choice-copy{min-width:0}}


/* Customer Platform Batch 4 — Account / Orders / Services */
.remaining-activity-row,.remaining-linked-order{inline-size:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:#fff;border-radius:var(--radius-sm);padding:10px 12px;text-align:start;color:var(--navy);cursor:pointer}
.remaining-activity-row .remaining-row-copy{display:grid;gap:2px;flex:1}
.remaining-activity-row svg{inline-size:18px;block-size:18px}
.remaining-order-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:11px 0;border-block-end:1px solid #e5edf5}
.remaining-order-line:last-child{border-block-end:0}
.remaining-order-line-copy{display:grid;gap:3px;min-inline-size:0}
.remaining-order-line .commerce-media{inline-size:58px;block-size:58px;flex:none;border-radius:10px;overflow:hidden;background:#f5f7f9}
.remaining-order-line .commerce-media img{inline-size:100%;block-size:100%;object-fit:cover}
.remaining-outstanding-payment{border-color:#c9dcfa;background:linear-gradient(160deg,#f7fbff,#fff 72%)}
.remaining-outstanding-methods{display:grid;gap:7px;margin-block:9px}
.remaining-outstanding-methods .commerce-payment-choice{min-block-size:44px;border:1px solid #dbe5f1;border-radius:10px;padding:6px 10px;background:#fff}
.remaining-outstanding-methods svg{inline-size:20px;block-size:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.remaining-service-card-host{min-block-size:170px;min-inline-size:0}
.commerce-payment-confirmed{border:1px solid #b9dfca;border-radius:10px;padding:12px;background:#f2faf5;color:#156044}
.remaining-line-price,.remaining-service-price{display:grid;gap:2px;text-align:end;white-space:nowrap}
.remaining-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-block-end:1px solid #edf2f7}
.remaining-summary-row:last-child{border-block-end:0}
.remaining-tracking-panel{display:grid;gap:10px}
.remaining-track-item{display:grid;gap:10px;padding:12px;border:1px solid #dce8f3;border-radius:14px;background:#fbfdff}
.remaining-track-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.remaining-track-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.remaining-track-progress>span{display:grid;place-items:center;min-block-size:42px;padding:7px;border-radius:10px;background:#f1f7fd;color:#365f88;text-align:center;font-size:12px;line-height:1.35}
.remaining-track-relation{padding:9px 10px;border-radius:10px;background:#f1f7fd;color:#365f88}
.remaining-component-list{display:grid;gap:3px}
.remaining-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.remaining-detail-cell{display:grid;gap:2px;padding:8px 9px;border-radius:10px;background:#f7fafc}
.remaining-three-phase{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.remaining-phase-card{display:grid;align-content:start;gap:5px;min-block-size:104px;padding:11px;border:1px solid #dce8f3;border-radius:12px;background:#fff}
.remaining-phase-label{font-size:11px;font-weight:750;letter-spacing:.04em;text-transform:uppercase;color:#64809d}
.remaining-service-card{display:grid;gap:11px}
.remaining-linked-order bdi{overflow-wrap:anywhere}
.remaining-invoice-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:7px 0;border-block-end:1px solid #edf2f7}
.remaining-invoice-row:last-of-type{border-block-end:0}
.remaining-order-ref{overflow-wrap:anywhere}
.remaining-page:dir(rtl) .remaining-line-price,.remaining-page:dir(rtl) .remaining-service-price{text-align:start}
@media (max-width:620px){
  .remaining-three-phase{grid-template-columns:1fr}
  .remaining-track-progress{grid-template-columns:1fr}
  .remaining-detail-grid{grid-template-columns:1fr 1fr}
  .remaining-order-line{align-items:stretch}
}
@media (max-width:380px){
  .remaining-detail-grid{grid-template-columns:1fr}
  .remaining-order-line{display:grid}
  .remaining-line-price,.remaining-service-price{text-align:start;white-space:normal}
}

/* Canonical customer address and location refinement */
.commerce-address-panel { gap:10px; }
.commerce-address-list,.commerce-address-select-list { display:grid; gap:9px; }
.commerce-address-card { position:relative; display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px; align-items:start; border:1px solid #e2e8f0; border-radius:15px; background:#fff; padding:10px; max-width:620px; }
.commerce-address-card.is-selected { border-color:#0a66ff; background:#faf9ff; }
.commerce-address-card-main { display:flex; align-items:flex-start; gap:9px; text-align:start; min-width:0; padding:0; border:0; background:none; color:#242945; font:inherit; cursor:pointer; }
.commerce-address-card-main:disabled { cursor:default; opacity:.75; }
.commerce-address-card-main svg { flex:none; width:18px; height:18px; color:#0a66ff; margin-top:2px; }
.commerce-address-card-copy { display:grid; min-width:0; gap:4px; }
.commerce-address-card-top { display:flex; align-items:center; flex-wrap:wrap; gap:6px; font-size:13px; }
.commerce-address-card-top strong,.commerce-selected-address-head strong { font-size:13px; color:#242945; }
.commerce-address-default,.commerce-address-current { display:inline-flex; padding:2px 6px; border-radius:999px; background:#efedfb; color:#0a66ff; font-size:10px; font-weight:700; }
.commerce-address-current { background:#e4f4ef; color:#26705a; }
.commerce-address-description { margin:0; color:#596276; font-size:12px; line-height:1.4; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.commerce-address-phone { color:#6a7285; font-size:11px; direction:ltr; justify-self:start; }
.commerce-address-incomplete { margin:0; color:#a15a35; font-size:11px; line-height:1.4; }
.commerce-address-card-actions { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:5px; padding-top:6px; border-top:1px solid #eef0f5; }
.commerce-address-card-actions .commerce-button,.commerce-address-manage,.commerce-address-add { min-height:32px; padding:5px 9px; border-radius:9px; font-size:11px; box-shadow:none; }
.commerce-address-add { width:max-content; max-width:100%; }
.commerce-selected-address { display:grid; gap:5px; max-width:620px; border:1px solid #e2e8f0; border-radius:15px; padding:12px; background:#fff; }
.commerce-selected-address-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.commerce-selected-address-head .commerce-button { min-height:30px; padding:4px 8px; border:0; background:#f1effc; color:#0a66ff; font-size:11px; }
.commerce-address-manage { justify-self:start; margin-top:3px; background:transparent; color:#0a66ff; padding-inline:0; border:0; }
.commerce-address-empty { margin:0; max-width:42ch; color:#687287; font-size:12px; line-height:1.5; }
.commerce-address-select-dialog { position:fixed; inset:auto 0 0; width:min(100vw,560px); max-width:100vw; height:75dvh; max-height:75dvh; margin:0 auto; padding:0; border:0; border-radius:22px 22px 0 0; background:#f8f9fc; color:#242945; box-shadow:0 -16px 48px #17223936; overflow:hidden; }
.commerce-address-select-dialog::backdrop,.commerce-address-detail-dialog::backdrop { background:#17223980; }
.commerce-address-select-head,.commerce-address-detail-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:15px 16px; border-bottom:1px solid #e9eaf1; background:#fff; }
.commerce-address-select-head strong,.commerce-address-detail-head strong { font-size:16px; }
.commerce-address-select-head .commerce-button,.commerce-address-detail-head .commerce-button { min-height:30px; min-width:30px; padding:3px; border:0; border-radius:50%; background:#f2f3f7; }
.commerce-address-select-list { max-height:calc(75dvh - 65px); overflow-y:auto; padding:12px 14px max(18px,env(safe-area-inset-bottom)); }
.commerce-address-select-list .commerce-address-card { max-width:none; }
.commerce-address-menu-trigger { padding:2px 8px; border:0; background:transparent; color:#51566a; font-size:22px; cursor:pointer; }
.commerce-address-menu { position:absolute; z-index:2; inset-block-start:36px; inset-inline-end:8px; padding:5px; border:1px solid #e5e7ee; border-radius:11px; background:#fff; box-shadow:0 8px 20px #1b243029; }
.commerce-address-menu[hidden] { display:none; }
.commerce-address-menu .commerce-button { white-space:nowrap; min-height:32px; font-size:11px; }
.commerce-address-detail-dialog { position:fixed; inset:0; width:min(100vw,560px); max-width:100vw; height:min(100dvh,740px); max-height:100dvh; margin:auto; padding:0; border:0; border-radius:20px; background:#fff; color:#242945; overflow:auto; box-shadow:0 20px 60px #17223936; }
.commerce-address-detail-dialog .commerce-address-form { max-width:520px; margin:auto; padding:0 16px 20px; border:0; border-radius:0; background:#fff; }
.commerce-address-detail-head { margin:0 -16px 6px; padding-top:max(15px,env(safe-area-inset-top)); }
.commerce-address-confirmed { margin:3px 0 0; color:#26705a; font-size:12px; }
.commerce-address-form-hint { margin:0; color:#a15a35; font-size:11px; }
.commerce-address-detail-dialog .commerce-address-form-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; padding-bottom:env(safe-area-inset-bottom); }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button { width:auto; min-height:42px; }
.commerce-map-dialog { position:fixed; inset:0; width:100vw; max-width:none; height:100dvh; max-height:none; margin:0; padding:0; border:0; border-radius:0; background:#e9ece9; overflow:hidden; }
.commerce-map-dialog .commerce-map-area { position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; border:0; border-radius:0; background:#e9ece9; touch-action:auto; }
.commerce-map-dialog .commerce-map-area::before,.commerce-map-dialog .commerce-map-area::after { display:none; }
.commerce-map-dialog .commerce-map-head { position:absolute; z-index:5; inset-block-start:0; inset-inline:0; padding:max(14px,env(safe-area-inset-top)) 16px 12px; border:0; background:linear-gradient(#ffffffed,#ffffffce); }
.commerce-map-dialog .commerce-location-search { position:absolute; z-index:6; inset-block-start:calc(max(14px,env(safe-area-inset-top)) + 58px); inset-inline:12px; display:flex; align-items:center; gap:8px; min-height:46px; padding:0 12px; border:1px solid #e0e3e8; border-radius:13px; background:#fff; box-shadow:0 5px 18px #19253322; }
.commerce-location-search > svg { width:18px; height:18px; flex:none; color:#0a66ff; }
.commerce-location-search input { width:100%; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:13px; color:#242945; }
.commerce-location-results { position:absolute; inset-block-start:calc(100% + 5px); inset-inline:0; display:grid; max-height:min(34dvh,260px); overflow-y:auto; padding:5px; border:1px solid #e1e4eb; border-radius:12px; background:#fff; box-shadow:0 12px 24px #19253330; }
.commerce-location-results[hidden] { display:none; }
.commerce-location-result { display:block; width:100%; min-height:38px; padding:8px 10px; border:0; border-radius:8px; background:#fff; color:#30384b; text-align:start; font:inherit; font-size:12px; cursor:pointer; }
.commerce-location-result:hover,.commerce-location-result:focus-visible { background:#f1effb; }
.commerce-map-dialog .commerce-map-status { position:absolute; z-index:5; inset-inline:12px; inset-block-end:calc(90px + env(safe-area-inset-bottom)); margin:0; min-height:0; width:max-content; max-width:calc(100% - 24px); padding:8px 10px; border:1px solid #e7e9ee; border-radius:11px; background:#fffffff0; color:#4f5b6b; font-size:11px; box-shadow:0 3px 12px #1b243020; }
.commerce-map-dialog .commerce-map-actions { position:absolute; z-index:5; inset-inline:0; inset-block-end:0; display:flex; justify-content:space-between; gap:8px; padding:10px 12px max(12px,env(safe-area-inset-bottom)); background:linear-gradient(#ffffffd9,#fff); }
.commerce-map-dialog .commerce-map-actions .commerce-button { width:auto; min-height:46px; padding:8px 12px; font-size:12px; }
.commerce-map-dialog .commerce-map-actions .commerce-button.is-primary { flex:1; max-width:220px; }
.safhat-location-map { position:relative; overflow:hidden; background:#e9ece9; }
.safhat-location-map .safhat-location-map-canvas { position:absolute; inset:0; width:100%; height:100%; }
.safhat-location-center-pin { position:absolute; z-index:2; left:50%; top:50%; width:28px; height:28px; translate:-50% -100%; border:3px solid #fff; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:#0a66ff; box-shadow:0 4px 10px #20274755; pointer-events:none; }
.safhat-location-center-pin::after { content:''; position:absolute; width:7px; height:7px; left:8px; top:8px; border-radius:50%; background:#fff; }
.safhat-location-map .mapboxgl-ctrl-bottom-right,.safhat-location-map .mapboxgl-ctrl-bottom-left { bottom:145px; }
.safhat-location-map .mapboxgl-ctrl-top-right { top:120px; }
@media(max-width:600px) {
  .commerce-address-detail-dialog { width:100vw; height:100dvh; border-radius:0; }
  .commerce-map-dialog .commerce-map-actions .commerce-button { font-size:11px; }
  .commerce-map-dialog .commerce-map-actions .commerce-button.is-primary { max-width:none; }
}

/* Owner review finish: one compact address language across Account, Checkout and map. */
.commerce-address-panel,.commerce-map-dialog,.commerce-address-detail-dialog,.commerce-address-select-dialog { --address-ink:#28304b; --address-muted:#68718a; --address-purple:#0a66ff; --address-blue:#4c6fa9; --address-line:#e5e3f0; }
.commerce-address-panel { color:var(--address-ink); }
.commerce-address-card,.commerce-selected-address { border-color:var(--address-line); background:linear-gradient(145deg,#fff 68%,#fcfaff); box-shadow:0 5px 18px rgba(49,48,94,.055); }
.commerce-address-card { padding:12px 13px; gap:10px; transition:border-color .16s,background .16s,box-shadow .16s; }
.commerce-address-card.is-selected { border-color:#eff6ff; background:linear-gradient(145deg,#fbfaff,#f3f0ff); box-shadow:0 0 0 1px rgba(115,98,201,.08),0 7px 20px rgba(70,59,137,.09); }
.commerce-address-select-list .commerce-address-card-main:not(:disabled):hover { color:#0a66ff; }
.commerce-address-card-main { width:100%; min-height:44px; align-items:center; }
.commerce-address-card-main:focus-visible,.commerce-address-text-action:focus-visible,.commerce-address-menu-trigger:focus-visible,.commerce-selected-address-head .commerce-button:focus-visible,.commerce-address-manage:focus-visible { outline:2px solid #0a66ff; outline-offset:3px; }
.commerce-address-current { background:#eae5fc; color:#0a66ff; }
.commerce-address-default { background:#eef3fc; color:#5072a5; }
.commerce-address-card-actions { gap:7px 16px; padding-top:8px; border-color:#f0eef5; }
.commerce-address-text-action { min-height:32px; padding:4px 1px; border:0; background:transparent; color:var(--address-blue); font-family:inherit; font-size:11px; font-weight:700; line-height:1.25; cursor:pointer; }
.commerce-address-text-action:hover { color:#385d98; text-decoration:underline; text-underline-offset:3px; }
.commerce-address-text-action:active { opacity:.65; }
.commerce-address-text-action.is-danger { color:#a15d70; }
.commerce-address-text-action.is-danger:hover { color:#854359; }
.commerce-selected-address { padding:12px 14px; }
.commerce-selected-address-head .commerce-button { min-height:34px; padding:4px 0 4px 6px; border:0; border-radius:0; background:transparent; color:var(--address-purple); font-weight:750; }
.commerce-selected-address-head .commerce-button:hover { color:#0a66ff; text-decoration:underline; text-underline-offset:3px; }
.commerce-address-manage { min-height:34px; color:var(--address-blue); font-weight:750; }
.commerce-address-manage:hover { color:#385d98; text-decoration:underline; text-underline-offset:3px; }
.commerce-address-add.is-primary { min-height:38px; padding:8px 12px; border:1px solid #e5e7eb; border-radius:10px; background:linear-gradient(110deg,#eee9fc,#e9effe); color:#0a66ff; box-shadow:0 4px 12px rgba(99,82,172,.09); font-size:12px; }
.commerce-address-add.is-primary:hover:not(:disabled) { border-color:#eff6ff; background:linear-gradient(110deg,#e5e7eb,#e1e9fd); }
.commerce-address-empty { padding:7px 0; color:var(--address-muted); }
.commerce-address-select-dialog { background:#faf9ff; border:1px solid #e8e3f4; border-bottom:0; box-shadow:0 -18px 52px rgba(31,29,76,.23); }
.commerce-address-select-dialog::backdrop,.commerce-address-detail-dialog::backdrop { background:rgba(34,29,67,.48); }
.commerce-address-select-head,.commerce-address-detail-head { background:linear-gradient(100deg,#fff,#faf8ff); border-color:#eeeaf6; }
.commerce-address-select-list { scrollbar-width:thin; scrollbar-color:#eff6ff transparent; }
.commerce-address-select-list .commerce-address-card { grid-template-columns:minmax(0,1fr) 32px; }
.commerce-address-menu-trigger { min-width:32px; min-height:36px; border-radius:9px; color:#0a66ff; }
.commerce-address-menu-trigger:hover { background:#f1edfc; }
.commerce-address-menu .commerce-button { color:var(--address-blue); border:0; background:#fff; box-shadow:none; }
.commerce-address-menu .commerce-button:hover { background:#f3f0fc; }
.commerce-address-detail-dialog { background:#fbfaff; }
.commerce-address-detail-dialog .commerce-address-form { background:transparent; gap:13px; }
.commerce-address-detail-head { justify-content:flex-start; gap:16px; }
.commerce-detail-back,.commerce-map-back { display:inline-flex; align-items:center; gap:6px; min-height:38px; padding:5px 8px; border:1px solid #e4dff2; border-radius:10px; background:#ffffffed; color:#0a66ff; font-family:inherit; font-size:12px; font-weight:750; line-height:1.2; cursor:pointer; }
.commerce-detail-back:hover,.commerce-map-back:hover { background:#f1edfc; border-color:#eff6ff; }
.commerce-detail-back:focus-visible,.commerce-map-back:focus-visible { outline:2px solid #0a66ff; outline-offset:2px; }
.commerce-map-back svg,.commerce-detail-back svg { inline-size:18px; block-size:18px; transform:rotate(180deg); flex:none; }
.commerce-map-dialog:dir(rtl) .commerce-map-back svg,.commerce-address-detail-dialog:dir(rtl) .commerce-detail-back svg { transform:none; }
.commerce-address-detail-dialog .commerce-address-form label { color:#454b70; font-size:12px; }
.commerce-address-detail-dialog .commerce-address-form input,.commerce-address-detail-dialog .commerce-address-form textarea { background:#fff; border-color:#dedaec; border-radius:11px; max-width:100%; }
.commerce-address-detail-dialog .commerce-address-form input:focus,.commerce-address-detail-dialog .commerce-address-form textarea:focus { border-color:#0a66ff; box-shadow:0 0 0 3px rgba(140,120,222,.14); outline:0; }
.commerce-address-label-choices { display:flex; flex-wrap:wrap; gap:7px; }
.commerce-address-label-choice { min-width:56px; min-height:34px; padding:6px 12px; border:1px solid #ded9ee; border-radius:9px; background:#fff; color:#606985; font-family:inherit; font-size:11px; font-weight:700; line-height:1.2; cursor:pointer; }
.commerce-address-label-choice[aria-pressed="true"] { border-color:#0a66ff; background:#f0ebff; color:#0a66ff; }
.commerce-address-label-choice:hover { border-color:#eff6ff; }
.commerce-address-label-choice:focus-visible { outline:2px solid #0a66ff; outline-offset:2px; }
.commerce-address-confirmed { display:inline-flex; width:max-content; max-width:100%; padding:5px 9px; border:1px solid #d9ebe5; border-radius:8px; background:#f1faf6; color:#347967; }
.commerce-address-detail-dialog .commerce-address-form-actions { justify-content:space-between; }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button:not(.is-primary) { min-height:40px; border:1px solid #e5e7eb; border-radius:10px; background:#fff; color:#0a66ff; box-shadow:none; }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button:not(.is-primary):hover { background:#f4f0fc; }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button.is-primary,.commerce-map-dialog .commerce-map-actions .commerce-button.is-primary { min-height:44px; padding:9px 17px; border:1px solid #0a66ff; border-radius:11px; background:linear-gradient(115deg,#0a66ff,#758bdf); color:#fff; box-shadow:0 7px 18px rgba(103,88,188,.23); font-weight:750; }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button.is-primary:hover:not(:disabled),.commerce-map-dialog .commerce-map-actions .commerce-button.is-primary:hover:not(:disabled) { background:linear-gradient(115deg,#0a66ff,#6780d5); box-shadow:0 9px 20px rgba(103,88,188,.29); }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button.is-primary:active,.commerce-map-dialog .commerce-map-actions .commerce-button.is-primary:active { transform:translateY(1px); }
.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button.is-primary:disabled,.commerce-map-dialog .commerce-map-actions .commerce-button.is-primary:disabled { border-color:#d9d6e8; background:#e5e2ef; color:#9290aa; box-shadow:none; }
.commerce-map-dialog { background:#e9f0e9; }
.commerce-map-dialog .commerce-map-head { justify-content:flex-start; gap:15px; padding:calc(max(10px,env(safe-area-inset-top))) 12px 10px; background:linear-gradient(180deg,rgba(250,249,255,.97),rgba(250,249,255,.82)); }
.commerce-map-title { color:#2f3553; font-size:14px; font-weight:800; }
.commerce-map-dialog .commerce-location-search { inset-inline:12px; min-height:44px; max-width:540px; margin-inline:auto; border-color:#e2ddf0; background:#fffffffa; box-shadow:0 8px 22px rgba(45,45,87,.15); }
.commerce-location-search:focus-within { border-color:#0a66ff; box-shadow:0 0 0 3px rgba(142,122,220,.13),0 8px 22px rgba(45,45,87,.13); }
.commerce-location-results { border-color:#e5e0f0; box-shadow:0 14px 28px rgba(39,37,80,.18); }
.commerce-location-result { display:grid; gap:2px; border-radius:8px; }
.commerce-location-result strong { color:#333956; font-size:12px; font-weight:750; }
.commerce-location-result small { color:#798198; font-size:10px; line-height:1.25; }
.commerce-location-result + .commerce-location-result { border-top:1px solid #f1eef6; }
.commerce-map-dialog .commerce-map-status { border-color:#e7e2f1; color:#5f607b; }
.commerce-map-dialog .commerce-map-actions { align-items:center; background:linear-gradient(180deg,rgba(251,250,255,.88),#fbfaff); border-top:1px solid rgba(219,212,239,.85); }
.commerce-map-dialog .commerce-map-actions .commerce-button:not(.is-primary) { border:1px solid #e5e7eb; border-radius:10px; background:#fff; color:#0a66ff; box-shadow:0 4px 14px rgba(46,42,87,.09); }
.commerce-map-dialog .commerce-map-actions .commerce-button:not(.is-primary):hover { background:#f3effc; }
.commerce-map-dialog .commerce-map-actions .commerce-button:focus-visible,.commerce-address-detail-dialog .commerce-address-form-actions .commerce-button:focus-visible { outline:2px solid #0a66ff; outline-offset:2px; }

/* Order, notification, and loading compositions use the shared Storefront tokens. */
.remaining-page .commerce-button.remaining-order-action { min-block-size:34px; inline-size:max-content; padding:6px 11px; font-size:11px; }
.remaining-macro-tracker { gap:13px; padding:15px; }
.remaining-macro-steps { list-style:none; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; margin:0; padding:0; }
.remaining-macro-step { position:relative; display:flex; flex-direction:column; align-items:center; gap:7px; text-align:center; color:#8b8792; font-size:10px; font-weight:700; line-height:1.25; }
.remaining-macro-step:not(:last-child)::after { content:''; position:absolute; inset-block-start:15px; inset-inline-start:calc(50% + 16px); inline-size:calc(100% - 32px); block-size:2px; background:#e7e3e9; }
.remaining-macro-step[data-progress="complete"]::after { background:#8cae9c; }
.remaining-macro-marker { z-index:1; inline-size:32px; block-size:32px; display:grid; place-items:center; border-radius:50%; border:1px solid #e4e0e8; background:#f7f5f8; color:#77717f; font-size:11px; }
.remaining-macro-marker svg { inline-size:17px; block-size:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.remaining-macro-step[data-progress="complete"] .remaining-macro-marker { background:#e7f2ea; border-color:#bdd8c4; color:#317450; font-size:17px; }
.remaining-macro-step[data-progress="current"] { color:var(--navy); }
.remaining-macro-step[data-progress="current"] .remaining-macro-marker { background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:0 0 0 4px var(--accent-soft); }
.remaining-macro-current { padding:8px 10px; border-radius:8px; background:var(--accent-soft); color:#0a66ff; font-weight:700; font-size:12px; }
.remaining-order-disclosure { border:1px solid var(--remaining-border); border-radius:12px; background:#fff; padding:0 14px; box-shadow:var(--soft-shadow); }
.remaining-order-disclosure>summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-block-size:48px; cursor:pointer; font-size:13px; font-weight:750; color:var(--navy); list-style:none; }
.remaining-order-disclosure>summary::-webkit-details-marker { display:none; }
.remaining-order-disclosure>summary svg { inline-size:18px; block-size:18px; color:var(--accent); transform:rotate(90deg); transition:transform .15s; }
.remaining-order-disclosure[open]>summary svg { transform:rotate(-90deg); }
.remaining-order-disclosure>summary~* { margin-block:0 12px; }
.remaining-order-disclosure .commerce-panel { box-shadow:none; }
.remaining-notification-activity { display:grid; gap:7px; }
.remaining-notification-activity>h2 { padding:5px 2px; }
.commerce-service-disclosure { grid-column:1/-1; border-top:1px solid var(--line); padding-top:7px; }
.commerce-service-disclosure>summary { display:flex; align-items:center; min-block-size:32px; color:var(--accent); font-weight:720; cursor:pointer; }
.commerce-service-disclosure>summary { list-style:none; -webkit-tap-highlight-color:transparent; user-select:none; }
.commerce-service-disclosure>summary::-webkit-details-marker { display:none; }
.commerce-service-disclosure>summary::after { content:''; inline-size:8px; block-size:8px; border-inline-end:2px solid currentColor; border-block-end:2px solid currentColor; margin-inline-start:auto; margin-inline-end:4px; transform:rotate(45deg); transition:transform .15s; flex:none; }
.commerce-service-disclosure[open]>summary::after { transform:rotate(225deg); }
.commerce-service-disclosure .commerce-book-lamination-details { padding-block:5px; }
.commerce-service-disclosure p { margin:5px 0; font-size:11px; }
.storefront-skeleton { overflow:hidden; position:relative; border:1px solid var(--line); border-radius:12px; background:#fff; }
.storefront-skeleton-product { display:grid; align-content:start; gap:10px; inline-size:100%; min-inline-size:120px; min-block-size:230px; padding:10px; }
.storefront-skeleton-media { display:block; aspect-ratio:1; background:#f1f3f5; border-radius:8px; }
.storefront-skeleton-line { display:block; block-size:11px; background:#f1f3f5; border-radius:4px; }
.storefront-skeleton-line.is-short { inline-size:55%; }
.storefront-skeleton-review { min-block-size:92px; }
.storefront-skeleton-detail { display:grid; gap:13px; inline-size:100%; max-inline-size:420px; min-block-size:340px; padding:14px; }
.storefront-skeleton-detail .storefront-skeleton-media { max-block-size:250px; }
.remaining-order-skeletons { display:grid; gap:10px; }
.remaining-order-skeleton { display:grid; gap:10px; min-block-size:92px; padding:16px; }
.remaining-order-skeleton .storefront-skeleton-line { inline-size:70%; }
.remaining-order-skeleton .storefront-skeleton-line.is-short { inline-size:38%; }
@media (max-width:560px) { .remaining-macro-steps { display:grid; grid-template-columns:1fr; gap:0; } .remaining-macro-step { flex-direction:row; text-align:start; min-block-size:43px; gap:11px; font-size:11px; } .remaining-macro-step:not(:last-child)::after { inset-block-start:33px; inset-inline-start:15px; inline-size:2px; block-size:10px; } .remaining-order-hero { grid-template-columns:minmax(0,1fr) auto; } .commerce-service-disclosure { min-inline-size:0; } }
@media (max-width:560px) { .remaining-macro-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; min-inline-size:0; } .remaining-macro-step { flex-direction:column; min-inline-size:0; overflow-wrap:anywhere; text-align:center; min-block-size:0; gap:5px; font-size:clamp(8px,2.3vw,10px); } .remaining-macro-marker { inline-size:clamp(23px,7vw,32px); block-size:clamp(23px,7vw,32px); } .remaining-macro-step:not(:last-child)::after { inset-block-start:clamp(11px,3.5vw,15px); inset-inline-start:calc(50% + 14px); inline-size:calc(100% - 28px); block-size:2px; } }
.safhat-location-map .mapboxgl-ctrl-bottom-left { bottom:calc(104px + env(safe-area-inset-bottom)); left:8px; }
.safhat-location-map .mapboxgl-ctrl-bottom-right { bottom:calc(104px + env(safe-area-inset-bottom)); right:8px; }
.safhat-location-map .mapboxgl-ctrl-attrib { border-radius:7px; background:rgba(255,255,255,.82); font-size:10px; }
.safhat-location-map .mapboxgl-ctrl-logo { opacity:.82; }
.safhat-location-loading,.commerce-map-unavailable { position:absolute; z-index:3; left:50%; top:50%; transform:translate(-50%,-50%); width:max-content; max-width:calc(100% - 42px); padding:10px 14px; border:1px solid #e1ddef; border-radius:10px; background:rgba(255,255,255,.94); color:#0a66ff; font-size:12px; font-weight:650; text-align:center; box-shadow:0 8px 20px rgba(42,39,84,.12); pointer-events:none; }
.safhat-location-center-pin { width:26px; height:26px; border-width:2px; background:linear-gradient(145deg,#0a66ff,#0a66ff); box-shadow:0 5px 13px rgba(58,48,120,.38),0 1px 3px rgba(35,31,72,.3); }
.safhat-location-center-pin::after { left:8px; top:8px; width:6px; height:6px; }
@media(max-width:600px) { .commerce-map-dialog .commerce-map-actions .commerce-button.is-primary { max-width:none; } .commerce-map-dialog .commerce-map-status { inset-block-end:calc(96px + env(safe-area-inset-bottom)); } }
@media(max-height:540px) { .commerce-map-dialog .commerce-location-results { max-height:27dvh; } .commerce-map-dialog .commerce-map-status { display:none; } }

/* Shared canonical commerce feedback and counts. */
.commerce-nav-count { position:absolute; inset-block-start:2px; inset-inline-end:3px; min-width:17px; padding:2px 4px; border-radius:999px; background:var(--accent); color:white; font-size:10px; line-height:1.2; }
.wishlist-btn { position:relative; }
.storefront-product-wishlist[data-saved="true"] svg,.pd-round-action[data-saved="true"] svg { fill:currentColor; }
button[data-action-pending="true"] { opacity:.7; }
button[data-action-pending="true"]::after { content:''; inline-size:12px; block-size:12px; flex:none; display:inline-block; margin-inline-start:5px; border:2px solid currentColor; border-inline-end-color:transparent; border-radius:50%; animation:commerce-pending-spin .65s linear infinite; vertical-align:middle; }
:is(.storefront-product-wishlist,.storefront-product-cart,.pd-round-action) { position:relative; }
:is(.storefront-product-wishlist,.storefront-product-cart,.pd-round-action)[data-action-pending="true"] > svg { visibility:hidden; }
:is(.storefront-product-wishlist,.storefront-product-cart,.pd-round-action)[data-action-pending="true"]::after { position:absolute; inset-block-start:50%; inset-inline-start:50%; margin:0; margin-block-start:-8px; margin-inline-start:-8px; box-sizing:border-box; inline-size:16px; block-size:16px; }
@keyframes commerce-pending-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce){button[data-action-pending="true"]::after{animation:none;border-inline-end-color:currentColor;}}
.commerce-action-feedback { position:fixed; z-index:100; inset-block-end:calc(90px + env(safe-area-inset-bottom, 0px)); inset-inline:12px; width:max-content; max-width:calc(100% - 24px); margin-inline:auto; overflow-wrap:anywhere; border:1px solid var(--line); border-radius:var(--radius-sm); background:#fff; padding:10px 16px; font-size:12px; color:var(--accent); box-shadow:var(--soft-shadow); }
/* Short press feedback for frequent actions, with a stable resting layout. */
:is(.storefront-product-actions button,.pd-button,.pd-sticky-cart,.commerce-button) {
  touch-action:manipulation;
  transition:transform 120ms cubic-bezier(.23,1,.32,1);
}
:is(.storefront-product-actions button,.pd-button,.pd-sticky-cart,.commerce-button):active:where(:not(:disabled):not([aria-disabled="true"]):not(:focus-visible)) {
  transform:scale(.97);
}
:is(.pd-sticky-cart,.commerce-button)[data-action-pending="true"]::after { display:none; }
:is(.pd-sticky-cart,.commerce-button)[data-action-pending="true"] { cursor:progress; }
.storefront-product-title { overflow-wrap:anywhere; }
.remaining-sign-out { width:100%; color:#b42318; }
@media(max-width:340px){.remaining-account-menu{grid-template-columns:1fr;}}
@media (prefers-reduced-motion:reduce) {
  :is(.storefront-product-actions button,.pd-button,.pd-sticky-cart,.commerce-button) { transition:none; transform:none; }
}
.commerce-checkout-processing{position:fixed;inset:0;z-index:3000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:rgba(255,255,255,.97);color:#153b69;text-align:center}
.commerce-processing-spinner{width:34px;height:34px;border:3px solid #d7e5f3;border-top-color:#1766b2;border-radius:50%;animation:commerce-processing-spin .8s linear infinite}
@keyframes commerce-processing-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.commerce-processing-spinner{animation:none;border-top-color:#1766b2}}

/* Purchase path: content-driven secure sheet and existing provider artwork. */
.commerce-secure-card-shell.is-ready { min-height:0; background:transparent; }
.commerce-card-sheet .commerce-payment-scroll { flex:0 1 auto; }
.commerce-payment-visual .commerce-payment-logo { width:20px; height:20px; padding:0; box-sizing:border-box; }
.commerce-payment-visual .commerce-payment-logo > svg { width:20px; height:20px; }
@media(max-width:700px) {
  .commerce-card-sheet { padding-bottom:0; }
  .commerce-card-sheet .commerce-payment-footer { padding-bottom:calc(48px + env(safe-area-inset-bottom,0px)); }
}
.scanner-captured-value { text-align:center; overflow-wrap:anywhere; font-variant-numeric:tabular-nums; }
[data-scanner-retry][hidden], [data-scanner-value][hidden] { display:none; }

/* Batch9: owned Search virtual space and fullscreen Product interaction only. */
.search-window-spacer { grid-column:1 / -1; pointer-events:none; overflow-anchor:none; }
.storefront-search-results[data-search-windowed="true"] .storefront-search-grid { overflow-anchor:none; }
.pd-viewer[data-product-viewer="true"] { box-sizing:border-box; width:min(96vw,960px); height:min(92dvh,800px); max-height:92dvh; padding:12px; overflow:hidden; }
.pd-viewer[data-product-viewer="true"][open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:12px; }
.pd-viewer[data-product-viewer="true"] .pd-viewer-controls { margin:0; padding:0; justify-content:flex-end; }
.pd-viewer[data-product-viewer="true"] .pd-viewer-frame { position:relative; height:auto; min-height:0; overflow:hidden; touch-action:none; overscroll-behavior:contain; border-radius:8px; user-select:none; }
.pd-viewer-track { position:absolute; inset:0; direction:ltr; }
.pd-viewer[data-product-viewer="true"] .pd-viewer-image { position:absolute; top:0; width:100%; height:100%; max-width:none; max-height:none; object-fit:contain; transform-origin:center; pointer-events:none; }
.pd-viewer-indicator { height:4px; width:min(60%,220px); margin:0 auto; background:#dde3eb; border-radius:4px; overflow:hidden; direction:ltr; }
.pd-viewer-indicator span { display:block; height:100%; background:var(--accent); border-radius:4px; transition:transform 180ms ease-out; }
.storefront-pd-region[data-pd-role="MEDIA"] .pd-main-image { border-radius:max(8px,min(var(--pd-imageRadius),var(--radius-md))); }
@media (prefers-reduced-motion:reduce) { .pd-viewer-indicator span { transition:none; } }

/* Brand filters reuse the existing rail/pills; breadcrumbs retain their layout. */
.storefront-brand-filter-strip { flex-wrap:nowrap; max-inline-size:100%; min-inline-size:0; overflow-x:auto; overflow-y:hidden; overscroll-behavior-inline:contain; padding-block:3px; margin-block-end:10px; }
.storefront-brand-filter-strip .remaining-filter-pill { white-space:nowrap; overflow-wrap:normal; border-radius:8px; border-color:#e5e7eb; background:#6780d5; color:#fff; }
.storefront-brand-filter-strip .remaining-filter-pill[aria-pressed="true"] { background:var(--accent); border-color:#d1d5db; box-shadow:inset 0 0 0 1px #fff; font-weight:750; }
.remaining-invoices{display:grid;gap:12px}.remaining-invoice-row{display:grid;gap:6px;min-width:0;border:1px solid #dce4ef;border-radius:12px;padding:16px;overflow-wrap:anywhere}.remaining-invoice-actions{display:flex;gap:10px;flex-wrap:wrap}.remaining-invoice-dialog{width:min(1000px,96vw);height:90dvh;max-height:96dvh;max-width:96vw;padding:16px;border:0;border-radius:16px;background:#fff;color:#253449}.remaining-invoice-dialog::backdrop{background:rgba(20,34,56,.55)}.remaining-invoice-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:12px}.remaining-invoice-dialog-head strong{overflow-wrap:anywhere;flex:1}.remaining-invoice-frame{width:100%;height:calc(100% - 70px);border:0;background:white}@media(max-width:600px){.remaining-invoice-dialog{padding:10px}.remaining-invoice-dialog-head .commerce-button{min-height:44px;font-size:14px}}
.remaining-invoice-dialog[open]{display:flex;flex-direction:column}.remaining-invoice-dialog-head{flex:none}.remaining-invoice-frame{flex:1;min-height:0;height:auto}
/* Shared storefront vertical rhythm: one outer section gap; section-internal gaps stay owned by their section contracts. */
#storefrontSectionsHost {
  --storefront-section-gap: 6px;
}
#storefrontSectionsHost:has(> [data-section-instance^="home-"]),
#storefrontSectionsHost:has(> [data-pd-role="MEDIA"]) {
  display: flex;
  flex-direction: column;
  gap: var(--storefront-section-gap);
}
#storefrontSectionsHost:has(> [data-section-instance^="home-"]) > :is([data-section-instance], .storefront-global-footer),
#storefrontSectionsHost:has(> [data-pd-role="MEDIA"]) > :is([data-section-instance], .pd-options-purchase-surface, .storefront-global-footer) {
  flex: 0 0 auto;

}

/* Shared SAFA conversation presentation; logical properties mirror in Arabic. */
.printing-chat-history { display:flex; flex-direction:column; gap:12px; padding:12px; max-height:min(45vh,360px); overflow:auto; overscroll-behavior:contain; }
.safa-message { display:flex; align-items:flex-end; gap:7px; max-width:90%; }
.safa-message-user { align-self:flex-end; }
.safa-message-assistant { align-self:flex-start; }
.safa-message-bubble { padding:10px 13px; border-radius:16px; background:var(--control-background,#f1f5f9); color:var(--text-primary,#183249); line-height:1.65; white-space:normal; min-width:0; overflow-wrap:anywhere; }
.safa-message-user .safa-message-bubble { background:var(--accent,#2469ce); color:#fff; border-end-end-radius:5px; }
.safa-message-assistant .safa-message-bubble { border-end-start-radius:5px; border:1px solid var(--control-border,#dce5ee); }
.safa-message-bubble p { margin:0; }
.safa-message-bubble p + p,.safa-message-bubble ul { margin-block:7px 0; }
.safa-message-bubble ul { padding-inline-start:20px; }
.safa-message-avatar { width:28px!important; height:28px!important; flex:none; }
.safa-message-avatar img { width:28px; height:28px; }
.printing-safa-inner { min-width:0; }
.printing-chat-form input { flex:1; min-width:0; }
.printing-safa.is-open .printing-safa-inner { max-height:65dvh; overflow:auto; }
@media(max-width:600px) { .storefront-sections-host > .safa-global { position:relative; inset-block-end:auto; } .printing-chat-form { flex-wrap:wrap; } .printing-chat-form input { flex-basis:55%; } .safa-message { max-width:96%; } }

.safa-product-cards { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; margin-block-start:10px; max-width:280px; }
.safa-workspace .safa-product-cards { width:100%; max-width:none; }
.safa-product-cards .storefront-product-card { width:100%; min-width:0; }
.safa-product-cards .printing-safa-question { margin:7px; }
.safa-product-unavailable { border:1px solid var(--control-border); border-radius:12px; padding:10px; }
.safa-retention { display:block; padding:10px 12px; color:var(--text-secondary,#60738b); font-size:10px; }

.safa-attachment-preview { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding-inline:12px; font-size:11px; }
.safa-attachment-preview:empty { display:none; }
.safa-attachment-preview img { border-radius:8px; object-fit:cover; }
.safa-attachment-preview small { flex-basis:100%; line-height:1.6; }
.printing-chat-form .safa-attach { padding-inline:8px; background:var(--control-background,#eef3f8); color:var(--text-primary,#173550); }
.safa-action-card { border:1px solid var(--control-border,#dce5ee); border-radius:12px; padding:10px; margin-block-start:10px; }
.safa-action-card strong,.safa-action-card small { display:block; }


/* Supplied GLB host integration */
.safa-launcher{position:relative;isolation:isolate;display:flex;align-items:center;gap:10px;width:calc(100% - 32px);margin:8px 16px 14px;padding:12px 15px;border:1px solid var(--control-border,#e5eaf0);border-radius:var(--card-radius,16px);background:var(--control-background,#fff);color:var(--text-color,#16253a);font:inherit;text-align:start;cursor:pointer;box-shadow:0 3px 16px #8795c416;overflow:hidden}
.safa-launcher:before{content:'';position:absolute;inset:-100%;z-index:-2;background:conic-gradient(#d9e6fb,#e8dcf3,#f1e0ec,#d9e6fb);animation:safa-ambient 18s linear infinite;opacity:.6}.safa-launcher:after{content:'';position:absolute;inset:2px;z-index:-1;border-radius:inherit;background:var(--control-background,#fff)}
.safa-launcher strong{display:block;font-size:13px;margin-block-end:2px}.safa-launcher small{font-size:12px;line-height:1.4}.safa-launcher-icon{font-size:21px;color:#8d96c5}@keyframes safa-ambient{to{transform:rotate(360deg)}}
.safa-page{padding:12px 16px;max-width:900px;margin:auto}.safa-page-head{display:flex;align-items:center;gap:10px}.safa-page-head h1{margin:0;font-size:20px;flex:1}.safa-back,.safa-expand{border:0;border-radius:14px;background:var(--control-background,#fff);color:inherit;font:inherit;padding:9px;cursor:pointer}.safa-expand{font-size:12px;border:1px solid #e9dce7}
/* Supplied playground stage background; contact shadow is supplied Three scene code. */
.safa-stage-slot{position:relative;height:clamp(160px,calc(100dvh - 290px),620px);min-height:160px;margin-block:12px;border-radius:24px;overflow:hidden;background:radial-gradient(circle at 48% 35%,#fff,#f7edf5 65%,#eddfed)}
.safa-conversation{display:none}.safa-page.is-expanded .safa-stage-slot{display:none}.safa-page.is-expanded .safa-conversation{display:block;min-height:65dvh;padding:14px;background:var(--control-background,#fff);border:1px solid var(--control-border,#e5eaf0);border-radius:18px}.safa-conversation .printing-chat-history{max-height:none;min-height:50dvh;overflow:auto}.safa-conversation .printing-chat-form{position:sticky;bottom:80px;background:var(--control-background,#fff);padding:8px;display:flex;gap:6px;flex-wrap:nowrap;align-items:flex-end}.safa-conversation textarea{min-width:0;flex:1;border:1px solid var(--control-border,#e5eaf0);border-radius:14px;padding:10px;resize:none;font:inherit}
.safa-companion{box-sizing:border-box;z-index:90;color:#604b76;font:13px/1.4 var(--font-family,system-ui)}.safa-companion[hidden],.safa-companion [hidden]{display:none!important}.safa-companion[data-mode=stage]{position:relative;width:100%;height:100%}.safa-companion[data-mode=guide]{position:fixed;width:170px;max-width:calc(100vw - 16px);filter:drop-shadow(0 4px 12px #18324912)}.safa-companion[data-warming=true]{position:fixed!important;left:-1000px!important;top:0!important;width:320px!important;height:360px!important;visibility:hidden;pointer-events:none}
.safa-bunny-stage{position:relative;width:100%;height:100%;outline-offset:-4px;cursor:grab}.safa-bunny-stage:active{cursor:grabbing}.safa-companion[data-mode=guide] .safa-bunny-stage{height:min(210px,max(80px,calc(var(--safa-viewport-height,100dvh) - 180px)))}.safa-bunny-stage canvas{display:block;width:100%;height:100%;pointer-events:none}.safa-runtime-status{position:absolute;inset:40% 12px auto;text-align:center;font-size:12px}
.safa-minimize{position:absolute;z-index:2;right:4px;top:0;width:25px;height:25px;padding:0;border:1px solid #e9dce7;border-radius:50%;background:#fffffff0;color:#806680;font:18px system-ui;cursor:pointer}.safa-ask{display:block;margin:0 auto;padding:3px 13px;min-height:27px;border:1px solid #ddc8db;border-radius:16px;background:#fffffff2;color:#604b76;font:12px system-ui;cursor:pointer}
/* Original SpeechOverlay element and supplied styling, extended for its modes. */
.safa-bunny-stage .speech{white-space:pre-wrap;position:absolute;box-sizing:border-box;width:max-content;max-width:min(280px,calc(100vw - 24px));max-height:210px;overflow:auto;background:#fffffff5;border:2px solid #c9bce9;border-radius:18px;padding:11px 13px;color:#604b76;font-size:13px;line-height:1.4;overflow-wrap:anywhere;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s;pointer-events:none;cursor:auto;touch-action:pan-y;z-index:3}.safa-bunny-stage .speech.visible{opacity:1;transform:translateY(0);pointer-events:auto}.safa-bunny-stage .speech[data-mode=input]{width:260px;max-width:calc(100vw - 24px)}.safa-bunny-stage .speech[data-mode=confirmation]{width:270px}.safa-thinking-mark{position:absolute;font-size:42px;color:#aaa0d8;pointer-events:none}
.safa-interaction-content .printing-chat-form{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0;padding:0;touch-action:manipulation}.safa-interaction-content textarea{order:-1;flex:1 0 100%;width:100%;box-sizing:border-box;min-width:0;min-height:40px;max-height:120px;resize:none;border:0;outline:0;background:transparent;color:inherit;font:inherit;padding:2px}.safa-interaction-content button{padding:4px 8px;min-height:28px;border:1px solid #ddc8db;border-radius:10px;background:#fdf9fc;color:#573f5d;font:12px system-ui;cursor:pointer}.safa-interaction-content button[type=submit]{margin-inline-start:auto;font-size:0}.safa-interaction-content button[type=submit]:after{content:'↵';font-size:16px}.safa-interaction-content .safa-action-card,.safa-interaction-content .safa-service-proposal{border:0;padding:0;margin:6px 0 0;background:none}.safa-interaction-content .safa-action-card p{margin:6px 0}.safa-interaction-content .safa-attachment-preview img{width:36px;height:36px}.safa-interaction-content .safa-attachment-preview{font-size:11px}
.safa-companion[data-mode=guide][data-minimized=true]{width:58px;height:58px}.safa-minimized{width:58px;height:58px;overflow:hidden;border-radius:50%;border:1px solid #e9dce7;background:#faf5f9;padding:0;cursor:pointer;touch-action:none}.safa-minimized img{width:100%;height:100%;object-fit:contain}.safa-controller{display:none!important}.safa-workspace .storefront-search-results{margin-inline:0}.safa-product-cards{display:block}
.safa-companion[data-mode=guide][data-privacy=true] .safa-bunny-stage{height:140px}
@media(max-width:600px){.safa-page{padding:10px 16px}.safa-companion[data-mode=guide]{width:150px}.safa-companion[data-mode=guide] .safa-bunny-stage{height:min(180px,max(70px,calc(var(--safa-viewport-height,100dvh) - 180px)))}.safa-stage-slot{height:clamp(160px,calc(100dvh - 290px),620px);min-height:160px}.safa-bunny-stage .speech{font-size:12px;max-height:180px}.safa-launcher{padding:11px 14px}}
@media(prefers-reduced-motion:reduce){.safa-launcher:before{animation:none}.safa-companion *{animation:none!important;transition:none!important}}


.safa-companion[data-mode=stage] .safa-bunny-stage{height:calc(100% - 42px)}.safa-companion[data-mode=stage] .safa-ask{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);margin:0}

/* SAFA v55 continuation: supplied Stage, shared composer, bounded history. */
.safa-launcher{box-sizing:border-box;width:100%;margin-inline:0}
.safa-route,.safa-route body{height:100%;overflow:hidden;overscroll-behavior:none}
.safa-route .storefront-sections-host{padding-bottom:0!important;min-height:0!important}
.safa-route #storefrontGlobalFooter{display:none!important}
.safa-page{box-sizing:border-box;display:flex;flex-direction:column;gap:0;width:100%;max-width:900px;height:calc(100dvh - 170px);min-height:0;margin:0 auto;padding:0;overflow:hidden;border:1px solid #e9dce7;border-radius:var(--card-radius,20px);background:radial-gradient(circle at 48% 35%,#fff,#f7edf5 65%,#eddfed);color:var(--text-primary,#183249)}
.safa-page-head{flex:none;display:flex;align-items:center;gap:8px;padding:8px 12px;min-height:44px;box-sizing:content-box}
.safa-page-head h1{margin:0;font-size:18px;font-weight:650;line-height:1.3}
.safa-back{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;padding:10px;border:1px solid #e9dce7;border-radius:var(--radius-sm,12px);background:#ffffffb8;color:inherit;cursor:pointer}
.safa-back svg{width:18px;height:18px;transform:rotate(180deg)}
[dir=rtl] .safa-back svg{transform:none}
.safa-back:hover{background:#fff}.safa-page button:focus-visible,.safa-companion button:focus-visible{outline:2px solid var(--focus,#7463b0);outline-offset:2px}
.safa-stage-slot{flex:1 1 0;min-height:0;height:auto;max-height:none;margin:0;border-radius:0;background:transparent;overflow:hidden}
.safa-companion[data-mode=stage] .safa-bunny-stage{height:100%}
.safa-companion[data-mode=stage] .safa-ask{display:none}
.safa-page-footer{flex:none;padding:0 10px 10px;min-width:0;background:transparent}
.safa-show-conversation{display:flex;align-items:center;justify-content:center;gap:4px;margin:0 auto 6px;padding:5px 12px;min-height:32px;border:0;border-radius:20px;background:transparent;color:#705d7c;font:12px var(--font-family,system-ui);cursor:pointer}
.safa-show-conversation:hover{background:#ffffffa8}.safa-show-conversation[hidden]{display:none}
.safa-composer-slot{min-width:0;border:1px solid #d8cce3;border-radius:18px;background:#fffffff2;box-shadow:0 3px 14px #80638e0a;overflow:hidden}
.safa-composer-slot:focus-within{border-color:#9685bd;box-shadow:0 0 0 2px #a293c51c}
.safa-composer-slot .printing-chat-form{display:flex;flex-wrap:nowrap;gap:5px;align-items:flex-end;padding:5px;margin:0}
.safa-composer-slot textarea{box-sizing:border-box;display:block;flex:1;min-width:0;width:100%;height:40px;min-height:40px;max-height:90px;border:0;outline:0;background:transparent;padding:10px 3px;resize:none;font:14px/20px var(--font-family,system-ui);color:inherit}
.safa-composer-slot .printing-chat-form button{min-width:38px;min-height:40px;padding:8px 10px;border-radius:12px;font:13px var(--font-family,system-ui);flex:none}
.safa-composer-slot .safa-send{background:#776491;color:white}.safa-composer-slot .safa-attach{background:transparent;color:#705d7c}
.safa-attach svg{width:20px;height:20px}.safa-composer-slot .safa-attachment-preview:not(:empty){display:flex;align-items:center;gap:6px;padding:7px 10px;border-bottom:1px solid #e9dce7;flex-wrap:wrap;font-size:11px}.safa-composer-slot .safa-attachment-preview img{width:32px;height:32px;object-fit:cover;border-radius:6px}.safa-attachment-preview small{flex-basis:100%;font-size:10px}
.safa-conversation{display:none;min-width:0;min-height:0;overflow:hidden}
.safa-page.is-expanded{background:var(--control-background,#fff)}
.safa-page.is-expanded .safa-stage-slot{display:none}
.safa-page.is-expanded .safa-conversation{display:flex;flex:1 1 0;min-height:0;padding:0;border:0;border-radius:0;overflow:hidden}
.safa-conversation .printing-safa-inner{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;padding:0;overflow:hidden}
.safa-conversation .printing-chat-history{display:flex;flex-direction:column;gap:12px;flex:1 1 0;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:12px;direction:ltr}
.safa-conversation .printing-helper{margin:0;padding-inline:12px;font-size:11px;flex:none}.safa-conversation .printing-helper:empty{display:none}
.safa-message{width:fit-content;max-width:88%;flex:none}.safa-message-user{align-self:flex-end}.safa-message-assistant{align-self:flex-start}
.safa-message-bubble{border-radius:16px;padding:9px 12px;font-size:13px;line-height:1.6;background:#faf6fc;color:#604b76;border:1px solid #e1d7ec;box-shadow:0 2px 6px #80638e06}
.safa-message-user .safa-message-bubble{background:#eee8f7;color:#483754;border-color:#dbd0e8;border-bottom-right-radius:5px}.safa-message-assistant .safa-message-bubble{border-bottom-left-radius:5px}
[dir=rtl] .safa-message-bubble{direction:rtl;text-align:right}[dir=ltr] .safa-message-bubble{direction:ltr;text-align:left}
.safa-page.is-expanded .safa-page-footer{padding-top:8px;background:var(--control-background,#fff)}
.safa-companion[data-mode=guide] .safa-ask{position:relative;margin-top:-26px;z-index:2;min-height:30px}
.safa-bunny-stage .speech{max-width:min(280px,calc(100vw - 24px));max-height:var(--safa-overlay-max-height,210px)}
.safa-interaction-content button[type=submit]{font-size:12px}.safa-interaction-content button[type=submit]:after{content:none}
.safa-reply{display:block;margin-block-start:8px;margin-inline-start:auto;min-height:32px;padding:4px 10px!important}
.safa-companion[data-mode=guide] .safa-bunny-stage{height:min(210px,max(80px,calc(var(--safa-viewport-height,100dvh) - 180px)))}
@media(max-width:600px){.safa-page{padding:0}.safa-page-head{padding:6px 10px;min-height:40px}.safa-page-footer{padding:0 8px 8px}.safa-companion[data-mode=guide] .safa-bunny-stage{height:min(180px,max(70px,calc(var(--safa-viewport-height,100dvh) - 180px)))}}
@media(prefers-reduced-motion:no-preference){.safa-page.is-expanded .safa-conversation{animation:safa-chat-enter .2s ease-out}@keyframes safa-chat-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}


.safa-back svg,.safa-attach svg{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.safa-reply:before{content:'⌨';margin-inline-end:5px}


.safa-companion{--safa-safe-top:env(safe-area-inset-top,0px);--safa-safe-bottom:env(safe-area-inset-bottom,0px);--safa-safe-left:env(safe-area-inset-left,0px);--safa-safe-right:env(safe-area-inset-right,0px)}


.safa-public-fact{display:flex;flex-direction:column;gap:6px;font-size:12px}.safa-public-fact a{overflow-wrap:anywhere}.safa-search-attribution{border:0;width:100%;height:100px;background:transparent}

/* Native Live microphone shares the existing composer. */
.safa-mic{flex:0 0 32px;width:32px;height:32px;padding:5px;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.safa-mic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.safa-mic-active{background:var(--tblr-primary,#7357c7);color:#fff;box-shadow:0 0 0 3px #a88be433}.safa-mic:focus-visible{outline:2px solid currentColor;outline-offset:2px}

.safa-voice-form{position:relative}.safa-voice-status{position:absolute;bottom:calc(100% + 6px);inset-inline:0;max-width:100%;padding:6px 10px;border-radius:10px;background:var(--tblr-bg-surface,#fff);color:var(--tblr-body-color,#262235);box-shadow:0 2px 12px #0002;font-size:12px;line-height:1.35;pointer-events:none;z-index:2}.safa-voice-status[hidden]{display:none}

/* One floating Ask group, two accessible input modes. */
.safa-companion .safa-ask{display:flex;align-items:center;justify-content:center;width:106px;padding:2px;gap:2px;cursor:default}.safa-companion .safa-ask[hidden]{display:none}.safa-ask button{display:grid;place-items:center;min-width:48px;min-height:32px;padding:5px;border:0;border-radius:13px;background:transparent;color:inherit;cursor:pointer}.safa-ask button+button{border-inline-start:1px solid #ddc8db;border-start-start-radius:0;border-end-start-radius:0}.safa-ask button:hover{background:#ede5f4}.safa-ask button:focus-visible{outline:2px solid #7357c7;outline-offset:2px}.safa-ask svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.safa-companion[data-mode=stage] .safa-ask{display:none}

/* Compact mascot perched above the shared voice/keyboard control. */
.safa-companion[data-mode=guide] .safa-bunny-stage{height:170px}.safa-companion[data-mode=guide] .safa-ask{margin-top:-40px;width:112px;min-height:36px;transition:width .16s ease}.safa-companion[data-mode=guide] .safa-minimize{top:34px;right:25px;width:22px;height:22px;font-size:16px}
.safa-ask-voice,.safa-ask-keyboard{transition:opacity .14s,transform .14s,max-width .14s,padding .14s;max-width:50px}.safa-ask[data-live=true] .safa-ask-voice,.safa-ask[data-live=true] .safa-ask-keyboard{opacity:0;transform:translateY(8px);min-width:0;max-width:0;width:0;padding-inline:0;overflow:hidden;border:0;pointer-events:none}
.safa-voice-meter{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;height:28px;color:#82629b}.safa-voice-meter i{display:block;width:4px;height:3px;border-radius:4px;background:currentColor;transition:height .1s linear}.safa-ask .safa-voice-stop{flex:0 0 26px;min-width:26px;width:26px;min-height:28px;padding:1px;font:21px/1 system-ui;border:0}.safa-companion[data-mode=stage][data-voice=on] .safa-ask{display:flex}.safa-page[data-safa-voice=on] .safa-composer-slot{display:none}.safa-companion[data-voice=on] .speech[data-mode=input]{display:none}
@media(prefers-reduced-motion:reduce){.safa-ask-voice,.safa-ask-keyboard,.safa-voice-meter i,.safa-companion .safa-ask{transition:none}}

/* One shared minimize control moves into the keyboard panel and back. */
.safa-companion .safa-minimize.in-panel{position:absolute;inset-block-start:6px;left:auto;right:auto;inset-inline-end:6px;z-index:6;width:25px;height:25px;transform:none}
.safa-bunny-stage .speech[data-mode=input]{padding-block:9px;padding-inline:11px}.safa-bunny-stage .speech[data-mode=input] .printing-chat-form textarea{box-sizing:border-box;padding-block-start:0;padding-inline-start:0;padding-inline-end:30px;text-align:start;align-self:flex-start;min-height:36px}
.safa-dismiss-target{position:fixed;left:50%;bottom:calc(72px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:68px;height:68px;border-radius:50%;display:grid;place-items:center;background:#dc3545;color:white;border:3px solid #fff;box-shadow:0 5px 24px #8c1d3d55;z-index:10050;pointer-events:none;transition:background .15s,scale .15s}
.safa-dismiss-target[hidden]{display:none}.safa-dismiss-target.is-over{background:#a31229;scale:1.16}.safa-dismiss-target svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(prefers-reduced-motion:reduce){.safa-dismiss-target{transition:none}}

/* Cart rescheduling shares the existing service schedule presentation. */
.commerce-book-lamination-reschedule .commerce-book-lamination-schedule{width:100%;max-width:none;margin:0;padding:0;gap:0;min-inline-size:0;container-type:inline-size}
.commerce-book-lamination-reschedule .book-lamination-return-slots{width:100%;min-inline-size:0}
.commerce-book-lamination-reschedule .book-lamination-return-heading{overflow-wrap:normal;word-break:normal}
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-strip .printing-options{grid-auto-columns:clamp(88px,28%,120px)}
.storefront-service-detail[data-service-instance="SERVICE_BOOK_LAMINATION"] .book-lamination-time-strip .printing-option{white-space:nowrap;word-break:normal;overflow-wrap:normal;font-size:clamp(10px,2.6cqi,11px);padding-inline:5px;min-inline-size:0}
.commerce-book-lamination-reschedule .commerce-actions{display:flex;flex-wrap:wrap;gap:8px}
.commerce-book-lamination-reschedule .commerce-actions button{flex:1 1 120px;white-space:normal}
.remaining-auth-form .commerce-button[data-auth-provider="google"],.commerce-button[data-auth-provider="google"]{display:flex;align-items:center;justify-content:center;gap:10px;background:#fff;color:#1f1f1f;border:1px solid #dadce0;box-shadow:none}
.commerce-button[data-auth-provider="google"]:hover{background:#f8f9fa;border-color:#c4c7c5;color:#1f1f1f}
.google-signin-icon{inline-size:20px;block-size:20px;flex:none;object-fit:contain}


/* Storefront feedback and narrow-screen safeguards. */
:where(.storefront-sections-host,.storefront-pd-region,.commerce-core,.remaining-page,.safa-page) :is(button,a,input,select,textarea,summary):focus-visible {
  outline:2px solid var(--focus,#1675ff);
  outline-offset:2px;
}
:is(.printing-option,.printing-upload-button,.service-primary,.remaining-account-link,.pd-viewer-controls button,.safa-ask button) {
  touch-action:manipulation;
}
@media (prefers-reduced-motion:no-preference) {
  :is(.printing-upload-button,.service-primary,.pd-viewer-controls button,.safa-ask button):active:where(:enabled:not(:focus-visible)) {
    scale:.98;
  }
}
:is(.pd-review-body,.remaining-message,.remaining-message-bubble,.printing-status,.printing-upload-status,.commerce-payment-notice,.commerce-processing-copy,.commerce-empty) {
  min-inline-size:0;
  overflow-wrap:anywhere;
}
.commerce-checkout-processing {
  overflow:auto;
  text-align:center;
  padding-block:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-bottom));
}
.commerce-processing-copy { max-inline-size:32ch; }
.storefront-loading-label {
  position:absolute;
  inline-size:1px;
  block-size:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
}
@media (max-width:360px) {
  .pd-review-columns { grid-template-columns:minmax(0,1fr); }
  .pd-review-aggregate { border-inline-end:0; padding-inline-end:0; }
}


/* Policy documents use the storefront palette and readable spacing in both directions. */
.remaining-policy-nav { flex-wrap:wrap; overflow:visible; row-gap:8px; }
.remaining-policy-nav button { white-space:normal; min-block-size:40px; text-align:start; }
.remaining-policy-content { padding:4px clamp(16px,4vw,30px) clamp(20px,5vw,34px); min-inline-size:0; }
.safhat-privacy-notice { max-inline-size:68ch; margin-inline:auto; color:var(--navy,#193451); font-size:clamp(14px,2.8vw,16px); line-height:1.8; overflow-wrap:anywhere; }
.safhat-privacy-notice h2 { margin:0 0 14px; font-size:clamp(20px,4vw,28px); line-height:1.3; }
.safhat-privacy-notice h3 { margin:1.35em 0 .35em; font-size:1em; line-height:1.4; }
.safhat-privacy-notice p { margin:0; color:#334d67; }
.safhat-privacy-notice a { color:#175b9d; text-decoration:underline; text-underline-offset:3px; }

.safa-composer-slot .safa-page-composer .support-icon {
  display: inline-grid;
  place-items: center;
  inline-size: 44px;
  block-size: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #edf4fc;
  color: #24517e;
}
.safa-composer-slot .safa-page-composer .support-send { background: #1768bd; color: #fff; }
.safa-composer-slot .safa-page-composer .support-send:disabled { background: #d9e5f1; color: #61748b; }
.safa-composer-slot .safa-page-composer .safa-dictate[aria-pressed="true"] { background: #ffe5e5; color: #9c263a; }
.safa-page-composer .support-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.safa-page-composer .support-icon::after { content: none; }
.safa-page-composer textarea { min-inline-size: 0; font-size: 16px; }


/* Mobile Services campaign */
.storefront-services-hub.services-campaign {
  max-width:min(100%, 720px);
  padding-inline:9px;
  gap:9px;
  color:var(--navy, #142a4e);
}
.services-campaign-picture, .services-campaign-art { display:block; width:100%; }
.services-campaign-art { height:auto; }
.services-campaign-hero {
  display:block; width:100%; padding:0; border:0;
  overflow:hidden; border-radius:0 0 12px 12px; background:#faf0e8;
}
.services-campaign > .services-campaign-picture { border-radius:12px; overflow:hidden; }
.services-campaign-featured { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.services-campaign-featured .service-hub-card { box-shadow:0 2px 6px #1524450b; }
.services-campaign-featured .services-campaign-art { aspect-ratio:2.5; height:auto; object-fit:cover; }
.services-campaign-featured .service-directory-copy { padding:7px; gap:3px; }
.services-campaign-featured .service-directory-copy h2 { color:inherit; font-size:.92rem; }
.services-campaign-featured .service-directory-copy p { font-size:.72rem; line-height:1.35; }
.services-campaign-featured .service-directory-price {
  display:flex; align-items:center; flex-wrap:wrap; gap:1px 4px;
  font-size:.68rem; line-height:1.3; font-weight:650;
}
.services-campaign-featured .service-directory-price .pd-price { display:inline-flex; align-items:center; gap:2px; }
.services-campaign-featured .service-directory-price :is(.pd-price,.pd-amount,.pd-currency-missing) {
  font:inherit;
  line-height:inherit;
}
.services-campaign-featured .service-price-check {
  display:inline-grid; place-items:center; flex:none; width:1em; height:1em;
  border-radius:50%; color:#fff; background:#18834b;
}
.services-campaign-featured .service-price-check svg { width:.75em; height:.75em; stroke-width:3; }
.services-campaign-featured .service-directory-price .pd-currency { width:1em; height:1em; object-fit:contain; }
.services-campaign button.service-directory-action {
  min-height:41px; padding:3px 5px; color:#004ecf; font-size:.74rem; line-height:1.2; font-weight:750;
}
.services-campaign-directory-title { margin:0; font-size:1.05rem; padding-inline:4px; }
.services-campaign .service-hub-grid { gap:6px; }
.services-campaign button.services-campaign-tile {
  min-height:48px; display:grid; grid-template-columns:minmax(28px,30%) minmax(0,1fr) auto;
  align-items:center; gap:5px; padding:4px; color:inherit; border:1px solid #e2e7ef;
  border-radius:9px; background:#fff; text-align:start;
}
.services-campaign-tile :is(.services-campaign-art,.service-hub-image) {
  aspect-ratio:1.45; height:auto; object-fit:cover; border-radius:6px;
}
.services-campaign-tile-copy { display:grid; gap:2px; overflow-wrap:anywhere; font-size:.78rem; }
.services-campaign-tile-copy small { color:#506482; font-size:.68rem; }
.services-campaign .services-campaign-tile svg { width:12px; height:12px; }
.services-campaign[dir="rtl"] .services-campaign-tile svg { transform:scaleX(-1); }
.services-campaign button:focus-visible { outline:2px solid #1259b2; outline-offset:2px; }
.services-coming-soon {
  display:grid; gap:3px; margin:8px 12px; padding:10px 12px; border:1px solid #ccdcfa;
  border-radius:10px; background:#edf4ff; color:#183963; font-size:.85rem;
}

/* SAFA inline glass launcher */
.safa-liquid { position:sticky; top:env(safe-area-inset-top,0px); z-index:35; margin:8px 12px; height:68px; }
.safa-liquid-stage { width:100%; position:relative; }
.safa-liquid-bar {
  position:relative; isolation:isolate; min-height:68px; display:grid; align-items:center;
  grid-template-columns:38px minmax(0,1fr) 44px; gap:9px; padding:4px 10px 4px 14px;
  border:1px solid #ffffffc9; border-bottom-color:#c8d5e87d; border-radius:36px;
  background:linear-gradient(145deg,#ffffffba 0%,#f4f8ff96 48%,#e9f2ff75 74%,#ffffffad 100%);
  backdrop-filter:saturate(1.2); box-shadow:inset 0 1px 2px #ffffffed,inset 0 -2px 4px #b8cce34a,0 8px 20px #1f36551f;
}
.safa-liquid button { -webkit-tap-highlight-color:transparent; }
.safa-liquid button:focus-visible { outline:2px solid #526583; outline-offset:2px; }
.safa-liquid-copy { grid-area:1/2; text-align:start; display:grid; gap:2px; padding:0; border:0; background:none; cursor:pointer; color:#101927; min-width:0; }
.safa-liquid-copy strong { font-size:1.02rem; letter-spacing:-.02em; }
.safa-liquid-copy span { font-size:.8rem; color:#4e5c70; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.safa-liquid-orb { grid-area:1/1; display:block; position:relative; width:35px; aspect-ratio:1; border-radius:50%; overflow:hidden; isolation:isolate; background:radial-gradient(ellipse at 34% 29%,#e9f7ff 0%,#b9e1ff 24%,#8fa9fa 56%,#b084e1 78%,#f0b1dc 100%); box-shadow:0 4px 9px #8b94bf48,inset 0 0 0 1px #ffffffa3,inset 1px 2px 4px #ffffffa8,inset -2px -3px 6px #6f76be42; }
.safa-liquid-orb::before,.safa-liquid-orb::after { content:""; position:absolute; pointer-events:none; }
.safa-liquid-orb::before { inset:-24%; background:radial-gradient(ellipse at 72% 68%,#f5a9d7c9 0%,#ffc0df75 22%,transparent 43%),radial-gradient(ellipse at 63% 47%,#9987f5d9 0%,#a596f27d 26%,transparent 49%),radial-gradient(ellipse at 38% 57%,#72baf4e0 0%,#85b8f585 30%,transparent 58%),linear-gradient(135deg,#e9f8ff,#a6d7fb 42%,#9185ee 72%,#f1b6dd); animation:safa-liquid-drift 7s ease-in-out infinite alternate; }
.safa-liquid-orb::after { inset:0; border-radius:inherit; background:radial-gradient(ellipse at 30% 22%,#ffffffd9 0%,#ffffff8c 8%,transparent 25%),radial-gradient(ellipse at 72% 79%,#ffe4f48a 0%,transparent 29%); box-shadow:inset 0 0 0 1px #ffffffa8,inset 1px 1px 2px #fff9,inset -2px -3px 5px #7774c536; }
@keyframes safa-liquid-drift { from {transform:rotate(-22deg) scale(1.04)} to {transform:rotate(42deg) scale(1.13)} }
@keyframes safa-liquid-breathe { from {scale:.97} to {scale:1.05} }
.safa-liquid-control,.safa-liquid .support-icon {
  display:grid; place-items:center; width:44px; height:44px; padding:0; border:1px solid #ffffffba; border-bottom-color:#a4b5cc78; border-radius:50%; color:#4f6079;
  background:linear-gradient(151deg,#ffffffe0,#dbe5f888 66%,#ffffffba); box-shadow:inset 1px 1px 2px white,0 2px 5px #53698a25; cursor:pointer;
}
.safa-liquid-control { grid-area:1/3; }
.safa-liquid-control svg,.safa-liquid .support-icon svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:2.3; stroke-linecap:round; stroke-linejoin:round; }
.safa-liquid .printing-safa-inner { display:none; }
.safa-liquid[data-mode="text"],.safa-liquid[data-mode="live"] { z-index:90; }
.safa-liquid[data-mode="text"] .safa-liquid-stage { position:fixed; width:min(calc(100% - 24px),536px); left:50%; top:calc(var(--safa-view-bottom,100dvh) - 68px - var(--safa-bottom-gap,98px)); transform:translateX(-50%); }
.safa-liquid[data-mode="text"][data-keyboard] { --safa-bottom-gap:16px; }
.safa-liquid[data-mode="text"] :is(.safa-liquid-copy,.safa-liquid-control) { display:none; }
.safa-liquid[data-mode="text"] .printing-safa-inner { display:block; grid-area:1/2/2/4; min-width:0; padding:0; }
.safa-liquid .printing-chat-form { padding:0; margin:0; display:flex; gap:4px; min-width:0; align-items:center; background:none; }
.safa-liquid .printing-chat-form textarea { flex:1; min-width:0; min-height:54px; height:54px; padding:0; margin:0; font-size:16px; line-height:18px; background:none; border:0; color:#172b46; resize:none; scrollbar-width:none; }
.safa-liquid .printing-chat-form textarea::-webkit-scrollbar { display:none; }
.safa-liquid .printing-chat-form .safa-attach { flex:none; padding:0; width:18px; height:32px; background:none; border:0; color:#536581; }
.safa-liquid .printing-chat-form .safa-attach svg { width:16px; height:16px; stroke:currentColor; }
.safa-liquid .printing-chat-form .support-icon { flex:none; }
.safa-liquid .safa-dictate { display:none; }
.safa-liquid[data-keyboard] .safa-dictate:not([hidden]),.safa-liquid .safa-dictate[aria-pressed="true"] { display:grid; }
.safa-liquid .safa-send[data-mode="send"] { color:white; background:#29486d; border-color:#29486d; }
.safa-liquid .safa-send[data-mode="send"] svg { stroke-width:3.2; }
.safa-liquid .printing-chat-history { position:absolute; bottom:calc(100% + 10px); inset-inline:0; display:flex; flex-direction:column; gap:7px; max-height:var(--safa-history-height,320px); overflow:auto; overscroll-behavior:contain; scrollbar-width:none; }
.safa-liquid .printing-chat-history:empty { display:none; }
.safa-liquid .printing-chat-history > * { align-self:flex-start; max-width:90%; background:#f9fbff; color:#172b46; border-radius:14px; padding:8px 11px; overflow-wrap:anywhere; }
.safa-liquid .printing-chat-history > .user { align-self:flex-end; background:#29486d; color:white; }
.safa-liquid .printing-safa-inner > :is(.printing-helper,.safa-attachment-preview,.safa-liquid-actions) { position:relative; margin:0; }
.safa-liquid .printing-safa-inner > .printing-helper:empty,.safa-liquid .safa-attachment-preview:empty,.safa-liquid .safa-liquid-actions:empty { display:none; }
.safa-liquid[data-mode="live"] .safa-liquid-bar { background:none; box-shadow:none; backdrop-filter:none; border-color:transparent; }
.safa-liquid[data-mode="live"] .safa-liquid-copy { visibility:hidden; }
.safa-liquid[data-mode="live"] .safa-liquid-control { grid-area:1/1; scale:.82; }
.safa-liquid[data-mode="live"] .safa-liquid-orb { grid-area:1/2; justify-self:center; transform:scale(1.7); }
.safa-liquid[data-mode="live"] .safa-liquid-orb::before { animation-duration:3s; }
.safa-liquid[data-voice="speaking"] .safa-liquid-orb { animation:safa-liquid-breathe .65s ease-in-out infinite alternate; }
.safa-liquid[data-voice="listening"] .safa-liquid-orb { animation:safa-liquid-breathe 2s ease-in-out infinite alternate; }
.home-service-photo { object-fit:cover!important; width:100%; height:100%; display:block; }
.home-service-label { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
@media(prefers-reduced-motion:reduce){.safa-liquid-orb,.safa-liquid-orb::before {animation:none!important;} }

.safa-liquid .printing-chat-history > .safa-message-user { align-self:flex-end; background:#29486d; color:white; }
.safa-liquid[data-voice="talking"] .safa-liquid-orb { animation:safa-liquid-breathe .65s ease-in-out infinite alternate; }
.home-service-tile .services-campaign-picture { width:100%; height:100%; display:block; }
.home-service-tile .home-service-photo { aspect-ratio:auto; }
.safa-liquid-feedback { position:absolute; inset-inline:0; top:calc(100% + 5px); }
.safa-liquid-feedback[hidden],.safa-liquid-feedback .printing-helper:empty,.safa-liquid-feedback .safa-attachment-preview:empty { display:none; }
.safa-liquid-feedback .printing-helper:not(:empty) { padding:5px 9px; border-radius:10px; background:#f9fbff; }
.safa-liquid .printing-chat-form textarea:focus { outline:none; box-shadow:none; }
.safa-liquid .safa-voice-status { position:absolute; inset-inline:0; top:100%; }
.safa-liquid .safa-voice-status[hidden] { display:none; }
.safa-liquid-optics { position:absolute; width:0; height:0; overflow:hidden; pointer-events:none; }
@supports (backdrop-filter:url("#safa-edge-refraction")) {
  .safa-liquid-bar { backdrop-filter:url("#safa-edge-refraction") saturate(1.18); }
}
.safhat-phone-preview { overflow-x:clip; }
.safa-liquid[data-mode="text"] .safa-liquid-bar { min-height:68px; }
.safa-liquid .safa-message-bubble { background:none; color:inherit; padding:0; }
.safa-liquid .printing-chat-form .safa-dictate[aria-pressed="true"] svg rect { fill:currentColor; }
.safa-liquid[data-mode="live"] .safa-liquid-feedback .printing-helper:not(:empty) { width:fit-content; margin-inline:auto; }

/* Approved Safa browser prototype: layered orb and clear liquid surface. */
.safa-liquid-orb-wrap { position:relative; isolation:isolate; width:clamp(30px,9.8cqw,68px); aspect-ratio:1; }
.safa-liquid-orb-wrap::before {
  content:""; position:absolute; z-index:-1; inset:12% -40% -60%;
  background:radial-gradient(ellipse at 68% 59%,#e782cf86,transparent 61%),
             radial-gradient(ellipse at 33% 55%,#8096d787,transparent 62%);
  filter:blur(5px); transform-origin:center 30%;
  animation:safa-prototype-spill 5.8s ease-in-out infinite;
}
.safa-prototype-orb {
  position:absolute; inset:0; isolation:isolate; overflow:hidden;
  border-radius:50%; background:#d8e7fc;
  box-shadow:0 3px 6px #7889b138;
  animation:safa-prototype-breathe 5.8s ease-in-out infinite;
}
.safa-prototype-orb::before,.safa-prototype-orb::after { content:""; position:absolute; }
.safa-prototype-orb::before {
  inset:-23%;
  background:radial-gradient(ellipse at 72% 68%,#ffc0df 4%,transparent 39%),
    radial-gradient(ellipse at 63% 47%,#a596f2 7%,transparent 39%),
    radial-gradient(ellipse at 47% 53%,#85b8f5 13%,transparent 51%),
    radial-gradient(ellipse at 26% 68%,#a9e3fa 4%,transparent 46%),#dce8fe;
  animation:safa-prototype-drift 8s ease-in-out infinite alternate;
}
.safa-prototype-orb::after {
  inset:0; border-radius:inherit;
  background:radial-gradient(ellipse at 29% 22%,white 1%,#ffffffef 9%,#ffffff50 17%,transparent 27%),
    radial-gradient(ellipse at 57% 92%,#fff7fb 1%,#ffffffb5 13%,transparent 39%),
    radial-gradient(ellipse at 10% 56%,#ddf5ffb0,transparent 39%),
    radial-gradient(circle at 44% 40%,transparent 47%,#fdedff92 82%);
  box-shadow:inset 1px 1px 2px #fff,inset -1px -1px 2px #fff8;
}
@keyframes safa-prototype-breathe {
  0%,100% { transform:scale(.98); }
  50% { transform:translateY(-2%) scale(1.045); }
}
@keyframes safa-prototype-spill {
  0%,100% { opacity:.65; transform:scale(.91); }
  50% { opacity:1; transform:scale(1.12); }
}

.safa-liquid-orb-wrap::before {
  inset:22% -25% -38%; filter:blur(4px);
  background:radial-gradient(ellipse at 64% 59%,#e782cf39,transparent 61%),
    radial-gradient(ellipse at 34% 55%,#8096d743,transparent 62%);
}
.safa-prototype-orb::after {
  background:radial-gradient(ellipse at 30% 23%,#ffffffa3,transparent 23%),
    radial-gradient(ellipse at 58% 88%,#ffffff8c,transparent 41%),
    radial-gradient(circle at 42% 41%,transparent 49%,#ffffff70 85%);
  box-shadow:inset 1px 1px 2px #fff9,inset -1px -1px 2px #fff7;
}

.safa-liquid-stage { container-type:inline-size; }
.safa-liquid-orb-wrap { grid-area:1/1; width:35px; }
.safa-liquid-orb { background:none; box-shadow:none; overflow:visible; isolation:auto; }
.safa-liquid-orb::before,.safa-liquid-orb::after { content:none; }
.safa-liquid-orb-wrap .safa-prototype-orb { width:100%; height:100%; }
.safa-liquid-bar { background:linear-gradient(166deg,#ffffff45,#f1f4fb36 60%,#ffffff45); border-color:#cdd6e4; box-shadow:inset 0 1px 1px #fff,0 8px 17px #2e416318; backdrop-filter:url('#safa-edge-refraction'); -webkit-backdrop-filter:url('#safa-edge-refraction'); }
.safa-liquid-bar::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; border:1px solid #ffffffa3; border-bottom-color:#91a6c66b; box-shadow:inset 0 1px 2px #fffe,inset 0 -2px 3px #faffffb0; }
.safa-liquid[data-mode='live'] .safa-liquid-bar::after { opacity:0; }
.safa-liquid[data-mode='live'] .safa-liquid-orb-wrap { grid-area:1/2; justify-self:center; transform:scale(1.72); }
.safa-liquid[data-mode='live'] .safa-prototype-orb { animation-duration:2.7s; }
.safa-liquid-control,.safa-liquid .support-icon { background:linear-gradient(151deg,#ffffff84,#dbe5f85e 67%,#ffffff95); box-shadow:inset 1px 1px 2px #fff,inset 0 -1px 2px #fff8,0 2px 5px #53698a28; }
@media(prefers-reduced-motion:reduce) { .safa-prototype-orb,.safa-prototype-orb::before,.safa-liquid-orb-wrap::before { animation:none; } }

.safa-liquid[data-mode='text'] .safa-liquid-stage {
  position:fixed; inset:auto; bottom:var(--safa-composer-inset,98px); left:50%;
  margin:0; border:0; padding:0; overflow:visible; background:transparent;
  transform:translateX(-50%);
}
.safa-liquid-stage::backdrop { background:transparent; pointer-events:none; }
.safa-chat-surface { display:none; }
.safa-liquid[data-mode='text'] .safa-chat-surface:has(.printing-chat-history:not(:empty),.printing-helper:not(:empty),.safa-attachment-preview:not(:empty),.safa-liquid-actions section:not(:empty)) {
  position:absolute; inset-inline:0; bottom:calc(100% + 8px);
  display:flex; flex-direction:column; max-height:var(--safa-history-height,320px);
  overflow:hidden; border:1px solid #cbdced; border-radius:18px; background:#fff;
  box-shadow:0 10px 30px #1d3e6226; color:#183249;
}
.safa-chat-surface .printing-chat-history {
  position:static; min-height:0; padding:10px; max-height:none; scrollbar-width:thin;
}
.safa-chat-surface .printing-chat-history:empty { display:none; }
.safa-chat-surface .safa-liquid-feedback { position:static; flex:none; padding-inline:10px; }
.safa-chat-surface .printing-helper:not(:empty) { margin:4px 0 8px; background:#edf4fb; }
.safa-chat-surface .printing-helper[data-working]:not(:empty) { display:flex; align-items:center; gap:8px; }
.safa-chat-surface .printing-helper[data-working]:not(:empty)::before {
  content:''; flex:none; width:8px; height:8px; border-radius:50%; background:#376caa;
}
@media(prefers-reduced-motion:no-preference) {
  .safa-chat-surface .printing-helper[data-working]:not(:empty)::before { animation:safa-working-pulse 1.35s ease-in-out infinite; }
}
@keyframes safa-working-pulse { 50% { opacity:.45; transform:scale(.72); } }
.storefront-category-card-placeholder { display:grid; place-items:center; color:#427eae; background:#edf5fb; }
.storefront-category-card-placeholder svg { width:32px; height:32px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linejoin:round; stroke-linecap:round; }
.commerce-empty-wishlist { min-height:44vh; display:grid; justify-items:center; align-content:center; text-align:center; gap:12px; padding:24px 16px; }
.commerce-empty-wishlist img { width:min(78%,248px); height:auto; }
.commerce-empty-wishlist :is(h2,p) { margin:0; }
.catalog-progress-status { min-height:20px; display:flex; align-items:center; justify-content:center; gap:10px; margin:14px 0; color:var(--text-secondary,#52667a); font-size:13px; }
.catalog-progress-status:not(:empty):not(:has(button))::before { content:''; width:14px; height:14px; border:2px solid currentColor; border-inline-end-color:transparent; border-radius:50%; }
@media(prefers-reduced-motion:no-preference) {
  .catalog-progress-status:not(:empty):not(:has(button))::before { animation:catalog-page-spin .75s linear infinite; }
}
@keyframes catalog-page-spin { to { transform:rotate(1turn); } }
.safa-liquid .safa-message-bubble { border:0; box-shadow:none; outline:0; }
.safa-liquid .safa-service-proposal:empty { display:none; }

.category-card-skeleton{min-width:90px;height:112px;border-radius:18px;background:linear-gradient(100deg,#eef1f5 20%,#f8fafc 40%,#eef1f5 60%);background-size:200% 100%;animation:category-shimmer 1.3s linear infinite}
@keyframes category-shimmer{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){.category-card-skeleton{animation:none}}

.storefront-category-carousel-track:has(.category-card-skeleton){padding:8px 4px 12px;gap:12px;box-sizing:border-box}
.storefront-category-carousel-track .category-card-skeleton{min-width:0;width:100%;height:var(--category-card-height,112px);border-radius:var(--category-card-border-radius,18px)}

/* Two equal registration cards, using the same footer layout and theme tokens. */
.footer-registration-row{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--footer-gap,8px);direction:ltr;min-width:0}
.footer-registration-card{display:grid;grid-template-rows:56px auto auto 1px minmax(32px,auto);align-items:center;align-content:start;justify-items:center;gap:3px;min-width:0;min-height:0;padding:clamp(8px,calc(var(--footer-padding,14px)*.72),12px);text-align:center;color:var(--footer-headingColor,#0b2347);align-self:stretch;grid-column:auto}
@supports(grid-template-rows:subgrid){.footer-registration-row{grid-template-rows:repeat(5,auto);row-gap:3px}.footer-registration-card{grid-row:1 / span 5;grid-template-rows:subgrid;row-gap:3px}.footer-registration-card:first-child{grid-column:1}.footer-registration-card:last-child{grid-column:2}}
.footer-registration-artwork{display:grid;place-items:center;width:64px;height:56px;background:transparent}
.footer-registration-artwork img{display:block;object-fit:contain;width:56px;height:56px;max-width:100%}
.footer-registration-name-ar{font-size:clamp(11px,3.4cqi,14px);line-height:1.18;font-weight:700;overflow-wrap:anywhere;width:100%}
.footer-registration-name-en{font-size:clamp(10px,3.1cqi,13px);line-height:1.16;font-weight:650;overflow-wrap:anywhere;width:100%}
.footer-registration-divider{height:1px;width:100%;background:var(--footer-dividerColor,#e4e9f0);margin:0}
.footer-registration-status{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;min-height:32px;padding:4px 5px;border-radius:min(var(--footer-radius,16px),14px);background:#e8f6ed;background:color-mix(in srgb,#22a65a 13%,var(--footer-background,#fff));color:var(--footer-headingColor,#0b2347);font-size:clamp(10px,2.85cqi,12px);font-weight:650;line-height:1.2}
.footer-registration-status span{min-width:0;flex:1;overflow-wrap:anywhere;padding-inline-start:6px;border-inline-start:1px solid color-mix(in srgb,#16934c 30%,transparent)}
.storefront-global-footer .footer-registration-status svg{width:20px;height:22px;flex:none;stroke:none}
.storefront-global-footer .footer-registration-shield{fill:#16934c;stroke:none}
.storefront-global-footer .footer-registration-tick{stroke:#fff;fill:none;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
@container (max-width:340px){.footer-registration-card{padding:8px;gap:3px}.footer-registration-status{gap:4px;padding-inline:4px}.storefront-global-footer .footer-registration-status svg{width:17px;height:19px}.footer-registration-status span{padding-inline-start:4px}}


/* SAFA live: safe-area breathing room and motion only in the active orb. */
.safa-liquid{top:calc(env(safe-area-inset-top,0px) + 12px)}
.safa-liquid[data-mode='live'] .safa-liquid-orb-wrap{transform:scale(1.94)}
.safa-liquid[data-mode='live'][data-voice] .safa-liquid-orb-wrap{animation:safa-live-orb-breathe 2.5s ease-in-out infinite}
.safa-liquid[data-mode='live'][data-voice='connecting'] .safa-liquid-orb-wrap,.safa-liquid[data-mode='live'][data-voice='reconnecting'] .safa-liquid-orb-wrap{animation-duration:1.65s}
.safa-liquid[data-mode='live'][data-voice='talking'] .safa-liquid-orb-wrap,.safa-liquid[data-mode='live'][data-voice='speaking'] .safa-liquid-orb-wrap{animation-duration:1.05s}
.safa-liquid[data-mode='live'] .safa-prototype-orb{animation-duration:3.1s}
@keyframes safa-live-orb-breathe{0%,100%{transform:scale(1.88)}50%{transform:scale(2.05)}}
@media(prefers-reduced-motion:reduce){.safa-liquid[data-mode='live'][data-voice] .safa-liquid-orb-wrap{animation:none!important;transform:scale(1.94)}}


/* Customer search suggestions: compact, wrapping, RTL-safe and theme-aware. */
body[data-safhat-surface="phone"] #searchDropdown .dropdown-section[hidden]{display:none!important}
body[data-safhat-surface="phone"] #searchDropdown .dropdown-title{font-size:14px;line-height:1.4;gap:7px;font-weight:700}
body[data-safhat-surface="phone"] #searchDropdown .dropdown-title svg{width:19px;height:19px;flex:none}
body[data-safhat-surface="phone"] #searchDropdown .trend-arrow{display:none}
body[data-safhat-surface="phone"] #searchDropdown .recent-list,
body[data-safhat-surface="phone"] #trendingChips{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:10px;min-width:0}
body[data-safhat-surface="phone"] #searchDropdown .recent-chip-group{display:inline-flex;align-items:stretch;max-width:100%;min-width:0;min-height:34px;border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:12px;background:color-mix(in srgb,var(--navy,#203957) 5%,transparent);overflow:hidden}
body[data-safhat-surface="phone"] #searchDropdown .search-suggestion-chip{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;max-width:100%;min-width:0;min-height:34px;height:auto;padding:7px 11px;line-height:1.2;font-size:12px;font-weight:600;color:var(--navy,#203957);border:1px solid color-mix(in srgb,currentColor 12%,transparent);border-radius:12px;background:color-mix(in srgb,var(--navy,#203957) 5%,transparent);text-align:start;cursor:pointer}
body[data-safhat-surface="phone"] #searchDropdown .search-suggestion-chip span{min-width:0;overflow-wrap:anywhere}
body[data-safhat-surface="phone"] #searchDropdown .search-suggestion-chip svg,
body[data-safhat-surface="phone"] #searchDropdown .recent-remove svg{width:15px;height:15px;flex:none}
body[data-safhat-surface="phone"] #searchDropdown .recent-chip-group .search-suggestion-chip{border:0;border-radius:0;background:none;padding-inline-end:5px}
body[data-safhat-surface="phone"] #searchDropdown .recent-chip-group .recent-remove{display:grid;place-items:center;flex:none;width:30px;border:0;background:none;color:inherit;cursor:pointer;padding:0}
body[data-safhat-surface="phone"] #searchDropdown .search-suggestion-chip:hover,
body[data-safhat-surface="phone"] #searchDropdown .recent-remove:hover{background:color-mix(in srgb,currentColor 8%,transparent)}
body[data-safhat-surface="phone"] #searchDropdown button:focus-visible{outline:2px solid var(--accent,#3569b2);outline-offset:2px}
body[data-safhat-surface="phone"] #searchDropdown .clear-recent{font-size:12px;inset-inline-end:0;inset-inline-start:auto}
body[data-safhat-surface="phone"] #searchDropdown .trending-section{margin-top:14px}
body[data-safhat-surface="phone"] #searchDropdown .recent-section[hidden]+.trending-section{margin-top:0}
body[data-safhat-surface="phone"] #searchDropdown .recent-section[hidden]+.trending-section .dropdown-title{border-top:0;padding-top:0}

/* SAFA recommendation workspace: same SEC-08 geometry and touch track as Popular Essentials. */
.safa-workspace { width:100%; min-width:0; max-width:none; box-sizing:border-box; padding-inline:0; }
.safa-workspace > h2 { margin-inline:16px; }
.safa-workspace .safa-recommendation-group { min-width:0; width:100%; }
.safa-workspace .safa-recommendation-group > h3:not([hidden]) { margin-inline:16px; }
.safa-workspace [data-safa-home-rail] { width:100%; min-width:0; max-width:none; }
.safa-workspace [data-safa-home-rail] .storefront-product-carousel-track { scrollbar-width:none; }
.safa-workspace [data-safa-home-rail] .storefront-product-carousel-track::-webkit-scrollbar { display:none; }


/* Customer-only layout: preserve the reference printing grid across phone widths. */
.safhat-phone-preview .search-dropdown:not(:has(.recent-section:not([hidden]) #recentList > *, .trending-section:not([hidden]) #trendingChips > *, #scannerLookupFeedback:not([hidden]))) { display:none!important; }
.safhat-phone-preview .storefront-printing-core .printing-group-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:min(var(--printing-gap),2.3cqi) min(var(--printing-columnGap),2.3cqi); }
.safhat-phone-preview .storefront-printing-core .printing-option-card { padding:min(var(--printing-padding),2.25cqi); overflow:visible; }
.safhat-phone-preview .storefront-printing-core .printing-option-card h2 { font-size:min(var(--printing-labelSize),3.6cqi); gap:min(5px,1.4cqi); margin-bottom:min(7px,1.9cqi); }
.safhat-phone-preview .storefront-printing-core .printing-option-card h2 svg { width:min(var(--printing-iconSize),4.5cqi); height:min(var(--printing-iconSize),4.5cqi); }
.safhat-phone-preview .storefront-printing-core .printing-option-card .printing-options { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:min(var(--printing-optionGap),1.45cqi); align-items:stretch; }
.safhat-phone-preview .storefront-printing-core .printing-option { grid-column:span 6; min-width:0; width:100%; max-inline-size:none; white-space:normal; overflow-wrap:normal; word-break:normal; text-align:center; gap:min(4px,1cqi); padding-inline:min(var(--printing-pillPadding),.85cqi); min-height:min(var(--printing-pillHeight),8.4cqi); font-size:min(var(--printing-optionSize),3.25cqi)!important; }
.safhat-phone-preview .storefront-printing-core :is(.printing-option img,.printing-color,.printing-option-media) { width:min(14px,3.6cqi); height:min(14px,3.6cqi); }
.safhat-phone-preview .storefront-printing-core [data-option-group="print"] .printing-option,
.safhat-phone-preview .storefront-printing-core [data-option-group="size"] .printing-option { grid-column:span 3; }
.safhat-phone-preview .storefront-printing-core [data-option-group="size"] .printing-option[data-option-value="custom"] { max-inline-size:none; white-space:nowrap; }
.safhat-phone-preview .storefront-printing-core [data-option-group="size"][data-custom-size-available="false"] .printing-option:not([data-option-value="custom"]) { grid-column:span 4; }
.safhat-phone-preview .storefront-printing-core [data-option-group="color"] .printing-option:first-child { grid-column:span 7; }
.safhat-phone-preview .storefront-printing-core [data-option-group="color"] .printing-option:last-child { grid-column:span 5; }
.safhat-phone-preview .storefront-printing-core [data-option-group="paper"] .printing-option[data-option-value="glossy"] { grid-column:1/-1; }
.safhat-phone-preview .storefront-printing-core [data-option-group="finish"] .printing-option { grid-column:span 4; }
.safhat-phone-preview .storefront-printing-core [data-option-group="finish"] .printing-option[data-option-value="punch"] { grid-column:1/-1; }
.safhat-phone-preview .storefront-printing-core [data-option-group="sides"] .printing-option[data-option-value="double"] { max-inline-size:none; white-space:normal; }
.safhat-phone-preview .storefront-printing-core [data-option-group="sides"] .printing-options:has([data-option-value="double"][data-availability="unavailable"]) .printing-option[data-option-value="single"] { grid-column:1/-1; }
.safhat-phone-preview .storefront-printing-core .printing-option[data-availability="unavailable"][aria-hidden="true"] { display:none!important; }
.safhat-phone-preview .storefront-printing-core .printing-quantity { grid-column:1/-1; min-height:min(var(--printing-quantityHeight),9cqi); }
.safhat-phone-preview .storefront-printing-core .printing-quantity button { width:min(var(--printing-quantityButton),8cqi); }
.safhat-phone-preview .storefront-printing-core .printing-quantity input { font-size:min(13px,3.8cqi); }
.safhat-phone-preview .storefront-printing-core .printing-custom-size[data-visibility="visible"] { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); max-block-size:none; overflow:visible; gap:min(6px,1.5cqi); }
.safhat-phone-preview .storefront-printing-core .printing-custom-size[data-visibility="hidden"] { display:none; }
.safhat-phone-preview .storefront-printing-core .printing-custom-size .printing-dimension-field { min-width:0; font-size:min(11px,3.2cqi); }
.safhat-phone-preview .storefront-printing-core .printing-custom-size .printing-input-with-unit { gap:min(4px,1cqi); min-width:0; }
.safhat-phone-preview .storefront-printing-core .printing-custom-size .printing-input-with-unit > span { font-size:min(10px,2.7cqi); }
.safhat-phone-preview .storefront-printing-core .printing-custom-size .printing-custom-pages { min-width:0; padding-inline:min(5px,1.2cqi); font-size:clamp(12px,3.5cqi,16px)!important; }
.safhat-phone-preview .storefront-printing-core .printing-custom-size .printing-custom-pages:focus { outline:2px solid var(--focus,#0a66ff); outline-offset:-2px; border-color:var(--focus,#0a66ff); box-shadow:none; position:relative; z-index:1; }
.safhat-phone-preview .storefront-printing-core .printing-custom-band-validation { grid-column:1/-1; }
.safhat-phone-preview .storefront-printing-core .printing-paper-weight-content { overflow:visible; }
.safhat-phone-preview .storefront-printing-core .printing-quote { grid-template-columns:minmax(0,.9fr) repeat(2,minmax(0,1fr)); gap:min(7px,1.8cqi); padding:min(var(--printing-quotePadding),3cqi); }
.safhat-phone-preview .storefront-printing-core .printing-price { grid-column:auto; font-size:min(10px,3cqi); }
.safhat-phone-preview .storefront-printing-core .printing-price strong { font-size:min(13px,3.7cqi); }
.safhat-phone-preview .storefront-printing-core :is(.printing-cart,.printing-quote-button) { gap:min(5px,1.2cqi); min-height:min(var(--printing-ctaHeight),10.5cqi); padding:min(5px,1.1cqi); font-size:min(var(--printing-ctaTextSize),3.3cqi)!important; }
.safhat-phone-preview .storefront-printing-core .printing-quote svg { width:min(var(--printing-ctaIconSize),4.4cqi); height:min(var(--printing-ctaIconSize),4.4cqi); }
.safhat-phone-preview .storefront-printing-core .printing-notes { padding:min(var(--printing-padding),2.5cqi); }
.safhat-phone-preview .storefront-printing-core .printing-notes label { font-size:min(var(--printing-labelSize),3.6cqi); }
.safhat-phone-preview .storefront-printing-core .printing-helper { font-size:min(10px,3cqi); }
.safhat-phone-preview .storefront-printing-core [data-option-group="size"] .printing-options { grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.65fr); }
.safhat-phone-preview .storefront-printing-core [data-option-group="size"] .printing-option { grid-column:auto; }
.safhat-phone-preview .storefront-printing-core [data-option-group="size"][data-custom-size-available="false"] .printing-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
.safhat-phone-preview .storefront-printing-core [data-option-group="size"][data-custom-size-available="false"] .printing-option:not([data-option-value="custom"]) { grid-column:auto; }
.safhat-phone-preview .storefront-printing-core [data-option-group="color"] .printing-options { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr); }
.safhat-phone-preview .storefront-printing-core [data-option-group="color"] .printing-option:is(:first-child,:last-child) { grid-column:auto; white-space:nowrap; font-size:min(var(--printing-optionSize),2.8cqi)!important; padding-inline:min(2px,.55cqi); gap:min(3px,.7cqi); }
.safhat-phone-preview .storefront-printing-core [data-option-group="color"] .printing-color { width:min(14px,3.3cqi); height:min(14px,3.3cqi); }


/* Real transfer progress; the completed transfer remains distinct from inspection. */
.printing-upload-progress[hidden]{display:none!important}
.printing-upload-progress{inline-size:min(100%,330px);text-align:start;display:grid;gap:6px;padding:9px 10px;border:1px solid var(--line,#dce5ef);border-radius:12px;background:#f4f8ff;color:#173554}
.printing-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:650;line-height:1.35}
.printing-progress-amount{font-variant-numeric:tabular-nums;flex:none;color:#0966ed}
.printing-upload-progress progress{appearance:none;-webkit-appearance:none;inline-size:100%;block-size:7px;border:0;border-radius:999px;overflow:hidden;background:#dce8f9;color:#0966ed;accent-color:#0966ed}
.printing-upload-progress progress::-webkit-progress-bar{background:#dce8f9;border-radius:999px}
.printing-upload-progress progress::-webkit-progress-value{background:#0966ed;border-radius:999px;transition:width .1s linear}
.printing-upload-progress progress::-moz-progress-bar{background:#0966ed;border-radius:999px}
.printing-upload-progress[data-phase="processing"] progress::-webkit-progress-value{background:#287353}
.printing-upload-progress[data-phase="processing"] progress::-moz-progress-bar{background:#287353}
.commerce-service-media[data-service-artwork] picture{display:block;inline-size:100%;block-size:100%;min-inline-size:0}
.commerce-service-media[data-service-artwork] img{display:block;inline-size:100%;block-size:100%;object-fit:cover;object-position:center;padding:0;border:0}

.printing-dropzone:has(.printing-upload-progress:not([hidden])) .printing-upload-status{display:none}

.safhat-original-upload *{box-sizing:border-box}
.safhat-original-upload button{font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.safhat-original-upload .scene{width:min(100%,901px);position:relative;margin:0 auto;container-type:inline-size;background:transparent}
.safhat-original-upload .drop-zone{position:absolute;left:3.76%;top:3.98%;width:92.48%;height:45.9%;border:2px dashed #d5d5d4;border-radius:5.9cqw;background:linear-gradient(170deg,#fafafa,#f8f8f8 48%,#f4f4f3);cursor:pointer;text-align:center;box-shadow:0 0 1cqw #ffffffd9,inset 0 0 1cqw #fff}
.safhat-original-upload .heading{position:absolute;top:7.6%;left:0;width:100%;font-size:3.06cqw;line-height:1.25;font-weight:650;letter-spacing:-.11cqw}
.safhat-original-upload .glass-shadow{position:absolute;top:calc(21.55% + 9cqw);left:50%;transform:translateX(-45%);width:27cqw;height:20cqw;border-radius:50%;background:radial-gradient(ellipse,rgba(64,137,235,.48),rgba(112,166,225,.25) 40%,rgba(170,205,231,.10) 62%,transparent 74%);filter:blur(2cqw);pointer-events:none}
.safhat-original-upload .glass-orb{position:absolute;top:21.55%;left:50%;transform:translateX(-50%);width:18.65cqw;height:18.65cqw;border-radius:50%;background:radial-gradient(ellipse at 26% 17%,rgba(255,255,255,.52),transparent 39%),radial-gradient(ellipse at 77% 83%,rgba(115,178,247,.17),transparent 48%),linear-gradient(145deg,rgba(217,237,252,.15),rgba(248,253,255,.025) 45%,rgba(175,218,255,.14));border:0;box-shadow:inset 1px 1px 2px rgba(255,255,255,.92),inset -1px -1px 2px rgba(255,255,255,.60),inset .38cqw .3cqw .75cqw rgba(118,164,200,.17),inset -.3cqw -.25cqw .55cqw rgba(103,162,214,.12),0 1px 2px rgba(82,131,174,.13),0 .55cqw 1.1cqw rgba(75,132,181,.07);backdrop-filter:blur(.7px) saturate(1.35);-webkit-backdrop-filter:blur(.7px) saturate(1.35);isolation:isolate}
.safhat-original-upload .glass-orb:before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.35px;background:conic-gradient(from -38deg,rgba(255,255,255,.12),#fff 9%,rgba(255,255,255,.96) 20%,rgba(183,219,246,.12) 38%,rgba(137,192,233,.28) 47%,#fff 63%,rgba(255,255,255,.94) 76%,rgba(255,255,255,.08) 92%);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;pointer-events:none}
.safhat-original-upload .glass-orb:after{content:"";position:absolute;inset:2%;border-radius:inherit;background:radial-gradient(ellipse at 78% 80%,rgba(230,248,255,.43),transparent 29%),radial-gradient(ellipse at 27% 15%,rgba(255,255,255,.31),transparent 35%);box-shadow:inset 0 -1px 1.5px rgba(255,255,255,.60);pointer-events:none}
.safhat-original-upload .glass-reflection{position:absolute;left:13%;top:10%;width:55%;height:19%;border-radius:65% 50% 65% 45%;transform:rotate(-31deg);background:linear-gradient(175deg,rgba(255,255,255,.94),rgba(255,255,255,.30) 26%,rgba(255,255,255,.02) 79%);filter:blur(.22cqw);pointer-events:none}
.safhat-original-upload .glass-caustic{position:absolute;z-index:1;left:19%;bottom:6%;width:65%;height:30%;border-radius:50%;transform:rotate(-27deg);box-shadow:inset 0 -1.5px 1px rgba(255,255,255,.72);opacity:.7;pointer-events:none}
.safhat-original-upload .upload-symbol{position:absolute;width:7.3cqw;height:7.3cqw;left:50%;top:50%;transform:translate(-50%,-48%);filter:drop-shadow(0 1px 1px #1468b42b)}
.safhat-original-upload .guidance{position:absolute;left:0;bottom:6.6%;width:100%;font-size:2.94cqw;line-height:1.22;font-weight:400;letter-spacing:-.055cqw;color:#91928f}
.safhat-original-upload .file-card{position:absolute;left:3.76%;top:53.1%;width:92.48%;height:24%;border-radius:4.1cqw;background:linear-gradient(150deg,#fafafaab,#ffffff26 70%,#ffffff69);box-shadow:inset 0 0 1cqw #ffffffed,0 1.6cqw 3.7cqw #ffffff9c}
.safhat-original-upload .video-tile{position:absolute;left:3%;top:10%;width:12cqw;height:12cqw;border-radius:3.4cqw;background:linear-gradient(130deg,#e6f3fa,#ebf2ff);border:5px solid #ffffffd9;box-shadow:inset 0 0 6px #fff,0 4px 4px #00000015,0 0 9px #ffffff;display:grid;place-items:center}
.safhat-original-upload .video-tile svg{width:4.8cqw;height:4.8cqw}
.safhat-original-upload .file-copy{position:absolute;left:20.1%;top:17.8%;right:15%;display:flex;flex-direction:column;gap:1.2cqw;white-space:nowrap}
.safhat-original-upload .file-copy strong{font-size:2.72cqw;font-weight:650;letter-spacing:-.1cqw;overflow:hidden;text-overflow:ellipsis}
.safhat-original-upload .file-copy span{font-size:2.68cqw;line-height:1.2;letter-spacing:-.045cqw;color:#969792}
.safhat-original-upload .remove{position:absolute;right:4.6%;top:15%;width:8cqw;height:8cqw;border:0;border-radius:50%;background:linear-gradient(150deg,#ffffff19,#ffffffc4);color:#60645f;box-shadow:.7cqw 1.6cqw 2.6cqw #00000004;display:grid;place-items:center}
.safhat-original-upload .remove svg{width:3.2cqw;height:3.2cqw}
.safhat-original-upload .progress-track{position:absolute;left:2.8%;right:2.8%;bottom:13.5%;height:1.1cqw;border-radius:99px;background:#d5dce7;box-shadow:inset 0 1px 2px #ffffff91;overflow:hidden}
.safhat-original-upload .progress-track span{display:block;width:71.2%;height:100%;border-radius:inherit;background:linear-gradient(#0879ed,#0062d9);box-shadow:inset 0 1px 2px #267fd6;transition:width .25s ease}
.safhat-original-upload .actions{position:absolute;left:3.76%;top:80.75%;width:92.48%;height:11.5%;display:flex;gap:1.5cqw}
.safhat-original-upload .actions button{flex:1;border-radius:7cqw;font-size:3.55cqw;letter-spacing:-.09cqw;font-weight:500}
.safhat-original-upload .cancel{border:2px solid #d1d1d0;background:#f0f0ef;box-shadow:inset 0 1px 3px #fff,0 0 1cqw #fff}
.safhat-original-upload .upload{border:2px solid #0574e5;background:radial-gradient(ellipse at 25% 0%,#008bff 0%,#0078ff 55%,#007aff 100%);color:#fff;text-shadow:0 2px 3px #003c805c;box-shadow:inset 0 0 2px #80c0ff,0 0 1cqw #fff}
.safhat-original-upload button:focus-visible,.safhat-original-upload .drop-zone:focus-within{outline:3px solid #005fd1;outline-offset:3px}
.safhat-original-upload .drop-zone{border-color:transparent}
.safhat-original-upload .dashed-outline{position:absolute;inset:-2px;width:calc(100% + 4px);height:calc(100% + 4px);pointer-events:none}
.safhat-original-upload .drop-zone.dragging{background:#e7f3ff;border-color:#0879ed}
@font-face{font-family:"Replica Sans";src:url("./assets/printing-upload/font.ttf") format("truetype");font-style:normal;font-weight:400 500;font-display:swap}
@font-face{font-family:"Replica Sans";src:url("./assets/printing-upload/font-semibold.ttf") format("truetype");font-style:normal;font-weight:600 900;font-display:swap}
.safhat-original-upload .scene{display:flow-root;min-height:100svh;overflow:visible;padding:0 0 min(4vw,36.04px)}
.safhat-original-upload .drop-zone{position:relative;left:auto;top:auto;width:calc(100% - 13.5cqw);height:40.85cqw;margin:7.31cqw 6.75cqw 0;cursor:default}
.safhat-original-upload .glass-orb{padding:0;appearance:none;-webkit-appearance:none;color:inherit}
.safhat-original-upload .glass-orb:hover{filter:brightness(1.025)}
.safhat-original-upload .glass-orb:active{transform:translateX(-50%) scale(.98)}
.safhat-original-upload .glass-reflection,.safhat-original-upload .glass-orb svg{pointer-events:none}
.safhat-original-upload .file-list{display:flex;flex-direction:column;gap:1.5cqw;margin:3cqw 6.75cqw 0}
.safhat-original-upload .file-list:empty{display:none}
.safhat-original-upload .file-card{position:relative;left:auto;top:auto;width:100%;height:20cqw;min-height:20cqw;outline:1px solid rgba(35,55,75,.10);outline-offset:-1px;box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 2px 4px rgba(25,45,65,.045),0 12px 28px rgba(25,45,65,.075);transition:height .35s ease,min-height .35s ease,box-shadow .4s ease,background .4s ease}
.safhat-original-upload .video-tile{top:11%;width:11.8cqw;height:11.8cqw;border-width:.5cqw}
.safhat-original-upload .video-tile svg{width:6.1cqw;height:7.3cqw}
.safhat-original-upload .file-copy{top:16%;gap:.65cqw;left:20.1%;right:14%}
.safhat-original-upload .file-copy strong{line-height:1.25}
.safhat-original-upload .file-copy span{font-size:2.5cqw}
.safhat-original-upload .file-copy .file-status{font-size:2.05cqw;color:#6b91b3;line-height:1.25}
.safhat-original-upload .progress-track{height:.95cqw;bottom:10%;transition:opacity .35s ease}
.safhat-original-upload .progress-track span{width:0%;background:linear-gradient(#0879ed,#0062d9)}
.safhat-original-upload .remove{top:17%}
.safhat-original-upload .remove:disabled{opacity:.4}
.safhat-original-upload .complete{animation:safhatReplicaCongratulate 1.4s ease both}
.safhat-original-upload .complete .progress-track span{background:linear-gradient(#43c58b,#20aa68);box-shadow:none}
.safhat-original-upload .complete .file-status{color:#249b62}
.safhat-original-upload .settled .progress-track{opacity:0;visibility:hidden;transition:opacity .35s ease,visibility 0s .35s}
.safhat-original-upload .settled{height:17cqw;min-height:17cqw}
.safhat-original-upload .success-spark{position:absolute;right:16%;top:18%;color:#36b67c;font-size:4cqw;opacity:0;pointer-events:none}
.safhat-original-upload .complete .success-spark{animation:safhatReplicaSpark 1.4s ease both}
.safhat-original-upload .failed .file-status{color:#c45149}
.safhat-original-upload .failed .progress-track span{background:#d66a60}
.safhat-original-upload .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}
@keyframes safhatReplicaCongratulate{0%,100%{box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 2px 4px rgba(25,45,65,.045),0 12px 28px rgba(25,45,65,.075)}35%{box-shadow:inset 0 0 1.4cqw #b6edd0,0 0 2.5cqw #5bcc9930,0 12px 28px rgba(25,45,65,.075);background-color:#eaf9f0;transform:scale(1.008)}70%{transform:scale(1)}}
@keyframes safhatReplicaSpark{0%{opacity:0;transform:scale(.4) rotate(-25deg)}30%{opacity:1;transform:scale(1.15) rotate(15deg)}100%{opacity:0;transform:translateY(-1.2cqw) scale(.7) rotate(30deg)}}
@media(prefers-reduced-motion:reduce){.safhat-original-upload *,.safhat-original-upload *:before,.safhat-original-upload *:after{animation:none!important;transition:none!important}
}
.safhat-original-upload .filter-definitions{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.safhat-original-upload .liquid-surface{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;pointer-events:none;opacity:.58}
.safhat-original-upload .glass-orb:before,.safhat-original-upload .glass-orb:after,.safhat-original-upload .glass-reflection,.safhat-original-upload .upload-symbol{z-index:1}
.safhat-original-upload .glass-reflection{translate:var(--reflection-x,0px) var(--reflection-y,0px);transition:translate .18s ease-out}
.safhat-original-upload .glass-orb.live-refraction{backdrop-filter:url(#liquid-refraction) saturate(1.35);-webkit-backdrop-filter:url(#liquid-refraction) saturate(1.35)}
.safhat-original-upload .live-refraction .liquid-surface{display:none}
.safhat-original-upload .edit-file{position:absolute;right:14%;top:24%;border:1px solid rgba(70,105,145,.16);border-radius:2cqw;padding:.9cqw 1.7cqw;color:#2476bf;background:rgba(255,255,255,.6);text-decoration:none;font-size:2cqw;font-weight:600;box-shadow:0 2px 5px #24496a08}
.safhat-original-upload .edit-file:hover{background:#fff;border-color:#93b9db}
.safhat-original-upload .edit-file:focus-visible{outline:3px solid #005fd1;outline-offset:3px}
.safhat-original-upload .edit-file[hidden]{display:none}
.safhat-original-upload .file-copy{right:27%}
.safhat-original-upload .success-spark{right:25%}


/* Only layout adapter rules; reference material, SVGs and keyframes above are original. */
.safhat-original-upload{position:relative;container-type:inline-size;max-inline-size:901px;width:100%;margin-inline:auto;font-family:"Replica Sans",Arial,sans-serif;-webkit-font-smoothing:antialiased;color:#101210}
.safhat-original-upload .scene{min-height:0;padding:0;margin:0;container-type:inline-size;display:flow-root}
.safhat-original-upload .drop-zone{margin:0 0 0;width:100%;height:44cqw;min-height:0;max-height:none}
.safhat-original-upload .heading{font-size:max(12px,3.06cqw)}
.safhat-original-upload .guidance{font-size:max(11px,2.94cqw);padding-inline:8px;line-height:1.25}
.safhat-original-upload .glass-orb.printing-upload-button{position:absolute;min-height:0;max-width:none;width:18.65cqw;height:18.65cqw;border-radius:50%;color:inherit!important;background:radial-gradient(ellipse at 26% 17%,rgba(255,255,255,.52),transparent 39%),radial-gradient(ellipse at 77% 83%,rgba(115,178,247,.17),transparent 48%),linear-gradient(145deg,rgba(217,237,252,.15),rgba(248,253,255,.025) 45%,rgba(175,218,255,.14));box-shadow:inset 1px 1px 2px rgba(255,255,255,.92),inset -1px -1px 2px rgba(255,255,255,.60),inset .38cqw .3cqw .75cqw rgba(118,164,200,.17),inset -.3cqw -.25cqw .55cqw rgba(103,162,214,.12),0 1px 2px rgba(82,131,174,.13),0 .55cqw 1.1cqw rgba(75,132,181,.07)}
.safhat-original-upload .glass-orb:disabled{opacity:.6;cursor:default}
.safhat-original-upload .file-list{margin:3cqw 0 0;gap:1.5cqw}
.safhat-original-upload .file-card.printing-file-row{display:block;padding:0;border:0;max-width:none;width:100%;height:max(85px,20cqw);min-height:max(85px,20cqw)}
.safhat-original-upload .file-card.settled{height:max(68px,17cqw);min-height:max(68px,17cqw);animation:none}
.safhat-original-upload .file-copy{left:20.1%;right:15%;top:15%;gap:.65cqw}
.safhat-original-upload .file-copy strong{font-size:max(11px,2.72cqw)}
.safhat-original-upload .file-copy span{font-size:max(10px,2.5cqw)}
.safhat-original-upload .file-copy .file-status{font-size:max(10px,2.05cqw);white-space:normal;overflow-wrap:anywhere}
.safhat-original-upload .remove.printing-file-remove{position:absolute;top:17%;right:4.6%;width:max(30px,8cqw);height:max(30px,8cqw);min-width:0;padding:0;border:0;border-radius:50%;background:linear-gradient(150deg,#ffffff19,#ffffffc4);color:#60645f;box-shadow:.7cqw 1.6cqw 2.6cqw #00000004;display:grid;place-items:center}
.safhat-original-upload .remove svg{width:max(12px,3.2cqw);height:max(12px,3.2cqw)}
.safhat-original-upload .progress-track{height:max(3px,.95cqw)}
.safhat-original-upload .success-spark{right:16%}
.safhat-original-upload .file-card.failed{height:max(104px,25cqw)}
[dir=rtl] .safhat-original-upload .file-copy{left:15%;right:20.1%;text-align:right}
[dir=rtl] .safhat-original-upload .video-tile{left:auto;right:3%}
[dir=rtl] .safhat-original-upload .remove.printing-file-remove{right:auto;left:4.6%}
[dir=rtl] .safhat-original-upload .success-spark{right:auto;left:16%}
.storefront-pd-region[hidden]{display:none!important}
.printing-success-page{min-height:65svh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:32px 20px;gap:12px;color:#173554}
.printing-success-icon{width:92px;height:92px;border-radius:50%;background:#eaf9f0;color:#249b62;display:grid;place-items:center;box-shadow:0 10px 30px #36b67c25}
.printing-success-icon svg{width:48px;height:48px}
.printing-success-page h1{font-size:clamp(20px,5.5vw,28px);line-height:1.2;margin:10px 0 0}
.printing-success-page p{margin:0;color:#687d94;font-size:14px}
.printing-success-actions{width:min(100%,340px);display:grid;gap:10px;margin-top:18px}
.printing-success-actions button{min-height:48px;border-radius:14px;font-weight:650;font-size:15px}
.printing-success-primary{background:#0a66ff;border:1px solid #0a66ff;color:white}
.printing-success-secondary{background:#fff;border:1px solid #d5e3f5;color:#173554}

.printing-success-icon svg,.printing-success-icon svg path{fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
