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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(100% - 2rem, var(--container-wide));
}

.section {
  padding-block: var(--space-3xl);
}

.section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.section__eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.section__lead {
  color: var(--color-text-muted);
  max-width: 36rem;
  margin-top: var(--space-md);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  transition: background var(--transition), color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.35);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
}

.btn--secondary {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn--secondary:hover {
  border-color: var(--color-graphite);
}

.btn--ghost {
  color: var(--color-text-muted);
}

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

.btn--sm {
  padding: 0.625rem 1.125rem;
  font-size: 0.875rem;
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Cards */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge--in {
  background: rgba(21, 128, 61, 0.1);
  color: var(--color-success);
}

.badge--out {
  background: rgba(185, 28, 28, 0.08);
  color: var(--color-error);
}

.badge--new {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(248, 247, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-lg);
}

.logo {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-graphite);
}

.logo span {
  color: var(--color-accent);
}

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

.nav-desktop a {
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switcher {
  display: flex;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-switcher button {
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-text-subtle);
  min-width: 2rem;
}

.lang-switcher button.is-active {
  background: var(--color-graphite);
  color: #fff;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-graphite);
  transition: background var(--transition);
}

.icon-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.icon-btn svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.burger {
  display: none;
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-bg);
  padding: var(--space-xl);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

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

.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-2xl);
}

.mobile-nav a {
  display: block;
  padding: var(--space-md) 0;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav .lang-switcher {
  margin-top: var(--space-xl);
  width: fit-content;
}

/* Hero */
.hero {
  padding-block: var(--space-3xl) var(--space-4xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__content p {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: var(--space-lg);
  max-width: 28rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.hero__visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

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

/* Benefits */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.benefit-card {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
}

.benefit-card h3 {
  margin-bottom: var(--space-xs);
}

.benefit-card p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.product-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  aspect-ratio: 1;
  background: #f0eeeb;
  overflow: hidden;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.product-card__body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-card__title {
  font-weight: 600;
  font-size: 1.0625rem;
}

.product-card__price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-graphite);
}

.product-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

/* Shop layout */
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.shop-sidebar h3 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-subtle);
  margin-bottom: var(--space-md);
}

.filter-list button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.filter-list button:hover,
.filter-list button.is-active {
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  align-items: center;
}

.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%238a8a8a' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zm-5.242 1.156a5 5 0 1 1 0-10 5 5 0 0 1 0 10z'/%3E%3C/svg%3E")
    no-repeat 1rem center;
}

.select-input {
  padding: 0.75rem 2rem 0.75rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235c5c5c'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.filter-mobile-btn {
  display: none;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  padding-block: var(--space-2xl);
}

.product-gallery__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  background: #f0eeeb;
  margin-bottom: var(--space-md);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.product-gallery__thumbs button {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.7;
}

.product-gallery__thumbs button.is-active,
.product-gallery__thumbs button:hover {
  border-color: var(--color-accent);
  opacity: 1;
}

.product-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info__price {
  font-size: 1.75rem;
  font-weight: 700;
  margin: var(--space-md) 0;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.qty-control button {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
  color: var(--color-text-muted);
}

.qty-control input {
  width: 48px;
  text-align: center;
  border: none;
  background: transparent;
}

.product-tabs {
  margin-top: var(--space-3xl);
}

.tabs-nav {
  display: flex;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-xl);
  overflow-x: auto;
}

.tabs-nav button {
  padding: var(--space-md) var(--space-lg);
  font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.tabs-nav button.is-active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.features-list li {
  padding: var(--space-sm) 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-text-muted);
}

.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Brand block */
.brand-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  background: var(--color-graphite);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  overflow: hidden;
}

.brand-block p {
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-md);
}

.brand-block__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.brand-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gallery */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.chip {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border-strong);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  background: var(--color-surface);
}

.chip.is-active,
.chip:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent);
}

.gallery-grid {
  columns: 3;
  column-gap: var(--space-md);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-item figcaption {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.68) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
}

.gallery-item:hover::after,
.gallery-item:hover figcaption {
  opacity: 1;
}

/* Bike prep */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.project-card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__body {
  padding: var(--space-lg);
}

.project-card__brand {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  text-align: left;
  font-weight: 600;
  font-size: 1.0625rem;
}

.faq-item__question svg {
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.is-open .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
}

.faq-item__answer p {
  padding-bottom: var(--space-lg);
  color: var(--color-text-muted);
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.contact-card h3 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.contact-card__row {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.contact-card__row a:hover {
  color: var(--color-accent);
}

/* Forms */
.form-card {
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-graphite-soft);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-status {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-top: var(--space-md);
}

.form-status--sending {
  background: rgba(202, 138, 4, 0.1);
  color: var(--color-warning);
}

.form-status--success {
  background: rgba(21, 128, 61, 0.1);
  color: var(--color-success);
}

.form-status--error {
  background: rgba(185, 28, 28, 0.08);
  color: var(--color-error);
}

/* Cart drawer */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 440px);
  height: 100%;
  background: var(--color-surface);
  z-index: 301;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}

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

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg) var(--space-xl);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: var(--space-md);
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.cart-item__thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f0eeeb;
}

.cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__remove {
  color: var(--color-text-subtle);
  font-size: 0.8125rem;
}

.cart-item__remove:hover {
  color: var(--color-error);
}

.cart-drawer__footer {
  padding: var(--space-xl);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg);
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: 0.9375rem;
}

.cart-summary__total {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.cart-empty {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--color-text-muted);
}

/* Checkout page */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-3xl);
  padding-block: var(--space-2xl);
}

.checkout-summary {
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.lightbox img {
  max-height: 90vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  color: #fff;
  width: 48px;
  height: 48px;
}

/* Footer */
.site-footer {
  background: var(--color-graphite);
  color: rgba(255, 255, 255, 0.8);
  padding-block: var(--space-3xl);
  margin-top: var(--space-4xl);
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-2xl);
}

.footer-grid h4 {
  color: #fff;
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-grid a,
.footer-grid p {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: var(--space-xs);
}

.footer-bottom {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.load-more-wrap {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* Filter drawer mobile */
.filter-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 250;
  background: var(--color-surface);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: var(--space-xl);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 70vh;
  overflow-y: auto;
}

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

@media (max-width: 1024px) {
  .hero__grid,
  .product-detail,
  .brand-block,
  .contacts-grid,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

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

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    display: none;
  }

  .filter-mobile-btn {
    display: inline-flex;
  }

  .gallery-grid {
    columns: 2;
  }

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

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .gallery-grid {
    columns: 1;
  }

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

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

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

/* Premium BATANGA refresh */
.site-header {
  background: rgba(247, 245, 241, 0.9);
}

.site-header__inner {
  grid-template-columns: auto 1fr auto;
  display: grid;
}

.nav-desktop {
  justify-content: center;
}

.icon-btn--cart {
  width: auto;
  padding-inline: 0.75rem;
  gap: 0.35rem;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.icon-btn__label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero--brand {
  padding-top: 1.5rem;
}

.hero--brand .hero__grid {
  background: linear-gradient(110deg, #151515 0%, #2a2a2a 45%, #3c3c3c 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3.4vw, 3rem);
  gap: clamp(1rem, 2vw, 2rem);
  min-height: min(80vh, 700px);
}

.hero__badge {
  display: inline-flex;
  margin-bottom: 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f7f4ed;
  padding: 0.35rem 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.hero--brand .hero__content p {
  color: rgba(255, 255, 255, 0.82);
}

.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
  gap: 0.75rem;
}

.hero__facts span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-media {
  height: 100%;
}

.hero__visual {
  min-height: 460px;
}

.media-fallback {
  width: 100%;
  height: 100%;
  min-height: 120px;
  position: relative;
  background: linear-gradient(135deg, #ece8e0 0%, #f6f2eb 100%);
  color: #1f1f1f;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.media-fallback img {
  width: 100%;
  height: 100%;
}

.media-fallback.is-fallback {
  background: linear-gradient(135deg, #231f1a 0%, #2f2923 40%, #3b332c 100%);
  color: #fff;
}

.media-fallback__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid currentColor;
  border-radius: var(--radius-full);
  padding: 0.2rem 0.55rem;
  opacity: 0.85;
}

.media-fallback__icon {
  width: 46px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 8px;
  opacity: 0.7;
  position: relative;
  margin-bottom: 0.5rem;
}

.media-fallback__icon::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 6px;
  height: 2px;
  background: currentColor;
}

.media-fallback span {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.66rem;
}

.product-card {
  min-height: 100%;
}

.product-card__media {
  aspect-ratio: 4 / 3;
}

.product-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.badge--popular {
  background: rgba(36, 36, 36, 0.12);
  color: var(--color-graphite);
}

.product-card__tech {
  margin-top: 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-subtle);
}

.product-card__price {
  font-size: 1.35rem;
}

.product-card__footer .btn {
  flex: 1;
}

.home-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
}

.home-category-card {
  padding: 1.4rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(22, 22, 22, 0.09);
}

.home-category-card:hover {
  transform: translateY(-2px);
}

.home-category-card__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-subtle);
}

.home-category-card--accent {
  background: #232323;
  color: #fff;
}

.home-gallery-item {
  position: relative;
}

.home-gallery-item figcaption {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transition: opacity var(--transition);
}

.home-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.62) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.home-gallery-item:hover::after,
.home-gallery-item:hover figcaption {
  opacity: 1;
}

.home-cta {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(232, 93, 4, 0.25);
  background: linear-gradient(135deg, #fff 0%, #fff5ee 100%);
}

.home-cta p {
  color: var(--color-text-muted);
  margin-top: 0.65rem;
}

.shop-banner {
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: stretch;
}

.shop-banner__content {
  padding: 1.6rem;
}

.shop-banner__content p {
  color: var(--color-text-muted);
}

.shop-banner__media {
  min-height: 220px;
}

.product-info--sticky {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
  padding: 1.25rem;
  align-self: start;
}

.product-fit-card {
  background: #f5efe7;
  border: 1px solid rgba(232, 93, 4, 0.24);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
}

.product-fit-card p {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8c4f1e;
}

.checkout-note {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.cart-thumb-media {
  min-height: auto;
}

.cart-thumb-media .media-fallback__badge,
.cart-thumb-media .media-fallback span,
.cart-thumb-media .media-fallback__icon {
  display: none;
}

@media (max-width: 1024px) {
  .home-categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    display: flex;
  }

  .icon-btn__label {
    display: none;
  }

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

  .hero__visual {
    min-height: 300px;
  }

  .home-categories-grid {
    grid-template-columns: 1fr;
  }

  .home-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
