:root {
  --black: #11100f;
  --panel: rgba(22, 19, 18, 0.74);
  --panel-soft: rgba(255, 250, 246, 0.08);
  --cream: #fff8f1;
  --cream-soft: #e9ddd6;
  --muted: #a99b94;
  --salmon: #ee9d95;
  --salmon-strong: #e5857c;
  --ink: #171211;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--cream);
  margin: 0;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -48%) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(17, 16, 15, 0.72);
  color: var(--cream);
  display: grid;
  gap: 18px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 10px clamp(16px, 4vw, 46px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

.brand {
  align-items: center;
  background: rgba(255, 248, 241, 0.075);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 248, 241, 0.08);
  display: grid;
  height: 54px;
  overflow: hidden;
  place-items: center;
  width: 78px;
}

.brand img {
  filter: drop-shadow(0 10px 22px rgba(238, 157, 149, 0.18));
  max-height: 48px;
  object-fit: contain;
  width: 58px;
}

.site-nav {
  background: rgba(255, 248, 241, 0.08);
  border-radius: 999px;
  display: flex;
  gap: 4px;
  justify-self: center;
  min-width: 0;
  padding: 5px;
}

.site-nav a {
  border-radius: 999px;
  color: #f4e7df;
  font-size: 14px;
  font-weight: 800;
  padding: 10px 14px;
  white-space: nowrap;
}

.site-nav a:hover {
  background: rgba(255, 248, 241, 0.1);
}

.header-cta,
.primary-action,
.secondary-action,
.card-foot button,
.card-foot a {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.header-cta,
.primary-action,
.card-foot button,
.card-foot a.quote-card-action {
  background: var(--salmon);
  color: #251211;
}

.header-cta:hover,
.primary-action:hover,
.card-foot button:hover,
.card-foot a:hover,
.modal-feature-info button:hover {
  box-shadow: 0 18px 44px rgba(238, 157, 149, 0.22);
  transform: translateY(-1px);
}

.secondary-action {
  background: rgba(255, 248, 241, 0.1);
  color: var(--cream);
}

.hero {
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
  padding: clamp(112px, 15vw, 178px) clamp(18px, 5vw, 72px) clamp(28px, 5vw, 56px);
  position: relative;
}

.hero-bg,
.hero-shade {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-bg {
  object-fit: cover;
  z-index: -3;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(17, 16, 15, 0.9) 0%, rgba(17, 16, 15, 0.66) 42%, rgba(17, 16, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(17, 16, 15, 0.34), rgba(17, 16, 15, 0.78));
  z-index: -2;
}

.hero-content {
  animation: riseIn 620ms ease both;
  max-width: 820px;
}

.eyebrow {
  color: var(--salmon);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(46px, 7.6vw, 116px);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 24px;
  max-width: 980px;
}

.lead {
  color: var(--cream-soft);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.45;
  margin-bottom: 30px;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  animation: riseIn 700ms 120ms ease both;
  backdrop-filter: blur(22px);
  background: rgba(18, 16, 15, 0.64);
  border-radius: 26px;
  bottom: clamp(22px, 5vw, 60px);
  box-shadow: var(--shadow);
  padding: 18px;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  width: min(340px, calc(100% - 36px));
}

.panel-top {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.panel-top span {
  background: rgba(255, 248, 241, 0.18);
  border-radius: 999px;
  height: 8px;
  width: 40px;
}

.panel-top span:first-child {
  background: var(--salmon);
}

.panel-stat {
  margin-bottom: 18px;
}

.panel-stat strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  margin-bottom: 8px;
}

.panel-stat small {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list button {
  background: rgba(255, 248, 241, 0.08);
  border-radius: 14px;
  color: var(--cream);
  font-weight: 800;
  min-height: 44px;
  padding: 0 14px;
  text-align: left;
}

.catalog-section {
  background:
    radial-gradient(circle at 74% 12%, rgba(238, 157, 149, 0.24), transparent 34%),
    #151211;
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.section-copy {
  animation: riseIn 520ms ease both;
}

.section-copy {
  margin-bottom: 30px;
  max-width: 860px;
}

.section-copy h2,
.custom-flow h2,
.final-cta h2,
.order-section h2 {
  font-size: clamp(36px, 5vw, 78px);
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 0;
}

.product-browser {
  animation: riseIn 640ms 80ms ease both;
  backdrop-filter: blur(26px);
  background: rgba(255, 248, 241, 0.06);
  border-radius: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: 84px minmax(0, 1fr);
  overflow: hidden;
  padding: 16px;
}

.browser-sidebar {
  align-items: center;
  background: rgba(8, 7, 7, 0.38);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  padding: 18px 8px;
  position: relative;
}

.browser-sidebar img {
  margin-bottom: 20px;
  max-height: 46px;
  object-fit: contain;
  width: 48px;
}

.sidebar-item {
  align-items: center;
  background: rgba(255, 248, 241, 0.08);
  border-radius: 18px;
  color: var(--cream-soft);
  display: grid;
  font-size: 12px;
  font-weight: 900;
  height: 46px;
  justify-items: center;
  padding: 0;
  position: relative;
  width: 46px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.sidebar-item:hover {
  transform: translateX(2px);
}

.sidebar-item.active {
  background: var(--salmon);
  color: #24110f;
}

.sidebar-item span {
  align-items: center;
  display: inline-flex;
  font-size: 12px;
  justify-content: center;
  line-height: 1;
  text-transform: uppercase;
}

.sidebar-item strong {
  background: rgba(17, 16, 15, 0.92);
  border-radius: 999px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  color: var(--cream);
  left: calc(100% + 10px);
  opacity: 0;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
  z-index: 5;
}

.sidebar-item:hover strong,
.sidebar-item:focus-visible strong {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.product-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  animation: riseIn 440ms ease both;
  background: linear-gradient(180deg, rgba(117, 82, 76, 0.64), rgba(18, 16, 15, 0.86));
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 20px;
  overflow: hidden;
  transition: background 180ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.product-card:hover {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  transform: translateY(-3px);
}

.product-card.featured {
  background: linear-gradient(180deg, rgba(238, 157, 149, 0.22), rgba(12, 11, 11, 0.52));
}

.product-visual {
  align-items: center;
  background: rgba(255, 248, 241, 0.04);
  border-radius: 28px;
  display: grid;
  aspect-ratio: 1 / 1;
  height: auto;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 0;
  place-items: center;
  width: 100%;
}

.product-image {
  border-radius: 28px;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 260ms ease;
  width: 100%;
}

.shirt-preview {
  border-radius: 28px;
  height: 100%;
  position: relative;
  width: 100%;
}

.shirt-preview::before {
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.14), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
  border-radius: 28px 28px 18px 18px;
  content: "";
  height: 92px;
  left: 50%;
  position: absolute;
  top: 22px;
  transform: translateX(-50%);
  width: 86px;
}

.product-card,
.base-card {
  cursor: pointer;
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.black-shirt {
  background: linear-gradient(135deg, #2b2928, #0e0d0d);
}

.cream-shirt {
  background: linear-gradient(135deg, #f3e6dc, #bfaea5);
}

.salmon-shirt {
  background: linear-gradient(135deg, #f1a49b, #9f514c);
}

.custom-shirt {
  background: linear-gradient(135deg, #2d2725, #e6938b);
}

.product-card small {
  color: var(--salmon);
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--muted);
  line-height: 1.48;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 16px;
}

.tag-row span {
  background: rgba(255, 248, 241, 0.08);
  border-radius: 999px;
  color: #d9cac2;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 9px;
}

.card-foot {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: auto;
  min-height: 44px;
}

.card-foot span {
  color: var(--cream-soft);
  flex: 0 0 auto;
  font-weight: 850;
}

.card-foot button {
  flex: 0 1 auto;
  min-height: 40px;
  padding: 0 14px;
  white-space: nowrap;
}

.custom-flow {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(238, 157, 149, 0.12), transparent 42%),
    #0f0e0e;
  display: grid;
  gap: clamp(26px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-list article {
  align-items: center;
  background: rgba(255, 248, 241, 0.07);
  border-radius: 24px;
  display: grid;
  gap: 18px;
  grid-template-columns: 58px minmax(0, 1fr);
  padding: 20px;
}

.flow-list span {
  color: var(--salmon);
  font-weight: 900;
}

.flow-list p {
  color: var(--cream-soft);
  line-height: 1.5;
  margin-bottom: 0;
}

.final-cta {
  align-items: center;
  background: #171211;
  display: grid;
  gap: 24px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 36px clamp(18px, 5vw, 72px);
}

.final-cta img {
  max-height: 68px;
  object-fit: contain;
  width: 72px;
}

.gallery-modal {
  display: none;
  inset: 0;
  position: fixed;
  z-index: 60;
}

.gallery-modal.open {
  display: block;
}

.modal-backdrop {
  animation: fadeIn 180ms ease both;
  backdrop-filter: blur(18px);
  background:
    radial-gradient(circle at 70% 10%, rgba(238, 157, 149, 0.28), transparent 34%),
    rgba(11, 9, 9, 0.78);
  inset: 0;
  position: absolute;
}

.modal-shell {
  animation: modalIn 240ms ease both;
  background:
    linear-gradient(135deg, rgba(238, 157, 149, 0.16), transparent 32%),
    rgba(18, 15, 15, 0.92);
  border-radius: 34px;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.55);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.62fr) minmax(360px, 1.38fr);
  left: 50%;
  max-height: calc(100vh - 34px);
  max-width: 1320px;
  overflow: auto;
  padding: 22px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 34px);
}

.modal-close {
  align-items: center;
  background: rgba(255, 248, 241, 0.12);
  border-radius: 999px;
  color: var(--cream);
  display: inline-flex;
  font-size: 24px;
  font-weight: 850;
  height: 46px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 46px;
  z-index: 2;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.modal-close:hover {
  background: var(--salmon);
  color: #24110f;
  transform: scale(1.04);
}

.modal-copy {
  align-self: center;
  padding: 28px 6px 18px;
}

.modal-copy h2 {
  font-size: clamp(34px, 4.4vw, 70px);
  line-height: 0.95;
  margin-bottom: 16px;
}

.modal-copy p:not(.eyebrow) {
  color: var(--cream-soft);
  line-height: 1.55;
}

.modal-feature {
  align-content: stretch;
  background: rgba(255, 248, 241, 0.06);
  border-radius: 28px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.modal-feature img {
  aspect-ratio: 3 / 4;
  background: rgba(0, 0, 0, 0.24);
  border-radius: 24px;
  height: min(52vh, 560px);
  object-fit: contain;
  width: 100%;
}

.design-copy {
  background: rgba(255, 248, 241, 0.07);
  border-radius: 22px;
  padding: 16px;
}

.design-copy strong {
  display: block;
  font-size: 20px;
  margin-bottom: 8px;
}

.design-copy p {
  color: var(--cream-soft);
  line-height: 1.45;
  margin: 0;
}

.modal-feature-info {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.modal-feature-info span {
  color: var(--cream-soft);
  font-weight: 900;
}

.modal-feature-info button {
  background: var(--salmon);
  border-radius: 999px;
  color: #24110f;
  flex: 0 1 auto;
  font-weight: 900;
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}

.design-grid {
  align-content: start;
  display: grid;
  gap: 12px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(8, minmax(96px, 1fr));
  padding-right: 2px;
}

.design-tile {
  background: rgba(255, 248, 241, 0.06);
  border-radius: 22px;
  color: var(--cream);
  min-height: 146px;
  overflow: hidden;
  padding: 10px;
  position: relative;
  text-align: left;
  transition: background 180ms ease, transform 180ms ease;
}

.design-tile:hover {
  transform: translateY(-2px);
}

.design-tile.active {
  background: rgba(238, 157, 149, 0.22);
}

.design-tile img {
  border-radius: 16px;
  height: 98px;
  object-fit: contain;
  width: 100%;
}

.design-tile strong {
  display: block;
  font-size: 14px;
  padding: 10px 6px 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.design-tile span {
  background: rgba(17, 16, 15, 0.72);
  border-radius: 999px;
  color: var(--salmon);
  font-size: 12px;
  font-weight: 900;
  left: 18px;
  padding: 6px 8px;
  position: absolute;
  top: 18px;
}

.design-tile strong {
  font-size: 12px;
  padding-top: 6px;
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: start;
    max-width: 100%;
    overflow-x: auto;
  }

  .header-cta {
    justify-self: end;
  }

  .hero {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-panel {
    margin-top: 40px;
    position: relative;
    right: auto;
    width: 100%;
  }

  .product-browser,
  .custom-flow,
  .final-cta,
  .modal-shell {
    grid-template-columns: 1fr;
  }

  .browser-sidebar {
    align-items: center;
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
  }

  .browser-sidebar img {
    display: none;
  }

  .sidebar-item {
    flex: 0 0 auto;
    height: 42px;
    min-width: 42px;
    width: auto;
  }

  .sidebar-item span {
    padding: 0 12px;
  }

  .sidebar-item strong {
    display: none;
  }

  .modal-shell {
    border-radius: 28px;
    max-height: calc(100dvh - 22px);
    padding: 18px;
    width: calc(100% - 22px);
  }

  .modal-close {
    height: 44px;
    right: 14px;
    top: 14px;
    width: 44px;
  }

  .modal-copy {
    padding: 54px 2px 4px;
  }

  .modal-feature img {
    height: min(46dvh, 460px);
  }

  .design-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .design-tile {
    flex: 0 0 132px;
    min-height: 148px;
  }

  .design-tile img {
    height: 94px;
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .card-foot,
  .final-cta {
    align-items: stretch;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .section-copy h2,
  .custom-flow h2,
  .final-cta h2 {
    font-size: clamp(34px, 12vw, 56px);
  }

  .site-header {
    gap: 10px;
    min-height: 70px;
    padding: 8px 14px;
  }

  .brand {
    height: 48px;
    width: 64px;
  }

  .brand img {
    max-height: 42px;
    width: 50px;
  }

  .site-nav {
    max-width: 100%;
    width: 100%;
  }

  .site-nav a {
    flex: 1 0 auto;
    text-align: center;
  }

  .catalog-section,
  .custom-flow {
    padding-left: 14px;
    padding-right: 14px;
  }

  .product-browser {
    border-radius: 26px;
    padding: 10px;
  }

  .product-card {
    border-radius: 28px;
    padding: 14px;
  }

  .product-visual,
  .product-image {
    border-radius: 22px;
  }

  .primary-action,
  .secondary-action,
  .header-cta,
  .card-foot button,
  .modal-feature-info button {
    width: 100%;
  }

  .card-foot {
    align-items: stretch;
  }
}

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


.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.card-foot.split-actions {
  align-items: flex-end;
}

.card-foot .ghost-card-action {
  background: rgba(255, 248, 241, 0.1);
  color: var(--cream);
}

.card-foot .quote-card-action {
  min-height: 40px;
  padding: 0 14px;
}

.flow-list article {
  align-items: start;
}

.flow-list article button {
  background: var(--salmon);
  border-radius: 999px;
  color: #24110f;
  font-weight: 900;
  min-height: 38px;
  padding: 0 14px;
  justify-self: start;
}

.order-section {
  align-items: start;
  background:
    radial-gradient(circle at 78% 18%, rgba(238, 157, 149, 0.22), transparent 34%),
    #171211;
  display: grid;
  gap: clamp(24px, 5vw, 68px);
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  padding: clamp(58px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

.order-copy img {
  margin-bottom: 24px;
  max-height: 74px;
  object-fit: contain;
  width: 82px;
}

.order-copy p:not(.eyebrow) {
  color: var(--cream-soft);
  line-height: 1.55;
  max-width: 540px;
}

.order-form {
  backdrop-filter: blur(22px);
  background: rgba(255, 248, 241, 0.07);
  border-radius: 30px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  padding: clamp(18px, 3vw, 28px);
}

.order-form label {
  display: grid;
  gap: 8px;
}

.order-form label span {
  color: var(--salmon);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-form select,
.order-form input,
.order-form textarea {
  background: rgba(17, 16, 15, 0.72);
  border: 1px solid rgba(255, 248, 241, 0.1);
  border-radius: 16px;
  color: var(--cream);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 0 14px;
  width: 100%;
}

.order-form textarea {
  line-height: 1.45;
  min-height: 116px;
  padding: 14px;
  resize: vertical;
}

.order-form select:focus,
.order-form input:focus,
.order-form textarea:focus {
  border-color: rgba(238, 157, 149, 0.72);
  box-shadow: 0 0 0 4px rgba(238, 157, 149, 0.12);
}

.order-row {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) 140px;
}

.design-tile em {
  background: var(--salmon);
  border-radius: 999px;
  color: #24110f;
  display: inline-flex;
  font-style: normal;
  font-weight: 900;
  justify-content: center;
  margin: 0 6px 4px;
  min-height: 30px;
  padding: 7px 10px;
  position: relative;
  z-index: 2;
}

@media (max-width: 820px) {
  .order-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .card-actions,
  .card-foot.split-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .card-actions button,
  .card-actions a,
  .order-form .primary-action {
    width: 100%;
  }

  .order-row {
    grid-template-columns: 1fr;
  }
}


.section-note {
  color: var(--cream-soft);
  line-height: 1.55;
  margin: 18px 0 0;
  max-width: 620px;
}

.personalize-actions {
  align-self: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (min-width: 821px) {
  .browser-sidebar {
    align-items: stretch;
    width: 168px;
  }

  .product-browser {
    grid-template-columns: 168px minmax(0, 1fr);
  }

  .sidebar-item {
    border-radius: 16px;
    gap: 8px;
    grid-template-columns: 1fr;
    height: auto;
    justify-items: start;
    min-height: 46px;
    padding: 0 14px;
    text-align: left;
    width: 100%;
  }

  .sidebar-item span {
    font-size: 13px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
  }

  .sidebar-item strong {
    display: none;
  }
}

@media (max-width: 820px) {
  .browser-sidebar {
    position: sticky;
    top: 128px;
    z-index: 4;
  }

  .sidebar-item {
    border-radius: 999px;
    min-width: auto;
    padding: 0 14px;
  }

  .sidebar-item span {
    font-size: 13px;
    max-width: none;
    padding: 0;
    text-transform: none;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .section-copy h2,
  .custom-flow h2,
  .final-cta h2,
  .order-section h2 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .lead {
    font-size: 17px;
  }

  .custom-flow,
  .order-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .personalize-actions {
    align-items: stretch;
    flex-direction: column;
    justify-content: stretch;
  }

  .personalize-actions a {
    width: 100%;
  }

  .order-copy img {
    max-height: 58px;
    width: 64px;
  }

  .order-form {
    border-radius: 24px;
    padding: 16px;
  }
}


/* Ajustes finos de móvil: pestañas claras, modal compacto y carrusel visible */
@media (max-width: 820px) {
  .product-browser {
    display: block;
    overflow: visible;
  }

  .browser-sidebar {
    background: rgba(17, 16, 15, 0.72);
    border-radius: 999px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    margin: 0 0 14px;
    overflow-x: auto;
    padding: 8px;
    position: relative;
    top: auto;
    z-index: 1;
    scrollbar-width: none;
  }

  .browser-sidebar::-webkit-scrollbar {
    display: none;
  }

  .sidebar-item {
    border-radius: 999px;
    flex: 0 0 auto;
    height: 44px;
    min-width: max-content;
    padding: 0 16px;
  }

  .sidebar-item:hover {
    transform: none;
  }

  .sidebar-item span {
    font-size: 13px;
    max-width: none;
    padding: 0;
    text-transform: none;
    white-space: nowrap;
  }

  .sidebar-item strong {
    display: none;
  }

  .modal-shell {
    align-content: start;
    border-radius: 24px;
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto minmax(104px, auto);
    max-height: calc(100dvh - 18px);
    overflow: hidden;
    padding: 12px;
    width: calc(100% - 18px);
  }

  .modal-copy {
    display: none;
  }

  .modal-feature {
    gap: 10px;
    padding: 10px;
  }

  .modal-feature img {
    height: clamp(255px, 43dvh, 390px);
  }

  .design-copy {
    border-radius: 18px;
    padding: 12px;
  }

  .design-copy strong {
    font-size: 19px;
    margin-bottom: 6px;
  }

  .design-copy p {
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.35;
    max-height: 58px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .modal-feature-info {
    gap: 8px;
  }

  .modal-feature-info button {
    min-height: 42px;
    width: 100%;
  }

  .design-grid {
    display: flex;
    gap: 10px;
    min-height: 116px;
    overflow-x: auto;
    padding: 0 2px 4px;
    scrollbar-width: none;
  }

  .design-grid::-webkit-scrollbar {
    display: none;
  }

  .design-tile {
    border-radius: 18px;
    flex: 0 0 112px;
    min-height: 112px;
    padding: 8px;
  }

  .design-tile img {
    border-radius: 13px;
    height: 72px;
  }

  .design-tile strong {
    font-size: 11px;
    line-height: 1.15;
    padding: 6px 3px 0;
  }

  .design-tile em {
    display: none;
  }

  .design-tile span {
    font-size: 10px;
    left: 12px;
    padding: 4px 6px;
    top: 12px;
  }
}

@media (max-width: 420px) {
  .modal-feature img {
    height: clamp(220px, 39dvh, 330px);
  }

  .design-copy p {
    -webkit-line-clamp: 2;
    max-height: 42px;
  }

  .design-grid {
    min-height: 104px;
  }

  .design-tile {
    flex-basis: 104px;
    min-height: 104px;
  }

  .design-tile img {
    height: 66px;
  }
}
