:root{color-scheme:light;--ink:#262021;--muted:#665c63;--purple:#632faa;--line:#ded5df;--paper:#f7f2e9;--lav:#f2eaf8;--white:#fffdf9;font-family:"IBM Plex Sans Thai",Tahoma,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}img{display:block;width:100%;height:100%;object-fit:cover}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}:focus-visible{outline:3px solid var(--purple);outline-offset:4px}h1,h2,h3,p,dl,dd{margin:0}h2{font-weight:600;font-size:clamp(1.75rem,4vw,2.6rem);line-height:1.2;letter-spacing:-.025em}h3{font-size:1.25rem;line-height:1.3}[hidden]{display:none!important}section[id],#types{scroll-margin-top:85px}
.wrap{width:min(1180px,calc(100% - 80px));margin-inline:auto}.site-header{background:var(--white);border-bottom:1px solid var(--line)}.header-inner,.footer-inner{height:79px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{font:600 2rem/0.9 "Cormorant Garamond",Georgia,serif;letter-spacing:.05em;display:inline-flex;flex-direction:column;align-items:center;white-space:nowrap}.brand span{font:600 .5rem/1.3 "IBM Plex Sans Thai",sans-serif;letter-spacing:.22em;margin-top:.4rem}.header-link{font-size:.9rem;font-weight:600}.header-link span{color:var(--purple);margin-left:.5rem}
.hero{display:grid;grid-template-columns:1fr .92fr;min-height:550px;margin-top:30px;background:#eee4f6}.hero-copy{align-self:center;padding:clamp(30px,6vw,82px)}.eyebrow{font-weight:600;letter-spacing:.24em;font-size:.75rem;color:var(--purple);margin-bottom:1.3rem}h1{font-size:clamp(2.45rem,5.3vw,4.65rem);font-weight:600;letter-spacing:-.04em;line-height:1.12}.intro{color:var(--muted);line-height:1.85;margin:1.5rem 0 1.85rem}.hero-media{min-width:0;position:relative;overflow:hidden}.hero-media img{position:absolute;object-position:center 49%}.button{display:inline-flex;align-items:center;justify-content:center;gap:1rem;border:1px solid var(--line);background:var(--white);padding:.78rem 1.2rem;color:var(--ink);font-weight:600;min-height:46px}.button.primary{background:var(--ink);color:white;border-color:var(--ink)}.button.primary:hover:not(:disabled){background:var(--purple);border-color:var(--purple)}.button.small{min-height:38px;padding:.42rem .8rem;font-size:.9rem}
.type-block{padding:64px 0}.heading-row{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:22px}.heading-row p,.checkout section>p,.field-hint{color:var(--muted)}.type-grid,.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.type-card,.collection-card{text-align:left;color:var(--ink);border:1px solid var(--line);background:var(--white);padding:0;min-width:0}.type-card:hover,.collection-card:hover,.type-card[aria-pressed=true],.collection-card[aria-pressed=true]{border-color:var(--purple);box-shadow:inset 0 0 0 1px var(--purple)}.type-card[aria-pressed=true],.collection-card[aria-pressed=true]{background:var(--lav)}.type-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.type-text{min-height:87px}.type-title{align-items:start}.type-text,.collection-text{display:block;padding:16px 18px}.type-text strong,.collection-text strong{display:block;font-size:1.13rem}.type-text small,.collection-text small{display:block;color:var(--muted);font-size:.85rem}.type-title{display:flex;justify-content:space-between;gap:10px}.type-title span{color:var(--purple)}
.progress-nav{position:sticky;z-index:2;top:0;background:var(--white);border-block:1px solid var(--line)}.progress-nav ol{padding:0;list-style:none;display:grid;grid-template-columns:repeat(5,1fr);text-align:center}.progress-nav a{display:block;padding:15px 5px;color:var(--muted);font-weight:500;border-bottom:3px solid transparent}.progress-nav a[aria-current]{color:var(--purple);border-color:var(--purple);background:var(--lav)}
.checkout{max-width:1010px}.checkout section{border-bottom:1px solid var(--line);padding:55px 0}.checkout section>p{margin:8px 0 22px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.swatch{display:block;height:76px;background-color:var(--swatch);border-bottom:1px solid var(--line)}.collection-meta{display:block;margin-top:.5rem;color:var(--purple);font-weight:600}.split{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;margin-top:18px;align-items:start}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 16px}.fields .wide{grid-column:1/-1}fieldset{border:0;min-width:0;margin:0;padding:0}fieldset:disabled .fields{opacity:.52}.field-hint{margin-bottom:12px}label{display:block;font-weight:500}input:not([type=file]),textarea{margin-top:5px;display:block;width:100%;padding:.65rem .75rem;border:1px solid var(--line);background:var(--white);border-radius:0;color:var(--ink);min-height:45px}textarea{resize:vertical}form .button{margin-top:16px}.summary,.quote{background:var(--lav);padding:20px}.summary dl{margin-top:10px}.summary dl div{display:flex;justify-content:space-between;gap:12px;padding:.55rem 0;border-bottom:1px solid var(--line)}.summary dd{text-align:end;font-weight:600;overflow-wrap:anywhere}.bank p,.status{color:var(--muted);margin-top:.5rem;font-size:.9rem}.bank .button{margin-top:.8rem}.quote{margin-bottom:16px}.quote p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.upload{border:1px dashed #947eb0;padding:17px;display:flex;gap:12px;align-items:center;margin-top:7px;background:var(--white);cursor:pointer}.upload>span:first-child{color:var(--purple);font-size:1.35rem}.upload small{display:block;color:var(--muted);font-weight:400}.file-input{position:absolute;width:1px;height:1px;padding:0;border:0;clip-path:inset(50%);overflow:hidden}form:has(.file-input:focus-visible) .upload{outline:3px solid var(--purple);outline-offset:4px}footer{margin-top:30px;background:var(--ink);color:var(--white)}.footer-inner>span{font-size:.85rem}
@media(max-width:800px){.wrap{width:calc(100% - 36px)}.hero{min-height:420px}.hero-copy{padding:30px}.desktop{display:none}.type-block{padding:42px 0}.type-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:594px){.wrap{width:calc(100% - 28px)}.header-inner,.footer-inner{height:65px}.brand{font-size:1.62rem}.header-link{font-size:.81rem}.hero{grid-template-columns:1fr;margin-top:14px}.hero-copy{padding:32px 22px}.hero-media{height:310px}.hero-media img{object-position:center 47%}.heading-row{align-items:start;flex-direction:column;gap:5px}.type-text{min-height:72px}.type-text,.collection-text{padding:11px 12px}.type-text strong{font-size:1rem}.progress-nav a{font-size:.75rem;padding:12px 1px}.checkout section{padding:36px 0}.split{grid-template-columns:1fr}.swatch{height:53px}.collection-grid{gap:9px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{body{background:#fff}.site-header,#choose,.progress-nav,#catalog,#measure,#details,footer,#bank-status,.bank,#payment-form,#print-quote,#payment-title{display:none!important}#payment,.quote{padding:0;background:#fff;border:0}.split{display:block}}

.hero-preview {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  background: radial-gradient(ellipse at 50% 38%, #fffdfb 10%, #eee4f6 100%);
}
.mockup-stage {
  position: relative;
  min-height: 0;
}
.mockup-stage .hero-mockup {
  inset: 7% 0 auto;
  height: 86%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 12px #35243d26);
}
.mockup-stage .hero-mockup.arrived {
  animation: mockup-arrive 650ms ease-out both;
}
.mockup-caption {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0 12px 16px;
  text-align: center;
  color: var(--purple);
  font-weight: 600;
}
@keyframes mockup-arrive {
  0% { transform: translateY(12px) scale(.96); opacity: .35; }
  57% { transform: translateY(-8px) scale(1.01); opacity: 1; }
  81% { transform: translateY(2px); }
  100% { transform: translateY(0); }
}
.collection-card {
  display: flex;
  flex-direction: column;
}
.catalog-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: #eee9e2;
}
.catalog-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .55rem;
  background: color-mix(in srgb, var(--swatch) 38%, #fffdf9);
  text-align: center;
  font: 600 clamp(1.25rem, 3vw, 2.5rem)/1.05 "Cormorant Garamond", Georgia, serif;
}
.catalog-placeholder small { font-size: .45em; letter-spacing: .14em; }
.collection-description { display: block; margin: .4rem 0; line-height: 1.35; }
@media (prefers-reduced-motion: reduce) {
  .mockup-stage .hero-mockup.arrived { animation: none; }
}

.collection-entry { min-width: 0; }
.collection-entry .collection-card { width: 100%; }
.catalog-cover { max-height: 245px; }
.fabric-picker { padding: 12px; background: var(--white); border: 1px solid var(--line); }
.fabric-picker select {
  width: 100%;
  margin-block: 6px 10px;
  padding: 8px 4px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  font: inherit;
}
.fabric-preview { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.fabric-image-button {
  padding: 0;
  width: 76px;
  height: 76px;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.fabric-price { font-size: .88rem; color: var(--purple); }
.fabric-continue { margin-top: 10px; }
.fabric-zoom {
  width: min(720px, calc(100% - 24px));
  max-height: 90dvh;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.fabric-zoom::backdrop { background: #262021a8; }
.fabric-zoom-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; }
.fabric-zoom-bar h3 { margin-right: auto; }
.fabric-zoom-bar form .button { margin: 0; }
.fabric-zoom-viewport { overflow: auto; max-height: 72dvh; background: var(--paper); }
.fabric-zoom-viewport img { width: auto; height: auto; max-width: 100%; margin: 0 auto; }
.fabric-zoom-viewport.zoomed img { width: 200%; max-width: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 80px;
  background: transparent;
  border: 0;
  pointer-events: none;
}
.site-header .header-inner {
  width: 100%;
  padding-inline: clamp(14px, 5vw, 60px);
  background: var(--white);
  border-bottom: 1px solid var(--line);
  pointer-events: auto;
}
.header-nav { display: flex; gap: clamp(8px, 3vw, 28px); font-size: .88rem; font-weight: 600; }
.floating-menu { display: none; }
.site-header.compact .header-inner {
  position: relative;
  justify-content: center;
  width: min(258px, calc(100% - 28px));
  height: 54px;
  margin-top: 8px;
  padding-inline: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf9f5;
  box-shadow: 0 6px 20px #2620211a;
}
.site-header.compact .brand { font-size: 1.58rem; }
.site-header.compact .brand span, .site-header.compact .header-nav { display: none; }
.site-header.compact .floating-menu { display: block; position: absolute; right: 8px; }
.floating-menu summary {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  list-style: none;
  border-radius: 50%;
  cursor: pointer;
}
.floating-menu summary::-webkit-details-marker { display: none; }
.floating-menu nav {
  position: absolute;
  top: 48px;
  right: 0;
  display: grid;
  min-width: 180px;
  padding: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 20px #2620211a;
}
.floating-menu nav a { padding: 9px 12px; }
.floating-menu nav a:hover { background: var(--lav); }
#choose { scroll-margin-top: 80px; }
.progress-nav { position: static; }
#choose .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(170px, 1fr) auto auto;
  isolation: isolate;
  width: 100%;
  min-height: calc(100svh - 80px);
  margin: 0;
  padding: 0 clamp(12px, 4vw, 64px) max(12px, env(safe-area-inset-bottom));
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 41%, #533a60, #211923 74%);
}
#choose .hero h1 {
  position: absolute;
  inset: clamp(18px, 4vh, 48px) 4% auto;
  z-index: -1;
  color: #d6aeea;
  font-size: clamp(2.2rem, min(8.6vw, 13vh), 8.75rem);
  line-height: 1.03;
  text-align: center;
  font-weight: 700;
}
.hero .mockup-stage {
  position: relative;
  grid-row: 1;
  min-height: 0;
}
.hero .mockup-stage .hero-mockup {
  position: absolute;
  inset: clamp(46px, 11vh, 108px) 0 0;
  width: 100%;
  height: calc(100% - clamp(46px, 11vh, 108px));
  object-fit: contain;
  filter: drop-shadow(0 16px 20px #140d19a0);
}
.hero-actions { padding: 2px 0 8px; text-align: center; color: #fff8ff; }
.hero-actions p { font-size: .9rem; font-weight: 600; }
.hero-actions .mockup-caption { padding: 0; }
.hero-actions a { padding: 6px 10px; color: #f2d5ff; font-size: .9rem; }
.hero-actions a:hover { text-decoration: underline; }
.hero .type-block { width: min(1120px, 100%); margin-inline: auto; padding: 0; }
.hero .type-block h2 { margin-bottom: 8px; color: #e8d9ed; font-size: .88rem; text-align: center; }
.hero .type-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; }
.hero .type-card {
  display: grid;
  grid-template-rows: auto 1fr;
  justify-items: center;
  align-items: center;
  gap: 4px;
  min-height: 46px;
  padding: 3px 2px;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #e8d9ed;
  text-align: center;
}
.hero .type-mockup {
  width: 100%;
  height: clamp(34px, 11vh, 96px);
  object-fit: contain;
  opacity: .68;
  transform: scale(.78);
  transition: opacity 180ms ease, transform 180ms ease;
}
.hero .type-title { display: block; font-size: clamp(.69rem, 1.27vw, .96rem); line-height: 1.2; }
.hero .type-card:hover, .hero .type-card[aria-pressed="true"] { color: #fff1ff; }
.hero .type-card:hover .type-mockup { opacity: .92; transform: scale(.91); }
.hero .type-card[aria-pressed="true"] .type-mockup { opacity: 1; transform: scale(1.06); }
.hero .type-card[aria-pressed="true"] .type-title { color: #efc7ff; font-weight: 700; }
.hero :focus-visible { outline-color: #efc7ff; }
.collection-grid { align-items: start; margin-top: 18px; }
.collection-grid .catalog-cover {
  aspect-ratio: 7 / 10;
  max-height: 440px;
  object-fit: contain;
}
.collection-text strong { font-size: 1rem; }
.collection-description { font-size: .85rem; color: var(--muted); }
@media (max-width: 594px) {
  .site-header { height: 65px; }
  .site-header .header-inner { gap: 8px; }
  .header-nav { font-size: .76rem; }
  #choose .hero { min-height: calc(100svh - 65px); }
  #choose .hero h1 { inset: 7% 3% auto; font-size: clamp(2.15rem, 10.3vw, 3.6rem); }
  .hero .type-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 6px; }
  .hero .type-mockup { height: clamp(27px, 6.5vh, 52px); }
  .hero .type-title { font-size: clamp(.67rem, 2.85vw, .83rem); }
  .collection-grid .catalog-cover { max-height: 340px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .type-mockup { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-mockup[fetchpriority="high"] { animation: hero-hover 4s ease-in-out 1; }
}
@keyframes hero-hover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.site-header .brand img {
  width: 96px;
  height: 59px;
  object-fit: contain;
}
.site-header.compact .brand img { width: 77px; height: 48px; }
.hero .hero-brand {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(72%, 570px);
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 0 22px #c58bff) drop-shadow(0 17px 12px #170d20);
  transition: filter 420ms ease, opacity 420ms ease;
}
.hero .mockup-stage::before {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(118deg, transparent 0 30px, #e4c6fa13 30px 31px);
  mask-image: radial-gradient(ellipse, #000, transparent 72%);
  opacity: 0;
  transition: opacity 420ms ease;
  pointer-events: none;
}
.hero.product-selected .hero-brand { opacity: .12; filter: grayscale(1); }
.hero.product-selected .mockup-stage::before { opacity: 1; }
.hero .mockup-stage .hero-mockup { inset: 6% 0 0; height: 94%; }
.hero .mockup-stage .hero-mockup.arrived { animation-delay: 300ms; }
.hero .hero-mockup:not(.arrived) { opacity: 0; }
.hero-actions[hidden] { display: block !important; visibility: hidden; height: 56px; }
.hero .type-mockup { transition: opacity 400ms ease, transform 480ms cubic-bezier(.22,1,.36,1); }
@media (hover: hover) and (pointer: fine) {
  .hero .type-card:hover .type-mockup { opacity: 1; transform: translateY(-7px) scale(.936); }
  .hero .type-card[aria-pressed="true"]:hover .type-mockup { transform: translateY(-7px) scale(1.272); }
}
@media (min-width: 801px) {
  .hero .type-title { font-size: clamp(.95rem, 1.15vw, 1.16rem); }
  .hero .type-block h2, .hero-actions a, .hero-actions p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-brand, .hero .mockup-stage::before, .hero .type-mockup { transition: none; }
}
.size-row {
  margin: 0 0 12px;
  padding: 10px 12px 14px;
  border: 1px solid var(--line);
}
.size-row legend { padding-inline: 5px; font-weight: 600; }
.size-row .remove-size { justify-self: start; align-self: end; margin: 0; }
#saved-products > div { margin-top: 12px; border: 1px solid var(--line); padding: 12px; }
#saved-products p { margin-block: 5px; font-size: .9rem; }
#saved-products button { margin-top: 4px; }
.fabric-catalog {
  width: min(920px, calc(100% - 24px));
  max-height: 90dvh;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
}
.fabric-catalog::backdrop { background: #262021a8; }
.fabric-catalog .field-hint { padding-inline: 14px; font-size: .9rem; }
.fabric-options {
  max-height: 61dvh;
  overflow: auto;
  padding: 8px 12px 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
}
.fabric-option { border: 1px solid var(--line); background: var(--white); }
.fabric-option:has(:checked) { border-color: var(--purple); background: var(--lav); }
.fabric-option label, .fabric-option-zoom { cursor: pointer; }
.fabric-option img, .fabric-sample { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background-color: var(--paper); }
.fabric-option-label { display: flex; align-items: center; gap: 7px; padding: 7px; }
.fabric-option-label input { width: 19px; height: 19px; accent-color: var(--purple); }
.fabric-option-label small { display: block; font-size: .78rem; }
.fabric-option-zoom { display: block; width: 100%; min-height: 36px; padding: 4px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--purple); font-size: .83rem; }
.fabric-confirm { padding: 0 12px 12px; }
.fabric-confirm .button { margin: 0; }
@media (max-width: 594px) {
  .fabric-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.site-header.compact .header-inner {
  width: 100%;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
}
.site-header.compact .brand { display: none; }
.site-header.compact .floating-menu {
  position: absolute;
  inset: clamp(14px, 2.5vh, 26px) auto auto 50%;
  transform: translateX(-50%);
  width: max-content;
  pointer-events: auto;
}
.floating-menu summary {
  width: 61px;
  height: 61px;
  margin-inline: auto;
  background: transparent;
}
.floating-menu summary img {
  width: 49px;
  height: 49px;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px #f8e9ff) drop-shadow(0 0 12px #c68bff);
}
.floating-menu nav {
  position: static;
  display: flex;
  justify-content: center;
  min-width: 0;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: #fffdf9f7;
  animation: nav-capsule-in 280ms ease-out both;
}
.floating-menu nav a { padding: 7px 10px; border-radius: 999px; white-space: nowrap; font-size: .82rem; }
@keyframes nav-capsule-in {
  from { opacity: 0; transform: translateY(-6px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
#choose .hero .mockup-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding-top: clamp(9px, 2vh, 24px);
}
#choose .hero h1 {
  position: relative;
  inset: auto;
  z-index: 1;
  font-size: clamp(2rem, min(8vw, 10.8svh), 8rem);
  line-height: 1.06;
  text-shadow: 0 4px 24px #190c2373;
}
.hero-visual { position: relative; min-height: 0; }
.hero-gallery { position: absolute; inset: 0; }
.hero-gallery .intro-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 13px 25px #120a18aa);
  opacity: 0;
  transition: opacity 1.15s ease-in-out;
}
.hero-gallery .intro-slide.is-current { opacity: 1; }
.site-header:not(.compact) .header-inner {
  background: linear-gradient(105deg, #fdf9ff, #e9d9f7);
}
.header-nav a {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding-inline: clamp(7px, 1.55vw, 20px);
  border-radius: 999px;
  background: #fcf8ff8c;
  color: #55277a;
  text-shadow: 0 0 12px #bc86f6a8;
  box-shadow: inset 0 0 0 1px #fff9, 0 3px 13px #8042a51a;
  transition: background 220ms ease, box-shadow 220ms ease;
}
.header-nav a:hover, .header-nav a:focus-visible {
  background: #fff;
  box-shadow: 0 0 17px #b474f89c;
}
@media (max-width: 594px) {
  #choose .hero h1 { font-size: clamp(1.9rem, min(9vw, 7.7svh), 3.4rem); }
  .header-nav { gap: 4px; }
  .header-nav a { font-size: .71rem; }
  .site-header .brand img { width: 76px; }
}
.hero-actions[hidden] { display: none !important; }
.hero-actions .mockup-caption a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 39px;
  margin: 4px 0;
  padding: 6px 16px;
  border-radius: 999px;
  color: #211923;
  background: #edc9ff;
  box-shadow: 0 0 18px #dc9dff8c;
  font-weight: 700;
}
.hero-actions .mockup-caption a:hover { background: #faeaff; text-decoration: none; }
.catalog-screen {
  min-height: 100svh;
  padding-block: 55px;
  border-bottom: 1px solid var(--line);
}
.catalog-screen > .wrap { width: min(1450px, calc(100% - 48px)); }
@media (min-width: 801px) {
  .catalog-screen .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (hover: hover) and (pointer: fine) {
  .hero .type-card:hover .type-mockup { transform: translateY(-10px) scale(1.1232); }
  .hero .type-card[aria-pressed="true"]:hover .type-mockup { transform: translateY(-10px) scale(1.5264); }
}
@media (max-width: 594px) {
  .floating-menu nav { max-width: calc(100vw - 16px); }
  .floating-menu nav a { padding: 8px 6px; font-size: .72rem; }
  .catalog-screen { padding-block: 36px; }
  .catalog-screen > .wrap { width: calc(100% - 28px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-gallery .intro-slide, .header-nav a { transition: none; }
  .floating-menu nav { animation: none; }
}

.language-switch {
  min-width: 36px;
  padding: 5px 8px;
  border: 1px solid #bd9bd055;
  border-radius: 999px;
  background: #fcf7ffcc;
  color: #602989;
  font-size: .75rem;
  font-weight: 700;
}
.header-nav { align-items: center; }
.floating-menu nav .language-switch { align-self: center; margin-right: 4px; }
html[lang="en"] #choose .hero h1 {
  font-size: clamp(1.7rem, min(6.8vw, 10svh), 7rem);
  line-height: .99;
}
html[lang="en"] .hero .type-title { font-size: clamp(.65rem, 1.12vw, .98rem); }
.catalog-screen {
  color: #f9effb;
  background: radial-gradient(ellipse at 48% 0, #51375d, #271e2e 62%);
  padding-block: clamp(40px, 7vw, 92px);
}
.catalog-screen #catalog-title { color: #f2dafa; }
.catalog-screen #catalog-note { margin-top: 10px; color: #dccbe3; }
.catalog-screen .collection-grid { gap: clamp(10px, 2vw, 24px); margin-top: 25px; }
.catalog-screen .collection-card {
  overflow: hidden;
  border: 1px solid #e4bafb32;
  border-radius: 20px;
  background: #fff8ff0d;
  color: #fcf2ff;
  transition: transform 240ms ease, box-shadow 240ms ease, background 240ms ease;
}
.catalog-screen .collection-card:hover, .catalog-screen .collection-card[aria-pressed="true"] {
  background: #ecd4ff21;
  box-shadow: 0 6px 34px #bf7bf245;
  transform: translateY(-3px);
}
.catalog-screen .catalog-cover { background: #21192359; }
.catalog-screen .catalog-placeholder { color: #211923; background: color-mix(in srgb, var(--swatch) 70%, #eee1f3); }
.catalog-screen .collection-description { color: #e2d3e7; }
.catalog-screen .collection-text { padding: clamp(10px, 2vw, 20px); }
.catalog-screen .collection-text strong { font-size: 1.14rem; }
.button, .checkout input:not([type=file]), .checkout textarea, .size-row, .summary, .quote { border-radius: 14px; }
.checkout .button.primary, .fabric-confirm .button.primary { background: #572b75; border-color: #572b75; }
.checkout .button.primary:hover:not(:disabled), .fabric-confirm .button.primary:hover:not(:disabled) { box-shadow: 0 2px 18px #a467d66b; }
.summary, .quote { background: #f3eaf8; border: 1px solid #e4d2ea; }
.summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.summary dl div { align-items: center; }
.summary dl div dd { margin-left: auto; }
.edit-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px solid #dec9ea;
  border-radius: 999px;
  color: #602989;
  background: #fff9ff;
  font-size: 1.15rem;
}
.edit-icon:hover { box-shadow: 0 0 11px #a467d66b; }
#saved-products > div { position: relative; border-radius: 12px; background: #fffbffb3; }
#saved-products strong { display: block; padding-right: 38px; }
#saved-products .edit-icon { position: absolute; inset: 7px 8px auto auto; }
.fabric-catalog, .fabric-zoom {
  border-radius: 22px;
  border-color: #dac4e8;
  background: #fcf7ff;
  box-shadow: 0 16px 62px #21132965;
}
.fabric-zoom-bar { background: #f4e9fa; padding: 12px; }
.fabric-thumbnail { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.fabric-option { overflow: hidden; border-radius: 13px; }
.fabric-option:has(:checked) { box-shadow: inset 0 0 0 1px var(--purple); }
.editor-body { display: grid; gap: 12px; max-height: 62dvh; overflow: auto; padding: 12px; }
.editor-body select { width: 100%; margin-top: 5px; padding: 9px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); font: inherit; }
#edit-add-size { justify-self: start; margin: 0; }
#edit-product { width: min(640px, calc(100% - 24px)); }
@media (max-width: 594px) {
  .header-nav a { padding-inline: 5px; font-size: .67rem; }
  .floating-menu nav a { padding-inline: 4px; }
  html[lang="en"] .site-header .brand img { width: 60px; }
  html[lang="en"] .floating-menu nav a { white-space: normal; text-align: center; }
  .catalog-screen .collection-card { border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .catalog-screen .collection-card { transition: none; }
}

.wrap.checkout { width: 100%; max-width: none; }
.checkout section {
  padding: clamp(42px, 7vw, 96px) max(18px, calc((100% - 1040px) / 2));
  border-bottom: 1px solid #d9c7e3;
}
#measure { background: #f7effa; }
#details { background: #fbf3e8; }
#payment { background: linear-gradient(145deg, #eee3f7, #e0cbea); }
.checkout section > h2 {
  margin-bottom: 16px;
  color: #422650;
}
.checkout input:not([type=file]), .checkout select,
.product-editor input:not([type=file]), .product-editor select {
  width: 100%;
  min-height: 47px;
  margin-top: 5px;
  padding: .65rem .9rem;
  border: 1px solid #d9c7e3;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.checkout select:disabled { opacity: .55; }
.checkout textarea { border-radius: 24px; background: var(--white); }
.checkout .button, dialog .button, .upload { border-radius: 999px; }
.size-row, .bank, .quote { background: #ffffffab; border-radius: 26px; }
#customer-form .fields { gap: 14px 18px; }
.payment-end { padding: 14px max(14px, 4vw) 22px; background: #e0cbea; }
.payment-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  padding: 12px 22px;
  border: 1px solid #8e51a8;
  border-radius: 999px;
  color: #fff0d6;
  background: linear-gradient(108deg, #351648, #57256d, #351648);
  text-shadow: 0 0 12px #f5bbffb8;
  box-shadow: 0 0 22px #8c4bab55;
  font-size: clamp(1rem, 2.4vw, 1.42rem);
  font-weight: 700;
}
.payment-cta:hover { box-shadow: 0 0 32px #8c4bab9e; }
.payment-dialog { width: min(580px, calc(100% - 24px)); }
.payment-dialog form#payment-form { padding: 14px; }
.payment-line-note { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.upload { justify-content: center; padding: 16px; }
@media print { .payment-end { display: none; } }

.progress-track {
  max-width: 1180px;
  margin-inline: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.progress-track::-webkit-scrollbar { display: none; }
.progress-track > ol.wrap {
  display: flex;
  width: max(calc(100% + 30px), 550px);
  margin: 0;
  padding-inline: 10px;
}
.progress-track li { flex: 1 0 100px; }
.progress-track a { white-space: nowrap; min-height: 48px; }
.progress-track a:focus-visible { outline-offset: -4px; }
.set-sides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}
.set-sides:not(:empty) { margin-top: 14px; }
.amount-due {
  margin-block: 14px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid #d4b8df;
  border-radius: 21px;
  background: #f2e4f8;
}
.amount-due strong {
  display: block;
  font-size: clamp(2.15rem, 5vw, 3.6rem);
  color: #4e2464;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
#amount-breakdown { margin-top: 8px; }
#amount-breakdown > div { display: flex; justify-content: space-between; gap: 10px; }
.catalog-screen .catalog-cover { aspect-ratio: 4 / 5; object-fit: contain; }
#fabric-catalog[open] {
  width: min(1110px, calc(100% - 20px));
  max-height: min(92dvh, 1100px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#fabric-catalog-help { margin: 9px 14px 3px; color: var(--muted); font-size: .875rem; }
#fabric-choice { display: flex; flex-direction: column; min-height: 0; }
#fabric-options { min-height: 0; max-height: none; padding: 10px 14px 14px; grid-auto-rows: max-content; align-content: start; }
.fabric-option:has(:checked) { outline: 2px solid var(--purple); outline-offset: -2px; }
.fabric-thumbnail:focus-visible { outline-offset: -3px; }
.fabric-option-label { min-height: 49px; }
.fabric-catalog-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px 14px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: #fcf7ff;
}
#fabric-current-selection { color: #572b75; font-size: .88rem; font-weight: 600; }
@media (max-width: 594px) {
  .fabric-catalog-footer .button { width: 100%; }
}
.rail-choice { display: block; width: min(100%, 320px); margin-top: 14px; }

/* Floating brand and curtain selector */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: 0;
}
.site-header:not(.compact) .header-inner {
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}
.site-header .floating-menu {
  display: block;
  position: absolute;
  inset: max(10px, env(safe-area-inset-top)) auto auto 50%;
  width: max-content;
  transform: translateX(-50%);
  pointer-events: auto;
}
.floating-menu summary {
  display: grid;
  place-items: center;
  filter: drop-shadow(0 2px 4px #23152d) drop-shadow(0 0 9px #fae1b780);
}
.floating-mark {
  width: 48px;
  height: 48px;
  background: #fff0d6;
  mask: url("images/proface-pf.png") center / contain no-repeat;
}
.floating-menu:not([open]) nav { display: none; }
.floating-menu nav { flex-wrap: wrap; }
#choose .hero {
  min-height: 100svh;
  padding-top: 76px;
}
#choose .hero h1, html[lang="en"] #choose .hero h1 {
  font-size: clamp(2rem, min(8vw, 10.8svh), 7.5rem);
  line-height: 1.06;
}
#choose .hero h1 span { display: block; }
.hero .mockup-stage .hero-mockup { inset: 0; height: 100%; }
#choose .hero .mockup-stage { grid-template-rows: auto minmax(180px, 1fr); }
@media (max-width: 594px) {
  #choose .hero h1, html[lang="en"] #choose .hero h1 {
    font-size: clamp(1.9rem, min(9.5vw, 8.2svh), 3.5rem);
  }
}
.hero .type-block h2 {
  width: fit-content;
  margin: 0 auto 8px;
  padding: 7px 18px;
  border: 1px solid #efd7fa77;
  border-radius: 999px;
  background: #6c4684;
  color: #fff0d6;
  box-shadow: 0 0 18px #dba5fa60;
}
.type-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(2px, 1.5vw, 18px);
}
.type-shift {
  display: grid;
  place-items: center;
  width: clamp(30px, 6vw, 46px);
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff0d6;
  font-size: 1.65rem;
  line-height: 1;
}
.type-shift:hover { color: #edc9ff; }
.type-window { min-width: 0; overflow: hidden; padding-block: 10px 5px; }
.hero .type-grid { position: relative; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.hero .type-grid .is-entering {
  position: absolute;
  inset: 0 auto 0 calc(100% + 2px);
  width: calc((100% - 8px) / 5);
}
.hero.product-selected #types-title,
.hero.product-selected #mockup-name { display: none; }
.hero.product-selected .hero-mockup { scale: 1.10; }
.hero.product-selected .hero-actions { position: relative; z-index: 1; }
.hero .type-card { min-width: 0; }
.hero .type-title { overflow-wrap: anywhere; font-size: clamp(.62rem, 2.15vw, .96rem); }
.hero .type-card { --type-scale: .84; }
.hero .type-card.is-edge { --type-scale: .70; }
.hero .type-card.is-centered { --type-scale: 1; }
.hero .type-card.is-centered[aria-pressed="true"] { --type-scale: 1.2; }
.hero .type-grid .type-card .type-mockup { transform: scale(var(--type-scale)); }
.hero .type-grid .type-card:hover .type-mockup { opacity: 1; }
#types { scroll-margin-top: 90px; }

.catalog-screen {
  color: #422650;
  background: #fbf3e8;
}
.catalog-screen #catalog-title { color: #422650; }
.catalog-screen #catalog-note, .catalog-screen .collection-description { color: #64526b; }
.catalog-screen .collection-card { border-color: #d9c7e3; color: #422650; background: #fffaf4; }
.catalog-screen .collection-card:hover, .catalog-screen .collection-card[aria-pressed="true"] { background: #f4e9f6; }
.catalog-screen .catalog-cover { background: #eee3ed; }
.catalog-return:not([hidden]) {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding: 7px 15px 7px 8px;
  border-radius: 999px;
  background: #eee1f4;
  color: #422650;
  font-weight: 700;
}
.catalog-return > span:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #57256d;
  color: #fff0d6;
  font-size: 1.25rem;
  animation: catalog-cue 2.8s ease-in-out infinite;
}
@keyframes catalog-cue { 50% { opacity: .5; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) {
  .catalog-return > span:first-child { animation: none; }
}
.summary {
  background: #422650;
  color: #fff0d6;
  border-color: #57256d;
}
.summary dl div { border-color: #f4dff44d; }
.summary dl .summary-total {
  display: grid;
  justify-content: stretch;
  gap: 2px;
}
.summary-total .summary-amount {
  font-size: 3em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.catalog-screen .catalog-cover[src*="/modern-living/"] {
  aspect-ratio: 10 / 9;
  height: auto;
  max-height: none;
  object-fit: cover;
}

/* Visible per-set curtain layout choices. */
.set-side-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.set-side-group > legend { padding: 0; margin-bottom: 8px; font-weight: 600; }
.side-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.side-options .side-choice { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 10px; border: 1px solid #d8c2e4; border-radius: 16px; background: #fffdf9; cursor: pointer; }
.side-options .side-choice input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: #64309a; }
.side-choice:has(input:checked) { border-color: #7135a4; background: #f0e2fb; color: #4a2461; box-shadow: 0 0 0 1px #7135a4; }
.side-choice:has(input:focus-visible) { outline: 3px solid #a774d2; outline-offset: 3px; }

/* Billing identity and mandatory delivery details. */
#customer-form .customer-section { margin: 24px 0; padding: clamp(16px, 3vw, 26px); border: 1px solid #d8c2e4; border-radius: 22px; background: #fffcf8; }
.customer-section > legend { padding: 0 8px; font-size: 1.2rem; font-weight: 700; color: #4a2461; }
.customer-type { margin-bottom: 22px; }
.customer-type > legend { margin-bottom: 8px; font-weight: 600; }
.document-notice { padding: 18px 20px; border-left: 4px solid #754292; border-radius: 12px; background: #efe2f6; color: #49245d; }
.document-notice p { margin: 6px 0 0; }
#customer-form .check-line { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0 22px; }
#customer-form .check-line input { flex: 0 0 20px; width: 20px; height: 20px; min-height: 0; margin: 4px 0 0; padding: 0; accent-color: #64309a; }
#customer-form [hidden] { display: none !important; }
@media (max-width: 600px) { #customer-form .fields { grid-template-columns: minmax(0,1fr); } #details-title { font-size: clamp(1.7rem, 7vw, 2.5rem); } }

.size-row .size-meter-note { color: #bf243d; margin: -3px 0 2px; font-size: 0.95rem; line-height: 1.5; font-weight: 600; }
#customer-form [hidden] { display: none !important; }
.billing-step-summary { margin: 24px 0; padding: 20px; border: 1px solid #d8c2e4; border-radius: 20px; background: #f1e6f8; }
.billing-step-summary h3 { margin: 0 0 10px; color: #4a2461; }
.billing-step-summary p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }

/* Collection size follows its content, with balanced cards for every category. */
#catalog.catalog-screen { min-height: 0; height: auto; padding-block: clamp(28px, 4vw, 54px); }
#catalog .collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); align-items: stretch; margin-inline: auto; }
#catalog .collection-grid[data-count="2"] { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 960px; }
#catalog .collection-grid[data-count="1"] { grid-template-columns: minmax(0,1fr); max-width: 520px; }
#catalog .collection-card { display: flex; flex-direction: column; height: 100%; }
#catalog .collection-art { display: grid; align-items: center; overflow: hidden; aspect-ratio: 3/2; background: #eee3ed; }
#catalog .collection-text { flex: 1; padding: 18px 20px; }
#catalog .collection-description { display: block; margin-top: 8px; line-height: 1.5; }
.side-options { grid-template-columns: repeat(var(--side-columns, 2),minmax(0,1fr)); }
@media(max-width:700px) {
  #catalog .collection-grid, #catalog .collection-grid[data-count="2"], #catalog .collection-grid[data-count="1"] { grid-template-columns: minmax(0,1fr); gap: 14px; max-width: 560px; }
  #catalog .collection-card { flex-direction: row; align-items: stretch; }
  #catalog .collection-art { flex: 0 0 38%; aspect-ratio: auto; min-height: 140px; }
  #catalog .collection-art .collection-cover-window { border-radius: 0; }
  #catalog .collection-text { align-self: center; padding: 16px; min-width: 0; }
  #catalog .collection-text strong { font-size: 1.15rem; }
  #catalog .collection-description { font-size: 0.95rem; }
}

/* Progressive quote review and mobile payment dialog. */
#payment[hidden], #payment-actions[hidden] { display: none !important; }
#payment { padding-top: 28px; }
#payment > .quote { max-width: 850px; margin: 0 auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#payment-actions { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
#payment-dialog { width: min(600px, calc(100% - 24px)); max-height: 92dvh; padding: 0; border-radius: 24px; overscroll-behavior: contain; }
#payment-dialog::backdrop { background: #211329b3; backdrop-filter: blur(4px); }
#payment-dialog > .fabric-zoom-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
#payment-dialog > .fabric-zoom-bar h3 { font-size: 1.2rem; margin: 0; }
#payment-dialog > .fabric-zoom-bar .button { min-height: 44px; margin: 0; }
.payment-modal-body { padding: 18px; }
.popup-total { padding: 20px; border-radius: 18px; margin-bottom: 18px; background: #eddef6; color: #4a2461; text-align: center; }
.popup-total span, .popup-total strong, .popup-total small { display: block; }
.popup-total strong { font-size: clamp(2rem, 8vw, 3rem); margin: 8px 0; overflow-wrap: anywhere; }
.popup-total small { font-size: 0.9rem; }
#payment-dialog .bank { padding: 20px; border-radius: 20px; }
#payment-dialog .bank dl div { display: block; }
#payment-dialog .bank dt { font-size: 0.9rem; opacity: 0.85; margin-bottom: 4px; }
#payment-dialog .bank dd { margin: 0; text-align: left; font-size: 1.05rem; overflow-wrap: anywhere; }
#payment-dialog #copy-account { width: 100%; min-height: 48px; }
#payment-dialog #payment-form { padding: 0; }
#payment-dialog .upload { min-height: 100px; padding: 18px; border-radius: 18px; }
#payment-dialog .payment-line-note, .transfer-instruction { line-height: 1.6; font-size: 0.95rem; margin: 18px 0; }
#payment-dialog #send-order { width: 100%; min-height: 52px; margin-bottom: max(8px, env(safe-area-inset-bottom)); }
@media(max-width:600px) { #payment .quote { padding: 20px; } #payment .amount-due { padding: 16px; } #payment #print-quote { width: 100%; } .payment-modal-body { padding: 14px; } #payment-actions .payment-cta { width: 100%; font-size: 1.05rem; min-height: 56px; } }

#payment-dialog .bank .status { color: #fff0d6; }

/* Structured product, size and customer summaries. */
#quote-text { margin-top: 24px; }
#quote-text h4 { margin: 0 0 14px; font-size: 1.15rem; color: #492759; }
.quote-product-card, .quote-customer-card { padding: 18px; margin: 16px 0; border: 1px solid #dcc7e8; border-radius: 18px; background: #fffdfb; break-inside: avoid; }
#quote-text .quote-fabric-code { margin: -4px 0 18px; color: #694376; font-weight: 600; white-space: normal; }
.size-summary-card { padding: 16px !important; margin: 12px 0; border: 1px solid #dac6e5 !important; border-radius: 14px; background: #f7f0fb; color: #33233e; }
.size-summary-card h5 { margin: 0 0 7px; font-size: 0.95rem; color: #78518b; }
.size-summary-card .size-dimensions { display: block; font-size: 1.22rem; margin-bottom: 12px; color: #472256; }
.size-summary-card dl { margin: 0; }
.size-summary-card dl > div, .quote-customer-card dl > div { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); gap: 10px; border: 0 !important; padding: 5px 0 !important; }
.size-summary-card dt { color: #6f5a78; font-size: 0.95rem; }
.size-summary-card dd { text-align: right; margin: 0; font-weight: 600; }
.set-summary-list { list-style: none; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid #dfcfe8; display: grid; gap: 7px; }
.set-summary-list li { position: relative; padding-left: 15px; line-height: 1.5; }
.set-summary-list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: #9052ae; }
#order-summary > .summary-size-row { display: block; border: 0; padding: 0; }
#order-summary > .summary-size-row > dd { width: 100%; text-align: left; }
#order-summary .size-summary-card dl div { display: grid; }
#saved-products > .saved-product-card { background: #fffcf9; color: #422650; border: 1px solid #dac4e5; border-radius: 18px; padding: 16px; margin-top: 18px; }
#saved-products > .saved-product-card > strong { display: block; padding-right: 46px; line-height: 1.5; }
.quote-customer-card dl { margin: 0; }
.quote-customer-card dl > div { grid-template-columns: minmax(0,1fr); margin-top: 12px; gap: 4px; }
.quote-customer-card dt { font-size: 0.9rem; color: #7b6583; }
.quote-customer-card dd { margin: 0; overflow-wrap: anywhere; line-height: 1.65; }
@media(max-width:600px) { #quote-text .quote-product-card, #quote-text .quote-customer-card { padding: 14px; } #quote .size-summary-card { padding: 14px !important; } #quote-text { font-size: 1rem; } }
@media print { .quote-product-card, .quote-customer-card, .size-summary-card { background: #fff; box-shadow: none; } }

/* Bank app launchers live only inside the payment dialog. */
#payment-dialog .bank-app-launcher { padding: 20px 0 4px; border: 0; margin: 4px 0 0; }
.bank-app-launcher h4 { margin: 0 0 8px; color: #4a2461; font-size: 1.1rem; }
.bank-app-launcher > p { font-size: 0.95rem; line-height: 1.6; margin: 0 0 16px; color: #66506f; }
.bank-app-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.bank-app-button { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 8px 0; color: #4a2461; text-align: center; text-decoration: none; min-width: 0; border-radius: 12px; }
.bank-app-button img { display: block; width: min(100%,64px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 14px; box-shadow: 0 2px 8px #41205124; }
.bank-app-button span { font-size: 0.85rem; line-height: 1.4; overflow-wrap: anywhere; }
.bank-app-button:hover, .bank-app-button:focus-visible { background: #ecdaf7; outline: 2px solid #b18bc9; outline-offset: 2px; }
.bank-app-help { background: #f0e4f8; border-radius: 12px; padding: 12px; margin-top: 14px; }
.bank-app-help[hidden] { display: none; }
.bank-app-help p { font-size: 0.9rem; line-height: 1.6; margin: 0 0 10px; }
.bank-store-links { display: flex; gap: 10px; }
.bank-store-links a { flex: 1; text-align: center; background: #fff; border: 1px solid #cdb0df; border-radius: 10px; padding: 12px 6px; font-size: 0.9rem; font-weight: 600; color: #56266f; }
@media(max-width:380px) { .bank-app-grid { gap: 5px; } .bank-app-button img { max-width: 52px; border-radius: 11px; } .bank-app-button span { font-size: 0.8rem; } }

/* Consistent high-visibility checkout actions. */
#continue-order, #confirm-billing, #customer-final-actions > button[type="submit"] {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 60px; padding: 14px 22px;
  border: 1px solid #8e51a8; border-radius: 999px;
  color: #fff0d6; background: linear-gradient(108deg,#351648,#57256d,#351648);
  text-shadow: 0 0 12px #f5bbffb8; box-shadow: 0 0 22px #8c4bab55;
  font-size: clamp(1rem,2.4vw,1.42rem); font-weight: 700; line-height: 1.5;
}
#continue-order:enabled:hover, #confirm-billing:hover, #customer-final-actions > button[type="submit"]:hover { background: linear-gradient(108deg,#43205a,#693183,#43205a); box-shadow: 0 0 32px #8c4bab9e; }
#continue-order:focus-visible, #confirm-billing:focus-visible, #customer-final-actions > button[type="submit"]:focus-visible { outline: 3px solid #b97bde; outline-offset: 4px; }
#continue-order:disabled { opacity: 0.48; cursor: not-allowed; box-shadow: none; text-shadow: none; }
#payment-dialog .popup-total { padding: 14px 16px; margin-bottom: 14px; }
#payment-dialog .popup-total strong { margin: 5px 0; font-size: clamp(1.85rem,8vw,2.6rem); line-height: 1.3; }
#payment-dialog .receipt-first { margin: 0 0 18px; }
#payment-dialog .receipt-first .upload { margin-top: 0; min-height: 92px; border: 2px dashed #a071bf; background: #fffdf9; padding: 16px; }
#payment-dialog .receipt-first .upload > span:first-child { font-size: 1.7rem; }
#payment-dialog .receipt-first .status:empty { display: none; }
@media(max-width:600px) {
  #payment-dialog .payment-modal-body { padding-top: 12px; }
  #payment-dialog > .fabric-zoom-bar { padding: 12px 14px; }
  #payment-dialog .popup-total span { font-size: 0.95rem; }
  #payment-dialog .popup-total small { font-size: 0.85rem; }
  #continue-order, #confirm-billing, #customer-final-actions > button[type="submit"] { min-height: 56px; font-size: 1.1rem; }
}

#order-line-link[hidden], #order-storage-warning[hidden] { display: none !important; }
#order-line-link { display: block; text-align: center; width: 100%; margin: 14px 0; }
#payment-dialog #order-storage-warning { margin: 0 0 16px; font-size: 0.95rem; line-height: 1.5; }

#quote-reference[hidden] { display: none !important; }
#quote-reference { font-weight: 700; color: #56266f; }
