.store-page .site-header {
  position: sticky;
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: stretch;
  padding: 54px 0 28px;
}

.store-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: .92;
}

.store-hero p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.store-hero-card,
.store-filters,
.store-results,
.cart-panel {
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    radial-gradient(circle at 30% 0%, rgba(32, 226, 207, .13), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 70px rgba(0, 0, 0, .32);
  backdrop-filter: blur(16px);
}

.store-hero-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 26px;
  border-radius: 24px;
}

.store-hero-card span,
.store-results-heading span,
.cart-footer span {
  color: var(--muted);
  font-weight: 800;
}

.store-hero-card strong {
  color: var(--gold);
  font-size: 38px;
  line-height: 1;
}

.store-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 112px;
}

.store-filters {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 22px;
}

.store-filters label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.store-filters input,
.store-filters select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(5, 11, 24, .7);
  outline: none;
}

.store-filters input:focus,
.store-filters select:focus {
  border-color: rgba(32, 226, 207, .72);
  box-shadow: 0 0 0 3px rgba(32, 226, 207, .12);
}

.store-results {
  min-height: 560px;
  padding: 22px;
  border-radius: 24px;
}

.store-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.store-results-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.store-product-card,
.store-placeholder {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 211, 61, .13), transparent 42%),
    rgba(255, 255, 255, .045);
  overflow: hidden;
}

.store-product-card {
  display: grid;
  grid-template-rows: 258px minmax(160px, 1fr) 126px;
  min-height: 544px;
}

.store-product-image {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 16px 18px 8px;
  overflow: hidden;
}

.store-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .45));
}

.store-product-image span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(255, 211, 61, .35);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.store-product-body {
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 10px;
  padding: 12px 18px 14px;
  min-height: 0;
}

.store-product-body h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.18;
  min-height: 45px;
}

.store-product-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.42;
  min-height: 46px;
}

.store-product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.store-product-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  color: #dbe7f2;
  background: rgba(255, 255, 255, .06);
  font-size: 12px;
  font-weight: 800;
}

.store-product-actions {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  align-items: end;
  min-width: 0;
}

.store-price {
  color: var(--gold);
  font-size: 26px;
  font-weight: 1000;
  line-height: 1;
}

.store-stock {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.store-add-button,
.cart-qty button,
.cart-remove,
.cart-close {
  cursor: pointer;
  border: 1px solid rgba(32, 226, 207, .42);
  color: #061225;
  background: linear-gradient(135deg, var(--teal), #a7fff5);
  font-weight: 1000;
}

.store-add-button {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 16px;
  white-space: nowrap;
}

.store-add-button:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.store-placeholder {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  justify-content: flex-end;
  background: rgba(3, 8, 20, .72);
  backdrop-filter: blur(8px);
}

.cart-drawer.open {
  display: flex;
}

.cart-panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(460px, 100%);
  min-height: 100%;
  padding: 24px;
  border-radius: 24px 0 0 24px;
}

.cart-header,
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-header h2 {
  margin: 0;
  font-size: 34px;
}

.cart-close {
  min-height: 40px;
  border-radius: 999px;
  padding: 0 14px;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 18px 0;
}

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

.cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
}

.cart-item img,
.cart-item-image-fallback {
  width: 58px;
  height: 74px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, .08);
}

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.cart-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-qty button,
.cart-remove {
  min-width: 32px;
  height: 32px;
  border-radius: 999px;
}

.cart-remove {
  border-color: rgba(255, 211, 61, .45);
  color: var(--gold);
  background: rgba(255, 211, 61, .08);
}

.cart-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.cart-footer strong {
  display: block;
  color: var(--gold);
  font-size: 28px;
}

.cart-whatsapp.disabled {
  pointer-events: none;
  opacity: .55;
}

.floating-cart-button {
  position: fixed;
  right: 22px;
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid rgba(32, 226, 207, .62);
  border-radius: 999px;
  padding: 10px 18px;
  color: #041122;
  background: linear-gradient(135deg, var(--teal), #a7fff5);
  box-shadow: 0 22px 58px rgba(0, 0, 0, .42), 0 0 0 1px rgba(255, 255, 255, .12) inset;
  cursor: pointer;
  font: inherit;
  font-weight: 1000;
}

.floating-cart-button span {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--gold);
  background: #071122;
}

.floating-cart-button strong,
.floating-cart-button em {
  line-height: 1;
}

.floating-cart-button em {
  font-style: normal;
}

.floating-cart-button:not(.has-items) strong {
  display: none;
}

.floating-cart-button.pulse {
  animation: floatingCartPulse .42s ease;
}

@keyframes floatingCartPulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.055);
  }
}

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

  .store-filters {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .store-page .site-header {
    position: static;
    align-items: stretch;
    flex-direction: column;
  }

  .store-page .desktop-nav,
  .store-page .header-quick-contact {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .store-page .desktop-nav {
    gap: 10px;
  }

  .store-page .desktop-nav a,
  .store-page .header-cta {
    flex: 1 1 auto;
    min-width: 118px;
    text-align: center;
  }

  .store-hero {
    gap: 16px;
    padding-top: 26px;
    padding-bottom: 18px;
  }

  .store-hero h1 {
    font-size: clamp(38px, 13vw, 54px);
    letter-spacing: -0.055em;
  }

  .store-hero p:not(.eyebrow) {
    font-size: 16px;
    line-height: 1.55;
  }

  .store-layout {
    gap: 16px;
    padding-bottom: 108px;
  }

  .store-results,
  .store-filters,
  .store-hero-card {
    padding: 16px;
    border-radius: 18px;
  }

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

  .store-filters input,
  .store-filters select {
    min-height: 44px;
  }

  .store-results-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

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

  .store-product-card {
    grid-template-rows: minmax(280px, 46vh) auto auto;
    min-height: 0;
  }

  .store-product-image {
    padding: 14px 14px 6px;
  }

  .store-product-body {
    padding: 12px 16px 12px;
  }

  .store-product-body h3,
  .store-product-body p {
    min-height: 0;
  }

  .store-product-actions {
    padding: 14px 16px 16px;
  }

  .store-price {
    font-size: 24px;
  }

  .store-add-button {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 14px;
  }

  .floating-cart-button {
    left: 14px;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    justify-content: space-between;
    min-height: 58px;
    padding-inline: 16px;
  }

  .cart-drawer {
    align-items: flex-end;
  }

  .cart-panel {
    width: 100%;
    min-height: auto;
    max-height: 92vh;
    border-radius: 18px 18px 0 0;
  }

  .cart-header,
  .cart-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-whatsapp {
    width: 100%;
    text-align: center;
  }
}
