/* Shuddho commerce page family: catalog, product, cart, checkout, and receipt. */
.commerce-page {
  --commerce-ink: #14343c;
  --commerce-muted: #587078;
  --commerce-deep: #063d47;
  --commerce-river: #087a80;
  --commerce-aqua: #e6f6f2;
  --commerce-stone: #f4efe4;
  --commerce-sun: #f2ad3d;
  --commerce-line: rgba(16, 47, 56, .15);
  min-width: 0;
  background: #fbfdfb;
  color: var(--commerce-ink);
}
.commerce-page *,
.commerce-page *::before,
.commerce-page *::after { box-sizing: border-box; }
.commerce-page main,
.commerce-page section,
.commerce-page article,
.commerce-page aside,
.commerce-page form,
.commerce-page fieldset,
.commerce-page div { min-width: 0; }
.commerce-page [hidden] { display: none !important; }
.commerce-page img { display: block; max-width: 100%; }
.commerce-page button,
.commerce-page input,
.commerce-page select,
.commerce-page textarea { font: inherit; }
.commerce-wrap {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}
.commerce-skip {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 1000;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
  background: #fff;
  color: var(--commerce-deep);
  font-weight: 850;
}
.commerce-skip:focus {
  width: auto;
  height: auto;
  overflow: visible;
  clip-path: none;
  padding: .75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.commerce-eyebrow {
  margin: 0 0 .7rem;
  color: var(--commerce-river);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.3;
  text-transform: uppercase;
}
.commerce-page h1,
.commerce-page h2,
.commerce-page h3,
.commerce-page p { overflow-wrap: anywhere; }
.commerce-page h1,
.commerce-page h2,
.commerce-page h3 { color: var(--commerce-deep); }
.commerce-page h1 { margin: .3rem 0 1.2rem; font-size: clamp(3rem, 6.2vw, 5.8rem); line-height: .98; }
.commerce-page h2 { margin: .3rem 0 1rem; font-size: clamp(2.15rem, 4vw, 3.8rem); }
.commerce-page h3 { line-height: 1.2; }
.commerce-text-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--commerce-deep);
  font-weight: 850;
  text-underline-offset: .22em;
}
.commerce-text-link:hover { color: var(--commerce-river); }
.commerce-primary-action,
.commerce-secondary-action {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  padding: .82rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.commerce-primary-action { background: var(--commerce-deep); color: #fff; }
.commerce-primary-action:hover { background: var(--deep-2); }
.commerce-secondary-action { border-color: rgba(6,61,71,.25); background: transparent; color: var(--commerce-deep); }
.commerce-secondary-action:hover { background: var(--commerce-aqua); }
.commerce-primary-action:disabled { opacity: .52; cursor: not-allowed; }
.commerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 25px;
  color: var(--commerce-muted);
  font-size: .8rem;
}
.commerce-breadcrumb a { text-decoration: none; }
.commerce-section-heading { max-width: 780px; margin-bottom: 40px; }
.commerce-section-heading > p:last-child { color: var(--commerce-muted); }
.commerce-section-heading-row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: end;
}

/* Shop */
.commerce-shop-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 106px) 0;
  background:
    radial-gradient(circle at 9% 12%, rgba(255,255,255,.78), transparent 30%),
    var(--commerce-stone);
}
.commerce-shop-hero::after {
  content: "";
  position: absolute;
  right: -170px;
  bottom: -250px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(8,122,128,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 68px rgba(8,122,128,.04), 0 0 0 136px rgba(8,122,128,.025);
}
.commerce-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, .88fr);
  gap: clamp(50px, 8vw, 112px);
  align-items: center;
}
.commerce-hero-copy > p:not(.commerce-eyebrow) { max-width: 660px; color: #476269; font-size: 1.08rem; }
.commerce-hero-copy .commerce-text-link { margin-top: 18px; }
.commerce-hero-media {
  position: relative;
  margin: 0;
}
.commerce-hero-media::before {
  content: "";
  position: absolute;
  inset: 8% -5% -5% 8%;
  border-radius: 34px 180px 34px 34px;
  background: var(--commerce-aqua);
}
.commerce-hero-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  border-radius: 34px 180px 34px 34px;
  box-shadow: var(--shadow-lg);
}
.commerce-hero-media figcaption {
  position: relative;
  max-width: 370px;
  margin: 15px 0 0 auto;
  color: var(--commerce-muted);
  font-size: .78rem;
  text-align: right;
}
.commerce-filter-section { padding: 68px 0 46px; background: #fff; }
.commerce-result-copy { margin: 0 0 8px; color: var(--commerce-muted); }
.commerce-result-copy strong { color: var(--commerce-deep); }
.commerce-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 20px;
  border: 1px solid var(--commerce-line);
  border-radius: 20px;
  background: var(--foam-2);
  box-shadow: var(--shadow-sm);
}
.commerce-filter-grid label {
  display: grid;
  gap: 7px;
  color: var(--commerce-deep);
  font-size: .76rem;
  font-weight: 850;
}
.commerce-filter-grid select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 10px 32px 10px 11px;
  border: 1px solid rgba(16,47,56,.22);
  border-radius: 11px;
  background: #fff;
  color: var(--commerce-ink);
}
.commerce-filter-reset {
  min-height: 48px;
  padding: .7rem 1rem;
  border: 1px solid rgba(6,61,71,.24);
  border-radius: 11px;
  background: transparent;
  color: var(--commerce-deep);
  font-weight: 850;
  cursor: pointer;
}
.commerce-filter-reset:hover { background: var(--commerce-aqua); }
.commerce-catalog-section { padding: 24px 0 96px; background: #fff; }
.commerce-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.commerce-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--commerce-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(5,44,50,.055);
  transition: transform .2s ease, box-shadow .2s ease;
}
.commerce-product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.commerce-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1 / .93;
  overflow: hidden;
  background: var(--commerce-stone);
}
.commerce-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.commerce-product-card:hover .commerce-card-image img { transform: scale(1.025); }
.commerce-card-image > span {
  position: absolute;
  top: 13px;
  left: 13px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.93);
  color: var(--commerce-deep);
  font-size: .66rem;
  font-weight: 900;
}
.commerce-card-body { padding: 20px; }
.commerce-card-kicker { margin-bottom: 7px; color: var(--commerce-river); font-size: .7rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.commerce-card-body h2 { margin: 0 0 7px; font-size: 1.65rem; }
.commerce-card-body h2 a { text-decoration: none; }
.commerce-card-body > p:not(.commerce-card-kicker) { min-height: 49px; color: var(--commerce-muted); font-size: .85rem; line-height: 1.5; }
.commerce-card-body dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0 0; border-block: 1px solid var(--commerce-line); }
.commerce-card-body dl div { padding: 10px 0; }
.commerce-card-body dt { color: var(--commerce-muted); font-size: .68rem; }
.commerce-card-body dd { margin: 1px 0 0; color: var(--commerce-deep); font-size: .82rem; font-weight: 800; }
.commerce-card-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.commerce-card-buy strong { color: var(--commerce-deep); }
.commerce-card-buy button {
  min-height: 40px;
  padding: .6rem .78rem;
  border: 0;
  border-radius: 999px;
  background: var(--commerce-deep);
  color: #fff;
  font-size: .76rem;
  font-weight: 850;
  cursor: pointer;
}
.commerce-card-buy button:hover { background: var(--commerce-river); }
.commerce-card-buy button:disabled { opacity: .65; }
.commerce-empty {
  padding: 0 0 82px;
  background: #fff;
}
.commerce-empty .commerce-wrap {
  padding: 54px 24px;
  border: 1px dashed rgba(16,47,56,.28);
  border-radius: 22px;
  background: var(--foam-2);
  text-align: center;
}
.commerce-empty .commerce-wrap > span { color: var(--commerce-river); font: 500 3rem/1 var(--display); }
.commerce-empty h2 { margin-top: .75rem; }
.commerce-empty p { color: var(--commerce-muted); }
.commerce-empty button { border: 0; background: none; color: var(--commerce-deep); font-weight: 850; text-decoration: underline; cursor: pointer; }
.commerce-support-banner { padding: 82px 0; background: var(--commerce-deep); color: #fff; }
.commerce-support-banner > .commerce-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.commerce-support-banner h2 { max-width: 760px; color: #fff; }
.commerce-support-banner p:not(.commerce-eyebrow) { max-width: 680px; color: #c8dfdc; }
.commerce-support-banner .commerce-eyebrow { color: var(--mint); }
.commerce-support-banner a { display: inline-flex; min-height: 50px; align-items: center; padding: .85rem 1.15rem; border-radius: 999px; background: var(--commerce-sun); color: #193238; font-weight: 900; text-decoration: none; }

/* Product detail */
.commerce-product-hero { padding: 52px 0 88px; background: var(--commerce-stone); }
.commerce-detail-grid { display: grid; grid-template-columns: minmax(360px, .95fr) minmax(0, .85fr); gap: clamp(50px, 8vw, 108px); align-items: center; }
.commerce-detail-media-stage { min-width: 0; }
.commerce-product-visuals {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}
.commerce-product-visuals a {
  display: block;
  min-width: 0;
  padding: 3px;
  border: 1px solid var(--commerce-line);
  border-radius: 10px;
  background: #fff;
}
.commerce-product-visuals a:hover,
.commerce-product-visuals a:focus-visible,
.commerce-product-visuals a.is-current { border-color: var(--commerce-river); box-shadow: 0 0 0 2px rgba(8,122,128,.14); }
.commerce-product-visuals img { width: 100%; aspect-ratio: 1; border-radius: 7px; object-fit: cover; }
.commerce-detail-media { position: relative; margin: 0; }
.commerce-detail-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 30px 150px 30px 30px; background: var(--commerce-aqua); box-shadow: var(--shadow-lg); }
.commerce-detail-media figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--commerce-deep); font-size: .72rem; font-weight: 900; }
.commerce-detail-copy h1 { margin-bottom: .7rem; }
.commerce-detail-price { margin: 0 0 1rem; color: var(--commerce-deep); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; }
.commerce-detail-summary { max-width: 650px; color: var(--commerce-muted); font-size: 1.06rem; }
.commerce-fit-panel { display: grid; gap: 4px; margin: 26px 0; padding: 17px 19px; border-left: 4px solid var(--commerce-river); border-radius: 0 13px 13px 0; background: rgba(255,255,255,.62); }
.commerce-fit-panel span { color: var(--commerce-muted); font-size: .76rem; }
.commerce-fit-panel strong { color: var(--commerce-deep); }
.commerce-purchase-row { display: flex; align-items: stretch; gap: 12px; }
.commerce-stepper { display: flex; min-width: 230px; align-items: stretch; overflow: hidden; border: 1px solid rgba(16,47,56,.24); border-radius: 999px; background: #fff; }
.commerce-stepper > button { width: 46px; flex: 0 0 46px; border: 0; background: transparent; color: var(--commerce-deep); font-size: 1.25rem; cursor: pointer; }
.commerce-stepper label { display: grid; flex: 1; place-items: center; color: var(--commerce-muted); font-size: .63rem; font-weight: 800; text-transform: uppercase; }
.commerce-stepper input { width: 52px; border: 0; background: transparent; color: var(--commerce-deep); font-weight: 900; text-align: center; }
.commerce-inline-status { min-height: 24px; margin: 12px 0 0; color: var(--commerce-muted); font-size: .78rem; }
.commerce-assurance { border-block: 1px solid var(--commerce-line); background: #fff; }
.commerce-assurance .commerce-wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.commerce-assurance .commerce-wrap > div { padding: 22px; border-right: 1px solid var(--commerce-line); }
.commerce-assurance .commerce-wrap > div:first-child { padding-left: 0; }
.commerce-assurance .commerce-wrap > div:last-child { border-right: 0; }
.commerce-assurance strong,
.commerce-assurance span { display: block; }
.commerce-assurance strong { color: var(--commerce-deep); font-size: .82rem; }
.commerce-assurance span { margin-top: 3px; color: var(--commerce-muted); font-size: .75rem; }
.commerce-specs,
.commerce-process,
.commerce-installation,
.commerce-related,
.commerce-faq { padding: 96px 0; }
.commerce-specs { background: #fff; }
.commerce-two-column { display: grid; grid-template-columns: minmax(260px, .65fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 112px); align-items: start; }
.commerce-two-column > div:first-child > p:not(.commerce-eyebrow) { color: var(--commerce-muted); }
.commerce-specs dl { margin: 0; border-top: 1px solid var(--commerce-line); }
.commerce-specs dl div { display: grid; grid-template-columns: minmax(120px, .42fr) minmax(0, 1fr); gap: 25px; padding: 17px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-specs dt { color: var(--commerce-muted); font-size: .78rem; }
.commerce-specs dd { margin: 0; color: var(--commerce-deep); font-weight: 700; }
.commerce-process { background: var(--commerce-deep); color: #fff; }
.commerce-process h2 { color: #fff; }
.commerce-process .commerce-eyebrow { color: var(--mint); }
.commerce-process .commerce-section-heading > p:last-child { color: #bed4d1; }
.commerce-stage-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.commerce-stage-list li { min-width: 0; padding: 22px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; background: rgba(255,255,255,.055); }
.commerce-stage-list li > span { display: block; margin-bottom: 34px; color: var(--commerce-sun); font-size: .7rem; font-weight: 900; }
.commerce-stage-list strong { color: #fff; }
.commerce-stage-list p { margin: 8px 0 0; color: #bcd2cf; font-size: .8rem; }
.commerce-installation { background: var(--commerce-aqua); }
.commerce-install-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, .78fr); gap: clamp(50px, 8vw, 108px); align-items: center; }
.commerce-install-grid figure { margin: 0; }
.commerce-install-grid img { width: 100%; min-height: 570px; object-fit: cover; border-radius: 160px 28px 28px 28px; box-shadow: var(--shadow-lg); }
.commerce-install-grid ol { display: grid; gap: 14px; margin: 26px 0; padding-left: 1.25rem; }
.commerce-install-grid li { color: var(--commerce-muted); }
.commerce-install-grid li strong { color: var(--commerce-deep); }
.commerce-related { background: #fff; }
.commerce-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.commerce-related-grid article { min-width: 0; overflow: hidden; border: 1px solid var(--commerce-line); border-radius: 18px; background: var(--commerce-stone); }
.commerce-related-grid a { display: block; color: var(--commerce-deep); font-weight: 850; text-decoration: none; }
.commerce-related-grid img { width: 100%; aspect-ratio: 1.18 / 1; object-fit: cover; }
.commerce-related-grid span { display: block; padding: 16px 18px; background: #fff; }
.commerce-faq { background: var(--commerce-stone); }
.commerce-faq [data-product-faqs] { border-top: 1px solid var(--commerce-line); }
.commerce-faq details { border-bottom: 1px solid var(--commerce-line); }
.commerce-faq summary { position: relative; padding: 20px 38px 20px 0; color: var(--commerce-deep); font-weight: 850; cursor: pointer; list-style: none; }
.commerce-faq summary::-webkit-details-marker { display: none; }
.commerce-faq summary::after { content: "+"; position: absolute; right: 4px; color: var(--commerce-river); font-size: 1.45rem; }
.commerce-faq details[open] summary::after { content: "−"; }
.commerce-faq details p { padding: 0 32px 18px 0; color: var(--commerce-muted); }

/* Cart and checkout */
.commerce-app-header { padding: 70px 0 52px; border-bottom: 1px solid var(--commerce-line); background: linear-gradient(180deg, var(--commerce-aqua), #fbfdfb); }
.commerce-app-header h1 { max-width: 900px; font-size: clamp(3rem, 6vw, 5.3rem); }
.commerce-app-header .commerce-wrap > p:last-child { max-width: 720px; color: var(--commerce-muted); }
.commerce-checkout-heading ol { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; color: var(--commerce-muted); font-size: .78rem; font-weight: 800; }
.commerce-checkout-heading li { display: flex; align-items: center; gap: 8px; }
.commerce-checkout-heading li span { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--commerce-deep); color: #fff; font-size: .67rem; }
.commerce-cart-items { padding: 72px 0 30px; background: #fff; }
.commerce-cart-items .commerce-section-heading { margin-bottom: 24px; }
.commerce-loading { display: flex; min-height: 150px; align-items: center; justify-content: center; gap: 10px; color: var(--commerce-muted); }
.commerce-loading span { width: 20px; height: 20px; border: 2px solid var(--commerce-line); border-top-color: var(--commerce-river); border-radius: 50%; animation: commerce-spin .8s linear infinite; }
@keyframes commerce-spin { to { transform: rotate(360deg); } }
.commerce-cart-line {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) auto minmax(110px, auto);
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--commerce-line);
}
.commerce-cart-line:last-child { border-bottom: 1px solid var(--commerce-line); }
.commerce-cart-line-image { overflow: hidden; border-radius: 14px; background: var(--commerce-stone); }
.commerce-cart-line-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.commerce-cart-line-copy > p { margin: 0 0 4px; color: var(--commerce-river); font-size: .7rem; font-weight: 850; text-transform: uppercase; }
.commerce-cart-line-copy h3 { margin: 0 0 4px; font-size: 1.55rem; }
.commerce-cart-line-copy h3 a { text-decoration: none; }
.commerce-cart-line-copy > span { color: var(--commerce-muted); font-size: .82rem; }
.commerce-cart-line-copy > button { display: block; margin-top: 11px; padding: 0; border: 0; background: none; color: var(--danger); font-size: .76rem; font-weight: 800; text-decoration: underline; cursor: pointer; }
.commerce-cart-line-quantity > span,
.commerce-cart-line-price > span { display: block; margin-bottom: 6px; color: var(--commerce-muted); font-size: .7rem; }
.commerce-mini-stepper { display: flex; overflow: hidden; border: 1px solid var(--commerce-line); border-radius: 999px; }
.commerce-mini-stepper button { width: 37px; border: 0; background: var(--foam-2); cursor: pointer; }
.commerce-mini-stepper input { width: 44px; min-width: 0; border: 0; text-align: center; }
.commerce-cart-line-price { text-align: right; }
.commerce-cart-line-price strong { color: var(--commerce-deep); font-size: 1.06rem; }
.commerce-cart-empty { padding: 100px 0; background: #fff; text-align: center; }
.commerce-cart-empty .commerce-wrap { max-width: 720px; }
.commerce-empty-icon { display: grid; width: 76px; height: 76px; margin: 0 auto 18px; place-items: center; border: 1px solid var(--commerce-line); border-radius: 50%; color: var(--commerce-river); font-size: 2.4rem; }
.commerce-cart-empty p { color: var(--commerce-muted); }
.commerce-cart-empty .commerce-wrap > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.commerce-cart-summary-section { padding: 34px 0 78px; background: #fff; }
.commerce-cart-summary-section .commerce-wrap { display: flex; justify-content: flex-end; }
.commerce-summary-card { width: min(100%, 470px); padding: 28px; border: 1px solid var(--commerce-line); border-radius: 20px; background: var(--foam-2); box-shadow: var(--shadow-sm); }
.commerce-summary-card h2 { font-size: 2.25rem; }
.commerce-summary-card dl { margin: 22px 0; border-top: 1px solid var(--commerce-line); }
.commerce-summary-card dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-summary-card dt { color: var(--commerce-muted); }
.commerce-summary-card dd { margin: 0; color: var(--commerce-deep); font-weight: 800; text-align: right; }
.commerce-summary-card .commerce-summary-total { padding-top: 17px; font-size: 1.06rem; }
.commerce-summary-card > p { color: var(--commerce-muted); font-size: .8rem; }
.commerce-summary-card > .commerce-primary-action { width: 100%; margin-top: 8px; }
.commerce-summary-card > small { display: block; margin-top: 12px; color: var(--commerce-muted); line-height: 1.5; }
.commerce-cart-support { padding: 34px 0; background: var(--commerce-stone); }
.commerce-cart-support .commerce-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.commerce-cart-support p { margin: 0; color: var(--commerce-muted); }
.commerce-cart-support a { color: var(--commerce-deep); font-weight: 850; }
.commerce-checkout-form { padding: 74px 0 0; background: #fff; }
.commerce-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, 410px); gap: clamp(42px, 7vw, 92px); align-items: start; }
.commerce-checkout-fields { display: grid; gap: 22px; }
.commerce-form-section { padding: 28px; border: 1px solid var(--commerce-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(5,44,50,.045); }
.commerce-form-heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: start; margin-bottom: 23px; }
.commerce-form-heading > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; background: var(--commerce-deep); color: #fff; font-size: .7rem; font-weight: 900; }
.commerce-form-heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.55rem); }
.commerce-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.commerce-field { min-width: 0; display: grid; align-content: start; gap: 7px; color: var(--commerce-deep); font-size: .8rem; font-weight: 820; }
.commerce-field > span:first-of-type:not(.commerce-field-error) { color: var(--commerce-muted); font-size: .7rem; font-weight: 600; }
.commerce-field-wide { grid-column: 1 / -1; }
.commerce-field input,
.commerce-field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(16,47,56,.24);
  border-radius: 11px;
  padding: 11px 12px;
  background: #fff;
  color: var(--commerce-ink);
  font-weight: 500;
  outline: none;
}
.commerce-field input { min-height: 49px; }
.commerce-field textarea { resize: vertical; }
.commerce-field input:focus,
.commerce-field textarea:focus { border-color: var(--commerce-river); box-shadow: 0 0 0 3px rgba(8,122,128,.12); }
.commerce-field [aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.commerce-field-error { min-height: 17px; color: var(--danger); font-size: .7rem; font-weight: 650; }
.commerce-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.commerce-payment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.commerce-choice { position: relative; min-width: 0; display: flex; gap: 11px; align-items: flex-start; padding: 16px; border: 1px solid var(--commerce-line); border-radius: 13px; background: #fff; cursor: pointer; }
.commerce-choice:has(input:checked) { border-color: var(--commerce-river); background: var(--commerce-aqua); box-shadow: inset 0 0 0 1px var(--commerce-river); }
.commerce-choice input { margin-top: 4px; }
.commerce-choice > span { min-width: 0; flex: 1; }
.commerce-choice strong,
.commerce-choice small { display: block; }
.commerce-choice strong { color: var(--commerce-deep); }
.commerce-choice small { margin-top: 3px; color: var(--commerce-muted); font-size: .72rem; line-height: 1.45; }
.commerce-choice b { color: var(--commerce-deep); font-size: .8rem; }
.commerce-choice-note { margin: 12px 0 0; color: var(--commerce-muted); font-size: .76rem; }
.commerce-payment-note { margin-top: 16px; padding: 18px; border-left: 4px solid var(--commerce-sun); border-radius: 0 12px 12px 0; background: var(--sun-soft); }
.commerce-payment-note > p { color: #5f5a45; font-size: .8rem; }
.commerce-payment-note .commerce-field { margin-top: 13px; }
.commerce-payment-note small { color: var(--commerce-muted); font-weight: 500; }
.commerce-checkout-review { position: sticky; top: 124px; }
.commerce-checkout-review .commerce-summary-card { width: 100%; }
.commerce-review-line { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-review-line img { width: 62px; height: 62px; object-fit: cover; border-radius: 9px; background: var(--commerce-stone); }
.commerce-review-line strong,
.commerce-review-line span { display: block; }
.commerce-review-line span { color: var(--commerce-muted); font-size: .72rem; }
.commerce-review-line b { color: var(--commerce-deep); font-size: .78rem; }
.commerce-review-empty { padding: 20px 0; color: var(--commerce-muted); }
.commerce-review-empty a { color: var(--commerce-deep); font-weight: 850; }
.commerce-checkout-validation { margin-top: 60px; padding: 38px 0 70px; border-top: 1px solid var(--commerce-line); background: var(--foam-2); }
.commerce-error-summary { margin-bottom: 22px; padding: 16px 18px; border-left: 4px solid var(--danger); border-radius: 0 12px 12px 0; background: #fff0ed; color: var(--danger); }
.commerce-error-summary ul { margin-bottom: 0; }
.commerce-submit-row { display: flex; justify-content: space-between; gap: 26px; align-items: center; }
.commerce-submit-row > div { max-width: 660px; }
.commerce-submit-row strong { color: var(--commerce-deep); }
.commerce-submit-row p { margin: 4px 0 0; color: var(--commerce-muted); font-size: .8rem; }
.commerce-submit-status { min-height: 22px; margin-top: 12px !important; color: var(--commerce-deep) !important; font-weight: 750; }

/* Receipt */
.commerce-success-message { padding: 92px 0 74px; background: var(--commerce-deep); color: #fff; text-align: center; }
.commerce-success-message h1 { color: #fff; }
.commerce-success-message .commerce-eyebrow { color: var(--mint); }
.commerce-success-message .commerce-wrap > p:not(.commerce-eyebrow) { color: #c8dfdc; }
.commerce-success-mark { display: grid; width: 76px; height: 76px; margin: 0 auto 24px; place-items: center; border-radius: 50%; background: var(--commerce-sun); color: var(--commerce-deep); font-size: 2rem; font-weight: 900; }
.commerce-reference { display: inline-grid; gap: 3px; margin-top: 25px; padding: 16px 28px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; background: rgba(255,255,255,.07); }
.commerce-reference span { color: #b8d1ce; font-size: .7rem; }
.commerce-reference strong { color: #fff; font-size: 1.1rem; letter-spacing: .07em; }
.commerce-no-order { max-width: 580px; margin: 24px auto 0; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.09); }
.commerce-no-order p { color: #c8dfdc; }
.commerce-success-summary { padding: 82px 0; background: #fff; }
.commerce-success-summary .commerce-section-heading-row > p { color: var(--commerce-muted); font-size: .8rem; }
.commerce-receipt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.commerce-receipt-grid article { padding: 24px; border: 1px solid var(--commerce-line); border-radius: 16px; background: var(--foam-2); }
.commerce-receipt-grid h3 { margin-top: 0; }
.commerce-receipt-grid address { color: var(--commerce-muted); font-style: normal; white-space: pre-line; }
.commerce-receipt-grid p { margin-bottom: .35rem; color: var(--commerce-muted); }
.commerce-receipt-items { margin-top: 24px; border-top: 1px solid var(--commerce-line); }
.commerce-receipt-items article { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-receipt-items img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--commerce-stone); }
.commerce-receipt-items strong,
.commerce-receipt-items span { display: block; }
.commerce-receipt-items span { color: var(--commerce-muted); font-size: .78rem; }
.commerce-receipt-items b { color: var(--commerce-deep); }
.commerce-receipt-totals { width: min(100%, 460px); margin: 24px 0 0 auto; }
.commerce-receipt-totals div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-receipt-totals dt { color: var(--commerce-muted); }
.commerce-receipt-totals dd { margin: 0; color: var(--commerce-deep); font-weight: 850; }
.commerce-receipt-totals div:last-child { font-size: 1.15rem; }
.commerce-success-next { padding: 82px 0; background: var(--commerce-stone); }
.commerce-success-next > .commerce-wrap { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1fr); gap: clamp(44px, 8vw, 100px); align-items: start; }
.commerce-success-next ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--commerce-line); }
.commerce-success-next li { display: grid; grid-template-columns: 45px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--commerce-line); }
.commerce-success-next li > span { color: var(--commerce-river); font-size: .7rem; font-weight: 900; }
.commerce-success-next li p { margin: 4px 0 0; color: var(--commerce-muted); }
.commerce-success-actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 5px; }
.commerce-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: min(390px, calc(100vw - 40px));
  padding: 14px 18px;
  border-radius: 13px;
  background: var(--commerce-deep);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
}
.commerce-toast.commerce-toast-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .commerce-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commerce-filter-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .commerce-filter-reset { width: 100%; }
  .commerce-stage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .commerce-checkout-grid { grid-template-columns: 1fr; }
  .commerce-checkout-review { position: static; }
  .commerce-cart-line { grid-template-columns: 112px minmax(0, 1fr) auto; }
  .commerce-cart-line-price { grid-column: 2 / -1; text-align: left; }
  .commerce-success-next > .commerce-wrap { grid-template-columns: 1fr; }
  .commerce-success-actions { grid-column: auto; }
}
@media (max-width: 800px) {
  .commerce-detail-grid,
  .commerce-checkout-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .commerce-product-visuals { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .commerce-wrap { width: min(100% - 36px, 1240px); }
  .commerce-hero-grid,
  .commerce-detail-grid,
  .commerce-two-column,
  .commerce-install-grid,
  .commerce-support-banner > .commerce-wrap { grid-template-columns: 1fr; }
  .commerce-shop-hero { padding-block: 68px; }
  .commerce-hero-media { max-width: 650px; }
  .commerce-hero-media img { border-radius: 28px 130px 28px 28px; }
  .commerce-section-heading-row { grid-template-columns: 1fr; gap: 8px; }
  .commerce-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-filter-reset { align-self: end; }
  .commerce-assurance .commerce-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-assurance .commerce-wrap > div:nth-child(2) { border-right: 0; }
  .commerce-assurance .commerce-wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--commerce-line); }
  .commerce-assurance .commerce-wrap > div:nth-child(3) { padding-left: 0; }
  .commerce-stage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-install-grid img { min-height: 480px; }
  .commerce-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commerce-related-grid article:last-child { grid-column: 1 / -1; max-width: calc(50% - 10px); }
  .commerce-payment-grid { grid-template-columns: 1fr; }
  .commerce-cart-support .commerce-wrap { grid-template-columns: 1fr; gap: 7px; }
  .commerce-submit-row { align-items: stretch; flex-direction: column; }
  .commerce-submit-row .commerce-primary-action { width: 100%; }
}
@media (max-width: 580px) {
  .commerce-wrap { width: min(100% - 32px, 1240px); }
  .commerce-page h1 { font-size: clamp(2.85rem, 14vw, 4.1rem); }
  .commerce-product-grid,
  .commerce-filter-grid,
  .commerce-related-grid,
  .commerce-receipt-grid,
  .commerce-field-grid,
  .commerce-choice-grid { grid-template-columns: 1fr; }
  .commerce-related-grid article:last-child { grid-column: auto; max-width: none; }
  .commerce-filter-section { padding-top: 52px; }
  .commerce-filter-grid { padding: 15px; }
  .commerce-card-body > p:not(.commerce-card-kicker) { min-height: 0; }
  .commerce-detail-media img { border-radius: 24px 100px 24px 24px; }
  .commerce-purchase-row { flex-direction: column; }
  .commerce-stepper { width: 100%; min-width: 0; min-height: 49px; }
  .commerce-purchase-row .commerce-primary-action { width: 100%; }
  .commerce-assurance .commerce-wrap { grid-template-columns: 1fr; }
  .commerce-assurance .commerce-wrap > div { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--commerce-line); }
  .commerce-assurance .commerce-wrap > div:last-child { border-bottom: 0; }
  .commerce-stage-list { grid-template-columns: 1fr; }
  .commerce-stage-list li > span { margin-bottom: 14px; }
  .commerce-install-grid img { min-height: 390px; border-radius: 110px 22px 22px 22px; }
  .commerce-specs dl div { grid-template-columns: 1fr; gap: 3px; }
  .commerce-cart-line { grid-template-columns: 86px minmax(0, 1fr); gap: 14px; align-items: start; }
  .commerce-cart-line-quantity,
  .commerce-cart-line-price { grid-column: 2; }
  .commerce-cart-line-price { text-align: left; }
  .commerce-form-section { padding: 21px 17px; }
  .commerce-field-wide { grid-column: auto; }
  .commerce-success-message { padding-top: 72px; }
  .commerce-receipt-items article { grid-template-columns: 62px minmax(0, 1fr); }
  .commerce-receipt-items img { width: 62px; height: 62px; }
  .commerce-receipt-items b { grid-column: 2; }
  .commerce-checkout-heading ol { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .commerce-page *,
  .commerce-page *::before,
  .commerce-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
