:root {
  --bg-dark: #051018;
  --bg-soft: #0f2431;
  --accent: #ffbf2f;
  --accent-strong: #f0a400;
  --accent-cool: #2b7df0;
  --text: #eaf4ff;
  --muted: #a9bccf;
  --card: rgba(12, 30, 43, 0.86);
  --stroke: rgba(255, 255, 255, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background: radial-gradient(circle at 15% 10%, #133449, transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(240, 164, 0, 0.18), transparent 35%),
    linear-gradient(160deg, #050d14, #081b28 50%, #041117);
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.shape {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(35px);
  opacity: 0.35;
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: #24c8f0;
  top: -40px;
  left: -80px;
}

.shape-2 {
  width: 260px;
  height: 260px;
  background: #2177ff;
  right: -70px;
  top: 25%;
}

.shape-3 {
  width: 360px;
  height: 360px;
  background: #ffbf2f;
  bottom: -140px;
  left: 35%;
}

.glass-nav {
  background: rgba(4, 15, 23, 0.78);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: var(--text);
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: calc(100% - 64px);
}

.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: clamp(30px, 6vw, 42px);
  object-fit: contain;
}

.navbar-toggler {
  border-color: var(--stroke);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: var(--muted);
  font-weight: 600;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.navbar-collapse {
  transition: opacity 0.2s ease;
}

.py-lg-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 38vw, 520px);
  overflow: hidden;
}

.hero-banner-image {
  width: 100%;
  height: clamp(260px, 38vw, 520px);
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 16, 24, 0.18) 0%, rgba(5, 16, 24, 0.08) 34%, rgba(5, 16, 24, 0.5) 100%),
    linear-gradient(90deg, rgba(18, 60, 109, 0.16) 0%, rgba(255, 174, 0, 0.14) 100%);
}

.hero-section {
  position: relative;
  margin-top: 0;
  z-index: 1;
}

.hero-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 0;
}

.hero-kicker {
  display: inline-block;
  color: #ffe39b;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  line-height: 1.14;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 60ch;
}

.hero-actions {
  margin-bottom: 0.25rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #d7e9ff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 600;
}

.hero-points i {
  color: var(--accent);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-cool));
  border: none;
  font-weight: 700;
  color: #08131d;
  box-shadow: 0 12px 28px rgba(43, 125, 240, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd76a, #5ba0ff);
  color: #08131d;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(43, 125, 240, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  filter: saturate(1.05);
}

.btn-primary:focus-visible {
  color: #08131d;
  box-shadow: 0 0 0 0.22rem rgba(255, 191, 47, 0.18), 0 14px 30px rgba(43, 125, 240, 0.22);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
}

.filter-panel,
.benefit-card,
.product-card,
.empty-state,
.custom-accordion .accordion-item {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
}

.section-head h2 {
  font-family: "Sora", sans-serif;
}

.counter-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 14px;
}

.filter-panel {
  padding: 1.25rem;
}

.form-label {
  font-weight: 700;
  color: #dcf2ff;
}

.form-control,
.form-select {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.search-field {
  position: relative;
}

.search-field i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #ffd980;
  font-size: 0.95rem;
  pointer-events: none;
}

.search-field-input {
  min-height: 52px;
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.search-field-input:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.enhanced-select {
  position: relative;
}

.enhanced-select .form-select {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.select-trigger {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  color: #fff;
  font-weight: 600;
  text-align: left;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

.enhanced-select.is-open .select-trigger,
.select-trigger:focus-visible {
  outline: none;
  border-color: #3eb4ff;
  box-shadow: 0 0 0 0.2rem rgba(43, 125, 240, 0.18);
}

.select-trigger-text {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.select-trigger-icon {
  color: #ffd980;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.enhanced-select.is-open .select-trigger-icon {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  right: 0;
  z-index: 30;
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(7, 20, 31, 0.98);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
}

.select-search {
  position: relative;
  margin-bottom: 0.75rem;
}

.select-search i {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: #9cc0d9;
  font-size: 0.9rem;
}

.select-search-input {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.select-search-input::placeholder {
  color: #a9bccf;
}

.select-search-input:focus {
  outline: none;
  border-color: #3eb4ff;
  box-shadow: 0 0 0 0.2rem rgba(43, 125, 240, 0.14);
}

.select-options {
  display: grid;
  gap: 0.35rem;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.select-options::-webkit-scrollbar {
  width: 8px;
}

.select-options::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.select-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: #eaf4ff;
  text-align: left;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.select-option:hover,
.select-option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.12);
}

.select-option.is-selected {
  background: rgba(255, 191, 47, 0.14);
  border-color: rgba(255, 191, 47, 0.24);
  color: #fff7dc;
}

.select-option-label {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.select-option-check {
  color: #ffd980;
  opacity: 0;
}

.select-option.is-selected .select-option-check {
  opacity: 1;
}

.select-empty {
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: #a9bccf;
  text-align: center;
}

.form-control::placeholder {
  color: #c8d8e7;
}

.form-control:focus,
.form-select:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: #3eb4ff;
  box-shadow: 0 0 0 0.2rem rgba(43, 125, 240, 0.18);
}

.form-select option {
  color: #102333;
}

.product-card {
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(2, 7, 10, 0.5);
}

.product-cover {
  width: 100%;
  height: 215px;
  object-fit: cover;
}

.product-cover-wrap {
  position: relative;
}

.product-share-button {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 15, 23, 0.72);
  color: #f4fbff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  z-index: 2;
}

.product-share-button:hover,
.product-share-button:focus-visible {
  background: rgba(255, 191, 47, 0.95);
  border-color: rgba(255, 191, 47, 0.95);
  color: #07131d;
  transform: translateY(-1px);
}

.product-share-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.22rem rgba(255, 191, 47, 0.18), 0 12px 28px rgba(0, 0, 0, 0.28);
}

.product-share-button.is-copied {
  background: rgba(52, 199, 89, 0.94);
  border-color: rgba(52, 199, 89, 0.94);
  color: #041117;
}

.product-card-highlight {
  transform: translateY(-4px);
  box-shadow: 0 0 0 2px rgba(255, 191, 47, 0.65), 0 22px 45px rgba(2, 7, 10, 0.5);
}

@media (hover: hover) and (pointer: fine) {
  .product-share-button {
    opacity: 0;
    transform: translateY(-6px);
  }

  .product-card:hover .product-share-button,
  .product-card:focus-within .product-share-button {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-store {
  border: 1px solid var(--stroke);
  color: #d4f9ff;
  background: rgba(43, 125, 240, 0.16);
}

.badge-discount {
  color: #062b20;
  background: #ffd35d;
  font-weight: 800;
}

.product-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.price-area {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff5d8;
}

.old-price {
  color: #9fb5c8;
  text-decoration: line-through;
  font-weight: 600;
}

.product-desc {
  color: #c4d8e9;
  font-size: 0.95rem;
}

.product-meta {
  color: #9cc0d9;
  font-size: 0.88rem;
}

.empty-state {
  padding: 2rem 1rem;
  color: #d3e6f7;
}

.empty-state i {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.8rem;
}

.benefit-card {
  padding: 1.7rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.benefit-card i {
  font-size: 1.7rem;
  color: var(--accent);
}

.benefit-card h3 {
  margin-top: 0.8rem;
  font-size: 1.15rem;
}

.benefit-card p {
  margin-bottom: 0;
  color: #c4d8e9;
}

.custom-accordion .accordion-item {
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.custom-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 700;
}

.custom-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 191, 47, 0.16);
  color: #edfffd;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
}

.custom-accordion .accordion-button::after {
  filter: invert(1);
}

.custom-accordion .accordion-body {
  color: #d2e6f8;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #b8cad9;
}

.footer-credit a {
  color: #ffe39b;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

@media (max-width: 991.98px) {
  .glass-nav .navbar-collapse {
    margin-top: 0.9rem;
    padding: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(6, 18, 27, 0.92);
    backdrop-filter: blur(16px);
  }

  .glass-nav .navbar-nav {
    gap: 0.35rem !important;
  }

  .glass-nav .nav-link {
    display: block;
    padding: 0.85rem 0.95rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
  }

  .hero-shell {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .section-head {
    align-items: flex-start !important;
  }

  .counter-pill {
    align-self: flex-start;
  }

  .product-cover {
    height: 200px;
  }
}

@media (max-width: 575.98px) {
  .brand-logo {
    width: min(100%, 172px);
    height: auto;
    max-height: 36px;
  }

  .py-lg-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero-banner,
  .hero-banner-image {
    height: 220px;
    min-height: 220px;
  }

  .hero-shell {
    padding: 0;
  }

  .hero-title {
    font-size: 1.62rem;
    line-height: 1.18;
  }

  .hero-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.11em;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-points {
    justify-content: flex-start;
    gap: 0.65rem;
  }

  .hero-points span {
    width: 100%;
    justify-content: flex-start;
  }

  .price {
    font-size: 1.3rem;
  }

  .hero-actions {
    gap: 0.75rem !important;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .filter-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .section-head h2,
  #faq h2 {
    font-size: 1.45rem;
  }

  .counter-pill {
    width: 100%;
    text-align: center;
  }

  .select-dropdown {
    padding: 0.7rem;
    border-radius: 16px;
  }

  .select-trigger {
    min-height: 50px;
    padding: 0.8rem 0.95rem;
  }

  .search-field-input {
    min-height: 50px;
  }

  .product-cover {
    height: 188px;
  }

  .product-card .p-3,
  .product-card .p-xl-4 {
    padding: 1rem !important;
  }

  .price-area {
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
  }

  .product-desc {
    font-size: 0.92rem;
  }

  .benefit-card {
    padding: 1.25rem;
  }

  .benefit-card h3 {
    font-size: 1.05rem;
  }

  .custom-accordion .accordion-button {
    padding: 1rem;
    font-size: 0.98rem;
  }

  .custom-accordion .accordion-body {
    padding: 0.95rem 1rem 1rem;
  }

  footer .container {
    text-align: center;
  }

  .footer-credit {
    justify-content: center;
    width: 100%;
  }
}
