:root {
  --bg: #ffffff;
  --surface: #f7f6f2;
  --surface-strong: #eee9de;
  --text: #111111;
  --muted: #625f57;
  --line: #ded8cc;
  --primary: #151a23;
  --primary-dark: #0b0f16;
  --green: #12a66a;
  --gold: #c8a45d;
  --yellow: #f5b82e;
  --danger: #e5484d;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
  --shadow-soft: 0 12px 34px rgba(42, 34, 20, 0.09);
  --radius: 8px;
  --radius-lg: 18px;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 42%, #f7f6f2 100%);
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: calc(100% - 32px);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #ffffff, #fbfaf7);
  color: #313946;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__links {
  display: flex;
  gap: 28px;
  color: #4b5563;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.topbar svg {
  width: 15px;
  height: 15px;
  fill: #111827;
  stroke: #111827;
  stroke-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(22px) saturate(1.25);
}

.header-grid {
  min-height: 70px;
  display: grid;
  grid-template-columns: 225px 190px minmax(280px, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.header-main {
  max-height: 96px;
  overflow: hidden;
  transform-origin: top;
  transition:
    max-height 0.32s cubic-bezier(.2,.85,.2,1),
    min-height 0.32s cubic-bezier(.2,.85,.2,1),
    opacity 0.22s ease,
    transform 0.28s ease;
}

.header-main.is-hidden {
  min-height: 0;
  max-height: 0;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 23px;
  font-weight: 800;
  white-space: nowrap;
}

.brand__mark {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 10px 18px rgba(20, 22, 26, 0.18));
  transform-origin: center;
  animation: logoPop 0.75s cubic-bezier(.2,.85,.2,1) both;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 0;
  line-height: 1.02;
}

.brand__text strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand__text small {
  color: #8b95a3;
  font-size: 11px;
  font-weight: 500;
}

.catalog-btn,
.btn,
.product-card__buy,
.filters__head button,
.banner button {
  min-height: 38px;
  border: 0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
}

.catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(21, 26, 35, 0.22);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.catalog-btn::after,
.btn--primary::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  content: "";
}

.catalog-btn:hover,
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(21, 26, 35, 0.3);
}

.catalog-btn:hover::after,
.btn--primary:hover::after {
  transform: translateX(120%);
}

.catalog-btn span,
.catalog-btn span::before,
.catalog-btn span::after {
  width: 16px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  content: "";
}

.catalog-btn span {
  position: relative;
}

.catalog-btn span::before,
.catalog-btn span::after {
  position: absolute;
  left: 0;
}

.catalog-btn span::before {
  top: -6px;
}

.catalog-btn span::after {
  top: 6px;
}

.search {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 24px rgba(23, 42, 77, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.search:focus-within {
  border-color: rgba(200, 164, 93, 0.72);
  box-shadow: 0 0 0 4px rgba(200, 164, 93, 0.12), 0 16px 34px rgba(42, 34, 20, 0.08);
  transform: translateY(-1px);
}

.search svg,
.header-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.header-actions {
  display: flex;
  gap: 18px;
}

.header-actions button,
.header-actions a {
  position: relative;
  width: 70px;
  height: 48px;
  display: grid;
  grid-template-rows: 26px auto;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0b1220;
  font-size: 12px;
  line-height: 1;
  transition: color 0.2s ease, transform 0.2s ease;
}

.header-actions button:hover,
.header-actions a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.header-actions span {
  position: absolute;
  top: 0;
  right: 14px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
}

.header-actions .counter--hidden {
  display: none;
}

.header-actions small {
  font-size: 12px;
  font-weight: 500;
}

.catalog-menu {
  display: none;
}

.catalog-menu.is-open {
  display: none;
}

.catalog-menu a,
.category-scroll button,
.category-scroll a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #26364f;
  font-size: 14px;
  font-weight: 700;
}

.catalog-menu a {
  padding: 12px;
  text-align: center;
}

.category-nav {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  max-height: 72px;
  overflow: hidden;
  transform-origin: top;
  transition: border-color 0.24s ease;
  backdrop-filter: blur(16px);
}

.category-scroll {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  overflow-x: auto;
  padding: 0;
}

.category-scroll button,
.category-scroll a {
  min-width: 132px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-scroll svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-scroll button[data-category-filter="Pixel"] svg,
.category-scroll a[href*="Pixel"] svg {
  fill: currentColor;
  stroke: none;
}

.category-scroll button.is-active,
.category-scroll a.is-active,
.catalog-menu a:hover,
.category-scroll button:hover,
.category-scroll a:hover {
  border-bottom-color: var(--gold);
  color: var(--primary);
}

.category-nav.is-hidden {
  max-height: 72px;
  opacity: 1;
  border-top-color: var(--line);
  filter: none;
  pointer-events: auto;
}

.category-nav.is-hidden .category-scroll {
  opacity: 1;
  transform: none;
}

.hero {
  overflow: hidden;
  padding: 26px 0 0;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}

.hero-board {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-main {
  position: relative;
  aspect-ratio: 16 / 5.8;
  min-height: 420px;
  border-radius: 0;
  background: #f6f3ee;
  box-shadow: 0 18px 44px rgba(37, 31, 20, 0.08);
  overflow: hidden;
}

.hero-main::before,
.hero__copy,
.hero-stage,
.hero-dots {
  display: none;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

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

.hero-watch {
  position: absolute;
  left: clamp(70px, 9.4vw, 180px);
  bottom: clamp(88px, 9.7vw, 150px);
  z-index: 2;
  min-width: 168px;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 28px;
  border-radius: 999px;
  background: #25c7c8;
  color: #ffffff;
  font-size: 24px;
  font-weight: 500;
  box-shadow: 0 18px 36px rgba(37, 199, 200, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hero-slide:hover .hero-watch {
  background: #20b7b8;
  box-shadow: 0 22px 42px rgba(37, 199, 200, 0.34);
  transform: translateY(-2px);
}

.hero-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-promo {
  position: relative;
  min-height: 152px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid rgba(180, 169, 148, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f8f6f0);
  box-shadow: 0 14px 34px rgba(37, 31, 20, 0.07);
}

.hero-promo strong,
.hero-promo b,
.hero-promo span {
  display: block;
}

.hero-promo strong {
  max-width: 250px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 700;
}

.hero-promo b {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
}

.hero-promo span {
  max-width: 230px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
}

.hero-promo img {
  max-width: 48%;
  max-height: 136px;
  object-fit: contain;
}

.hero-promo--installment img {
  max-width: 38%;
  max-height: 140px;
}

.hero-promo--discount img {
  max-width: 42%;
  max-height: 128px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.12);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-arrow--left {
  left: 18px;
}

.hero-arrow--right {
  right: 18px;
}

.hero-tabs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(180, 169, 148, 0.35);
  scrollbar-width: none;
}

.hero-tabs::-webkit-scrollbar {
  display: none;
}

.hero-tabs button {
  min-width: max-content;
  height: 54px;
  padding: 0 24px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #7b7f87;
  font-size: 18px;
  font-weight: 600;
}

.hero-tabs button.is-active {
  color: #111827;
  border-bottom-color: var(--gold);
}

.hero-product-strip {
  padding: 16px 0 10px;
  background: #fbfaf7;
}

.hero-product-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-product-tile {
  min-height: 156px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 18px 18px 22px;
  background: linear-gradient(180deg, #f5f2eb 0%, #ebe6dc 100%);
  border: 1px solid rgba(147, 132, 106, 0.42);
  border-radius: 8px;
  color: var(--text);
  box-shadow: 0 12px 30px rgba(44, 39, 31, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-product-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(174, 130, 48, 0.58);
  background: linear-gradient(180deg, #f0eadf 0%, #e4dccf 100%);
  box-shadow: 0 22px 44px rgba(44, 39, 31, 0.16);
}

.hero-product-tile div {
  position: relative;
  z-index: 1;
  max-width: 58%;
}

.hero-product-tile h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
  color: #10141c;
}

.hero-product-tile p {
  margin: 0;
  color: #5f594f;
  font-size: 14px;
  line-height: 1.35;
}

.hero-product-tile img {
  width: 44%;
  max-height: 132px;
  object-fit: contain;
  align-self: center;
  filter: drop-shadow(0 18px 20px rgba(15, 23, 42, 0.18));
}

.promo-strip,
.catalog-section {
  padding: 16px 0;
}

.promo-grid,
.services__grid,
.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.promo-grid article,
.services__grid div,
.filters,
.product-card,
.banner {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.promo-grid article {
  min-height: 124px;
  padding: 18px 20px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #f8f3e8);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.promo-grid article:hover,
.services__grid div:hover,
.banner:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.promo-grid strong,
.promo-grid span,
.services strong,
.services p,
.footer span,
.footer a {
  display: block;
}

.promo-grid strong {
  font-size: 22px;
}

.promo-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.services {
  padding: 18px 0 42px;
}

.services__grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(180, 169, 148, 0.32);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 31, 20, 0.05);
}

.services__grid div {
  padding: 18px 28px;
  display: grid;
  grid-template-columns: 44px 1fr;
  column-gap: 14px;
  align-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.services__grid div + div {
  border-left: 1px solid rgba(180, 169, 148, 0.36);
}

.services span {
  font-size: 24px;
  grid-row: span 2;
}

.service-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--primary);
}

.service-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services strong {
  margin-top: 0;
  font-size: 15px;
}

.services p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-section {
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f7f6f2 100%);
  padding-top: 42px;
  padding-bottom: 46px;
}

.smartphones-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 38%, #f7f6f2 100%);
}

.smartphones-main {
  min-height: 58vh;
}

.smartphones-list-section {
  padding: 34px 0 54px;
}

.smartphones-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.smartphones-page-head h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.05;
  font-weight: 800;
}

.smartphones-page-head p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.smartphones-page-head__back {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 164, 93, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--primary);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.smartphones-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.smartphones-grid .product-card {
  min-height: 430px;
}

.smartphones-empty {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  transition: grid-template-columns 0.24s ease;
}

.catalog-layout.filters-collapsed {
  grid-template-columns: 1fr;
}

.catalog-layout.filters-collapsed .filters {
  display: none;
}

.filters {
  position: sticky;
  top: 146px;
  align-self: start;
  padding: 20px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.filters__head,
.section-head,
.product-card__meta,
.product-card__actions,
.side-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filters h2,
.section-head h2,
.banner h2,
.footer h2,
.side-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.filters__head div,
.catalog-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filters__head button,
.filters-open {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--primary);
  font-weight: 800;
}

.filters-open {
  display: none;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(200, 164, 93, 0.42);
  background: #ffffff;
}

.catalog-layout.filters-collapsed .filters-open {
  display: inline-flex;
  align-items: center;
}

.filter-group {
  margin-top: 22px;
}

.filter-group h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
}

.filter-option,
.stock-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: #24344d;
  font-size: 15px;
}

.filter-group input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.stock-filter {
  margin-top: 20px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-head select {
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 42, 77, 0.05);
}

.product-showcases {
  display: grid;
  gap: 34px;
}

.product-showcase {
  min-width: 0;
}

.product-showcase__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 86px;
  gap: 18px;
  align-items: center;
}

.showcase-more {
  width: 62px;
  height: 62px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: linear-gradient(135deg, #12151b 0%, #17191f 58%, #75131b 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  align-self: center;
  box-shadow: 0 16px 30px rgba(18, 21, 27, 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.showcase-more:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0d1015 0%, #17191f 48%, #961b24 100%);
  box-shadow: 0 20px 36px rgba(18, 21, 27, 0.3);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.product-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 426px;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(23, 42, 77, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card[data-detail] {
  cursor: pointer;
}

.product-card:hover {
  border-color: rgba(200, 164, 93, 0.48);
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.product-card__badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe084, var(--gold));
  color: #3b2b00;
  font-size: 11px;
  font-weight: 900;
}

.badge--top {
  background: linear-gradient(135deg, #dbeafe, #b9d7ff);
  color: #0d50c6;
}

.badge--hit {
  background: linear-gradient(135deg, #dcfce7, #b7f2cb);
  color: #087d4d;
}

.badge--sale {
  background: linear-gradient(135deg, #ffe0e0, #ffb6b6);
  color: #a4121d;
}

.product-art {
  height: 198px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 164, 93, 0.12), transparent 48%),
    linear-gradient(180deg, #ffffff, #fbfaf7);
}

.product-art img {
  max-width: 92%;
  max-height: 184px;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.product-card:hover .product-art img {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 18px 20px rgba(15, 23, 42, 0.16));
}

.product-link {
  color: inherit;
}

.product-card h3 {
  min-height: 50px;
  margin: 16px 0 8px;
  font-size: 14px;
  line-height: 1.32;
  font-weight: 600;
}

.product-card h3 a:hover {
  color: var(--gold);
}

.product-card__desc {
  min-height: 54px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.stock {
  color: var(--green);
  font-weight: 800;
}

.stock.is-out {
  color: var(--danger);
}

.price {
  margin: 14px 0;
  font-size: 16px;
  font-weight: 800;
}

.price--discount {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price--discount span {
  color: var(--text);
}

.price--discount del {
  color: #a9a29a;
  font-size: 13px;
  font-weight: 700;
  text-decoration-thickness: 1.5px;
}

.product-card__actions {
  margin-top: auto;
}

.product-card__buy {
  flex: 1;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(21, 26, 35, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.product-card__buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(21, 26, 35, 0.28);
  background: var(--primary-dark);
}

.product-card__buy:disabled {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #31415c;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
  border-color: rgba(200, 164, 93, 0.58);
  color: var(--gold);
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn.is-active {
  border-color: var(--primary);
  background: #fbf4e5;
  color: var(--primary);
}

.brand-banners {
  padding: 42px 0 56px;
}

.banner-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.banner {
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.banner--apple {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #0d1424, #2f3b52);
  color: #ffffff;
}

.banner--used {
  background: linear-gradient(135deg, #f2fbf6, #fbf4e5);
}

.banner p {
  max-width: 460px;
  margin: 12px 0 22px;
  color: inherit;
  opacity: 0.78;
}

.banner button {
  padding: 0 16px;
  background: var(--primary);
  color: #ffffff;
}

.find-us {
  padding: 0 0 56px;
}

.find-us__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: stretch;
}

.find-us__content,
.find-us__map {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.find-us__content {
  padding: 30px;
}

.find-us__content span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.16);
  color: #8b6a16;
  font-weight: 800;
}

.find-us__content h2 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.05;
}

.find-us__content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.find-us__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.find-us__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--primary);
  font-weight: 800;
}

.find-us__actions a:first-child {
  background: var(--primary);
  color: #ffffff;
}

.find-us__map {
  width: 100%;
  min-height: 320px;
  display: block;
  object-fit: cover;
}

.benefit-band {
  padding: 0 0 48px;
  background: #f7f3eb;
}

.benefit-band__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
  padding: 48px 50px 52px;
  background: linear-gradient(135deg, #15171d 0%, #531219 48%, #9e1c24 100%);
  color: #eee3dd;
}

.benefit-band__item {
  min-width: 0;
}

.benefit-band__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 2px solid #31c8d7;
  border-radius: 50%;
  color: #ffffff;
}

.benefit-band__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-band__item h3 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.08;
  font-weight: 600;
}

.benefit-band__item p {
  margin: 0;
  max-width: 230px;
  color: rgba(238, 227, 221, 0.78);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.social-follow {
  padding: 18px 0 48px;
  background: #f7f3eb;
}

.social-follow h2 {
  margin: 0 0 34px;
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #3f342f;
}

.social-follow__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.social-follow__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 96px;
  color: #3f342f;
}

.social-follow__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #efe7dc;
  color: #151922;
}

.social-follow__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-follow__item:first-child svg,
.social-follow__item:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.social-follow__item small,
.social-follow__item strong {
  display: block;
}

.social-follow__item small {
  color: #756c65;
  font-size: 15px;
  margin-bottom: 4px;
}

.social-follow__item strong {
  font-size: 20px;
  color: #2f2723;
}

.footer {
  padding: 42px 0 56px;
  background: linear-gradient(180deg, #151922 0%, #0d1118 100%);
  color: #f8fafc;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer p {
  max-width: 420px;
  color: #cbd5e1;
  line-height: 1.6;
}

.footer h2 {
  margin-bottom: 14px;
  font-size: 18px;
  color: #ffffff;
}

.footer a,
.footer span {
  margin: 8px 0;
  color: #d7dee9;
}

.footer a:hover {
  color: #ffffff;
}

.messengers {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.messengers a {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.messengers a:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
}

.side-panel {
  width: min(430px, calc(100% - 28px));
  max-height: calc(100vh - 40px);
  margin: auto 16px auto auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.22);
  animation: panelIn 0.22s ease both;
}

.side-panel--info {
  width: min(680px, calc(100% - 32px));
  max-height: min(760px, calc(100vh - 48px));
  margin: auto;
  animation: infoPanelIn 0.2s ease both;
}

.side-panel::backdrop {
  background: rgba(15, 23, 42, 0.34);
}

.side-panel__head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.side-panel__head button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 22px;
}

#panelContent {
  padding: 14px 18px;
}

.panel-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.panel-item__thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #ffffff;
}

.panel-item strong {
  display: block;
  font-size: 14px;
}

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

.side-panel__total {
  padding: 16px 18px 20px;
  font-size: 18px;
  font-weight: 900;
}

.info-content {
  padding: 24px 28px 30px;
  color: #3f342f;
  font-size: 16px;
  line-height: 1.65;
}

.info-content p {
  margin: 0 0 14px;
}

.info-content ul,
.info-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.info-content li {
  margin: 6px 0;
}

.info-content strong {
  color: var(--text);
  font-weight: 800;
}

.catalog-window {
  position: fixed;
  inset: 0;
  width: min(1188px, calc(100% - 48px));
  max-height: min(86vh, 860px);
  margin: auto;
  padding: 26px;
  border: 0;
  border-radius: 26px;
  background: rgba(244, 242, 236, 0.94);
  box-shadow: 0 34px 100px rgba(17, 17, 17, 0.28);
  overflow: auto;
  animation: catalogWindowIn 0.26s cubic-bezier(.2,.85,.2,1) both;
}

.catalog-window::backdrop {
  background: rgba(17, 17, 17, 0.2);
  backdrop-filter: blur(10px);
}

.catalog-window__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.catalog-window__head h2 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
  line-height: 1;
}

.catalog-window__head button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 27px;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

.catalog-window__head button:hover {
  transform: rotate(90deg);
  background: var(--primary-dark);
}

.catalog-window__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-tile {
  position: relative;
  min-height: 264px;
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border: 1px solid rgba(222, 216, 204, 0.82);
  border-radius: 26px;
  background:
    radial-gradient(circle at 54% 28%, rgba(200, 164, 93, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.88);
  color: var(--text);
  text-align: left;
  box-shadow: 0 22px 42px rgba(42, 34, 20, 0.1);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.catalog-tile:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 164, 93, 0.65);
  box-shadow: 0 30px 62px rgba(42, 34, 20, 0.16);
}

.catalog-tile__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  transition: transform 0.24s ease, background 0.24s ease;
}

.catalog-tile__arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-tile:hover .catalog-tile__arrow {
  transform: translate(2px, -2px);
  background: var(--gold);
}

.catalog-tile img {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 72%;
  height: 142px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 18px rgba(17, 17, 17, 0.11));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.catalog-tile:hover img {
  transform: translateX(-50%) translateY(-5px) scale(1.04);
  filter: drop-shadow(0 24px 24px rgba(17, 17, 17, 0.15));
}

.catalog-tile strong {
  display: block;
  font-size: 20px;
  line-height: 1.12;
  font-weight: 700;
}

.catalog-tile small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.catalog-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(200, 164, 93, 0.14), transparent 28%),
    linear-gradient(135deg, #f3f2ed 0%, #fbfaf7 48%, #efe9df 100%);
}

.service-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 4%, rgba(200, 164, 93, 0.13), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #fbfaf7 48%, #efe9df 100%);
}

.service-page-main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 64px;
}

.service-article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.service-article__content {
  max-width: 820px;
  padding: clamp(26px, 5vw, 56px);
}

.service-article h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.04;
  font-weight: 800;
}

.service-article h2 {
  margin: 28px 0 14px;
  font-size: 24px;
  line-height: 1.15;
}

.service-article p,
.service-article li {
  color: #4f4a43;
  font-size: 18px;
  line-height: 1.72;
}

.service-article p {
  margin: 0 0 16px;
}

.service-article ul {
  margin: 0 0 22px;
  padding-left: 22px;
}

.service-article strong {
  color: var(--text);
}

.service-article__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 240px));
  gap: 12px;
  margin-top: 28px;
}

.catalog-page-header {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.catalog-back {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200, 164, 93, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.catalog-page-main {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 42px;
}

.catalog-page-title {
  margin-bottom: 22px;
}

.catalog-page-title h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.1;
  font-weight: 700;
}

.catalog-page-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.catalog-page-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-detail-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 4%, rgba(200, 164, 93, 0.14), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f7f6f2 100%);
}

.detail-header,
.detail-main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.detail-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.detail-back {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(200, 164, 93, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.breadcrumbs {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.product-hero-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 24px;
  align-items: start;
}

.product-gallery,
.detail-summary,
.detail-section {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.product-gallery {
  padding: 22px;
}

.gallery-stage {
  min-height: 540px;
  height: clamp(540px, 62vw, 680px);
  display: grid;
  place-items: center;
  overflow: visible;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 45%, rgba(200, 164, 93, 0.14), transparent 46%),
    linear-gradient(180deg, #ffffff, #fbfaf7);
}

.gallery-stage img {
  max-width: 88%;
  max-height: calc(100% - 44px);
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(17, 17, 17, 0.16));
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.gallery-thumbs button {
  height: 98px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumbs button.is-active,
.gallery-thumbs button:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.gallery-thumbs img {
  max-width: 86%;
  max-height: 82px;
  object-fit: contain;
}

.detail-summary {
  position: sticky;
  top: 22px;
  padding: 28px;
}

.detail-label {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(200, 164, 93, 0.18);
  color: #8a6420;
  font-size: 12px;
  font-weight: 800;
}

.detail-summary h1 {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
  font-weight: 800;
}

.detail-subtitle {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.detail-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px;
  color: var(--muted);
}

.detail-code strong {
  color: var(--green);
}

.detail-price {
  margin-top: 18px;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
}

.detail-price--discount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.detail-price--discount del {
  color: #a9a29a;
  font-size: 18px;
  font-weight: 700;
  text-decoration-thickness: 1.7px;
}

.detail-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.detail-buy,
.detail-whatsapp {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 800;
}

.detail-buy {
  border: 0;
  background: var(--primary);
  color: #ffffff;
}

.detail-whatsapp {
  border: 1px solid rgba(18, 166, 106, 0.36);
  background: rgba(18, 166, 106, 0.1);
  color: var(--green);
}

.detail-mini-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.detail-mini-specs article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
}

.detail-mini-specs span,
.spec-list span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.detail-mini-specs strong {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}

.detail-section {
  margin-top: 24px;
  padding: 28px;
}

.detail-section__head {
  margin-bottom: 18px;
}

.detail-section h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.detail-section p {
  margin: 7px 0 0;
  color: var(--muted);
}

.spec-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.spec-toggle {
  min-height: 50px;
  width: 100%;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary);
  font-weight: 800;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.spec-toggle:hover,
.spec-toggle.is-open {
  border-color: rgba(200, 164, 93, 0.62);
  box-shadow: 0 10px 24px rgba(42, 34, 20, 0.08);
}

.spec-toggle span {
  font-size: 18px;
  line-height: 1;
}

.spec-collapse {
  margin-top: 16px;
  animation: fadeUp 0.24s ease both;
}

.spec-list li {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list strong {
  display: block;
  line-height: 1.45;
  font-weight: 700;
}

.detail-two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}

.detail-two-col article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.detail-two-col ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.related-section {
  margin: 24px 0 54px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.related-grid .product-card {
  min-height: 428px;
}

.related-grid .product-art {
  height: 210px;
}

.related-grid .product-card h3 {
  font-size: 14px;
}

.empty-state {
  padding: 38px 0;
  color: var(--muted);
  text-align: center;
}

.cart-page-main {
  max-width: 1040px;
  padding-top: 28px;
}

.cart-page {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.cart-page.service-article {
  border-radius: 18px;
}

.cart-page .cart-page__head h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

.cart-page__head,
.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cart-page__head {
  padding-bottom: 14px;
}

.cart-page__head p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.cart-clear,
.cart-item__remove {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: #ef4444;
  font-weight: 800;
}

.cart-list {
  display: grid;
  gap: 12px;
}

.cart-item {
  min-height: 148px;
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
}

.cart-item__image {
  width: 172px;
  height: 124px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 10px;
  background: #fbfaf7;
  overflow: hidden;
}

.cart-list .cart-item .cart-item__image img {
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 82%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.cart-item__body {
  flex: 1;
  display: grid;
  gap: 8px;
}

.cart-item__title {
  color: var(--primary);
  font-size: 17px;
  font-weight: 900;
}

.cart-item__body span {
  color: var(--muted);
}

.cart-item__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cart-item__actions .product-card__buy {
  flex: 0 0 auto;
  min-width: 112px;
  min-height: 42px;
  padding: 0 14px;
  box-shadow: none;
}

.cart-summary {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfaf7;
}

.cart-summary span {
  color: var(--muted);
  font-weight: 800;
}

.cart-summary strong {
  margin-right: auto;
  color: var(--primary);
  font-size: 22px;
}

.cart-summary .detail-whatsapp {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.cart-summary .detail-whatsapp.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.cart-summary .detail-buy {
  min-height: 44px;
  padding: 0 28px;
  white-space: nowrap;
}

.cart-summary .detail-buy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.order-dialog {
  width: min(460px, calc(100% - 28px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
}

.order-dialog::backdrop {
  background: rgba(15, 23, 42, 0.36);
}

.order-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: #ffffff;
}

.order-form__head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.order-form__head h2 {
  margin: 0 0 6px;
  font-size: 26px;
}

.order-form__head p,
.order-form__status {
  margin: 0;
  color: var(--muted);
}

.order-form__head button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f3f0ea;
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.order-form input {
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 14px;
  color: var(--primary);
  font: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

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

@keyframes logoPop {
  from {
    opacity: 0;
    transform: scale(0.88) rotate(-4deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes floatProduct {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes infoPanelIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes catalogWindowIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .topbar__inner {
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 8px 0;
  }

  .find-us__grid {
    grid-template-columns: 1fr;
  }

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

  .benefit-band__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 34px;
  }

  .header-grid {
    grid-template-columns: 1fr auto auto;
  }

  .catalog-btn {
    grid-row: 2;
    grid-column: 1 / 2;
  }

  .search {
    grid-row: 2;
    grid-column: 2 / 4;
  }

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

  .hero {
    background: #ffffff;
  }

  .hero-board,
  .hero-main,
  .catalog-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .social-follow__grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .social-follow__item {
    justify-content: flex-start;
    min-height: 78px;
  }

  .hero-main {
    min-height: 360px;
  }

  .hero-promos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters {
    position: static;
  }

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

  .product-grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-showcase__body {
    grid-template-columns: 1fr;
  }

  .showcase-more {
    justify-self: end;
  }

  .catalog-window__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-hero-detail,
  .detail-two-col {
    grid-template-columns: 1fr;
  }

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

  .detail-summary {
    position: static;
  }

  .gallery-stage {
    min-height: 430px;
    height: 430px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 22px);
  }

  .find-us__content {
    padding: 22px;
  }

  .find-us__content h2 {
    font-size: 26px;
  }

  .find-us__map {
    min-height: 260px;
  }

  .topbar {
    display: none;
  }

  .header-grid {
    grid-template-columns: 1fr auto;
    gap: 8px;
    padding: 8px 0;
  }

  .brand {
    font-size: 18px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .header-actions button {
    flex: 1;
  }

  .header-actions a {
    flex: 1;
  }

  .hero {
    padding-top: 14px;
  }

  .hero-main {
    aspect-ratio: 16 / 8.5;
    min-height: 260px;
  }

  .hero-watch {
    left: 24px;
    bottom: 56px;
    min-width: 126px;
    min-height: 44px;
    gap: 12px;
    padding: 0 18px;
    font-size: 17px;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
    font-size: 28px;
  }

  .hero-arrow--left {
    left: 10px;
  }

  .hero-arrow--right {
    right: 10px;
  }

  .hero-tabs button {
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .hero-product-strip__grid {
    grid-template-columns: 1fr;
  }

  .hero-product-tile {
    min-height: 130px;
  }

  .benefit-band {
    padding-bottom: 34px;
  }

  .benefit-band__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 24px;
  }

  .benefit-band__item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 0 18px;
    align-items: center;
  }

  .benefit-band__icon {
    width: 54px;
    height: 54px;
    grid-row: span 2;
    margin: 0;
  }

  .benefit-band__icon svg {
    width: 26px;
    height: 26px;
  }

  .benefit-band__item h3 {
    font-size: 22px;
  }

  .benefit-band__item p {
    max-width: none;
    font-size: 14px;
  }

  .catalog-btn,
  .search {
    grid-column: 1 / -1;
  }

  .catalog-btn {
    grid-row: 2;
  }

  .search {
    grid-row: 3;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-stage {
    min-height: 230px;
    transform: none;
    margin-bottom: 0;
  }

  .hero-stage img {
    max-height: 230px;
  }

  .hero-promos {
    grid-template-columns: 1fr;
  }

  .hero-promo {
    min-height: 128px;
  }

  .promo-grid,
  .services__grid,
  .product-grid,
  .product-grid--four,
  .banner-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-window {
    width: calc(100% - 18px);
    max-height: 88vh;
    padding: 14px;
    border-radius: 22px;
  }

  .catalog-window__head h2 {
    font-size: 24px;
  }

  .catalog-window__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-page-header,
  .catalog-page-main {
    width: calc(100% - 24px);
  }

  .catalog-page-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-page-main {
    width: calc(100% - 24px);
    padding-top: 16px;
  }

  .service-article {
    border-radius: 14px;
  }

  .service-article__actions {
    grid-template-columns: 1fr;
  }

  .smartphones-page-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .smartphones-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-page-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .catalog-tile {
    min-height: 218px;
    border-radius: 22px;
  }

  .catalog-tile img {
    height: 118px;
  }

  .detail-header,
  .detail-main {
    width: calc(100% - 24px);
  }

  .detail-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .product-gallery,
  .detail-summary,
  .detail-section {
    padding: 16px;
    border-radius: 14px;
  }

  .gallery-stage {
    min-height: 320px;
    height: 320px;
  }

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

  .detail-actions,
  .detail-mini-specs {
    grid-template-columns: 1fr;
  }

  .cart-page__head,
  .cart-summary,
  .cart-item__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-page {
    padding: 20px;
  }

  .cart-item {
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
  }

  .cart-item__actions,
  .cart-item__remove {
    grid-column: 1 / -1;
  }

  .cart-item__image {
    width: 132px;
    height: 112px;
  }

  .cart-summary strong {
    margin-right: 0;
  }

  .detail-summary h1 {
    font-size: 28px;
  }

  .detail-price {
    font-size: 28px;
  }

  .spec-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 15px 0;
  }

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