/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #1a1a1a;
  --color-secondary: #c8a86e;
  --color-sale-badge: #6b4c9a;
  --color-bg: #ffffff;
  --color-bg-light: #f5f5f5;
  --color-border: #e0e0e0;
  --color-text: #1a1a1a;
  --color-text-muted: #888888;
  --color-star: #f5a623;
  --color-old-price: #999999;
  --color-error: #e74c3c;
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  --max-width: 1200px;
  --header-height: 56px;
  --promo-bar-height: 36px;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
  min-height: 100vh;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 600px) {
  .container { padding: 0 16px; }
}

@media (min-width: 1200px) {
  .container { padding: 0 24px; }
}

/* ===== PROMO BAR ===== */
.promo-bar {
  background: var(--color-primary);
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  letter-spacing: 0.5px;
}

.promo-bar__text {
  flex: 1;
  text-align: center;
}

.promo-bar__socials {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.promo-bar__socials a {
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.promo-bar__socials a:hover {
  opacity: 1;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 600px) {
  .header-inner { padding: 0 16px; }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
}

.hamburger-btn svg {
  width: 22px;
  height: 22px;
}

.logo {
  font-family: var(--font-primary);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.header-social {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions a,
.header-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  position: relative;
}

.header-actions svg {
  width: 20px;
  height: 20px;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
}

.lang-switcher__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  padding: 2px;
  border-radius: 4px;
  opacity: 0.45;
  transition: opacity 0.2s;
}

.lang-switcher__btn.active {
  opacity: 1;
}

.lang-switcher__btn:hover {
  opacity: 1;
}

.lang-switcher__flag {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

@media (max-width: 599px) {
  .lang-switcher__btn:not(.active) {
    display: none;
  }
  .lang-switcher {
    cursor: pointer;
  }
}

/* ===== MOBILE NAV DRAWER ===== */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100%;
  background: var(--color-bg);
  z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  padding: 24px;
  overflow-y: auto;
}

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

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
}

.mobile-nav__close svg {
  width: 20px;
  height: 20px;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__links a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

/* ===== HERO BANNER ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: #2c2c2c;
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-banner__title {
  color: #1a1a1a;
  font-family: var(--font-primary);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hero-banner__subtitle {
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 2px;
}

@media (min-width: 600px) {
  .hero-banner { height: 400px; }
  .hero-banner__title { font-size: 4rem; }
  .hero-banner__subtitle { font-size: 1rem; }
}

@media (min-width: 900px) {
  .hero-banner { height: 500px; }
  .hero-banner__title { font-size: 4.8rem; }
  .hero-banner__subtitle { font-size: 1.15rem; letter-spacing: 3px; }
}

@media (min-width: 1200px) {
  .hero-banner { height: 580px; }
  .hero-banner__title { font-size: 5.6rem; }
}

.hero-banner--cart h1 {
  color: var(--color-secondary);
}

/* ===== CATEGORY STRIP ===== */
.category-strip {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}

.category-strip__scroll {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 12px;
}

.category-strip__scroll::-webkit-scrollbar {
  display: none;
}

.category-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  background: none;
  padding: 10px 0px 0px 0px;
  font-family: inherit;
}

.category-strip__item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.category-strip__item:hover img {
  transform: scale(1.08);
}

.category-strip__item.active img {
  border-color: var(--color-primary);
}

.category-strip__item span {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text);
  white-space: nowrap;
  text-align: center;
}

.category-strip__item.active span {
  font-weight: 700;
}

@media (min-width: 600px) {
  .category-strip__scroll {
    gap: 32px;
    padding: 0 16px;
    justify-content: center;
  }

  .category-strip__item img {
    width: 72px;
    height: 72px;
  }

  .category-strip__item span {
    font-size: 12px;
  }
}

@media (min-width: 1200px) {
  .category-strip__scroll {
    gap: 40px;
    padding: 0 24px;
  }

  .category-strip__item img {
    width: 80px;
    height: 80px;
  }

  .category-strip__item span {
    font-size: 13px;
  }
}

/* ===== CATALOG TOOLBAR ===== */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 12px;
}

.catalog-toolbar__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.sort-select-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.sort-select-wrap select {
  font-family: inherit;
  font-size: 13px;
  border: none;
  background: transparent;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-bottom: 40px;
}

@media (min-width: 600px) {
  .product-grid { gap: 20px; }
}

@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (min-width: 1200px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== PRODUCT CARD ===== */
.product-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-2px);
}

.product-card__image-wrap {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--color-bg-light);
  border-radius: 4px;
  margin-bottom: 10px;
}

.product-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-card__image-wrap img {
  transform: scale(1.05);
}

.sale-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--color-sale-badge);
  color: #fff;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  z-index: 1;
}

.product-card__info {
  padding: 0 2px;
}

.product-card__name {
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}

.stars {
  color: var(--color-star);
  font-size: 12px;
  letter-spacing: 1px;
}

.review-count {
  font-size: 11px;
  color: var(--color-text-muted);
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-current {
  font-size: 14px;
  font-weight: 700;
}

.price-old {
  font-size: 13px;
  color: var(--color-old-price);
  text-decoration: line-through;
}

/* ===== PRODUCT DETAIL ===== */
.product-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 0 40px;
}

@media (min-width: 900px) {
  .product-detail {
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
  }
  .product-gallery { flex: 0 0 55%; }
  .product-info { flex: 1; }
}

/* Gallery */
.product-gallery {
  display: flex;
  gap: 8px;
}

.gallery-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  width: 64px;
}

.gallery-thumbnails img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s;
}

.gallery-thumbnails img:hover {
  opacity: 0.8;
}

.gallery-thumbnails img.active {
  border-color: var(--color-primary);
  opacity: 1;
}

.gallery-main {
  flex: 1;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.gallery-main img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
}

@media (max-width: 599px) {
  .product-gallery {
    flex-direction: column-reverse;
  }
  .gallery-thumbnails {
    flex-direction: row;
    width: 100%;
  }
  .gallery-thumbnails img {
    width: 56px;
    height: 56px;
  }
  .gallery-main {
    min-height: 250px;
  }
}

/* Product info */
.product-info {
  padding-top: 4px;
}

.product-info .product-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.product-info .sale-badge {
  position: static;
  display: inline-block;
  margin-bottom: 12px;
}

/* Order status badges (used in account order history) */
.order-status-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  color: #fff;
}

.order-status-badge--awaiting {
  background: #999;
}

.order-status-badge--paid {
  background: #2e86c1;
}

.order-status-badge--shipping {
  background: #e07b2e;
}

.order-status-badge--delivered {
  background: #27ae60;
}

.order-status-badge--cancelled {
  background: #c0392b;
}

.product-pricing {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.product-pricing .price-current {
  font-size: 1.3rem;
}

.product-pricing .price-old {
  font-size: 1rem;
}

.shipping-note {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

/* Power selector */
.power-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.power-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .power-grid { grid-template-columns: repeat(7, 1fr); }
}

@media (min-width: 900px) {
  .power-grid { grid-template-columns: repeat(8, 1fr); }
}

.power-btn {
  padding: 7px 2px;
  font-size: 12px;
  text-align: center;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}

.power-btn:hover:not(.out-of-stock) {
  border-color: var(--color-primary);
}

.power-btn.selected {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.power-btn.out-of-stock {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Quantity selector */
.quantity-section {
  margin-bottom: 20px;
}

.quantity-section p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.quantity-selector {
  display: inline-flex;
  align-items: center;
}

.qty-minus, .qty-plus {
  width: 38px;
  height: 38px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-minus:hover, .qty-plus:hover {
  background: var(--color-bg-light);
}

.qty-value {
  width: 44px;
  height: 38px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}

/* Add to cart button */
.product-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.add-to-cart-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.add-to-cart-btn:hover {
  opacity: 0.85;
}

.add-to-cart-btn.added {
  background: #27ae60;
}

.wb-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 15px;
  background: #CB11AB;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}

.wb-buy-btn:hover {
  opacity: 0.85;
}

.wb-buy-btn.disabled {
  background: #b0b0b0;
  cursor: not-allowed;
  pointer-events: none;
}

.wb-buy-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Pre-order button */
.preorder-btn {
  width: 100%;
  padding: 15px;
  background: var(--color-sale-badge);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.preorder-btn:hover { opacity: 0.85; }

/* Pre-order modal */
.preorder-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  display: flex;
  align-items: flex-end;
}
.preorder-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.preorder-panel {
  background: var(--color-bg);
  width: 100%;
  padding: 28px 20px 32px;
  border-radius: 14px 14px 0 0;
  position: relative;
}
.preorder-panel__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
}
.preorder-panel__title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
.preorder-panel__note {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0 0 18px;
}
.preorder-panel__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 12px;
  outline: none;
}
.preorder-panel__input:focus {
  border-color: var(--color-text);
}
.preorder-panel__submit {
  width: 100%;
  padding: 13px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.preorder-panel__submit:hover { opacity: 0.85; }
.preorder-panel__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.preorder-panel__success {
  font-size: 15px;
  color: #27ae60;
  text-align: center;
  padding: 20px 0 8px;
}
@media (min-width: 600px) {
  .preorder-overlay {
    align-items: center;
    justify-content: center;
  }
  .preorder-panel {
    width: 420px;
    border-radius: 12px;
  }
}

/* Share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--color-text-muted);
}

.share-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--color-text);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.share-row a:hover {
  opacity: 1;
}

.share-row svg {
  width: 16px;
  height: 16px;
}

/* ===== CART PAGE ===== */
.cart-page-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 8px;
  padding-top: 24px;
}

.cart-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 40px;
}

@media (min-width: 900px) {
  .cart-layout {
    flex-direction: row;
  }
  .cart-items { flex: 1; }
  .order-summary { flex: 0 0 340px; }
}

/* Cart table header */
.cart-table-header {
  display: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

@media (min-width: 600px) {
  .cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
  }
}

/* Cart item */
.cart-item {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
}

@media (min-width: 600px) {
  .cart-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 16px;
  }
}

.cart-item__product {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cart-item__product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.cart-item__details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item__name {
  font-size: 14px;
  font-weight: 500;
}

.cart-item__power {
  font-size: 12px;
  color: var(--color-text-muted);
}

.cart-item__price {
  font-size: 13px;
  color: var(--color-text-muted);
}

.cart-item__remove {
  font-size: 12px;
  color: var(--color-text-muted);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 4px;
  text-underline-offset: 2px;
}

.cart-item__remove:hover {
  color: var(--color-error);
}

.cart-item__quantity {
  display: flex;
  align-items: center;
}

.cart-item__total {
  font-size: 14px;
  font-weight: 600;
}

/* Order summary */
.order-summary {
  border: 1px solid var(--color-border);
  padding: 24px;
  align-self: flex-start;
  border-radius: 4px;
}

.order-summary h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.order-summary label {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.order-summary textarea {
  width: 100%;
  height: 80px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 10px;
  resize: vertical;
  font-family: inherit;
  font-size: 13px;
  margin-bottom: 20px;
}

.order-summary textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 16px;
}

.summary-total span:last-child {
  font-weight: 700;
  font-size: 18px;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 8px;
  transition: opacity 0.2s;
}

.checkout-btn:hover {
  opacity: 0.85;
}


.summary-disclaimer {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== EMPTY CART ===== */
.empty-cart-msg {
  text-align: center;
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.empty-cart-msg a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

/* ===== LOADING / SKELETON ===== */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

/* ===== PLACEHOLDER IMAGE ===== */
.placeholder-img {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 50%, #e0e0e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 12px;
}

/* ===== ACCOUNT PAGE ===== */

/* Auth forms */
.account-auth {
  max-width: 420px;
  margin: 40px auto;
  padding: 0 12px;
}

.account-auth__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 24px;
}

.account-auth__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.account-auth__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-auth__field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-muted);
}

.account-auth__field input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.account-auth__field input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.account-auth__submit {
  width: 100%;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.account-auth__submit:hover {
  opacity: 0.85;
}

.account-auth__error {
  color: var(--color-error);
  font-size: 13px;
  text-align: center;
  min-height: 0;
}

.account-auth__error:empty {
  display: none;
}

.account-auth__switch {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 20px;
}

.account-auth__switch a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* Dashboard */
.account-dashboard {
  padding-bottom: 40px;
}

.account-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-bg-light);
  padding: 24px 20px 16px;
  margin: 0 -12px;
}

.account-header__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
}

.account-header__logout {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.account-header__logout:hover {
  color: var(--color-primary);
}

/* Tabs */
.account-tabs {
  display: flex;
  gap: 8px;
  background: var(--color-bg-light);
  padding: 0 20px 20px;
  margin: 0 -12px 32px;
}

.account-tabs__btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
  color: var(--color-text);
}

.account-tabs__btn.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Empty state */
.account-empty {
  text-align: center;
  padding: 60px 20px;
}

.account-empty__icon {
  margin: 0 auto 20px;
  color: var(--color-text);
}

.account-empty__icon svg {
  width: 64px;
  height: 64px;
}

.account-empty__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.account-empty__text {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.account-empty__btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s;
}

.account-empty__btn:hover {
  opacity: 0.85;
}

/* Address list */
.address-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.address-card {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 20px;
}

.address-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.address-card__line {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.6;
}

.address-card__actions {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.address-card__actions a {
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  color: var(--color-text);
}

.address-card__actions a:hover {
  color: var(--color-primary);
}

.address-card__actions a[data-action="delete-address"]:hover {
  color: var(--color-error);
}

.address-card__sep {
  color: var(--color-border);
  font-size: 12px;
}

.account-add-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.account-add-btn:hover {
  opacity: 0.85;
}

/* Address form */
.address-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
}

.address-form__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 8px;
}

.address-form__row {
  display: flex;
  gap: 12px;
}

.address-form__row > .account-auth__field {
  flex: 1;
}

.address-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}

.address-form__checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.address-form__actions {
  display: flex;
  gap: 12px;
}

.address-form__actions .btn-cancel {
  flex: 1;
  padding: 14px;
  background: var(--color-bg);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.address-form__actions .btn-cancel:hover {
  opacity: 0.85;
}

.address-form__actions .btn-save {
  flex: 1;
  padding: 14px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s;
}

.address-form__actions .btn-save:hover {
  opacity: 0.85;
}

/* Account responsive */
@media (min-width: 600px) {
  .account-auth {
    padding: 0 16px;
  }
  .account-header {
    margin: 0 -16px;
    padding: 24px 24px 16px;
  }
  .account-tabs {
    margin: 0 -16px 32px;
    padding: 0 24px 20px;
  }
  .address-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .account-auth {
    max-width: 480px;
  }
  .account-header {
    margin: 0 -24px;
    padding: 28px 32px 18px;
  }
  .account-tabs {
    margin: 0 -24px 32px;
    padding: 0 32px 24px;
  }
  .address-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 16px 16px;
}

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

.search-overlay__panel {
  background: var(--color-bg);
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.search-overlay__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.search-overlay__input-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-overlay__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.search-overlay__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--color-text);
  min-width: 0;
}

.search-overlay__input::placeholder {
  color: var(--color-text-muted);
}

.search-overlay__clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  line-height: 1;
}

.search-overlay__clear.is-visible {
  display: flex;
}

.search-overlay__close {
  font-family: inherit;
  font-size: 13px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  padding: 4px 0;
}

.search-overlay__close:hover {
  color: var(--color-text);
}

.search-overlay__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.search-overlay__results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .search-overlay { padding: 80px 24px 24px; }
  .search-overlay__results { gap: 20px; }
}

@media (min-width: 900px) {
  .search-overlay__results { grid-template-columns: repeat(3, 1fr); }
}

.search-overlay__empty {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--color-text-muted);
  font-size: 15px;
}

.search-overlay__empty.is-visible {
  display: block;
}

@media (max-width: 599px) {
  .search-overlay {
    padding: 24px 12px 12px;
  }
  .search-overlay__panel {
    max-height: calc(100vh - 48px);
  }
}

/* ===== Feature disabled state ===== */
.feature-disabled {
  opacity: 0.4 !important;
  pointer-events: none !important;
  cursor: default !important;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 60px;
  padding: 40px 0 24px;
  font-size: 14px;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.site-footer__brand {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.1em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__nav a:hover {
  color: #fff;
}

.site-footer__social {
  display: flex;
  gap: 16px;
  align-items: center;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.site-footer__social a:hover {
  opacity: 1;
}

.site-footer__social img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 600px) {
  .site-footer__inner { padding: 0 16px; flex-direction: row; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; }
  .site-footer__nav { flex-direction: column; gap: 10px; }
  .site-footer__bottom { width: 100%; }
}

@media (min-width: 1200px) {
  .site-footer__inner { padding: 0 24px; }
}

/* ===== INFO PAGES (delivery, offer, contacts) ===== */
.info-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 12px 60px;
}

.info-page__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.info-page__subtitle {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.info-page__section {
  margin-bottom: 36px;
}

.info-page__section h2 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-page__section p {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 8px;
}

.info-page__section ul {
  list-style: disc;
  padding-left: 20px;
}

.info-page__section ul li {
  margin-bottom: 6px;
  line-height: 1.6;
}

.delivery-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 12px;
}

.delivery-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
}

.delivery-card__title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.delivery-card__desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (min-width: 600px) {
  .info-page { padding: 48px 16px 80px; }
  .info-page__title { font-size: 34px; }
  .delivery-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .delivery-cards { grid-template-columns: repeat(3, 1fr); }
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}

.contacts-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contacts-item__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  min-width: 100px;
  padding-top: 2px;
}

.contacts-item__value {
  font-size: 15px;
  color: var(--color-primary);
}

.contacts-item__value a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-item__value a:hover {
  color: var(--color-secondary);
}

.contacts-social-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contacts-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 14px;
  color: var(--color-primary);
  transition: border-color 0.2s, background 0.2s;
}

.contacts-social-link:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-light);
}

.contacts-social-link img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Offer page legal text */
.offer-section {
  margin-bottom: 28px;
}

.offer-section h2 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.offer-section p,
.offer-section li {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 6px;
}

.offer-section ul,
.offer-section ol {
  padding-left: 20px;
}

.offer-section ul { list-style: disc; }
.offer-section ol { list-style: decimal; }

.offer-requisites {
  background: var(--color-bg-light);
  border-radius: 8px;
  padding: 20px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: normal;
  margin: 32px 0 24px;
}

.checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 60px;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.checkout-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.checkout-section__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--color-primary);
}

/* Address options */
.checkout-addr-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-addr-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.checkout-addr-option input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.checkout-addr-option.selected {
  border-color: var(--color-primary);
}

.checkout-addr-option__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.5;
}

.checkout-addr-option__info strong {
  font-size: 13px;
  font-weight: 600;
}

.checkout-addr-option__info span {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* Address form */
.checkout-addr-form {
  margin-top: 12px;
}

.checkout-addr-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-addr-form .form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.checkout-addr-form .form-field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.checkout-addr-form .form-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-addr-form .form-field input:focus {
  border-color: var(--color-primary);
}

/* Delivery options */
.checkout-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-delivery-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.checkout-delivery-option input[type="radio"] {
  flex-shrink: 0;
  accent-color: var(--color-primary);
}

.checkout-delivery-option.selected {
  border-color: var(--color-primary);
}

.checkout-delivery-option__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 8px;
}

.checkout-delivery-option__name {
  font-size: 14px;
}

.checkout-delivery-option__cost {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

/* Note */
.checkout-note {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.checkout-note:focus {
  border-color: var(--color-primary);
}

/* Summary sidebar */
.checkout-summary {
  background: var(--color-bg-light);
  border-radius: 8px;
  padding: 24px;
  margin-top: 24px;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}

.checkout-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checkout-item__img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
}

.checkout-item__info {
  flex: 1;
  min-width: 0;
}

.checkout-item__name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 2px;
}

.checkout-item__power,
.checkout-item__qty {
  font-size: 12px;
  color: var(--color-text-muted);
}

.checkout-item__price {
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Totals */
.checkout-totals {
  border-top: 1px solid var(--color-border);
  padding-top: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.checkout-totals__row--total {
  font-size: 16px;
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--color-border);
}

.checkout-error {
  color: var(--color-error);
  font-size: 13px;
  margin-bottom: 12px;
  min-height: 18px;
}

.checkout-pay-btn {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.checkout-pay-btn:hover {
  opacity: 0.85;
}

.checkout-pay-btn:disabled {
  opacity: 0.5;
  cursor: default;
}

/* Login required / empty cart states */
.checkout-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 400px;
  margin: 0 auto;
}

.checkout-state__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: normal;
  margin-bottom: 12px;
}

.checkout-state__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.checkout-state__btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
  text-decoration: none;
}

.checkout-state__btn:hover {
  opacity: 0.85;
}

@media (min-width: 900px) {
  .checkout-layout {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .checkout-main {
    flex: 1;
    min-width: 0;
  }
  .checkout-summary {
    width: 340px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--header-height) + 16px);
    margin-top: 0;
  }
}

/* ===== CHECKOUT SUCCESS PAGE ===== */
.success-page {
  max-width: 560px;
  margin: 60px auto;
  padding: 0 16px 80px;
  text-align: center;
}

.success-page__icon {
  width: 64px;
  height: 64px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #2e7d32;
}

.success-page__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 12px;
}

.success-page__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.success-page__card {
  background: var(--color-bg-light);
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  margin-bottom: 32px;
  font-size: 14px;
}

.success-page__card-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}

.success-page__card-row:last-child {
  border-bottom: none;
  font-weight: 700;
}

.success-page__card-label {
  color: var(--color-text-muted);
}

.success-page__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.success-page__btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--color-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
  text-decoration: none;
}

.success-page__btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

/* Order history in account */
.order-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.order-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.order-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--color-bg-light);
  gap: 12px;
  flex-wrap: wrap;
}

.order-card__num {
  font-weight: 600;
  font-size: 14px;
}

.order-card__date {
  font-size: 12px;
  color: var(--color-text-muted);
}

.order-card__status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-card__status--awaiting { background: #fff3cd; color: #856404; }
.order-card__status--paid { background: #d1e7dd; color: #0a3622; }
.order-card__status--shipping { background: #cfe2ff; color: #084298; }
.order-card__status--delivered { background: #d1e7dd; color: #0a3622; }
.order-card__status--cancelled { background: #f8d7da; color: #58151c; }

.order-card__body {
  padding: 14px 16px;
}

.order-card__items {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.order-card__total {
  font-size: 15px;
  font-weight: 700;
}
