/* ==========================================================================
   Spring Drops — Components
   Header, navigation, footer, cards, commerce controls, overlays
   ========================================================================== */

/* ---------- Announcement ---------- */
.announce {
  position: relative;
  z-index: 70;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.01em;
}

.announce__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 38px;
  padding-block: 7px;
  text-align: center;
}

.announce__text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.announce__text .ico {
  width: 14px;
  height: 14px;
  color: var(--aqua-2);
  flex: none;
}

.announce__divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.announce a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.25s, color 0.25s;
}

.announce a:hover {
  color: var(--aqua-2);
  border-color: var(--aqua-2);
}

.announce__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 780px) {
  .announce {
    font-size: 11px;
  }

  .announce__inner {
    min-height: 34px;
    gap: 0;
    justify-content: center;
  }

  .announce__text--secondary,
  .announce__divider,
  .announce__phone {
    display: none;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 1px 24px -6px rgba(6, 32, 47, 0.18);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}

.site-header.is-stuck .header__inner {
  height: 66px;
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 46px;
  height: 46px;
  flex: none;
  transition: transform 0.5s var(--ease-out), width 0.35s var(--ease), height 0.35s var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-6deg);
}

.site-header.is-stuck .brand__mark {
  width: 40px;
  height: 40px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__name {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--ink);
}

.brand__tag {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
  line-height: 1.4;
}

@media (max-width: 420px) {
  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 14px;
  }

  .brand__tag {
    font-size: 7px;
    letter-spacing: 0.18em;
  }
}

/* Primary nav */
.nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.6vw, 10px);
  margin-inline: auto;
  position: relative;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--ink-80);
  border-radius: 2px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  white-space: nowrap;
}

.nav__link:hover {
  color: var(--brand);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1.5px;
  background: var(--aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__link.is-active {
  color: var(--ink);
}

.nav__chev {
  width: 13px;
  height: 13px;
  opacity: 0.55;
  transition: transform 0.3s var(--ease);
}

.nav__item:hover .nav__chev,
.nav__item.is-open .nav__chev {
  transform: rotate(180deg);
}

.nav__item {
  position: relative;
}

/* Mega menu */
.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(860px, 90vw);
  transform: translate(-50%, 8px);
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), transform 0.35s var(--ease-out), visibility 0.28s;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 10px;
}

.mega::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav__item:hover .mega,
.nav__item:focus-within .mega,
.nav__item.is-open .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega__col {
  padding: 14px 10px;
}

.mega__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-40);
  padding: 0 12px 10px;
}

.mega__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  border-radius: 3px;
  transition: background 0.25s var(--ease);
}

.mega__link:hover {
  background: var(--ice-2);
}

.mega__thumb {
  width: 48px;
  height: 56px;
  flex: none;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, var(--ice));
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  overflow: hidden;
}

.mega__thumb img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mega__name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

.mega__meta {
  font-size: 11.5px;
  color: var(--ink-55);
  margin-top: 2px;
}

.mega__promo {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--navy);
  color: #fff;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  isolation: isolate;
}

.mega__promo img {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 150px;
  opacity: 0.95;
  z-index: -1;
  transform: rotate(-6deg);
}

.mega__promo h4 {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 190px;
}

.mega__promo p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 8px;
  max-width: 200px;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 2px;
  color: var(--ink);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.icon-btn .ico {
  width: 19px;
  height: 19px;
}

.icon-btn:hover {
  background: var(--ice);
  color: var(--brand);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 8px 0 12px;
  border-radius: 2px;
  transition: background 0.25s var(--ease);
}

.cart-btn:hover {
  background: var(--ice);
}

.cart-btn .ico {
  width: 19px;
  height: 19px;
}

.cart-btn__count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: var(--navy);
  color: #fff;
  border-radius: 11px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease-out);
}

.cart-btn__count.is-bump {
  transform: scale(1.18);
  background: var(--brand);
}

.cart-btn__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 2px;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.hamburger span + span {
  margin-top: 5px;
}

@media (max-width: 1140px) {
  .nav {
    display: none;
  }

  .hamburger {
    display: grid;
  }

  .header__inner {
    justify-content: space-between;
  }

  .cart-btn__label {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-actions .icon-btn[data-action="search"],
  .header-actions .account-btn {
    display: none;
  }

  .header-actions {
    gap: 0;
  }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 1fr min(420px, 88vw);
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu__scrim {
  background: rgba(4, 20, 31, 0.5);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(2px);
}

.mobile-menu__panel {
  background: var(--paper);
  height: 100%;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 32px;
  box-shadow: -30px 0 80px -40px rgba(4, 20, 31, 0.6);
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu.is-open .mobile-menu__scrim {
  opacity: 1;
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: none;
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-nav {
  padding-block: 14px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
  transition: color 0.25s, padding-left 0.3s var(--ease);
}

.mobile-nav a:active,
.mobile-nav a:hover {
  color: var(--brand);
  padding-left: 6px;
}

.mobile-nav a .ico {
  width: 16px;
  height: 16px;
  opacity: 0.4;
}

.mobile-nav__sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0 4px;
}

.mobile-nav__sub a {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-top: 26px;
  display: grid;
  gap: 10px;
}

.mobile-menu__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.mobile-menu__contact .ico {
  width: 17px;
  height: 17px;
  color: var(--brand);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 84% -10%, rgba(47, 182, 206, 0.16), transparent 60%);
  z-index: -1;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  padding-block: clamp(52px, 6vw, 84px) clamp(36px, 4vw, 56px);
}

.footer__brand .brand__name,
.footer__brand .brand__tag {
  color: #fff;
}

.footer__brand .brand__tag {
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand .brand__mark {
  width: 54px;
  height: 54px;
}

.footer__desc {
  margin-top: 22px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  max-width: 34ch;
}

.footer__phone {
  display: inline-block;
  margin-top: 20px;
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: -0.01em;
  color: #fff;
  transition: color 0.25s;
}

.footer__phone:hover {
  color: var(--aqua-2);
}

.footer__col h5 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 18px;
}

.footer__links {
  display: grid;
  gap: 11px;
}

.footer__links a,
.footer__links span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s, transform 0.25s var(--ease);
  display: inline-block;
}

.footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer__address {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
  font-style: normal;
  max-width: 26ch;
}

.footer__areas {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__area {
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom a:hover {
  color: #fff;
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer__note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.38);
}

.footer__note .dot {
  background: var(--aqua);
}

.footer__wordmark {
  font-family: var(--display);
  font-size: clamp(58px, 12vw, 168px);
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.045);
  padding-top: 10px;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 980px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Product card ---------- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease-out);
}

.product-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1.06;
  background: linear-gradient(178deg, #ffffff 0%, #ffffff 46%, var(--ice-2) 100%);
  overflow: hidden;
}

.product-card__media::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  bottom: 9%;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6, 32, 47, 0.16), rgba(6, 32, 47, 0));
  opacity: 0.55;
  transition: opacity 0.4s, transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__media::after {
  opacity: 0.8;
  transform: scaleX(1.08);
}

.product-card__img {
  position: absolute;
  inset: 8% 12% 10%;
  width: 76%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.7s var(--ease-out);
  z-index: 1;
}

.product-card__img--cutout {
  mix-blend-mode: normal;
}

.product-card:hover .product-card__img {
  transform: translateY(-6px) scale(1.035);
}

.product-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  z-index: 2;
}

.product-card__quick {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: 0 10px 24px -14px rgba(6, 32, 47, 0.5);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease-out), background 0.25s, color 0.25s;
}

.product-card__quick .ico {
  width: 17px;
  height: 17px;
}

.product-card__quick:hover {
  background: var(--navy);
  color: #fff;
}

.product-card:hover .product-card__quick {
  opacity: 1;
  transform: none;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line-soft);
}

.product-card__meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-card__name {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  transition: color 0.25s;
}

.product-card__name:hover {
  color: var(--brand);
}

.product-card__desc {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-55);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.product-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-weight: 700;
  color: var(--ink);
}

.price__amount {
  font-family: var(--display);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.price__unit {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-40);
  letter-spacing: 0.02em;
}

.product-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.add-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s;
}

.add-btn .ico {
  width: 15px;
  height: 15px;
}

.add-btn:hover {
  background: var(--ink);
  color: #fff;
}

.add-btn.is-added {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.ghost-square {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink-70);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.ghost-square .ico {
  width: 16px;
  height: 16px;
}

.ghost-square:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--ice-2);
}

/* ---------- Quantity stepper ---------- */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  height: 44px;
  overflow: hidden;
}

.qty button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 100%;
  color: var(--ink-70);
  transition: background 0.2s, color 0.2s;
}

.qty button:hover {
  background: var(--ice-2);
  color: var(--ink);
}

.qty button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.qty .ico {
  width: 14px;
  height: 14px;
}

.qty input {
  width: 44px;
  height: 100%;
  border: 0;
  border-inline: 1px solid var(--line-soft);
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  background: transparent;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty--sm {
  height: 34px;
}

.qty--sm button {
  width: 30px;
}

.qty--sm input {
  width: 34px;
  font-size: 12.5px;
}

/* ---------- Accordion ---------- */
.accordion {
  border-top: 1px solid var(--line-soft);
}

.acc-item {
  border-bottom: 1px solid var(--line-soft);
}

.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 22px 0;
  text-align: left;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.25s;
}

.acc-trigger:hover {
  color: var(--brand);
}

.acc-icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: transform 0.4s var(--ease-out), background 0.3s, border-color 0.3s;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  inset: 50% 4px auto;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
}

.acc-icon::after {
  transform: translateY(-50%) rotate(90deg);
  transition: opacity 0.3s;
}

.acc-item.is-open .acc-icon {
  transform: rotate(90deg);
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.acc-item.is-open .acc-icon::after {
  opacity: 0;
}

.acc-panel {
  overflow: hidden;
  height: 0;
  transition: height 0.45s var(--ease);
}

.acc-panel__inner {
  padding: 0 8% 26px 0;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--ink-70);
}

.acc-panel__inner p + p {
  margin-top: 12px;
}

/* ---------- Drawer / overlay ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  pointer-events: none;
}

.overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 31, 0.46);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  backdrop-filter: blur(2px);
}

.overlay__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(101%);
  transition: transform 0.52s var(--ease-out);
  box-shadow: -40px 0 90px -50px rgba(4, 20, 31, 0.6);
}

.overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.overlay.is-open .overlay__scrim {
  opacity: 1;
}

.overlay.is-open .overlay__panel {
  transform: none;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.drawer__title {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.drawer__title span {
  color: var(--ink-40);
  margin-left: 6px;
}

.drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
  -webkit-overflow-scrolling: touch;
}

.drawer__foot {
  border-top: 1px solid var(--line-soft);
  padding: 18px 22px 22px;
  background: var(--ice-2);
}

.close-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink-70);
  transition: background 0.2s, color 0.2s, transform 0.3s;
}

.close-btn:hover {
  background: var(--ice);
  color: var(--ink);
  transform: rotate(90deg);
}

.close-btn .ico {
  width: 16px;
  height: 16px;
}

/* Cart line items */
.cart-line {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  animation: lineIn 0.4s var(--ease-out);
}

@keyframes lineIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.cart-line:first-child {
  padding-top: 4px;
}

.cart-line__media {
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, var(--ice-2));
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  aspect-ratio: 1/1.1;
  overflow: hidden;
}

.cart-line__media img {
  width: 84%;
  height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.cart-line__media img.is-cutout {
  mix-blend-mode: normal;
}

.cart-line__name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-line__meta {
  font-size: 11px;
  color: var(--ink-40);
  margin-top: 3px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.cart-line__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.cart-line__price {
  font-size: 13.5px;
  font-weight: 700;
}

.cart-remove {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-40);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.cart-remove:hover {
  color: var(--danger);
}

.cart-empty {
  display: grid;
  place-items: center;
  gap: 6px;
  text-align: center;
  padding: 56px 20px;
}

.cart-empty .ico {
  width: 34px;
  height: 34px;
  color: var(--ink-40);
  margin-bottom: 10px;
}

.cart-empty h4 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.cart-empty p {
  font-size: 13px;
  color: var(--ink-55);
  max-width: 240px;
}

.totals {
  display: grid;
  gap: 9px;
  font-size: 13.5px;
}

.totals__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-70);
}

.totals__row--grand {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
}

.totals__row--grand .totals__value {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.totals__value {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.totals__row .is-free {
  color: var(--ok);
  font-weight: 700;
}

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  visibility: hidden;
  pointer-events: none;
}

.search-overlay__scrim {
  position: absolute;
  inset: 0;
  background: rgba(4, 20, 31, 0.45);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  backdrop-filter: blur(3px);
}

.search-panel {
  position: relative;
  background: #fff;
  padding: 26px 0 34px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out);
  max-height: 100vh;
  overflow-y: auto;
}

.search-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.search-overlay.is-open .search-overlay__scrim {
  opacity: 1;
}

.search-overlay.is-open .search-panel {
  transform: none;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 12px;
}

.search-bar .ico {
  width: 20px;
  height: 20px;
  color: var(--ink-40);
}

.search-bar input {
  flex: 1;
  border: 0;
  background: none;
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 34px);
  letter-spacing: -0.02em;
  min-width: 0;
}

.search-bar input:focus {
  outline: none;
}

.search-bar input::placeholder {
  color: var(--ink-40);
}

.search-results {
  margin-top: 22px;
  display: grid;
  gap: 4px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px;
  border-radius: 2px;
  transition: background 0.2s;
}

.search-result:hover {
  background: var(--ice-2);
}

.search-result__img {
  width: 52px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--ice-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}

.search-result__img img {
  width: 80%;
  height: 86%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.search-result__name {
  font-size: 14px;
  font-weight: 700;
}

.search-result__meta {
  font-size: 11.5px;
  color: var(--ink-40);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-top: 2px;
}

.search-result__price {
  margin-left: auto;
  font-weight: 700;
  font-size: 14px;
}

.search-hint {
  font-size: 12px;
  color: var(--ink-40);
  padding: 20px 2px;
}

/* ---------- Toast ---------- */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 200;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: toastIn 0.45s var(--ease-out);
  pointer-events: auto;
}

.toast.is-out {
  animation: toastOut 0.35s var(--ease) forwards;
}

.toast .ico {
  width: 16px;
  height: 16px;
  color: var(--aqua-2);
  flex: none;
}

.toast__link {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aqua-2);
  white-space: nowrap;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-40);
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--ink-55);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--brand);
}

.breadcrumb .sep {
  opacity: 0.5;
}

.breadcrumb [aria-current] {
  color: var(--ink-80);
  font-weight: 600;
}

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(40px, 5vw, 72px) clamp(36px, 4.5vw, 64px);
  background: var(--ice-2);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 56vw;
  height: 56vw;
  background: radial-gradient(closest-side, rgba(47, 182, 206, 0.13), transparent 70%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(38px, 4.6vw, 66px);
  margin-top: 20px;
}

.page-hero__aside {
  justify-self: end;
  max-width: 380px;
  font-size: 14.5px;
  color: var(--ink-70);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .page-hero__aside {
    justify-self: start;
  }
}

/* Inline label pairs that must stack */
.mini-line__name,
.mini-line__meta,
.mini-line__price {
  display: block;
}

.mini-line {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.mini-line__name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
}

.mini-line__meta {
  font-size: 11px;
  color: var(--ink-40);
  margin-top: 2px;
}

.mini-line__price {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.mini-line__media {
  width: 42px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--ice-2);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
}

.mini-line__media img {
  width: 82%;
  height: 88%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mini-line__media img.is-cutout {
  mix-blend-mode: normal;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.tl-step {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 26px;
}

.tl-step:last-child {
  padding-bottom: 0;
}

.tl-step::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 30px;
  bottom: -2px;
  width: 1px;
  background: var(--line);
}

.tl-step:last-child::before {
  display: none;
}

.tl-step.is-done::before {
  background: var(--ok);
}

.tl-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-40);
  font-size: 11px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.tl-dot .ico {
  width: 15px;
  height: 15px;
}

.tl-step.is-done .tl-dot {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.tl-step.is-current .tl-dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(6, 32, 47, 0.08);
}

.tl-step.is-current .tl-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(6, 32, 47, 0.25);
  animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 1;
  }

  70% {
    transform: scale(1.25);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.tl-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  padding-top: 6px;
}

.tl-meta {
  font-size: 12.5px;
  color: var(--ink-55);
  margin-top: 4px;
  line-height: 1.5;
}

.tl-step:not(.is-done):not(.is-current) .tl-title {
  color: var(--ink-40);
}

/* Horizontal milestone strip */
.milestones {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  counter-reset: ms;
}

.milestone {
  position: relative;
  padding-top: 34px;
  padding-right: 12px;
}

.milestone::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.milestone::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--line-strong);
}

.milestone.is-done::before,
.milestone.is-current::before {
  background: var(--aqua);
}

.milestone.is-done::after,
.milestone.is-current::after {
  border-color: var(--aqua);
  background: var(--aqua);
}

.milestone.is-current::after {
  box-shadow: 0 0 0 4px rgba(47, 182, 206, 0.18);
}

.milestone__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-40);
}

.milestone__name {
  font-size: 13px;
  font-weight: 700;
  margin-top: 4px;
  line-height: 1.3;
}

.milestone:not(.is-done):not(.is-current) .milestone__name {
  color: var(--ink-40);
}

.milestone__meta {
  font-size: 11.5px;
  color: var(--ink-40);
  margin-top: 3px;
}

@media (max-width: 720px) {
  .milestones {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .milestone {
    padding: 0 0 22px 30px;
  }

  .milestone::before {
    top: 6px;
    bottom: -2px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .milestone:last-child::before {
    display: none;
  }

  .milestone::after {
    top: 2px;
    left: 0;
  }
}

/* ---------- Simple table ---------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  min-width: 640px;
  font-size: 13.5px;
}

.table thead th {
  text-align: left;
  padding: 11px 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-40);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: var(--ice-2);
}

.table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}

.table tbody tr {
  transition: background 0.2s;
}

.table tbody tr:hover {
  background: var(--ice-2);
}

.table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.table .strong {
  font-weight: 700;
}

/* ---------- Empty state ---------- */
.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--ice-2);
  gap: 6px;
}

.empty-state .ico {
  width: 30px;
  height: 30px;
  color: var(--ink-40);
  margin-bottom: 8px;
}

.empty-state h3 {
  font-size: 24px;
}

.empty-state p {
  font-size: 14px;
  color: var(--ink-55);
  max-width: 380px;
}

/* ---------- Notice ---------- */
.notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid var(--line-soft);
  background: var(--ice-2);
  border-radius: 2px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-70);
}

.notice .ico {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  color: var(--brand);
}

.notice--dark {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.66);
}

.notice--dark .ico {
  color: var(--aqua-2);
}

.prototype-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-40);
}

.prototype-note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--aqua);
}

/* Stacked labels inside menus and overlays */
.mega__name,
.mega__meta,
.search-result__name,
.search-result__meta {
  display: block;
}

.mega__link > span:last-child,
.search-result > span:nth-child(2) {
  min-width: 0;
}

.mega__promo img {
  width: 118px;
  right: 8px;
  bottom: -18px;
  transform: rotate(-4deg);
  opacity: 0.92;
}

.mega__promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 32, 47, 0.92) 34%, rgba(6, 32, 47, 0.35) 68%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.mega__promo .link-arrow {
  align-self: flex-start;
  background-size: 100% 1px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0 0 3px 3px;
  transition: top 0.25s var(--ease);
}

.skip-link:focus {
  top: 0;
  outline: 2px solid var(--aqua);
  outline-offset: 2px;
}
