:root {
  --ink: #16131c;
  --muted: #766f80;
  --line: #e6e0ec;
  --paper: #faf9fc;
  --accent: #6b2fb3;
  --accent-dark: #4d2084;
  --gold: #c9972f;
  --green: #1f7a5c;
  --blue: #244f78;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(18px, 4vw, 56px);
  color: white;
  background: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(250, 249, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  font-family: "Cinzel", Inter, serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.02em;
  color: var(--accent-dark);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
  color: #313131;
  font-size: 14px;
  font-weight: 600;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--accent);
}

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

.icon-button,
.text-button,
.close-panel,
.close-drawer {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  position: relative;
  width: 40px;
  height: 40px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.text-button {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.cart-trigger::before {
  content: "";
  position: absolute;
  inset: 9px 8px 7px;
  border: 2px solid var(--ink);
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

.cart-trigger::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 6px;
  width: 12px;
  height: 9px;
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-dot {
  position: absolute;
  right: 2px;
  top: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: white;
  background: var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 92px));
  overflow: hidden;
  background: var(--ink);
}

.slider-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.72s cubic-bezier(0.55, 0.05, 0.22, 0.99);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  opacity: 1;
  visibility: visible;
  transform: none;
  overflow: hidden;
}

.hero-slide img {
  transform: scale(1.04);
  transition: transform 5.5s ease;
}

.hero-slide.is-active img {
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 6, 20, 0.72), rgba(10, 6, 20, 0.15) 62%, rgba(10, 6, 20, 0.05));
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 7vw, 110px);
  top: 50%;
  transform: translateY(-50%) translateX(-12px);
  max-width: 620px;
  color: white;
  opacity: 0;
  transition: opacity 0.6s ease 0.15s, transform 0.7s ease 0.15s;
}

.hero-slide.is-active .hero-copy {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.hero-copy .eyebrow {
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 18px;
  opacity: 0.92;
  color: var(--gold);
}

.hero-copy h1 {
  font-family: "Cinzel", Inter, serif;
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.05;
  margin: 0 0 28px;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}

.hero-copy .primary-button {
  display: inline-block;
  padding: 16px 38px;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-copy .primary-button:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.slider-arrow:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.slider-prev {
  left: clamp(16px, 3vw, 34px);
}

.slider-prev::before {
  transform: translateX(2px) rotate(-45deg);
}

.slider-next {
  right: clamp(16px, 3vw, 34px);
}

.slider-next::before {
  transform: translateX(-2px) rotate(135deg);
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: clamp(22px, 7vw, 96px);
  bottom: clamp(18px, 4vw, 44px);
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  border-radius: 20px;
  cursor: pointer;
}

.slider-dots button.is-active {
  background: var(--gold);
}

.slider-play {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 4vw, 56px);
  bottom: clamp(18px, 4vw, 44px);
  min-height: 36px;
  padding: 0 14px;
  color: white;
  background: rgba(21, 21, 21, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.slider-progress {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.26);
}

.slider-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--gold);
}

.hero-slider.is-playing .slider-progress span {
  animation: slider-progress 5.5s linear forwards;
}

.hero-slider.is-paused .slider-progress span {
  animation-play-state: paused;
}

@keyframes slider-progress {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.video-banner .eyebrow {
  color: var(--gold);
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(52px, 8vw, 118px);
}

h2 {
  font-size: clamp(30px, 4vw, 62px);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 26px;
  padding: 0 24px;
  color: white;
  background: var(--accent);
  border: 0;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.primary-button.ghost {
  background: white;
  color: var(--ink);
}

.primary-button.full {
  width: 100%;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: white;
}

.feature-strip article {
  padding: 24px clamp(18px, 4vw, 56px);
  border-right: 1px solid var(--line);
}

.feature-strip article:last-child {
  border-right: 0;
}

.feature-strip strong,
.feature-strip span {
  display: block;
}

.feature-strip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.split-banners {
  display: grid;
  grid-template-columns: minmax(210px, 0.75fr) minmax(300px, 1.5fr) minmax(210px, 0.75fr);
  gap: 18px;
  padding: clamp(24px, 5vw, 74px) clamp(18px, 4vw, 56px);
}

.banner-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #ddd;
}

.banner-card.wide {
  min-height: 420px;
}

.banner-card::after,
.video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.52));
}

.banner-card div {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 24px;
  bottom: 28px;
  color: white;
}

.banner-card p {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.banner-card h2 {
  font-size: clamp(26px, 3.5vw, 46px);
}

.section-head {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px 28px;
  text-align: center;
}

.section-head .eyebrow {
  color: var(--green);
}

.featured-head {
  text-align: center;
  padding: clamp(48px, 7vw, 80px) 18px 8px;
}

.featured-head h2 {
  font-family: "Cinzel", Inter, serif;
  font-size: clamp(26px, 3.2vw, 40px);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.featured-head .subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px) clamp(60px, 8vw, 100px);
}

.product-card {
  position: relative;
  background: white;
  border: 0;
  overflow: visible;
  transition: transform 0.25s ease;
}

.product-card .card-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #efe9f5;
  overflow: hidden;
  border-radius: 6px;
}

.product-card .card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease, transform 0.7s ease;
}

.product-card .img-hover {
  opacity: 0;
}

.product-card:hover .img-main {
  opacity: 0;
}

.product-card:hover .img-hover {
  opacity: 1;
  transform: scale(1.04);
}

.product-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
  background: var(--ink);
  border-radius: 3px;
}

.product-card .badge.sale {
  background: var(--accent);
}

.product-card .badge.best {
  background: var(--gold);
  color: var(--ink);
}

.product-card .badge.new {
  background: var(--blue);
}

.product-card .badge.sold-out {
  background: rgba(21, 21, 21, 0.75);
}

.product-card .card-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .card-actions {
  opacity: 1;
  transform: translateX(0);
}

.product-card .card-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: white;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.product-card .card-icon:hover,
.product-card .card-icon.is-active {
  background: var(--accent);
  color: white;
}

.product-card .card-lowstock {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 8px 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: rgba(107, 47, 179, 0.88);
  letter-spacing: 0.04em;
}

.product-card .card-info {
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card .card-info h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.product-card:hover .card-info h3 {
  color: var(--accent);
}

.product-card .card-meta {
  font-size: 12px;
  color: var(--muted);
}

.product-card .card-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 2px;
}

.product-card .card-price .now {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.product-card .card-price .was {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.product-card .card-add {
  margin-top: 6px;
  padding: 11px 14px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.product-card .card-add:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

.product-card .card-add:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-style: dashed;
}

.product-card.is-sold .card-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.35);
}

.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.brand-gallery {
  padding: clamp(42px, 7vw, 94px) clamp(18px, 4vw, 56px);
  background: #efe9f5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 8px;
}

.video-banner {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.video-banner > div {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 7vw, 96px);
  bottom: clamp(34px, 7vw, 86px);
  max-width: 620px;
  color: white;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 44px clamp(18px, 4vw, 56px);
  color: white;
  background: var(--ink);
}

.footer p {
  max-width: 420px;
  color: #cfcfcf;
}

.newsletter label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.newsletter div {
  display: flex;
  min-width: min(420px, 90vw);
}

.newsletter input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #555;
  border-right: 0;
}

.newsletter button {
  min-width: 92px;
  color: white;
  background: var(--accent);
  border: 0;
  font-weight: 800;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  display: none;
  background: rgba(0, 0, 0, 0.36);
}

.drawer,
.mobile-panel {
  position: fixed;
  z-index: 20;
  top: 0;
  bottom: 0;
  right: 0;
  width: min(420px, 92vw);
  padding: 28px;
  background: white;
  box-shadow: var(--shadow);
  transform: translateX(110%);
  transition: transform 0.24s ease;
}

.mobile-panel {
  right: auto;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(-110%);
}

.mobile-panel a {
  font-size: 22px;
  font-weight: 800;
}

.drawer.open,
.mobile-panel.open {
  transform: translateX(0);
}

.overlay.open {
  display: block;
}

.close-panel,
.close-drawer {
  position: absolute;
  right: 18px;
  top: 16px;
  font-size: 24px;
}

.drawer h2 {
  margin-top: 36px;
  font-size: 32px;
}

.search-drawer input {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid var(--line);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
  }

  .brand {
    justify-self: center;
  }

  .split-banners,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .feature-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .banner-card,
  .banner-card.wide {
    min-height: 360px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .topbar {
    display: none;
  }

  .site-header {
    gap: 10px;
    padding: 14px 16px;
  }

  .search-trigger {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .slider-arrow {
    top: auto;
    bottom: 72px;
    width: 42px;
    height: 42px;
  }

  .slider-prev {
    left: 18px;
  }

  .slider-next {
    right: auto;
    left: 70px;
  }

  .slider-dots {
    left: 18px;
    right: 18px;
    bottom: 24px;
  }

  .slider-play {
    right: 18px;
    bottom: 18px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 34px;
  }

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

.category-filter {
  display: flex;
  gap: 10px;
  padding: 0 clamp(18px, 4vw, 56px) 10px;
  flex-wrap: wrap;
}

.attr-filter {
  display: flex;
  gap: 10px;
  padding: 0 clamp(18px, 4vw, 56px) 24px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid var(--line);
  background: white;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}

.filter-pill:hover {
  border-color: var(--accent);
}

.filter-pill.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.rarity-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
}

.empty-state {
  padding: 40px;
  text-align: center;
  color: var(--muted);
  grid-column: 1 / -1;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 90;
}

.modal.open {
  display: flex;
}

.modal-inner {
  position: relative;
  background: white;
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: var(--shadow);
}

.modal-inner h2 {
  margin: 0 0 20px;
}

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

.product-detail img {
  border-radius: 12px;
  height: 100%;
  max-height: 540px;
}

.product-detail .price {
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 12px;
}

.product-detail .price s {
  color: var(--muted);
  font-weight: 400;
  margin-left: 8px;
}

.card-detail-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: #f6f2fa;
  border-radius: 10px;
}

.card-detail-list div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-detail-list dt {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.card-detail-list dd {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

.product-detail .description {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.stock-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 18px;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.qty-row label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.qty-row input {
  width: 80px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 720px) {
  .product-detail {
    grid-template-columns: 1fr;
  }
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 50vh;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
}

.cart-line-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-line-info strong {
  font-size: 14px;
}

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

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.cart-qty button {
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  background: white;
  cursor: pointer;
  border-radius: 6px;
}

.cart-qty span {
  min-width: 24px;
  text-align: center;
}

.search-results {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.search-item img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
}

.search-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-item span {
  font-size: 13px;
  color: var(--muted);
}

[data-checkout-form] {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

[data-checkout-form] label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

[data-checkout-form] input,
[data-checkout-form] textarea {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.checkout-result {
  margin-top: 16px;
}

.checkout-result .ok {
  color: var(--green);
  font-weight: 600;
}

.checkout-result .err {
  color: var(--accent);
  font-weight: 600;
}

.admin-link {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.admin-link a {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 {
    font-size: 38px;
  }
  .product-card .card-add {
    padding: 9px 12px;
    font-size: 11px;
  }
  .product-card .card-info h3 {
    font-size: 13px;
  }
  .product-card .card-actions {
    opacity: 1;
    transform: none;
  }
  .card-detail-list {
    grid-template-columns: 1fr;
  }
}
