:root {
  --color-primary: #ff6a00;
  --color-primary-dark: #d94e00;
  --color-primary-text: #b84200;
  --color-on-accent: #000000;
  --color-dark: #161616;
  --color-dark-soft: #262220;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f5f2;
  --color-card-image-bg: #fbf9f6;
  --color-muted: #6b6b6b;
  --color-border: #eae7e2;
  --color-whatsapp: #075e54;
  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 14px rgba(20, 16, 12, 0.06);
  --shadow-md: 0 14px 34px rgba(20, 16, 12, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-dark);
  background: var(--color-bg-alt);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  margin: 0;
}

button {
  font-family: inherit;
}

/* ---------- Topbar ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__logo {
  height: 40px;
  width: auto;
}

.cart-toggle {
  position: relative;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s var(--ease);
}

.cart-toggle:active {
  transform: scale(0.92);
}

.cart-toggle__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-primary);
  color: var(--color-on-accent);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.cart-toggle__badge.bump {
  animation: badge-bump 0.35s var(--ease);
}

@keyframes badge-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.5); }
  100% { transform: scale(1); }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--color-dark);
  color: #fff;
  padding: 22px 20px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
  z-index: 0;
}

.hero__photo {
  display: contents;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(165deg, rgba(8, 6, 5, 0.96) 0%, rgba(8, 6, 5, 0.9) 32%, rgba(8, 6, 5, 0.55) 60%, rgba(8, 6, 5, 0.18) 100%);
}

.hero__stamp {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  background: rgba(10, 8, 6, 0.75);
  border: 2px solid var(--color-primary);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-primary);
  text-align: center;
  padding: 6px;
}

.hero__stamp-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.68rem;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
}

.hero__stamp-sub {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .hero__stamp {
    width: 120px;
    height: 120px;
    top: 28px;
    right: 28px;
    gap: 4px;
  }

  .hero__stamp-title {
    font-size: 0.85rem;
  }

  .hero__stamp-sub {
    font-size: 0.62rem;
  }
}

.hero__content-wrap {
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding-top: 96px;
}

@media (min-width: 900px) {
  /* Split the hero into two honest halves instead of overlaying text on
     the photo: a dark panel for the copy, a full-height photo panel.
     Avoids fighting a scrim gradient to keep text legible over the image. */
  .hero {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 0;
    min-height: 640px;
  }

  .hero__photo {
    display: block;
    position: relative;
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    aspect-ratio: 1 / 1;
    height: 100%;
    width: auto;
    overflow: hidden;
  }

  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: center;
    transform: none;
  }

  .hero__scrim {
    display: none;
  }

  .hero__content-wrap {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    max-width: none;
    padding: 64px 56px;
    padding-top: 64px;
  }
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin: 0 0 10px;
}

.hero__kicker span {
  height: 1px;
  width: 26px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.hero__kicker-break {
  display: none;
}

@media (min-width: 900px) {
  .hero__kicker .hero__kicker-dot {
    display: inline;
    width: auto;
    height: auto;
    background: none;
  }
}

@media (max-width: 899px) {
  .hero__kicker {
    display: block;
    text-align: center;
  }

  .hero__kicker span {
    display: none;
  }

  .hero__kicker-break {
    display: block;
  }
}

.hero__title2 {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 0;
}

.hero__title2-line {
  font-size: clamp(1.7rem, 7.5vw, 2.6rem);
  color: #fff;
}

.hero__title2-accent {
  font-size: clamp(2.1rem, 10vw, 3.4rem);
  background: linear-gradient(100deg, #ffb066, var(--color-primary) 55%, var(--color-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title2-sub {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.8rem;
  color: #e6e3de;
  margin: 8px 0 12px;
}

.hero__subtitle {
  color: #d8d4cf;
  font-size: 0.92rem;
  margin: 0 0 14px;
  line-height: 1.45;
}

@media (min-width: 768px) {
  .hero {
    padding: 28px 40px 32px;
  }

  .hero__subtitle {
    font-size: 1.05rem;
  }
}

.countdown {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.countdown__flash {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-on-accent);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  animation: badge-glow 2.2s ease-in-out infinite;
}

.countdown__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.72rem;
  color: #cfcfcf;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.countdown__label span {
  height: 1px;
  width: 20px;
  background: rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.countdown__timer {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.countdown__unit {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 106, 0, 0.45);
  border-radius: 12px;
  padding: 7px 6px;
  min-width: 54px;
}

.countdown__unit span {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.countdown__unit small {
  font-size: 0.64rem;
  color: #c8c3bd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 360px) {
  .countdown {
    padding: 12px;
  }

  .countdown__timer {
    gap: 6px;
  }

  .countdown__unit {
    min-width: 46px;
    padding: 8px 4px;
  }

  .countdown__unit span {
    font-size: 1.2rem;
  }
}

@media (min-width: 900px) {
  .countdown {
    padding: 26px 30px;
    margin-bottom: 22px;
  }

  .countdown__flash {
    font-size: 0.92rem;
    padding: 9px 20px;
    margin-bottom: 18px;
  }

  .countdown__label {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
  }

  .countdown__label span {
    display: none;
  }

  .countdown__timer {
    gap: 18px;
  }

  .countdown__unit {
    min-width: 86px;
    padding: 16px 12px;
    border-radius: 14px;
  }

  .countdown__unit span {
    font-size: 2.3rem;
  }

  .countdown__unit small {
    font-size: 0.74rem;
  }
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: var(--color-on-accent);
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(255, 106, 0, 0.4);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

@media (hover: hover) {
  .hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(255, 106, 0, 0.5);
  }
}

.hero__cta:active {
  transform: translateY(0);
}

/* Short mobile viewports (e.g. iPhone SE): trim vertical rhythm so the
   CTA clears the fold instead of landing just past it. */
@media (max-width: 480px) and (max-height: 700px) {
  .hero__stamp {
    width: 68px;
    height: 68px;
    top: 14px;
    right: 14px;
  }

  .hero__content-wrap {
    padding-top: 78px;
  }

  .hero__kicker {
    margin: 0 0 6px;
  }

  .hero__title2-sub {
    margin: 4px 0 8px;
  }

  .hero__subtitle {
    margin: 0 0 8px;
  }

  .countdown {
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  .countdown__flash {
    margin-bottom: 5px;
  }

  .countdown__label {
    margin-bottom: 5px;
  }

  .countdown__unit {
    padding: 5px 4px;
  }

  .hero__cta {
    padding: 10px 22px;
  }
}

/* ---------- Showcase ---------- */

.showcase {
  background: #fff;
  padding: 36px 0 8px;
}

.showcase__header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 18px;
}

.showcase__header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.showcase__header p {
  color: var(--color-muted);
  font-size: 0.85rem;
  margin: 0;
}

.showcase__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 150px;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 36px;
}

.showcase__tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-card-image-bg);
  box-shadow: var(--shadow-sm);
}

.showcase__tile--hero {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.showcase__tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.68) 0%, rgba(10, 8, 6, 0.05) 55%, transparent 75%);
}

@media (hover: hover) {
  .showcase__tile:hover img {
    transform: scale(1.07);
  }
}

.showcase__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.showcase__tile--hero .showcase__caption {
  font-size: 1.15rem;
  left: 20px;
  bottom: 18px;
}

@media (min-width: 640px) {
  .showcase__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 190px;
  }
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .countdown__flash,
  .whatsapp-float,
  .cart-toggle__badge.bump {
    animation: none;
  }
}

/* ---------- Catalog ---------- */

.catalog {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 16px 60px;
}

.recharge-group {
  margin-bottom: 44px;
}

.recharge-group__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 18px;
}

.recharge-group__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.recharge-group__title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  flex-shrink: 0;
}

.recharge-group__title span {
  color: var(--color-primary-text);
}

.recharge-group__count {
  font-size: 0.78rem;
  color: var(--color-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  }
}

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 16, 12, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

@media (hover: hover) {
  .product-card:hover {
    box-shadow: 0 22px 44px rgba(20, 16, 12, 0.16);
    transform: translateY(-5px);
    border-color: rgba(255, 106, 0, 0.25);
  }

  .product-card:hover .product-card__img.is-active {
    transform: scale(1.05);
  }
}

.product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 42%, #ffffff 0%, var(--color-card-image-bg) 78%);
  cursor: pointer;
}

.product-card__img {
  position: absolute;
  opacity: 0;
  transition: opacity 0.05s linear, transform 0.4s var(--ease);
  pointer-events: none;
}

.product-card__img.is-active {
  opacity: 1;
}

.product-card__img--day,
.product-card__img--dusk,
.product-card__img--night {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-card__img--packshot {
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  object-fit: contain;
}

@keyframes badge-glow {
  0%, 100% { box-shadow: 0 4px 14px rgba(217, 78, 0, 0.5); }
  50% { box-shadow: 0 4px 20px rgba(255, 106, 0, 0.85); }
}

.product-card__dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(22, 22, 22, 0.45);
  backdrop-filter: blur(3px);
  padding: 5px;
  border-radius: 999px;
  z-index: 3;
}

.product-card__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  padding: 0;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-card__dot::before {
  content: "";
  position: absolute;
  inset: -5px;
}

.product-card__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.3);
}

.product-card__body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-card__code {
  font-weight: 700;
  font-size: 0.86rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.product-card__vat-tag {
  font-size: 0.6rem;
  font-weight: 700;
  color: #1e7b34;
  background: #eafaf0;
  border: 1px solid #bfe8cc;
  border-radius: 999px;
  padding: 2px 7px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.product-card__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-card__pill {
  display: inline-block;
  background: var(--color-bg-alt);
  color: var(--color-muted);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  width: fit-content;
}

.product-card__pill--recharge {
  background: rgba(255, 106, 0, 0.14);
  color: var(--color-primary-text);
}

.product-card__price {
  margin-top: 8px;
}

.product-card__price-top {
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap;
  background: linear-gradient(100deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.04));
  border: 1px solid rgba(255, 106, 0, 0.18);
  border-radius: 10px;
  padding: 8px 10px;
}

.product-card__strike {
  color: var(--color-muted);
  text-decoration: line-through;
  font-size: 0.8rem;
}

.product-card__price-bottom {
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--color-muted);
}

.product-card__sale {
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 1.4rem;
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.product-card__unit-label {
  font-size: 0.74rem;
  color: var(--color-muted);
  font-weight: 600;
}

.product-card__actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  align-self: flex-start;
}

.qty-control__btn {
  background: var(--color-bg-alt);
  border: none;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s var(--ease);
}

.qty-control__btn:first-child {
  border-radius: 999px 0 0 999px;
}

.qty-control__btn:last-child {
  border-radius: 0 999px 999px 0;
}

@media (hover: hover) {
  .qty-control__btn:hover {
    background: #eee;
  }
}

.qty-control__display {
  min-width: 64px;
  padding: 0 6px;
  text-align: center;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  user-select: none;
}

.btn-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--color-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}

@media (hover: hover) {
  .btn-add-cart:hover {
    background: var(--color-primary);
    color: var(--color-on-accent);
  }
}

.btn-add-cart:active {
  transform: scale(0.97);
}

.btn-add-cart.added {
  background: var(--color-whatsapp);
}

/* ---------- Cart drawer ---------- */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
  z-index: 50;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  max-width: 420px;
  background: #fff;
  z-index: 60;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__header h2 {
  font-size: 1.1rem;
}

#cart-close {
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  color: var(--color-muted);
  margin-right: -10px;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 8px 16px;
}

.cart-drawer__empty {
  text-align: center;
  color: var(--color-muted);
  padding: 40px 16px;
}

.cart-line {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.cart-line__thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: var(--color-card-image-bg);
  border-radius: 10px;
  padding: 4px;
  flex-shrink: 0;
}

.cart-line__info {
  flex: 1;
  min-width: 0;
}

.cart-line__code {
  font-weight: 700;
  font-size: 0.82rem;
}

.cart-line__meta {
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-bottom: 4px;
}

.cart-line__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-line__qty-btn {
  position: relative;
  background: var(--color-bg-alt);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
}

.cart-line__qty-btn::before {
  content: "";
  position: absolute;
  inset: -11px;
}

.cart-line__qty span {
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 14px;
  text-align: center;
}

.cart-line__end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-line__subtotal {
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-line__remove {
  position: relative;
  background: none;
  border: none;
  color: var(--color-muted);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.cart-line__remove::before {
  content: "";
  position: absolute;
  inset: -11px;
}

.cart-drawer__summary {
  border-top: 1px solid var(--color-border);
  padding: 16px;
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  margin-bottom: 14px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-form label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-muted);
}

.checkout-form input,
.checkout-form textarea {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.btn-submit-order {
  margin-top: 8px;
  background: var(--color-primary);
  color: var(--color-on-accent);
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

@media (hover: hover) {
  .btn-submit-order:hover:not(:disabled) {
    background: var(--color-primary-dark);
    color: var(--color-on-accent);
  }
}

.btn-submit-order:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-success {
  margin: 12px 16px;
  background: #eafaf0;
  border: 1px solid var(--color-whatsapp);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.checkout-success__whatsapp {
  display: inline-block;
  margin-top: 8px;
  color: var(--color-whatsapp);
  font-weight: 700;
  text-decoration: none;
}

.checkout-error {
  margin: 12px 16px;
  background: #fdecea;
  border: 1px solid #e35c53;
  border-radius: 10px;
  padding: 12px;
  font-size: 0.9rem;
  color: #a4211a;
}

/* ---------- WhatsApp float ---------- */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(7, 94, 84, 0.5);
  z-index: 45;
  animation: whatsapp-pulse 2.4s ease-in-out infinite;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.whatsapp-float.is-hidden {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(7, 94, 84, 0.5); }
  50% { box-shadow: 0 8px 28px rgba(7, 94, 84, 0.85); }
}

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 32px 16px 44px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

.site-footer__logo {
  height: 32px;
  margin: 0 auto 14px;
  opacity: 0.85;
}

.site-footer a {
  color: var(--color-primary-text);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Expired page ---------- */

.expired-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 16px;
}

.expired-page__logo {
  height: 60px;
  margin-bottom: 8px;
}

.expired-page p {
  max-width: 420px;
  line-height: 1.6;
  color: var(--color-muted);
}

.expired-page__cta {
  display: inline-block;
  background: var(--color-whatsapp);
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  margin-top: 8px;
}

/* ---------- Toast ---------- */

.toast-container {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 380px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  max-width: 100%;
}

.toast svg {
  color: var(--color-whatsapp);
  flex-shrink: 0;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
