:root {
  --paper: #fffdfb;
  --surface: #ffffff;
  --surface-warm: #fff3e9;
  --ink: #2f2933;
  --muted: #726d74;
  --line: #ded6ce;
  --orange: #f1641e;
  --orange-dark: #cb4d14;
  --green: #179b54;
  --green-dark: #08763b;
  --shadow: 0 18px 50px rgb(47 41 51 / 10%);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 30rem),
    var(--paper);
  color: var(--ink);
  font-family:
    Inter, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.sheet-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero,
main {
  width: min(calc(100% - 32px), 640px);
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 16px;
  padding: 22px 0 16px;
  color: #1a1714;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.hero > * {
  min-width: 0;
}

.topbar,
.brand,
.hero-points,
.product-tabs,
.detail-heading {
  display: flex;
}

.topbar {
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: 10px;
}

.brand-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.brand strong {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #1a1714;
  font-family: inherit;
  font-size: clamp(1.08rem, 4.75vw, 1.32rem);
  font-weight: 700;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  color: #7a716a;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: #ffffff;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
}

.language-switch {
  display: inline-grid;
  min-height: 28px;
  flex: 0 0 auto;
  grid-template-columns: repeat(2, minmax(34px, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-color: #ebe8e2;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgb(47 41 51 / 5%);
  padding: 2px;
}

.language-switch button {
  min-width: 34px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #7a716a;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--orange);
  color: #ffffff;
  box-shadow: 0 10px 24px rgb(241 100 30 / 18%);
}

.hero-copy {
  width: 100%;
  min-width: 0;
  display: block;
}

.hero-copy div {
  display: grid;
  gap: 6px;
}

.hero h1 {
  max-width: 100%;
  margin: 0;
  color: #1a1714;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  white-space: nowrap;
}

html[lang="es"] .hero h1 {
  white-space: normal;
}

.whatsapp-submit,
.whatsapp-link,
.add-color,
.sheet-footer button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 950;
}

.hero-points {
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
}

.hero-points p {
  display: flex;
  min-width: 0;
  min-height: auto;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  padding: 0;
  color: #7a716a;
  font-family: inherit;
  font-size: clamp(0.82rem, 3.7vw, 0.98rem);
  font-weight: 700;
  white-space: nowrap;
}

.hero-points p + p::before {
  width: 2px;
  height: 2px;
  margin: 0 9px;
  border-radius: 999px;
  background: #d9d2cb;
  content: "";
}

.hero-points svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

main {
  display: grid;
  gap: 12px;
  padding-bottom: 38px;
}

main > * {
  min-width: 0;
}

.products,
.quote {
  scroll-margin-top: 18px;
}

.products {
  overflow-x: clip;
}

.product-tabs {
  gap: 3px;
  margin-inline: 0;
  border: 0;
  border-radius: 14px;
  background: #f8f5f1;
  padding: 3px;
}

.product-tabs button {
  display: inline-flex;
  min-height: 34px;
  min-width: 0;
  flex: 1 1 50%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-bottom: 0;
  border-radius: 10px;
  background: transparent;
  color: #7a716a;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.product-tabs button[aria-selected="true"] {
  background: #ffffff;
  color: #1a1714;
  box-shadow: 0 1px 4px rgb(26 23 20 / 8%);
}

.product-tabs svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-tabs small {
  color: #7a716a;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
}

.detail-heading h3,
.quote-item h3,
.quote-sheet h2 {
  margin: 0;
  font-weight: 950;
}

.style-rail-wrap {
  margin-inline: -16px;
}

.style-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 16px 7px;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
}

.style-rail::-webkit-scrollbar {
  display: none;
}

.style-scroll-track {
  display: block;
  width: calc(100% - 32px);
  height: 3px;
  margin: 0 16px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe8e2;
}

.style-scroll-track span {
  display: block;
  width: var(--thumb-size, 26%);
  height: 100%;
  border-radius: inherit;
  background: #b7aea4;
  transform: translateX(var(--thumb-shift, 0));
}

.style-card {
  position: relative;
  display: grid;
  width: 84px;
  min-height: 84px;
  flex: 0 0 84px;
  grid-template-rows: 62px auto;
  gap: 2px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  padding: 2px 6px 5px;
  box-shadow: none;
  text-align: center;
}

.style-card.is-active {
  border-color: var(--orange);
  box-shadow:
    0 10px 22px rgb(26 23 20 / 14%),
    0 2px 5px rgb(26 23 20 / 8%);
}

.style-card img {
  width: 100%;
  height: 62px;
  object-fit: contain;
  transform: translateY(-2px) scale(1.08);
}

.style-card[data-style^="ties:"] img {
  transform: translateY(-2px) scale(1.02);
}

.style-card-label {
  overflow: hidden;
  margin-top: 0;
  padding-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.style-quote-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  display: none;
  width: 18px;
  height: 18px;
  place-items: center;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #0a6047;
  box-shadow: 0 3px 8px rgb(10 96 71 / 24%);
  color: #ffffff;
}

.style-card.is-in-quote .style-quote-mark {
  display: grid;
}

.style-quote-mark svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.style-detail {
  --detail-ink: #1a1714;
  --detail-muted: #7a716a;
  --detail-accent: #e8631a;
  --detail-accent-deep: #c44e0b;
  --detail-card: #ffffff;
  --detail-page: #f5f2ed;
  --detail-hairline: #ebe8e2;
  display: grid;
  gap: 8px;
  margin-top: 16px;
  border: 1px solid var(--detail-hairline);
  border-radius: 24px;
  background: var(--detail-card);
  padding: 12px 18px;
  box-shadow: var(--shadow);
  color: var(--detail-ink);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.detail-heading {
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.detail-heading h3 {
  color: var(--detail-ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
}

.detail-media {
  position: relative;
  display: grid;
  height: clamp(152px, 43vw, 248px);
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 64%, rgb(241 100 30 / 3%), transparent 36%),
    #ffffff;
}

.detail-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  transform: translateY(var(--preview-shift, 0%)) scale(1.34);
}

.style-detail[data-product-type="ties"] .detail-media {
  height: clamp(270px, 78vw, 420px);
}

.style-detail[data-product-type="ties"] .detail-media img {
  transform: translateY(var(--preview-shift, 0%)) scale(1.72);
}

.detail-color-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.detail-dots {
  display: flex;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 8px;
}

.detail-dots button {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border: 3px solid #ffffff;
  border-radius: 999px;
  background: var(--dot);
  box-shadow:
    0 0 0 1px rgb(47 41 51 / 18%),
    inset 0 0 0 1px rgb(255 255 255 / 18%);
  padding: 0;
}

.detail-dots button.is-active {
  border-color: var(--detail-accent);
  box-shadow: none;
}

.detail-actions {
  display: grid;
  gap: 6px;
}

.detail-price {
  margin: 0;
  flex: 0 0 auto;
  color: var(--detail-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.detail-price span {
  color: var(--detail-muted);
  opacity: 1;
  font-size: inherit;
  font-weight: 500;
}

.add-color {
  width: 100%;
  min-height: 50px;
  gap: 10px;
  border: 0;
  background: var(--detail-accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 0 18px;
  box-shadow: 0 16px 32px rgb(241 100 30 / 20%);
}

.add-color-copy {
  display: grid;
  justify-items: center;
  line-height: 1.1;
  text-align: center;
}

.add-color-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.add-color-copy strong {
  color: inherit;
  font: inherit;
}

.add-pack-note {
  margin: 0;
  color: var(--detail-muted);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
  opacity: 0.82;
  text-align: center;
}

.quote {
  width: min(100%, 343px);
  margin-inline: auto;
  border: 1px solid #ebe8e2;
  border-radius: 18px;
  background: #ffffff;
  color: #1a1714;
  padding: 12px 18px 18px;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  box-shadow: var(--shadow);
  content-visibility: auto;
  contain-intrinsic-size: 550px;
}

.quote-heading {
  margin-bottom: 18px;
}

.quote-heading h2 {
  margin: 0;
  color: #1a1714;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.quote-form {
  display: grid;
  gap: 14px;
}

.product-summary {
  display: grid;
  gap: 9px;
  margin-bottom: 4px;
  border: 1px solid #ebe8e2;
  border-radius: 12px;
  background: #faf8f4;
  padding: 12px;
}

.product-summary[hidden],
.product-summary-empty[hidden] {
  display: none;
}

.summary-head {
  display: flex;
  min-height: 20px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.summary-head span {
  color: #7a716a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.summary-head em {
  color: #c44e0b;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.summary-line {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.summary-dots {
  display: flex;
  align-items: center;
  padding-left: 2px;
}

.summary-dots span {
  width: 22px;
  height: 22px;
  margin-left: -7px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--summary-dot);
  box-shadow: 0 3px 8px rgb(26 23 20 / 13%);
}

.summary-dots span:first-child {
  margin-left: 0;
}

.summary-line strong {
  min-width: 0;
  overflow: hidden;
  color: #2c2622;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-line b {
  color: #c44e0b;
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
}

.product-summary-empty {
  display: grid;
  gap: 10px;
  margin-bottom: 4px;
  border: 1px solid #ebe8e2;
  border-radius: 12px;
  background: #faf8f4;
  padding: 12px;
}

.product-summary-empty p {
  margin: 0;
  color: #7a716a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.product-summary-empty button {
  width: max-content;
  min-height: 34px;
  border: 1px solid #ebe8e2;
  border-radius: 999px;
  background: #ffffff;
  color: #c44e0b;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 700;
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: #1a1714;
}

.field-label {
  display: inline-flex;
  align-items: baseline;
  color: #1a1714;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.05px;
  line-height: 1.2;
}

.field-label b {
  margin-left: 2px;
  color: #e8631a;
  font-size: inherit;
  font-weight: inherit;
}

.field-label small {
  margin-left: 6px;
  color: #9b938b;
  font: inherit;
  text-transform: lowercase;
}

.quote-form input,
.quote-form textarea,
.country-chip {
  width: 100%;
  border: 1px solid #ebe8e2;
  border-radius: 10px;
  background: #ffffff;
  color: #1a1714;
  outline: none;
}

.quote-form input {
  min-height: 42px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
}

.quote-form textarea {
  min-height: 64px;
  resize: none;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: #9b938b;
  opacity: 1;
}

.phone-field {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid #ebe8e2;
  border-radius: 10px;
  background: #ffffff;
}

.country-chip {
  position: relative;
  border: 0;
  border-right: 1px solid #ebe8e2;
  border-radius: 0;
  background: #faf8f4;
}

.country-chip::after {
  position: absolute;
  top: 50%;
  right: 10px;
  border-top: 5px solid #7a716a;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
  pointer-events: none;
  transform: translateY(-25%);
}

.country-chip select {
  width: 100%;
  min-height: 40px;
  appearance: none;
  border: 0;
  background: transparent;
  color: #1a1714;
  outline: none;
  padding: 0 23px 0 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.phone-field input {
  min-width: 0;
  border: 0;
  border-radius: 0;
}

.quote-form input:focus,
.quote-form textarea:focus,
.phone-field:focus-within,
.quantity-row:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgb(241 100 30 / 13%);
}

.whatsapp-submit,
.whatsapp-link {
  border: 0;
  background: var(--green);
  box-shadow: 0 2px 8px rgb(37 211 102 / 25%);
}

.quote .whatsapp-submit {
  gap: 10px;
  min-height: 50px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.quote .whatsapp-submit svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quote .whatsapp-submit:disabled {
  cursor: not-allowed;
  background: #d9d4cd;
  box-shadow: none;
}

.whatsapp-submit:hover,
.whatsapp-link:hover {
  background: var(--green-dark);
}

.quote .whatsapp-submit:not(:disabled):hover {
  background: #20bc5a;
}

.quote-reassurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: -2px 0 0;
  color: #7a716a;
  font-size: 11px;
  font-weight: 500;
}

.quote-reassurance svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.form-status {
  min-height: 0;
  margin: -5px 0 0;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.form-status:empty {
  display: none;
}

.quote-success {
  display: grid;
  gap: 10px;
  border: 1px solid #dbe7db;
  border-radius: 14px;
  background: #f4fbf4;
  padding: 14px;
  text-align: center;
}

.quote-success[hidden] {
  display: none;
}

.quote-success strong {
  color: #1a1714;
  font-size: 16px;
  font-weight: 700;
}

.quote-success p {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0;
  color: #7a716a;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.quote-success b {
  color: #1a1714;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0;
}

.quote-success .whatsapp-link {
  width: 100%;
  min-height: 44px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}

.quote-sticky {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: none;
  margin-inline: 0;
  border: 1px solid #ebe8e2;
  background: #ffffff;
  padding: 10px 16px;
  box-shadow: 0 -2px 18px rgb(26 23 20 / 10%);
  color: #1a1714;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.quote-sticky[hidden] {
  display: none;
}

.quote-sticky-list,
.quote-sticky-cta {
  border: 0;
}

.quote-sticky-list {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  color: inherit;
  padding: 0;
  text-align: left;
}

.quote-sticky-list > span {
  margin-bottom: 2px;
  color: #7a716a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.6px;
  line-height: 1;
  text-transform: uppercase;
}

.quote-sticky-list strong {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.quote-sticky-list strong svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  align-self: center;
  margin-left: 6px;
  fill: none;
  stroke: #7a716a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.quote-sticky-list b,
.quote-sticky-list em {
  font-size: 15px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.quote-sticky-list b {
  color: #1a1714;
}

.quote-sticky-list em {
  color: #c44e0b;
}

.quote-sticky-separator {
  margin-inline: 4px;
  color: #cfc8be;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.quote-sticky-cta {
  display: inline-flex;
  max-width: 100%;
  height: 38px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: #e8631a;
  color: #ffffff;
  padding: 0 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.1px;
  white-space: nowrap;
}

.quote-sticky-cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgb(47 41 51 / 28%);
  backdrop-filter: blur(2px);
}

.sheet-backdrop[hidden],
.quote-sheet[hidden] {
  display: none;
}

.quote-sheet {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  display: grid;
  width: 100%;
  max-height: min(84vh, 720px);
  gap: 0;
  overflow: auto;
  border: 1px solid #ebe8e2;
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  background: #ffffff;
  color: #1a1714;
  padding: 8px 18px max(18px, env(safe-area-inset-bottom));
  box-shadow: 0 -10px 30px rgb(26 23 20 / 8%);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  transform: none;
}

.sheet-handle {
  width: 40px;
  height: 4px;
  justify-self: center;
  margin-bottom: 15px;
  border-radius: 2px;
  background: #ebe8e2;
}

.sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.sheet-header h2 {
  margin: 0;
  color: #1a1714;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.sheet-rule {
  display: inline-block;
  margin-top: 4px;
  border-radius: 8px;
  background: #faf8f4;
  color: #7a716a;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.sheet-header p {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 5px 0 0;
  color: #7a716a;
  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1.3;
}

.sheet-header p strong {
  color: inherit;
  font: inherit;
}

.sheet-header i,
.sheet-totals i {
  color: #cfc8be;
  font-style: normal;
}

.sheet-close {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #faf8f4;
  color: #1a1714;
  padding: 0;
}

.sheet-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.quote-items {
  display: grid;
}

.quote-empty {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  padding: 18px;
  font-weight: 850;
}

.quote-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px 12px;
  align-items: start;
  padding: 12px 0;
}

.quote-item::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 68px;
  height: 1px;
  background: #f3efe9;
  content: "";
}

.quote-item:last-child::after {
  display: none;
}

.quote-item img {
  width: 56px;
  height: 56px;
  grid-row: span 2;
  border-radius: 10px;
  background: #faf8f4;
  object-fit: contain;
}

.quote-item-copy {
  min-width: 0;
  grid-column: 2;
}

.quote-item-head {
  display: flex;
  min-width: 0;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.quote-item h3 {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #1a1714;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-item-subtotal {
  flex: 0 0 auto;
  color: #1a1714;
  font-size: 15px;
  font-style: normal;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.25;
}

.quote-item p {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 4px 0 0;
  color: #7a716a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
}

.quote-item p span {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #ebe8e2;
}

.quote-item p i {
  color: #cfc8be;
  font-style: normal;
}

.quote-item-controls {
  display: flex;
  grid-column: 2;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quantity-row {
  display: grid;
  width: max-content;
  grid-template-columns: 32px 38px 32px;
  height: 32px;
  min-height: 32px;
  overflow: hidden;
  border: 1px solid #ebe8e2;
  border-radius: 8px;
  background: #ffffff;
}

.quantity-row button,
.quantity-row input {
  border: 0;
  background: #ffffff;
  color: #1a1714;
  padding: 0;
  text-align: center;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.quantity-row button {
  color: #7a716a;
  font-size: 16px;
}

.quantity-row button:last-child {
  color: #c44e0b;
}

.quantity-row input {
  min-width: 0;
  min-height: 30px;
  border-inline: 1px solid #ebe8e2;
  outline: none;
  font-size: 13px;
}

.quantity-row input::-webkit-outer-spin-button,
.quantity-row input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}

.quantity-row input[type="number"] {
  -moz-appearance: textfield;
}

.quote-remove {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border: 0;
  background: transparent;
  color: #9b938b;
  margin-left: auto;
  padding: 0;
}

.quote-remove svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.sheet-footer {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.sheet-totals {
  display: grid;
  gap: 4px;
  border-radius: 12px;
  background: #faf8f4;
  padding: 14px 16px;
}

.sheet-totals strong {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #1a1714;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.sheet-totals b {
  color: #c44e0b;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.sheet-totals p {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: #7a716a;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}

.sheet-footer button {
  display: inline-flex;
  width: 100%;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: #e8631a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgb(232 99 26 / 25%);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.1px;
}

.sheet-footer button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

@media (max-width: 520px) {
  .hero-copy {
    display: block;
  }

  .hero-points {
    gap: 0;
  }

  .hero-points p {
    min-height: auto;
    gap: 6px;
    border-radius: 0;
    padding-inline: 0;
    font-size: clamp(0.73rem, 3.45vw, 0.92rem);
  }
}

@media (max-width: 380px) {
  .hero-points p {
    font-size: 0.72rem;
  }

  .hero-points p + p::before {
    margin-inline: 8px;
  }
}

@media (max-width: 340px) {
  .quote-sticky {
    gap: 6px;
    padding-inline: 8px;
  }

  .quote-sticky-list b,
  .quote-sticky-list em {
    font-size: 14px;
  }

  .quote-sticky-list strong svg {
    margin-left: 4px;
  }

  .quote-sticky-cta {
    height: 36px;
    gap: 6px;
    padding-inline: 12px;
    font-size: 13px;
  }
}

@media (min-width: 720px) {
  .hero,
  main {
    width: min(calc(100% - 64px), 820px);
  }

  .hero {
    padding-top: 28px;
  }

  .product-tabs {
    border-inline: 0;
    border-radius: 16px;
    overflow: hidden;
  }

  .style-detail {
    padding: 28px;
  }

  .style-rail-wrap {
    margin-inline: 0;
  }

  .style-rail {
    padding-inline: 0;
    scroll-padding-inline: 0;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
