/*
  Neo theme stylesheet

  IMPORTANT:
  - Must be scoped to [data-theme="neo"] to avoid leaking styles to other themes.
  - This file is intentionally minimal at first; we'll port exact CSS from the template in the next steps.
*/



@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-Thin.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-Light.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-Regular.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-Medium.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-Bold.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-ExtraBold.woff") format("woff");
}
@font-face {
  font-family: "YekanBakh";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/themes/neo/fonts/yekanbakh/YekanBakhFaNum-Black.woff") format("woff");
}

[data-theme="neo"] {
  /* Brand: store theme overrides via --primary-color / --secondary-color / --attention-color */
  --neo-primary: var(--primary-color, #155eef);
  --neo-secondary: var(--secondary-color, #7568f8);
  --neo-accent: var(--attention-color, #666ce8);
  --neo-link: var(--neo-primary);
  --neo-text: #4c4c4c;
  --neo-muted: #787878;
  --neo-bg: #ffffff;
  --neo-surface: #ffffff;
  --neo-border: #e3e3e3;
  --neo-search-bg: #f4f4f7;
  --neo-radius-sm: 0.5rem;
  --neo-radius-md: 0.875rem;
  --neo-radius-lg: 0.875rem;
  --neo-radius-xl: 1rem;
  --neo-shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.06);
  --neo-shadow-card: 0 2px 14px rgba(15, 23, 42, 0.08);
  --neo-shadow-header: 0 2px 12px rgba(15, 23, 42, 0.06);
  --neo-bottom-nav-height: 96px;
  --neo-safe-bottom: env(safe-area-inset-bottom, 0px);
  --neo-spacing-section: 1.25rem;
  --neo-motion-fast: 150ms;
  --neo-motion-normal: 200ms;
}

/* Font: YekanBakh (copied from template assets) */
[data-theme="neo"] body {
  direction: rtl;
  text-align: right;
  color: var(--neo-text);
  background: var(--store-page-bg, var(--neo-bg));
  overflow-x: hidden;
  font-family: "YekanBakh", ui-sans-serif, system-ui, sans-serif;
}

[data-theme="neo"] a {
  font-family: "YekanBakh", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

[data-theme="neo"] h1,
[data-theme="neo"] h2,
[data-theme="neo"] h3,
[data-theme="neo"] h4,
[data-theme="neo"] h5,
[data-theme="neo"] h6,
[data-theme="neo"] span,
[data-theme="neo"] div {
  font-family: "YekanBakh", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}













[data-theme="neo"] body {
  color: var(--neo-text);
  background: #f7f8fb;
  overflow-x: hidden;
}

/* Container: match template max widths (main-container: 1440px). */
[data-theme="neo"] .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

[data-theme="neo"] .main-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

[data-theme="neo"] a {
  text-decoration: none;
}

/* Links hover color from template */
[data-theme="neo"] a:hover {
  text-decoration: none;
}

/* =========================
   Template Port (Curated)
   - Source: themes/neo/assets/css/main.css + responsive.css
   - Only the selectors we actually use in Neo widgets.
   ========================= */

/* Search overlay (used by header search result UX in template; kept for future parity) */
[data-theme="neo"] .overlay-search-box {
  position: fixed;
  top: 80px;
  inset-inline-start: 0;
  width: 100%;
  height: 1500px;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}

/* Offcanvas (mini cart) - planned parity (we use drawer now, but keep styles scoped) */
[data-theme="neo"] .offcanvas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 60;
  display: none;
}

[data-theme="neo"] .offcanvas-overlay.active {
  display: block;
}

/* Product box — fashion portrait cards */
[data-theme="neo"] .neo-product-box {
  width: 100%;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  position: relative;
  box-shadow: none;
  transition: transform var(--neo-motion-normal) ease;
}

[data-theme="neo"] .neo-product-box:hover {
  box-shadow: none;
  z-index: 1;
}

[data-theme="neo"] .neo-product-box-image {
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

[data-theme="neo"] .neo-product-box-image img {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
}

[data-theme="neo"] .neo-product-box-discount {
  background: linear-gradient(135deg, var(--neo-primary) 0%, var(--neo-secondary) 100%);
  color: #fff;
  display: inline-block;
  font-size: 12px;
  border-radius: 50px;
  padding: 4px 8px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  position: absolute;
  left: 8px;
  top: 8px;
  width: auto;
  min-width: 36px;
}

[data-theme="neo"] .neo-product-box-title {
  text-align: center;
  margin-top: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--neo-text);
  overflow: hidden;
  max-width: 100%;
  line-height: 1.6;
}

[data-theme="neo"] .neo-product-box-price {
  height: auto;
  font-size: 0.875rem;
  text-align: center;
}

[data-theme="neo"] .neo-product-box-price del {
  color: #bdbdbd;
  font-size: 0.75rem;
  display: block;
  margin-bottom: 2px;
}

[data-theme="neo"] .neo-product-box-price ins {
  width: 100%;
  color: var(--neo-primary);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

[data-theme="neo"] .neo-add-to-cart {
  color: #fff;
  border: none;
  background-color: var(--neo-primary);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
}

/* Sidebar widget (search filters) */
[data-theme="neo"] .neo-widget {
  width: 100%;
  height: auto;
  padding: 15px;
  position: relative;
  border-radius: 5px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0px 2px 4px rgba(126, 142, 177, 0.12);
  border: 1px solid #eee;
}

[data-theme="neo"] .neo-widget-title-btn {
  font-size: 16px;
  background: transparent;
  box-shadow: none;
  margin-top: 10px;
  font-weight: 500;
  padding: 0;
  width: 100%;
  text-align: right;
}

[data-theme="neo"] .neo-widget-title-btn .neo-widget-chevron {
  float: left;
  transition: 0.2s;
}

[data-theme="neo"] .neo-widget-title-btn[aria-expanded="true"] .neo-widget-chevron {
  transform: rotate(180deg);
}

[data-theme="neo"] .neo-filter-input {
  background-color: #fafafa;
  border: none;
  border-radius: 50px;
  padding: 1.1rem 3.25rem 1.1rem 1rem;
  font-size: 14px;
  color: #616161;
  box-shadow: none;
  width: 100%;
}

[data-theme="neo"] .neo-filter-input::placeholder {
  color: rgb(184, 184, 184);
  font-size: 12px;
}

[data-theme="neo"] .neo-filter-search-btn {
  width: 45px;
  height: 45px;
  position: absolute;
  top: 0;
  right: 4px;
  border-radius: 0 50px 50px 0;
  padding: 0;
  text-align: center;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

[data-theme="neo"] .neo-filter-search-btn img {
  width: 50px;
  height: 100%;
}

[data-theme="neo"] .neo-filter-link {
  color: #545454;
  text-decoration: none;
  padding-right: 20px;
  padding-top: 5px;
  display: block;
  margin-bottom: 5px;
}

[data-theme="neo"] .neo-filter-link.active {
  color: #333;
  font-size: 14px;
}

[data-theme="neo"] .neo-read-more {
  color: var(--neo-primary);
  display: block;
  text-align: center;
  font-size: 14px;
  padding: 10px 15px 5px;
  margin-top: 15px;
}

/* Range slider styles (noUiSlider) */
[data-theme="neo"] .range-slider {
  padding-top: 0.5rem;
}

[data-theme="neo"] .noUi-target {
  border: 0;
  border-radius: 0;
  background-color: #e7e7e7;
  box-shadow: none;
}

[data-theme="neo"] .noUi-horizontal {
  height: 5px;
  margin-right: 10px;
}

[data-theme="neo"] .noUi-horizontal .noUi-handle {
  top: -8px;
  left: -0.375rem;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

[data-theme="neo"] .noUi-handle:before,
[data-theme="neo"] .noUi-handle:after {
  display: none;
}

[data-theme="neo"] .noUi-horizontal .noUi-handle.noUi-handle-lower,
[data-theme="neo"] .noUi-horizontal .noUi-handle.noUi-handle-upper {
  background-color: #fff;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
  border: 1px solid #d4d4d4;
}

[data-theme="neo"] .noUi-connect {
  background: var(--neo-primary);
}

[data-theme="neo"] .filter-range {
  font-size: 13px;
  text-align: right;
  color: #9e9e9e;
}

[data-theme="neo"] .filter-range .example-val {
  color: var(--neo-primary);
  font-size: 20px;
  font-weight: 700;
}

[data-theme="neo"] .btn-range {
  color: #fff;
  border: none;
  background-image: linear-gradient(to right, #ee4a63 0%, var(--neo-primary) 100%);
  background-repeat: repeat-x;
  font-size: 14px;
  transition: all 300ms ease-out;
  border-radius: 0;
  padding: 10px 15px;
  width: 100%;
  margin-top: 10px;
  box-shadow: none;
}

[data-theme="neo"] .btn-range:hover {
  opacity: 0.7;
  transition: all 300ms ease-out;
  color: #fff;
}

/* Profile (template port - curated) */
[data-theme="neo"] .neo-profile-sidebar {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

[data-theme="neo"] .neo-profile-box {
  box-shadow: 0 1px 4px 2px rgba(0, 0, 0, 0.12);
  position: relative;
  display: block;
  background-color: #fff;
  border-radius: 0.3rem;
  width: 100%;
  margin-bottom: 25px;
  padding: 7px 5px;
  overflow: hidden;
}

[data-theme="neo"] .neo-profile-box-inner {
  padding: 1.25rem;
}

[data-theme="neo"] .neo-profile-phone {
  font-size: 14px;
}

[data-theme="neo"] .neo-profile-wallet-row {
  display: block;
  font-size: 14px;
  color: #212121;
  float: right;
  width: 100%;
  margin-bottom: 5px;
  padding-bottom: 10px;
}

[data-theme="neo"] .neo-profile-wallet-title {
  float: right;
  margin-top: 10px;
  color: #bdbdbd;
  font-weight: 500;
}

[data-theme="neo"] .neo-profile-wallet-price {
  float: left;
  text-align: left;
  margin-top: 10px;
  color: #bdbdbd;
  font-weight: 500;
}

[data-theme="neo"] .neo-profile-signout {
  color: var(--neo-primary);
  margin-top: 20px;
  border-color: #fff;
  background-color: #fff;
  border-radius: 50px;
  font-weight: 700;
  padding: 0.6rem 3.75rem;
}

[data-theme="neo"] .neo-profile-signout:hover {
  background-color: var(--neo-primary);
  color: #fff;
}

[data-theme="neo"] .neo-profile-menu a {
  display: block;
  padding: 0.7rem;
  transition: all 400ms ease;
  width: 100%;
  color: #616161;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 100px;
}

[data-theme="neo"] .neo-profile-menu a:hover {
  background-color: #eee;
}

[data-theme="neo"] .neo-profile-menu a[data-active="true"] {
  color: #06b57c;
  background-color: rgba(6, 181, 84, 0.1);
}

[data-theme="neo"] .neo-profile-content {
  width: 100%;
  margin-top: 20px;
}

[data-theme="neo"] .neo-profile-card {
  box-shadow: 0 1px 4px 2px rgba(0, 0, 0, 0.12);
  background-color: #fafafa;
  border-radius: 0.3rem;
  width: 100%;
  margin-bottom: 25px;
  padding: 7px 5px;
}

[data-theme="neo"] .neo-profile-card-header {
  position: relative;
  background-color: transparent;
  border: none;
  padding-right: 35px;
  margin-top: -7px;
}

[data-theme="neo"] .neo-profile-card-header::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 0px;
  width: 4px;
  background: var(--neo-primary);
  height: 4rem;
}

[data-theme="neo"] .neo-profile-card-title {
  font-size: 1.5rem;
  font-weight: 500;
  display: inline-block;
}

[data-theme="neo"] .neo-profile-form-label {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--neo-primary);
}

[data-theme="neo"] .neo-profile-form-control {
  display: block;
  width: 100%;
  height: 3rem;
  padding: 0.5rem 1rem;
  font-size: 14px;
  line-height: 2;
  color: #616161;
  background-color: #fff;
  border: 1px solid #bdbdbd;
  border-radius: 3.75rem;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

[data-theme="neo"] .neo-profile-btn-edit {
  color: var(--neo-primary);
  border-color: var(--neo-primary);
  padding: 0.6rem 2rem;
  background-color: #fff;
  border-radius: 3.75rem;
  box-shadow: none;
}

[data-theme="neo"] .neo-profile-btn-edit:hover {
  background-color: var(--neo-primary);
  color: #fff;
}

[data-theme="neo"] .neo-address-box {
  display: block;
  border: 1px dashed var(--neo-primary);
  border-radius: 20px;
  margin-bottom: 25px;
}

[data-theme="neo"] .neo-address-item {
  padding: 1.25rem;
  text-align: right;
  display: block;
}

[data-theme="neo"] .neo-address-info-item {
  display: block;
  margin-bottom: 20px;
}

[data-theme="neo"] .neo-address-info-item .neo-title {
  color: var(--neo-primary);
}

[data-theme="neo"] .neo-address-info-item .neo-value {
  color: #424242;
}

[data-theme="neo"] .neo-action-row button {
  padding: 5px 10px;
  font-size: 14px;
  border-radius: 50px;
  box-shadow: none;
}

[data-theme="neo"] .neo-btn-remove {
  color: var(--neo-primary);
  border: 1px solid #fb4b63;
  background-color: #fff;
}

[data-theme="neo"] .neo-btn-remove:hover {
  color: #fff;
  background-color: var(--neo-primary);
}

[data-theme="neo"] .neo-bank-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

[data-theme="neo"] .neo-bank-digit {
  width: 100%;
  height: 3rem;
  border-radius: 18px;
  border: 1px solid #d1d5db;
  text-align: center;
  font-size: 1rem;
  background: #fff;
}

[data-theme="neo"] .neo-bank-sidebar {
  border: 1px dashed #f3c0c8;
  border-radius: 20px;
  padding: 1rem;
  background: #fff;
}

[data-theme="neo"] .neo-wallet-actions button {
  margin-top: 10px;
  border-radius: 50px;
  padding: 0.6rem 2rem;
}

[data-theme="neo"] .neo-wallet-btn-primary {
  color: #f01436;
  border: 1px solid #f01436;
  background-color: #fff;
}

[data-theme="neo"] .neo-wallet-btn-primary:hover {
  color: #fff;
  background-color: #f01436;
}

[data-theme="neo"] .neo-wallet-btn-secondary {
  color: var(--neo-primary);
  border: 1px solid #fb4b63;
  background-color: #fff;
}

[data-theme="neo"] .neo-wallet-btn-secondary:hover {
  color: #fff;
  background-color: var(--neo-primary);
}

[data-theme="neo"] .neo-wallet-submit {
  color: #fff;
  border: 1px solid #fb4b63;
  background-color: var(--neo-primary);
  border-radius: 50px;
  padding: 0.6rem 1rem;
}

@media (max-width: 991px) {
  [data-theme="neo"] .search .search-box .input-search {
    border-radius: 0.75rem;
    font-size: 12px;
  }
}

/* Accessibility & motion */
@media (prefers-reduced-motion: reduce) {
  [data-theme="neo"] *,
  [data-theme="neo"] *::before,
  [data-theme="neo"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

[data-theme="neo"] .neo-add-to-cart:focus-visible,
[data-theme="neo"] .neo-profile-btn-edit:focus-visible,
[data-theme="neo"] .neo-wallet-btn-primary:focus-visible,
[data-theme="neo"] .neo-wallet-btn-secondary:focus-visible,
[data-theme="neo"] .neo-wallet-submit:focus-visible,
[data-theme="neo"] .btn-range:focus-visible {
  outline: 2px solid var(--neo-primary);
  outline-offset: 2px;
}

[data-theme="neo"] .neo-product-box--compact .neo-product-box-price {
  text-align: start;
}

[data-theme="neo"] .neo-product-box--compact .neo-product-box-title {
  text-align: start;
}

[data-theme="neo"] .neo-product-box--featured {
  background: #fff;
}

/* Section headers */
[data-theme="neo"] .neo-section-link {
  color: var(--neo-primary);
  text-decoration: none;
  transition: opacity var(--neo-motion-fast);
}

[data-theme="neo"] .neo-section-link:hover {
  opacity: 0.8;
}

/* Product carousel (listview) */
[data-theme="neo"] .neo-products-carousel .swiper-pagination {
  position: relative !important;
  margin-top: 1rem;
  bottom: 0 !important;
}

[data-theme="neo"] .neo-products-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--neo-secondary);
  opacity: 0.35;
  transition: all 0.25s ease;
  margin: 0 3px !important;
}

[data-theme="neo"] .neo-products-carousel .swiper-pagination-bullet-active {
  opacity: 1;
  width: 22px;
  border-radius: 999px;
  background: var(--neo-primary);
}

[data-theme="neo"] .neo-products-carousel .swiper-slide {
  height: auto;
}

/* Hero slider */
[data-theme="neo"] .neo-slider-section {
  padding-block: 0;
}

[data-theme="neo"] .neo-slider-section--hero {
  padding-inline: 0;
}

@media (min-width: 768px) {
  [data-theme="neo"] .neo-slider-section {
    padding-block: 1.25rem;
    padding-inline: max(1rem, calc((100% - 1280px) / 2));
  }
}

[data-theme="neo"] .neo-hero-slider--hero {
  aspect-ratio: 390 / 263;
  width: 100%;
  max-height: none;
}

[data-theme="neo"] .neo-hero-slider--product {
  height: 200px;
}

@media (min-width: 640px) {
  [data-theme="neo"] .neo-hero-slider--product {
    height: 240px;
  }
}

@media (min-width: 768px) {
  [data-theme="neo"] .neo-hero-slider--product {
    height: 280px;
  }

  [data-theme="neo"] .neo-hero-slider--hero {
    border-radius: var(--neo-radius-xl);
    overflow: hidden;
  }
}

[data-theme="neo"] .neo-hero-slider--more {
  height: 180px;
}

@media (min-width: 640px) {
  [data-theme="neo"] .neo-hero-slider--more {
    height: 220px;
  }
}

@media (min-width: 768px) {
  [data-theme="neo"] .neo-hero-slider--more {
    height: 260px;
  }
}

[data-theme="neo"] .neo-slider-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  background: var(--neo-search-bg);
  color: var(--neo-muted);
  font-size: 0.875rem;
}

[data-theme="neo"] .neo-slider-placeholder--error {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #b91c1c;
}

[data-theme="neo"] .neo-slider-spinner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 2px solid var(--neo-primary);
  border-top-color: transparent;
  animation: neo-spin 0.8s linear infinite;
}

@keyframes neo-spin {
  to {
    transform: rotate(360deg);
  }
}

[data-theme="neo"] .neo-slider-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

[data-theme="neo"] .neo-slider-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

[data-theme="neo"] .neo-slider-slide__link {
  display: block;
  width: 100%;
  height: 100%;
}

[data-theme="neo"] .neo-slider-slide--rich .neo-slider-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

[data-theme="neo"] .neo-slider-slide--rich::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1), transparent);
  z-index: 1;
}

[data-theme="neo"] .neo-slider-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  max-width: 32rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 1.25rem;
  color: #fff;
}

[data-theme="neo"] .neo-slider-slide__eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

[data-theme="neo"] .neo-slider-slide__title {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
}

[data-theme="neo"] .neo-slider-slide__cta {
  margin-top: 1rem;
  display: inline-flex;
  height: 2.75rem;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--neo-primary);
  padding-inline: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

[data-theme="neo"] .neo-hero-slider .neo-slider {
  overflow: hidden;
}

[data-theme="neo"] .neo-hero-slider .swiper-pagination {
  position: static !important;
  margin-top: 1.25rem;
  line-height: 0;
}

[data-theme="neo"] .neo-hero-slider .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: #dbdbdb;
  opacity: 1;
  transition: all 0.25s ease;
  margin: 0 4px !important;
  vertical-align: middle;
}

[data-theme="neo"] .neo-hero-slider .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 999px;
  background: var(--neo-accent);
}

[data-theme="neo"] .neo-slider .swiper-button-next,
[data-theme="neo"] .neo-slider .swiper-button-prev {
  color: #fff;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

@media (max-width: 767px) {
  [data-theme="neo"] .neo-hero-slider--hero .swiper-button-next,
  [data-theme="neo"] .neo-hero-slider--hero .swiper-button-prev {
    display: none;
  }
}

[data-theme="neo"] .neo-slider .swiper-button-next::after,
[data-theme="neo"] .neo-slider .swiper-button-prev::after {
  font-size: 14px;
  font-weight: 700;
}

/* Story row */
[data-theme="neo"] .neo-story-row {
  scrollbar-width: none;
}

[data-theme="neo"] .neo-story-row::-webkit-scrollbar {
  display: none;
}

[data-theme="neo"] .neo-story-ring {
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.06);
}

/* Category tiles */
[data-theme="neo"] .neo-category-tile__image {
  border-radius: 12px;
  overflow: hidden;
}

/* PDP */
[data-theme="neo"] .neo-pdp {
  padding-bottom: 1.5rem;
}

[data-theme="neo"] .neo-pdp__breadcrumb {
  display: none;
}

@media (min-width: 1024px) {
  [data-theme="neo"] .neo-pdp__breadcrumb {
    display: block;
    border-bottom: 1px solid var(--neo-border);
    background: var(--store-header-bg, #fff);
  }

  [data-theme="neo"] .neo-pdp__breadcrumb-inner {
    max-width: 1280px;
    margin-inline: auto;
    padding: 1rem;
  }
}

[data-theme="neo"] .neo-pdp__gallery {
  padding-block: 1.5rem;
}

@media (min-width: 1024px) {
  [data-theme="neo"] .neo-pdp__gallery {
    padding-block: 2.5rem;
  }
}

[data-theme="neo"] .neo-pdp__gallery-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2%;
  object-fit: cover;
  cursor: zoom-in;
}

[data-theme="neo"] .neo-pdp__thumbs {
  display: none;
}

@media (min-width: 1024px) {
  [data-theme="neo"] .neo-pdp__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
  }
}

[data-theme="neo"] .neo-pdp__thumb {
  border: 2px solid transparent;
  border-radius: 0.875rem;
  padding: 0.25rem;
  background: var(--neo-search-bg);
  cursor: pointer;
  min-height: 44px;
}

[data-theme="neo"] .neo-pdp__thumb--active {
  border-color: var(--neo-accent);
  background: #fff;
}

[data-theme="neo"] .neo-pdp__thumb img {
  width: 100%;
  border-radius: 0.625rem;
}

[data-theme="neo"] .neo-pdp__info {
  padding-inline: 1rem;
}

@media (min-width: 1024px) {
  [data-theme="neo"] .neo-pdp__info {
    padding-inline: 0;
  }
}

[data-theme="neo"] .neo-pdp__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

[data-theme="neo"] .neo-pdp__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--neo-text);
}

@media (min-width: 1024px) {
  [data-theme="neo"] .neo-pdp__title {
    font-size: 1.25rem;
  }
}

[data-theme="neo"] .neo-pdp__meta {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 0.8125rem;
  color: var(--neo-muted);
}

[data-theme="neo"] .neo-pdp__meta li + li {
  margin-top: 0.375rem;
}

[data-theme="neo"] .neo-pdp__meta strong {
  color: var(--neo-text);
  font-weight: 600;
}

[data-theme="neo"] .neo-pdp__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--neo-accent);
  font-size: 1.125rem;
  font-weight: 700;
}

[data-theme="neo"] .neo-pdp__price-old {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--neo-muted);
  text-decoration: line-through;
}

[data-theme="neo"] .neo-pdp__price-unit {
  font-size: 0.8125rem;
  font-weight: 600;
}

[data-theme="neo"] .neo-pdp__variant-chip {
  border: none;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--neo-search-bg);
  color: var(--neo-text);
}

[data-theme="neo"] .neo-pdp__variant-chip--active {
  background: var(--neo-accent);
  color: #fff;
}

[data-theme="neo"] .neo-pdp__cart-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

[data-theme="neo"] .neo-pdp__qty {
  display: flex;
  align-items: center;
  border: 2px solid #f0f0f0;
  border-radius: 999px;
  padding-inline: 0.5rem;
  flex-shrink: 0;
}

[data-theme="neo"] .neo-pdp__qty-btn {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--neo-text);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

[data-theme="neo"] .neo-pdp__qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

[data-theme="neo"] .neo-pdp__qty-value {
  min-width: 1.75rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--neo-text);
}

[data-theme="neo"] .neo-pdp-add-btn {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 40px;
  border: none;
  border-radius: 999px;
  background: var(--neo-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--neo-motion-fast);
}

[data-theme="neo"] .neo-pdp-add-btn:hover:not(:disabled) {
  opacity: 0.92;
}

[data-theme="neo"] .neo-pdp-add-btn--disabled,
[data-theme="neo"] .neo-pdp-add-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

[data-theme="neo"] .neo-pdp__gallery-swiper .swiper-button-next,
[data-theme="neo"] .neo-pdp__gallery-swiper .swiper-button-prev {
  color: #a6a6a6;
  width: 2rem;
  height: 2rem;
}

[data-theme="neo"] .neo-pdp__gallery-swiper .swiper-button-next::after,
[data-theme="neo"] .neo-pdp__gallery-swiper .swiper-button-prev::after {
  font-size: 1rem;
  font-weight: 700;
}

[data-theme="neo"] .neo-pdp-wishlist-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0.75rem;
  border-radius: 8px;
  border: none;
  background: color-mix(in srgb, var(--neo-accent) 5%, transparent);
  color: var(--neo-accent);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
}

[data-theme="neo"] .neo-pdp-wishlist-btn--active {
  background: color-mix(in srgb, var(--neo-accent) 12%, transparent);
}

[data-theme="neo"] .neo-pdp__tabs {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--neo-border);
}

[data-theme="neo"] .neo-pdp__tab {
  flex-shrink: 0;
  padding: 0.75rem 0.5rem;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  color: #a6a6a6;
  cursor: pointer;
}

[data-theme="neo"] .neo-pdp__tab--active {
  color: var(--neo-accent);
  border-bottom-color: var(--neo-accent);
}

[data-theme="neo"] .neo-pdp__tab-panel {
  padding-top: 1rem;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--neo-text);
}

[data-theme="neo"] .neo-pdp-stock {
  color: var(--neo-accent);
  font-size: 0.875rem;
  font-weight: 600;
}

/* =========================
   Layout chrome (header / bottom nav)
   ========================= */

[data-theme="neo"] .neo-announce {
  background: var(--neo-primary);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
}

[data-theme="neo"] .neo-announce__text {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme="neo"] .neo-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

[data-theme="neo"] .neo-search-box__icon {
  position: absolute;
  inset-inline-end: 0.875rem;
  color: var(--neo-muted);
  pointer-events: none;
}

[data-theme="neo"] .neo-search-box__input {
  width: 100%;
  height: 2.75rem;
  min-height: 44px;
  padding-inline: 2.75rem 1rem;
  border: none;
  border-radius: 14px;
  background: var(--neo-search-bg);
  color: var(--neo-text);
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow var(--neo-motion-fast);
}

[data-theme="neo"] .neo-search-box__input::placeholder {
  color: var(--neo-muted);
}

[data-theme="neo"] .neo-search-box__input:focus {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--neo-primary) 25%, transparent);
}

[data-theme="neo"] .neo-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: opacity var(--neo-motion-fast);
  text-decoration: none;
}

[data-theme="neo"] .neo-icon-btn--cart {
  background: var(--neo-secondary);
  color: #fff;
}

[data-theme="neo"] .neo-icon-btn--profile {
  background: var(--neo-search-bg);
  color: var(--neo-text);
}

[data-theme="neo"] .neo-icon-btn__badge {
  position: absolute;
  top: -2px;
  inset-inline-start: -2px;
  min-width: 1.125rem;
  height: 1.125rem;
  padding-inline: 0.2rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="neo"] .neo-header__account-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  padding-inline: 0.875rem;
  border-radius: 999px;
  border: 1px solid var(--neo-border);
  background: #fff;
  color: var(--neo-text);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--neo-motion-fast);
}

[data-theme="neo"] .neo-header__account-btn:hover {
  border-color: var(--neo-primary);
}

[data-theme="neo"] .neo-header__cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  padding-inline: 1rem;
  border-radius: 999px;
  background: var(--neo-secondary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

[data-theme="neo"] .neo-header__cart-badge {
  min-width: 1.25rem;
  height: 1.25rem;
  padding-inline: 0.25rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

[data-theme="neo"] .neo-bottom-nav {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  min-height: calc(var(--neo-bottom-nav-height) + var(--neo-safe-bottom));
  padding: 1rem 0 calc(1rem + var(--neo-safe-bottom));
  background: #fff;
  border-top: none;
  box-shadow: -3.4px 9.4px 60px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  [data-theme="neo"] .neo-bottom-nav {
    display: none;
  }
}

[data-theme="neo"] .neo-bottom-nav__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

[data-theme="neo"] .neo-bottom-nav__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 8px;
  background: color-mix(in srgb, var(--neo-accent) 5%, transparent);
  color: var(--neo-accent);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--neo-motion-fast);
}

[data-theme="neo"] .neo-bottom-nav__icon-btn:hover,
[data-theme="neo"] .neo-bottom-nav__icon-btn--active {
  background: color-mix(in srgb, var(--neo-accent) 10%, transparent);
}

[data-theme="neo"] .neo-bottom-nav__icon-btn--store {
  overflow: hidden;
  padding: 0;
}

[data-theme="neo"] .neo-bottom-nav__store-img {
  width: 45px !important;
  height: 45px !important;
  object-fit: cover;
  border-radius: 8px;
}

[data-theme="neo"] .neo-bottom-nav__store-letter {
  font-size: 0.875rem;
  font-weight: 800;
}

[data-theme="neo"] .neo-bottom-nav__label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--neo-accent);
}

[data-theme="neo"] .neo-bottom-nav__badge {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: 0.2rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: var(--neo-accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(33%, -33%);
}

[data-theme="neo"] .neo-footer {
  background: #fff;
  border-top: 3px solid var(--neo-primary);
}
