/* PatiCüzdan Shop — Premium Store UI */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-display: 'Plus Jakarta Sans', 'Poppins', system-ui, sans-serif;
  --header-h: 72px;
  --bottom-nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body.shop-live {
  font-family: var(--font-display);
  padding-bottom: env(safe-area-inset-bottom);
}

/* Top announcement bar */
.store-topbar {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
}

.store-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 0;
}

.store-topbar__text {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.store-topbar__dot {
  opacity: 0.55;
}

/* Sandbox / test mode banner */
.shop-sandbox-banner {
  background: linear-gradient(90deg, #7c4a03, var(--accent));
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.shop-sandbox-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  min-height: 40px;
  padding: 8px 0;
  text-align: center;
}

.shop-sandbox-banner__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.shop-sandbox-banner__text {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
  max-width: 52rem;
}

.shop-sandbox-banner__text strong {
  font-weight: 700;
}

.checkout-sandbox-hint {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px dashed rgba(245, 166, 74, 0.55);
  background: rgba(255, 248, 239, 0.9);
  color: var(--text-dark);
  font-size: 0.84rem;
  line-height: 1.5;
}

.checkout-sandbox-hint strong {
  display: block;
  margin-bottom: 6px;
  color: #7c4a03;
}

.checkout-sandbox-hint p {
  margin: 0 0 6px;
}

.checkout-sandbox-hint p:last-child {
  margin-bottom: 0;
}

.checkout-sandbox-hint code {
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(15, 122, 110, 0.08);
  font-size: 0.82em;
}

/* Sticky header */
.site-header--sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0;
  background: rgba(247, 255, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 240, 236, 0.9);
}

.site-header--shop .header-inner--shop {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand--shop {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.brand--shop:hover {
  text-decoration: none;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand__name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__sub {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.header-search {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  min-width: 0;
}

.header-search__field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search__field:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 122, 110, 0.12);
  color: var(--primary);
}

.header-search__field input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 0;
}

.header-search__field input:focus {
  outline: none;
}

.shop-nav--premium {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

.site-header--shop .menu-toggle {
  margin-left: auto;
}

.shop-nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  position: relative;
  transition: background 0.2s, color 0.2s;
}

.nav-pill:hover {
  background: rgba(15, 122, 110, 0.08);
  color: var(--primary);
  text-decoration: none;
}

.shop-nav a.is-active,
.shop-nav button.is-active,
.nav-pill.is-active {
  color: var(--primary);
  background: rgba(15, 122, 110, 0.12);
}

.nav-pill .cart-badge {
  position: static;
  margin-left: 2px;
  transform: none;
}

.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Hero */
.store-hero {
  position: relative;
  padding: 40px 0 32px;
  overflow: hidden;
}

.store-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 8px;
}

.store-hero__figure {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--card);
}

.store-hero__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.store-hero__visual {
  position: relative;
}

.store-hero__visual::before {
  content: '';
  position: absolute;
  inset: 8% -6% -6% 8%;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(15, 122, 110, 0.14), rgba(245, 166, 74, 0.12));
  z-index: -1;
}

.section--catalog {
  padding-top: 8px;
}

.store-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.store-hero__content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.store-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.store-hero h1 span {
  color: var(--primary);
}

.store-hero__lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 52ch;
  line-height: 1.65;
}

.store-hero__visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(15, 122, 110, 0.12), rgba(245, 166, 74, 0.12));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}

.store-hero__visual-inner {
  text-align: center;
  padding: 32px;
}

.store-hero__visual-inner .paw-icon {
  color: var(--primary);
  margin-bottom: 12px;
}

.store-hero__visual-inner p {
  margin: 0;
  font-weight: 600;
  color: var(--primary-dark);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.trust-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Catalog toolbar */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.search-field {
  flex: 1;
  min-width: min(100%, 280px);
  max-width: 400px;
  position: relative;
}

.search-field svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 122, 110, 0.12);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 999px;
  padding: 8px 16px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Product cards */
.product-grid--premium {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card--premium {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(16, 42, 42, 0.06);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card--premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(16, 42, 42, 0.1);
  border-color: rgba(15, 122, 110, 0.25);
}

.product-card--soldout {
  opacity: 0.72;
}

.product-card--premium .product-card__media {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.product-card--premium .product-card__media img {
  transition: transform 0.35s var(--ease);
}

.product-card--premium:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  pointer-events: none;
}

.product-card--premium .product-card__type {
  position: static;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}

.product-card__stock {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(233, 108, 34, 0.12);
  color: var(--danger);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-card__stock--ok {
  background: rgba(21, 128, 61, 0.12);
  color: var(--success, #15803d);
}

.product-card__stock--out {
  background: rgba(102, 125, 122, 0.15);
  color: var(--muted);
}

.product-card__quick-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 0;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 8px 20px rgba(15, 122, 110, 0.35);
}

.product-card--premium:hover .product-card__quick-add {
  opacity: 1;
  transform: translateY(0);
}

.product-card--premium .product-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card--premium h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0;
}

.product-card__excerpt {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  min-height: 2.6em;
}

.product-card__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card--premium .product-price {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
}

.product-card__shipping {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--success, #15803d);
}

.product-card__footer {
  margin-top: 4px;
}

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

.product-card__actions .btn {
  flex: 1;
  min-height: 44px;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(15, 122, 110, 0.05);
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail__gallery {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  border-radius: 28px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
  aspect-ratio: 1;
}

.product-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.product-detail__category {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 122, 110, 0.08);
  border: 1px solid rgba(15, 122, 110, 0.15);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.product-detail__info h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-detail__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 16px 0 8px;
}

.product-detail__stock {
  margin-bottom: 12px;
}

.product-detail__desc {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: rgba(21, 128, 61, 0.12);
  color: var(--success, #15803d);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
}

.qty-control button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
}

.qty-control span {
  min-width: 36px;
  text-align: center;
  font-weight: 700;
}

.product-detail__cta {
  margin-bottom: 20px;
}

.product-detail-purchase {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.product-detail-purchase--soldout {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.product-detail-purchase__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-detail-purchase__actions .order-cta-btn {
  flex: 1 1 180px;
}

.product-detail-purchase__qty-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 0 0 auto;
}

.product-detail-purchase__qty-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-detail-purchase__qty {
  min-height: 52px;
  border-radius: 16px;
  padding: 0 2px;
}

.product-detail-purchase__qty .qty-control__btn {
  width: 44px;
  height: 44px;
}

.product-detail-purchase__qty .qty-control__value {
  min-width: 40px;
  font-size: 1rem;
}

.product-detail-add-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a6b61 0%, #10a894 52%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  box-shadow:
    0 12px 28px rgba(15, 122, 110, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-position 0.32s var(--ease);
}

.product-detail-add-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow:
    0 16px 34px rgba(15, 122, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.product-detail-add-btn:active:not(:disabled) {
  transform: translateY(0);
}

.product-detail-add-btn:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.45);
  outline-offset: 3px;
}

.product-detail-add-btn__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.product-detail-add-btn__icon svg {
  width: 18px;
  height: 18px;
}

.product-detail-add-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-detail-add-btn__label {
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.product-detail-add-btn__hint {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
  line-height: 1.25;
}

.product-detail-purchase__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.product-detail-purchase .order-cta-btn {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  transform: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-position 0.32s var(--ease),
    border-color 0.2s var(--ease);
}

.product-detail-purchase .order-cta-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.product-detail-purchase .order-cta-btn__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.product-detail-purchase .order-cta-btn__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.product-detail-purchase .order-cta-btn__icon svg {
  width: 17px;
  height: 17px;
}

.product-detail-purchase .order-cta-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.product-detail-purchase .order-cta-btn--ghost .order-cta-btn__text {
  align-items: center;
  text-align: center;
}

.product-detail-purchase .order-cta-btn__label {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-detail-purchase .order-cta-btn__hint {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.88;
  line-height: 1.25;
}

.product-detail-purchase .order-cta-btn--ghost {
  border: 1.5px solid rgba(15, 122, 110, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(16, 42, 42, 0.05);
}

.product-detail-purchase .order-cta-btn--ghost .order-cta-btn__icon {
  background: rgba(15, 122, 110, 0.08);
  color: var(--primary);
}

.product-detail-purchase .order-cta-btn--ghost:disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.product-detail-purchase .order-cta-btn--preorder {
  border: 1.5px solid rgba(245, 166, 74, 0.45);
  background: linear-gradient(135deg, #f5a64a 0%, #f7b86a 100%);
  color: #102a2a;
  box-shadow: 0 12px 28px rgba(245, 166, 74, 0.24);
}

.product-detail-purchase .order-cta-btn--preorder .order-cta-btn__icon {
  background: rgba(255, 255, 255, 0.28);
  color: #102a2a;
}

.product-detail-purchase .order-cta-btn--preorder .order-cta-btn__hint {
  color: rgba(16, 42, 42, 0.72);
}

@media (max-width: 560px) {
  .product-detail-purchase {
    flex-direction: column;
  }

  .product-detail-purchase__qty-wrap,
  .product-detail-add-btn,
  .product-detail-purchase__actions .order-cta-btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .product-detail-add-btn__hint {
    display: none;
  }
}

.product-trust-grid {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.product-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.95));
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(16, 42, 42, 0.04);
}

.product-trust-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.product-trust-card__icon--shield {
  background: rgba(15, 122, 110, 0.12);
  color: var(--primary);
}

.product-trust-card__icon--truck {
  background: rgba(245, 166, 74, 0.15);
  color: #c47a1a;
}

.product-trust-card__icon--app {
  background: rgba(21, 128, 61, 0.12);
  color: var(--success, #15803d);
}

.product-trust-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.product-trust-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.product-detail__tagline {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
}

/* Product story sections */
.product-story {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 40px;
}

.detail-block h2,
.detail-block h3 {
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.detail-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.detail-block h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.detail-block__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}

.detail-block__lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  max-width: 72ch;
}

.detail-block__note {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.detail-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.detail-block--card {
  padding: 24px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
}

.detail-block--cream {
  padding: 28px;
  border-radius: 28px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.detail-block__split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.detail-block__thumb {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.detail-block__thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-card {
  padding: 20px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.step-card__num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(15, 122, 110, 0.12);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.step-card h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.step-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
}

.app-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.app-feature-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
}

.app-feature-card h4 {
  margin: 0 0 6px;
  font-size: 0.92rem;
}

.app-feature-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Page shell */
.page-shell {
  margin-bottom: 28px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.breadcrumb-link {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
}

.breadcrumb-sep {
  display: inline-flex;
  color: var(--border);
}

.page-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.page-subtitle {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Cart layout — premium */
.cart-page--premium {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.cart-empty-card {
  padding: 28px;
  border-radius: 24px;
  border: 1.5px dashed var(--border);
  background: linear-gradient(145deg, #fff, rgba(247, 255, 252, 0.9));
}

.cart-items-card--premium {
  overflow: hidden;
  border-radius: 28px;
  border: 1.5px solid var(--border);
  background: linear-gradient(165deg, #fff 0%, rgba(247, 255, 252, 0.92) 100%);
  box-shadow: 0 16px 40px rgba(16, 42, 42, 0.05);
}

.cart-items-card--premium::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #10a894 55%, var(--accent, #f5a64a) 100%);
}

.cart-items-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 16px;
}

.cart-items-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.cart-items-card__icon svg {
  width: 22px;
  height: 22px;
}

.cart-items-card__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cart-items-card__subtitle {
  margin: 4px 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.cart-items-card__list {
  display: grid;
  gap: 12px;
  padding: 0 16px 18px;
}

.cart-line--premium {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(226, 240, 236, 0.95);
  background: rgba(255, 255, 255, 0.92);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.cart-line--premium:hover {
  border-color: rgba(15, 122, 110, 0.22);
  box-shadow: 0 8px 22px rgba(15, 122, 110, 0.06);
}

.cart-line--compact {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 16px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
  background: var(--card);
}

.cart-line--compact .cart-line__thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.cart-line--compact .cart-line__name {
  font-size: 0.9rem;
}

.cart-line--compact .cart-line__footer {
  margin-top: 8px;
}

.cart-line__thumb {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--border);
}

.cart-line__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.cart-line__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-line__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-line__name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: -0.02em;
}

.cart-line__remove {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 12px;
  background: rgba(233, 108, 34, 0.08);
  color: var(--danger);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.cart-line__remove:hover {
  background: rgba(233, 108, 34, 0.16);
}

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

.cart-line__unit {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-line__badge {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: rgba(245, 166, 74, 0.18);
  color: #9a5b10;
}

.cart-line__preorder-note {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

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

.cart-line__total {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--primary-dark);
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.qty-control--premium {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.qty-control--premium .qty-control__btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--primary);
  font-weight: 800;
  transition: background 0.15s var(--ease);
}

.qty-control--premium .qty-control__btn:hover {
  background: rgba(15, 122, 110, 0.08);
}

.qty-control--premium .qty-control__value {
  min-width: 34px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
}

/* Order summary — premium */
.order-summary-card--premium {
  border-radius: 28px;
  border: 1.5px solid var(--border);
  padding: 22px 22px 20px;
  background: linear-gradient(165deg, #fff 0%, rgba(247, 255, 252, 0.95) 100%);
  box-shadow: 0 16px 40px rgba(16, 42, 42, 0.06);
}

.order-summary-card--sticky {
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.order-summary-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(15, 122, 110, 0.16);
}

.order-summary-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.order-summary-card__icon svg {
  width: 20px;
  height: 20px;
}

.order-summary-card__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.order-summary-card__subtitle {
  margin: 3px 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.order-summary-card__rows .summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.order-summary-card__rows .summary-row span:last-child {
  font-weight: 700;
  color: var(--text);
  text-align: right;
}

.order-summary-card__rows .summary-row--item {
  font-size: 0.82rem;
  padding-top: 2px;
}

.order-summary-card__rows .summary-row--item span:first-child {
  color: var(--text);
  font-weight: 600;
}

.order-summary-card__rows .summary-row--discount span:last-child {
  color: var(--success, #15803d);
}

.order-summary-card__rows .summary-row--total {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1.5px solid var(--border);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
}

.order-summary-card__rows .summary-row--total span:last-child {
  color: var(--primary-dark);
  font-size: 1.12rem;
}

.order-summary-card__cta--premium {
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f7a6e 0%, #10a894 55%, #0f7a6e 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 24px rgba(15, 122, 110, 0.28);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.2s var(--ease),
    background-position 0.35s var(--ease);
}

.order-summary-card__cta--premium:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 14px 28px rgba(15, 122, 110, 0.34);
}

.order-summary-card__cta-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.order-summary-card__cta-label {
  font-size: 0.98rem;
  font-weight: 800;
}

.order-summary-card__cta-amount {
  font-size: 0.98rem;
  font-weight: 700;
  opacity: 0.95;
}

.order-summary-card__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.order-summary-card__trust svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.order-summary-card--premium .checkout-card-logos {
  margin-top: 14px;
  padding-top: 14px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.summary-row--total {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

/* Checkout */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.checkout-form-card--premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0%, rgba(247, 255, 252, 0.92) 48%, #fff 100%);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 0;
  box-shadow:
    0 20px 50px rgba(16, 42, 42, 0.06),
    0 4px 14px rgba(15, 122, 110, 0.04);
}

.checkout-form-card--premium::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary, #10a894) 50%, var(--accent, #f5a64a) 100%);
}

.checkout-form-card__hero {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px 0;
}

.checkout-form-card__hero-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 122, 110, 0.14), rgba(16, 168, 148, 0.1));
  color: var(--primary);
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.checkout-form-card__hero-icon svg {
  width: 24px;
  height: 24px;
}

.checkout-form-card__title {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.2;
}

.checkout-form-card__subtitle {
  margin: 6px 0 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.checkout-banner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 28px 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
}

.checkout-banner svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-banner--success {
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid rgba(21, 128, 61, 0.18);
  color: #166534;
}

.checkout-banner--warning {
  background: rgba(245, 166, 74, 0.12);
  border: 1px solid rgba(245, 166, 74, 0.28);
  color: #9a5b10;
}

.checkout-banner--info {
  background: rgba(15, 122, 110, 0.06);
  border: 1px solid rgba(15, 122, 110, 0.14);
  color: var(--text);
}

.checkout-form--premium {
  padding: 22px 28px 28px;
}

.checkout-section--premium {
  margin-bottom: 22px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(226, 240, 236, 0.95);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 6px 18px rgba(16, 42, 42, 0.03);
}

.checkout-section--premium:last-of-type {
  margin-bottom: 0;
}

.checkout-section--coupon {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.checkout-section--legal {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  margin-bottom: 18px;
}

.checkout-section--payment .payment-providers--premium {
  margin-top: 0;
}

.checkout-section__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.checkout-section__step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 122, 110, 0.28);
}

.checkout-section__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.checkout-section__icon svg {
  width: 18px;
  height: 18px;
}

.checkout-section__head-text {
  min-width: 0;
  padding-top: 2px;
}

.checkout-section__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.checkout-section__subtitle {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-field-grid {
  display: grid;
  gap: 14px;
}

.checkout-field-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-field {
  display: block;
  margin: 0;
}

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}

.checkout-field__control input,
.checkout-field__control textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.checkout-field__control--textarea textarea,
.checkout-field__control textarea {
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.55;
}

.checkout-field__control input::placeholder,
.checkout-field__control textarea::placeholder {
  color: rgba(102, 125, 122, 0.72);
  font-weight: 500;
}

.checkout-field__control input:hover,
.checkout-field__control textarea:hover {
  border-color: rgba(15, 122, 110, 0.28);
}

.checkout-field__control input:focus,
.checkout-field__control textarea:focus {
  outline: none;
  border-color: rgba(15, 122, 110, 0.55);
  box-shadow: 0 0 0 4px rgba(15, 122, 110, 0.1);
  background: #fff;
}

.checkout-inline-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 122, 110, 0.05);
  border: 1px dashed rgba(15, 122, 110, 0.16);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.checkout-inline-note svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

.checkout-form-card__footer {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 122, 110, 0.14);
}

.checkout-coupon {
  margin-bottom: 0;
  padding: 20px 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.92));
  box-shadow: 0 10px 28px rgba(15, 122, 110, 0.06);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.checkout-coupon--embedded .checkout-coupon__header {
  align-items: center;
}

.checkout-coupon__step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 122, 110, 0.28);
}

.checkout-coupon--applied {
  border-color: rgba(21, 128, 61, 0.28);
  background: linear-gradient(145deg, rgba(21, 128, 61, 0.06), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 28px rgba(21, 128, 61, 0.08);
}

.checkout-coupon__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.checkout-coupon__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 122, 110, 0.12), rgba(245, 166, 74, 0.18));
  color: var(--primary);
}

.checkout-coupon--applied .checkout-coupon__icon {
  background: rgba(21, 128, 61, 0.12);
  color: var(--success, #15803d);
}

.checkout-coupon__head-text {
  min-width: 0;
}

.checkout-coupon__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.checkout-coupon__desc {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-coupon__combo {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  border: 1.5px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-coupon__combo:focus-within {
  border-color: rgba(15, 122, 110, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 122, 110, 0.1);
}

.checkout-coupon__combo--error {
  border-color: rgba(233, 108, 34, 0.55);
  box-shadow: 0 0 0 4px rgba(233, 108, 34, 0.1);
}

.checkout-coupon__combo--error:focus-within {
  border-color: rgba(233, 108, 34, 0.65);
  box-shadow: 0 0 0 4px rgba(233, 108, 34, 0.12);
}

.checkout-coupon__input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 48px;
  border: 0;
  background: transparent;
  padding: 0 12px 0 14px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  outline: none;
}

.checkout-coupon__input::placeholder {
  color: rgba(102, 125, 122, 0.72);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.checkout-coupon__apply--premium {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 108px;
  padding: 0 22px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #0f7a6e 0%, #10a894 55%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  font: inherit;
  cursor: pointer;
  box-shadow:
    0 8px 18px rgba(15, 122, 110, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.2s var(--ease),
    background-position 0.35s var(--ease),
    opacity 0.2s var(--ease);
}

.checkout-coupon__apply-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.checkout-coupon__apply-label {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.checkout-coupon__apply--premium:hover:not(:disabled) {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow:
    0 10px 22px rgba(15, 122, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.checkout-coupon__apply--premium:active:not(:disabled) {
  transform: translateY(0);
}

.checkout-coupon__apply--premium:disabled {
  opacity: 0.68;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.checkout-coupon__apply--premium.is-loading .checkout-coupon__apply-label::after {
  content: '…';
}

.checkout-coupon__message {
  margin: 10px 2px 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.checkout-coupon__message--error {
  color: var(--danger);
}

.checkout-coupon__form[hidden],
.checkout-coupon__success[hidden] {
  display: none !important;
}

.checkout-coupon__success {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(21, 128, 61, 0.08);
  border: 1px solid rgba(21, 128, 61, 0.18);
}

.checkout-coupon__success-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.checkout-coupon__success-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(21, 128, 61, 0.14);
  color: var(--success, #15803d);
}

.checkout-coupon__success-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.checkout-coupon__code {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}

.checkout-coupon__savings {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success, #15803d);
}

.checkout-coupon__remove {
  flex-shrink: 0;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  border-radius: 10px;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.checkout-coupon__remove:hover {
  color: var(--danger);
  background: rgba(233, 108, 34, 0.08);
}

.summary-row--discount span:last-child {
  color: var(--success);
  font-weight: 700;
}

@media (max-width: 720px) {
  .checkout-form-card__hero,
  .checkout-form--premium,
  .checkout-banner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .checkout-form-card__hero {
    padding-top: 22px;
  }

  .checkout-form--premium {
    padding-top: 18px;
    padding-bottom: 22px;
  }

  .checkout-banner {
    margin-left: 18px;
    margin-right: 18px;
  }

  .checkout-section--premium {
    padding: 16px;
    border-radius: 18px;
  }

  .checkout-field-grid--2 {
    grid-template-columns: 1fr;
  }

  .checkout-coupon {
    padding: 18px 16px;
  }

  .checkout-coupon__combo {
    flex-direction: column;
    gap: 8px;
    padding: 8px;
  }

  .checkout-coupon__apply--premium {
    width: 100%;
    min-height: 50px;
  }

  .checkout-coupon__success {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-coupon__remove {
    align-self: flex-end;
  }
}

.invoice-type-tabs--premium {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.invoice-type-tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  background: #fff;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    transform 0.15s var(--ease);
}

.invoice-type-tab:hover {
  border-color: rgba(15, 122, 110, 0.3);
}

.invoice-type-tab.is-active {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(15, 122, 110, 0.08), rgba(255, 255, 255, 0.95));
  color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 122, 110, 0.08);
}

.invoice-type-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.invoice-type-tab__label {
  pointer-events: none;
}

.invoice-panel[hidden] {
  display: none !important;
}

.invoice-same-checkbox--premium {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 14px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 122, 110, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem !important;
  font-weight: 600 !important;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.invoice-same-checkbox--premium:hover {
  border-color: rgba(15, 122, 110, 0.28);
}

.invoice-same-checkbox--premium input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.invoice-same-checkbox__box {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  border: 2px solid var(--border);
  background: #fff;
  flex-shrink: 0;
  transition: all 0.2s var(--ease);
}

.invoice-same-checkbox--premium:has(input:checked) {
  border-color: rgba(15, 122, 110, 0.35);
  background: rgba(15, 122, 110, 0.04);
}

.invoice-same-checkbox--premium:has(input:checked) .invoice-same-checkbox__box {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #fff;
}

.payment-setup-notice {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(233, 108, 34, 0.08);
  border: 1px solid rgba(233, 108, 34, 0.25);
  margin-bottom: 16px;
}

.payment-setup-notice strong {
  display: block;
  margin-bottom: 8px;
  color: var(--danger);
}

.payment-setup-notice p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.payment-setup-notice ul {
  margin: 0;
  padding-left: 18px;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.6;
}

.price-vat-note {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.summary-row--item {
  font-size: 0.84rem;
  padding-top: 4px;
}

.summary-row--item span:first-child {
  color: var(--text);
  padding-right: 8px;
}

.checkout-card-logos {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.payment-methods-band--checkout {
  width: 100%;
  max-width: 429px;
  height: 32px;
  object-fit: contain;
}

.product-price .price-vat-note {
  display: block;
  margin-top: 2px;
}

.checkout-steps--premium {
  margin: 0 0 26px;
}

.checkout-steps__track {
  display: flex;
  align-items: flex-start;
  list-style: none;
  margin: 0;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1.5px solid var(--border);
  background: linear-gradient(145deg, #fff 0%, rgba(247, 255, 252, 0.95) 100%);
  box-shadow: 0 10px 28px rgba(15, 122, 110, 0.05);
}

.checkout-step {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.checkout-step__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  text-align: center;
  z-index: 1;
}

.checkout-step__marker {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--muted);
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.checkout-step__index {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.checkout-step__check svg {
  display: block;
}

.checkout-step__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.checkout-step__line {
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  border-radius: 999px;
  background: var(--border);
  pointer-events: none;
}

.checkout-step__line--done {
  background: linear-gradient(90deg, #15803d 0%, rgba(21, 128, 61, 0.45) 100%);
}

.checkout-step--active .checkout-step__marker {
  border-color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, #10a894 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(15, 122, 110, 0.28);
}

.checkout-step--active .checkout-step__label {
  color: var(--primary);
}

.checkout-step--done .checkout-step__marker {
  border-color: #15803d;
  background: rgba(21, 128, 61, 0.12);
  color: #15803d;
}

.checkout-step--done .checkout-step__label {
  color: #15803d;
}

.checkout-step--upcoming .checkout-step__marker {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 560px) {
  .checkout-steps__track {
    padding: 14px 10px;
  }

  .checkout-step__marker {
    width: 32px;
    height: 32px;
  }

  .checkout-step__line {
    top: 16px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
  }

  .checkout-step__label {
    font-size: 0.72rem;
  }
}

/* Orders */
.orders-page {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(15, 122, 110, 0.06), transparent 70%),
    linear-gradient(180deg, var(--background) 0%, var(--cream) 100%);
}

.orders-page .page-shell {
  margin-bottom: 16px;
}

.orders-empty-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.orders-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1.5px solid rgba(15, 122, 110, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.92));
  box-shadow: 0 12px 32px rgba(16, 42, 42, 0.06);
}

.orders-hero__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #10a894, var(--accent, #f5a64a));
}

.orders-hero__inner {
  display: grid;
  gap: 16px;
  padding: 18px 20px 20px;
}

@media (min-width: 768px) {
  .orders-hero__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px 20px;
  }
}

.orders-hero__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
}

.orders-hero__title {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.orders-hero__text {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.orders-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.orders-stat {
  min-width: 108px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
}

.orders-stat--warning {
  border-color: rgba(245, 166, 74, 0.35);
  background: rgba(255, 248, 239, 0.95);
}

.orders-stat__value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.orders-stat--warning .orders-stat__value {
  color: #9a5b12;
}

.orders-stat__label {
  display: block;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
}

.orders-grid {
  display: grid;
  gap: 14px;
}

.orders-grid--premium {
  gap: 16px;
}

@media (min-width: 900px) {
  .orders-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.order-card.order-card--premium {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1.5px solid rgba(15, 122, 110, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.94));
  box-shadow: 0 8px 24px rgba(16, 42, 42, 0.05);
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.order-card--list .order-card__accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), #10a894);
}

.order-card__main {
  padding: 18px 18px 16px 22px;
}

.order-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.order-card__id-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.order-card__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-card__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.order-card__chevron {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(15, 122, 110, 0.08);
  color: var(--primary);
  flex-shrink: 0;
  opacity: 0.85;
}

.order-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.order-card__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(226, 240, 236, 0.95);
  min-width: 0;
}

.order-card__product-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.order-card__product-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(15, 122, 110, 0.08);
  color: var(--primary);
  flex-shrink: 0;
}

.order-card__product {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.order-card__amount-wrap {
  text-align: right;
  flex-shrink: 0;
}

.order-card__amount-label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.order-card__amount {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.order-card__hint {
  margin: 12px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

.order-card--premium:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 122, 110, 0.2);
  box-shadow: 0 14px 36px rgba(15, 122, 110, 0.1);
}

.order-card--premium[role="button"] {
  cursor: pointer;
}

.order-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
  margin-top: 14px;
  min-width: 0;
}

.order-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-position 0.3s var(--ease);
}

.order-card__btn-icon svg {
  width: 16px;
  height: 16px;
}

.order-card__btn--primary {
  flex: 1 1 140px;
  color: #fff;
  background: linear-gradient(135deg, #0a6b61 0%, #10a894 52%, #0f7a6e 100%);
  background-size: 200% 100%;
  box-shadow: 0 10px 24px rgba(15, 122, 110, 0.28);
}

.order-card__btn--primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
}

.order-card__actions .btn-track {
  flex: 1 1 140px;
  min-height: 46px;
  justify-content: center;
}

.order-card__actions .btn-track--sm .btn-track__arrow {
  display: none;
}

.order-card__actions .btn-track--sm .btn-track__label {
  white-space: normal;
}

.order-card--list .pending-payment-cta--compact {
  margin-top: 12px;
  margin-bottom: 0;
}

.order-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 6px 0 0;
}

/* Order detail */
.order-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.order-detail__main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.order-detail__aside {
  display: grid;
  gap: 16px;
  align-content: start;
  min-width: 0;
}

.order-detail-summary .summary-row__value {
  text-align: right;
  font-weight: 600;
  color: var(--text);
  max-width: 58%;
  word-break: break-word;
}

.order-detail-timeline-card .order-timeline {
  margin: 0;
}

.order-detail-timeline-card h3 {
  margin-bottom: 16px;
}

.order-detail-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
}

.order-detail-card h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 800;
}

.order-detail-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.order-detail-card__head h3 {
  margin: 0;
}

.order-detail__products {
  display: grid;
  gap: 16px;
}

.order-detail__product {
  display: flex;
  gap: 16px;
  align-items: center;
}

.page-actions-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.order-detail__product-img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.order-detail__product-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--primary);
  flex-shrink: 0;
}

.order-detail__amount {
  margin: 8px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.order-detail-dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.order-detail-dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
}

.order-detail-dl dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.order-detail-dl dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.order-tracking-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.order-detail-actions {
  margin-top: 16px;
}

.btn-track {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  box-shadow: 0 8px 24px rgba(15, 122, 110, 0.22);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn-track:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 122, 110, 0.28);
  color: #fff;
}

.btn-track__icon,
.btn-track__arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.btn-track__icon svg {
  opacity: 0.95;
}

.btn-track__arrow svg {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.btn-track--sm {
  padding: 8px 14px;
  border-radius: 14px;
  font-size: 0.82rem;
  gap: 8px;
}

.btn-track--sm .btn-track__label {
  white-space: nowrap;
}

.field-optional {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.order-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.order-timeline__item > div {
  min-width: 0;
  flex: 1;
}

.order-timeline__item strong {
  display: block;
  font-size: 0.88rem;
  line-height: 1.35;
}

.order-timeline__item {
  display: flex;
  gap: 14px;
  padding: 0 0 20px 0;
  position: relative;
  opacity: 0.45;
}

.order-timeline__item.is-done {
  opacity: 1;
}

.order-timeline__item.is-cancelled .order-timeline__dot {
  background: var(--danger);
  border-color: var(--danger);
}

.order-timeline__item.is-cancelled strong {
  color: var(--danger);
}

.order-timeline__item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.order-timeline__item.is-done:not(:last-child)::before {
  background: rgba(15, 122, 110, 0.35);
}

.order-timeline__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--card);
  flex-shrink: 0;
  margin-top: 2px;
}

.order-timeline__item.is-done .order-timeline__dot {
  border-color: var(--primary);
  background: var(--primary);
}

.order-timeline__date {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

/* Shop footer */
.site-footer--shop {
  margin-top: 48px;
  padding: 0;
  text-align: left;
  border-top: 0;
}

.footer-main {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(247, 255, 252, 0.9));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px 24px;
}

.footer-col--brand {
  max-width: 360px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-brand:hover,
.footer-brand:focus {
  text-decoration: none;
  color: var(--text);
}

.footer-brand strong {
  font-size: 1.05rem;
  font-weight: 800;
}

.footer-brand__desc {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.footer-col__title {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-col__links a {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.footer-col__links a:hover {
  color: var(--primary);
}

.footer-payments-bar {
  background: var(--primary-dark);
  padding: 18px 0;
}

.footer-payments-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-payments-bar__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.footer-payments--band {
  justify-content: flex-end;
}

.payment-methods-band {
  display: block;
  width: 429px;
  height: 32px;
  max-width: 100%;
  object-fit: contain;
}

.payment-logo--card {
  width: 48px;
  height: 32px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 5px 8px;
  box-sizing: border-box;
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #062826;
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.site-footer--shop .footer-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
}

.site-footer--shop .footer-motto {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

/* Checkout payment methods — premium */
.payment-providers--premium {
  border: 0;
  padding: 0;
  margin: 0;
}

.payment-providers--premium .payment-providers__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.payment-providers__legend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
}

.payment-providers__legend-icon svg {
  width: 16px;
  height: 16px;
}

.payment-provider-list {
  display: grid;
  gap: 12px;
}

.payment-provider-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: linear-gradient(145deg, #fff 0%, rgba(247, 255, 252, 0.92) 100%);
  cursor: pointer;
  font-weight: 400;
  overflow: hidden;
  transition:
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background 0.22s var(--ease),
    transform 0.18s var(--ease);
}

.payment-provider-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: transparent;
  transition: background 0.22s var(--ease);
}

.payment-provider-card:hover {
  border-color: rgba(15, 122, 110, 0.35);
  box-shadow: 0 8px 24px rgba(15, 122, 110, 0.07);
}

.payment-provider-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.payment-provider-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 44px;
  padding: 0 10px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.payment-provider-card__badge--paytr {
  background: linear-gradient(135deg, #0f7a6e 0%, #073f3c 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(15, 122, 110, 0.28);
}

.payment-provider-card__badge--iyzico {
  background: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 31, 54, 0.22);
  font-size: 0.68rem;
}

.payment-provider-card__text {
  flex: 1;
  min-width: 0;
}

.payment-provider-card__text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.payment-provider-card__secure {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.payment-provider-card__secure-icon {
  color: var(--primary);
  flex-shrink: 0;
}

.payment-provider-card__check {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: grid;
  place-items: center;
  color: transparent;
  flex-shrink: 0;
  background: #fff;
  transition: all 0.22s var(--ease);
}

.payment-provider-card.is-selected {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(15, 122, 110, 0.06) 0%, rgba(247, 255, 252, 1) 100%);
  box-shadow:
    0 0 0 3px rgba(15, 122, 110, 0.1),
    0 12px 28px rgba(15, 122, 110, 0.1);
  transform: translateY(-1px);
}

.payment-provider-card.is-selected::before {
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary, #10a894) 100%);
}

.payment-provider-card.is-selected .payment-provider-card__check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 122, 110, 0.35);
}

.btn-checkout-submit {
  width: 100%;
  margin-top: 16px;
}

.btn-checkout-submit--premium {
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f7a6e 0%, #10a894 55%, #0f7a6e 100%);
  background-size: 200% 100%;
  box-shadow:
    0 10px 28px rgba(15, 122, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.22s var(--ease),
    background-position 0.35s var(--ease);
}

.btn-checkout-submit--premium:hover:not(:disabled) {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow:
    0 14px 32px rgba(15, 122, 110, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-checkout-submit--premium:active:not(:disabled) {
  transform: translateY(0);
}

.btn-checkout-submit--premium:disabled {
  opacity: 0.55;
  box-shadow: none;
}

.btn-checkout-submit__inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.btn-checkout-submit__label {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-checkout-submit__amount {
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.95;
  letter-spacing: -0.02em;
}

.checkout-pay-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.checkout-pay-trust svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Invoice preview */
.invoice-preview-card,
.invoice-document-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--card);
  border: 1px solid var(--border);
}

.invoice-preview-card__head,
.invoice-document-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.invoice-preview-card__head h3,
.invoice-document-card__head h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.invoice-preview-card__badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 166, 74, 0.15);
  color: #b45309;
  font-size: 0.72rem;
  font-weight: 700;
}

.invoice-preview-card__body {
  padding: 16px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px dashed var(--border);
}

.invoice-preview-card__meta {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.invoice-preview-card__meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}

.invoice-preview-card__meta span {
  color: var(--muted);
}

.invoice-preview-lines {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.invoice-preview-lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
}

.invoice-preview-totals {
  display: grid;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.invoice-preview-totals div {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--muted);
}

.invoice-preview-totals__total {
  font-weight: 800;
  color: var(--text) !important;
  font-size: 1rem !important;
  padding-top: 6px;
}

.invoice-document-card__image {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin-top: 8px;
}

.invoice-document-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-top: 16px;
}

.invoice-download-btn {
  flex: 1 1 220px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a6b61 0%, #10a894 52%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
  box-shadow:
    0 12px 28px rgba(15, 122, 110, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-position 0.32s var(--ease);
}

.invoice-download-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow:
    0 16px 34px rgba(15, 122, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.invoice-download-btn:active:not(:disabled) {
  transform: translateY(0);
}

.invoice-download-btn:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.45);
  outline-offset: 3px;
}

.invoice-download-btn:disabled,
.invoice-download-btn.is-loading {
  opacity: 0.58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: linear-gradient(135deg, #8aa8a3, #9eb8b3);
}

.invoice-download-btn__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.invoice-download-btn__icon svg {
  width: 17px;
  height: 17px;
}

.invoice-download-btn__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.invoice-download-btn__label {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.invoice-download-btn__hint {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.88;
  line-height: 1.25;
}

.invoice-view-btn {
  flex: 0 0 auto;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1.5px solid rgba(15, 122, 110, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease);
}

.invoice-view-btn:hover:not(:disabled) {
  background: rgba(15, 122, 110, 0.06);
  border-color: rgba(15, 122, 110, 0.34);
  transform: translateY(-1px);
}

.invoice-view-btn:disabled,
.invoice-view-btn.is-loading {
  opacity: 0.65;
  cursor: wait;
}

.invoice-view-btn__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(15, 122, 110, 0.08);
}

.invoice-view-btn__icon svg {
  width: 15px;
  height: 15px;
}

.invoice-preview-card .invoice-download-btn {
  margin-top: 4px;
}

@media (max-width: 520px) {
  .invoice-document-card__actions {
    flex-direction: column;
  }

  .invoice-download-btn,
  .invoice-view-btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .invoice-download-btn__hint {
    display: none;
  }
}

.invoice-preview-card__hint {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.checkout-card-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.checkout-card-logos img {
  object-fit: contain;
  background: #fff;
  padding: 3px 5px;
  box-sizing: border-box;
}

.btn-checkout-submit--premium {
  min-height: 56px;
}

.order-card__no {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  color: var(--primary);
}

.order-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-chip {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-chip--success { background: rgba(21, 128, 61, 0.12); color: #15803d; }
.status-chip--warning { background: rgba(245, 166, 74, 0.2); color: #9a5b10; }
.status-chip--danger { background: rgba(233, 108, 34, 0.15); color: #c2410c; }
.status-chip--info { background: rgba(15, 122, 110, 0.12); color: var(--primary); }
.status-chip--neutral { background: rgba(102, 125, 122, 0.12); color: var(--muted); }

/* Auth page — premium split */
.auth-section {
  padding-top: 20px;
  padding-bottom: 40px;
}

.auth-section__container {
  max-width: 1040px;
}

.auth-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  min-height: min(640px, calc(100vh - var(--header-h) - 120px));
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 24px 64px rgba(16, 42, 42, 0.08);
}

.auth-panel__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 36px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(16, 185, 129, 0.25), transparent 55%),
    linear-gradient(155deg, #073f3c 0%, #0f7a6e 48%, #10a894 100%);
  color: #fff;
  overflow: hidden;
}

.auth-panel__hero::after {
  content: '';
  position: absolute;
  inset: auto -20% -30% -10%;
  height: 55%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.auth-panel__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
}

.auth-panel__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.auth-panel__eyebrow svg {
  opacity: 0.95;
}

.auth-panel__hero h2 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 14ch;
}

.auth-panel__hero p {
  margin: 0;
  opacity: 0.92;
  line-height: 1.7;
  max-width: 38ch;
  font-size: 0.95rem;
}

.auth-panel__features {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.auth-panel__features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.auth-panel__features li > div {
  flex: 1;
  min-width: 0;
}

.auth-panel__feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.auth-panel__feature-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  color: #fff;
  flex-shrink: 0;
}

.auth-panel__features strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
  line-height: 1.35;
}

.auth-panel__features span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.88;
  line-height: 1.45;
}

.auth-panel__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 32px;
  background: linear-gradient(180deg, #fff 0%, var(--background) 100%);
}

.auth-card-shell {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.auth-card {
  width: 100%;
  padding: 28px 26px 24px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 10px 36px rgba(16, 42, 42, 0.06);
}

.auth-card__head {
  margin-bottom: 24px;
}

.auth-card__title {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}

.auth-card__lead {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

.auth-return-hint {
  margin: 14px 0 0;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(15, 122, 110, 0.08);
  border: 1px solid rgba(15, 122, 110, 0.15);
  font-size: 0.82rem;
  color: var(--primary-dark);
  line-height: 1.5;
}

.auth-segment {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.auth-segment__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  background: transparent;
  border-radius: 11px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.auth-segment__btn.is-active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 2px 10px rgba(16, 42, 42, 0.08);
}

.auth-section .auth-form {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.auth-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}

.auth-field__wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1.5px solid var(--border);
  background: var(--card);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.auth-field__wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 122, 110, 0.1);
}

.auth-field__icon {
  display: grid;
  place-items: center;
  width: 20px;
  color: var(--primary);
  opacity: 0.75;
  flex-shrink: 0;
}

.auth-field__wrap input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 14px 0;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  min-width: 0;
}

.auth-field__wrap input::placeholder {
  color: #9ab0ad;
}

.auth-field__wrap input:focus {
  outline: none;
}

.auth-field__wrap input:-webkit-autofill,
.auth-field__wrap input:-webkit-autofill:hover,
.auth-field__wrap input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
  transition: background-color 99999s ease-out 0s;
}

.auth-form__row {
  display: flex;
  justify-content: flex-end;
  margin: -6px 0 0;
}

.auth-form__hint {
  margin: -4px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.auth-form__hint a {
  color: var(--primary);
  text-decoration: underline;
}

.auth-form__submit {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(15, 122, 110, 0.22);
}

.auth-text-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: none;
}

.auth-text-btn:hover {
  text-decoration: underline;
}

.auth-text-btn--block {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 8px;
}

.auth-oauth {
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 14px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.auth-google-btn:hover:not(:disabled) {
  border-color: #d0ddd9;
  box-shadow: 0 6px 20px rgba(16, 42, 42, 0.06);
  background: #fff;
}

.auth-google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.auth-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.auth-status[hidden] {
  display: none !important;
}

.auth-status--error {
  background: rgba(233, 108, 34, 0.1);
  border: 1px solid rgba(233, 108, 34, 0.25);
  color: #9a3412;
}

.auth-status--success {
  background: rgba(21, 128, 61, 0.1);
  border: 1px solid rgba(21, 128, 61, 0.22);
  color: #15803d;
}

.auth-status--loading {
  background: rgba(15, 122, 110, 0.08);
  border: 1px solid rgba(15, 122, 110, 0.15);
  color: var(--primary-dark);
}

.auth-card__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--muted);
}

.auth-card__secure svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Payment result */
.result-card {
  max-width: 520px;
  margin: 40px auto;
  text-align: center;
  padding: 48px 32px;
  background: var(--card);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.result-card__icon {
  margin-bottom: 16px;
}

.result-card--success .result-card__icon { color: var(--primary); }
.result-card--fail .result-card__icon { color: #c2410c; }

.result-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.result-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.result-card__ref {
  margin-top: 12px !important;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(15, 122, 110, 0.06);
  border: 1px solid rgba(15, 122, 110, 0.12);
  font-size: 0.84rem !important;
  color: var(--text) !important;
}

.result-card__ref strong {
  color: var(--primary-dark);
  font-weight: 800;
}

.result-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
}

.result-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.result-card__btn:hover {
  transform: translateY(-1px);
}

.result-card__btn:active {
  transform: translateY(0);
}

.result-card__btn:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.4);
  outline-offset: 2px;
}

.result-card__btn-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: rgba(15, 122, 110, 0.08);
  flex-shrink: 0;
}

.result-card__btn-icon svg {
  width: 15px;
  height: 15px;
}

.result-card__btn--outline {
  background: #fff;
  border-color: rgba(15, 122, 110, 0.18);
  color: var(--text);
}

.result-card__btn--outline:hover {
  background: rgba(15, 122, 110, 0.05);
  border-color: rgba(15, 122, 110, 0.3);
  color: var(--primary);
}

.result-card__btn--primary {
  min-height: 52px;
  padding: 8px 18px 8px 14px;
  border: 0;
  background: linear-gradient(135deg, #0a6b61 0%, #10a894 52%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  box-shadow:
    0 12px 28px rgba(15, 122, 110, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.result-card__btn--primary:hover {
  background-position: 100% 0;
  box-shadow:
    0 16px 34px rgba(15, 122, 110, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.result-card__btn-icon--primary {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.result-card__btn-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  text-align: left;
}

.result-card__btn-label {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.result-card__btn-hint {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.88;
  line-height: 1.2;
}

.result-card__btn--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--muted);
}

.result-card__btn--ghost:hover {
  background: rgba(16, 42, 42, 0.04);
  border-color: rgba(16, 42, 42, 0.14);
  color: var(--text);
}

@media (max-width: 560px) {
  .result-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .result-card__btn,
  .result-card__btn--primary {
    width: 100%;
  }

  .result-card__btn--primary {
    order: -1;
  }

  .result-card__btn-copy {
    align-items: center;
    text-align: center;
    flex: 1;
  }

  .result-card__btn-hint {
    display: none;
  }
}

/* Empty & skeleton */
.empty-state-card {
  text-align: center;
  padding: 56px 24px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 24px;
}

.empty-state-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: rgba(15, 122, 110, 0.08);
  display: grid;
  place-items: center;
  color: var(--primary);
}

.empty-state-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.empty-state-card p {
  margin: 0 0 20px;
  color: var(--muted);
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.skeleton-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.skeleton-media {
  aspect-ratio: 1;
  background: linear-gradient(90deg, var(--cream) 25%, #fff 50%, var(--cream) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

.skeleton-line {
  height: 14px;
  margin: 16px 20px 8px;
  border-radius: 8px;
  background: var(--cream);
  animation: shimmer 1.2s infinite;
}

.skeleton-line--short {
  width: 40%;
  margin-bottom: 20px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Cart drawer — premium */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 42, 0.42);
  backdrop-filter: blur(4px);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s var(--ease), visibility 0.32s;
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer--premium {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 440px);
  height: 100%;
  max-height: 100dvh;
  background: linear-gradient(180deg, #fff 0%, rgba(247, 255, 252, 0.98) 100%);
  z-index: 90;
  transform: translateX(104%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(16, 42, 42, 0.14);
  overflow: hidden;
}

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

.cart-drawer__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #10a894 50%, var(--accent, #f5a64a) 100%);
  flex-shrink: 0;
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(226, 240, 236, 0.95);
  background: rgba(255, 255, 255, 0.88);
}

.cart-drawer__head-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cart-drawer__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 122, 110, 0.14), rgba(16, 168, 148, 0.1));
  color: var(--primary);
  flex-shrink: 0;
}

.cart-drawer__title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.cart-drawer__subtitle {
  margin: 3px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.cart-drawer__close:hover {
  border-color: rgba(15, 122, 110, 0.35);
  background: rgba(15, 122, 110, 0.06);
  color: var(--primary);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  overscroll-behavior: contain;
}

.cart-drawer__list {
  display: grid;
  gap: 10px;
}

.cart-drawer__foot {
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(226, 240, 236, 0.95);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -8px 24px rgba(16, 42, 42, 0.04);
}

.cart-drawer-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  padding: 28px 20px;
  border-radius: 22px;
  border: 1.5px dashed rgba(15, 122, 110, 0.18);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(247, 255, 252, 0.9));
}

.cart-drawer-empty__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  margin-bottom: 16px;
}

.cart-drawer-empty__icon svg {
  width: 28px;
  height: 28px;
}

.cart-drawer-empty__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.cart-drawer-empty__text {
  margin: 8px 0 0;
  max-width: 260px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}

.cart-drawer-empty__cta {
  margin-top: 18px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--primary);
  border-radius: 14px;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.cart-drawer-empty__cta:hover {
  background: rgba(15, 122, 110, 0.08);
}

.cart-drawer-summary {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(226, 240, 236, 0.95);
  background: rgba(247, 255, 252, 0.85);
  margin-bottom: 12px;
}

.cart-drawer-summary__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.cart-drawer-summary__label span {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.cart-drawer-summary__label small {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--muted);
}

.cart-drawer-summary__amount {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cart-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
}

.cart-drawer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 16px;
  font: inherit;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.cart-drawer-cta--ghost {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.cart-drawer-cta--ghost:hover {
  border-color: rgba(15, 122, 110, 0.3);
  background: rgba(15, 122, 110, 0.04);
}

.cart-drawer-cta--primary {
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  background: linear-gradient(135deg, #0f7a6e 0%, #10a894 55%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15, 122, 110, 0.28);
}

.cart-drawer-cta--primary:hover {
  transform: translateY(-1px);
  background-position: 100% 0;
}

.cart-drawer-cta__label {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
}

.cart-drawer-cta__amount {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.92;
}

.cart-drawer-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

.cart-drawer-trust svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  flex-shrink: 0;
}

.cart-drawer__list .cart-line--compact {
  margin-bottom: 0;
  box-shadow: 0 4px 14px rgba(16, 42, 42, 0.04);
}

.cart-drawer__list .cart-line--compact:hover {
  box-shadow: 0 8px 20px rgba(15, 122, 110, 0.08);
}

.drawer-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 480px) {
  .cart-drawer--premium {
    width: 100%;
  }

  .cart-drawer-actions {
    grid-template-columns: 1fr;
  }

  .cart-drawer-cta--primary {
    min-height: 52px;
  }
}

/* Mobile nav */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 42, 42, 0.45);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(100%, 320px);
  height: 100%;
  background: var(--card);
  z-index: 75;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.mobile-nav-overlay.is-open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-nav-panel__search label {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--muted);
}

.mobile-nav-panel__search input {
  flex: 1;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  color: var(--text);
  min-width: 0;
}

.mobile-nav-panel__search input:focus {
  outline: none;
}

.mobile-nav-panel__links {
  display: grid;
  gap: 6px;
}

.mobile-nav-panel__links a,
.mobile-nav-panel__links button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  text-align: left;
  border-radius: 14px;
  cursor: pointer;
  color: var(--text);
}

.mobile-nav-panel__links a:hover,
.mobile-nav-panel__links button:hover {
  background: rgba(15, 122, 110, 0.08);
  text-decoration: none;
}

.mobile-nav-panel__trust {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.mobile-nav-panel__trust span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(15, 122, 110, 0.08);
}

.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  z-index: 40;
}

.bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: var(--bottom-nav-h);
}

.bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  position: relative;
}

.bottom-nav button.is-active {
  color: var(--primary);
}

.bottom-nav .cart-badge {
  position: static;
  margin-left: 2px;
}

/* Toast — premium */
.toast--premium {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(calc(120% + 24px));
  z-index: 130;
  width: min(92vw, 420px);
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.toast--premium.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast--premium.toast--success,
.toast--premium.toast--error,
.toast--premium.toast--info {
  background: transparent;
  color: var(--text);
  box-shadow: none;
}

.toast--premium[hidden] {
  display: block !important;
}

.toast--premium[hidden]:not(.toast--visible) {
  display: none !important;
}

.toast__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 14px 14px 16px;
  border-radius: 20px;
  border: 1.5px solid rgba(226, 240, 236, 0.95);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 255, 252, 0.96) 100%);
  box-shadow:
    0 16px 40px rgba(16, 42, 42, 0.14),
    0 4px 14px rgba(15, 122, 110, 0.08);
  backdrop-filter: blur(12px);
}

.toast__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  flex-shrink: 0;
}

.toast__icon svg {
  width: 18px;
  height: 18px;
}

.toast--success .toast__icon {
  background: rgba(21, 128, 61, 0.12);
  color: var(--success, #15803d);
}

.toast--error .toast__icon {
  background: rgba(233, 108, 34, 0.12);
  color: var(--danger, #e96c22);
}

.toast--info .toast__icon {
  background: rgba(15, 122, 110, 0.12);
  color: var(--primary);
}

.toast__body {
  min-width: 0;
  padding-top: 2px;
}

.toast__title {
  display: block;
  margin-bottom: 2px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.toast--success .toast__title {
  color: var(--success, #15803d);
}

.toast--error .toast__title {
  color: var(--danger, #e96c22);
}

.toast--info .toast__title {
  color: var(--primary);
}

.toast__message {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
  overflow-wrap: anywhere;
}

.toast__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: -2px -2px 0 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.toast__close svg {
  width: 16px;
  height: 16px;
}

.toast__close:hover {
  background: rgba(15, 122, 110, 0.08);
  color: var(--text);
}

.toast__close:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.35);
  outline-offset: 2px;
}

.toast__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform-origin: left center;
  background: currentColor;
  opacity: 0.55;
  animation: toast-progress 4.2s linear forwards;
}

.toast--success .toast__progress {
  color: var(--success, #15803d);
}

.toast--error .toast__progress {
  color: var(--danger, #e96c22);
}

.toast--info .toast__progress {
  color: var(--primary);
}

@keyframes toast-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 767px) {
  .toast--premium {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom) + 14px);
    width: min(94vw, 420px);
  }

  .toast__panel {
    padding: 13px 12px 15px;
    gap: 10px;
    border-radius: 18px;
  }

  .toast__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .toast__message {
    font-size: 0.86rem;
  }
}

.auth-user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Auth account dropdown */
.auth-menu {
  position: relative;
}

.auth-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-menu__trigger:hover,
.auth-menu.is-open .auth-menu__trigger,
.auth-menu__trigger.is-active {
  border-color: rgba(15, 122, 110, 0.35);
  background: rgba(15, 122, 110, 0.06);
  color: var(--primary);
}

.auth-menu__avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}

.auth-menu__avatar.user-avatar--photo {
  background: var(--border);
}

.auth-menu__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.auth-menu__name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-menu__chevron {
  color: var(--muted);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
}

.auth-menu.is-open .auth-menu__chevron {
  transform: rotate(180deg);
}

.auth-menu__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  padding: 8px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(16, 42, 42, 0.14);
  z-index: 80;
}

.auth-menu__profile {
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}

.auth-menu__profile strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.auth-menu__profile span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-menu__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
}

.auth-menu__item:hover {
  background: rgba(15, 122, 110, 0.08);
  color: var(--primary);
}

.auth-menu__item--danger:hover {
  background: rgba(233, 108, 34, 0.1);
  color: var(--danger);
}

/* Responsive */
@media (max-width: 960px) {
  .store-hero__grid,
  .product-detail,
  .detail-columns,
  .detail-block__split,
  .steps-grid,
  .app-features-grid,
  .order-detail,
  .cart-page--premium,
  .cart-page,
  .checkout-page,
  .auth-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-panel__hero {
    padding: 32px 24px;
  }

  .auth-panel__hero-img {
    display: none;
  }

  .auth-panel__main {
    padding: 28px 20px 32px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail__gallery {
    position: static;
  }

  .order-summary-card {
    position: static;
  }
}

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

  .footer-col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .header-search {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }

  .shop-nav .shop-nav__links,
  .shop-nav--premium .auth-slot {
    display: none;
  }

  .shop-nav--premium {
    display: none;
  }

  .store-hero {
    padding: 28px 0 20px;
  }

  .store-hero__cta .btn {
    flex: 1;
    min-width: calc(50% - 6px);
  }

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

  .footer-payments-bar__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-payments--band {
    justify-content: flex-start;
    width: 100%;
  }

  .payment-methods-band {
    width: min(100%, 429px);
    height: 32px;
  }

  .product-grid--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card--premium {
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(16, 42, 42, 0.06);
  }

  .product-card--premium:hover {
    transform: none;
  }

  .product-card--premium .product-card__body {
    padding: 12px;
    gap: 6px;
  }

  .product-card--premium h3 {
    font-size: 0.88rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .product-card__excerpt,
  .product-card__shipping {
    display: none;
  }

  .product-card__badges {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .product-card--premium .product-card__type,
  .product-card__stock {
    padding: 4px 8px;
    font-size: 0.65rem;
  }

  .product-card__quick-add {
    opacity: 1;
    transform: none;
    width: 36px;
    height: 36px;
    right: 8px;
    bottom: 8px;
    border-radius: 12px;
  }

  .product-card--premium .product-price {
    font-size: 1rem;
  }

  .product-card__actions {
    padding-top: 8px;
    gap: 6px;
  }

  .product-card__actions .btn-outline {
    display: none;
  }

  .product-card__actions .btn {
    min-height: 38px;
    font-size: 0.8rem;
    padding-left: 10px;
    padding-right: 10px;
  }

  .trust-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }

  .trust-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 10px 6px;
    font-size: 0.68rem;
    line-height: 1.25;
    border-radius: 12px;
  }

  .trust-item svg {
    width: 18px;
    height: 18px;
  }

  .store-hero .trust-bar {
    margin-top: 20px;
  }

  .auth-menu__name {
    max-width: 88px;
  }

  .bottom-nav {
    display: block;
  }

  body.shop-live {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  }

  .auth-panel__hero {
    display: none;
  }

  .auth-panel__main {
    padding: 24px 18px 32px;
  }

  .auth-card__title {
    font-size: 1.45rem;
  }

  .cart-page--premium {
    grid-template-columns: 1fr;
  }

  .cart-line--premium {
    grid-template-columns: 80px minmax(0, 1fr);
  }

  .cart-line__thumb {
    width: 80px;
    height: 80px;
  }

  .cart-line__footer {
    flex-wrap: wrap;
  }

  .steps-grid,
  .app-features-grid {
    grid-template-columns: 1fr;
  }

  .order-detail-dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .order-summary-card--sticky {
    position: static;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .orders-page.section {
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .orders-page .page-title {
    font-size: 1.45rem;
  }

  .orders-page .page-subtitle {
    font-size: 0.88rem;
  }

  .orders-hero__inner {
    padding: 16px;
  }

  .orders-hero__stats {
    grid-column: 1 / -1;
  }

  .orders-grid--premium {
    grid-template-columns: 1fr;
  }

  .order-card__main {
    padding: 16px 16px 14px 20px;
  }

  .order-card__body {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .order-card__amount-wrap {
    text-align: left;
  }

  .order-card__chips {
    gap: 6px;
  }

  .status-chip {
    font-size: 0.68rem;
    padding: 5px 9px;
  }

  .order-card__actions {
    flex-direction: column;
  }

  .order-card__btn,
  .order-card__actions .btn-track {
    width: 100%;
    flex: unset;
    max-width: none;
  }

  .order-card__actions .btn-track--sm {
    padding: 10px 14px;
  }

  .order-card__actions .btn-track__label {
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
  }

  .order-detail {
    gap: 14px;
  }

  .order-detail-card {
    padding: 16px;
    border-radius: 18px;
  }

  .order-detail-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .order-detail-actions .btn-track {
    width: 100%;
    justify-content: center;
  }

  .order-cancel-btn {
    width: 100%;
    min-height: 44px;
  }
}

/* Stock alerts */
.stock-alert-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 166, 74, 0.14), rgba(233, 108, 34, 0.08));
  border: 1px solid rgba(245, 166, 74, 0.35);
}

.stock-alert-banner__icon {
  color: var(--accent);
  flex-shrink: 0;
}

.stock-alert-banner p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.product-card__stock--low {
  background: rgba(245, 166, 74, 0.18);
  color: #9a5b10;
}

.product-card__stock--critical {
  background: rgba(233, 108, 34, 0.16);
  color: var(--danger);
  font-weight: 700;
}

.stock-warn {
  margin: 8px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--danger);
}

/* Legal pages */
.legal-page {
  padding-top: 12px;
  padding-bottom: 48px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  padding: 18px 16px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--border);
}

.legal-nav__title {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.legal-nav__link {
  display: block;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}

.legal-nav__link:hover,
.legal-nav__link.is-active {
  background: rgba(15, 122, 110, 0.08);
  color: var(--primary-dark);
  text-decoration: none;
}

.legal-doc {
  padding: 28px 30px;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 10px 36px rgba(16, 42, 42, 0.05);
}

.legal-doc__head {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.legal-doc__updated {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.legal-section {
  margin-bottom: 24px;
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.legal-section ul {
  margin: 8px 0 0;
  padding-left: 20px;
}

.legal-seller-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-seller-list li {
  margin-bottom: 6px;
}

/* Checkout legal — premium */
.checkout-legal--premium {
  margin-top: 4px;
}

.checkout-legal__card {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 248, 239, 0.65) 0%, #fff 55%);
  box-shadow: 0 8px 24px rgba(16, 42, 42, 0.04);
}

.checkout-legal__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.checkout-legal__step {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(15, 122, 110, 0.28);
}

.checkout-legal__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
  flex-shrink: 0;
}

.checkout-legal__icon svg {
  width: 18px;
  height: 18px;
}

.checkout-legal__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}

.checkout-legal__subtitle {
  margin: 3px 0 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.4;
}

.checkout-legal__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid rgba(15, 122, 110, 0.12);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.checkout-legal__check:hover {
  border-color: rgba(15, 122, 110, 0.28);
  background: #fff;
}

.checkout-legal__check:has(input:checked) {
  border-color: var(--primary);
  background: rgba(15, 122, 110, 0.04);
  box-shadow: 0 0 0 3px rgba(15, 122, 110, 0.08);
}

.checkout-legal__check:has(input:focus-visible) {
  outline: 2px solid rgba(15, 122, 110, 0.35);
  outline-offset: 2px;
}

.checkout-legal__check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-legal__box {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: #fff;
  color: transparent;
  flex-shrink: 0;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.checkout-legal__tick {
  display: block;
}

.checkout-legal__check:has(input:checked) .checkout-legal__box {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 122, 110, 0.28);
}

.checkout-legal__text {
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
}

.checkout-legal__text a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(15, 122, 110, 0.35);
  text-underline-offset: 2px;
  transition: color 0.15s var(--ease);
}

.checkout-legal__text a:hover {
  color: var(--primary-dark, #073f3c);
}

.checkout-legal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(15, 122, 110, 0.16);
}

.checkout-legal__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.checkout-legal__link svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
  opacity: 0.85;
}

.checkout-legal__link:hover {
  color: var(--primary);
}

/* Order cancel */
.order-detail-card--cancel {
  border-color: rgba(233, 108, 34, 0.25);
  background: linear-gradient(180deg, #fff, rgba(255, 248, 239, 0.6));
}

.order-detail-card--muted {
  background: var(--background);
}

.order-cancel-btn {
  margin-top: 12px;
  border-color: var(--danger);
  color: var(--danger);
}

.order-cancel-btn:hover:not(:disabled) {
  background: rgba(233, 108, 34, 0.08);
}

/* Premium confirm dialog */
.shop-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(16, 42, 42, 0.48);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.shop-dialog-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.shop-dialog {
  position: relative;
  width: min(100%, 420px);
  padding: 28px 26px 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(16, 42, 42, 0.18);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s var(--ease);
}

.shop-dialog-overlay.is-open .shop-dialog {
  transform: translateY(0) scale(1);
}

.shop-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--background);
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.shop-dialog__close:hover {
  background: var(--cream);
  color: var(--text);
}

.shop-dialog__icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.shop-dialog__icon--warn {
  background: linear-gradient(135deg, rgba(233, 108, 34, 0.14), rgba(245, 166, 74, 0.2));
  color: var(--danger);
  border: 1px solid rgba(233, 108, 34, 0.2);
}

.shop-dialog__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.35;
}

.shop-dialog__lead {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.shop-dialog__summary {
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid var(--border);
}

.shop-dialog__summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.86rem;
}

.shop-dialog__summary-row + .shop-dialog__summary-row {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.shop-dialog__summary-row span {
  color: var(--muted);
}

.shop-dialog__summary-row strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.shop-dialog__note {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 122, 110, 0.06);
  border-left: 3px solid var(--primary);
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--muted);
}

.shop-dialog__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-dialog__btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s var(--ease);
}

.shop-dialog__btn:active {
  transform: scale(0.98);
}

.shop-dialog__btn-cancel {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.shop-dialog__btn-cancel:hover {
  background: var(--background);
}

.shop-dialog__btn-confirm {
  background: linear-gradient(135deg, #c45a1a 0%, #e96c22 100%);
  color: #fff;
  border: none;
  box-shadow: 0 8px 22px rgba(233, 108, 34, 0.32);
}

.shop-dialog__btn-confirm:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 26px rgba(233, 108, 34, 0.36);
}

@media (max-width: 640px) {
  .shop-dialog-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .shop-dialog {
    width: 100%;
    max-width: none;
    padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    border-radius: 22px 22px 0 0;
    border-bottom: none;
    transform: translateY(100%);
    max-height: min(92vh, 640px);
    overflow-y: auto;
  }

  .shop-dialog-overlay.is-open .shop-dialog {
    transform: translateY(0);
  }

  .shop-dialog__title {
    font-size: 1.1rem;
  }

  .shop-dialog__actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .shop-dialog__btn-confirm {
    order: -1;
    min-height: 52px;
  }

  .shop-dialog__btn-cancel {
    min-height: 48px;
  }
}

/* —— Mağaza kapalı / bakım sayfası —— */
body.shop-commerce-off .auth-menu__item[data-auth-nav="orders"],
body.shop-commerce-off a[href="#/orders"],
body.shop-commerce-off .account-quick-nav__item[data-nav="orders"],
body.shop-commerce-off .header-search,
body.shop-commerce-off #nav-cart,
body.shop-commerce-off .cart-link,
body.shop-commerce-off [data-bottom-nav="cart"],
body.shop-commerce-off .cart-drawer-overlay {
  display: none !important;
}

body.shop-commerce-off .bottom-nav__inner {
  grid-template-columns: 1fr 1fr;
}

.shop-closed-hero {
  padding: 48px 0 32px;
}

.shop-closed-hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .shop-closed-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.shop-closed-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245, 166, 74, 0.14);
  color: #b45309;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.shop-closed-hero__badge--maintenance {
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
}

.shop-closed-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 16px;
}

.shop-closed-hero h1 span {
  color: var(--primary);
}

.shop-closed-hero__lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 24px;
}

.shop-closed-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.shop-closed-contact {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.shop-closed-contact__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-closed-contact__item:hover {
  border-color: rgba(15, 122, 110, 0.35);
  box-shadow: 0 8px 24px rgba(15, 122, 110, 0.08);
  text-decoration: none;
}

.shop-closed-contact__item strong {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 2px;
}

.shop-closed-hero__visual {
  position: relative;
}

.shop-closed-hero__card {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: linear-gradient(145deg, #fff 0%, var(--cream) 100%);
  padding: 28px;
  box-shadow: 0 20px 50px rgba(15, 122, 110, 0.08);
}

.shop-closed-hero__card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  color: var(--text);
}

.shop-closed-hero__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.shop-closed-hero__card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}

.shop-closed-hero__card li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

/* FAZ 2 — Account page */
.account-page {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  .account-page {
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 24px;
  }
}

.account-sidebar {
  display: grid;
  gap: 12px;
}

.account-card {
  padding: 18px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.94));
  box-shadow: 0 8px 24px rgba(16, 42, 42, 0.05);
}

.account-card--profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #10a894);
  box-shadow: 0 10px 24px rgba(15, 122, 110, 0.24);
  flex-shrink: 0;
  overflow: hidden;
}

.account-card__avatar.user-avatar--photo {
  background: var(--border);
  box-shadow: 0 10px 24px rgba(15, 122, 110, 0.14);
}

.account-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account-card__profile strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
}

.account-card__profile span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.account-card--app,
.account-card--oauth {
  display: grid;
  gap: 12px;
}

.account-card__app-icon,
.account-card__oauth-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
}

.account-card--app strong,
.account-card--oauth strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
}

.account-card--app p,
.account-card--oauth p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.account-card__app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  justify-content: center;
}

.account-quick-nav {
  display: grid;
  gap: 8px;
}

.account-quick-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.account-quick-nav__item:hover {
  border-color: rgba(15, 122, 110, 0.24);
  background: rgba(15, 122, 110, 0.04);
}

.account-quick-nav__item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.account-main {
  display: grid;
  gap: 16px;
}

.account-form-card__hero {
  margin-bottom: 4px;
}

.account-form-card__footer {
  margin-top: 12px;
  padding-top: 4px;
}

.account-profile-save {
  width: 45%;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a6b61 0%, #10a894 52%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  font: inherit;
  cursor: pointer;
  box-shadow:
    0 14px 32px rgba(15, 122, 110, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: none;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background-position 0.35s var(--ease);
}

.account-profile-save:hover:not(:disabled) {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 18px 38px rgba(15, 122, 110, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.account-profile-save:active:not(:disabled) {
  transform: translateY(0);
}

.account-profile-save:disabled {
  opacity: 0.72;
  cursor: wait;
}

.account-profile-save:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.45);
  outline-offset: 3px;
}

.account-profile-save__inner {
  align-items: left;
  justify-content: center;
  gap: 12px;
  width: 50%;
}

.account-profile-save__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.account-profile-save__icon svg {
  width: 17px;
  height: 17px;
}

.account-profile-save__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
}

.account-profile-save__label {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.account-profile-save__hint {
  font-size: 0.74rem;
  font-weight: 600;
  opacity: 0.88;
  line-height: 1.3;
}

@media (max-width: 599px) {
  .account-profile-save__hint {
    display: none;
  }

  .account-profile-save__text {
    align-items: center;
    text-align: center;
  }

  .account-profile-save__inner {
    justify-content: center;
  }
}

.account-form-card--password .account-form-card__head-inline {
  margin-bottom: 8px;
}

.page-shell--account .page-shell__head {
  margin-bottom: 18px;
}

/* FAZ 2 — Pending payment recovery */
.pending-payment-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1.5px solid rgba(245, 166, 74, 0.35);
  background: linear-gradient(135deg, rgba(255, 248, 239, 0.95), rgba(255, 255, 255, 0.96));
  box-shadow: 0 10px 28px rgba(245, 166, 74, 0.12);
}

.pending-payment-cta--compact {
  padding: 12px 14px;
  border-radius: 16px;
  margin-bottom: 10px;
}

.pending-payment-cta__copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pending-payment-cta__copy strong {
  font-size: 0.92rem;
  color: #9a5b12;
}

.pending-payment-cta__copy span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.pending-payment-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.pending-payment-cta--multi .pending-payment-cta__copy {
  flex: 1 1 220px;
}

.pending-payment-cta__btn {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(15, 122, 110, 0.22);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.pending-payment-cta__btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 122, 110, 0.28);
}

.pending-payment-cta__btn:disabled {
  opacity: 0.72;
  cursor: wait;
}

.pending-payment-cta__btn--alt {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid rgba(15, 122, 110, 0.28);
  box-shadow: none;
}

.pending-payment-cta__btn--alt:hover:not(:disabled) {
  background: rgba(15, 122, 110, 0.06);
  box-shadow: none;
}


/* FAZ 2 — Live order updates */
.order-detail-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(21, 128, 61, 0.1);
  border: 1px solid rgba(21, 128, 61, 0.2);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--success, #15803d);
}

.order-detail-live__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: stock-pulse 1.4s ease-in-out infinite;
}

/* FAZ 2 — Error pages (404, 403, 500, 503) */
.section--error-page,
.section--not-found {
  padding-top: 12px;
  padding-bottom: 48px;
}

.error-page-card,
.not-found-card {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 36px 28px;
  text-align: center;
  border-radius: 28px;
  border: 1.5px solid var(--border);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.92));
  box-shadow: 0 20px 50px rgba(16, 42, 42, 0.08);
}

.error-page-card__badge,
.not-found-card__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 122, 110, 0.1);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.error-page-card__icon,
.not-found-card__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 22px;
}

.error-page-card--warning .error-page-card__icon,
.not-found-card__icon {
  background: rgba(233, 108, 34, 0.1);
  color: var(--danger, #e96c22);
}

.error-page-card--danger .error-page-card__icon {
  background: rgba(233, 108, 34, 0.12);
  color: var(--danger, #e96c22);
}

.error-page-card--info .error-page-card__icon {
  background: rgba(15, 122, 110, 0.12);
  color: var(--primary);
}

.error-page-card__icon svg,
.not-found-card__icon svg {
  width: 36px;
  height: 36px;
}

.error-page-card__title,
.not-found-card__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--text);
}

.error-page-card__text,
.not-found-card__text {
  margin: 0 auto 0;
  max-width: 42ch;
  color: var(--muted);
  line-height: 1.6;
}

.error-page-card__hint {
  margin: 12px auto 0;
  max-width: 44ch;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
}

.error-page-card__actions,
.not-found-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}

.error-page-card__actions .btn,
.not-found-card__actions .btn {
  min-height: 48px;
}

.error-page-card__support {
  margin: 18px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.error-page-card__support a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.error-page-card__support a:hover {
  text-decoration: underline;
}

/* FAZ 2 — Cookie consent */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 140;
  padding: 14px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner--dimmed {
  opacity: 0.35;
}

.cookie-banner__panel {
  position: relative;
  overflow: hidden;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 22px;
  border: 1.5px solid rgba(15, 122, 110, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 252, 0.96));
  box-shadow: 0 20px 50px rgba(16, 42, 42, 0.16);
  pointer-events: auto;
  backdrop-filter: blur(12px);
}

.cookie-banner__accent {
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #10a894, var(--accent, #f5a64a));
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 16px;
  padding: 16px 18px 18px;
}

@media (min-width: 768px) {
  .cookie-banner__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
}

.cookie-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(15, 122, 110, 0.1);
  color: var(--primary);
}

.cookie-banner__title {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  color: var(--text);
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--muted);
}

.cookie-banner__link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  .cookie-banner__actions {
    grid-column: auto;
    justify-content: flex-end;
  }
}

.cookie-banner__reject {
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 122, 110, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.cookie-banner__reject:hover {
  border-color: rgba(15, 122, 110, 0.28);
  background: #fff;
  color: var(--text);
}

.cookie-banner__reject:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.35);
  outline-offset: 2px;
}

.cookie-banner__accept {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0a6b61 0%, #10a894 52%, #0f7a6e 100%);
  background-size: 200% 100%;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    0 12px 28px rgba(15, 122, 110, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: none;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background-position 0.35s var(--ease);
}

.cookie-banner__accept:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow:
    0 16px 34px rgba(15, 122, 110, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.cookie-banner__accept:active {
  transform: translateY(0);
}

.cookie-banner__accept:focus-visible {
  outline: 2px solid rgba(15, 122, 110, 0.45);
  outline-offset: 3px;
}

.cookie-banner__accept-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.cookie-banner__accept-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cookie-banner__accept-icon svg {
  width: 15px;
  height: 15px;
}

.cookie-banner__accept-label {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .cookie-banner {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__accept {
    width: 100%;
    min-height: 52px;
    order: -1;
  }

  .cookie-banner__accept-inner {
    width: 100%;
  }

  .cookie-banner__reject {
    width: 100%;
    min-height: 44px;
  }
}
