/* GaloreLB storefront skin */
:root {
  --galore-purple: #a536ff;
  --galore-purple-bright: #b13cff;
  --galore-bg: #111111;
  --galore-panel: #171717;
  --galore-border: #343434;
  --galore-muted: #999999;
}

html,
body {
  background: var(--galore-bg) !important;
}

body {
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(165, 54, 255, 0.035), transparent 24rem),
    radial-gradient(circle at 83% 72%, rgba(165, 54, 255, 0.025), transparent 28rem);
}

#galore-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

#app {
  position: relative;
  z-index: 1;
}

.wrap {
  width: min(1200px, calc(100% - 32px));
  max-width: 1200px;
}

.sa-header {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
}

.sa-breadcrumbs {
  display: none !important;
}

/* Announcement */
.galore-announcement {
  width: 100%;
  overflow: hidden;
  background: var(--galore-purple);
  color: #1b1024;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
}

.galore-announcement-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: galore-marquee 26s linear infinite;
}

.galore-announcement-copy {
  min-width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
  padding: 13px 24px;
}

.galore-announcement a,
.galore-announcement span {
  color: inherit;
}

.galore-announcement a:hover {
  text-decoration: underline;
}

@keyframes galore-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Navbar */
.galore-navbar {
  padding: 14px 0 0;
  background: transparent;
}

.galore-navbar-shell {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 0 26px;
  background: rgba(22, 22, 22, 0.96);
  border: 1px solid var(--galore-border);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.galore-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--galore-purple) !important;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.galore-brand img {
  height: 32px;
  width: auto;
  border-radius: 5px;
}

.galore-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.galore-nav-links .sa-navbar-link {
  color: #f1f1f1;
  font-size: 15px;
  line-height: 1;
  font-weight: 600;
  padding: 13px 8px;
  border-radius: 7px;
}

.galore-nav-links .sa-navbar-link:hover,
.galore-nav-links .sa-navbar-link.is-active {
  color: var(--galore-purple);
  background: transparent;
}

.galore-nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.galore-login-button,
.galore-create-button,
.galore-cart-button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  transition: 160ms ease;
}

.galore-login-button {
  padding: 0 16px;
  color: var(--galore-purple);
  background: transparent;
  border: 1px solid var(--galore-border);
}

.galore-login-button:hover {
  border-color: var(--galore-purple);
  background: rgba(165, 54, 255, 0.06);
}

.galore-or {
  color: #f1f1f1;
  font-size: 14px;
  font-weight: 600;
}

.galore-create-button {
  padding: 0 18px;
  color: #151515;
  background: var(--galore-purple);
  border: 1px solid var(--galore-purple);
}

.galore-create-button:hover {
  background: var(--galore-purple-bright);
  border-color: var(--galore-purple-bright);
  transform: translateY(-1px);
}

.galore-cart-button {
  gap: 2px;
  min-width: 78px;
  padding: 0 14px;
  color: var(--galore-purple);
  background: transparent;
  border: 1px solid var(--galore-border);
}

.galore-cart-button:hover {
  border-color: var(--galore-purple);
  background: rgba(165, 54, 255, 0.06);
}

.galore-cart-button svg {
  width: 21px;
  height: 21px;
}

.galore-mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--galore-border);
  border-radius: 9px;
  color: var(--galore-purple);
}

.galore-mobile-toggle svg {
  width: 22px;
  height: 22px;
}

.galore-mobile-menu {
  margin-top: 8px;
  padding: 10px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--galore-border);
  border-radius: 10px;
  background: rgba(22, 22, 22, 0.98);
}

.galore-mobile-menu a,
.galore-mobile-menu button {
  width: 100%;
  display: block;
  padding: 12px 13px;
  color: #f2f2f2;
  text-align: left;
  border-radius: 8px;
}

.galore-mobile-menu a:hover,
.galore-mobile-menu button:hover {
  color: var(--galore-purple);
  background: rgba(255, 255, 255, 0.035);
}

/* Hero */
.galore-hero {
  padding: 86px 0 46px;
  text-align: center;
}

.galore-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.galore-hero .sa-hero-title {
  margin: 0;
  color: var(--galore-purple);
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  font-weight: 750;
  letter-spacing: -0.045em;
}

.galore-hero .sa-hero-subtitle {
  margin: 22px 0 0;
  color: #f0f0f0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
}

/* Product search and filters */
.galore-products {
  padding: 10px 0 78px;
}

.galore-search-wrap {
  position: relative;
  width: 100%;
}

.galore-search-wrap svg {
  position: absolute;
  left: 17px;
  top: 50%;
  width: 20px;
  height: 20px;
  color: #8f8f8f;
  transform: translateY(-50%);
  pointer-events: none;
}

.galore-search-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 18px 0 49px;
  color: #ededed;
  background: rgba(23, 23, 23, 0.96);
  border: 1px solid var(--galore-border);
  border-radius: 11px;
  outline: none;
  font-size: 15px;
  transition: 160ms ease;
}

.galore-search-wrap input::placeholder {
  color: #909090;
}

.galore-search-wrap input:focus {
  border-color: var(--galore-purple);
  box-shadow: 0 0 0 3px rgba(165, 54, 255, 0.12);
}

.galore-category-label {
  margin-top: 38px;
  color: #969696;
  text-align: center;
  font-size: 15px;
}

.galore-category-list {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.galore-category-pill {
  min-width: 70px;
  padding: 9px 15px;
  color: var(--galore-purple);
  border: 1px solid var(--galore-purple);
  border-radius: 9px;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  transition: 160ms ease;
}

.galore-category-pill:hover,
.galore-category-pill.is-active {
  color: #151515;
  background: var(--galore-purple);
}

.galore-total {
  margin: 39px 0 28px;
  color: #f5f5f5;
  text-align: center;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 700;
}

/* Product grid and cards */
.galore-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

.galore-product-card {
  height: 100%;
  min-height: 347px;
  display: flex;
  flex-direction: column;
  padding: 16px;
  color: #f5f5f5;
  background: rgba(23, 23, 23, 0.97);
  border: 1px solid var(--galore-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

.galore-product-card:hover {
  color: #f5f5f5;
  transform: translateY(-3px);
  border-color: rgba(165, 54, 255, 0.62);
  box-shadow: 0 13px 36px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(165, 54, 255, 0.06);
}

.galore-product-image-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0d0d0d;
  border: 1px solid #c7c7c7;
  border-radius: 4px;
}

.galore-product-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

.galore-product-card:hover .galore-product-image-frame img {
  transform: scale(1.018);
}

.galore-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--galore-purple);
  background: linear-gradient(145deg, #0d0d0d, #171717);
}

.galore-product-placeholder svg {
  width: 48px;
  height: 48px;
}

.galore-product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 29px;
}

.galore-product-title {
  min-height: 48px;
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: #f4f4f4;
  text-align: center;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.02em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.galore-product-stock {
  margin: 9px 0 18px;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
}

.galore-product-stock .is-in-stock {
  color: var(--galore-purple);
}

.galore-product-stock .is-out-of-stock {
  color: #ff4a4a;
}

.galore-purchase-bar {
  margin-top: auto;
  min-height: 47px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  padding: 0 20px;
  color: #160c1d;
  background: var(--galore-purple);
  border-radius: 9px;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  text-align: center;
  transition: 160ms ease;
}

.galore-product-card:hover .galore-purchase-bar {
  background: var(--galore-purple-bright);
}

.galore-purchase-divider {
  width: 1px;
  height: 20px;
  background: rgba(22, 12, 29, 0.82);
}

.galore-empty-state {
  padding: 60px 20px;
  color: #a2a2a2;
  text-align: center;
  border: 1px solid var(--galore-border);
  border-radius: 12px;
  background: rgba(23, 23, 23, 0.94);
}

/* Footer */
.galore-footer {
  margin-top: 0 !important;
  border-top: 1px solid #2f2f2f;
  background: rgba(16, 16, 16, 0.96);
}

.galore-footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #858585;
  font-size: 13px;
}

.galore-footer nav {
  display: flex;
  gap: 18px;
}

.galore-footer a {
  color: #a5a5a5;
}

.galore-footer a:hover {
  color: var(--galore-purple);
}

/* Keep inner SellAuth pages visually consistent. */
.sa-tpl-product .component,
.sa-tpl-cart .component,
.sa-tpl-faq .component,
.sa-tpl-feedback .component,
.sa-tpl-customer-dashboard .component,
.sa-tpl-customer-invoices .component,
.sa-tpl-customer-tickets .component,
.sa-tpl-customer-ticket .component,
.sa-tpl-products .component {
  position: relative;
}

.input,
textarea.input,
select.input {
  background-color: #171717 !important;
  border-color: var(--galore-border) !important;
}

.bg-surface,
.bg-surface-raised {
  background-color: #171717;
}

/* Purple scrollbar like the reference storefront. */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--galore-purple) #141414;
}

*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

*::-webkit-scrollbar-track {
  background: #141414;
}

*::-webkit-scrollbar-thumb {
  background: var(--galore-purple);
  border-radius: 999px;
}

@media (max-width: 1080px) {
  .galore-navbar-shell {
    gap: 18px;
    padding: 0 18px;
  }

  .galore-nav-links {
    gap: 8px;
  }

  .galore-create-button {
    padding-inline: 13px;
  }

  .galore-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .galore-nav-links,
  .galore-nav-actions {
    display: none;
  }

  .galore-mobile-toggle {
    display: inline-flex;
  }

  .galore-navbar-shell {
    min-height: 64px;
  }

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

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 22px, 1200px);
  }

  .galore-announcement {
    font-size: 13px;
  }

  .galore-announcement-copy {
    padding-block: 11px;
  }

  .galore-announcement-stars {
    display: none;
  }

  .galore-navbar {
    padding-top: 9px;
  }

  .galore-navbar-shell {
    padding-inline: 14px;
  }

  .galore-brand {
    font-size: 20px;
  }

  .galore-hero {
    padding: 60px 0 32px;
  }

  .galore-hero .sa-hero-title {
    font-size: 43px;
  }

  .galore-hero .sa-hero-subtitle {
    max-width: 330px;
    margin-top: 16px;
    font-size: 14px;
  }

  .galore-products {
    padding-bottom: 52px;
  }

  .galore-category-label {
    margin-top: 28px;
  }

  .galore-category-list {
    margin-top: 17px;
  }

  .galore-total {
    margin: 31px 0 22px;
    font-size: 21px;
  }

  .galore-product-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .galore-product-card {
    min-height: 0;
  }

  .galore-product-title {
    min-height: 0;
  }

  .galore-footer-inner {
    padding: 22px 0;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .galore-announcement-track {
    animation: none;
  }

  .galore-product-card,
  .galore-product-image-frame img,
  .galore-create-button {
    transition: none;
  }
}