:root {
  --bg: #0b0b0e;
  --bg-soft: #121218;
  --bg-card: #16161d;
  --border: #26262f;
  --gold: #c9a227;
  --gold-light: #f5d67b;
  --gold-dark: #8f6f14;
  --text: #f2ede1;
  --text-dim: #a8a29a;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  --glow: 0 0 24px rgba(201, 162, 39, 0.18);
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--gold);
  color: #111;
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.text-gold {
  background: linear-gradient(100deg, var(--gold) 10%, var(--gold-light) 45%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold) 45%, var(--gold-light));
  color: #14140c;
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.35);
}

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

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

.btn--shine {
  position: relative;
  overflow: hidden;
}

.btn--shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.45) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn--shine:hover::after {
  transform: translateX(120%);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header.is-scrolled {
  background: rgba(11, 11, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand__logo {
  width: 40px;
  height: 40px;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.brand__accent {
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  transition: color 0.2s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  padding: 0.6rem 1.3rem;
  font-size: 0.88rem;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gold);
  color: #14140c;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  border: 2px solid var(--bg);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.cart-badge.is-visible {
  transform: scale(1);
}

.cart-badge.bump {
  animation: bump 0.4s var(--ease);
}

@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 7rem 0 4rem;
  background:
    radial-gradient(ellipse 60% 45% at 72% 20%, rgba(201, 162, 39, 0.1), transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201, 162, 39, 0.06), transparent 60%),
    linear-gradient(180deg, #0d0d11, var(--bg) 55%, #0a0a0d);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.hero__orb--one {
  width: 420px;
  height: 420px;
  top: 12%;
  right: -120px;
  background: rgba(201, 162, 39, 0.16);
}

.hero__orb--two {
  width: 340px;
  height: 340px;
  bottom: -80px;
  left: -120px;
  background: rgba(255, 255, 255, 0.05);
  animation-delay: -4.5s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-26px) scale(1.06);
  }
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(201, 162, 39, 0.08);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  margin-bottom: 1.6rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  margin: 1.4rem auto 0;
  max-width: 560px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-dim);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__stagger > * {
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
}

.hero__stagger > *:nth-child(1) { animation-delay: 0.05s; }
.hero__stagger > *:nth-child(2) { animation-delay: 0.18s; }
.hero__stagger > *:nth-child(3) { animation-delay: 0.32s; }
.hero__stagger > *:nth-child(4) { animation-delay: 0.46s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Benefits ---------- */

.benefits {
  padding: 3.2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit {
  text-align: center;
}

.benefit__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.benefit:hover .benefit__icon {
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.benefit__icon svg {
  width: 26px;
  height: 26px;
}

.benefit__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.benefit__text {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ---------- Brands marquee ---------- */

.brands {
  padding: 3.5rem 0 4.5rem;
}

.brands__head {
  text-align: center;
  margin-bottom: 2.2rem;
}

.brands__title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--text-dim);
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.4rem 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
  flex-shrink: 0;
}

.marquee__group span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(242, 237, 225, 0.45);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.marquee__group span:hover {
  color: var(--gold-light);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Section heads ---------- */

.section__head {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
}

.section__subtitle {
  max-width: 560px;
  margin: 0.7rem auto 0;
  color: var(--text-dim);
  font-size: 1rem;
}

/* ---------- Categories ---------- */

.categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.cat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), var(--glow);
}

.cat-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: radial-gradient(circle at 50% 40%, rgba(201, 162, 39, 0.16), transparent 70%), var(--bg-soft);
}

.cat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cat-card:hover .cat-card__media img {
  transform: scale(1.1);
}

.cat-card__body {
  padding: 1.3rem 1.3rem 1.4rem;
}

.cat-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.cat-card__text {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.8rem;
}

.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.cat-card__link span {
  transition: transform 0.3s var(--ease);
}

.cat-card:hover .cat-card__link span {
  transform: translateX(5px);
}

/* ---------- Catalog ---------- */

.catalog {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.catalog__search {
  position: relative;
  flex: 1 1 320px;
}

.catalog__search svg {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

.catalog__search input,
.catalog__sort {
  width: 100%;
  padding: 0.85rem 1.1rem 0.85rem 2.9rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.catalog__search input:focus,
.catalog__sort:focus {
  border-color: var(--gold);
  box-shadow: var(--glow);
}

.catalog__sort {
  width: auto;
  min-width: 210px;
  padding-left: 1.1rem;
  cursor: pointer;
}

.catalog__sort option {
  background: var(--bg-card);
}

.catalog__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.filter-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  color: var(--text);
  border-color: rgba(201, 162, 39, 0.5);
}

.filter-btn.is-active {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold));
  color: #14140c;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(201, 162, 39, 0.28);
}

.catalog__count {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1.1rem;
}

.catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1rem;
  padding: 3rem 0;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}

/* ---------- Product card ---------- */

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s ease;
}

.product:hover {
  transform: translateY(-8px);
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.55), var(--glow);
}

.product.is-hidden {
  display: none;
}

.product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(201, 162, 39, 0.1), transparent 70%), var(--bg-soft);
  overflow: hidden;
}

.product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product:hover .product__media img {
  transform: scale(1.09);
}

.product__emoji {
  font-size: 3.4rem;
}

.product__stock {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.product__stock--ok {
  background: rgba(22, 163, 74, 0.9);
  color: #fff;
}

.product__stock--sold {
  background: rgba(190, 30, 30, 0.92);
  color: #fff;
}

.product__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.25rem 1.4rem;
  flex: 1;
}

.product__cat {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
}

.product__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}

.product__brand {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

.product__price {
  margin-top: 0.9rem;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: -0.01em;
}

.product__note {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.product__btn {
  margin-top: auto;
  padding: 0.75rem 1.3rem;
  font-size: 0.9rem;
  width: 100%;
}

/* ---------- Skeleton ---------- */

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

.skeleton {
  position: relative;
  overflow: hidden;
  background: #1c1c24;
  border-radius: 8px;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.skeleton-card__media {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}

.skeleton-card__line {
  height: 14px;
  margin: 14px 16px 0;
}

.skeleton-card__line--short {
  width: 55%;
  height: 22px;
}

.skeleton-card__line--btn {
  height: 42px;
  margin-bottom: 16px;
  border-radius: 999px;
}

/* ---------- About ---------- */

.about {
  background:
    radial-gradient(ellipse 45% 60% at 85% 20%, rgba(201, 162, 39, 0.08), transparent 65%),
    var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.about__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.about__text {
  margin-top: 1.2rem;
  color: var(--text-dim);
  max-width: 540px;
}

.about__list {
  list-style: none;
  margin: 1.6rem 0 2rem;
  display: grid;
  gap: 0.7rem;
}

.about__list li {
  position: relative;
  padding-left: 1.8rem;
  font-size: 0.95rem;
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.7);
}

.about__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.stat {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  padding: 2rem 1.4rem;
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}

.stat:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-4px);
}

.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Offers ---------- */

.offers__box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  background:
    radial-gradient(ellipse 50% 100% at 0% 50%, rgba(201, 162, 39, 0.12), transparent 60%),
    var(--bg-soft);
}

.offers__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.offers__text {
  color: var(--text-dim);
}

.offers__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  min-width: min(100%, 420px);
}

.offers__form input {
  flex: 1 1 200px;
  padding: 0.85rem 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.offers__form input:focus {
  border-color: var(--gold);
  box-shadow: var(--glow);
}

/* ---------- Contact ---------- */

.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 1rem;
}

.contact__row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

a.contact__row:hover {
  border-color: rgba(201, 162, 39, 0.5);
  transform: translateY(-3px);
}

.contact__icon {
  font-size: 1.5rem;
}

.contact__row strong,
.contact__row small {
  display: block;
}

.contact__row small {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.field {
  display: block;
  margin-bottom: 1.1rem;
}

.field span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  outline: none;
  resize: vertical;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(168, 162, 154, 0.6);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: var(--glow);
}

/* ---------- Footer ---------- */

.footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer__brand p {
  margin-top: 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer__links,
.footer__social {
  display: grid;
  gap: 0.6rem;
}

.footer__links a,
.footer__social a {
  color: var(--text-dim);
  font-size: 0.92rem;
  width: fit-content;
  transition: color 0.2s ease;
}

.footer__links a:hover,
.footer__social a:hover {
  color: var(--gold-light);
}

.footer__copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  border-top: 1px solid var(--border);
  padding-top: 1.6rem;
}

/* ---------- WhatsApp float ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
}

.wa-float:hover {
  transform: scale(1.1) rotate(6deg);
}

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: 26px;
  bottom: 88px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s var(--ease);
  background: conic-gradient(var(--gold) calc(var(--p, 0) * 1%), rgba(255, 255, 255, 0.08) 0);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  z-index: -1;
}

.to-top:hover {
  color: var(--gold-light);
}

/* ---------- Cart ---------- */

body.no-scroll {
  overflow: hidden;
}

.cart__overlay {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
}

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

.cart.is-open .cart__panel {
  transform: translateX(0);
}

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.cart__close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 1rem;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cart__close:hover {
  color: var(--gold-light);
  border-color: var(--gold);
  transform: rotate(90deg);
}

.cart__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.cart__empty {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 0;
}

.cart__empty .cart__empty-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 0.8rem;
}

.cart__item {
  display: flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: border-color 0.25s ease;
}

.cart__item:hover {
  border-color: rgba(201, 162, 39, 0.4);
}

.cart__item-media {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
  font-size: 1.6rem;
}

.cart__item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart__item-info {
  flex: 1;
  min-width: 0;
}

.cart__item-name {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart__item-price {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.cart__item-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.qty-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.qty-btn--del {
  color: var(--text-dim);
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
}

.qty-btn--del:hover {
  border-color: #c0392b;
  color: #e74c3c;
}

.cart__item-qty {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.cart__item-subtotal {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.9rem;
  white-space: nowrap;
  text-align: right;
  min-width: 72px;
}

.cart__foot {
  border-top: 1px solid var(--border);
  padding: 1.2rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.8rem;
}

.cart__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-dim);
}

.cart__total strong {
  font-size: 1.5rem;
  color: var(--gold-light);
  font-family: var(--font-display);
}

.cart__clear {
  color: var(--text-dim);
  font-size: 0.85rem;
  width: fit-content;
  justify-self: center;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cart__clear:hover {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.4);
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  z-index: 300;
  transform: translate(-50%, 20px);
  background: var(--bg-card);
  border: 1px solid rgba(201, 162, 39, 0.5);
  color: var(--text);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s ease;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

/* ---------- Product actions ---------- */

.product__actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
  width: 100%;
}

.product__btn {
  margin-top: 0;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  flex: 1;
}

.product__wa {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.product__wa:hover {
  border-color: #25d366;
  color: #25d366;
  transform: translateY(-2px);
}

.product__wa svg {
  width: 20px;
  height: 20px;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .categories__grid,
  .catalog__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.4rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 1.6rem 1.2rem 2rem;
    background: rgba(11, 11, 14, 0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
  }

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

  .nav__link {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }

  .nav__cta {
    margin-top: 0.8rem;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 92svh;
  }

  .benefits__grid,
  .categories__grid,
  .catalog__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .catalog__sort {
    width: 100%;
  }

  .wa-float {
    right: 14px;
    bottom: 14px;
  }

  .to-top {
    right: 20px;
    bottom: 80px;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
