@font-face {
  font-family: Montserrat;
  src: url("assets/montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --ink: #0b0b0c;
  --red: #e50914;
  --darkred: #bd0810;
  --muted: #5b5b61;
  --line: #e5e5e9;
  --paper: #fff;
  --soft: #f5f5f7;
  color-scheme: light;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    500 15px/1.5 Montserrat,
    Arial,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #2276ff;
  outline-offset: 3px;
}
.wrap {
  width: min(100% - 64px, 1280px);
  margin-inline: auto;
}
header,
footer {
  background: var(--ink);
  color: white;
}
.top {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 56px);
  min-height: 86px;
}
.brand {
  display: block;
  flex-shrink: 0;
}
.brand img,
footer img {
  display: block;
  width: clamp(145px, 14vw, 195px);
  height: auto;
}
.top form {
  display: flex;
  min-width: 80px;
  flex: 1;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  height: 43px;
}
.top form:focus-within {
  box-shadow: 0 0 0 3px #78acff;
}
.top form input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  outline: 0;
  border: 0;
  color: var(--ink);
  font-size: 0.84rem;
}
.top form button {
  background: var(--red);
  color: white;
  width: 52px;
  flex-shrink: 0;
}
.actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.actions button {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 3px;
  padding: 4px;
  min-width: 44px;
  font-size: 0.7rem;
  font-weight: 650;
}
.actions i {
  width: 24px;
  height: 24px;
}
.cart-btn {
  position: relative;
}
#quantity {
  position: absolute;
  top: -4px;
  right: 0;
  background: var(--red);
  border-radius: 100%;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  font-size: 0.65rem;
}
i[data-icon] {
  display: inline-flex;
  width: 1.35em;
  height: 1.35em;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
i[data-icon] svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
nav {
  background: #19191c;
  border-block: 1px solid #313136;
}
.navrow {
  display: flex;
  gap: clamp(20px, 3vw, 50px);
  align-items: center;
  min-height: 51px;
  font-size: 0.84rem;
  font-weight: 650;
}
.navcat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  border-radius: 7px;
  padding: 7px 21px;
}
.location {
  margin-left: auto;
  display: flex;
  gap: 7px;
  align-items: center;
}
.location i:last-child {
  width: 12px;
}
.hero {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-template-columns: 1fr 0.95fr;
  min-height: clamp(310px, 31vw, 420px);
  background: linear-gradient(105deg, #070708 35%, #1b0205 72%, #34050c);
  color: white;
  border-radius: 0 0 14px 14px;
}
.hero-copy {
  z-index: 1;
  align-self: center;
  padding: clamp(24px, 3.8vw, 68px);
  padding-right: 0;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 4.35vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.06em;
  font-weight: 850;
  font-style: italic;
}
.hero h1 em {
  color: #ff2431;
}
.hero p {
  margin: 18px 0 22px;
  color: #f0e9ea;
  font-size: clamp(0.9rem, 1.3vw, 1.12rem);
}
.hero-art {
  background:
    linear-gradient(90deg, #100205, transparent 16%),
    url("assets/portada.webp") center/cover no-repeat;
  position: relative;
}
.cta,
.primary {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 7px;
  background: var(--red);
  color: #fff;
  font-weight: 750;
  padding: 10px 17px;
  font-size: 0.88rem;
}
.cta:hover,
.primary:hover,
.navcat:hover {
  background: var(--darkred);
}
.cta span {
  font-size: 1.35rem;
  line-height: 1;
}
.assurances {
  margin: 14px 0 32px;
  padding: 15px 0;
  background: var(--soft);
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.assurances > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid #dcdce0;
}
.assurances > div:last-child {
  border: 0;
}
.assurances i {
  color: var(--red);
  width: 32px;
  height: 32px;
}
.assurances span,
.assurances button {
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  line-height: 1.26;
  text-align: left;
  padding: 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 800;
}
h3 {
  font-size: 1.03rem;
  letter-spacing: -0.025em;
}
.category-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.category {
  min-width: 0;
  padding: 10px 3px 12px;
  background: linear-gradient(#f9f9fa, #f1f1f3);
  border: 1px solid transparent;
  border-radius: 10px;
  display: grid;
  justify-content: center;
  justify-items: center;
  gap: 4px;
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 700;
}
.category img {
  display: block;
  width: 64px;
  height: 54px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.category .cat-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 54px;
  font-size: 30px;
}
.category[aria-pressed="true"],
.category:hover {
  border-color: var(--red);
  color: var(--darkred);
}
#catalogo {
  margin: 37px 0 56px;
  min-height: 190px;
  scroll-margin-top: 18px;
}
.subtle {
  color: var(--darkred);
  font-weight: 750;
  font-size: 0.82rem;
}
.catalog-meta,
.muted {
  color: var(--muted);
  font-size: 0.82rem;
}
.catalog-meta:not(:empty) {
  margin: 0 0 14px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.product {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 3px 16px #17171d05;
}
.tile {
  display: grid;
  text-align: left;
  padding: 0;
  align-content: start;
}
.tile-media {
  aspect-ratio: 4/3;
  background: #fafafa;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tile h3 {
  padding: 13px 15px 4px;
  font-size: 1rem;
}
.product > p {
  padding: 0 15px;
}
.product .price {
  margin-top: 9px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--darkred);
  letter-spacing: -0.05em;
}
.product > .primary {
  margin: auto 14px 14px;
  min-height: 39px;
}
.product .meta {
  font-size: 0.73rem;
  color: var(--muted);
  padding-block: 4px 15px;
}
.empty {
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  border-radius: 8px;
  background: #fafafa;
}
.empty p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}
.empty button {
  padding-left: 0;
  margin-top: 7px;
}
.footer-inner {
  min-height: 87px;
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 0.78rem;
}
.footer-inner img {
  width: 135px;
}
.footer-inner button {
  margin-left: auto;
}
.buyer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.82rem;
}
.buyer-links a,
.buyer-guide main a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
footer .buyer-links {
  padding: 13px 0 20px;
  border-top: 1px solid #36363a;
}
.panel-body .buyer-links {
  padding: 12px 0;
  color: var(--darkred);
}
.buyer-guide .top {
  justify-content: space-between;
}
.buyer-guide main {
  max-width: 720px;
  padding-block: 32px 56px;
}
.buyer-guide h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.15;
}
.buyer-guide section {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.buyer-guide section h2 {
  margin: 0 0 12px;
}
.buyer-guide main a {
  color: var(--darkred);
}
.skip {
  position: fixed;
  top: -100px;
  left: 10px;
  z-index: 10;
  background: #fff;
  color: var(--ink);
  padding: 10px;
}
.skip:focus {
  top: 5px;
}
dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(500px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  background: #fff;
  box-shadow: -10px 0 60px #0003;
}
dialog[open] {
  display: flex;
  flex-direction: column;
}
dialog::backdrop {
  background: #08080abb;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--ink);
  color: white;
}
.panel-head h2 {
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.panel-head button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #414146;
  border-radius: 7px;
}
.panel-body {
  overflow: auto;
  overscroll-behavior: contain;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 17px;
}
.panel-body form,
.form-fields {
  display: grid;
  gap: 14px;
}
.panel-body label {
  display: grid;
  gap: 5px;
  font-weight: 650;
  font-size: 0.82rem;
}
.panel-body input:not([type="checkbox"]),
.panel-body select,
.panel-body textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid #c9c9ce;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  min-height: 43px;
}
.panel-body label.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
  font-weight: 500;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex-shrink: 0;
}
.panel-body textarea {
  resize: vertical;
  min-height: 85px;
}
.panel-body .detail-img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  background: #fafafa;
  border-radius: 8px;
}
.price-line,
.total,
.line-item,
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.total {
  border-top: 1px solid var(--line);
  padding-top: 13px;
  font-weight: 750;
}
.line-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.line-item div {
  min-width: 0;
}
.line-item span {
  font-size: 0.78rem;
  color: var(--muted);
}
.line-item button,
.secondary {
  border: 1px solid #c9c9ce;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.82rem;
}
.secondary {
  min-height: 40px;
}
.notice,
.error {
  border-radius: 7px;
  padding: 12px;
  background: #f4f4f6;
  font-size: 0.83rem;
}
.error {
  background: #fff1f0;
  color: #81191a;
}
.order-row,
.bubble {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-wrap: anywhere;
}
.bubble {
  background: var(--soft);
}
.bubble.mine {
  margin-left: 20px;
  background: #fff1f2;
}
.bubble small {
  display: block;
  color: var(--muted);
  margin-bottom: 3px;
}
.toast {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 11px 18px;
  border-radius: 8px;
  z-index: 5;
  font-size: 0.85rem;
  text-align: center;
}
.toast:empty,
[hidden] {
  display: none !important;
}
body:has(dialog[open]) {
  overflow: hidden;
}
@media (max-width: 850px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .top {
    gap: 18px;
    min-height: 71px;
  }
  .actions {
    gap: 8px;
  }
  .hero-copy {
    padding-left: 30px;
  }
  .category-list {
    display: flex;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
  }
  .category {
    flex: 1 0 86px;
  }
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 610px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 10px;
    padding: 10px 0 12px;
  }
  .actions {
    gap: 5px;
  }
  .brand img {
    width: 132px;
  }
  .top form {
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    height: 38px;
  }
  .actions button {
    font-size: 0.58rem;
    min-width: 35px;
  }
  .actions i {
    width: 19px;
    height: 19px;
  }
  .navrow {
    min-height: 45px;
    gap: 14px;
    font-size: 0.71rem;
  }
  .navcat {
    padding: 6px 9px;
    gap: 5px;
  }
  .home-link {
    display: none;
  }
  .location {
    padding: 0;
    gap: 3px;
  }
  .hero {
    min-height: 240px;
    grid-template-columns: 52% 48%;
  }
  .hero-copy {
    padding: 18px 0 22px 14px;
  }
  .hero h1 {
    font-size: clamp(1.55rem, 5.8vw, 2.25rem);
    letter-spacing: -0.065em;
    line-height: 1.06;
  }
  .hero p {
    font-size: 0.76rem;
    margin: 13px 0 16px;
    max-width: 22ch;
  }
  .hero-art {
    background-size: cover;
    background-position: 48% center;
  }
  .cta {
    padding: 8px 10px;
    min-height: 35px;
    font-size: 0.68rem;
    gap: 7px;
  }
  .assurances {
    margin: 10px 0 22px;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
    padding: 12px 4px;
  }
  .assurances > div {
    justify-content: flex-start;
    padding-left: 10px;
    gap: 8px;
  }
  .assurances > div:nth-child(2) {
    border: 0;
  }
  .assurances i {
    width: 22px;
    height: 22px;
  }
  .assurances span,
  .assurances button {
    font-size: 0.66rem;
  }
  .category {
    flex-basis: 78px;
  }
  .category img,
  .category .cat-icon {
    width: 55px;
    height: 46px;
  }
  #catalogo {
    margin: 22px 0 38px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .tile h3 {
    padding: 8px 9px 0;
    font-size: 0.84rem;
  }
  .product > p {
    padding-inline: 9px;
  }
  .product .price {
    font-size: 1rem;
  }
  .product > .primary {
    font-size: 0.72rem;
    margin: 0 8px 9px;
    padding: 7px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 8px 15px;
    padding-block: 15px;
  }
  .footer-inner span {
    font-size: 0.68rem;
  }
  .footer-inner button {
    margin-left: 0;
  }
  .panel-body,
  .panel-head {
    padding: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
}
