/*
 * Advance storefront skin
 * Presentation-only overrides for the SellAuth Pro theme.
 */

:root {
  --advance-bg: #07090d;
  --advance-panel: #0d1118;
  --advance-panel-2: #111722;
  --advance-panel-3: #151b27;
  --advance-line: rgba(255, 255, 255, 0.09);
  --advance-line-strong: rgba(145, 163, 255, 0.22);
  --advance-text: #f5f7fb;
  --advance-muted: #9aa4b5;
  --advance-accent: #7795ff;
  --advance-accent-2: #9c6cff;
  --advance-green: #b8ff6a;
  --advance-shell: 1180px;
  --advance-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --bs-body-color: var(--advance-text);
  --bs-secondary-color: var(--advance-muted);
  --bs-heading-color: var(--advance-text);
  --bs-border-radius: 0.75rem;
  --bs-border-radius-sm: 0.6rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-xl: 1.25rem;
}

html {
  scroll-behavior: smooth;
  background: var(--advance-bg);
}

body {
  color: var(--advance-text);
  background:
    radial-gradient(circle at 88% 10%, rgba(119, 149, 255, 0.10), transparent 28rem),
    radial-gradient(circle at 5% 46%, rgba(156, 108, 255, 0.065), transparent 30rem),
    var(--advance-bg);
  font-weight: 500;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

::selection {
  color: #fff;
  background: rgba(119, 149, 255, 0.72);
}

a {
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.container {
  --bs-gutter-x: 3rem;
  max-width: var(--advance-shell);
}

.bg-image {
  opacity: 0.035;
  filter: saturate(0.35) contrast(1.25);
}

.py-20 {
  padding-top: 6.5rem;
  padding-bottom: 6.5rem;
}

.py-5-nav {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

/* Announcement and navigation */
.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 18px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(90deg, #5269d8, #7163e7, #8b61e5);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 8px 30px rgba(111, 99, 231, 0.18);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.announcement a {
  gap: 6px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.announcement a::before {
  width: 4px;
  height: 4px;
  display: inline-block;
  content: "";
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}

.announcement a svg {
  width: 13px;
  height: 13px;
}

header.sticky-top {
  z-index: 1030;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.16);
}

.navbar {
  min-height: 76px;
  padding: 0;
  background: rgba(7, 9, 13, 0.86);
  border-bottom: 1px solid var(--advance-line);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
}

.navbar .container {
  min-height: 76px;
}

.navbar .navbar-brand {
  gap: 10px;
  padding-right: 2rem;
  color: var(--advance-text);
  font-size: 1.12rem;
  font-weight: 850 !important;
  letter-spacing: -0.04em;
}

.navbar .navbar-brand:hover {
  color: #fff;
}

.navbar .navbar-brand img {
  width: 34px;
  height: 34px;
  max-height: none;
  object-fit: contain;
  border: 1px solid rgba(151, 169, 219, 0.25);
  border-radius: 10px;
  background: linear-gradient(145deg, #161c27, #080b10);
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.35), 0 0 22px rgba(119, 149, 255, 0.12);
}

.navbar .navbar-nav {
  align-items: center;
}

.navbar .navbar-collapse .navbar-nav {
  gap: 0.3rem;
}

.navbar .nav-link {
  position: relative;
  padding: 0.72rem 0.72rem !important;
  color: var(--advance-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.navbar .nav-link::after {
  position: absolute;
  right: 0.72rem;
  bottom: 0.43rem;
  left: 0.72rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--advance-accent), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-item a.nav-link.active {
  color: var(--advance-text);
}

.navbar .nav-link:hover::after,
.navbar .nav-item a.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.navbar .user .btn,
.navbar .cart .btn,
.currency-selector .choices__inner {
  min-height: 42px;
  border-color: var(--advance-line-strong);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}

.navbar .user .btn,
.navbar .cart .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c7d1ff;
  font-size: 0.8rem;
  font-weight: 750;
}

.navbar .user .btn:hover,
.navbar .cart .btn:hover {
  color: #fff;
  background: rgba(119, 149, 255, 0.12);
  border-color: rgba(143, 161, 255, 0.5);
  box-shadow: 0 10px 26px rgba(73, 93, 190, 0.16);
  transform: translateY(-1px);
}

.navbar .cart .btn .count {
  background: linear-gradient(135deg, var(--advance-accent), var(--advance-accent-2));
  box-shadow: 0 0 14px rgba(119, 149, 255, 0.65);
}

/* Shared controls */
.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 11px;
  font-size: 0.84rem;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--advance-accent), #667cf3);
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(103, 126, 244, 0.22);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  color: #fff;
  background: linear-gradient(135deg, #87a1ff, #7185f6);
  border-color: transparent;
  box-shadow: 0 15px 36px rgba(103, 126, 244, 0.32);
  filter: brightness(1.04);
}

.btn-outline-primary {
  color: #b8c5ff;
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(139, 158, 255, 0.3);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #fff;
  background: rgba(119, 149, 255, 0.13);
  border-color: rgba(139, 158, 255, 0.55);
  box-shadow: 0 12px 30px rgba(67, 83, 165, 0.14);
}

.form-control,
.form-select,
.choices__inner,
.input-group-text {
  color: var(--advance-text);
  background: rgba(13, 17, 24, 0.94);
  border: 1px solid var(--advance-line);
  border-radius: 11px;
}

.form-control,
.form-select {
  min-height: 46px;
}

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

.form-control:focus,
.form-select:focus,
.choices.is-focused .choices__inner,
.choices.is-open .choices__inner {
  color: #fff;
  background: #0e131c;
  border-color: rgba(119, 149, 255, 0.58);
  box-shadow: 0 0 0 4px rgba(119, 149, 255, 0.1);
}

.choices__list--dropdown,
.choices__list[aria-expanded],
.dropdown-menu,
.modal-content {
  color: var(--advance-text);
  background: rgba(13, 17, 24, 0.985);
  border: 1px solid var(--advance-line);
  border-radius: 16px;
  box-shadow: var(--advance-shadow);
  backdrop-filter: blur(20px);
}

.modal-header,
.modal-footer {
  border-color: var(--advance-line);
}

.alert {
  border-radius: 13px;
  border-color: var(--advance-line);
}

.card,
.list-group-item,
.accordion-item {
  color: var(--advance-text);
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.92), rgba(9, 12, 18, 0.96));
  border: 1px solid var(--advance-line);
}

/* Hero */
.hero {
  min-height: 650px;
  overflow: hidden;
  background-position: center 48%;
  border-bottom: 1px solid var(--advance-line);
}

.hero .bg-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(119, 149, 255, 0.24), transparent 34%),
    radial-gradient(circle at 25% 88%, rgba(156, 108, 255, 0.14), transparent 33%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.94), rgba(7, 9, 13, 0.68) 50%, rgba(7, 9, 13, 0.88)),
    linear-gradient(180deg, rgba(7, 9, 13, 0.28), #07090d 96%);
}

.hero::before {
  position: absolute;
  z-index: 0;
  top: -210px;
  left: 50%;
  width: 760px;
  height: 760px;
  content: "";
  border: 1px solid rgba(139, 158, 255, 0.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 90px rgba(139, 158, 255, 0.025),
    0 0 0 180px rgba(139, 158, 255, 0.018);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
}

.hero .container {
  position: relative;
  z-index: 2;
  min-height: 650px;
  padding: 6.5rem 2rem 5.5rem;
}

.hero .content {
  max-width: 900px;
}

.advance-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 12px;
  color: #bdc9ff;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.advance-eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--advance-green);
  box-shadow: 0 0 14px var(--advance-green);
}

.hero .content h1 {
  max-width: 870px;
  margin: 0 auto 22px;
  color: var(--advance-text);
  font-size: clamp(3rem, 6.2vw, 5.25rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.066em;
  text-wrap: balance;
  text-shadow: 0 12px 48px rgba(0, 0, 0, 0.42);
}

.hero .content h1::after {
  display: block;
  width: 92px;
  height: 3px;
  margin: 27px auto 0;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--advance-accent) 28%, var(--advance-accent-2) 72%, transparent);
  box-shadow: 0 0 20px rgba(126, 126, 255, 0.72);
}

.hero .content > p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: #aab4c5;
  font-size: clamp(0.98rem, 1.6vw, 1.14rem);
  line-height: 1.7;
  text-wrap: balance;
}

.hero .fake-searchbar {
  max-width: 650px;
  margin-bottom: 18px;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(140, 157, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .fake-searchbar:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(140, 157, 255, 0.22);
}

.hero .fake-searchbar input,
.hero .search-modal .searchbar input {
  min-height: 58px;
  padding-left: 3.7rem;
  color: #b9c3d3;
  background: rgba(9, 12, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  font-size: 0.88rem;
  backdrop-filter: blur(16px);
}

.hero .fake-searchbar svg,
.hero .search-modal .searchbar svg {
  width: 24px;
  height: 24px;
  left: 1.2rem;
  fill: #aebaff;
}

.hero .content > a.btn {
  min-height: 50px;
  margin: 0 0 20px;
  padding-inline: 22px;
}

.hero .content .stats {
  gap: 0;
  max-width: none;
  padding: 10px 8px;
  background: rgba(8, 11, 17, 0.82);
  border: 1px solid var(--advance-line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.hero .content .stats div {
  min-width: 118px;
  padding: 3px 20px;
}

.hero .content .stats div + div {
  border-left: 1px solid var(--advance-line);
}

.hero .content .stats div .value {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 820;
  letter-spacing: -0.025em;
}

.hero .content .stats div .label {
  margin-top: 1px;
  color: var(--advance-muted);
  font-size: 0.64rem;
}

.advance-trust-note {
  margin-top: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  color: #8490a3;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.advance-trust-note span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--advance-accent);
  box-shadow: 0 0 10px rgba(119, 149, 255, 0.72);
}

.hero .search-modal .modal-content {
  overflow: hidden;
  background: rgba(9, 12, 18, 0.99);
  border-color: rgba(145, 163, 255, 0.2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62), 0 0 45px rgba(119, 149, 255, 0.08);
}

.hero .search-modal .modal-dialog {
  --bs-modal-width: 760px;
}

.hero .search-modal .modal-header {
  padding: 16px;
  background: rgba(255, 255, 255, 0.018);
}

.hero .search-modal .modal-body {
  max-height: min(64vh, 620px);
  padding: 10px 16px 16px;
}

.hero .search-modal .product {
  min-height: 88px;
  padding: 11px;
  align-items: center;
  border: 1px solid transparent;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  border-radius: 13px;
}

.hero .search-modal .product:hover {
  color: #fff;
  background: rgba(119, 149, 255, 0.065);
  border-color: rgba(137, 158, 255, 0.2);
  transform: translateX(3px);
}

.hero .search-modal .product .image {
  width: 116px;
  min-width: 116px;
  max-height: 68px;
  overflow: hidden;
  background: #090c12;
  border: 1px solid var(--advance-line);
  border-radius: 10px;
}

.hero .search-modal .product .image img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: 9px;
}

.hero .search-modal .product .text h3 {
  color: #f3f5fa;
  font-size: 0.9rem;
  font-weight: 760;
}

.hero .search-modal .product .text p {
  color: #aab4c5;
}

.hero .search-modal .product .right p,
.hero .search-modal .product .text .stock {
  color: #9fb0ff !important;
  font-size: 0.74rem;
  font-weight: 720;
}

/* Section headings */
.section-title {
  display: block;
  margin-bottom: 1rem;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  color: var(--advance-text);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.section-title h2::before {
  display: block;
  margin-bottom: 10px;
  color: #aebcff;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

[data-component-id="products"] .section-title h2::before {
  content: "Product catalog";
}

[data-component-id="feedbacks"] .section-title h2::before {
  content: "Verified purchases";
}

[data-component-id="socials"] .section-title h2::before {
  content: "Stay connected";
}

.section-subtitle {
  max-width: 620px;
  margin: 0 0 2.35rem;
  color: var(--advance-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

[data-component-id="socials"] .section-subtitle,
[data-component-id="socials"] .section-title {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Product catalog */
[data-component-id="products"] {
  position: relative;
  padding-top: 7.2rem;
  padding-bottom: 7.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

[data-component-id="products"]::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 50% 0, rgba(119, 149, 255, 0.10), transparent 31rem),
    linear-gradient(180deg, #0a0d13, #07090d);
}

.products.row {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 0.2rem;
}

.products.row > [class*="col-"] {
  display: flex;
}

.products .card {
  width: 100%;
  height: 100%;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(17, 23, 34, 0.98), rgba(9, 12, 18, 0.98) 72%);
  border: 1px solid rgba(145, 163, 255, 0.16);
  border-radius: 21px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
  transform: translateZ(0);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.products .card::after {
  position: absolute;
  z-index: -1;
  right: -90px;
  bottom: -130px;
  width: 220px;
  height: 220px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(119, 149, 255, 0.13), transparent 68%);
  pointer-events: none;
}

.products .card:hover {
  border-color: rgba(137, 158, 255, 0.42);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.43), 0 0 34px rgba(119, 149, 255, 0.07);
  transform: translateY(-7px);
}

.products .card .card-img-top {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at 50% 45%, rgba(119, 149, 255, 0.18), transparent 62%),
    #0b0f16;
  border-radius: 0;
}

.products .card .card-img-top::after {
  position: absolute;
  right: 7%;
  bottom: 0;
  left: 7%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(137, 158, 255, 0.8), transparent);
  box-shadow: 0 0 18px rgba(119, 149, 255, 0.55);
}

.products .card .card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: saturate(0.82) contrast(1.07) brightness(0.82);
  transition: transform 0.34s ease, filter 0.34s ease;
}

.products .card:hover .card-img-top img {
  transform: scale(1.045);
  filter: saturate(0.98) contrast(1.08) brightness(0.9);
}

.products .card .card-img-top .overlay {
  z-index: 3;
  inset: 0;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, transparent 48%, rgba(7, 9, 13, 0.78));
  opacity: 0;
}

.products .card:hover .card-img-top .overlay {
  bottom: 0;
  opacity: 1;
}

.products .card .card-img-top .overlay .btn {
  min-height: 38px;
  background: rgba(12, 16, 24, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.products .card .card-img-top .badges {
  z-index: 4;
  top: 12px;
  right: 12px;
}

.products .card .card-img-top .badges div {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.26);
  font-size: 0.62rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.products .card .card-body {
  min-height: 160px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.products .card .card-title {
  order: 1;
  margin: 0 0 10px;
  color: var(--advance-text);
  font-size: 1.04rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.products .card .info {
  order: 2;
  margin: 0;
  color: var(--advance-muted);
  font-size: 0.76rem;
}

.products .card .info .price {
  color: #e8ecf7;
  font-weight: 720;
}

.products .card .info .text-primary {
  color: #aebcff !important;
  font-weight: 720;
}

.advance-card-cta {
  order: 3;
  margin-top: auto;
  padding-top: 19px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #94a8ff;
  border-top: 1px solid var(--advance-line);
  font-size: 0.72rem;
  font-weight: 780;
}

.advance-card-cta i {
  font-size: 1rem;
  font-style: normal;
  transition: transform 0.2s ease;
}

.products .card:hover .advance-card-cta i {
  transform: translateX(4px);
}

/* Feedback and community */
[data-component-id="feedbacks"] {
  position: relative;
  background: transparent !important;
  border-bottom: 1px solid var(--advance-line);
}

.testimonial {
  height: calc(100% - 1.5rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
  color: var(--advance-text);
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.88), rgba(9, 12, 18, 0.94));
  border: 1px solid var(--advance-line);
  border-radius: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
}

.testimonial .main {
  min-height: 210px;
  padding: 22px;
}

.testimonial .quote {
  color: #8499ff;
  opacity: 0.8;
}

.testimonial .content,
.testimonial .message p,
.testimonial .reply p {
  color: #c7cfdb;
}

.testimonial > .footer {
  color: var(--advance-muted);
  background: rgba(255, 255, 255, 0.022);
  border-color: var(--advance-line);
}

.socials {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 115%, rgba(119, 108, 255, 0.25), transparent 42%),
    linear-gradient(180deg, #0a0d14, #080a0f);
  border-bottom: 1px solid var(--advance-line);
}

.socials .list .social {
  min-height: 84px;
  margin-bottom: 1rem;
  padding: 18px;
  color: #dce2ee;
  background: rgba(13, 17, 24, 0.78);
  border: 1px solid var(--advance-line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.socials .list .social:hover {
  color: #fff;
  background: rgba(119, 149, 255, 0.08);
  border-color: rgba(137, 158, 255, 0.38);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.32);
  transform: translateY(-4px);
}

.socials .list .social .left svg {
  color: #9eb0ff;
}

/* Product detail */
.product-wrapper {
  background: transparent;
}

#productImageCarousel {
  margin-bottom: 1.1rem !important;
}

.product-wrapper > .container > section > .container {
  max-width: var(--advance-shell);
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.product-wrapper .carousel-inner,
.product-wrapper > .container > section > .container > .row > .col-lg-6:first-child > .card-img-top,
.product-wrapper > .container > section > .container > .row > .col-lg-6:first-child > .product-img-placeholder {
  overflow: hidden;
  background: linear-gradient(145deg, #111722, #090c12);
  border: 1px solid var(--advance-line);
  border-radius: 22px;
  box-shadow: var(--advance-shadow);
}

.product-wrapper .carousel-item img,
.product-wrapper .card-img-top {
  border-radius: 22px;
}

.advance-gallery-trigger {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  padding: 0;
  color: inherit;
  background: #090c12;
  border: 0;
  border-radius: 22px;
  cursor: zoom-in;
}

.advance-gallery-trigger img {
  transition: filter 0.25s ease, transform 0.35s ease;
}

.advance-gallery-trigger:hover img,
.advance-gallery-trigger:focus-visible img {
  filter: brightness(0.82);
  transform: scale(1.012);
}

.advance-gallery-trigger:focus-visible {
  outline: 2px solid var(--advance-accent);
  outline-offset: 3px;
}

.advance-zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  background: rgba(8, 11, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  font-size: 0.68rem;
  font-weight: 750;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(12px);
}

.advance-zoom-hint i {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
  border: 1.5px solid #b9c6ff;
  border-radius: 50%;
}

.advance-zoom-hint i::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 5px;
  height: 1.5px;
  content: "";
  background: #b9c6ff;
  transform: rotate(45deg);
}

.advance-gallery-trigger:hover .advance-zoom-hint,
.advance-gallery-trigger:focus-visible .advance-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.advance-gallery-single {
  border: 1px solid var(--advance-line);
  box-shadow: var(--advance-shadow);
}

.product-wrapper .thumbnails {
  gap: 10px;
  margin-top: 12px;
}

.product-wrapper .thumbnails button {
  overflow: hidden;
  border: 1px solid var(--advance-line);
  border-radius: 11px;
  background: var(--advance-panel);
}

.product-wrapper .thumbnails button.active {
  border-color: rgba(119, 149, 255, 0.7);
  box-shadow: 0 0 0 3px rgba(119, 149, 255, 0.1);
}

.product-wrapper > .container > section > .container > .row > .col-lg-6:last-child {
  align-self: flex-start;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.94), rgba(9, 12, 18, 0.97));
  border: 1px solid rgba(145, 163, 255, 0.16);
  border-radius: 22px;
  box-shadow: var(--advance-shadow);
}

.product-wrapper h1.display-6 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  font-weight: 820 !important;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.product-wrapper .status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--advance-line);
  border-radius: 999px;
}

.product-wrapper .live-stats {
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--advance-line);
  border-radius: 12px;
}

.product-wrapper .badges div {
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.variants {
  gap: 10px;
}

.variants .variant {
  padding: 14px;
  color: var(--advance-text);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--advance-line);
  border-radius: 13px;
}

.variants .variant:hover {
  background: rgba(119, 149, 255, 0.06);
  border-color: rgba(119, 149, 255, 0.38);
}

.variants .variant.active {
  color: #fff;
  background: linear-gradient(145deg, rgba(93, 117, 235, 0.2), rgba(112, 76, 206, 0.13));
  border-color: rgba(126, 150, 255, 0.62);
  box-shadow: 0 10px 28px rgba(68, 80, 165, 0.15), inset 0 1px rgba(255, 255, 255, 0.05);
}

.variants .variant .name {
  color: #f4f6fb;
  font-weight: 760;
}

.variants .variant .price {
  color: #cbd4ff;
  font-weight: 800;
}

.buy-buttons .btn {
  min-height: 52px;
  border-radius: 13px;
}

.product-tabs {
  margin-top: 0;
  padding: clamp(1.3rem, 2.6vw, 2rem);
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.78), rgba(9, 12, 18, 0.88));
  border: 1px solid var(--advance-line);
  border-radius: 20px;
}

.advance-product-details-row .product-tabs {
  min-height: 120px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.advance-product-tabs-nav {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--advance-line);
}

.product-tabs .editor {
  color: #bec7d5;
  line-height: 1.72;
}

.product-tabs .editor h2,
.product-tabs .editor h3,
.product-tabs .editor h4 {
  color: #f1f4fa;
}

.addon-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--advance-line);
}

/* Product lightbox */
body.advance-lightbox-open {
  overflow: hidden;
}

.advance-lightbox {
  position: fixed;
  z-index: 2200;
  inset: 0;
  padding: 32px clamp(60px, 7vw, 120px);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 20px;
  color: #fff;
  background: rgba(3, 5, 8, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  backdrop-filter: blur(20px);
}

.advance-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.advance-lightbox-stage {
  width: 100%;
  height: min(84vh, 900px);
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 14px;
}

.advance-lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  align-self: center;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.7);
}

.advance-lightbox-stage figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dbe1ec;
  font-size: 0.78rem;
  font-weight: 700;
}

.advance-lightbox-stage figcaption small {
  color: #8e99ab;
}

.advance-lightbox-close,
.advance-lightbox-nav {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #d9e0ec;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.advance-lightbox-close:hover,
.advance-lightbox-nav:hover {
  color: #fff;
  background: rgba(119, 149, 255, 0.13);
  border-color: rgba(139, 158, 255, 0.42);
  transform: translateY(-2px);
}

.advance-lightbox-close:focus-visible,
.advance-lightbox-nav:focus-visible {
  outline: 2px solid var(--advance-accent);
  outline-offset: 3px;
}

.advance-lightbox-close svg,
.advance-lightbox-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advance-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

/* Cart, status, policies, blog and customer area */
.cart .section-title,
.product-wrapper .section-title,
[data-component-id="status-page"] .section-title {
  margin-bottom: 2rem;
}

.cart-item-bg,
.cart .form,
.status-card,
.status-group,
.blog-post-card,
.customer-sidebar,
.ticket-messages-container {
  background: linear-gradient(145deg, rgba(17, 23, 34, 0.9), rgba(9, 12, 18, 0.96)) !important;
  border: 1px solid var(--advance-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.cart .form {
  position: sticky;
  top: 126px;
}

.cart-product-image {
  border-radius: 11px !important;
}

.cart-quantity-controls {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--advance-line);
}

.cart-qty-btn,
.cart-qty-input {
  color: #dce3ef !important;
  background: transparent !important;
}

.status-cards {
  gap: 12px;
}

.status-card {
  min-height: 78px;
  padding: 18px 20px;
  color: var(--advance-text);
}

.status-card:hover {
  color: #fff;
  border-color: rgba(137, 158, 255, 0.4) !important;
  transform: translateY(-3px);
}

.card {
  border-radius: 16px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
}

.table {
  --bs-table-color: #d8dfea;
  --bs-table-bg: transparent;
  --bs-table-border-color: var(--advance-line);
  --bs-table-striped-color: #d8dfea;
  --bs-table-striped-bg: rgba(255, 255, 255, 0.018);
  margin-bottom: 0;
}

.table > :not(caption) > * > * {
  padding: 0.95rem 0.8rem;
}

.customer-sidebar .nav-link {
  color: var(--advance-muted);
  border-radius: 10px;
}

.customer-sidebar .nav-link:hover,
.customer-sidebar .nav-link.active {
  color: #fff;
  background: rgba(119, 149, 255, 0.1);
}

.editor {
  color: #c1cad7;
  line-height: 1.75;
}

.editor a {
  color: #aebcff;
}

.editor hr {
  border-color: var(--advance-line);
}

/* Footer */
footer.footer {
  position: relative;
  overflow: hidden;
  color: var(--advance-muted);
  background:
    radial-gradient(circle at 10% 120%, rgba(119, 149, 255, 0.11), transparent 28rem),
    #080a0f;
  border-top: 1px solid var(--advance-line);
}

footer.footer::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(92%, var(--advance-shell));
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(119, 149, 255, 0.48), transparent);
  transform: translateX(-50%);
}

.footer .logo p {
  color: #f3f5fa;
  font-size: 1.2rem !important;
  font-weight: 820 !important;
  letter-spacing: -0.035em;
}

.footer .logo p::after {
  display: block;
  margin-top: 8px;
  color: #7f899b;
  content: "Official storefront";
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.footer h5 {
  color: #dfe4ed;
  font-size: 0.67rem;
  font-weight: 820;
  letter-spacing: 0.14em;
}

.footer .nav li a {
  color: #8f9aac;
  font-size: 0.79rem;
}

.footer .nav li a:hover {
  color: #c5cfff;
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1199.98px) {
  .navbar .nav-link {
    padding-inline: 0.48rem !important;
    font-size: 0.76rem;
  }

  .navbar .navbar-brand {
    padding-right: 1rem;
  }
}

@media (max-width: 991.98px) {
  .container {
    --bs-gutter-x: 2rem;
  }

  .navbar .container {
    min-height: 68px;
  }

  .navbar {
    min-height: 68px;
  }

  .navbar .navbar-collapse {
    margin: 0.7rem -0.2rem 0;
    padding: 0.8rem;
    background: rgba(10, 13, 19, 0.98);
    border: 1px solid var(--advance-line);
    border-radius: 15px;
    box-shadow: var(--advance-shadow);
  }

  .navbar .navbar-nav {
    align-items: stretch;
  }

  .navbar .nav-link {
    padding: 0.72rem 0.75rem !important;
    font-size: 0.88rem;
  }

  .navbar .nav-link::after {
    display: none;
  }

  .navbar .user .btn,
  .navbar .cart .btn,
  .currency-selector .choices__inner {
    width: 100%;
  }

  .hero,
  .hero .container {
    min-height: 600px;
  }

  .product-wrapper > .container > section > .container > .row > .col-lg-6:last-child {
    margin-top: 0.5rem;
  }

  .cart .form {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .container {
    --bs-gutter-x: 1.5rem;
  }

  .py-20 {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .py-5-nav {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  .announcement {
    min-height: 31px;
    padding-inline: 10px;
    font-size: 0.63rem;
  }

  .navbar .navbar-brand {
    font-size: 1rem;
  }

  .navbar .navbar-brand img {
    width: 30px;
    height: 30px;
  }

  .hero,
  .hero .container {
    min-height: 570px;
  }

  .hero .container {
    padding: 5.2rem 1rem 4rem;
  }

  .hero .content h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero .content > p {
    font-size: 0.94rem;
  }

  .hero .content .stats {
    width: 100%;
  }

  .hero .content .stats div {
    min-width: 0;
    flex: 1 1 30%;
    padding-inline: 8px;
  }

  .hero .content .stats div .value {
    font-size: 0.95rem;
  }

  .hero .content .stats div .label {
    font-size: 0.56rem;
  }

  .advance-trust-note {
    font-size: 0.58rem;
  }

  [data-component-id="products"] {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-title h1,
  .section-title h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .products .card .card-body {
    min-height: 150px;
  }

  .product-wrapper > .container > section > .container > .row > .col-lg-6:last-child,
  .product-tabs {
    border-radius: 16px;
  }

  .advance-zoom-hint {
    right: 10px;
    bottom: 10px;
    opacity: 1;
    transform: none;
  }

  .advance-lightbox {
    padding: 70px 12px 20px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 7px;
  }

  .advance-lightbox-stage {
    height: 76vh;
  }

  .advance-lightbox-stage img {
    border-radius: 11px;
  }

  .advance-lightbox-close {
    top: 12px;
    right: 12px;
  }

  .advance-lightbox-close,
  .advance-lightbox-nav {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .cart-item-bg {
    border-radius: 14px !important;
  }

  .table-responsive,
  .card:has(> .table) {
    overflow-x: auto;
  }
}

@media (max-width: 420px) {
  .hero .content .stats div .label {
    max-width: 80px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
