:root {
  --header-navy: #001529;
  --header-red: #c1272d;
  --header-grey-bg: #f2f2f2;
  --header-grey-text: #666666;
  --navy-900: #001f46;
  --navy-800: #042a5f;
  --navy-700: #0b3f82;
  --blue-500: #0079d3;
  --surface: #ffffff;
  --bg: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --danger: #ea2330;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.container {
  width: min(75%, 94%);
  margin: 0 auto;
}

.top-strip {
  background: var(--header-navy);
  color: #fff;
  font-size: 0.8125rem;
}

.top-strip__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.top-strip__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.top-strip__link:hover {
  opacity: 0.9;
}

.top-strip__icon {
  flex-shrink: 0;
  opacity: 0.95;
}

.header-main {
  background: var(--surface);
}

.header-main__inner {
  padding: 14px 0;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-block__img {
  display: block;
  height: auto;
  max-width: 160px;
  width: auto;
}

.logo-block__region {
  font-size: 1rem;
  font-weight: 500;
  color: var(--header-grey-text);
  letter-spacing: 0.02em;
}

.search-bar {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--header-grey-bg);
  border-radius: 999px;
  padding: 10px 16px;
}

.search-bar__icon {
  flex-shrink: 0;
  color: #9ca3af;
}

.search-bar input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 0.875rem;
  color: #111;
}

.search-bar input::placeholder {
  color: var(--header-grey-text);
  opacity: 0.85;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #000;
  font-size: 0.9375rem;
  font-weight: 500;
  flex-shrink: 0;
}

.header-cart:hover {
  opacity: 0.85;
}

.header-cart__icon-wrap {
  position: relative;
  display: inline-flex;
}

.header-cart__icon {
  display: block;
}

.header-cart__badge {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 50%;
  background: var(--header-red);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.category-nav {
  background: var(--surface);
  border-bottom: 1px solid #e5e5e5;
}

.category-nav__inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 28px;
  overflow: auto hidden;
  padding: 4px 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #000;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--header-navy);
}

.nav-link__chevron {
  margin-top: 1px;
  opacity: 0.7;
}

.nav-link--deals {
  color: var(--header-red);
  font-weight: 600;
}

.nav-link--deals .nav-link__bolt {
  flex-shrink: 0;
}

.hero {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 12px;
  align-items: stretch;
}

.hero-main {
  display: contents;
}

.hero-side {
  display: contents;
}

.hero-main__media {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 3 / 1;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  border-radius: 12px;
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-slide__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.hero-main__controls {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding: 0;
  align-self: start;
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: #0a2f5f;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.hero-arrow:hover {
  background: #123a72;
}

.hero-indicators {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.hero-indicator {
  flex: 1;
  min-width: 22px;
  max-width: 40px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #d6dce7;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, height 0.15s ease;
}

.hero-indicator.is-active {
  background: #08356c;
  height: 5px;
}

.hero-side__frame {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-height: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
  align-self: stretch;
  border-radius: 12px;
  overflow: hidden;
}

.hero-side-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-side-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: none;
}

.hero-side-slide.is-active {
  display: block;
}

.hero-side__link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-side__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.hero-side__pagination {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  align-self: start;
}

.hero-side-indicator {
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #d6dce7;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, height 0.15s ease;
}

.hero-side-indicator.is-active {
  background: #08356c;
  height: 5px;
}

.shop-by-category {
  padding: 32px 0 40px;
  background: var(--bg);
}

.shop-by-category__title {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.shop-by-category__grid {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 0;
  aspect-ratio: 1;
  padding: 14px 8px;
  text-decoration: none;
  color: #334155;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.category-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.category-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.category-card__svg {
  width: 26px;
  height: 26px;
  display: block;
}

.category-card__label {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.25;
  color: #475569;
}

.category-card--computers .category-card__icon {
  background: #dbeafe;
  color: #2563eb;
}

.category-card--tv .category-card__icon {
  background: #f3e8ff;
  color: #7c3aed;
}

.category-card--appliances .category-card__icon {
  background: #ccfbf1;
  color: #0d9488;
}

.category-card--furniture .category-card__icon {
  background: #fef9c3;
  color: #ca8a04;
}

.category-card--gaming .category-card__icon {
  background: #fee2e2;
  color: #dc2626;
}

.category-card--phones .category-card__icon {
  background: #dcfce7;
  color: #16a34a;
}

.category-card--cameras .category-card__icon {
  background: #fce7f3;
  color: #db2777;
}

.category-card--smarthome .category-card__icon {
  background: #ffedd5;
  color: #ea580c;
}

.categories {
  margin-top: 24px;
}

h2 {
  margin: 0;
  text-align: center;
  font-size: 1.42rem;
}

.category-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.category-pill {
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 8px;
  font-size: 0.76rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

.category-pill span {
  font-size: 1.2rem;
}

.trending {
  margin-top: 26px;
}

.trending p {
  text-align: center;
  margin: 8px 0 16px;
  color: var(--muted);
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.tab {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.76rem;
  cursor: pointer;
}

.tab.is-active {
  border-color: #94bdeb;
  background: #eaf4ff;
  color: #0f4f8f;
}

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

.product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #dce8f8;
  overflow: hidden;
}

.product-media {
  height: 200px;
  background: linear-gradient(135deg, #e6eef8 0%, #f8fafc 100%);
}

.product-body {
  padding: 10px;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  background: #ebf5ff;
  color: #0d61a8;
  font-size: 0.65rem;
  font-weight: 700;
}

.product-title {
  margin: 7px 0;
  font-size: 0.82rem;
  min-height: 32px;
}

.price-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price {
  color: #032d5d;
  font-size: 1.05rem;
  font-weight: 800;
}

.old-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 0.76rem;
}

.add-btn {
  margin-top: 9px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: #0f2f58;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 10px;
  cursor: pointer;
}

.brand-section {
  padding: 36px 0 44px;
  background: #fff;
}

.brand-section__title {
  margin: 0 0 20px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.brand-banner {
  position: relative;
}

.brand-banner__slides {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  /* Design size 1600×400 → 4:1 */
  aspect-ratio: 4 / 1;
  min-height: 100px;
  background: #eef2f7;
}

.brand-banner__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  display: none;
}

.brand-banner__slide.is-active {
  display: block;
}

.brand-banner__link {
  display: block;
  height: 100%;
}

.brand-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-banner__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.brand-banner__arrow {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #0a2f5f;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-banner__arrow:hover {
  background: #123a72;
}

.brand-banner__dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-banner__dot {
  width: 24px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #d6dce7;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, height 0.15s ease;
}

.brand-banner__dot.is-active {
  background: #08356c;
  height: 5px;
}

.brand-logos {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 16px 12px;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.brand-logo-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.brand-logo-card__text {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  line-height: 1.2;
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Department spotlight + product carousel --- */
.department-section {
  padding: 36px 0 44px;
}

.department-section__title {
  margin: 0 0 28px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.department-block {
  margin: 0 0 40px;
}

.department-block:last-child {
  margin-bottom: 0;
}

.department-block__title {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f172a;
}

.department-layout {
  display: grid;
  grid-template-columns: minmax(0, 20%) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.department-spotlight {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  aspect-ratio: 600 / 800;
  max-height: min(800px, 70vh);
  width: 100%;
}

.department-spotlight__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.department-carousel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  min-height: 0;
}

.department-carousel__viewport {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: hidden;
  /* padding: 4px 40px 8px; */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: none;
  overscroll-behavior-x: contain;
}

.department-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.department-carousel__viewport.department-carousel__viewport--dragging {
  cursor: grabbing;
  user-select: none;
}

.department-carousel__track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 2px 0;
  height: 100%;
}

.department-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #475569;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.department-carousel__btn:hover {
  color: #0f172a;
}

.department-carousel__btn--prev {
  left: 0;
}

.department-carousel__btn--next {
  right: 0;
}

.department-carousel__btn.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.product-card--department {
  flex: 0 0 min(260px, 78vw);
  max-width: 280px;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.product-card--department .product-media--featured {
  flex: 0 1 auto;
  min-height: 0;
  max-height: 52%;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.product-card--department .product-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card--department .product-title {
  font-size: 0.78rem;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--department .product-installment {
  margin-top: auto;
}

.product-card--department .add-btn--cart {
  flex-shrink: 0;
}

.featured-products {
  padding: 36px 0 44px;
}

.featured-products__title {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.featured-products__subtitle {
  margin: 8px 0 0;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

.featured-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px auto 0;
  padding: 6px;
  max-width: 420px;
  background: #e8eaef;
  border-radius: 999px;
}

.feature-tab {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.feature-tab:hover {
  color: #0f172a;
}

.feature-tab.is-active {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.featured-product-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.product-card--featured .product-body {
  padding: 12px;
}

.product-card--featured .product-title {
  margin-top: 6px;
}

.product-card--featured {
  border-color: #e2e8f0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.product-media--featured {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 300px;
  background: #ffffff;
  overflow: hidden;
}

.product-media__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-badge--pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.625rem;
  font-weight: 700;
  background: #c1272d;
  color: #fff;
  text-transform: capitalize;
}

.product-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  padding: 0;
}

.product-wishlist:hover {
  color: #c1272d;
}

.product-discount {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 800;
  background: #c1272d;
  color: #fff;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  color: #64748b;
}

.product-rating__star {
  color: #eab308;
  flex-shrink: 0;
}

.product-brand {
  margin: 0 0 6px;
  font-size: 0.7rem;
  color: #94a3b8;
}

.product-installment {
  margin: 4px 0 0;
  font-size: 0.65rem;
  color: #94a3b8;
}

.add-btn--cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.add-btn__cart-icon {
  flex-shrink: 0;
}

.placeholder-panels {
  margin-top: 16px;
}

.placeholder {
  border-radius: 12px;
  min-height: 54px;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: pulse 1.7s linear infinite;
}

.placeholder--lg {
  min-height: 150px;
}

.placeholder-row {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.flash-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 12px;
}

.sale-banner {
  border-radius: 12px;
  background: linear-gradient(145deg, #d40827 0%, #ff4f47 100%);
  color: #fff;
  min-height: 245px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.sale-banner h3 {
  font-size: 2rem;
  margin: 0 0 6px;
}

.sale-banner p {
  margin: 0;
  font-size: 1.35rem;
}

.sale-banner button {
  margin-top: auto;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #be1422;
  font-weight: 700;
  padding: 9px 14px;
  width: fit-content;
}

.mini-products {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
}

.mini-media {
  min-height: 82px;
  border-radius: 6px;
  background: #edf2f7;
}

.mini-title {
  margin: 8px 0 3px;
  font-size: 0.74rem;
}

.mini-price {
  margin: 0;
  font-weight: 800;
  color: #0f2f58;
  font-size: 0.88rem;
}

.benefits {
  margin-top: 24px;
  background: #f0f4fb;
  border-top: 1px solid #dbe5f4;
  border-bottom: 1px solid #dbe5f4;
}

.benefits-grid {
  min-height: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  align-items: center;
}

.benefits article {
  display: flex;
  flex-direction: column;
}

.benefits strong {
  font-size: 0.82rem;
}

.benefits span {
  color: #64748b;
  font-size: 0.72rem;
}

.newsletter {
  padding: 26px 0;
  background: #0b274d;
  color: #fff;
}

.newsletter-inner {
  text-align: center;
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  color: #d7e6ff;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.newsletter input {
  width: min(420px, 70vw);
  border: 0;
  border-radius: 999px;
  padding: 11px 14px;
}

.newsletter button {
  border: 0;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  padding: 0 14px;
  font-weight: 700;
}

.site-footer {
  background: #06162f;
  color: #c7d7ef;
  padding-top: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.footer-grid h4 {
  margin-top: 0;
  color: #fff;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  color: #b9cbe7;
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.copyright {
  border-top: 1px solid #14355f;
  margin: 20px 0 0;
  padding: 12px 0 20px;
  text-align: center;
  font-size: 0.77rem;
}

@keyframes pulse {
  from {
    background-position: 200% 0;
  }
  to {
    background-position: -200% 0;
  }
}

@media (max-width: 1024px) {
  .brand-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .shop-by-category__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

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

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

  .flash-row {
    grid-template-columns: 1fr;
  }

  .mini-products {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .department-spotlight {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .top-strip__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px 0;
  }

  .top-strip__nav--right {
    justify-content: flex-start;
  }

  .header-main__inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .logo-block {
    flex: 1 1 auto;
  }

  .header-cart {
    margin-left: auto;
  }

  .search-bar {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin: 0;
  }

  .category-nav__inner {
    gap: 16px;
  }

  .shop-by-category {
    padding: 24px 0 32px;
  }

  .shop-by-category__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card__icon {
    width: 52px;
    height: 52px;
  }

  .category-card__label {
    font-size: 0.7rem;
  }

  .featured-products {
    padding: 28px 0 36px;
  }

  .featured-tabs {
    max-width: none;
    width: 100%;
  }

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

  .brand-section {
    padding: 28px 0 36px;
  }

  .brand-banner__slides {
    aspect-ratio: 4 / 1;
    min-height: 80px;
  }

  .brand-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .department-section {
    padding: 28px 0 36px;
  }

  .department-carousel__viewport {
    padding-left: 36px;
    padding-right: 36px;
  }

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

  .hero-main__media {
    grid-column: 1;
    grid-row: auto;
    aspect-ratio: 3 / 1;
  }

  .hero-main__controls {
    grid-column: 1;
    grid-row: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-side__frame {
    grid-column: 1;
    grid-row: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 100%;
  }

  .hero-side__pagination {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-indicators {
    justify-content: flex-start;
  }

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

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

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