/* Announcement bar */
.announcement {
  background: var(--color-text);
  color: #f5f5f5;
  text-align: center;
  font-size: 0.8125rem;
  padding: var(--space-2) var(--space-4);
  letter-spacing: 0.01em;
}

.announcement a {
  color: white;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: var(--space-4);
}

.site-logo img {
  height: 44px;
  width: auto;
}

@media (min-width: 768px) {
  .site-logo img { height: 52px; }
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--space-1);
}

.site-nav a {
  padding: var(--space-2) var(--space-4);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: background var(--transition);
}

.icon-btn:hover {
  background: var(--color-primary-soft);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--color-primary);
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count:empty,
.cart-count[data-count="0"] { display: none; }

.nav-toggle { display: flex; }

@media (min-width: 768px) {
  .site-nav { display: flex; }
  .nav-toggle { display: none; }
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-4);
  z-index: 99;
  flex-direction: column;
}

.mobile-drawer.is-open { display: flex; }

.mobile-drawer a {
  padding: var(--space-4);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-drawer a:hover { color: var(--color-primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn--secondary:hover {
  border-color: var(--color-text);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary-soft);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  min-height: 36px;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
}

.btn--block { width: 100%; }

/* Hero */
.hero-pro {
  background: var(--color-bg);
  padding: var(--space-12) 0 var(--space-16);
}

.hero-pro__grid {
  display: grid;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .hero-pro__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-pro__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero-pro h1 {
  margin-bottom: var(--space-4);
}

.hero-pro__lead {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.hero-pro__visual {
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.hero-pro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-pro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .gallery-pro {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
  }
}

@media (min-width: 1024px) {
  .gallery-pro { gap: var(--space-6); }
}

.gallery-pro__tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-pro__tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-pro__media {
  aspect-ratio: 1;
}

.gallery-pro__tile--hero .gallery-pro__media {
  aspect-ratio: 4/3;
}

@media (min-width: 900px) {
  .gallery-pro__tile--hero {
    grid-column: span 2;
  }

  .gallery-pro__tile--hero .gallery-pro__media {
    aspect-ratio: 21/9;
  }
}

.gallery-pro__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-8) var(--space-4) var(--space-4);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 20, 20, 0.72) 100%);
  transform: translateY(0.35rem);
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}

.gallery-pro__tile:hover .gallery-pro__caption,
.gallery-pro__tile:focus-visible .gallery-pro__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-pro__tile:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.gallery-pro-section {
  padding: var(--space-12) var(--space-6);
  margin: 0 calc(-1 * var(--space-6));
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 168, 108, 0.1) 0%, transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 100%);
  border-radius: var(--radius-xl);
}

.gallery-pro__follow {
  margin: var(--space-8) 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.gallery-pro__follow a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.gallery-pro__follow a:hover {
  text-decoration: underline;
}

/* Category nav */
.category-nav {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding-bottom: var(--space-2);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-nav::-webkit-scrollbar { display: none; }

.category-nav a {
  flex-shrink: 0;
  padding: var(--space-3) var(--space-5);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  transition: all var(--transition);
  white-space: nowrap;
}

.category-nav a:hover,
.category-nav a.is-active {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-soft);
}

/* Product card */
.product-card-pro {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card-pro:hover {
  box-shadow: var(--shadow-md);
}

.product-card-pro__media {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.product-card-pro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease, filter 400ms ease;
}

.product-card-pro:hover .product-card-pro__media img {
  transform: scale(1.04);
}

/* Studio presentation — elevates flat white-background product shots */
.product-card-pro__media--studio {
  padding: var(--space-6);
  background:
    radial-gradient(ellipse 90% 70% at 50% 28%, var(--studio-highlight, rgba(255, 255, 255, 0.9)) 0%, transparent 65%),
    linear-gradient(165deg, var(--studio-from, #f7f2ed) 0%, var(--studio-to, #efe8e1) 100%);
}

.product-card-pro__media--studio::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.product-card-pro__media--studio::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 58%;
  height: 10%;
  background: radial-gradient(ellipse, rgba(26, 26, 26, 0.1) 0%, transparent 72%);
  pointer-events: none;
}

.product-card-pro__media--studio img {
  position: relative;
  z-index: 1;
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(26, 26, 26, 0.1));
}

.product-card-pro:hover .product-card-pro__media--studio img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 14px 28px rgba(26, 26, 26, 0.14));
}

/* Category tone backdrops */
.product-card-pro__media.tone-lavender,
.collection-card__media.tone-lavender,
.pdp__gallery.tone-lavender { --studio-from: #f3eef8; --studio-to: #e8dff0; --studio-highlight: rgba(255, 252, 255, 0.95); }
.product-card-pro__media.tone-mint,
.collection-card__media.tone-mint,
.pdp__gallery.tone-mint { --studio-from: #eaf8f3; --studio-to: #d8f0e8; --studio-highlight: rgba(248, 255, 252, 0.95); }
.product-card-pro__media.tone-pink,
.collection-card__media.tone-pink,
.pdp__gallery.tone-pink { --studio-from: #fdf0f5; --studio-to: #f5e4ec; --studio-highlight: rgba(255, 250, 252, 0.95); }
.product-card-pro__media.tone-coral,
.collection-card__media.tone-coral,
.pdp__gallery.tone-coral { --studio-from: #fdf3ef; --studio-to: #f5e8e2; --studio-highlight: rgba(255, 252, 250, 0.95); }
.product-card-pro__media.tone-gold,
.collection-card__media.tone-gold,
.pdp__gallery.tone-gold { --studio-from: #fdf8ec; --studio-to: #f5edd8; --studio-highlight: rgba(255, 253, 248, 0.95); }
.product-card-pro__media.tone-neon,
.collection-card__media.tone-neon,
.pdp__gallery.tone-neon { --studio-from: #2a2830; --studio-to: #3d3550; --studio-highlight: rgba(126, 236, 199, 0.12); }
.product-card-pro__media.tone-neon.product-card-pro__media--studio img,
.pdp__gallery.tone-neon.pdp__gallery--studio img { filter: drop-shadow(0 0 18px rgba(126, 236, 199, 0.25)) drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2)); }
.product-card-pro__media.tone-spooky,
.collection-card__media.tone-spooky,
.pdp__gallery.tone-spooky { --studio-from: #14101f; --studio-to: #2a1838; --studio-highlight: rgba(255, 107, 26, 0.2); }
.product-card-pro__media.tone-spooky.product-card-pro__media--studio,
.collection-card__media.tone-spooky.product-card-pro__media--studio,
.pdp__gallery.tone-spooky.pdp__gallery--studio {
  background:
    radial-gradient(ellipse 75% 55% at 50% 38%, rgba(255, 107, 26, 0.22) 0%, transparent 58%),
    radial-gradient(ellipse 45% 35% at 85% 88%, rgba(138, 43, 226, 0.16) 0%, transparent 50%),
    linear-gradient(165deg, var(--studio-from) 0%, var(--studio-to) 100%);
}
.product-card-pro__media.tone-spooky.product-card-pro__media--studio img,
.pdp__gallery.tone-spooky.pdp__gallery--studio img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 20px rgba(255, 107, 26, 0.15));
}
.product-card-pro__media.tone-festive,
.collection-card__media.tone-festive,
.pdp__gallery.tone-festive { --studio-from: #0f1f14; --studio-to: #1a3324; --studio-highlight: rgba(220, 38, 38, 0.18); }
.product-card-pro__media.tone-festive.product-card-pro__media--studio,
.collection-card__media.tone-festive.product-card-pro__media--studio,
.pdp__gallery.tone-festive.pdp__gallery--studio {
  background:
    radial-gradient(ellipse 70% 50% at 50% 38%, rgba(220, 38, 38, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 20% 85%, rgba(34, 197, 94, 0.14) 0%, transparent 50%),
    linear-gradient(165deg, var(--studio-from) 0%, var(--studio-to) 100%);
}
.product-card-pro__media.tone-festive.product-card-pro__media--studio img,
.pdp__gallery.tone-festive.pdp__gallery--studio img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(220, 38, 38, 0.12));
}
.product-card-pro__media.tone-pop,
.collection-card__media.tone-pop,
.pdp__gallery.tone-pop { --studio-from: #1a1428; --studio-to: #2d2040; --studio-highlight: rgba(236, 72, 153, 0.18); }
.product-card-pro__media.tone-pop.product-card-pro__media--studio,
.collection-card__media.tone-pop.product-card-pro__media--studio,
.pdp__gallery.tone-pop.pdp__gallery--studio {
  background:
    radial-gradient(ellipse 70% 50% at 50% 38%, rgba(236, 72, 153, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(59, 130, 246, 0.14) 0%, transparent 50%),
    linear-gradient(165deg, var(--studio-from) 0%, var(--studio-to) 100%);
}
.product-card-pro__media.tone-pop.product-card-pro__media--studio img,
.pdp__gallery.tone-pop.pdp__gallery--studio img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 16px rgba(236, 72, 153, 0.12));
}
.product-card-pro__media.tone-cozy,
.collection-card__media.tone-cozy,
.pdp__gallery.tone-cozy { --studio-from: #1f1814; --studio-to: #332820; --studio-highlight: rgba(251, 191, 36, 0.16); }
.product-card-pro__media.tone-cozy.product-card-pro__media--studio,
.collection-card__media.tone-cozy.product-card-pro__media--studio,
.pdp__gallery.tone-cozy.pdp__gallery--studio {
  background:
    radial-gradient(ellipse 70% 50% at 50% 38%, rgba(251, 191, 36, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 75% 85%, rgba(244, 114, 182, 0.12) 0%, transparent 50%),
    linear-gradient(165deg, var(--studio-from) 0%, var(--studio-to) 100%);
}
.product-card-pro__media.tone-cozy.product-card-pro__media--studio img,
.pdp__gallery.tone-cozy.pdp__gallery--studio img {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 14px rgba(251, 191, 36, 0.1));
}

/* Zoomed crop — fills frame for product shots with excess whitespace */
.product-card-pro__media--zoom {
  padding: 0;
}
.product-card-pro__media--zoom img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--img-position, center);
  transform: scale(var(--img-scale, 1.25));
}
.product-card-pro:hover .product-card-pro__media--zoom img {
  transform: scale(calc(var(--img-scale, 1.25) * 1.04)) translateY(-2px);
}
.pdp__gallery--zoom {
  padding: var(--space-4) !important;
  overflow: hidden;
}
.pdp__gallery--zoom img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--img-position, center);
  transform: scale(var(--img-scale, 1.2));
}
.product-card-pro__media.tone-rainbow,
.pdp__gallery.tone-rainbow { --studio-from: #fdf0f6; --studio-to: #eef5ff; --studio-highlight: rgba(255, 255, 255, 0.9); }
.product-card-pro__media.tone-silver,
.pdp__gallery.tone-silver { --studio-from: #f4f4f8; --studio-to: #e8e8f0; --studio-highlight: rgba(255, 255, 255, 0.95); }
.product-card-pro__media.tone-cream,
.pdp__gallery.tone-cream { --studio-from: #fdf9f4; --studio-to: #f5efe8; --studio-highlight: rgba(255, 253, 250, 0.95); }
.product-card-pro__media.tone-warm,
.pdp__gallery.tone-warm { --studio-from: #fdf6e8; --studio-to: #f5ead0; --studio-highlight: rgba(255, 252, 245, 0.95); }
.product-card-pro__media.tone-default,
.pdp__gallery.tone-default { --studio-from: #f7f2ed; --studio-to: #efe8e1; --studio-highlight: rgba(255, 255, 255, 0.92); }

.site-logo img {
  height: 56px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.product-card-pro__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-2);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.product-card-pro__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-pro__cat {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-1);
}

.product-card-pro__title {
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
  line-height: 1.4;
}

.product-card-pro__price {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: auto;
}

/* Filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-chip {
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  min-height: 36px;
  transition: all var(--transition);
}

.filter-chip:hover,
.filter-chip.is-active {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

.sort-select {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: 0.8125rem;
  min-height: 36px;
}

/* Trust strip */
.trust-strip {
  display: grid;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

@media (min-width: 768px) {
  .trust-strip {
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
  }
}

.trust-strip__item h3 {
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.trust-strip__item p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* Product detail */
.pdp {
  display: grid;
  gap: var(--space-10);
  padding: var(--space-8) 0 var(--space-12);
}

@media (min-width: 900px) {
  .pdp { grid-template-columns: 1fr 1fr; align-items: start; }
}

.pdp__gallery {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pdp__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pdp__gallery--studio {
  padding: var(--space-10);
  background:
    radial-gradient(ellipse 85% 65% at 50% 30%, var(--studio-highlight, rgba(255, 255, 255, 0.9)) 0%, transparent 68%),
    linear-gradient(165deg, var(--studio-from, #f7f2ed) 0%, var(--studio-to, #efe8e1) 100%);
}

.pdp__gallery--studio::after {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 8%;
  background: radial-gradient(ellipse, rgba(26, 26, 26, 0.09) 0%, transparent 72%);
}

.pdp__gallery--studio img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 88%;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(26, 26, 26, 0.12));
}

.pdp__meta {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

.pdp__price {
  font-size: 1.5rem;
  font-weight: 600;
  margin: var(--space-4) 0;
}

.pdp__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.pdp__policies {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: var(--space-4);
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-6);
}

.pdp__policies li {
  padding: var(--space-1) 0;
  padding-left: var(--space-4);
  position: relative;
}

.pdp__policies li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.qty-field {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
}

.qty-field button {
  width: 40px;
  height: 40px;
  font-size: 1rem;
  transition: background var(--transition);
}

.qty-field button:hover { background: var(--color-bg); }

.qty-field span {
  min-width: 40px;
  text-align: center;
  font-weight: 500;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  line-height: 40px;
}

/* Checkout steps */
.checkout-steps {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  font-size: 0.8125rem;
}

.checkout-steps span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-light);
}

.checkout-steps span.is-active {
  color: var(--color-text);
  font-weight: 600;
}

.checkout-steps span.is-done {
  color: var(--color-success);
}

/* Forms */
.form-section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
}

.form-group { margin-bottom: var(--space-4); }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  min-height: 44px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.form-row {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
}

.notice {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  margin-bottom: var(--space-6);
}

.notice--info {
  background: #f0f7ff;
  border: 1px solid #c5d9f0;
  color: #1a4a7a;
}

.notice--warning {
  background: #fff8e6;
  border: 1px solid #e8d49a;
  color: var(--color-warning);
}

/* Cart */
.cart-layout-pro {
  display: grid;
  gap: var(--space-10);
  padding: var(--space-8) 0 var(--space-12);
}

@media (min-width: 900px) {
  .cart-layout-pro { grid-template-columns: 1fr 380px; }
}

.cart-line {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}

.cart-line__thumb {
  width: 96px;
  height: 96px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg);
  flex-shrink: 0;
}

.cart-line__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__name {
  font-weight: 500;
  margin-bottom: var(--space-1);
}

.cart-line__variant {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.cart-line__price {
  font-weight: 600;
  text-align: right;
}

.order-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
}

.order-summary h2 {
  font-size: 1rem;
  margin-bottom: var(--space-5);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: var(--space-2);
}

.summary-row--total {
  font-size: 1rem;
  font-weight: 600;
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

.empty-state {
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.empty-state h2 {
  margin-bottom: var(--space-3);
}

.empty-state p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* Customizer */
.customizer-pro {
  display: grid;
  gap: var(--space-8);
  padding: var(--space-8) 0 var(--space-12);
}

@media (min-width: 900px) {
  .customizer-pro { grid-template-columns: 1fr 1fr; }
}

.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}

.panel h2 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-5);
}

.swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}

.swatch:hover,
.swatch.is-active {
  border-color: var(--color-text);
  transform: scale(1.05);
}

.charm-tabs-pro {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.charm-tab-pro {
  padding: var(--space-2) var(--space-4);
  font-size: 0.8125rem;
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.charm-tab-pro.is-active {
  background: var(--color-text);
  color: white;
  border-color: var(--color-text);
}

.charm-grid-pro {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.charm-cell {
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-bg);
  overflow: hidden;
  padding: 0;
}

.charm-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.charm-cell:hover { border-color: var(--color-primary); }

.charm-cell.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  box-shadow: inset 0 0 0 1px var(--color-primary);
}

.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  min-height: 40px;
  margin-bottom: var(--space-5);
}

.selected-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
}

.preview-panel {
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--color-bg);
  transition: background var(--transition);
}

.preview-panel__shoe {
  width: 72%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
}

.preview-panel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-8);
  font-size: 1.75rem;
}

.preview-caption {
  position: absolute;
  bottom: var(--space-4);
  font-size: 0.6875rem;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Thank you */
.confirmation {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-16) var(--space-4);
}

.confirmation__order {
  display: inline-block;
  margin: var(--space-6) 0;
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Footer */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) 0 var(--space-6);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand img {
  height: 48px;
  margin-bottom: var(--space-4);
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.footer-payments {
  display: flex;
  gap: var(--space-2);
  align-items: center;
}

.pay-badge {
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Premium enhancements */
.hero-pro--shop {
  padding: var(--space-10) 0 var(--space-8);
}

.section--alt {
  background: var(--color-section-alt);
}

.page-title-block--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.grid-collections {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .grid-collections { grid-template-columns: repeat(4, 1fr); }
}

.collection-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

.collection-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.collection-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-bg);
}

.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.collection-card:hover .collection-card__media img {
  transform: scale(1.04);
}

.collection-card__media.product-card-pro__media--studio {
  padding: var(--space-4);
  background:
    radial-gradient(ellipse 90% 70% at 50% 28%, var(--studio-highlight, rgba(255, 255, 255, 0.9)) 0%, transparent 65%),
    linear-gradient(165deg, var(--studio-from, #f7f2ed) 0%, var(--studio-to, #efe8e1) 100%);
}

.collection-card__media.product-card-pro__media--studio img {
  position: relative;
  z-index: 1;
}

.collection-card__media.product-card-pro__media--zoom {
  padding: 0;
}

.collection-card__media.product-card-pro__media--zoom img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: var(--img-position, center);
  transform: scale(var(--img-scale, 1.25));
}

.collection-card:hover .collection-card__media.product-card-pro__media--zoom img {
  transform: scale(calc(var(--img-scale, 1.25) * 1.04));
}

.collection-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.collection-card__body h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
}

.collection-card__body p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}

.collection-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.info-cards-pro {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 640px) {
  .info-cards-pro { grid-template-columns: repeat(2, 1fr); }
}

.info-card-pro {
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.info-card-pro:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.info-card-pro h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-2);
}

.info-card-pro p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-4);
}

.info-card-pro span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.filter-label-pro {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

.filter-chips--sub {
  margin-bottom: var(--space-6);
}

.filter-chip--sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
}

.section--inner {
  margin-top: var(--space-12);
  padding-top: var(--space-12);
  border-top: 1px solid var(--color-border);
}

.story-pro__intro {
  max-width: 680px;
  margin-bottom: var(--space-4);
}

.story-pro__intro p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.why-pro,
.occasions-pro,
.reviews-pro {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .why-pro { grid-template-columns: repeat(2, 1fr); }
  .occasions-pro { grid-template-columns: repeat(2, 1fr); }
  .reviews-pro { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-pro { grid-template-columns: repeat(4, 1fr); }
  .occasions-pro { grid-template-columns: repeat(4, 1fr); }
}

.why-pro__card,
.occasions-pro__card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.why-pro__card h3,
.occasions-pro__card h3 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-2);
}

.why-pro__card p,
.occasions-pro__card p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.review-pro {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin: 0;
}

.review-pro__stars {
  color: #c9a227;
  letter-spacing: 2px;
  margin-bottom: var(--space-3);
  font-size: 0.875rem;
}

.review-pro p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: var(--space-3);
}

.review-pro footer {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.process-pro__heading {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-10);
  letter-spacing: -0.02em;
}

.process-pro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .process-pro {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
  }
}

.process-pro__step {
  flex: 1;
  max-width: 240px;
  text-align: center;
}

.process-pro__visual {
  width: 140px;
  height: 140px;
  margin: 0 auto var(--space-4);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.process-pro__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-pro__num {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.process-pro__step h3 {
  font-size: 0.9375rem;
  margin-bottom: var(--space-2);
}

.process-pro__step p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

.process-pro__arrow {
  display: none;
}

@media (min-width: 900px) {
  .process-pro__arrow {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-border-strong);
    margin-top: 70px;
    flex-shrink: 0;
    position: relative;
  }

  .process-pro__arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -4px;
    border: 5px solid transparent;
    border-left-color: var(--color-border-strong);
  }
}

.guide-pro__heading {
  font-size: 1.5rem;
  margin-bottom: var(--space-8);
  letter-spacing: -0.02em;
}

.guide-pro__block {
  display: grid;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  align-items: center;
}

@media (min-width: 900px) {
  .guide-pro__block {
    grid-template-columns: 1fr 1fr;
  }

  .guide-pro__block--reverse .guide-pro__content { order: 1; }
  .guide-pro__block--reverse .guide-pro__aside { order: 2; }
}

.guide-pro__block h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-5);
}

.guide-pro__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.guide-pro__list li {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
}

.guide-pro__num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--color-border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.guide-pro__list strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.15rem;
}

.guide-pro__list p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.guide-pro__aside {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 4/3;
}

.guide-pro__aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__thumb {
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 255, 255, 0.85) 0%, transparent 70%),
    linear-gradient(165deg, #f7f2ed, #efe8e1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2);
}

.cart-line__thumb img {
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(26, 26, 26, 0.08));
}

/* Toast */
.toast-pro {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 200;
  box-shadow: var(--shadow-md);
}

.shop-results-meta {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.shop-pagination {
  margin-top: var(--space-10);
  display: flex;
  justify-content: center;
}

.shop-pagination__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

.shop-pagination__gap {
  color: var(--color-text-light);
  padding: 0 var(--space-1);
}
