/* Storefront glass chrome — mirrored from front theme/glass + header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1100;
}

.header-support {
  background: linear-gradient(135deg, var(--brand-navy-dark) 0%, var(--brand-navy) 70%);
  border-bottom: 1px solid rgba(255, 126, 0, 0.35);
  color: #fff;
  font-size: 0.8125rem;
  box-shadow: 0 4px 14px rgba(0, 31, 69, 0.18);
}

.header-support .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.header-support a {
  color: #fff;
  opacity: 0.95;
  font-weight: 600;
}

.header-support a:hover {
  opacity: 1;
  color: var(--brand-orange-light);
}

.header-bar {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border-bottom: 1px solid rgba(0, 44, 95, 0.12);
  box-shadow: 0 10px 28px rgba(0, 44, 95, 0.1);
}

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
/*  padding: 0.85rem 0 0.75rem;*/
}

@media (max-width: 767px) {
  .header-top {
    grid-template-columns: auto auto;
    grid-template-areas:
      "logo actions"
      "search search";
  }

  .site-logo {
    grid-area: logo;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
  }

  .header-search {
    grid-area: search;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--brand-navy);
  font-weight: 800;
}

.site-logo img {
  height: 96px;
  width: auto;
  max-width: min(220px, 46vw);
  border-radius: 12px;
  object-fit: contain;
}

@media (min-width: 600px) {
  .site-logo img {
    height: 112px;
    max-width: 240px;
  }
}

@media (min-width: 900px) {
  .site-logo img {
    height: 128px;
    max-width: 260px;
  }
}

.site-logo__fallback {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand-navy), var(--brand-navy-light));
  color: #fff;
  font-size: 1.1rem;
}

.header-search {
  position: relative;
  display: flex;
  align-items: stretch;
}

.header-search input {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: 1.5px solid rgba(0, 44, 95, 0.18);
  border-inline-end: 0;
  border-start-end-radius: 0;
  border-end-end-radius: 0;
  border-start-start-radius: 14px;
  border-end-start-radius: 14px;
  padding: 0.8rem 1rem;
  background: #fff;
  color: var(--brand-navy);
  box-shadow: 0 2px 0 rgba(0, 44, 95, 0.04), 0 6px 16px rgba(0, 44, 95, 0.07);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input::placeholder {
  color: rgba(0, 44, 95, 0.45);
}

.header-search input:hover {
  border-color: rgba(0, 44, 95, 0.28);
}

.header-search input:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.16), 0 6px 16px rgba(0, 44, 95, 0.08);
}

.header-search__btn {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  border: 1.5px solid var(--brand-orange);
  border-start-start-radius: 0;
  border-end-start-radius: 0;
  border-start-end-radius: 14px;
  border-end-end-radius: 14px;
  background: var(--brand-orange);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0, 44, 95, 0.04), 0 6px 16px rgba(0, 44, 95, 0.07);
  transition: background 0.2s ease, filter 0.2s ease;
}

.header-search__btn:hover {
  filter: brightness(1.06);
}

.header-search__btn:focus-visible {
  outline: 3px solid rgba(255, 126, 0, 0.35);
  outline-offset: 2px;
}

.header-search__dropdown {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.4rem);
  z-index: 20;
  background: #fff;
  border: 1px solid rgba(0, 44, 95, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 44, 95, 0.14);
  display: none;
  max-height: min(360px, 70vh);
  overflow-y: auto;
}

.header-search__dropdown.open {
  display: block;
}

.header-search__item {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid rgba(0, 44, 95, 0.07);
  text-decoration: none;
  color: inherit;
}

.header-search__item:last-child {
  border-bottom: 0;
}

.header-search__item:hover {
  background: rgba(255, 126, 0, 0.08);
}

.header-search__thumb {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 44, 95, 0.04);
}

.header-search__body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.header-search__title {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.header-search__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.72rem;
}

.header-search__price {
  color: var(--brand-orange);
  font-weight: 800;
  white-space: nowrap;
}

.header-search__code {
  color: rgba(0, 44, 95, 0.55);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.header-search__all {
  display: block;
  text-align: center;
  padding: 0.55rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-navy);
  background: rgba(0, 44, 95, 0.04);
  text-decoration: none;
}

.header-search__all:hover {
  background: rgba(255, 126, 0, 0.1);
  color: var(--brand-orange);
}

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

.header-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  border-radius: 12px;
  color: var(--brand-navy);
  background: rgba(0, 44, 95, 0.05);
  border: 1.5px solid rgba(0, 44, 95, 0.16);
  box-shadow: 0 2px 8px rgba(0, 44, 95, 0.05);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
}

.header-action:hover {
  transform: translateY(-1px);
  background: rgba(0, 44, 95, 0.1);
  border-color: rgba(0, 44, 95, 0.28);
  color: var(--brand-navy-dark);
}

.header-action__icon {
  display: block;
  flex-shrink: 0;
}

@media (max-width: 599px) {
  .header-action span:not(.cart-badge):not(.header-cart__label) {
    display: none;
  }

  .header-cart__label {
    display: none;
  }
}

.header-cart {
  position: relative;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-orange), var(--brand-orange-dark));
  border-color: rgba(255, 126, 0, 0.55);
  padding: 0.55rem 0.85rem;
  gap: 0.45rem;
  box-shadow: 0 6px 16px rgba(255, 126, 0, 0.28);
}

.header-cart:hover {
  background: linear-gradient(145deg, var(--brand-orange-light), var(--brand-orange));
  border-color: var(--brand-orange);
  color: #fff;
  filter: brightness(1.02);
}

.header-cart__icon {
  display: block;
  flex-shrink: 0;
}

.header-cart__label {
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-badge {
  position: absolute;
  top: -5px;
  inset-inline-end: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand-navy);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  line-height: 1;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 44, 95, 0.25);
}

.header-nav {
  display: none;
  padding-bottom: 0.75rem;
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: fit-content;
    margin-inline: auto;
    margin-top: 0.15rem;
    padding: 0.4rem 0.55rem;
    border-radius: 999px;
    background: rgba(0, 44, 95, 0.06);
    border: 1.5px solid rgba(0, 44, 95, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
}

.header-nav a {
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  color: var(--brand-navy);
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-nav a.active,
.header-nav a:hover {
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 126, 0, 0.95), rgba(224, 111, 0, 0.9));
  box-shadow: 0 4px 14px rgba(255, 126, 0, 0.28);
}

.site-footer {
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-navy-dark) 0%, var(--brand-navy) 55%, var(--brand-orange-dark) 100%);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(255, 126, 0, 0.25) 0%, transparent 45%);
  pointer-events: none;
}

.site-footer .container {
  position: relative;
  padding-block: 3rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .site-footer .container {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-accent {
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(270deg, #fff, var(--brand-orange));
  margin: 0.75rem 0 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

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

.footer-trust {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-trust img {
  border-radius: 8px;
  transition: opacity 0.2s;
}

.footer-trust img:hover {
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  z-index: 1200;
  height: var(--mobile-nav-h);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-top: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 -8px 28px rgba(0, 44, 95, 0.1);
  /* Keep bar glued to the viewport (not the footer) while scrolling */
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 899px) {
  .site-footer {
    /* Leave clear space under the footer so the fixed bar doesn't sit on top of it */
    margin-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 900px) {
  .mobile-bottom-nav {
    display: none;
  }
}

.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  color: var(--brand-navy);
  position: relative;
}

.mobile-bottom-nav__icon {
  display: block;
  flex-shrink: 0;
}

.mobile-bottom-nav__cart-wrap {
  position: relative;
  display: inline-flex;
  line-height: 0;
}

.mobile-bottom-nav__cart-wrap .cart-badge {
  top: -6px;
  inset-inline-end: -10px;
}

.mobile-bottom-nav a.active {
  color: var(--brand-orange);
  font-weight: 700;
}

.sticky-contact {
  position: fixed;
  left: 0.75rem;
  right: auto;
  bottom: calc(var(--mobile-nav-h) + 0.75rem);
  z-index: 1150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

@media (min-width: 900px) {
  .sticky-contact {
    bottom: 1.25rem;
    left: 1.25rem;
  }
}

.sticky-fab {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 44, 95, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: visible;
}

.sticky-fab:hover,
.sticky-fab:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 44, 95, 0.28);
}

.sticky-fab__tip {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(45, 45, 45, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.sticky-fab__tip::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: rgba(45, 45, 45, 0.92);
}

.sticky-fab:hover .sticky-fab__tip,
.sticky-fab:focus-visible .sticky-fab__tip {
  opacity: 1;
  visibility: visible;
}

.sticky-fab--telegram {
  padding: 0;
  background: transparent;
  color: #0088cc;
  box-shadow: 0 6px 16px rgba(0, 44, 95, 0.18);
}

.sticky-fab--telegram svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.sticky-fab--media {
  padding: 0;
  background: transparent;
  box-shadow: 0 6px 16px rgba(0, 44, 95, 0.18);
}

.sticky-fab--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.sticky-fab--phone {
  border-radius: 14px;
  background: var(--brand-navy);
}

.site-logo--footer img {
  height: 112px;
  max-width: 240px;
  border-radius: 12px;
}

@media (min-width: 900px) {
  .site-logo--footer img {
    height: 128px;
    max-width: 260px;
  }
}

.footer-lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36ch;
}

.footer-heading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.05rem;
}

.footer-heading--accent {
  color: var(--brand-orange);
}

.footer-contact-col {
  text-align: right;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.footer-phone:hover {
  color: #fff;
  opacity: 0.92;
}

.footer-site {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.35rem;
}

.footer-hours {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-start;
  margin-top: 0.35rem;
}

.footer-social__btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.footer-social__btn:hover {
  transform: translateY(-2px);
}

.footer-social__btn--telegram {
  padding: 0;
  background: transparent;
  color: #0088cc;
  overflow: hidden;
}

.footer-social__btn--telegram svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-social__btn--media {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.footer-social__btn--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.72) inset, 0 8px 28px rgba(0, 44, 95, 0.1);
  padding: 1.25rem;
}

.features-section {
  margin-top: 2.75rem;
  padding: 1.5rem 0 0.25rem;
  position: relative;
}

.features-section::before {
  content: "";
  position: absolute;
  inset: -0.5rem -1rem auto;
  height: 56%;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 126, 0, 0.12), transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(0, 44, 95, 0.1), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.features-section > * {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.feature-item {
  --feature-i: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 36px rgba(0, 44, 95, 0.08);
  backdrop-filter: var(--glass-blur-light);
  -webkit-backdrop-filter: var(--glass-blur-light);
  opacity: 0;
  transform: translateY(18px);
  animation: feature-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--feature-i) * 120ms + 80ms);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 22px 48px rgba(255, 126, 0, 0.16);
}

.feature-item__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-navy-dark), var(--brand-navy-light));
}

.feature-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform 0.55s ease;
}

.feature-item:hover .feature-item__media img {
  transform: scale(1.1);
}

.feature-item__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 31, 69, 0.08) 0%,
    rgba(0, 44, 95, 0.15) 45%,
    rgba(0, 44, 95, 0.55) 100%
  );
  pointer-events: none;
}

.feature-item__icon {
  position: absolute;
  inset-inline-start: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--brand-orange), var(--brand-orange-dark));
  box-shadow: 0 10px 24px rgba(255, 126, 0, 0.35);
  animation: feature-icon-float 3.2s ease-in-out infinite;
  animation-delay: calc(var(--feature-i) * 0.35s);
}

.feature-item__body {
  padding: 1.15rem 1.2rem 1.3rem;
}

.feature-item h3 {
  margin: 0 0 0.45rem;
  color: var(--brand-navy);
  font-size: 1.05rem;
}

.feature-item__body .muted {
  margin: 0;
  line-height: 1.75;
}

@keyframes feature-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes feature-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-item,
  .feature-item__icon {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .feature-item__media img,
  .feature-item:hover,
  .feature-item:hover .feature-item__media img {
    transition: none;
    transform: none;
  }
}

.about-intro {
  margin-top: 2.5rem;
  padding: 1.75rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 44, 95, 0.06), rgba(255, 126, 0, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.best-sellers-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 0.85rem;
}

.best-sellers-section__head .section-title {
  margin-bottom: 0.25rem;
}

.best-sellers-section__head .section-sub {
  margin: 0;
}

.best-sellers-section__all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex-shrink: 0;
  white-space: nowrap;
  min-height: 42px;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-light) 55%, var(--brand-orange) 140%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 10px 24px rgba(0, 44, 95, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.best-sellers-section__all svg {
  transform: scaleX(-1);
  transition: transform 0.25s ease;
}

.best-sellers-section__all:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3) inset, 0 14px 28px rgba(255, 126, 0, 0.28);
  filter: brightness(1.05);
  color: #fff;
}

.best-sellers-section__all:hover svg {
  transform: scaleX(-1) translateX(3px);
}

.best-sellers-section__all:active {
  transform: translateY(0);
}

@media (max-width: 599px) {
  .best-sellers-section__head {
    align-items: stretch;
    flex-direction: column;
  }

  .best-sellers-section__all {
    width: 100%;
  }
}

.best-sellers-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 200px;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  /* LTR scroll physics on RTL pages — cards keep RTL text inside. */
  direction: ltr;
}

.best-sellers-track .product-card {
  direction: rtl;
}

.best-sellers-track img,
.best-sellers-track a {
  -webkit-user-drag: none;
  user-drag: none;
}

.best-sellers-track.is-interacting,
.best-sellers-track.is-dragging {
  scroll-snap-type: none;
}

.best-sellers-track.is-dragging {
  cursor: grabbing;
}

.best-sellers-track.is-dragging a,
.best-sellers-track.is-dragging button {
  pointer-events: none;
}

.best-sellers-track > * {
  scroll-snap-align: start;
}

.login-card {
  width: min(100%, 460px);
  margin: 2rem auto;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  padding: 0.3rem;
  border-radius: 14px;
  background: rgba(0, 44, 95, 0.06);
}

.login-tabs button {
  border: 0;
  background: transparent;
  padding: 0.7rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-navy);
}

.login-tabs button.active {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 44, 95, 0.08);
  color: var(--brand-orange);
}

.auth-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 599px) {
  .header-top {
    gap: 0.5rem;
    padding: 0.55rem 0 0.65rem;
  }

  .header-search input {
    padding: 0.7rem 0.85rem;
    font-size: 16px;
  }

  .header-search__btn {
    width: 48px;
  }

  .site-footer .container {
    padding-block: 2rem;
    gap: 1.5rem;
  }
}
