:root {
  --navy: #12294e;
  --ink: #11223e;
  --blue: #33598a;
  --gold: #b59144;
  --ice: #f1f6fc;
  --line: #d8e0ea;
  --white: #fff;
  --muted: #69778b;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
button {
  border: 0;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
}
.announcement {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 12px;
  letter-spacing: 0.6px;
}
.announcement a {
  margin-left: 16px;
  color: #eddbab;
}
header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  border-bottom: 1px solid var(--line);
  gap: 30px;
  background: #f5f8fc;
}
.logo {
  text-align: center;
  display: block;
  min-width: 140px;
}
.logo b {
  display: block;
  font: 48px/0.85 Georgia;
  font-weight: 400;
  letter-spacing: -11px;
  padding-right: 8px;
}
.logo b span {
  position: relative;
  top: 9px;
  font-size: 40px;
}
.logo small {
  display: block;
  font-size: 8px;
  letter-spacing: 3px;
  margin-top: 16px;
}
nav {
  display: flex;
  gap: 29px;
  font-size: 14px;
}
nav a {
  padding: 9px 0;
  position: relative;
}
nav a.active:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--gold);
  bottom: 0;
  left: 0;
  right: 0;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  background: none;
  display: grid;
  place-items: center;
  font-size: 32px;
  width: 30px;
  height: 40px;
  color: var(--navy);
}
.bag {
  position: relative;
}
.bag span {
  position: absolute;
  right: -7px;
  top: 0;
  background: var(--gold);
  color: #fff;
  border-radius: 50%;
  font: 10px/17px Arial;
  width: 17px;
  text-align: center;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow:before {
  content: "";
  width: 27px;
  height: 1px;
  background: var(--gold);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
.editorial {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: clamp(50px, 5.6vw, 86px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin: 25px 0;
}
h2 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 22px;
}
h1 em,
h2 em {
  color: var(--blue);
  font-weight: 400;
}
p {
  color: var(--muted);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 14px 24px;
  min-height: 49px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.2px;
  border: 1px solid var(--navy);
  transition: 0.2s;
}
.btn:hover {
  background: #294c7c;
  transform: translateY(-1px);
}
.btn.light {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}
.btn.white {
  background: white;
  color: var(--navy);
  border-color: white;
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}
.brand-strip {
  padding: 25px 6%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #60718b;
  gap: 20px;
  flex-wrap: wrap;
  font: 20px Georgia;
  letter-spacing: 1px;
}
.brand-strip small {
  font: 10px var(--sans);
  letter-spacing: 1.7px;
  width: 140px;
}
.section {
  max-width: 1440px;
  margin: auto;
  padding: 76px 6%;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
  gap: 20px;
}
.section-head h2 {
  margin: 14px 0 0;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}
.card {
  background: white;
  position: relative;
  min-width: 0;
}
.card-image {
  height: 260px;
  background: #e9eff5;
  display: block;
  width: 100%;
  padding: 18px;
  position: relative;
  color: var(--navy);
  overflow: hidden;
}
.card:nth-child(3n + 2) .card-image {
  background: #e8edf0;
}
.card:nth-child(3n) .card-image {
  background: #ecece9;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s;
  filter: drop-shadow(0 12px 8px #1c293416);
}
.card-image:hover img {
  transform: scale(1.065);
}
.badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: #fffdf9e8;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 4px 9px;
  z-index: 1;
}
.badge.sale {
  background: var(--gold);
  color: white;
}
.card-info {
  padding: 20px;
}
.brand {
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.card h3 {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.15;
  margin: 6px 0 15px;
  font-weight: 500;
  min-height: 53px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}
.money {
  font-weight: 600;
  font-size: 17px;
}
.old {
  font-size: 12px;
  text-decoration: line-through;
  color: var(--muted);
  margin-right: 7px;
}
.size-options {
  display: flex;
  gap: 7px;
}
.size-options button {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 5px 13px;
  background: white;
  color: var(--muted);
}
.size-options button.selected {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--ice);
}
.add {
  width: 38px;
  height: 38px;
  background: var(--navy);
  color: white;
  font-size: 24px;
  line-height: 1;
}
.pack-banner {
  margin-top: 75px;
  background: var(--navy);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 350px;
  overflow: hidden;
}
.pack-copy {
  padding: 48px;
}
.pack-copy h2 {
  margin: 19px 0;
}
.pack-copy p {
  color: #b6c5d8;
  font-size: 14px;
  max-width: 380px;
}
.pack-copy .eyebrow {
  color: #e0c78d;
}
.pack-pics {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background: radial-gradient(ellipse, #345270, transparent 68%);
}
.pack-pics img {
  width: 42%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 20px 9px #0004);
}
.pack-pics img + img {
  margin-left: -10%;
  margin-top: 60px;
}
.steps {
  background: white;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.step-grid article {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.step-grid b {
  color: var(--gold);
  font: 36px var(--serif);
}
.step-grid h3 {
  font: 28px var(--serif);
  margin: 16px 0 10px;
}
.step-grid p {
  font-size: 14px;
}
.page-head {
  padding: 50px 6% 35px;
  max-width: 1440px;
  margin: auto;
}
.page-head h1 {
  font-size: 63px;
  margin: 20px 0;
}
.page-head p {
  max-width: 600px;
  margin-bottom: 0;
}
.shop {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 38px;
  padding-top: 20px;
}
.shop .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.filters {
  padding: 20px 20px 20px 0;
}
.filters label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin: 25px 0 10px;
}
.filters h3 {
  font-size: 12px;
  letter-spacing: 1.5px;
}
.field {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  padding: 12px;
  font-size: 14px;
  border-radius: 0;
}
.filter-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-buttons button {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 7px 12px;
  font-size: 13px;
}
.filter-buttons button.selected {
  background: var(--navy);
  color: white;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin: 15px 0 25px;
  font-size: 13px;
  color: var(--muted);
}
.toolbar select {
  background: transparent;
  border: 0;
  color: var(--navy);
  max-width: 190px;
}
.empty {
  text-align: center;
  background: white;
  padding: 60px 20px;
  grid-column: 1/-1;
}
.empty h2 {
  font-size: 36px;
}
.notice {
  background: #e8eef6;
  border-left: 2px solid var(--gold);
  padding: 15px 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.promo {
  background: white;
  padding: 25px;
}
.promo-images {
  height: 190px;
  display: flex;
  background: #e9eff5;
  padding: 15px;
}
.promo-images img {
  width: 37%;
  object-fit: contain;
  margin-right: -5%;
}
.promo h3 {
  font: 30px var(--serif);
  margin: 20px 0 5px;
}
.promo p {
  font-size: 13px;
}
.promo .btn {
  width: 100%;
  margin-top: 20px;
}
.promo-price {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 38px;
}
.panel {
  background: white;
  padding: 30px;
  align-self: start;
  border: 1px solid #e6ebf1;
}
.panel h2 {
  font-size: 34px;
}
.sticky {
  position: sticky;
  top: 20px;
}
.pack-catalog .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pack-catalog .card-image {
  height: 200px;
}
.pack-catalog .card-info {
  padding: 14px;
}
.pack-catalog .card h3 {
  font-size: 21px;
}
.pack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}
.pack-line {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  font-size: 13px;
}
.pack-line img {
  width: 46px;
  height: 55px;
  object-fit: contain;
}
.pack-line div {
  flex: 1;
}
.pack-line button {
  background: transparent;
  color: var(--muted);
  font-size: 20px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  margin: 15px 0;
}
.summary-row.total {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  font-size: 21px;
}
.panel .btn {
  width: 100%;
  margin-top: 13px;
}
.hint {
  font-size: 12px;
  line-height: 1.5;
  margin-top: 15px;
}
.progress {
  height: 3px;
  background: var(--line);
  margin: 15px 0;
}
.progress span {
  height: 100%;
  display: block;
  background: var(--gold);
  transition: 0.3s;
}
.cart-row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 20px;
  background: white;
  padding: 24px;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-row img {
  width: 100px;
  height: 110px;
  object-fit: contain;
  background: var(--ice);
}
.cart-row h3 {
  font: 25px var(--serif);
  margin: 0 0 5px;
}
.cart-row p {
  font-size: 13px;
  margin: 0 0 12px;
}
.quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
}
.quantity button {
  background: none;
  width: 32px;
  height: 32px;
  color: var(--navy);
}
.quantity span {
  min-width: 28px;
  text-align: center;
  font-size: 14px;
}
.remove {
  background: none;
  text-decoration: underline;
  font-size: 12px;
  color: var(--muted);
  margin-left: 15px;
}
.checkout-form label {
  display: block;
  font-size: 12px;
  margin: 15px 0 5px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-card {
  background: var(--navy);
  color: white;
  padding: 50px;
}
.contact-card p {
  color: #c7d3e1;
}
.contact-card h2 {
  font-size: 44px;
}
.contact-card a.phone {
  display: block;
  font: 36px var(--serif);
  margin: 24px 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 16px;
}
.faq p {
  font-size: 14px;
  margin: 15px 0 0;
}
.account {
  max-width: 510px;
  margin: 30px auto 80px;
}
.account label {
  display: block;
  font-size: 14px;
  margin: 18px 0 6px;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 30px 0;
}
.stat {
  background: white;
  padding: 24px;
}
.stat strong {
  display: block;
  font: 40px var(--serif);
}
.stat span {
  font-size: 13px;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
  background: white;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  text-align: left;
}
th,
td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
th {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
}
td img {
  width: 40px;
  height: 45px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 15px;
}
td .btn {
  padding: 7px 13px;
  min-height: 32px;
  font-size: 12px;
}
td small {
  display: block;
  color: var(--muted);
}
.admin-toolbar {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}
.admin-toolbar input {
  max-width: 400px;
}
.modal-content {
  padding: 40px;
  position: relative;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.detail-image {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: var(--ice);
}
.detail h2 {
  font-size: 44px;
}
.detail p {
  font-size: 14px;
}
.detail .btn {
  margin-top: 25px;
}
.close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: none;
  font-size: 26px;
  color: var(--navy);
}
dialog {
  border: 0;
  max-width: 870px;
  width: calc(100% - 32px);
  max-height: 90vh;
  color: var(--navy);
  padding: 0;
}
dialog::backdrop {
  background: #0a172a99;
  backdrop-filter: blur(4px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid label {
  font-size: 13px;
  display: block;
}
.form-grid label.wide {
  grid-column: 1/-1;
}
.form-grid .field {
  margin-top: 6px;
}
footer {
  background: #111e35;
  color: #d7e0ec;
  padding: 55px 6% 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 35px;
}
footer p {
  color: #9baac0;
  font-size: 13px;
  max-width: 350px;
  margin-top: 18px;
}
.footer-brand {
  font: 35px var(--serif);
  color: #fff;
}
.footer-brand i {
  color: #d8bd76;
}
footer h3 {
  font-size: 11px;
  letter-spacing: 2px;
  color: #d8bd76;
  margin-bottom: 22px;
}
footer > div > a:not(.footer-brand) {
  display: block;
  font-size: 13px;
  margin: 9px 0;
}
.footer-bottom {
  grid-column: 1/-1;
  border-top: 1px solid #2b3850;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: #97a6bd;
  margin-top: 25px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: var(--navy);
  color: white;
  padding: 14px 24px;
  box-shadow: 0 8px 35px #0002;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 10;
  font-size: 14px;
  max-width: 90%;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mobile-only {
  display: none;
}
@media (min-width: 1500px) {
  header {
    padding-left: calc((100% - 1268px) / 2);
    padding-right: calc((100% - 1268px) / 2);
  }
}
@media (max-width: 1050px) {
  nav {
    gap: 16px;
    font-size: 12px;
  }
  header {
    padding: 0 4%;
    gap: 16px;
  }
  .grid {
    gap: 16px;
  }
  .card-image {
    height: 210px;
  }
  .card-info {
    padding: 15px;
  }
  .split {
    grid-template-columns: 1fr 300px;
    gap: 22px;
  }
  .pack-catalog .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .shop {
    grid-template-columns: 175px 1fr;
    gap: 20px;
  }
  .shop .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 120px;
    flex-wrap: wrap;
    padding: 20px 5% 10px;
    gap: 16px;
  }
  .logo {
    min-width: 100px;
  }
  .logo small {
    font-size: 7px;
    letter-spacing: 2px;
  }
  .logo b {
    font-size: 36px;
  }
  .logo b span {
    font-size: 31px;
  }
  .header-actions {
    margin-left: auto;
  }
  nav {
    order: 3;
    width: 100%;
    overflow: auto;
    justify-content: space-between;
    white-space: nowrap;
    font-size: 12px;
    gap: 18px;
  }
  .announcement {
    font-size: 10px;
  }
  .announcement a {
    display: none;
  }
  .brand-strip {
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    padding: 20px;
  }
  .brand-strip small {
    display: none;
  }
  .section {
    padding: 45px 6%;
  }
  .section-head {
    align-items: center;
  }
  .section-head h2 {
    font-size: 36px;
  }
  .section-head .text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .card-image {
    height: 185px;
    padding: 9px;
  }
  .card-info {
    padding: 13px;
  }
  .card h3 {
    font-size: 21px;
    min-height: 50px;
  }
  .brand {
    font-size: 8px;
  }
  .size-options button {
    padding: 4px 9px;
    font-size: 11px;
  }
  .money {
    font-size: 14px;
  }
  .old {
    display: block;
    font-size: 10px;
  }
  .card-bottom {
    gap: 4px;
  }
  .add {
    width: 32px;
    height: 32px;
  }
  .badge {
    font-size: 8px;
    left: 9px;
    top: 9px;
  }
  .pack-banner {
    margin-top: 40px;
    grid-template-columns: 1fr;
  }
  .pack-copy {
    padding: 30px;
  }
  .pack-copy h2 {
    font-size: 41px;
  }
  .pack-pics {
    height: 235px;
  }
  .pack-pics img {
    height: 235px;
  }
  .step-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-grid article {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 20px;
  }
  .step-grid h3 {
    margin: 7px 0;
  }
  .step-grid p {
    grid-column: 2;
  }
  .page-head {
    padding: 35px 6% 20px;
  }
  .page-head h1 {
    font-size: 47px;
  }
  .page-head p {
    font-size: 14px;
  }
  .shop {
    display: block;
    padding-top: 0;
  }
  .filters {
    padding: 10px 0 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .filters h3,
  .filters > label,
  .filters .filter-buttons,
  .filters .clear {
    display: none;
  }
  .filters .field {
    min-width: 0;
    font-size: 12px;
  }
  .toolbar {
    font-size: 11px;
  }
  .toolbar select {
    font-size: 12px;
    max-width: 150px;
  }
  .split {
    grid-template-columns: 1fr;
  }
  .sticky {
    position: static;
  }
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .promo-images {
    height: 230px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .contact-card {
    padding: 30px;
  }
  .contact-card a.phone {
    font-size: 31px;
  }
  .cart-row {
    grid-template-columns: 70px 1fr;
    gap: 15px;
    padding: 17px;
  }
  .cart-row img {
    width: 70px;
    height: 90px;
  }
  .cart-row > strong {
    grid-column: 2;
  }
  .cart-row h3 {
    font-size: 23px;
  }
  .panel {
    padding: 25px;
  }
  .account {
    margin: 20px 6% 50px;
  }
  .admin-stats {
    gap: 8px;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 30px;
  }
  .stat span {
    font-size: 10px;
  }
  .admin-toolbar {
    flex-wrap: wrap;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-image {
    height: 240px;
  }
  .modal-content {
    padding: 30px 22px;
  }
  .detail h2 {
    font-size: 35px;
    margin: 12px 0;
  }
  .form-grid {
    gap: 12px;
  }
  footer {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px 6% 20px;
  }
  footer > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
  .account h2 {
    font-size: 34px;
  }
  .notice {
    font-size: 12px;
  }
  .pack-catalog .card-image {
    height: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Paleta clara y superficies uniformes. */
:root {
  --surface: #fff;
  --surface-soft: #e9eff5;
  --header: #f5f8fc;
  --primary: #12294e;
  --on-primary: #fff;
  --dark-panel: #12294e;
  --control: #fff;
  color-scheme: light;
}
body,
header,
.card,
.panel,
.field {
  transition:
    background-color 0.2s,
    color 0.2s;
}
header {
  background: var(--header);
}
.announcement {
  background: #12294e;
  color: #fff;
}
.btn,
.add,
.filter-buttons button.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--on-primary);
}
.btn:hover {
  background: var(--blue);
  color: var(--on-primary);
}
.btn.light {
  background: transparent;
  color: var(--navy);
  border-color: var(--line);
}
.btn.white {
  background: #fff;
  color: #12294e;
}
.btn.gold {
  background: var(--gold);
  color: #12294e;
}
.card,
.promo,
.panel,
.steps,
.empty,
.cart-row,
.stat,
.table-wrap,
dialog {
  background: var(--surface);
  color: var(--ink);
}
.card {
  display: flex;
  flex-direction: column;
}
.card-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card h3 {
  min-height: 2.4em;
}
.card-bottom {
  margin-top: auto;
  padding-top: 18px;
}
.card-image,
.card:nth-child(3n + 2) .card-image,
.card:nth-child(3n) .card-image,
.pack-catalog .card-image {
  height: auto;
  aspect-ratio: 1/1;
  background: var(--surface-soft);
  padding: 22px;
}
.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.field,
.size-options button,
.filter-buttons button {
  background: var(--control);
  color: var(--ink);
}
.size-options button.selected {
  background: var(--surface-soft);
  color: var(--navy);
}
.badge {
  background: var(--surface);
  color: var(--ink);
}
.badge.sale {
  background: var(--gold);
  color: #142031;
}
.notice {
  background: var(--surface-soft);
  color: var(--muted);
}
.pack-banner,
.contact-card {
  background: #12294e;
  color: #fff;
}
.brand-strip a {
  padding: 10px 5px;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s,
    border-color 0.2s;
}
.brand-strip a:hover {
  color: var(--navy);
  border-color: var(--gold);
}
.promo-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}
.promo {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.promo-images {
  height: 205px;
  flex-shrink: 0;
  background: var(--surface-soft);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 16px;
}
.promo-images img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
  max-height: 173px;
  object-fit: contain;
  min-height: 0;
}
.promo-images:has(img:nth-child(4)) {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}
.promo-images:has(img:nth-child(4)) img {
  max-height: 82px;
}
.promo h3 {
  min-height: 2.2em;
  line-height: 1.1;
}
.promo-description {
  min-height: 3.2em;
}
.promo-items {
  list-style: none;
  padding: 0;
  font-size: 12px;
  margin: 0 0 20px;
  flex: 1;
  color: var(--muted);
}
.promo-items li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.promo-items span {
  display: block;
  color: var(--navy);
  font-size: 11px;
}
.promo-price {
  margin-top: auto;
  flex-wrap: wrap;
}
.promo .btn {
  margin-top: 20px;
}
.sold-out .promo-images {
  opacity: 0.45;
}
.decant-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  border-top: 1px solid var(--line);
}
.decant-photo {
  background: #09121c;
  border-radius: 120px 120px 0 0;
  min-height: 350px;
  display: grid;
  place-items: center;
}
.decant-photo img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}
.decant-sizes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 25px 0;
}
.decant-sizes > div {
  border-top: 1px solid var(--gold);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
}
.decant-sizes strong {
  font: 38px var(--serif);
}
.decant-sizes small {
  color: var(--muted);
  font-size: 12px;
}
.footer-legal,
.footer-payments {
  grid-column: auto;
}
footer {
  grid-template-columns: 1.4fr 0.8fr 1fr;
}
.footer-legal {
  grid-column: 1/3;
}
.complaints-link {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid #64718a;
  width: fit-content;
}
.complaints-link svg {
  flex-shrink: 0;
}
.payment-logos {
  display: flex;
  gap: 14px;
  align-items: start;
  flex-wrap: wrap;
}
.payment-logos figure {
  margin: 0;
  text-align: center;
}
.payment-logos img {
  display: block;
  object-fit: contain;
  width: 80px;
  height: 52px;
  background: #fff;
  border-radius: 6px;
  padding: 6px;
}
.payment-logos figcaption {
  font-size: 11px;
  margin-top: 5px;
}
.footer-payments p {
  font-size: 12px;
  max-width: 270px;
}
.footer-bottom {
  flex-wrap: wrap;
  line-height: 1.7;
}
.legal-content {
  padding-top: 10px;
  max-width: 1000px;
}
.legal-content h2 {
  font-size: 31px;
  margin-top: 35px;
}
.legal-content a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-content p {
  line-height: 1.9;
}
.provider-info {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
}
.provider-info dt {
  color: var(--muted);
}
.provider-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.book-heading {
  display: flex;
  align-items: center;
  gap: 20px;
}
.book-heading svg {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  color: var(--gold);
}
.book-heading p {
  margin: 0;
}
.book-preview {
  margin: 30px 0;
}
.book-preview summary {
  cursor: pointer;
}
.book-preview fieldset {
  border: 1px solid var(--line);
  margin-top: 20px;
  padding: 20px;
}
.book-preview legend {
  font-size: 13px;
  color: var(--muted);
}
.check-label {
  display: flex !important;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 13px !important;
  margin: 20px 0 !important;
}
.check-label input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.check-label a,
.checkout-form .hint a {
  text-decoration: underline;
}
.form-label {
  display: block;
  font-size: 14px;
  margin: 18px 0;
}
.promo-editor-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px 85px 42px;
  align-items: end;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 12px;
}
.promo-editor-row .btn {
  padding: 10px;
}
.admin-toolbar {
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
}
.admin-toolbar .btn {
  width: auto;
  margin: 0;
}
.admin-toolbar #pack-discount {
  width: 100px;
}
#admin-content .table-wrap {
  margin-top: 24px;
}
#toast {
  background: var(--primary);
  color: var(--on-primary);
}
@media (max-width: 700px) {
  .header-actions {
    gap: 12px;
  }
  .decant-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .decant-photo {
    min-height: 0;
  }
  .decant-photo img {
    height: 290px;
  }
  .promo-images {
    height: 205px;
  }
  .promo h3,
  .promo-description {
    min-height: 0;
  }
  .promo-grid {
    grid-auto-rows: 1fr;
  }
  .provider-info {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .provider-info dd {
    margin-bottom: 12px;
  }
  .promo-editor-row {
    grid-template-columns: 1fr 1fr 42px;
  }
  .promo-editor-row label:first-child {
    grid-column: 1/-1;
  }
  .footer-legal {
    grid-column: 1/-1;
  }
  .footer-payments {
    grid-column: 1/-1;
  }
  .legal-content h2 {
    font-size: 28px;
  }
  .announcement {
    font-size: 11px;
    line-height: 1.6;
  }
  .announcement a {
    display: inline-block;
    margin: 0 5px;
  }
  .card-image,
  .pack-catalog .card-image {
    padding: 12px;
  }
  .decant-section h2 {
    font-size: 37px;
  }
}

/* Cabecera: búsqueda y acciones con una misma altura. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-header {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(180px, 240px) auto;
  gap: clamp(12px, 2vw, 28px);
  height: 110px;
  padding: 0 max(4%, calc((100% - 1340px) / 2));
  align-items: center;
}
.site-header nav {
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.7vw, 26px);
  font-size: 14px;
  white-space: nowrap;
}
.site-header nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.icon-btn {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 10px;
}
.header-actions {
  gap: 4px;
}
.header-search {
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  margin: 0;
  border: 1px solid var(--line);
  background: white;
  border-radius: 24px;
  overflow: hidden;
}
.header-search:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.header-search input {
  display: block;
  min-width: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 0 0 16px;
  font-size: 14px;
  outline: none;
}
.header-search input::placeholder {
  color: #63728a;
}
.header-search button {
  padding: 12px;
}
.bag span {
  right: 0;
  top: 0;
  min-width: 18px;
  font-size: 12px;
  line-height: 18px;
}
.menu-toggle {
  display: none;
}

/* Banner de la referencia: tres escenas en escritorio, una en celular. */
.showcase {
  max-width: 1440px;
  padding: 22px 5.6% 18px;
  margin: auto;
}
.carousel-viewport {
  overflow: hidden;
  border-radius: 18px;
  background: #14243b;
  touch-action: pan-y;
}
.carousel-track {
  display: flex;
  width: 100%;
  will-change: transform;
}
.banner-slide {
  flex: 0 0 calc(100% / 3);
  min-width: 0;
  aspect-ratio: 383 / 490;
}
.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.banner-image {
  display: block;
  width: 100%;
  height: 100%;
  stroke: none;
}
.banner-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 60px 22px 24px;
  color: white;
  background: linear-gradient(transparent, #080f1ce8);
  pointer-events: none;
}
.banner-caption > span:first-child {
  font-size: 12px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}
.banner-caption strong {
  display: block;
  font: 500 clamp(21px, 2.3vw, 32px) / 1.1 var(--serif);
  margin: 6px 0 10px;
}
.banner-cta {
  display: inline-block;
  border-bottom: 1px solid #dec48d;
  padding-bottom: 3px;
  font-size: 13px;
}
.banner-link:focus-visible {
  outline-offset: -5px;
}
.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 8px;
}
.carousel-hint {
  font-size: 13px;
  color: var(--muted);
  flex: 1;
}
.carousel-dots {
  display: flex;
  gap: 4px;
}
.carousel-dots button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  background: transparent;
}
.carousel-dots span {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: #c2cddc;
  transition:
    width 200ms,
    background 200ms;
}
.carousel-dots [aria-pressed="true"] span {
  width: 30px;
  background: var(--gold);
}
.carousel-arrows {
  display: flex;
  justify-content: end;
  gap: 3px;
  flex: 1;
}
.carousel-arrows button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--navy);
  display: grid;
  place-items: center;
}
.carousel-arrows button:hover {
  background: white;
}
.carousel-arrows [data-carousel="pause"] {
  border: none;
}
.carousel-arrows svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.6;
}

/* Logos auténticos y pagos. */
.brand-strip {
  display: grid;
  grid-template-columns: 130px repeat(5, minmax(0, 1fr));
  gap: 25px;
  padding: 26px 6%;
}
.brand-strip small {
  width: auto;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 1.2px;
}
.brand-strip a {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 8px;
}
.brand-strip img {
  display: block;
  width: 100%;
  height: 60px;
  max-width: 158px;
  object-fit: contain;
  opacity: 0.77;
  transition:
    opacity 200ms,
    transform 200ms;
}
.brand-strip a:hover img {
  opacity: 1;
  transform: translateY(-2px);
}

.payment-logos img {
  width: 92px;
  height: 66px;
  border-radius: 10px;
  padding: 8px;
}
.payment-yape img {
  background: #742284;
}
.payment-plin img {
  background: #00d1a2;
}
.payment-logos figcaption {
  font-size: 12px;
}
.decant-photo {
  background: #e8eff6;
  border-radius: 18px;
  overflow: hidden;
  min-height: 0;
}
.decant-photo img {
  width: 100%;
  max-height: none;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Controles cómodos para pantallas táctiles. */
.size-options button {
  min-width: 48px;
  min-height: 40px;
  font-size: 14px;
}
.add,
.quantity button,
.pack-line button,
.close {
  min-width: 44px;
  min-height: 44px;
}
.field {
  min-height: 46px;
}
.pack-mobile-bar {
  display: none;
}
#pack-summary {
  scroll-margin-top: 28px;
}
.shop > div,
.split > div,
.split > aside,
.contact-grid > div {
  min-width: 0;
}
.brand {
  font-size: 12px;
  letter-spacing: 1px;
}
.badge {
  font-size: 12px;
  letter-spacing: 0.3px;
}
.hint,
.old {
  font-size: 13px;
}
.promo p,
.promo-items,
.promo-items span,
.pack-line,
.toolbar,
.filter-buttons button,
.checkout-form label {
  font-size: 14px;
}
.promo .btn {
  white-space: normal;
}
.promo-images {
  border-radius: 8px;
}
.section-head .text-link {
  flex-shrink: 0;
}
footer > div > a:not(.footer-brand),
footer p {
  font-size: 14px;
}
footer h3 {
  font-size: 12px;
}
.footer-bottom {
  font-size: 12px;
}
.filters .field {
  min-width: 0;
}
.toolbar select {
  min-height: 44px;
  font-size: 14px;
}

@media (min-width: 901px) and (max-width: 1160px) {
  .site-header {
    grid-template-columns: 100px 1fr 190px auto;
    gap: 10px;
    padding: 0 3%;
  }
  .site-header .logo {
    min-width: 0;
  }
  .site-header nav {
    gap: 12px;
    font-size: 13px;
  }
  .logo small {
    letter-spacing: 1.5px;
  }
  .brand-strip {
    gap: 16px;
    grid-template-columns: 110px repeat(5, minmax(0, 1fr));
  }
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 0;
    grid-template-columns: 88px minmax(0, 1fr) 88px;
    grid-template-areas: "menu logo actions" "search search search" "nav nav nav";
    padding: 14px 5% 12px;
    gap: 12px 4px;
    position: relative;
    z-index: 5;
  }
  .menu-toggle {
    display: grid;
    grid-area: menu;
  }
  .site-header .logo {
    grid-area: logo;
    min-width: 0;
    width: fit-content;
    justify-self: center;
  }
  .site-header .logo b {
    font-size: 34px;
  }
  .site-header .logo b span {
    font-size: 29px;
    top: 7px;
  }
  .site-header .logo small {
    font-size: 8px;
    margin-top: 13px;
    letter-spacing: 1.5px;
  }
  .header-actions {
    grid-area: actions;
    margin-left: 0;
    justify-self: end;
    gap: 0;
  }
  .header-search {
    grid-area: search;
    height: 46px;
  }
  .header-search input {
    font-size: 16px;
  }
  .site-header nav {
    display: none;
    grid-area: nav;
    width: 100%;
    overflow: visible;
    font-size: 16px;
    border-top: 1px solid var(--line);
    padding-top: 8px;
  }
  .site-header.menu-open nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }
  .site-header nav a {
    padding: 9px 12px;
    border-radius: 5px;
    white-space: normal;
  }
  .site-header nav a.active {
    background: #e7eef7;
  }
  .site-header nav a.active::after {
    display: none;
  }
  .site-header.menu-open .menu-toggle {
    background: #e7eef7;
    border-radius: 50%;
  }
  .banner-slide {
    flex-basis: 50%;
  }
  .showcase {
    padding: 20px 5% 12px;
  }
  .banner-caption strong {
    font-size: 30px;
  }
  .brand-strip {
    grid-template-columns: repeat(5, minmax(105px, 1fr));
    overflow-x: auto;
    gap: 16px;
    padding: 20px 5%;
    scroll-snap-type: x proximity;
  }
  .brand-strip small {
    display: none;
  }
  .brand-strip a {
    scroll-snap-align: center;
  }
  .brand-strip img {
    height: 50px;
  }

  .split {
    grid-template-columns: 1fr;
  }
  .pack-catalog .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pack-builder > .sticky {
    position: static;
  }
  .pack-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: fixed;
    z-index: 8;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding: 12px 5% calc(12px + env(safe-area-inset-bottom, 0px));
    background: #12294e;
    color: white;
    box-shadow: 0 -5px 30px #12294e20;
    text-align: left;
  }
  .pack-mobile-bar small {
    display: block;
    font-size: 12px;
    color: #d1dced;
  }
  .pack-mobile-bar strong {
    font-size: 20px;
  }
  .pack-mobile-bar > span:last-child {
    font-size: 14px;
    padding: 9px 14px;
    border: 1px solid #7890b0;
    border-radius: 6px;
  }
  body:has(.pack-mobile-bar) {
    padding-bottom: 88px;
  }
  body:has(.pack-mobile-bar) #toast {
    bottom: 100px;
  }
  .decant-section {
    gap: 30px;
  }
  .promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .promo {
    padding: 20px;
  }
  .announcement {
    font-size: 12px;
    line-height: 1.45;
    padding: 8px 16px;
    letter-spacing: 0.15px;
  }
  .announcement a {
    display: inline-block;
    margin: 2px 5px 0;
  }
  .filters .field,
  .field,
  .form-grid .field,
  .checkout-form .field {
    font-size: 16px;
  }
  dialog {
    max-height: 90svh;
    border-radius: 16px;
  }
}
@media (max-width: 600px) {
  .banner-slide {
    flex-basis: 100%;
  }
  .showcase {
    padding-top: 16px;
  }
  .carousel-viewport {
    border-radius: 14px;
  }
  .banner-caption {
    padding: 60px 24px 24px;
  }
  .banner-caption strong {
    font-size: 32px;
  }
  .banner-caption > span:first-child,
  .banner-cta {
    font-size: 14px;
  }
  .carousel-controls {
    gap: 0;
    padding-top: 5px;
  }
  .carousel-hint {
    display: none;
  }
  .carousel-arrows {
    flex: 0;
  }
  .carousel-dots {
    margin-left: -8px;
  }
  .brand-strip {
    grid-template-columns: repeat(5, 110px);
    gap: 18px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand-strip a {
    min-height: 68px;
  }
  .brand-strip img {
    max-width: 105px;
  }
  .section {
    padding: 42px 5%;
  }
  .section-head {
    display: block;
  }
  .section-head .text-link {
    display: inline-block;
    margin-top: 16px;
    font-size: 14px;
  }
  .section-head h2 {
    font-size: clamp(32px, 8vw, 40px);
  }
  .eyebrow {
    font-size: 12px;
    letter-spacing: 1.3px;
  }
  .grid,
  .shop .grid,
  .pack-catalog .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card {
    border: 1px solid #e4eaf2;
    border-radius: 10px;
    overflow: hidden;
  }
  .card-image,
  .card:nth-child(3n + 2) .card-image,
  .card:nth-child(3n) .card-image,
  .pack-catalog .card-image {
    padding: 12px;
    height: auto;
  }
  .card-info,
  .pack-catalog .card-info {
    padding: 12px;
  }
  .card h3,
  .pack-catalog .card h3 {
    font-size: 23px;
    line-height: 1.15;
    min-height: 3.45em;
    margin-bottom: 12px;
  }
  .brand {
    font-size: 12px;
    min-height: 2.8em;
    letter-spacing: 0.2px;
    line-height: 1.4;
  }
  .size-options {
    gap: 6px;
  }
  .size-options button {
    padding: 4px 8px;
    min-width: 45px;
    min-height: 40px;
    font-size: 14px;
  }
  .money {
    font-size: 15px;
    white-space: nowrap;
  }
  .card-bottom {
    padding-top: 12px;
    align-items: center;
  }
  .old {
    font-size: 12px;
    margin-right: 0;
  }
  .add {
    border-radius: 6px;
    width: 44px;
    height: 44px;
  }
  .badge {
    font-size: 11px;
    left: 7px;
    top: 7px;
    padding: 3px 6px;
    letter-spacing: 0;
  }
  .pack-banner {
    border-radius: 14px;
  }
  .pack-copy {
    padding: 28px;
  }
  .pack-copy h2 {
    font-size: 36px;
  }
  .pack-copy p {
    font-size: 16px;
  }
  .decant-section {
    grid-template-columns: 1fr;
  }
  .decant-photo img {
    height: auto;
  }
  .decant-sizes {
    gap: 14px;
  }
  .decant-sizes small {
    font-size: 12px;
  }
  .step-grid p,
  .faq p {
    font-size: 16px;
  }
  .page-head {
    padding: 28px 5% 24px;
  }
  .page-head h1 {
    font-size: clamp(40px, 10vw, 52px);
    letter-spacing: -1px;
  }
  .page-head p {
    font-size: 16px;
  }
  .filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding-top: 0;
  }
  .filters h3,
  .filters .hint,
  .filters > label:not([for]) {
    display: none;
  }
  .filters > label[for] {
    display: block;
    font-size: 12px;
    margin: 4px 0 0;
  }
  .filters .filter-buttons {
    display: flex;
    margin-top: 6px;
  }
  .filter-buttons button {
    min-height: 44px;
    padding: 8px 16px;
    font-size: 14px;
  }
  .filters .clear {
    display: inline-block;
    font-size: 14px;
    min-height: 40px;
    justify-self: start;
  }
  .toolbar {
    align-items: start;
    flex-direction: column;
    gap: 4px;
    margin: 12px 0 20px;
    font-size: 14px;
  }
  .toolbar select {
    width: 100%;
    max-width: none;
    padding: 8px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .promo {
    border-radius: 12px;
    padding: 22px;
  }
  .promo h3 {
    font-size: 32px;
  }
  .promo-images {
    height: 225px;
  }
  .promo-images img {
    max-height: 193px;
  }
  .promo-price .old {
    display: inline;
  }
  .promo .btn {
    font-size: 15px;
    min-height: 48px;
  }
  .notice {
    font-size: 14px;
    padding: 16px;
  }
  .panel {
    padding: 22px;
    border-radius: 12px;
  }
  .panel h2 {
    font-size: 34px;
  }
  .cart-row {
    gap: 12px;
    padding: 16px;
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .cart-row img {
    width: 64px;
    height: 88px;
  }
  .cart-row h3 {
    font-size: 24px;
  }
  .cart-row p {
    font-size: 14px;
  }
  .cart-row .brand {
    min-height: 0;
    display: block;
  }
  .remove {
    min-height: 44px;
    font-size: 14px;
    margin-left: 8px;
  }
  .summary-row {
    font-size: 14px;
    flex-wrap: wrap;
  }
  .summary-row.total {
    font-size: 20px;
  }
  .check-label {
    flex-wrap: nowrap;
    align-items: start;
    display: block !important;
    font-size: 14px !important;
  }
  .check-label input {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 6px;
  }
  .contact-card {
    padding: 26px;
    border-radius: 12px;
  }
  .contact-card h2 {
    font-size: 38px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .account {
    margin-left: 5%;
    margin-right: 5%;
  }
  .admin-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .stat {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 20px;
  }
  .stat span {
    font-size: 14px;
  }
  .admin-toolbar {
    align-items: stretch;
  }
  .admin-toolbar input {
    max-width: none;
  }
  .admin-top .filter-buttons {
    width: 100%;
  }
  .admin-top .filter-buttons button {
    flex: 1;
  }
  .table-wrap {
    max-width: 100%;
  }
  td .btn {
    min-height: 44px;
    font-size: 14px;
    margin: 3px 0;
  }
  .detail {
    grid-template-columns: 1fr;
  }
  .detail-image {
    height: 240px;
    border-radius: 10px;
  }
  .detail p {
    font-size: 16px;
  }
  .detail .btn {
    width: 100%;
  }
  .modal-content {
    padding: 50px 22px 26px;
  }
  .close {
    top: 5px;
    right: 5px;
  }
  footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 25px 20px;
    padding: 36px 5% 24px;
  }
  .footer-payments,
  .footer-legal {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    overflow-wrap: anywhere;
  }
  .payment-logos {
    gap: 12px;
  }
  .payment-logos img {
    width: 86px;
    height: 64px;
  }
  .footer-payments p {
    max-width: none;
  }
  #toast {
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 14px 18px;
  }
}
@media (max-width: 350px) {
  .card-info,
  .pack-catalog .card-info {
    padding: 10px;
  }
  .card-bottom {
    flex-wrap: wrap;
  }
  .card-bottom .add {
    margin-left: auto;
  }
  .payment-logos {
    gap: 8px;
  }
  .payment-logos img {
    width: 82px;
  }
}
