.store-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 204, 102, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(0, 140, 141, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbfc 0%, #eef5f5 100%);
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.85fr);
  gap: 1.4rem;
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(6, 58, 62, 0.96), rgba(0, 140, 141, 0.9) 62%, rgba(255, 188, 73, 0.78));
  box-shadow: 0 30px 70px rgba(7, 59, 60, 0.14);
}

.store-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.1);
  color: #ffd978;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-hero-copy h1 {
  margin: 1rem 0 0.55rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.store-hero-copy p {
  max-width: 60ch;
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 1.04rem;
  line-height: 1.7;
}

.store-hero-metrics {
  display: grid;
  gap: 0.95rem;
}

.store-metric {
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.store-metric span {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-metric strong {
  display: block;
  margin-top: 0.45rem;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.1;
}

.store-metric-action-row {
  margin-top: 0.8rem;
}

.store-alert-form {
  margin: 0;
}

.store-alert-btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 999px;
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background 0.18s ease, transform 0.18s ease;
}

.store-alert-btn:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.store-alert-btn.is-active {
  background: rgba(255, 217, 120, 0.18);
  color: #fff7d6;
  border-color: rgba(255, 217, 120, 0.32);
}

.store-context-alert {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.98), rgba(255, 244, 212, 0.96)) !important;
}

.store-toolbar {
  padding: 1.15rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,250,0.98));
  border: 1px solid rgba(17, 47, 54, 0.08);
  box-shadow: 0 20px 48px rgba(13, 35, 39, 0.07);
}

.store-search-wrap {
  margin-bottom: 1rem;
}

.store-search-group {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 47, 54, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.store-search-group .input-group-text,
.store-search-group .form-control {
  border: 0;
  background: #fff;
  min-height: 56px;
}

.store-search-group .input-group-text {
  padding-left: 1rem;
  color: #0b7476;
}

.store-search-group .form-control {
  font-size: 1rem;
}

.store-search-group .form-control:focus {
  box-shadow: none;
}

.store-tabs {
  gap: 0.55rem;
  border-bottom: 0;
}

.store-tabs .nav-link {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: #f2f7f7;
  color: #375156;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.store-tabs .nav-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(0, 140, 141, 0.12);
  color: #0d6f71;
  font-size: 0.75rem;
}

.store-tabs .nav-link.active,
.store-tabs .nav-link:hover {
  background: linear-gradient(135deg, #0a6c70, #0f9a9b);
  color: #fff;
}

.store-tabs .nav-link.active span,
.store-tabs .nav-link:hover span {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.tab-content {
  margin-top: 1.35rem;
}

.store-shell {
  background:
    radial-gradient(circle at top left, rgba(255, 204, 102, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(0, 140, 141, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbfc 0%, #eef5f5 100%);
}

.store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.85fr);
  gap: 1.4rem;
  align-items: stretch;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(6, 58, 62, 0.96), rgba(0, 140, 141, 0.9) 62%, rgba(255, 188, 73, 0.78));
  box-shadow: 0 30px 70px rgba(7, 59, 60, 0.14);
}

.store-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.1);
  color: #ffd978;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.store-hero-copy h1 {
  margin: 1rem 0 0.55rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 6vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.store-hero-copy p {
  max-width: 60ch;
  margin: 0;
  color: rgba(255,255,255,0.9);
  font-size: 1.04rem;
  line-height: 1.7;
}

.store-hero-metrics {
  display: grid;
  gap: 0.95rem;
}

.store-metric {
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.store-metric span {
  display: block;
  color: rgba(255,255,255,0.72);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-metric strong {
  display: block;
  margin-top: 0.45rem;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.1;
}

.store-context-alert {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 250, 236, 0.98), rgba(255, 244, 212, 0.96)) !important;
}

.store-toolbar {
  padding: 1.15rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,250,0.98));
  border: 1px solid rgba(17, 47, 54, 0.08);
  box-shadow: 0 20px 48px rgba(13, 35, 39, 0.07);
}

.store-search-wrap {
  margin-bottom: 1rem;
}

.store-search-group {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 47, 54, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.store-search-group .input-group-text,
.store-search-group .form-control {
  border: 0;
  background: #fff;
  min-height: 56px;
}

.store-search-group .input-group-text {
  padding-left: 1rem;
  color: #0b7476;
}

.store-search-group .form-control {
  font-size: 1rem;
}

.store-search-group .form-control:focus {
  box-shadow: none;
}

.store-tabs {
  gap: 0.55rem;
  border-bottom: 0;
}

.store-tabs .nav-link {
  border: 0;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: #f2f7f7;
  color: #375156;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.store-tabs .nav-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(0, 140, 141, 0.12);
  color: #0d6f71;
  font-size: 0.75rem;
}

.store-tabs .nav-link.active,
.store-tabs .nav-link:hover {
  background: linear-gradient(135deg, #0a6c70, #0f9a9b);
  color: #fff;
}

.store-tabs .nav-link.active span,
.store-tabs .nav-link:hover span {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.tab-content {
  margin-top: 1.35rem;
}

.mac-float-cart {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1030;
  border-radius: 999px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.store-product-card {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(247,249,249,0.98));
  box-shadow: 0 18px 40px rgba(16, 41, 46, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(16, 41, 46, 0.14);
}

.store-product-visual {
  display: block;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.9), rgba(242,247,247,0.92)),
    linear-gradient(180deg, #f7fbfb, #edf4f4);
}

.store-product-visual img,
.store-product-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.9rem;
  transition: transform 0.28s ease;
}

.store-product-card:hover .store-product-visual img {
  transform: scale(1.03);
}

.store-product-body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.store-product-title-trigger {
  color: #17353a;
}

.store-product-preview {
  min-height: 2.7rem;
}

.store-more-info-btn {
  border-radius: 14px;
  font-weight: 700;
}

.store-card-hint {
  font-size: 0.78rem;
  color: #6c757d;
  line-height: 1.35;
}

.store-card-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-card-price-prefix {
  margin-bottom: 0.15rem;
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #159a9c;
  line-height: 1;
}

.store-card-price-value {
  color: #212529;
  line-height: 1;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store-product-modal .modal-content {
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 35, 39, 0.22);
}

.store-product-modal-header {
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,250,0.98));
  border-bottom: 1px solid rgba(17, 47, 54, 0.08);
}

.store-product-modal-body {
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(0,140,141,0.07), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(244,248,248,0.98));
}

.store-modal-gallery-shell {
  position: relative;
}

.store-product-carousel {
  position: relative;
  padding-bottom: 18px;
}

.store-product-modal-image {
  width: 100%;
  max-height: 580px;
  object-fit: cover;
  background: #eef4f4;
}

.store-carousel-stack {
  position: absolute;
  inset: 18px 20px -2px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(220, 236, 236, 0.95), rgba(191, 216, 216, 0.95));
  box-shadow:
    0 18px 30px rgba(14, 38, 43, 0.16),
    0 0 0 1px rgba(17, 47, 54, 0.08);
  transform: rotate(-2.2deg);
  z-index: 0;
}

.store-product-carousel .carousel-inner {
  position: relative;
  z-index: 2;
}

.store-product-carousel .carousel-control-prev,
.store-product-carousel .carousel-control-next {
  position: absolute;
  top: 50%;
  bottom: auto;
  z-index: 4;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(9, 40, 46, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 28px rgba(6, 27, 31, 0.26);
  transform: translateY(-50%);
  opacity: 1;
}

.store-product-carousel .carousel-control-prev {
  left: 1rem;
}

.store-product-carousel .carousel-control-next {
  right: 1rem;
}

.store-product-carousel .carousel-control-prev:hover,
.store-product-carousel .carousel-control-next:hover,
.store-product-carousel .carousel-control-prev:focus,
.store-product-carousel .carousel-control-next:focus {
  background: rgba(15, 116, 118, 0.92);
  opacity: 1;
}

.store-product-carousel .carousel-control-prev-icon,
.store-product-carousel .carousel-control-next-icon {
  width: 1.1rem;
  height: 1.1rem;
  background-size: 100% 100%;
}

.store-carousel-peel {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 3;
  overflow: visible;
  height: auto;
  right: auto;
  pointer-events: none;
}

.store-carousel-peel::before {
  content: "";
  position: absolute;
  inset: -0.35rem -0.45rem;
  border-radius: 999px;
  background: rgba(9, 27, 31, 0.22);
  filter: blur(8px);
  z-index: -1;
}

.store-carousel-peel-text {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(9, 40, 46, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(6, 27, 31, 0.28);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.store-modal-panel {
  border-radius: 24px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(17, 47, 54, 0.08);
  box-shadow: 0 16px 36px rgba(13, 35, 39, 0.08);
  padding: 1.1rem;
  position: sticky;
  top: 0;
}

.store-modal-price span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #11353a;
  line-height: 1;
}

.store-modal-price small {
  display: block;
  margin-top: 0.35rem;
  color: #6c757d;
}

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

.store-modal-meta-item {
  border-radius: 16px;
  background: #f4f8f8;
  padding: 0.85rem 0.9rem;
}

.store-modal-meta-item span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 0.25rem;
}

.store-modal-meta-item strong {
  color: #16373c;
}

.store-modal-description {
  color: #324b50;
  line-height: 1.65;
  white-space: normal;
}

.store-modal-purchase .form-control,
.store-modal-purchase .form-select {
  border-radius: 14px;
}

.store-modal-purchase .btn {
  border-radius: 16px;
  font-weight: 700;
}

.store-size-chart summary {
  cursor: pointer;
}

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

  .mac-float-cart {
    right: 16px;
    bottom: 16px;
  }

  .store-product-modal .modal-content {
    border-radius: 0;
  }

  .store-product-modal-body {
    padding: 1rem;
  }

  .store-modal-panel {
    position: static;
  }

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

@media (max-width: 576px) {
  .store-toolbar {
    padding: 0.9rem;
    border-radius: 24px;
  }

  .store-tabs {
    justify-content: flex-start !important;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
  }

  .store-tabs .nav-item {
    flex: 0 0 auto;
  }

  .mac-float-cart {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
    justify-content: center;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .store-product-preview {
    min-height: 0;
  }

  .store-carousel-peel {
    left: 0.85rem;
    bottom: 0.85rem;
  }

  .store-carousel-peel-text {
    font-size: 0.68rem;
    padding: 0.6rem 0.85rem;
  }

  .store-product-carousel {
    padding-bottom: 16px;
  }

  .store-product-carousel .carousel-control-prev,
  .store-product-carousel .carousel-control-next {
    width: 2.6rem;
    height: 2.6rem;
    top: calc(50% - 0.35rem);
  }

  .store-product-carousel .carousel-control-prev {
    left: 0.7rem;
  }

  .store-product-carousel .carousel-control-next {
    right: 0.7rem;
  }

  .store-product-carousel .carousel-control-prev-icon,
  .store-product-carousel .carousel-control-next-icon {
    width: 0.95rem;
    height: 0.95rem;
  }

  .store-modal-meta {
    grid-template-columns: 1fr;
  }
}
.store-product-highlight .store-product-card {
  outline: 3px solid rgba(255, 179, 64, 0.75);
  box-shadow: 0 18px 45px rgba(0, 140, 141, 0.18) !important;
}

/* Compact store hero + smoother stock alerts */
.store-hero {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.88fr);
  align-items: start;
  gap: 1rem;
  padding: clamp(1rem, 1.8vw, 1.35rem);
  min-height: 0;
}

.store-hero-copy {
  padding-right: 0.25rem;
}

.store-hero-copy h1 {
  margin: 0.55rem 0 0.3rem;
  font-size: clamp(2.15rem, 3.5vw, 3.45rem);
  line-height: 0.95;
}

.store-hero-copy p {
  max-width: 42ch;
  font-size: 0.93rem;
  line-height: 1.45;
}

.store-hero-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.store-metric {
  min-height: 0;
  padding: 0.72rem 0.82rem;
  border-radius: 20px;
}

.store-metric-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.store-metric span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.store-metric strong {
  margin-top: 0;
  font-size: 1.05rem;
  white-space: nowrap;
}

.store-metric-action-row {
  margin-top: 0.55rem;
}

.store-alert-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.24);
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.1));
  box-shadow: 0 10px 18px rgba(6, 34, 38, 0.14);
  padding: 0.52rem 0.72rem;
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
}

.store-alert-btn:hover,
.store-alert-btn:focus {
  background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.18));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 22px rgba(6, 34, 38, 0.2);
  outline: none;
}

.store-alert-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 217, 120, 0.24), rgba(255, 184, 73, 0.16));
  color: #fff8dd;
  border-color: rgba(255, 217, 120, 0.38);
}

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

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

@media (max-width: 576px) {
  .store-hero {
    padding: 1rem;
    border-radius: 26px;
  }

  .store-hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .store-metric {
    padding: 0.78rem 0.85rem;
  }
}

/* Final compact override */
.store-shell {
  padding-top: 1rem !important;
}

.store-hero {
  padding: 1.15rem !important;
  gap: 0.9rem !important;
}

.store-hero-copy h1 {
  font-size: clamp(1.95rem, 3vw, 3rem) !important;
}

.store-hero-copy p {
  max-width: 38rem !important;
  font-size: 0.88rem !important;
}
