:root {
  --ink: #242424;
  --muted: #6f6f6f;
  --line: #e4e2dd;
  --paper: #fffefb;
  --cream: #faf6e9;
  --night: #020711;
  --red: #ed1c24;
  --blue: #0057b8;
  --yellow: #f7c600;
  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: var(--font-sans);
  --photo-hero: url("https://images.unsplash.com/photo-1611416274901-faef46b63128?auto=format&fit=crop&fm=jpg&q=80&w=2400");
  --photo-sun: url("https://images.unsplash.com/photo-1663343682877-94ca0839f383?auto=format&fit=crop&fm=jpg&q=80&w=1600");
  --photo-optical: url("https://images.unsplash.com/photo-1542578985-15ccf7e6d990?auto=format&fit=crop&fm=jpg&q=80&w=1600");
  --photo-portrait: url("https://images.unsplash.com/photo-1662491516490-3b834eac3712?auto=format&fit=crop&fm=jpg&q=80&w=1600");
  --photo-moody: url("https://images.unsplash.com/photo-1542578985-15ccf7e6d990?auto=format&fit=crop&fm=jpg&q=80&w=2000");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
  display: block;
}

button,
select,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.09);
}

.shipping {
  height: 32px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #02050d;
  font-size: 13px;
  font-weight: 700;
}

.brand-row {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand {
  grid-column: 2;
  display: block;
  line-height: 0;
  white-space: nowrap;
  transform: none;
}

.desktop-nav {
  grid-column: 1 / 4;
  grid-row: 2;
  min-height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 800;
  transform: translateY(-12px);
}

.star-link {
  width: 70px;
  font-size: 11px;
  line-height: 1;
}

.divider {
  width: 2px;
  height: 32px;
  background: var(--ink);
}

.actions {
  justify-self: end;
  display: flex;
  gap: 22px;
  align-items: center;
}

.actions a,
.actions button,
.hamburger {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  line-height: 0;
}

.actions svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand img {
  width: min(196px, 42vw);
  height: auto;
  object-fit: contain;
}

.hero-lente {
  display: block;
  background: #020711;
}

.hero-visual {
  position: absolute;
  inset: 0;
  min-height: 100%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42)),
    var(--photo-hero) center / cover no-repeat;
}

.sun-disc {
  display: none;
}

.frame,
.frame-bridge {
  display: none;
}

.frame {
  bottom: 15%;
  width: 190px;
  height: 118px;
  border: 9px solid #242424;
  border-radius: 48% 52% 46% 54%;
  background: rgba(255, 255, 255, 0.38);
}

.frame-left {
  left: 18%;
  transform: rotate(-4deg);
}

.frame-right {
  left: calc(18% + 204px);
  transform: rotate(4deg);
}

.frame-bridge {
  left: calc(18% + 178px);
  bottom: calc(15% + 49px);
  width: 72px;
  height: 20px;
  border-top: 8px solid #242424;
  border-radius: 100%;
}

.hero-panel {
  position: absolute;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
  color: #fff;
  text-align: center;
  background: transparent;
}

.hero-panel p {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
}

.hero-panel h1 {
  display: block;
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.42);
}

.hero-panel a {
  width: fit-content;
  padding: 13px 24px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #242424;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.product-thumb {
  width: 100%;
  aspect-ratio: 400 / 231;
  border-radius: 2px;
  background: var(--photo-optical) center / cover no-repeat;
}

.sun-thumb {
  background: var(--photo-sun) center / cover no-repeat;
}

.family-thumb {
  background: var(--photo-portrait) center / cover no-repeat;
}

.exam-thumb {
  background: var(--photo-hero) center / cover no-repeat;
}

.mica-thumb {
  background: var(--photo-moody) center / cover no-repeat;
}

.branch-thumb {
  background: var(--photo-optical) center / cover no-repeat;
}

.branch-card {
  background: #fffdf4;
}

.branch-card::before {
  content: "";
  position: absolute;
  inset: 0;
}

.toluca-card::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.46)),
    var(--photo-optical) center / cover no-repeat;
}

.merida-card::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5)),
    var(--photo-sun) center / cover no-repeat;
}

.branch-card div {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.category-photo {
  width: 100%;
  aspect-ratio: 628 / 500;
  background: #fffdf4;
}

.optical-category {
  background: var(--photo-optical) center / cover no-repeat;
}

.sun-category {
  background: var(--photo-sun) center / cover no-repeat;
}

.online-preview {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0 48%, rgba(255, 255, 255, 0.16) 48%),
    var(--photo-portrait) center / cover no-repeat;
}

.online-art {
  position: absolute;
  left: 8%;
  top: 50%;
  width: min(430px, 40%);
  aspect-ratio: 4 / 3;
  border: 12px solid rgba(255, 255, 255, 0.94);
  background: var(--photo-moody) center / cover no-repeat;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%);
}

.brand-banner {
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.46)),
    var(--photo-hero) center / cover no-repeat;
}

.brand-banner span {
  padding: 13px 24px;
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  font-size: clamp(18px, 3vw, 34px);
  font-weight: 800;
}

.why-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid #242424;
}

.yellow-dot {
  background: #f7c600;
}

.blue-dot {
  background: #0057b8;
}

.red-dot {
  background: #ed1c24;
}

.impact-card {
  background: #111;
}

.impact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.92;
}

.simple-commerce::before {
  background:
    linear-gradient(90deg, rgba(0, 87, 184, 0.8), rgba(0, 0, 0, 0.2)),
    var(--photo-moody) center / cover no-repeat;
}

.family-business::before {
  background:
    linear-gradient(90deg, rgba(237, 28, 36, 0.8), rgba(0, 0, 0, 0.2)),
    var(--photo-sun) center / cover no-repeat;
}

.impact-card div {
  z-index: 1;
}

.search-action {
  order: 1;
}

.favorite-action {
  order: 2;
}

.cart-action {
  order: 3;
}

.account-action {
  order: 4;
}

.delivery-action {
  order: 5;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-tabs {
  display: none;
}

.mobile-tabs a {
  min-height: 100%;
  display: grid;
  place-items: center;
}

.hero {
  position: relative;
  height: min(810px, calc(100vh - 141px));
  min-height: 610px;
  overflow: hidden;
  background: var(--night);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cta {
  position: absolute;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  min-width: 104px;
  padding: 13px 24px;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: rgba(8, 12, 22, 0.15);
}

.intro {
  padding: 78px 0 44px;
  text-align: center;
  background: #fff;
}

.intro h1,
.occasion h2,
.temple h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.intro > p,
.occasion > p,
.temple > p {
  margin: 14px auto 32px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink);
}

.product-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 14px 12px;
  scroll-snap-type: x mandatory;
}

.product-rail article {
  scroll-snap-align: start;
  min-width: 230px;
  text-align: center;
}

.product-rail img {
  width: 100%;
  aspect-ratio: 400 / 231;
  object-fit: contain;
}

.product-rail h2 {
  margin: 12px 0 4px;
  font-size: 14px;
  font-weight: 800;
}

.product-rail p {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.ticker {
  overflow: hidden;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 22px;
  padding: 13px 0;
  animation: marquee 34s linear infinite;
}

.ticker span::after {
  content: "•";
  margin-left: 22px;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-35%);
  }
}

.promo-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(720px, 912px);
  gap: 48px;
  overflow-x: auto;
  padding: 52px 32px 70px;
  scroll-snap-type: x mandatory;
}

.promo-card {
  scroll-snap-align: center;
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: #111;
}

.promo-card img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.promo-card div {
  position: absolute;
  inset: 0 0 0 auto;
  width: 47%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  text-align: center;
  color: #fff;
}

.promo-card small {
  font-size: 12px;
  font-weight: 800;
}

.promo-card h2 {
  max-width: 360px;
  margin: 12px 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.promo-card p {
  max-width: 300px;
  margin: 0 0 22px;
  font-weight: 700;
  line-height: 1.45;
}

.promo-card a,
.fruit a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.occasion {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px 110px;
  text-align: center;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.occasion-grid a {
  display: grid;
  gap: 22px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  text-decoration: underline;
}

.occasion-grid img {
  width: 100%;
  aspect-ratio: 628 / 500;
  object-fit: cover;
}

.fruit {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 110px;
  min-height: 360px;
}

.fruit img {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
}

.fruit div {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 280px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.fruit a {
  margin-top: 16px;
  color: #fff;
  background: var(--ink);
}

.temple {
  max-width: 1280px;
  margin: 0 auto 130px;
  padding: 48px 64px 230px;
  background: var(--cream);
  text-align: center;
}

.temple p {
  max-width: 720px;
}

.temple form {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr auto;
  gap: 18px;
  align-items: end;
  text-align: left;
}

.temple label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
}

.temple select,
.temple input {
  width: 100%;
  height: 42px;
  border: 1px solid #d9d7d1;
  border-radius: 4px;
  padding: 0 12px;
  background: #fff;
  color: #777;
}

.temple button {
  height: 42px;
  border: 1px solid #c9c6bf;
  border-radius: 999px;
  padding: 0 18px;
  color: #aaa;
  background: #fff;
}

.why {
  max-width: 1280px;
  margin: 0 auto 110px;
  text-align: center;
}

.why-banner {
  width: 100%;
  aspect-ratio: 1280 / 428;
  object-fit: cover;
  margin-bottom: 70px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: 0 auto;
}

.why-grid article {
  min-height: 160px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 14px;
  padding: 8px 46px;
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.why-grid article:last-child {
  border-right: 0;
}

.why-grid img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.kidney {
  margin-top: 42px;
  font-size: 14px;
  font-weight: 800;
}

.impact {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(720px, 912px);
  gap: 48px;
  overflow-x: auto;
  padding: 0 32px 110px;
}

.impact article {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

.impact img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.impact div {
  position: absolute;
  inset: 0 auto 0 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.impact h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.06;
  text-wrap: balance;
}

.impact p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.footer {
  color: #fff;
  background: #242424;
  padding: 42px 80px 34px;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
  max-width: 1280px;
  margin: 0 auto 46px;
}

.footer h3 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
}

.footer a,
.footer p {
  display: block;
  margin: 0 0 10px;
  color: #fff;
}

.subscribe {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.subscribe input {
  min-width: 0;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
}

.subscribe button {
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.address,
.rights {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  color: #d8d8d8;
}

@media (max-width: 860px) {
  .shipping {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    text-align: center;
  }

  .brand-row {
    min-height: 86px;
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    gap: 12px;
  }

  .hamburger {
    display: flex;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }

  .brand {
    flex: 0 0 auto;
  }

  .brand img {
    width: min(172px, 44vw);
  }

  .desktop-nav,
  .desktop-only,
  .search-action {
    display: none;
  }

  .actions {
    flex: 0 0 auto;
    gap: 12px;
  }

  .account-action {
    order: 1;
  }

  .favorite-action {
    order: 2;
  }

  .cart-action {
    order: 3;
  }

  .actions a,
  .actions button {
    width: 34px;
    height: 34px;
  }

  .actions .search-action {
    display: none;
  }

  .mobile-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    height: 58px;
    border-top: 1px solid var(--line);
    align-items: center;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
  }

  .hero {
    height: 620px;
    min-height: 620px;
  }

  .hero-video {
    width: 170%;
    max-width: none;
    margin-left: -34%;
    object-position: 45% 34%;
  }

  .hero-cta {
    bottom: 86px;
    min-width: 208px;
    padding: 18px 28px;
    font-size: 25px;
    border-width: 4px;
  }

  .hero-panel {
    bottom: 54px;
    width: min(560px, calc(100% - 32px));
  }

  .hero-panel p {
    font-size: 14px;
  }

  .hero-panel h1 {
    margin-bottom: 20px;
    font-size: clamp(38px, 10vw, 58px);
  }

  .intro {
    padding: 58px 0 28px;
  }

  .product-rail {
    grid-auto-columns: 56vw;
  }

  .promo-strip,
  .impact {
    grid-auto-columns: 88vw;
    gap: 20px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .promo-card,
  .impact article {
    min-height: 360px;
  }

  .promo-card img,
  .impact img {
    min-height: 360px;
  }

  .promo-card div,
  .impact div {
    width: 64%;
    padding: 22px;
  }

  .occasion {
    padding: 0 18px 80px;
  }

  .occasion-grid {
    grid-template-columns: 1fr;
  }

  .fruit {
    margin-bottom: 70px;
  }

  .fruit div {
    right: 8%;
    max-width: 210px;
  }

  .online-art {
    left: 6%;
    width: 40%;
    border-width: 8px;
  }

  .temple {
    margin-bottom: 90px;
    padding: 40px 22px 110px;
  }

  .temple form {
    grid-template-columns: 1fr;
  }

  .why {
    margin-bottom: 72px;
  }

  .why-banner {
    width: calc(100% - 36px);
    margin: 0 auto 42px;
    aspect-ratio: 3 / 2;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer {
    padding: 34px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer a {
    min-height: 34px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .shipping {
    height: 40px;
    font-size: 12px;
  }

  .brand-row {
    min-height: 78px;
    padding: 0 12px;
    gap: 8px;
  }

  .brand img {
    width: min(122px, 38vw);
  }

  .actions {
    gap: 6px;
  }

  .actions a,
  .actions button {
    width: 30px;
    height: 30px;
  }

  .hamburger {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  .mobile-tabs {
    height: 52px;
    font-size: 15px;
  }

  .hero {
    height: 590px;
    min-height: 590px;
  }

  .intro h1,
  .occasion h2,
  .temple h2 {
    font-size: 36px;
  }

  .promo-card div {
    width: 70%;
  }
}
