/* Lux Stork 3D · catálogo. Colors from the logo: ink black and the cyan of "3D". */
:root {
  --ink: #14181d;
  --ink-2: #2b323a;
  --muted: #5d6873;
  --line: #e3ecee;
  --bg: #f6fafb;
  --card: #ffffff;
  --brand: #12a3b3;
  --brand-deep: #0b7a87;
  --brand-ink: #075a63;
  --aqua: #e6f6f7;
  --aqua-2: #c9ecef;
  --wa: #1fae5b;
  --wa-deep: #168a47;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(20 24 29 / 6%), 0 8px 24px -12px rgb(20 24 29 / 18%);
  --shadow-lg: 0 24px 60px -20px rgb(20 24 29 / 35%);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; font-size: 16px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-deep); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px var(--aqua-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -8px rgb(20 24 29 / 55%); }
.btn--primary:hover { background: var(--ink-2); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -10px rgb(31 174 91 / 70%); }
.btn--wa:hover { background: var(--wa-deep); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.wa-icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--ghost .wa-icon { color: var(--wa); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 30; background: rgb(255 255 255 / 86%); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand img { height: 40px; width: auto; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--aqua); color: var(--brand-ink); }
.cart-btn { margin-left: auto; position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 600; }
.cart-btn:hover { border-color: var(--brand); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.cart-btn__label { display: none; }
.cart-btn__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; display: inline-grid; place-items: center; }
.cart-btn.bump { animation: bump .35s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (min-width: 860px) {
  .nav { display: flex; }
  .cart-btn { margin-left: 8px; }
  .cart-btn__label { display: inline; }
  .brand img { height: 44px; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 85% 10%, var(--aqua-2) 0%, transparent 60%),
  radial-gradient(50% 60% at 0% 100%, var(--aqua) 0%, transparent 70%),
  #fff; border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; gap: 36px; padding-top: 40px; padding-bottom: 48px; align-items: center; }
.hero h1 { font-size: clamp(34px, 8vw, 60px); font-weight: 800; margin: 14px 0 16px; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero__intro { font-size: clamp(17px, 2.2vw, 19px); color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.perks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 520px; }
.perks li { background: rgb(255 255 255 / 75%); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.perks strong { display: block; font-size: 15px; }
.perks span { font-size: 13px; color: var(--muted); }

.hero__art { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin: 0 auto; }
.ring { position: absolute; inset: 4%; border-radius: 50%; border: 10px solid var(--ink); border-right-color: transparent; border-top-color: var(--brand); transform: rotate(-20deg); opacity: .9; }
.collage { position: absolute; inset: 0; }
.collage a { position: absolute; display: block; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: var(--shadow-lg); border: 6px solid #fff; transition: transform .25s ease; }
.collage a:hover { transform: translateY(-4px) rotate(0deg) !important; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage a:nth-child(1) { width: 56%; aspect-ratio: 1; left: 22%; top: 12%; transform: rotate(-3deg); z-index: 2; }
.collage a:nth-child(2) { width: 38%; aspect-ratio: 1; left: 0; top: 52%; transform: rotate(-8deg); z-index: 3; }
.collage a:nth-child(3) { width: 38%; aspect-ratio: 1; right: 0; top: 50%; transform: rotate(7deg); z-index: 1; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; padding-top: 64px; padding-bottom: 76px; }
}
@media (max-width: 520px) {
  .perks { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .perks li { padding: 8px 9px; }
  .perks strong { font-size: 14px; }
  .perks span { font-size: 12px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* Catalog */
.catalog { padding: 56px 0 64px; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.section-head h2, .steps h2 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; margin-top: 6px; }
.section-head__note { color: var(--muted); font-size: 15px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); }
.search:focus-within { border-color: var(--brand); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.sort select { height: 50px; padding: 0 40px 0 18px; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d6873' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; border: 1.5px solid var(--line); appearance: none; -webkit-appearance: none; cursor: pointer; font-weight: 500; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (min-width: 720px) { .chips { flex-wrap: wrap; margin: 0; padding-left: 0; padding-right: 0; } }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow), 0 18px 40px -22px rgb(11 122 135 / 45%); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--aqua); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__open { all: unset; cursor: pointer; display: block; }
.card__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__open:focus-visible::after { outline: 3px solid var(--brand); outline-offset: -3px; border-radius: var(--radius); }
.card__badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.card__cat { font-size: 12px; color: var(--brand-deep); font-weight: 600; letter-spacing: .02em; }
.card__title { font-size: 16px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.card__price { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.card__add { position: relative; z-index: 2; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: background-color .15s ease, transform .15s ease; }
.card__add:hover { background: var(--brand-deep); }
.card__add:active { transform: scale(.94); }
.card__add.added { background: var(--wa); }
@media (max-width: 420px) {
  .card__body { padding: 10px 11px 12px; }
  .card__title { font-size: 15px; }
  .card__price { font-size: 17px; }
  .card__add { width: 40px; height: 40px; }
}

.empty { text-align: center; padding: 48px 16px; color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.empty__title { color: var(--ink); font-weight: 600; font-size: 19px; }
.empty .btn { margin-top: 10px; }

/* Steps */
.steps { padding: 56px 0 64px; background: #fff; border-top: 1px solid var(--line); }
.steps__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps__list li { position: relative; padding: 22px 22px 22px 76px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.steps__n { position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 700; }
.steps__list li:nth-child(2) .steps__n { background: var(--brand); }
.steps__list li:nth-child(3) .steps__n { background: var(--wa); }
.steps h3 { font-size: 19px; margin-bottom: 4px; }
.steps p { color: var(--muted); }
@media (min-width: 820px) { .steps__list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* Footer */
.footer { background: var(--ink); color: #dfe6ea; padding: 48px 0 0; }
.footer__inner { display: grid; gap: 28px; }
/* The logo has a white background: it sits on a white badge. */
.footer__logo { height: 64px; width: auto; background: #fff; border-radius: 16px; padding: 8px 14px; }
.footer__note { margin-top: 14px; max-width: 52ch; color: #a8b4bc; font-size: 15px; }
.footer__links { display: grid; gap: 14px; justify-items: start; }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #3a434c; text-decoration: none; font-weight: 500; }
.footer__social a:hover { border-color: var(--brand); color: #fff; }
.footer__store { color: #a8b4bc; font-size: 15px; }
.footer__store a { color: #7fdbe4; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 22px; padding-bottom: 28px; margin-top: 36px; border-top: 1px solid #2b333b; color: #8796a0; font-size: 13px; }
@media (min-width: 820px) { .footer__inner { grid-template-columns: 1.4fr 1fr; } .footer__links { justify-items: end; text-align: right; } }

/* Overlays */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgb(14 18 22 / 55%); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(24px); opacity: .4; } }
@keyframes slide { from { transform: translateX(32px); opacity: .4; } }
.sheet { position: relative; background: #fff; width: 100%; max-height: 92dvh; overflow: auto; border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); animation: rise .25s ease; outline: none; }
.close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 92%); box-shadow: var(--shadow); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.close:hover { background: var(--aqua); }
@media (min-width: 760px) {
  .overlay { align-items: center; padding: 24px; }
  .sheet--product { max-width: 980px; border-radius: 24px; }
  .overlay--side { justify-content: flex-end; align-items: stretch; padding: 0; }
  .sheet--cart { max-width: 440px; max-height: none; height: 100%; border-radius: 24px 0 0 24px; animation: slide .25s ease; }
}

/* Product detail */
.product { display: grid; }
.product__gallery { background: var(--aqua); }
.product__main { aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.product__main img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.product__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.product__thumbs::-webkit-scrollbar { display: none; }
.product__thumbs button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #fff; cursor: pointer; opacity: .75; }
.product__thumbs button[aria-current="true"] { border-color: var(--brand); opacity: 1; }
.product__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product__info { padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 12px; }
.tag { align-self: flex-start; background: var(--aqua); color: var(--brand-ink); font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.product__info h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 700; padding-right: 40px; }
.product__price { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.product__eta { display: flex; gap: 10px; align-items: flex-start; background: var(--aqua); border: 1px solid var(--aqua-2); color: var(--brand-ink); padding: 10px 14px; border-radius: 14px; font-size: 15px; }
.product__eta::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.product__desc { color: var(--ink-2); white-space: pre-line; font-size: 16px; }
.product__buy { display: flex; gap: 10px; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; height: 48px; flex: none; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 22px; cursor: pointer; border-radius: 999px; }
.qty button:hover { color: var(--brand-deep); }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.qty--sm { height: 38px; }
.qty--sm button { width: 36px; font-size: 18px; }
.fine { font-size: 13px; color: var(--muted); }
@media (min-width: 760px) {
  .product { grid-template-columns: 1.05fr 1fr; }
  .product__gallery { border-radius: 24px 0 0 24px; }
  .product__info { padding: 36px 32px; max-height: 88dvh; overflow: auto; }
}

/* Cart */
.sheet--cart { display: flex; flex-direction: column; }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; }
.cart__head h2 { font-size: 24px; }
.cart__head .close { position: static; }
.cart__body { flex: 1; overflow: auto; padding: 0 20px; }
.cart__lines { list-style: none; padding: 0; margin: 0; }
.cart__line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart__line img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--aqua); }
.cart__line-title { font-weight: 600; line-height: 1.25; font-size: 15px; }
.cart__line-price { color: var(--muted); font-size: 14px; }
.cart__line-side { display: grid; justify-items: end; gap: 6px; }
.cart__remove { border: 0; background: none; color: var(--muted); font-size: 13px; cursor: pointer; text-decoration: underline; padding: 0; }
.cart__form { display: grid; gap: 12px; padding: 18px 0; }
.cart__form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.cart__form label small { font-weight: 400; color: var(--muted); font-size: 14px; }
.cart__form input, .cart__form textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; font-size: 16px; resize: vertical; }
.cart__form input:focus, .cart__form textarea:focus { outline: 0; border-color: var(--brand); }
.cart__foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: #fff; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total strong { font-size: 24px; }
.empty--cart { padding: 40px 8px; }

/* Floating bar and toast */
.floatbar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); cursor: pointer; font-size: 16px; animation: rise .25s ease; }
.floatbar__cta { font-weight: 700; color: #7fdbe4; }
.has-overlay body { overflow: hidden; }
.has-overlay .floatbar { display: none; }
@media (min-width: 860px) { .floatbar { left: auto; right: 24px; bottom: 24px; min-width: 340px; } }
.toast { position: fixed; left: 50%; top: 80px; transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 500; animation: rise .2s ease; max-width: calc(100% - 32px); text-align: center; }

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