/**
 * Aviato Store — Amazon / Flipkart inspired (neutral + orange accent)
 */
:root {
  --accent: #ff9900;
  --accent-hover: #e88b00;
  --accent-dark: #cc7a00;
  --ink: #0f1111;
  --ink-soft: #565959;
  --surface: #f3f3f3;
  --surface-card: #ffffff;
  --border: #d5d9d9;
  --header-bg: #131921;
  --header-secondary: #232f3e;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 8px rgba(15, 17, 17, 0.08);
  --shadow-hover: 0 4px 16px rgba(15, 17, 17, 0.12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading: "Inter", var(--font);
  --max: 100%;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.5;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body.store-nav-open { overflow: hidden; }

body.has-store-modern {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

html { scroll-behavior: smooth; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { color: var(--ink-soft); }

.container {
  max-width: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  .container { padding-left: 16px; padding-right: 16px; }
}

a, button, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}
a { transition: color 0.15s ease; }
button, .btn, summary { transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.form-control:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.2) !important;
  outline: none;
}

/* Buttons */
.btn-accent, .btn-main {
  background: var(--accent) !important;
  border: 1px solid var(--accent-dark) !important;
  color: var(--ink) !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
  transition: background 0.2s;
}
.btn-accent:hover, .btn-main:hover {
  background: var(--accent-hover) !important;
  color: var(--ink) !important;
}
.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-weight: 600;
  display: inline-block;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-solid-border {
  border-radius: var(--radius) !important;
  border-color: var(--border) !important;
  color: var(--ink) !important;
  font-weight: 500 !important;
}
.btn-solid-border:hover {
  background: var(--surface) !important;
}

/* Header */
.store-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.store-header__top { background: var(--header-bg); }
.store-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "toggle logo actions"
    "search search search";
  align-items: center;
  gap: 10px 12px;
  padding: 10px 0 12px;
}
.store-header__toggle {
  grid-area: toggle;
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  padding: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.store-header__toggle i { font-size: 22px; }
.store-header__toggle:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); }
.store-header__logo {
  grid-area: logo;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.store-header__logo-text { line-height: 1.1; }
.store-header__logo-tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  line-height: 1.2;
}
.store-header__logo:hover { color: #fff; }
.store-header__logo:hover .store-header__logo-tag { color: #fff; }
.store-header__search {
  grid-area: search;
  display: flex;
  min-width: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.store-header__search-cat {
  border: 0;
  background: #e3e6e6;
  padding: 0 10px;
  font-size: 12px;
  max-width: 120px;
  height: 42px;
  color: var(--ink);
  cursor: pointer;
}
.store-header__search input {
  flex: 1;
  border: 0 !important;
  height: 42px !important;
  padding: 0 12px;
  font-size: 14px;
  min-width: 0;
  box-shadow: none !important;
}
.store-header__search button {
  width: 48px;
  border: 0;
  background: var(--accent);
  color: var(--ink);
  cursor: pointer;
  font-size: 18px;
  flex-shrink: 0;
}
.store-header__search button:hover { background: var(--accent-hover); }
.store-header__actions {
  grid-area: actions;
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.store-header__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  padding: 4px 10px;
  position: relative;
  min-width: 48px;
  min-height: 42px;
  border-radius: var(--radius);
}
.store-header__action i { font-size: 22px; margin-bottom: 1px; }
.store-header__action:hover { color: var(--accent); background: rgba(255,255,255,0.06); }
.store-header__action-label { line-height: 1.1; font-weight: 500; }
.store-header__badge {
  position: absolute;
  top: 2px;
  right: 4px;
  background: var(--accent);
  color: var(--ink);
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.store-catbar {
  background: var(--header-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.store-catbar__inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.store-catbar__inner::-webkit-scrollbar { display: none; }
.store-catbar__link {
  white-space: nowrap;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  border-radius: 999px;
  text-decoration: none;
  flex-shrink: 0;
  scroll-snap-align: start;
  transition: background 0.15s ease, color 0.15s ease;
}
.store-catbar__link:hover,
.store-catbar__link.is-active {
  background: rgba(255,255,255,0.12);
  color: var(--accent);
}

/* Mobile slide-in nav */
.store-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}
.store-mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}
.store-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 17, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.store-mobile-nav.is-open .store-mobile-nav__backdrop { opacity: 1; }
.store-mobile-nav__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 88vw);
  background: var(--surface-card);
  transform: translateX(-105%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0,0,0,0.18);
}
.store-mobile-nav.is-open .store-mobile-nav__panel { transform: translateX(0); }
.store-mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  background: var(--header-bg);
  color: #fff;
  flex-shrink: 0;
}
.store-mobile-nav__title { font-weight: 700; font-size: 1rem; }
.store-mobile-nav__close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  padding: 4px;
  cursor: pointer;
  line-height: 1;
}
.store-mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 24px;
}
.store-mobile-nav__section { padding: 8px 0; border-bottom: 1px solid var(--border); }
.store-mobile-nav__section:last-child { border-bottom: 0; }
.store-mobile-nav__label {
  margin: 8px 18px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.store-mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.12s ease;
}
.store-mobile-nav__link i { color: var(--accent-dark); font-size: 18px; width: 20px; text-align: center; }
.store-mobile-nav__link:hover,
.store-mobile-nav__link:active { background: var(--surface); color: var(--ink); }
.store-mobile-nav__link--cat { padding-left: 24px; font-weight: 400; }

@media (min-width: 992px) {
  .store-header__inner {
    display: flex;
    flex-wrap: nowrap;
    padding: 10px 0;
  }
  .store-header__toggle { display: none !important; }
  .store-header__search {
    flex: 1;
    max-width: 720px;
    margin: 0 12px;
  }
  .store-mobile-nav { display: none; }
}

@media (max-width: 991px) {
  .store-header__toggle { display: inline-flex; }
  .store-header__action-label { display: none; }
  .store-header__action { min-width: 44px; padding: 4px 8px; }
}

@media (max-width: 480px) {
  .store-header__search-cat { max-width: 88px; font-size: 11px; padding: 0 6px; }
  .store-header__search input { font-size: 13px; padding: 0 10px; }
  .store-header__logo { font-size: 1.15rem; }
  .store-catbar__link { padding: 6px 12px; font-size: 12px; }
}

/* Hero — static, no slider */
.store-hero {
  background: linear-gradient(135deg, #131921 0%, #232f3e 60%, #37475a 100%);
  padding: 32px 0 40px;
}
.store-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.store-hero__promo {
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 0;
}
.store-hero__tag {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  width: fit-content;
}
.store-hero__promo h1 {
  color: #fff;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 12px;
}
.store-hero__promo p {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  margin: 0 0 20px;
  max-width: 420px;
}
.store-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store-hero__tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.store-hero__tile {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.store-hero__tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}
.store-hero__tile img {
  height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 8px;
}
.store-hero__tile span { font-size: 13px; font-weight: 600; }

@media (max-width: 767px) {
  .store-hero__grid { grid-template-columns: 1fr; }
  .store-hero__tiles { grid-template-columns: repeat(2, 1fr); }
}

/* Sections */
.store-section { padding: 36px 0; background: var(--surface-card); }
.store-section--muted { background: var(--surface); }
.store-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.store-section__head h2 { margin: 0; font-size: 1.35rem; }
.store-section__head a {
  font-size: 14px;
  font-weight: 600;
  color: #007185;
  text-decoration: none;
}
.store-section__head a:hover { color: var(--accent-dark); text-decoration: underline; }

/* Quick category grid */
.quick-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.quick-cat-grid__item {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow 0.2s;
}
.quick-cat-grid__item:hover {
  box-shadow: var(--shadow-hover);
  color: var(--ink);
}
.quick-cat-grid__img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.quick-cat-grid__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.quick-cat-grid__item span { font-size: 13px; font-weight: 600; }

@media (max-width: 991px) { .quick-cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .quick-cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Deal shelves — static grid, NOT slider */
.deal-shelf {
  padding: 28px 0;
  background: var(--surface-card);
  border-top: 1px solid var(--border);
}
.deal-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
}
.deal-shelf__title { margin: 0; font-size: 1.25rem; }
.deal-shelf__link {
  font-size: 14px;
  font-weight: 600;
  color: #007185;
  text-decoration: none;
}
.deal-shelf__link:hover { text-decoration: underline; }
.deal-shelf__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.deal-shelf__item {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--ink);
  transition: box-shadow 0.2s;
  height: 100%;
}
.deal-shelf__item:hover {
  box-shadow: var(--shadow-hover);
}
.deal-shelf__img-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.deal-shelf__img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: #fff;
  position: relative;
}
.deal-shelf__img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.deal-shelf__body { padding: 12px 14px 8px; flex: 1; }
.deal-shelf__badge {
  display: none;
}
.deal-shelf__name {
  font-size: 13px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.deal-shelf__name a {
  color: var(--ink);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deal-shelf__name a:hover { color: #007185; }
.deal-shelf__merchant {
  font-size: 11px;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 4px;
}
.deal-shelf__footer {
  padding: 0 14px 14px;
}
.deal-shelf__buy {
  width: 100%;
  justify-content: center;
}
.deal-shelf__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 991px) { .deal-shelf__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .deal-shelf__grid { grid-template-columns: 1fr; } }

/* Trust strip */
.trust-strip {
  background: var(--header-secondary);
  padding: 24px 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.trust-strip__item i {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}
.trust-strip__item strong { display: block; font-size: 14px; }
.trust-strip__item span { font-size: 12px; color: rgba(255,255,255,0.65); }

@media (max-width: 767px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Product grid & cards */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.product-grid__col {
  display: flex;
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
}
.product-item.product-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: var(--surface-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: none !important;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.product-item.product-card:hover {
  box-shadow: var(--shadow-hover) !important;
  transform: none;
}
.product-item .product-thumb {
  height: 220px;
  background: #fff !important;
  border-bottom: 1px solid var(--border);
  display: block;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-item .product-thumb .product-thumb__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 12px;
}
.product-item .product-thumb img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.product-item .product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 18px !important;
}
.product-item .product-content h4 {
  min-height: 44px;
  max-height: 44px;
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.product-item .product-content h4 a { color: var(--ink); }
.product-item .product-content h4 a:hover { color: #007185; }
.product-card__cat {
  background: #f0f2f2 !important;
  color: var(--ink-soft) !important;
  font-weight: 600 !important;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.product-card__rating {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 600;
  white-space: nowrap;
}
.product-card__rating i { color: #f59e0b; }
.product-card__merchant {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0 0 10px;
}
.product-item .product-content .price-current {
  font-size: 1.2rem !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
}
.product-item .product-thumb .product-discount-badge,
.product-item .product-thumb .bage,
.deal-shelf__img .product-discount-badge {
  position: absolute !important;
  top: 8px !important;
  left: 8px !important;
  right: auto !important;
  z-index: 4;
  display: inline-block !important;
  width: auto !important;
  max-width: none;
  padding: 3px 8px !important;
  line-height: 1.25;
  border-radius: 4px;
  font-size: 11px !important;
  font-weight: 700;
  background: #cc0c39 !important;
  color: #fff !important;
  pointer-events: none;
  letter-spacing: 0;
}
.product-discount-badge--inline {
  position: static !important;
  display: inline-block !important;
  margin-left: 8px;
  vertical-align: middle;
  padding: 2px 8px !important;
  font-size: 11px !important;
}
.product-card__actions {
  margin-top: 12px;
  padding-top: 4px;
}
.product-card__merchant {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 4px;
}
.product-card__merchant i { font-size: 13px; }
.product-card__cta {
  margin-top: 0 !important;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px !important;
}
.product-item .product-thumb .preview-meta li a:hover,
.product-item .product-thumb .preview-meta li .preview-action:hover {
  background: var(--accent) !important;
  color: var(--ink) !important;
}

/* Page header */
.store-page-header,
.page-header {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.store-page-header__title,
.page-header .page-name {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 8px 0 4px;
  font-weight: 700;
}
.store-page-header__subtitle { margin: 0; font-size: 14px; color: var(--ink-soft); }
.store-breadcrumb { font-size: 13px; }
.store-breadcrumb a { color: #007185; text-decoration: none; }
.store-breadcrumb a:hover { text-decoration: underline; color: var(--accent-dark); }
.store-breadcrumb__sep { margin: 0 6px; color: var(--ink-soft); }
.store-breadcrumb__current { color: var(--ink-soft); }

/* Shop toolbar */
.shop-toolbar-wrap {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shop-category-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
  flex: 1;
  min-width: 0;
}
.shop-category-nav::-webkit-scrollbar { display: none; }
.shop-category-nav__link {
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}
.shop-category-nav__link.is-active,
.shop-category-nav__link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.shop-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.shop-sort-form label { font-size: 13px; color: var(--ink-soft); margin: 0; white-space: nowrap; }
.shop-sort-form select {
  min-width: 160px;
  height: 38px;
  border-radius: var(--radius) !important;
  border-color: var(--border) !important;
  font-size: 13px;
}
.shop-result-count { font-size: 13px; color: var(--ink-soft); margin: 8px 0 0; }

@media (max-width: 767px) {
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-sort-form { justify-content: space-between; }
  .shop-sort-form select { flex: 1; min-width: 0; }
}

/* Filters */
.deals-filter-panel,
.store-filter-panel {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}
.deals-filter-panel h4,
.store-filter-panel h4 { margin-top: 0; font-size: 1rem; }
.deals-filter-panel h5,
.store-filter-panel h5 { font-size: 13px; font-weight: 700; margin: 16px 0 8px; }
.deals-filter-panel label,
.store-filter-panel label {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  cursor: pointer;
}
.store-sort-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.store-sort-bar label { margin: 0; font-size: 13px; color: var(--ink-soft); }
.store-sort-bar select {
  width: auto;
  max-width: 220px;
  height: 38px;
  border-radius: var(--radius) !important;
  font-size: 13px;
}
@media (max-width: 767px) {
  .store-sort-bar select { flex: 1; max-width: none; min-width: 0; }
}

.deals-toolbar { margin-bottom: 16px; }

.store-filter-mobile { margin-bottom: 16px; }
.store-filter-mobile__toggle {
  display: none;
  list-style: none;
  cursor: pointer;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  align-items: center;
  gap: 8px;
}
.store-filter-mobile__toggle::-webkit-details-marker { display: none; }
.store-filter-mobile__toggle i { color: var(--accent-dark); }

@media (max-width: 991px) {
  .store-filter-mobile__toggle { display: flex; }
  .store-filter-mobile:not([open]) .store-filter-panel { display: none; }
  .store-filter-mobile[open] .store-filter-panel { margin-bottom: 0; }
}

@media (min-width: 992px) {
  .store-filter-mobile__toggle { display: none !important; }
  .store-filter-mobile .store-filter-panel { display: block !important; }
}

@media (max-width: 991px) {
  .deals-filter-panel { margin-bottom: 24px; }
}

/* Pagination */
.store-pagination {
  width: 100%;
  text-align: center;
  padding: 20px 0 8px;
}
.store-pagination .pagination { margin: 0; display: inline-flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.store-pagination .pagination > li > a,
.store-pagination .pagination > li > span {
  border-radius: var(--radius) !important;
  min-width: 38px;
  text-align: center;
  border-color: var(--border) !important;
  color: var(--ink);
}
.store-pagination .pagination > .active > span {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
}
.store-pagination__info { font-size: 13px; color: var(--ink-soft); margin-top: 8px; }

/* Compare & wishlist tables */
.deals-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.deals-compare-table {
  background: var(--surface-card);
  border: 1px solid var(--border);
  min-width: 640px;
}
.deals-compare-table th,
.deals-compare-table td { vertical-align: middle !important; font-size: 14px; }
.deals-compare-table img {
  max-height: 80px;
  max-width: 80px;
  object-fit: contain;
  margin-bottom: 8px;
}
.deals-compare-highlight { background: #fefaf3; }
.deals-compare-price { font-size: 1.15rem; font-weight: 700; color: #b12704; }
.deals-compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.deals-wishlist-table img {
  max-height: 72px;
  max-width: 72px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .deals-wishlist-table thead { display: none; }
  .deals-wishlist-table tr {
    display: block;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 12px;
    padding: 12px;
    background: var(--surface-card);
  }
  .deals-wishlist-table td {
    display: block;
    border: 0 !important;
    padding: 6px 0 !important;
  }
}

/* Product detail */
.single-product { padding: 24px 0 48px; background: var(--surface); }
.single-product .breadcrumb { background: transparent; padding: 0; margin-bottom: 16px; }
.single-product-slider .carousel-inner {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 360px;
}
.product-detail-img {
  max-height: 400px;
  max-width: 100%;
  object-fit: contain !important;
  margin: 0 auto;
}
.product-detail-thumb {
  max-height: 56px;
  max-width: 56px;
  object-fit: contain !important;
}
.single-product-details {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.single-product-details .product-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #b12704;
}
.tabCommon .nav-tabs > li.active > a { border-top: 3px solid var(--accent) !important; }
.tabCommon .tab-content {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-top: 0;
  padding: 20px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Content pages */
.store-content-page {
  padding: 32px 0 48px;
  background: var(--surface);
}
.store-content-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 800px;
  margin: 0 auto;
}
.store-content-card h2 { font-size: 1.25rem; margin-top: 24px; }
.page-wrapper .contact-section { padding: 32px 0; }
.contact-form .form-control {
  border-radius: var(--radius) !important;
  border-color: var(--border) !important;
}

/* Footer */
.store-footer {
  background: var(--header-bg);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 0;
  margin-top: auto;
}
.store-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.store-footer__brand { max-width: 280px; }
.store-footer__logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}
.store-footer__logo:hover { color: var(--accent); }
.store-footer__tagline {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
}
.store-footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}
.store-footer__social a {
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.store-footer__social a:hover { background: var(--accent); color: var(--ink); }
.store-footer__col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.store-footer__col-sub { margin-top: 20px !important; }
.store-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.store-footer__col li { margin-bottom: 10px; }
.store-footer__col a {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}
.store-footer__col a:hover { color: var(--accent); }
.store-footer__bottom { padding: 20px 0 24px; text-align: center; }
.store-footer__copy {
  margin: 0;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  line-height: 1.5;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .store-footer__grid { grid-template-columns: 1fr 1fr; }
  .store-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 575px) {
  .store-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .store-footer { padding-top: 36px; }
}

/* Back to top */
.store-back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.15s ease;
  pointer-events: none;
}
.store-back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.store-back-top:hover { background: var(--accent-hover); }

/* Affiliate bar */
.affiliate-disclosure-bar {
  background: #fefaf3;
  border-top: 1px solid #fcd499;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.5;
}
.affiliate-disclosure-bar__inner {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 16px;
  text-align: left;
}
.affiliate-disclosure-bar__inner i {
  color: var(--accent-dark);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.affiliate-disclosure-bar p { margin: 0; flex: 1; }
.affiliate-disclosure-bar a {
  color: #007185;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.affiliate-disclosure-bar a:hover { text-decoration: underline; }
.affiliate-disclosure.section { padding: 0 !important; margin: 0 !important; }

/* Hide legacy theme chrome */
body.has-store-modern .top-header,
body.has-store-modern .menu { display: none !important; }

/* Misc overrides */
.products.section { padding: 32px 0; background: var(--surface); }
.products.section.bg-gray { background: var(--surface) !important; }
.bg-gray { background: var(--surface) !important; }
.deals-cat-banner--electronics {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.deals-cat-banner--electronics img {
  max-height: 200px;
  object-fit: contain;
}
.call-to-action.section { display: none; }
.section-head__label { color: var(--accent-dark) !important; }
.modern-cat-card { display: none; }
.home-features { display: none; }
.hero-slider { display: none !important; }

/* Wide content cards (legal, FAQ) */
.store-content-card--wide { max-width: 880px; }
.store-content-card--muted {
  background: var(--surface);
  border-style: dashed;
}
.store-content-card h3 { font-size: 1.05rem; font-weight: 700; margin-top: 0; }
.store-content-card a { color: #007185; }
.store-content-card a:hover { color: var(--accent-dark); }

/* About page */
.store-list-check {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.store-list-check li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--ink-soft);
}
.store-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}
.store-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.store-about-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
}
.store-about-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.2;
}
.store-about-stat span { font-size: 13px; color: var(--ink-soft); }

/* Contact */
.store-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}
.store-contact-info { display: flex; flex-direction: column; gap: 16px; }
.store-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.store-contact-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.store-contact-list li:last-child { border-bottom: 0; }
.store-contact-list i {
  font-size: 22px;
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.store-contact-list strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 2px;
}
.store-contact-list span,
.store-contact-list a { font-size: 14px; color: var(--ink-soft); }
.store-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.store-link-list li { margin-bottom: 8px; }
.store-link-list a {
  color: #007185;
  font-size: 14px;
  text-decoration: none;
}
.store-link-list a:hover { color: var(--accent-dark); }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  display: block;
}
.contact-form .btn-accent { margin-top: 8px; }

/* FAQ */
.store-faq-item {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.store-faq-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.store-faq-item p { margin-bottom: 0; color: var(--ink-soft); line-height: 1.65; }

/* Search bar */
.store-search-form {
  display: flex;
  gap: 0;
  max-width: 100%;
}
.store-search-form .form-control {
  flex: 1;
  border-radius: var(--radius) 0 0 var(--radius) !important;
  border: 1px solid var(--border) !important;
  height: 44px;
  box-shadow: none !important;
}
.store-search-form .btn {
  border-radius: 0 var(--radius) var(--radius) 0 !important;
  height: 44px;
  padding: 0 20px;
  white-space: nowrap;
}
.store-search-form--page { margin-bottom: 24px; }

/* 404 */
.store-404 {
  padding: 64px 0 80px;
  background: var(--surface);
  text-align: center;
  min-height: 50vh;
  display: flex;
  align-items: center;
}
.store-404__inner { max-width: 480px; margin: 0 auto; }
.store-404__code {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.store-404 h1 { font-size: 1.75rem; margin-bottom: 8px; }
.store-404 p { color: var(--ink-soft); margin-bottom: 20px; }
.store-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}
.store-404__hint { font-size: 13px; margin-bottom: 12px !important; }
.store-404__search { max-width: 420px; margin: 0 auto; }

@media (max-width: 767px) {
  .store-contact-grid { grid-template-columns: 1fr; }
  .store-about-stats { grid-template-columns: 1fr; }
  .store-404__code { font-size: 3.5rem; }
  .store-search-form { flex-direction: column; }
  .store-search-form .form-control,
  .store-search-form .btn {
    border-radius: var(--radius) !important;
    width: 100%;
  }
  .store-content-card { padding: 20px 18px; }
  .store-page-header { padding: 16px 0; }
  .store-content-page { padding: 24px 0 36px; }
  .product-item .product-thumb { height: 180px; }
  .product-item .product-content h4 { min-height: 38px; max-height: 38px; font-size: 13px; }
  .single-product-details { padding: 18px; margin-top: 16px; }
  .single-product-slider .carousel-inner { min-height: 280px; }
  .deals-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
  .trust-strip__grid { grid-template-columns: 1fr; gap: 14px; }
  .store-back-top { right: 14px; bottom: 14px; }
}

/* Empty state */
.store-empty,
.deals-empty {
  text-align: center;
  padding: 48px 24px;
  background: var(--surface-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.store-empty__icon,
.deals-empty__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-empty__icon i,
.deals-empty__icon i { font-size: 32px; color: var(--accent-dark); }
.store-empty__title,
.deals-empty h3 { font-size: 1.15rem; margin: 0 0 8px; color: var(--ink); }
.store-empty__message { color: var(--ink-soft); margin: 0 0 4px; max-width: 360px; margin-left: auto; margin-right: auto; }
.store-empty__action { margin-top: 16px !important; }

/* Smooth card hover on touch devices — reduce sticky hover */
@media (hover: none) {
  .product-item.product-card:hover { box-shadow: none !important; }
  .deal-shelf__item:hover { box-shadow: none; }
  .store-hero__tile:hover { transform: none; }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
  .store-header__inner { padding-left: max(0px, env(safe-area-inset-left)); padding-right: max(0px, env(safe-area-inset-right)); }
  .store-back-top { bottom: max(20px, env(safe-area-inset-bottom)); }
  .affiliate-sticky-buy { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* Promo bar */
.store-promo-bar {
  background: linear-gradient(90deg, #232f3e 0%, #37475a 100%);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.store-promo-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.store-promo-bar__text {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
}
.store-promo-bar__text i { color: var(--accent); }
.store-promo-bar__text strong { color: #fff; }
.store-promo-bar__link {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid rgba(255,153,0,0.45);
  border-radius: 999px;
  font-size: 11px;
}
.store-promo-bar__link:hover { background: var(--accent); color: var(--ink); }

.store-header__action--deals .store-header__action-label { color: var(--accent); }

/* Affiliate Buy Now buttons */
.btn-affiliate-buy {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent) !important;
  border: 1px solid var(--accent-dark) !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn-affiliate-buy:hover {
  background: var(--accent-hover) !important;
  color: var(--ink) !important;
  transform: translateY(-1px);
}
.btn-affiliate-buy--small {
  padding: 8px 14px !important;
  font-size: 12px !important;
}
.btn-affiliate-buy--large {
  padding: 14px 22px !important;
  font-size: 15px !important;
  width: 100%;
  max-width: 420px;
}
.btn-affiliate-buy i { font-size: 1.1em; }

.affiliate-buy-box {
  margin: 16px 0 8px;
  padding: 16px;
  background: #fefaf3;
  border: 1px solid #fcd499;
  border-radius: var(--radius-lg);
}
.affiliate-buy-box__btn { max-width: none !important; width: 100%; }
.affiliate-buy-box__note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.affiliate-buy-box__note i { color: var(--accent-dark); margin-right: 4px; }

.affiliate-sticky-buy {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 950;
  padding: 12px 16px;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.affiliate-sticky-buy .btn-affiliate-buy { width: 100%; max-width: none; margin: 0; }

@media (max-width: 991px) {
  .affiliate-sticky-buy { display: block; }
  body.has-store-modern { padding-bottom: 72px; }
  .store-header__inner { padding-top: 12px; padding-bottom: 14px; }
  .store-promo-bar__inner { justify-content: center; text-align: center; }
}

/* Global action spacing — buttons never stick together */
.store-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.store-actions--product { margin-top: 20px; }
.store-actions-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.preview-action-form {
  display: inline-flex;
  margin: 0;
}
.deals-compare-actions.store-actions { margin-bottom: 20px; }

/* Product content spacing */
.product-item .product-content {
  padding: 14px 16px 16px !important;
  gap: 0;
}
.product-item .product-content h4 {
  margin-bottom: 8px !important;
}
.product-item .product-content .price {
  margin: 0 0 6px !important;
}
.single-product-details .product-price .price-mrp {
  text-decoration: line-through;
  color: #999;
  font-size: 18px;
  margin-left: 8px;
}
.single-product-details .product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}

/* Tighter preview icons on cards */
.product-item .product-thumb .preview-meta {
  padding-bottom: 16px;
}
.product-item .product-thumb .preview-meta ul {
  gap: 6px;
}
.product-item .product-thumb .preview-meta li {
  margin: 0 !important;
}

@media (max-width: 480px) {
  .store-header__logo-tag { display: none; }
  .store-promo-bar__text { font-size: 11px; }
}
