:root {
  --violet: #8a2be8;
  --violet-dark: #6d1fc0;
  --pink: #c81ed8;
  --bg: #f4f4f7;
  --card-bg: #ffffff;
  --text: #1f2024;
  --text-muted: #6b6f76;
  --border: #e6e6eb;
  --radius: 14px;
  --header-h: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .container {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.logo span { -webkit-text-fill-color: initial; color: var(--text); background: none; }
.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color .15s ease;
}
.nav-links a:hover { color: var(--violet); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--violet);
  transition: right .2s ease;
}
.nav-links a:hover::after { right: 0; }
.search-form {
  flex: 1;
  min-width: 0;
  display: flex;
}
.search-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 10px 0 0 10px;
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
}
.search-form input:focus { border-color: var(--violet); }
.search-form button {
  border: none;
  background: var(--violet);
  color: #fff;
  padding: 0 18px;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 14px;
}
.cart-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--bg);
}
.cart-link { transition: background .15s ease, transform .1s ease; }
.cart-link:hover { background: #f1e6ff; }
.cart-link:active { transform: scale(.96); }
.cart-badge {
  background: var(--violet);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
  transition: transform .15s ease;
}
.cart-badge.bump { animation: badgeBump .4s ease; }
@keyframes badgeBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.45); }
  100% { transform: scale(1); }
}

/* Reveal-on-scroll utility */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.22,.7,.3,1), transform .6s cubic-bezier(.22,.7,.3,1);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #f4effc;
  background-image:
    linear-gradient(100deg, rgba(244,239,252,.97) 0%, rgba(244,239,252,.90) 40%, rgba(244,239,252,.55) 65%, rgba(244,239,252,.18) 88%),
    url('../assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  padding: 64px 24px 72px;
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 560px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--violet-dark);
  background: #fff;
  border: 1px solid #e7d3fb;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeInUp .6s ease .05s forwards;
}
.hero-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
  opacity: 0;
  animation: fadeInUp .6s ease .15s forwards;
}
.hero-content p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 0 26px;
  opacity: 0;
  animation: fadeInUp .6s ease .25s forwards;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  opacity: 0;
  animation: fadeInUp .6s ease .35s forwards;
}
.hero-actions .btn { width: auto; padding: 13px 24px; margin-bottom: 0; }
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp .6s ease .45s forwards;
}
.hero-stat b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat span {
  font-size: 12px;
  color: var(--text-muted);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 860px) {
  .hero {
    background-image:
      linear-gradient(180deg, rgba(244,239,252,.95), rgba(244,239,252,.88)),
      url('../assets/img/hero-bg.jpg');
  }
  .hero-inner { padding: 40px 20px 40px; text-align: center; justify-content: center; }
  .hero-content { max-width: none; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
}

/* Advantages */
.advantages-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.advantages-section .section-title { margin-bottom: 32px; }
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .advantages-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .advantages-grid { grid-template-columns: minmax(0, 1fr); }
}
.advantage-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.advantage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(20,20,30,.08);
  border-color: #e2cdfb;
}
.advantage-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1e6ff, #fde6f6);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  transition: transform .2s ease;
}
.advantage-card:hover .advantage-icon { transform: scale(1.08) rotate(-4deg); }
.advantage-card h3 { font-size: 15px; margin: 0 0 6px; }
.advantage-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Process (how to order) */
.process-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.process-section .section-title { margin-bottom: 44px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}
@media (max-width: 700px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
.process-step {
  position: relative;
  text-align: center;
  padding: 0 12px;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(50% + 44px);
  right: calc(-50% + 44px);
  height: 2px;
  background: linear-gradient(90deg, #d9b3ff, #f3c9ea);
}
.process-step:last-child::after { display: none; }
@media (max-width: 700px) {
  .process-step::after { display: none; }
}
.process-num {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 15px; margin: 0 0 6px; }
.process-step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin: 0; max-width: 260px; margin-left: auto; margin-right: auto; }

/* Contacts */
.contacts-section {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.section-title {
  font-size: 24px;
  margin: 0 0 6px;
}
.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 560px;
}
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 900px) {
  .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .contacts-grid { grid-template-columns: minmax(0, 1fr); }
}
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(20,20,30,.08);
  border-color: #e2cdfb;
}
.contact-card .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #f1e6ff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  transition: transform .2s ease;
}
.contact-card:hover .icon { transform: scale(1.1) rotate(-6deg); }
.contact-card .label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-card .value {
  font-size: 15px;
  font-weight: 600;
}
.contacts-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 22px;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0 8px;
}
.breadcrumbs a:hover { color: var(--violet); }
.breadcrumbs .sep { margin: 0 6px; }

/* Catalog */
#catalog { padding-top: 24px; }
#catalog .section-title { margin: 0 0 24px; }
.page-title {
  font-size: 26px;
  margin: 4px 0 20px;
}
.filters-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-chip {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  color: var(--text);
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .1s ease;
}
.filter-chip:hover { border-color: var(--violet); color: var(--violet-dark); }
.filter-chip:active { transform: scale(.95); }
.filter-chip.active {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 14px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.product-card:hover {
  box-shadow: 0 8px 24px rgba(20,20,30,.08);
  transform: translateY(-2px);
}
.product-card .thumb {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .thumb img { transform: scale(1.06); }
.product-card .title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  min-height: 38px;
}
.swatch-row { display: flex; gap: 5px; align-items: center; }
.swatch {
  width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
}
.swatch-more { font-size: 11px; color: var(--text-muted); }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}
.price {
  font-size: 18px;
  font-weight: 700;
}
.price-from { font-size: 12px; color: var(--text-muted); }
.card-meta { font-size: 12px; color: var(--text-muted); }

/* Product detail */
.product-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  margin-top: 8px;
}
@media (max-width: 1000px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); }
}

.gallery-main {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f7f7f9;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-thumbs .thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  background: #f7f7f9;
  transition: border-color .15s ease, transform .15s ease;
}
.gallery-thumbs .thumb:hover { transform: translateY(-2px); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .thumb.active { border-color: var(--violet); }
.gallery-main img { animation: fadeIn .25s ease; }

.product-info .type-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--violet-dark);
  background: #f1e6ff;
  border-radius: 6px;
  padding: 4px 10px;
  margin-bottom: 10px;
}
.product-info h1 {
  font-size: 22px;
  margin: 0 0 14px;
  line-height: 1.3;
}
.option-block { margin-bottom: 20px; }
.option-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.option-label b { color: var(--text); }
.color-options { display: flex; gap: 10px; flex-wrap: wrap; }
.color-swatch-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: border-color .15s ease, transform .15s ease;
}
.color-swatch-btn:not([disabled]):hover { transform: scale(1.12); }
.color-swatch-btn:active { transform: scale(.95); }
.color-swatch-btn.selected { border-color: var(--violet); box-shadow: 0 0 0 2px #fff inset; }
.color-swatch-btn[disabled] { opacity: .3; cursor: not-allowed; }
.color-swatch-btn .tick {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; text-shadow: 0 0 3px rgba(0,0,0,.6);
}

.qty-options { display: flex; gap: 10px; flex-wrap: wrap; }
.qty-btn {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  min-width: 110px;
  transition: border-color .15s ease, transform .1s ease, background .15s ease;
}
.qty-btn:not([disabled]):hover { border-color: var(--violet); transform: translateY(-2px); }
.qty-btn b { display: block; font-size: 14px; }
.qty-btn span { color: var(--text-muted); font-size: 12px; }
.qty-btn.selected { border-color: var(--violet); background: #f6effe; }
.qty-btn[disabled] { opacity: .35; cursor: not-allowed; }

.description-block {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  white-space: pre-line;
}
.description-block h2 { font-size: 18px; margin-bottom: 12px; }

.buy-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 18px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.buy-box .price-now {
  font-size: 28px;
  font-weight: 800;
}
.buy-box .price-old {
  font-size: 15px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 8px;
}
.buy-box .selected-summary {
  font-size: 13px;
  color: var(--text-muted);
  margin: 8px 0 16px;
}
.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:not(:disabled):hover { filter: brightness(1.06); box-shadow: 0 6px 18px rgba(120,40,200,.18); }
.btn:not(:disabled):active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(90deg, var(--violet), var(--pink));
  color: #fff;
  margin-bottom: 10px;
}
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.btn-secondary {
  background: #f1e6ff;
  color: var(--violet-dark);
  border: 1.5px solid rgba(138,43,232,.3);
}
.btn-secondary:hover { border-color: var(--violet); }
.stock-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.notice-banner {
  background: #fff7e0;
  border: 1px solid #f1d98a;
  color: #6b5300;
  font-size: 13px;
  border-radius: 10px;
  padding: 10px 14px;
  margin: 16px 0;
}

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 800px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } }
.cart-item {
  display: flex;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 12px;
  align-items: center;
}
.cart-item .thumb {
  width: 76px; height: 76px; border-radius: 8px; overflow: hidden;
  background: #f7f7f9; flex-shrink: 0;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .info .name { font-size: 14px; font-weight: 500; margin-bottom: 4px; display: block; }
.cart-item .info .opts { font-size: 12px; color: var(--text-muted); }
.cart-item-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.qty-stepper { display: flex; align-items: center; gap: 8px; }
.qty-stepper button {
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--border);
  background: #fff; cursor: pointer; font-size: 15px;
  transition: border-color .15s ease, transform .1s ease;
}
.qty-stepper button:hover { border-color: var(--violet); }
.qty-stepper button:active { transform: scale(.9); }
.cart-item {
  transition: box-shadow .2s ease, transform .2s ease, opacity .25s ease;
}
.cart-item:hover { box-shadow: 0 8px 20px rgba(20,20,30,.06); }
.cart-item.removing { opacity: 0; transform: translateX(20px); }
.cart-item .line-price { width: 90px; text-align: right; font-weight: 700; }
.remove-btn { background: none; border: none; color: #c94040; cursor: pointer; font-size: 12px; padding: 4px; transition: opacity .15s ease; }
.remove-btn:hover { opacity: .7; }
.empty-cart { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-cart .btn { max-width: 260px; margin: 16px auto 0; }

.summary-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 18px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.summary-row.total { font-size: 18px; font-weight: 700; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 8px; }

footer.site-footer {
  margin-top: 60px;
  padding: 24px 0 40px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 860px) {
  .checkout-layout { grid-template-columns: minmax(0, 1fr); }
}
.checkout-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.form-block { margin-bottom: 28px; }
.form-block:last-of-type { margin-bottom: 0; }
.form-block h2 { font-size: 16px; margin: 0 0 16px; }
.form-row { margin-bottom: 16px; }
.form-row:last-child { margin-bottom: 0; }
.form-row label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-row .req { color: #c94040; }
.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(138,43,232,.12);
}
.form-row input.invalid,
.form-row textarea.invalid {
  border-color: #c94040;
}
.field-error {
  font-size: 12px;
  color: #c94040;
  margin-top: 6px;
  min-height: 14px;
}
.delivery-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 6px;
}
@media (max-width: 480px) {
  .delivery-options { grid-template-columns: 1fr; }
}
.delivery-option {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.delivery-option input { position: absolute; opacity: 0; pointer-events: none; }
.delivery-option-body { display: flex; flex-direction: column; gap: 4px; }
.delivery-option-body b { font-size: 14px; }
.delivery-option-body span { font-size: 12px; color: var(--text-muted); }
.delivery-option:has(input:checked) {
  border-color: var(--violet);
  background: #f6effe;
}
.checkout-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
}
.order-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.order-summary h2 { font-size: 16px; margin: 0 0 14px; }
.order-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.order-line .thumb {
  width: 48px; height: 48px; border-radius: 8px; overflow: hidden;
  background: #f7f7f9; flex-shrink: 0;
}
.order-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-line-info { flex: 1; min-width: 0; }
.order-line-info .name { font-size: 13px; font-weight: 500; line-height: 1.3; }
.order-line-info .opts { font-size: 11px; color: var(--text-muted); }
.order-line-price { font-size: 13px; font-weight: 700; white-space: nowrap; }
.order-summary .summary-row.total { margin-bottom: 16px; }
.order-summary .btn-secondary { margin-top: 4px; }

.checkout-success {
  max-width: 480px;
  margin: 40px auto;
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  animation: fadeInUp .5s ease;
}
.success-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet), var(--pink));
  color: #fff;
  font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  animation: badgeBump .5s ease .1s both;
}
.checkout-success h2 { margin: 0 0 10px; }
.checkout-success p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.checkout-success .success-details { color: var(--text); }
.checkout-success .btn { max-width: 280px; margin: 20px auto 0; }

/* Responsive header overrides — must stay last so they win the cascade */
@media (max-width: 900px) {
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .search-form { display: none; }
  .site-header .container { gap: 12px; }
  .cart-link .cart-label { display: none; }
}
@media (max-width: 520px) {
  .cart-item { flex-wrap: wrap; }
  .cart-item-actions { flex-basis: 100%; justify-content: space-between; margin-left: 90px; }
}
