:root {
  --bg-1: #e8f7ff;
  --bg-2: #c7e9ff;
  --bg-3: #b7ddff;
  --glass: rgba(232, 248, 255, 0.38);
  --glass-strong: rgba(239, 251, 255, 0.54);
  --paper: rgba(245, 253, 255, 0.68);
  --ink: #05253f;
  --muted: #2f5f82;
  --accent: #1e9fe3;
  --accent-2: #44c6ff;
  --line: rgba(153, 215, 255, 0.62);
  --radius: 24px;
  --shadow-soft: 0 12px 32px rgba(20, 104, 163, 0.18);
  --shadow-float: 0 22px 44px rgba(10, 90, 146, 0.24);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at 12% -10%, rgba(124, 220, 255, 0.82), transparent 42%),
    radial-gradient(circle at 94% 8%, rgba(101, 199, 255, 0.66), transparent 36%),
    radial-gradient(circle at 50% 120%, rgba(158, 226, 255, 0.74), transparent 44%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2) 44%, var(--bg-3));
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  padding-bottom: 8.2rem;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.34) 0.9px, transparent 0.9px),
    radial-gradient(rgba(7, 87, 141, 0.09) 0.8px, transparent 0.8px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: overlay;
}

.topbar {
  width: min(1080px, 94vw);
  margin: 0.85rem auto 0.4rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(239, 252, 255, 0.75);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: sticky;
  top: 0.5rem;
  z-index: 20;
  background: linear-gradient(122deg, rgba(230, 249, 255, 0.44), rgba(208, 240, 255, 0.24));
}

.app-header {
  box-shadow:
    var(--shadow-float),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(201, 234, 255, 0.5);
  justify-content: center;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.flag-badge {
  border: 1px solid var(--line);
  background: var(--glass-strong);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  color: var(--ink);
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.logo {
  text-decoration: none;
  color: var(--ink);
  font-family: "Syne", sans-serif;
  font-weight: 800;
  letter-spacing: 0.09em;
  font-size: 1rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.62);
}

.pill-btn,
.cta,
.cart-pill,
.search-button,
.product-action,
.section-link {
  text-decoration: none;
  color: #f4fcff;
  background: linear-gradient(146deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  padding: 0.62rem 1rem;
  border: 1px solid rgba(191, 236, 255, 0.85);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
  box-shadow:
    0 10px 24px rgba(10, 102, 161, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cart-pill,
.search-button,
.product-action,
.section-link,
.bottom-nav a {
  min-height: 44px;
}

.pill-btn:hover,
.cta:hover,
.cart-pill:hover,
.search-button:hover,
.product-action:hover,
.section-link:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow:
    0 14px 28px rgba(9, 108, 171, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.section {
  width: min(1080px, 94vw);
  margin: 1rem auto 1.3rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.77rem;
  color: #177fbe;
  margin: 0 0 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Syne", sans-serif;
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.9rem);
}

.app-hero {
  display: grid;
  gap: 0.9rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.search-icon {
  color: var(--muted);
  font-size: 1.1rem;
}

.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
  min-width: 0;
}

.search-bar input:focus {
  outline: none;
}

.search-button {
  padding-inline: 0.9rem;
}

.hero-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(160px, 0.75fr);
  gap: 0.9rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(235, 250, 255, 0.63), rgba(206, 241, 255, 0.42));
  box-shadow:
    var(--shadow-float),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lede {
  max-width: 50ch;
  color: var(--muted);
  margin: 1rem 0 1.4rem;
  font-size: 1rem;
}

.hero-cta-row {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cta.ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--glass-strong);
}

.hero-image {
  margin: 0;
  padding: 0.55rem;
  border-radius: 18px;
  background: rgba(241, 253, 255, 0.55);
  border: 1px solid rgba(166, 221, 255, 0.7);
  box-shadow: var(--shadow-soft);
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
}

.hero-image figcaption {
  margin-top: 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.category-strip {
  display: flex;
  gap: 0.7rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-strip a {
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--ink);
  background: var(--glass-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(30, 126, 184, 0.15);
}

.app-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-link {
  padding: 0.55rem 0.85rem;
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.85rem;
}

.product {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(244, 253, 255, 0.7), rgba(218, 245, 255, 0.5));
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #fff;
}

.product img.fit-contain {
  object-fit: contain;
  object-position: center;
  padding: 0.45rem;
}

.product-body {
  padding: 0.9rem;
}

.product-body h3 {
  font-size: 1rem;
}

.price {
  margin: 0.4rem 0 0.15rem;
  color: #1f9ad9;
  font-weight: 800;
  font-size: 0.98rem;
}

.product-rating {
  margin: 0.15rem 0 0.45rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(160, 221, 255, 0.68);
  background: rgba(240, 252, 255, 0.65);
  font-size: 0.72rem;
  line-height: 1;
  max-width: 100%;
}

.product-rating .stars {
  color: #f2aa16;
  letter-spacing: 0.05em;
  font-size: 0.74rem;
}

.product-rating .rating-note {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.68rem;
}

.product-body p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.product-action {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
}

.storefront-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  background: linear-gradient(150deg, rgba(243, 252, 255, 0.62), rgba(211, 240, 255, 0.44));
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.info-card strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 1.06rem;
}

.info-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.info-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.info-card span {
  color: var(--muted);
  font-size: 0.93rem;
}

.cart-summary {
  position: sticky;
  bottom: 4.35rem;
  z-index: 35;
  width: min(1080px, 94vw);
  margin: 0 auto 0.35rem;
  padding: 0.52rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(130deg, rgba(241, 252, 255, 0.75), rgba(215, 244, 255, 0.55));
  box-shadow:
    var(--shadow-float),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: center;
}

.cart-meta {
  min-width: 0;
}

.cart-meta strong {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 0.92rem;
}

.cart-meta span {
  color: #1889c6;
  font-weight: 800;
  font-size: 0.88rem;
}

.cart-preview {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-btn {
  border: 1px solid rgba(190, 234, 255, 0.88);
  border-radius: 999px;
  padding: 0.58rem 0.88rem;
  background: linear-gradient(148deg, var(--accent), var(--accent-2));
  color: #f2fbff;
  font-weight: 800;
  font-size: 0.82rem;
  min-height: 36px;
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(13, 113, 176, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.checkout-btn:hover {
  filter: saturate(1.08) brightness(1.04);
}

.bottom-nav {
  position: sticky;
  bottom: 0.35rem;
  z-index: 30;
  width: min(1080px, 94vw);
  margin: 0.65rem auto 0.35rem;
  padding: 0.4rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(125deg, rgba(238, 251, 255, 0.76), rgba(216, 245, 255, 0.54));
  box-shadow:
    var(--shadow-float),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bottom-nav a {
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.36rem 0.2rem;
  min-height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(172, 224, 255, 0.55);
  background: rgba(241, 253, 255, 0.48);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

.contact-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.94;
}

.contact-whatsapp {
  background: linear-gradient(145deg, rgba(232, 248, 255, 0.92), rgba(204, 239, 255, 0.72));
}

.contact-snapchat {
  background: linear-gradient(145deg, rgba(232, 248, 255, 0.92), rgba(204, 239, 255, 0.72));
}

.contact-email {
  background: linear-gradient(145deg, rgba(232, 248, 255, 0.92), rgba(204, 239, 255, 0.72));
}

.contact-phone {
  background: linear-gradient(145deg, rgba(232, 248, 255, 0.92), rgba(204, 239, 255, 0.72));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px) scale(0.985);
}

[data-reveal].visible {
  animation: rise 0.78s cubic-bezier(0.18, 1, 0.32, 1) forwards;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image img {
    animation: none;
  }
}

@media (max-width: 900px) {
  .flag-badge {
    display: none;
  }

  .hero-banner,
  .storefront-info {
    grid-template-columns: 1fr;
  }

  .hero-image {
    max-width: 340px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100vw - 0.75rem);
    margin: 0.45rem auto 0.35rem;
    padding: 0.7rem 0.75rem;
    border-radius: 18px;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: center;
    top: 0.35rem;
  }

  .brand-row {
    width: 100%;
    justify-content: center;
  }

  .logo {
    flex-basis: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .cart-pill {
    width: 100%;
  }

  .section {
    width: calc(100vw - 0.75rem);
    margin: 1rem auto 1.1rem;
  }

  h1 {
    font-size: clamp(1.95rem, 10.5vw, 3rem);
  }

  h2 {
    font-size: clamp(1.45rem, 8vw, 2.1rem);
  }

  .lede {
    max-width: none;
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .cta {
    width: 100%;
    padding: 0.9rem 1rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .product {
    border-radius: 16px;
  }

  .product img {
    aspect-ratio: 1 / 0.95;
  }

  .product-body,
  .info-card {
    padding: 0.85rem;
  }

  .product-body p,
  .info-card span {
    font-size: 0.9rem;
  }

  .product-action {
    font-size: 0.84rem;
  }

  .bottom-nav {
    width: calc(100vw - 0.75rem);
    bottom: 0.35rem;
    padding: 0.34rem;
    gap: 0.3rem;
  }

  .cart-summary {
    width: calc(100vw - 0.75rem);
    bottom: 3.9rem;
    grid-template-columns: 1fr;
    padding: 0.5rem;
  }

  .checkout-btn {
    width: 100%;
  }

  .bottom-nav a {
    font-size: 0.74rem;
    padding: 0.32rem 0.16rem;
    min-height: 34px;
  }
}

@media (max-width: 420px) {
  .bg-noise {
    opacity: 0.08;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .hero-banner {
    padding: 0.85rem;
  }

  .hero-image,
  .product {
    border-radius: 18px;
  }

  .hero-image img,
  .product img {
    border-radius: 14px;
  }

  .product-body {
    padding: 0.75rem;
  }

  .product-body h3 {
    font-size: 0.96rem;
  }

  .price {
    font-size: 0.9rem;
  }

  .product-body p {
    font-size: 0.84rem;
    margin-top: 0.45rem;
  }

  .product-action {
    margin-top: 0.65rem;
    padding: 0.6rem 0.55rem;
    font-size: 0.8rem;
  }

  .cart-pill,
  .search-button,
  .section-link,
  .product-action {
    width: 100%;
  }

  .bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cart-summary {
    bottom: 3.7rem;
    padding: 0.46rem;
  }

  .cart-preview {
    font-size: 0.8rem;
  }

  .bottom-nav a {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
