.store-page {
  width: min(1380px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.store-hero {
  margin-bottom: 1.3rem;
  text-align: center;
}

.store-hero__eyebrow {
  margin: 0 0 0.7rem;
  color: #ff2d2d;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.store-hero h1 {
  margin: 0;
  color: #102347;
  font-size: clamp(1.45rem, 2.3vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.store-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  position: relative;
}

.store-sidebar {
  position: sticky;
  top: 120px;
}

.store-sidebar__card {
  border-radius: 24px;
  padding: 0.4rem 0;
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.store-filter-group {
  border-bottom: 1px solid #edf2f7;
  padding: 0.95rem 1.2rem;
}

.store-filter-group:last-child {
  border-bottom: 0;
}

.store-filter-group--open {
  padding-bottom: 1.2rem;
}

.store-filter-group__header {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: default;
}

.store-filter-group__chevron {
  color: #64748b;
  font-size: 1.1rem;
}

.store-search {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.store-search__label {
  color: #102347;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

.store-search__input {
  width: 100%;
  border: 1px solid #d6dde7;
  border-radius: 12px;
  padding: 0.82rem 0.9rem;
  background: #f8fafc;
  color: #102347;
  font: inherit;
}

.store-search__input:focus {
  outline: none;
  border-color: #bf1531;
  box-shadow: 0 0 0 4px rgba(191, 21, 49, 0.09);
}

.store-content {
  min-width: 0;
}

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.store-toolbar__meta {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #64748b;
  font-size: 0.92rem;
}

.store-toolbar__meta strong {
  color: #111827;
  font-size: 1rem;
}

.store-sort {
  display: grid;
  gap: 0.35rem;
  min-width: 220px;
}

.store-sort__label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 700;
}

.store-sort__select {
  border: 0;
  border-bottom: 1px solid #dbe3ee;
  padding: 0 0 0.6rem;
  background: transparent;
  color: #1f2937;
  font: inherit;
  font-weight: 700;
}

.store-sort__select:focus {
  outline: none;
  border-bottom-color: #bf1531;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.store-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.store-filter {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  background: #f8fafc;
  color: #102347;
  text-align: center;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.store-filter.is-active {
  background: #eaf1fb;
  border-color: #c7d4e7;
  color: #102347;
}

.store-results {
  margin: 0;
  padding: 0 1.2rem 0.9rem;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}

.product-card,
.cart-card {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.product-card {
  border: 1px solid #edf2f7;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #d5dfeb;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}

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

.product-card__image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-card__image,
.product-card__placeholder {
  width: 100%;
  height: 168px;
  display: block;
  object-fit: contain;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.product-card__placeholder {
  display: grid;
  place-items: center;
  color: #102347;
  font-size: 1.2rem;
  font-weight: 800;
}

.product-card__placeholder--lcd {
  background: linear-gradient(135deg, #fee2e2, #f8fafc);
}

.product-card__body {
  padding: 0.9rem 0.95rem 1rem;
}

.product-card__brand {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: #6b7280;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card__body h2 {
  margin: 0 0 0.45rem;
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.3;
}

.product-card__ideal {
  margin: 0 0 0.65rem;
  color: #6b7280;
  font-size: 0.8rem;
  line-height: 1.45;
}

.product-card__features {
  margin: 0 0 0.8rem;
  padding-left: 1rem;
  color: #4b5563;
  font-size: 0.76rem;
}

.product-card__features li {
  margin-bottom: 0.38rem;
  line-height: 1.45;
}

.product-card__cta,
.cart-card__cta,
.product-modal__cta {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: linear-gradient(180deg, #ff213f, #e60f2f);
  color: #fff;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.cart-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 45;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff213f, #e60f2f);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 20px 45px rgba(191, 21, 49, 0.3);
  cursor: pointer;
}

.cart-fab__icon {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cart-fab__count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: #102347;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-card {
  position: fixed;
  top: 110px;
  right: 1.2rem;
  z-index: 46;
  width: min(390px, calc(100vw - 1.6rem));
  max-height: calc(100vh - 130px);
  padding: 1.5rem;
  overflow: auto;
  transform: translateX(calc(100% + 2rem));
  transition: transform 260ms ease;
}

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

.cart-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.cart-card__close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #102347;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.cart-card__eyebrow {
  margin: 0 0 0.6rem;
  color: #ff2d2d;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.cart-card h2 {
  margin: 0 0 0.7rem;
  color: #102347;
  font-size: 2rem;
  line-height: 1.08;
}

.cart-card__lead {
  margin: 0 0 1.2rem;
  color: #475569;
  line-height: 1.6;
}

.cart-card__list {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.cart-card__item {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  background: #f8fafc;
  color: #102347;
}

.cart-card__empty {
  margin: 0;
  color: #64748b;
}

.cart-card__summary {
  display: grid;
  gap: 0.85rem;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal.is-open {
  display: flex;
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.product-modal__card {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.2);
}

.product-modal__media {
  min-height: 420px;
  background: linear-gradient(135deg, #e0ecff, #f8fafc);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal__media img,
.product-modal__placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-modal__placeholder {
  display: grid;
  place-items: center;
  color: #102347;
  font-size: 2rem;
  font-weight: 800;
}

.product-modal__body {
  padding: 1.7rem;
}

.product-modal__brand {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: #bf1531;
  font-size: 0.9rem;
  font-weight: 800;
}

.product-modal__body h2 {
  margin: 0 0 0.75rem;
  color: #102347;
  font-size: 2rem;
  line-height: 1.08;
}

.product-modal__ideal,
.product-modal__description {
  color: #475569;
  line-height: 1.7;
}

.product-modal__features {
  margin: 1rem 0 1.25rem;
  padding-left: 1.1rem;
  color: #1f2937;
}

.product-modal__features li {
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

.product-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f8fafc;
  color: #102347;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

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

@media (max-width: 980px) {
  .store-layout {
    grid-template-columns: 1fr;
  }

  .store-sidebar {
    position: static;
  }

  .store-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .store-sort {
    min-width: 0;
  }

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

@media (max-width: 760px) {
  .store-hero h1 {
    white-space: normal;
  }

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

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

  .product-modal__media {
    min-height: 260px;
  }
}
