:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", system-ui, sans-serif;
  color: #151224;
  background: #fff;
  --ink: #151224;
  --muted: #514c64;
  --bkr-void: #05030f;
  --bkr-night: #0a0618;
  --chrome: #f5f3ff;
  --cyan: #00a3ff;
  --violet: #8b2fd6;
  --violet-text: #b98cff;
  --action: #5b18a8;
  --line: #e4e0ec;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - 80px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 12px; background: #fff; }

header { background: var(--bkr-night); color: var(--chrome); }
.utility { background: var(--bkr-void); color: #d6cce9; font-size: 12px; font-weight: 600; border-bottom: 1px solid #272036; }
.endorsement strong { color: #9fe6ff; }
.utility-inner { min-height: 33px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.utility-inner div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.utility a:hover, .footer a:hover { text-decoration: underline; }
.masthead { display: grid; grid-template-columns: auto minmax(0, 620px) auto; justify-content: space-between; align-items: center; gap: 30px; min-height: 76px; }
.wordmark { display: flex; align-items: center; gap: 10px; width: fit-content; white-space: nowrap; font-size: 22px; font-weight: 800; }
.brand-mark { display: block; width: 42px; height: 42px; object-fit: contain; flex: none; }
.brand-accent { color: #b8a5ff; }
.brand-domain { font-size: 16px; }
.search { display: flex; align-items: stretch; min-width: 0; width: 100%; height: 43px; background: #181328; border: 1px solid #3b334f; border-radius: 8px; }
.search:focus-within { border-color: var(--cyan); }
.search input { min-width: 0; flex: 1; border: 0; outline: none; color: var(--chrome); background: transparent; padding: 0 14px; font-size: 16px; }
.search input::placeholder { color: #c1b6d7; }
.search button { display: grid; place-items: center; flex: 0 0 48px; border: none; background: transparent; color: #8bdeff; border-radius: 0 7px 7px 0; }
.search button:hover { background: #2b2240; }
.support { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 750; color: #a8f4cb; padding: 9px 13px; border: 1px solid #346452; border-radius: 7px; }
.support:hover { background: #17372e; }
.nav-band { border-top: 1px solid #272036; border-bottom: 1px solid #342644; }
.nav-links { display: flex; align-items: stretch; gap: 28px; min-height: 49px; flex-wrap: wrap; }
.nav-links a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; white-space: nowrap; font-weight: 650; color: #dbd2ef; padding-block: 9px; }
.nav-links a:hover, .nav-links .nav-lead, .nav-links .nav-live { color: #a7e5ff; }
.nav-links .nav-lead { border-bottom: 2px solid var(--cyan); }
.nav-links svg { width: 16px; height: 16px; }
.nav-live { margin-left: auto; }

.hero {
  position: relative;
  isolation: isolate;
  background: var(--bkr-void);
  color: var(--chrome);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--violet) 66%, #c026d3);
}
.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(100%, 859px);
  z-index: -1;
  background: url("img/portada-bkrline.webp") no-repeat right 48% / auto 130%;
  mask-image: linear-gradient(to right, transparent, black 21%);
}
.hero-inner { display: grid; align-items: center; min-height: 437px; padding-block: 40px; }
.hero-copy { width: min(100%, 680px); }
.eyebrow { margin: 0 0 13px; font-size: 12px; font-weight: 790; text-transform: uppercase; color: var(--action); }
.hero .eyebrow { display: flex; align-items: center; gap: 8px; color: #a7e5ff; }
.hero .eyebrow span { width: 16px; height: 2px; background: var(--cyan); }
.hero h1 { margin: 0; font-size: 72px; line-height: 1.02; font-weight: 850; }
.hero h1 span { white-space: nowrap; color: var(--violet-text); }
.hero-tagline { margin: 18px 0 25px; color: #ded6ee; font-size: 21px; line-height: 1.44; }
.actions, .service-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 750; }
.primary { background: var(--action); color: #fff; }
.primary:hover { background: #721ec5; }
.hero .primary { background: #a7e5ff; color: #092339; }
.hero .primary:hover { background: #cff1ff; }
.secondary { border-color: #786592; color: var(--chrome); background: var(--bkr-night); }
.secondary:hover { background: #211633; border-color: #b98cff; }

.categories { padding-block: 31px 42px; }
.section-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-bottom: 20px; }
.service-inner .eyebrow { margin-bottom: 7px; }
h2 { margin: 0; font-size: 32px; line-height: 1.2; }
.plain-link { display: inline-flex; align-items: center; gap: 7px; color: var(--action); font-size: 14px; font-weight: 750; }
.plain-link:hover { text-decoration: underline; }
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; min-width: 0; flex-direction: column; border-radius: 8px; }
.tile:hover h3, .collection:hover h3 { color: var(--action); text-decoration: underline; }
.tile-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1.26;
  overflow: hidden;
  border-radius: 8px;
  background-color: #eef1fd;
}
.tile-media::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  aspect-ratio: 1;
  translate: 0 -50%;
  background: url("img/categorias-tienda.webp") no-repeat var(--quadrant) / 200% 200%;
  transition: scale .2s ease;
}
.tile:hover .tile-media::before { scale: 1.045; }
.shoe { --quadrant: left top; }
.technology { --quadrant: right top; }
.home-goods { --quadrant: left bottom; }
.beauty { --quadrant: right bottom; }
.tile-text { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 10px; padding: 13px 2px 0; }
.tile-text h3, .collection h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.tile-text p, .collection p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.tile-text > span, .collection > span { color: var(--action); font-size: 19px; line-height: 1; }
.collections { padding-block: 29px 32px; border-top: 1px solid var(--line); background: #f7f5fb; }
.collections h2 { margin-bottom: 16px; font-size: 25px; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 20px; }
.collection { display: flex; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--line); background: #fff; border-radius: 8px; }
.collection img { width: 83px; height: 73px; object-fit: cover; border-radius: 5px; }
.collection > span { margin-left: auto; margin-right: 8px; }
.service-band { background: #fff; border-bottom: 1px solid var(--line); }
.service-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 30px; }
.service-inner h2 { font-size: 25px; }
.service-actions { gap: 17px; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 13px; min-height: 76px; padding-block: 17px; color: var(--muted); font-size: 13px; }
.footer > span { font-weight: 800; color: var(--ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 18px; }

@media (max-width: 1080px) {
  .shell { width: calc(100% - 48px); }
  .hero-art { width: min(100%, 673px); background-size: auto 114%; }
  .hero-inner { min-height: 393px; }
  .hero h1 { font-size: 50px; }
  .hero-copy { max-width: 445px; }
  .masthead { gap: 20px; }
}

@media (max-width: 780px) {
  .shell { width: calc(100% - 32px); }
  .masthead { grid-template-columns: 1fr auto; gap: 9px; min-height: 0; padding-block: 12px; }
  .search { grid-column: 1 / -1; grid-row: 2; }
  .wordmark { font-size: 19px; }
  .brand-mark { width: 35px; height: 35px; }
  .support { min-height: 40px; }
  .nav-links { gap: 0 17px; min-height: 0; }
  .nav-links a { font-size: 13px; }
  .nav-live { margin-left: 0; }
  .hero-art { inset: auto 0 0; width: 100%; height: 237px; background-position: right 51%; background-size: auto 123%; mask-image: linear-gradient(to bottom, transparent, black 17%); }
  .hero-inner { min-height: 430px; align-items: start; padding-block: 24px 230px; }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: 36px; }
  .hero-tagline { margin: 9px 0 16px; font-size: 16px; }
  .desktop-only { display: none; }
  .categories { padding-block: 21px 34px; }
  h2 { font-size: 26px; }
  .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .tile-text { gap: 5px; align-items: start; }
  .tile-text h3 { font-size: 16px; }
  .collection-grid { grid-template-columns: 1fr; }
}

@media (min-width: 551px) and (max-width: 780px) {
  .hero-art { left: auto; width: 437px; mask-image: linear-gradient(120deg, transparent, black 26%); }
}

@media (max-width: 550px) {
  .utility-inner div a:first-child { display: none; }
  .tile-media { aspect-ratio: 1.18; }
  .hero-art { height: 226px; }
  .hero-inner { min-height: 413px; padding-bottom: 216px; }
  .button { gap: 7px; padding-inline: 12px; font-size: 13px; }
}

@media (max-width: 365px) {
  .hero h1 { font-size: 30px; }
  .support span { display: none; }
  .nav-links { gap: 0 11px; }
  .nav-links a { padding-block: 7px; }
  .hero-art { height: 193px; }
  .hero-inner { min-height: 375px; padding-block: 21px 186px; }
  .actions { gap: 7px; }
  .button { padding-inline: 9px; }
  .tile-text { padding-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tile-media::before { transition: none; }
}
