:root {
  --gold: #a9883f;
  --gold-strong: #c99936;
  --ink: #151515;
  --muted: #6f6b63;
  --line: #eee9df;
  --paper: #fffdf9;
  --soft: #f8f7f4;
  --shadow: 0 8px 22px rgba(31, 25, 15, 0.12);
  color-scheme: light;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background: #f0eee9;
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  width: min(100%, 392px);
  height: min(100vh - 22px, 806px);
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--paper);
  border: 9px solid #12100e;
  border-radius: 44px;
  box-shadow:
    0 0 0 2px #9b7a42,
    0 24px 64px rgba(31, 25, 15, 0.24);
  scrollbar-width: none;
}

.site-shell::-webkit-scrollbar {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 249, 0.97);
  backdrop-filter: blur(16px);
}

.brandbar {
  height: 74px;
  padding: 8px 18px 10px;
  display: grid;
  grid-template-columns: 44px 1fr 82px;
  align-items: center;
}

.brand {
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.92;
  color: #99752d;
  letter-spacing: 0;
}

.brand span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
}

.brand small {
  margin-top: 6px;
  padding-left: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 6px;
}

.desktop-nav {
  display: none;
}

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

.icon-button {
  width: 34px;
  height: 34px;
  padding: 0;
  position: relative;
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.icon-button svg,
.bottom-nav svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  width: 26px;
  height: 1.7px;
  display: block;
  background: currentColor;
  border-radius: 99px;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  top: 8px;
}

.badge {
  min-width: 17px;
  height: 17px;
  padding: 0 5px;
  position: absolute;
  top: -1px;
  right: -2px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: white;
  font-size: 10px;
  font-weight: 800;
}

.badge.is-empty {
  display: none;
}

.page {
  min-height: 640px;
  padding-bottom: 8px;
}

.hero {
  min-height: 246px;
  padding: 56px 22px 52px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 38%, rgba(255, 255, 255, 0.22) 62%, rgba(255, 255, 255, 0.02) 100%),
    url("assets/hero-perfumes.png");
  background-size: auto 112%;
  background-position: right -58px center;
}

.hero h1 {
  max-width: 178px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 37px;
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: 0;
}

.hero p {
  margin: 12px 0 21px;
  font-size: 17px;
  font-weight: 500;
}

.primary-button {
  min-height: 39px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: var(--gold-strong);
  color: white;
  box-shadow: 0 8px 16px rgba(169, 120, 34, 0.24);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.slider-dots span:first-child {
  background: var(--gold-strong);
}

.benefits {
  width: calc(100% - 36px);
  margin: -24px auto 25px;
  padding: 21px 11px 18px;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: white;
  border-radius: 11px;
  box-shadow: var(--shadow);
}

.benefit {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  text-align: center;
  color: var(--gold);
}

.benefit svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.45;
}

.benefit span {
  color: #151515;
  font-size: 9.3px;
  line-height: 1.28;
  text-transform: uppercase;
  font-weight: 850;
}

.section {
  padding: 0 18px 22px;
}

.section-head {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section h2,
.route-page h1 {
  margin: 0;
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0;
}

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 650;
}

.see-all svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.category-row,
.product-row {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar,
.product-row::-webkit-scrollbar {
  display: none;
}

.category-row {
  gap: 16px;
  padding: 1px 2px 6px;
}

.category-card {
  min-width: 112px;
  padding: 0;
  display: grid;
  justify-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  scroll-snap-align: start;
}

.category-photo {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: white;
  box-shadow:
    0 8px 17px rgba(31, 25, 15, 0.1),
    inset 0 0 0 1px rgba(169, 135, 58, 0.06);
}

.category-photo img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
}

.category-label {
  max-width: 112px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
  text-align: center;
}

.product-row {
  gap: 12px;
  padding: 1px 0 8px;
}

.product-card {
  min-width: 96px;
  max-width: 96px;
  min-height: 210px;
  padding: 10px 8px 11px;
  position: relative;
  border: 0;
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 20px rgba(31, 25, 15, 0.09);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
}

.favorite-button {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 8px;
  right: 6px;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.favorite-button svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.favorite-button.is-active svg {
  fill: currentColor;
}

.product-image {
  height: 104px;
  margin-bottom: 8px;
  display: grid;
  place-items: center;
}

.product-image img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.product-card h3 {
  min-height: 34px;
  margin: 0 0 5px;
  font-size: 12.5px;
  line-height: 1.17;
  font-weight: 700;
}

.price {
  margin: 0 0 2px;
  font-size: 16px;
  line-height: 1;
  font-weight: 850;
}

.installments {
  margin: 0;
  color: var(--gold);
  font-size: 10px;
  line-height: 1.15;
  font-weight: 650;
  white-space: nowrap;
}

.bottom-nav {
  position: sticky;
  bottom: 0;
  z-index: 30;
  height: 72px;
  padding: 6px 7px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid rgba(31, 25, 15, 0.08);
  box-shadow: 0 -9px 20px rgba(31, 25, 15, 0.08);
  backdrop-filter: blur(14px);
}

.bottom-nav a {
  min-width: 0;
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  color: #6f6d68;
  font-size: 9.6px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.bottom-nav a.is-active {
  color: var(--gold);
}

.bottom-nav svg {
  width: 26px;
  height: 26px;
}

.nav-badge {
  top: 4px;
  right: 16px;
}

.route-page {
  padding: 25px 18px 24px;
}

.route-page p {
  color: var(--muted);
  line-height: 1.45;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.grid-list .product-card {
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 256px;
}

.grid-list .product-image {
  height: 142px;
}

.grid-list .product-image img {
  max-height: 136px;
}

.grid-list .product-card h3 {
  min-height: 38px;
  font-size: 15px;
}

.cart-line {
  display: grid;
  grid-template-columns: 67px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 67px;
  height: 67px;
  object-fit: contain;
  background: white;
  border-radius: 8px;
}

.cart-line h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.cart-line p {
  margin: 0;
  color: var(--gold);
  font-weight: 850;
}

.qty {
  color: var(--muted);
  font-weight: 850;
}

.total-box,
.account-card,
.empty-state,
.detail-box {
  margin-top: 18px;
  padding: 17px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.total-box {
  display: grid;
  gap: 12px;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 850;
}

.order-card {
  display: grid;
  gap: 14px;
  padding: 17px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.order-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.order-head h2 {
  margin: 0;
  font-size: 20px;
}

.order-head > span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(169, 136, 63, 0.12);
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  text-align: center;
}

.order-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.order-meta p,
.order-note {
  margin: 0;
}

.order-items {
  display: grid;
  gap: 9px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-items div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font-size: 13px;
}

.order-items strong {
  color: var(--gold);
  white-space: nowrap;
}

.order-note {
  color: var(--muted);
  font-size: 12px;
}

.account-page {
  display: grid;
  gap: 16px;
}

.account-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.account-title span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(169, 136, 63, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.user-card,
.account-form,
.account-panel {
  padding: 17px;
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.user-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.user-avatar {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  font-size: 18px;
  font-weight: 850;
}

.eyebrow {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.user-card h2,
.account-panel h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.user-card p:last-child {
  margin: 6px 0 0;
  font-size: 13px;
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.account-stats a {
  min-height: 68px;
  padding: 12px 8px;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  text-align: center;
}

.account-stats strong {
  font-size: 20px;
  line-height: 1;
}

.account-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.account-form {
  display: grid;
  gap: 12px;
}

.account-form h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.form-field input {
  width: 100%;
  height: 45px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: var(--paper);
}

.form-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 136, 63, 0.12);
}

.account-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.form-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(169, 136, 63, 0.1);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.account-panel {
  display: grid;
  gap: 12px;
}

.account-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.account-row > svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.account-row strong,
.account-row small {
  display: block;
}

.account-row strong {
  font-size: 14px;
}

.account-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.row-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(169, 136, 63, 0.1);
  color: var(--gold);
}

.row-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.drawer,
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  background: rgba(17, 17, 17, 0);
  transition: background 180ms ease;
}

.drawer.is-open,
.search-modal.is-open {
  pointer-events: auto;
  background: rgba(17, 17, 17, 0.36);
}

.drawer-panel,
.search-panel {
  width: min(84vw, 330px);
  height: 100%;
  padding: 28px 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform 220ms ease;
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-brand {
  margin: 32px 0 28px;
  align-items: flex-start;
}

.drawer-panel a:not(.brand) {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 800;
}

.close-button {
  margin-left: auto;
}

.search-panel {
  width: min(100%, 392px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto;
  max-height: min(92vh, 760px);
  min-height: 300px;
  margin: 0 auto;
  overflow: hidden;
  transform: translateY(-100%);
}

.search-modal.is-open .search-panel {
  transform: translateY(0);
}

.search-panel label {
  display: block;
  margin: 18px 0 10px;
  font-size: 21px;
  font-weight: 850;
}

.search-panel input {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  outline: none;
  background: white;
}

.search-results {
  min-height: 0;
  margin-top: 14px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 4px;
}

.search-result {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
}

.search-result img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.detail-gallery {
  display: grid;
  gap: 10px;
}

.detail-gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 255px;
  background: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.detail-product {
  width: 100%;
  max-height: 255px;
  padding: 18px;
  object-fit: contain;
}

.detail-gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 44px;
  transform: translateY(-50%);
  color: #8f5f04;
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid rgba(201, 147, 44, 0.32);
  border-radius: 6px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.detail-gallery-arrow.is-prev {
  left: 10px;
}

.detail-gallery-arrow.is-next {
  right: 10px;
}

.detail-gallery-thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 4px;
}

.detail-gallery-thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.detail-gallery-thumb.is-selected {
  border-color: #c9932c;
  box-shadow: 0 0 0 2px rgba(246, 194, 26, 0.22);
}

.detail-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 48px;
  gap: 10px;
}

.fragrance-review {
  margin-top: 18px;
  padding: 22px;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.review-head {
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.review-head span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(169, 136, 63, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
}

.review-head p {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-head h2,
.review-grid h3 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
}

.review-description {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.review-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.9fr;
  gap: 18px;
  margin-top: 22px;
}

.review-notes,
.review-family,
.review-ideal {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.review-notes dl {
  display: grid;
  gap: 13px;
  margin: 15px 0 0;
}

.review-notes div {
  display: grid;
  gap: 4px;
}

.review-notes dt,
.review-family span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.review-notes dd {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.review-family {
  display: grid;
  align-content: start;
  gap: 12px;
  text-align: center;
}

.review-family strong {
  width: 132px;
  height: 132px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
  text-transform: uppercase;
}

.intensity-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.intensity-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(31, 25, 15, 0.14);
}

.intensity-dots span.is-active {
  background: var(--gold);
}

.review-family p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.review-ideal {
  display: grid;
  align-content: start;
  gap: 12px;
}

.review-ideal span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(169, 136, 63, 0.1);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

.secondary-button {
  min-height: 47px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  background: white;
  color: var(--gold);
  font-weight: 800;
}

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

  .review-family {
    text-align: left;
  }

  .review-family strong {
    width: 112px;
    height: 112px;
    margin: 0;
  }

  .intensity-dots {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  body {
    display: block;
    background: var(--paper);
  }

  .site-shell {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 360px) {
  .brandbar {
    grid-template-columns: 38px 1fr 74px;
    padding-inline: 13px;
  }

  .brand span {
    font-size: 28px;
  }

  .brand small {
    font-size: 9px;
    letter-spacing: 5px;
  }

  .hero h1 {
    max-width: 160px;
    font-size: 33px;
  }

  .benefits {
    width: calc(100% - 24px);
    gap: 4px;
    padding-inline: 8px;
  }

  .benefit span {
    font-size: 8.5px;
  }

  .category-row {
    gap: 12px;
  }

  .product-card {
    min-width: 91px;
    max-width: 91px;
  }
}

@media (min-width: 760px) {
  body {
    display: block;
    background: var(--paper);
  }

  .site-shell {
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .brandbar {
    width: 100%;
    height: 82px;
    margin: 0;
    padding-inline: clamp(24px, 4vw, 64px);
    grid-template-columns: 220px 1fr 88px;
    gap: 20px;
  }

  [data-open-menu] {
    display: none;
  }

  .brand {
    justify-self: start;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .desktop-nav a {
    min-height: 40px;
    padding: 10px 12px;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .desktop-nav svg {
    width: 21px;
    height: 21px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .desktop-cart-link {
    padding-right: 18px;
    color: var(--gold);
  }

  .desktop-cart-link .badge {
    top: 2px;
    right: 1px;
  }

  .desktop-nav a.is-active {
    background: rgba(169, 136, 63, 0.1);
    color: var(--gold);
  }

  .bottom-nav {
    display: none;
  }

  .page {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 0 clamp(24px, 4vw, 64px) 56px;
  }

  .hero {
    min-height: 370px;
    padding: 82px clamp(42px, 6vw, 88px);
    border-radius: 0;
    background-size: auto 122%;
    background-position: right clamp(24px, 8vw, 130px) center;
  }

  .hero h1 {
    max-width: 390px;
    font-size: 54px;
  }

  .hero p {
    font-size: 19px;
  }

  .benefits {
    width: calc(100% - 80px);
    max-width: 940px;
    margin-bottom: 34px;
  }

  .section,
  .route-page {
    padding-inline: 0;
  }

  .category-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    overflow: visible;
  }

  .category-card {
    min-width: 0;
  }

  .category-photo {
    width: 100%;
    max-width: 180px;
    height: 156px;
  }

  .category-photo img {
    width: 132px;
    height: 132px;
  }

  .category-label {
    max-width: 180px;
    font-size: 14px;
  }

  .product-row,
  .grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
    overflow: visible;
    gap: 18px;
  }

  .product-card,
  .grid-list .product-card {
    width: 100%;
    min-width: 0;
    max-width: none;
    min-height: 280px;
    padding: 16px;
  }

  .product-image,
  .grid-list .product-image {
    height: 150px;
  }

  .product-image img,
  .grid-list .product-image img {
    max-height: 142px;
  }

  .product-card h3,
  .grid-list .product-card h3 {
    font-size: 16px;
  }

  .route-page {
    max-width: none;
    margin: 0;
    padding-top: 36px;
  }

  .account-page {
    max-width: 860px;
  }

  .cart-line,
  .total-box,
  .order-card {
    max-width: 920px;
  }

  .account-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-form h2,
  .account-actions,
  .form-status {
    grid-column: 1 / -1;
  }

  .account-actions {
    grid-template-columns: minmax(0, 1fr) 160px;
  }

  .search-panel {
    width: min(100vw - 24px, 392px);
    max-height: calc(100vh - 18px);
    border-radius: 0 0 12px 12px;
  }
}


/* =========================================================
   CORRECCIONES RESTAURADAS PARA HOSTINGER
   No elimina navegación, categorías ni catálogo.
   ========================================================= */

img {
  max-width: 100%;
  height: auto;
}

html,
body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.page {
  overflow-x: hidden;
}

/* Fondo seguro si la imagen hero no carga */
.hero {
  background-color: #f7f2e8;
}

/* Ajuste para que en PC no quede como celular descuadrado */
@media (min-width: 760px) {
  .site-shell {
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .hero {
    min-height: 320px;
  }
}

/* Ajuste de legibilidad en tarjetas */
.product-card img,
.category-card img {
  max-width: 100%;
  object-fit: contain;
}

/* Botón eliminar para carrito */
.remove-cart-button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--gold);
  border-radius: 5px;
  background: white;
  color: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

.cart-actions {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.checkout-page {
  display: grid;
  gap: 22px;
}

.checkout-title,
.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 8px;
  background: #ededed;
}

.checkout-title h1,
.checkout-section-title h2 {
  margin: 0;
  color: #111;
  font-size: 29px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.checkout-title span,
.checkout-section-title span,
.checkout-summary-head span {
  min-width: 48px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: white;
  color: #111;
  font-weight: 850;
}

.checkout-cart-line {
  grid-template-columns: 116px 1fr auto;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: none;
}

.checkout-cart-line img {
  width: 96px;
  height: 96px;
}

.cart-line-info {
  display: grid;
  gap: 8px;
}

.cart-brand {
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-line-info h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
}

.cart-line-info a,
.continue-link,
.choice-row a {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-line-info p {
  color: #111;
  font-size: 22px;
  font-weight: 900;
}

.checkout-cart-line .cart-actions {
  grid-template-columns: 46px 46px 46px auto;
  align-items: center;
  justify-items: center;
}

.checkout-cart-line .remove-cart-button {
  border-color: #eee;
  color: #111;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
  text-align: center;
}

.checkout-steps span {
  color: #111;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-panel,
.checkout-summary-card,
.gift-box {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.choice-row,
.gift-box {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #444;
  font-size: 19px;
  line-height: 1.35;
}

.delivery-options {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.pickup-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(169, 136, 63, 0.35);
  border-radius: 6px;
  background: rgba(169, 136, 63, 0.08);
  color: #2a2116;
  line-height: 1.35;
}

.checkout-terms {
  padding-block: 18px;
}

.terms-details {
  margin-top: 14px;
}

.terms-details summary {
  cursor: pointer;
  color: #8f5f04;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.terms-details iframe {
  width: 100%;
  height: min(420px, 62vh);
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fffdf8;
}

.visitor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
  color: #6f6d68;
  font-size: 12px;
  font-weight: 750;
}

.visitor-row span {
  padding: 7px 9px;
  border-radius: 999px;
  background: #f3f3f3;
}

.choice-row input {
  width: 24px;
  height: 24px;
  accent-color: #111;
}

.gift-box svg,
.shipping-free svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.gift-box button {
  width: 34px;
  height: 34px;
  margin-left: auto;
  border: 1px solid #111;
  border-radius: 50%;
  background: white;
  color: #111;
  font-size: 21px;
}

.checkout-summary {
  display: grid;
  gap: 16px;
}

.checkout-summary-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-radius: 8px;
  background: #111;
  color: white;
  font-size: 29px;
  font-weight: 950;
  text-transform: uppercase;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 12px;
}

.coupon-row input {
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 17px;
}

.coupon-row button {
  border: 0;
  border-radius: 8px;
  background: #111;
  color: white;
  font-weight: 850;
}

.checkout-summary-card {
  display: grid;
  gap: 18px;
}

.shipping-free {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: center;
  color: #111;
}

.shipping-free span {
  padding-top: 14px;
  border-top: 4px solid #111;
}

.summary-product {
  display: grid;
  grid-template-columns: 78px 28px 1fr;
  gap: 14px;
  align-items: start;
}

.summary-product img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.summary-product > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: white;
  font-size: 13px;
  font-weight: 850;
}

.summary-product strong {
  color: #111;
  font-size: 15px;
  text-transform: uppercase;
}

.summary-product p {
  margin: 10px 0 0;
  color: #111;
  font-size: 18px;
  font-weight: 900;
}

.summary-row {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  color: #555;
  font-size: 18px;
}

.summary-row.is-total {
  color: #111;
  font-weight: 900;
}

.checkout-bottom {
  position: sticky;
  bottom: 0;
  z-index: 8;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
}

.checkout-bottom .primary-button {
  width: 100%;
  background: #111;
  text-transform: none;
}

@media (max-width: 620px) {
  .checkout-title,
  .checkout-section-title,
  .checkout-summary-head {
    padding: 20px 18px;
  }

  .checkout-title h1,
  .checkout-section-title h2,
  .checkout-summary-head {
    font-size: 24px;
  }

  .checkout-cart-line {
    grid-template-columns: 104px 1fr;
  }

  .checkout-cart-line .cart-actions {
    grid-column: 2;
    grid-template-columns: 42px 42px 42px;
    justify-content: start;
  }

  .checkout-cart-line [data-remove-cart] {
    grid-column: 1 / -1;
    width: max-content;
  }

  .form-grid,
  .coupon-row {
    grid-template-columns: 1fr;
  }
}
