/* =============================================================
   UTMTools – Flipkart-Style Premium Electronics Store
   Fully Responsive: Mobile-First Design
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Grand+Hotel&family=Michroma&display=swap');

:root {
  --primary: #3484ff;
  --primary-dark: #1A5FCC;
  --primary-light: #4A90F5;
  --primary-bg: #EBF2FF;
  --fk-yellow: #ffc70e;
  --fk-yellow-dark: #E0AA00;
  --navy: #212121;
  --navy2: #1E293B;
  --navy3: #374151;
  --accent-blue: #2874F0;
  --accent-green: #388E3C;
  --accent-red: #FF6161;
  --accent-orange: #FF9F00;
  --accent-yellow: #FFB800;
  --bg: #F1F3F6;
  --bg2: #E8EAED;
  --white: #FFFFFF;
  --border: #E0E0E0;
  --border2: #BDBDBD;
  --text: #212121;
  --text2: #333333;
  --text3: #878787;
  --text4: #AAAAAA;
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, .1);
  --shadow: 0 2px 8px rgba(0, 0, 0, .1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .14);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, .16);
  --shadow-hover: 0 4px 16px rgba(40, 116, 240, .2), 0 1px 4px rgba(0, 0, 0, .1);
  --r-xs: 2px;
  --r-sm: 4px;
  --r: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 10px;
  --r-2xl: 12px;
  --font: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1300px;
  --header-h: 56px;
  --transition: 0.15s ease;
  --transition-slow: 0.25s ease;
  --orange: #FF9F00;
  --orange-dark: #E08B00;
  --orange-light: #FFB333;
  --green: #388E3C;
  --red: #FF6161;
  --yellow: #FFB800;
  --blue-accent: #2874F0;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;
  --c-white: #ffffff;
  --c-bg: #F1F3F6;
  --c-border: #E0E0E0;
  --c-navy: #212121;
  --c-text: #212121;
  --c-text-muted: #878787;
  --c-orange: #FF9F00;
  --c-success: #388E3C;
  --c-danger: #FF6161;
  --c-navy-mid: #1E293B;
  --c-orange-dark: #E08B00;
  --c-border-subtle: #F0F0F0;
  --c-warning: #FF9F00;
  --c-info: #2874F0;
  --font2: 'Roboto', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  font-size: 14px;
  -webkit-text-size-adjust: 100%
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased
}

a {
  text-decoration: none;
  color: inherit
}

ul {
  list-style: none
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

button,
input,
select,
textarea {
  font-family: inherit
}

button {
  cursor: pointer
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px
}

::-webkit-scrollbar-track {
  background: var(--bg)
}

::-webkit-scrollbar-thumb {
  background: var(--border2);
  border-radius: 3px
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text4)
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px
}

.main-content {
  min-height: 60vh
}

/* TOPBAR */
.topbar {
  background: var(--primary);
  color: rgba(255, 255, 255, .9);
  font-size: .75rem;
  padding: .3rem 0;
  display: none
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap
}

.topbar__contact {
  display: flex;
  gap: 1.5rem
}

.topbar__contact span {
  display: flex;
  align-items: center;
  gap: .3rem
}

.topbar__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem
}

.topbar__links a {
  color: rgba(255, 255, 255, .88);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: .3rem
}

.topbar__links a:hover {
  color: var(--fk-yellow)
}

.topbar__divider {
  opacity: .35
}

/* HEADER */
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2)
}

.header.scrolled {
  box-shadow: 0 3px 12px rgba(0, 0, 0, .25)
}

.header__main {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: .6rem 0.3 0.6rem 0.9rem;
  height: var(--header-h)
}

.logo {
  display: flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  min-width: 120px;
  flex-shrink: 0
}

.logo__icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, .15);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem
}

.logo-container {
  display: flex;
  flex-direction: column;
}

.logo__text {
  font-size: 1.5rem;
  font-weight: bolder;
  color: #fff;
  line-height: 1;
  letter-spacing: -.03em;
  font-family: 'Michroma', sans-serif;
}

.logo__text span {
  color: var(--fk-yellow)
}

.logo__subtext {
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: .04em;
  line-height: 1;
  font-family: 'Grand Hotel', cursive;
}

.logo__tagline {
  font-size: .6rem;
  color: rgba(255, 255, 255, .8);
  font-style: italic;
  display: block;
  margin-top: 1px
}

.search-wrap,
.search-form {
  flex: 1;
  display: flex;
  align-items: stretch;
  height: 38px;
  max-width: 600px;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #fff
}

.search-cat,
.search-form__cat {
  background: #F5F5F5;
  border: none;
  border-right: 1px solid #E0E0E0;
  padding: 0 .8rem;
  font-size: .75rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  min-width: 110px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23878787'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  padding-right: 1.8rem
}

.search-input,
.search-form__input {
  flex: 1;
  border: none;
  padding: .5rem .85rem;
  font-size: .9rem;
  background: #fff;
  color: var(--text)
}

.search-input::placeholder {
  color: #878787
}

.search-btn,
.search-form__btn {
  background: var(--fk-yellow);
  color: var(--text);
  border: none;
  padding: 0 1.2rem;
  font-size: .95rem;
  font-weight: 600;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem
}

.search-btn:hover,
.search-form__btn:hover {
  background: var(--fk-yellow-dark)
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .1rem;
  margin-left: auto
}

.hdr-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1rem;
  padding: .4rem .7rem;
  border-radius: var(--r-sm);
  border: none;
  background: transparent;
  color: #fff;
  font-size: .7rem;
  font-weight: 500;
  position: relative;
  white-space: nowrap;
  transition: background var(--transition);
  cursor: pointer
}

.hdr-btn:hover {
  background: rgba(255, 255, 255, .15)
}

.hdr-btn i {
  font-size: 1.15rem;
  color: #fff
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 2px;
  background: var(--fk-yellow);
  color: var(--text);
  font-size: .58rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: .5rem;
  background: none;
  border: none
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .2s
}

/* NAV */
.nav {
  background: #1A5FCC;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.nav__list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none
}

.nav__list::-webkit-scrollbar {
  display: none
}

.nav__item a {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .55rem .85rem;
  color: rgba(255, 255, 255, .88);
  font-size: .78rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--transition);
  border-bottom: 2px solid transparent
}

.nav__item a:hover,
.nav__item a.active {
  color: #fff;
  border-bottom-color: var(--fk-yellow)
}

.nav__item--highlight a {
  background: var(--fk-yellow) !important;
  color: var(--text) !important;
  font-weight: 700 !important
}

.nav__item--highlight a:hover {
  background: var(--fk-yellow-dark) !important
}

.nav-icon {
  font-size: .9rem
}

.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: .5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  visibility: visible
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .7rem 1.25rem;
  color: var(--text2);
  font-size: .88rem;
  font-weight: 500;
  border-bottom: 1px solid #f5f5f5;
  transition: all var(--transition)
}

.mobile-nav a:hover {
  background: var(--primary-bg);
  color: var(--primary)
}

/* FLASH */
.flash {
  padding: .55rem 1rem;
  font-weight: 500;
  font-size: .85rem;
  border-left: 3px solid transparent
}

.flash .container {
  display: flex;
  align-items: center;
  gap: .6rem
}

.flash--success {
  background: #E8F5E9;
  color: #2E7D32;
  border-color: #388E3C
}

.flash--error {
  background: #FFEBEE;
  color: #C62828;
  border-color: #E53935
}

.flash--info {
  background: #E3F2FD;
  color: #1565C0;
  border-color: #1976D2
}

.flash__close {
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: .5;
  color: inherit
}

.flash__close:hover {
  opacity: 1
}

/* HERO */
.hero {
  background: var(--primary);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.hero__slides {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1)
}

.hero__slide {
  min-width: 100%;
  display: flex;
  align-items: stretch
}

.hero__slide-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 16px;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(246, 190, 0, .2);
  border: 1px solid rgba(246, 190, 0, .5);
  color: var(--fk-yellow);
  padding: .25rem .7rem;
  border-radius: 2px;
  font-size: .72rem;
  font-weight: 700;
  margin-bottom: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em
}

.hero__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .65rem;
  color: #fff
}

.hero__title span {
  color: var(--fk-yellow)
}

.hero__sub,
.hero__subtitle {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  margin-bottom: 1.5rem;
  line-height: 1.6
}

.hero__actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap
}

.hero__img,
.hero__image-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px
}

.hero__img-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(246, 190, 0, .1) 0%, transparent 70%)
}

.hero__product-img {
  width: 85%;
  max-width: 320px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, .4));
  animation: float 4s ease-in-out infinite
}

.hero__controls {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .35rem;
  z-index: 2
}

.hero__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  cursor: pointer;
  transition: all var(--transition)
}

.hero__dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--fk-yellow)
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
  font-size: .85rem
}

.hero__arrow:hover {
  background: rgba(246, 190, 0, .6);
  border-color: var(--fk-yellow)
}

.hero__arrow--prev {
  left: 1rem
}

.hero__arrow--next {
  right: 1rem
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-12px)
  }
}

/* TRUST BAR */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-xs)
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border-right: 1px solid var(--border);
  transition: background var(--transition)
}

.trust-item:hover {
  background: var(--primary-bg)
}

.trust-item:last-child {
  border: none
}

.trust-item__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem
}

.trust-item__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text)
}

.trust-item__sub {
  font-size: .68rem;
  color: var(--text3);
  margin-top: 1px
}

/* CATEGORY STRIP */
.cat-strip,
.categories-strip {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  box-shadow: var(--shadow-xs)
}

.cat-strip__grid,
.categories-strip__grid {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: .2rem
}

.cat-strip__grid::-webkit-scrollbar {
  display: none
}

.cat-tile,
.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  padding: .55rem .85rem;
  border-radius: var(--r-sm);
  background: var(--bg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  min-width: 78px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text)
}

.cat-tile:hover {
  border-color: var(--primary);
  background: var(--primary-bg)
}

.cat-tile.active {
  border-color: var(--primary);
  background: var(--primary-bg)
}

.cat-tile__icon,
.category-tile__icon {
  font-size: 1.5rem
}

.cat-tile__name,
.category-tile__name {
  font-size: .68rem;
  font-weight: 600;
  color: var(--text);
  text-align: center
}

/* SECTIONS */
.section {
  padding: 1.5rem 0
}

.section-hdr,
.section-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border)
}

.section-hdr__accent {
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px
}

.section-header::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0
}

.section-hdr__title,
.section-header__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text)
}

.section-hdr__badge {
  background: var(--accent-green);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .12rem .45rem;
  border-radius: 2px;
  text-transform: uppercase
}

.section-hdr__link,
.section-header__link {
  margin-left: auto;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem .65rem;
  border: 1px solid var(--primary);
  border-radius: var(--r-sm);
  transition: all var(--transition)
}

.section-hdr__link:hover,
.section-header__link:hover {
  background: var(--primary);
  color: #fff
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border)
}

.product-card {
  background: #fff;
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  border: none
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  z-index: 2;
  transform: translateY(-2px)
}

.product-card:active {
  transform: translateY(0) scale(0.99)
}

.product-card__img-wrap,
.product-card__image-link {
  position: relative;
  display: block;
  background: #fff;
  aspect-ratio: 1;
  overflow: hidden;
  padding: 1rem
}

.product-card__img,
.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease
}

.product-card:hover .product-card__img {
  transform: scale(1.05)
}

.product-card__badges {
  position: absolute;
  top: .5rem;
  left: .5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  z-index: 1
}

.badge {
  font-size: .62rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: var(--r-xs);
  text-transform: uppercase;
  letter-spacing: .04em;
  white-space: nowrap
}

.badge--discount {
  background: #FF6161;
  color: #fff
}

.badge--featured {
  background: var(--primary);
  color: #fff
}

.badge--oos,
.badge--outofstock {
  background: #757575;
  color: #fff
}

.badge--new {
  background: #388E3C;
  color: #fff
}

.product-card__wishlist {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, .08);
  cursor: pointer;
  color: var(--text3);
  font-size: .85rem;
  transition: all var(--transition);
  opacity: 0;
  z-index: 2
}

.product-card:hover .product-card__wishlist {
  opacity: 1
}

.product-card__wishlist:hover {
  color: #FF6161;
  transform: scale(1.1)
}

.product-card__wishlist.active {
  opacity: 1;
  color: #FF6161
}

.product-card__quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  color: #fff;
  padding: .45rem;
  text-align: center;
  font-size: .78rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  z-index: 2
}

.product-card:hover .product-card__quick-add {
  transform: translateY(0)
}

.product-card__quick-add:hover {
  background: var(--primary-dark)
}

.product-card__body {
  padding: .75rem .85rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  border-top: 1px solid #f5f5f5
}

.product-card__brand {
  font-size: .65rem;
  font-weight: 600;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .08em
}

.product-card__name {
  font-size: .85rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.product-card__name a {
  color: var(--text)
}

.product-card__name a:hover {
  color: var(--primary)
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin: .1rem 0
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  background: var(--accent-green);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: .12rem .38rem;
  border-radius: 2px
}

.rating-count {
  font-size: .68rem;
  color: var(--text3)
}

.stars {
  color: var(--accent-yellow);
  font-size: .68rem
}

.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: .35rem
}

.product-card__price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text)
}

.product-card__mrp,
.product-card__original {
  font-size: .75rem;
  color: var(--text3);
  text-decoration: line-through
}

.product-card__off {
  font-size: .75rem;
  font-weight: 600;
  color: #388E3C
}

.product-card__delivery {
  font-size: .68rem;
  font-weight: 500;
  color: var(--text3);
  margin-top: .15rem
}

.product-card__actions {
  margin-top: .5rem
}

.product-card__actions .btn,
.product-card__add {
  width: 100%;
  padding: .5rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem
}

.product-card__actions .btn:hover {
  background: var(--primary-dark)
}

.product-card__actions .btn:disabled,
.product-card__add:disabled {
  background: var(--bg2);
  color: var(--text3);
  cursor: not-allowed
}

/* BREADCRUMB */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: .55rem 0;
  font-size: .75rem;
  color: var(--text3)
}

.breadcrumb a {
  color: var(--primary)
}

.breadcrumb a:hover {
  text-decoration: underline
}

.breadcrumb span {
  margin: 0 .35rem
}

/* PRODUCT DETAIL */
.product-detail {
  padding: 1.5rem 0 2.5rem
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 2rem;
  align-items: start
}

.product-detail__gallery {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden
}

.product-detail__main-img {
  background: #fff;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  padding: 1.5rem
}

.product-detail__main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s ease
}

.product-detail__main-img:hover img {
  transform: scale(1.08)
}

.product-detail__thumbs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none
}

.product-detail__thumbs::-webkit-scrollbar {
  display: none
}

.product-detail__thumb {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition)
}

.product-detail__thumb.active {
  border-top: 2px solid var(--primary)
}

.product-detail__thumb:hover {
  background: var(--primary-bg)
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .4rem
}

.product-detail__brand {
  font-size: .72rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .35rem
}

.product-detail__name {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: .6rem
}

.product-detail__rating {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .85rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--border)
}

.product-detail__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: .4rem
}

.product-detail__price-current {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text)
}

.product-detail__price-original {
  font-size: .9rem;
  color: var(--text3);
  text-decoration: line-through
}

.product-detail__price-badge {
  background: var(--accent-green);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  padding: .18rem .5rem;
  border-radius: 2px
}

.product-detail__divider {
  height: 1px;
  background: var(--border);
  margin: .85rem 0
}

.product-detail__qty {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: .85rem
}

.qty-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border2);
  border-radius: var(--r-sm);
  overflow: hidden
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: var(--bg);
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition)
}

.qty-btn:hover {
  background: var(--primary-bg);
  color: var(--primary)
}

.qty-num {
  min-width: 40px;
  text-align: center;
  font-weight: 600;
  font-size: .9rem;
  padding: 0 .4rem;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text)
}

.product-highlight {
  background: #FAFAFA;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: .85rem 1rem;
  margin-bottom: .85rem
}

.product-highlight__title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .4rem
}

.product-highlight__list {
  font-size: .83rem;
  color: var(--text2)
}

.product-highlight__list li {
  padding: .18rem 0;
  display: flex;
  align-items: center;
  gap: .45rem
}

.product-highlight__list li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700
}

.related-section {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border)
}

/* TABS */
.tab-wrapper {
  margin-top: 2rem
}

.tab-header {
  display: flex;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
  background: #fff
}

.tab-header::-webkit-scrollbar {
  display: none
}

.tab-btn {
  padding: .7rem 1.25rem;
  background: none;
  border: none;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text3);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--transition)
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary)
}

.tab-btn:hover:not(.active) {
  color: var(--text);
  background: var(--bg)
}

.tab-panel {
  display: none;
  padding: 1.25rem 0
}

.tab-panel.active {
  display: block
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem
}

.spec-table tr {
  border-bottom: 1px solid var(--border)
}

.spec-table tr:last-child {
  border: none
}

.spec-table td {
  padding: .6rem .85rem;
  vertical-align: top;
  color: var(--text2)
}

.spec-table td:first-child {
  width: 35%;
  font-weight: 500;
  color: var(--text3);
  background: #FAFAFA
}

.spec-table tr:nth-child(even) td:first-child {
  background: #F5F5F5
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: .6rem
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .85rem;
  color: var(--text2);
  padding: .55rem;
  background: var(--bg);
  border-radius: var(--r-sm)
}

.feature-item i {
  color: var(--accent-green);
  margin-top: 2px;
  flex-shrink: 0
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .2s
}

.lightbox.open {
  opacity: 1;
  visibility: visible
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--r-sm)
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, .25)
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .6rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
  min-height: 30px
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 4px rgba(40, 116, 240, .3)
}

.btn--primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(40, 116, 240, .4)
}

.btn--secondary {
  background: var(--accent-orange);
  color: #fff
}

.btn--secondary:hover {
  background: #E08B00
}

.btn--outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary)
}

.btn--outline:hover {
  background: var(--primary-bg)
}

.btn--white {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
  color: #fff
}

.btn--white:hover {
  background: rgba(255, 255, 255, .22)
}

.btn--danger {
  background: #FF6161;
  color: #fff;
  border-color: #FF6161
}

.btn--danger:hover {
  background: #E04444
}

.btn--success {
  background: var(--accent-green);
  color: #fff
}

.btn--success:hover {
  background: #2E7D32
}

.btn--block {
  width: 100%
}

.btn--sm {
  font-size: .78rem;
}

.btn--lg {
  padding: .75rem 1.5rem;
  font-size: .92rem;
  min-height: 46px
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important
}

/* FORMS */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem
}

.form-group label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text3)
}

.form-control {
  border: 1.5px solid var(--border2);
  border-radius: var(--r-sm);
  padding: .6rem .8rem;
  font-size: .88rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40, 116, 240, .1);
  outline: none
}

textarea.form-control {
  resize: vertical;
  min-height: 100px
}

.form-control--sm {
  padding: .38rem .7rem;
  font-size: .82rem
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary)
}

/* AUTH */
.auth-page {
  min-height: calc(100vh - var(--header-h) - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  background: var(--bg)
}

.auth-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 2rem 1.75rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-sm)
}

.auth-box__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  margin-bottom: 1.5rem
}

.auth-box__footer {
  text-align: center;
  margin-top: 1.1rem;
  font-size: .83rem;
  color: var(--text3)
}

.auth-box__footer a {
  color: var(--primary);
  font-weight: 600
}

.auth-box__footer a:hover {
  text-decoration: underline
}

/* CART */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
  padding: 1.5rem 0;
  align-items: start
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: #fff;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--border)
}

.cart-table th {
  background: #FAFAFA;
  padding: .7rem .85rem;
  font-weight: 600;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text3);
  border-bottom: 1px solid var(--border);
  text-align: left
}

.cart-table td {
  padding: .85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text2)
}

.cart-table tr:last-child td {
  border: none
}

.cart-summary {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs)
}

.cart-summary__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text3);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid var(--border);
  padding-bottom: .75rem
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text2)
}

.cart-summary__row:last-of-type {
  border: none
}

.cart-summary__row--total {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text);
  padding-top: .7rem;
  border-top: 1px dashed var(--border2) !important
}

/* PAGE BANNER */
.page-banner {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255, 255, 255, .05), transparent 60%)
}

.page-banner__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 1
}

.page-banner__sub {
  color: rgba(255, 255, 255, .7);
  font-size: .83rem;
  margin-top: .25rem;
  position: relative;
  z-index: 1
}

/* ADMIN */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-h));
  align-items: start
}

.admin-sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 1.25rem 0;
  position: sticky;
  top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  overflow-y: auto
}

.admin-sidebar__logo {
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: .65rem
}

.admin-sidebar__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text)
}

.admin-sidebar__sub {
  font-size: .7rem;
  color: var(--text3);
  margin-top: .1rem
}

.admin-nav__section {
  padding: .45rem 1rem .2rem;
  font-size: .65rem;
  font-weight: 700;
  color: var(--text4);
  text-transform: uppercase;
  letter-spacing: .1em
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .6rem 1rem;
  color: var(--text2);
  font-size: .85rem;
  font-weight: 500;
  transition: all var(--transition);
  border-left: 3px solid transparent;
  text-decoration: none
}

.admin-nav a:hover {
  background: var(--bg);
  color: var(--primary)
}

.admin-nav a.active {
  background: var(--primary-bg);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 700
}

.admin-nav a i {
  width: 16px;
  text-align: center;
  font-size: .9rem
}

.admin-content {
  padding: 1.5rem;
  background: var(--bg);
  min-height: calc(100vh - var(--header-h))
}

.admin-form-card {
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-xs)
}

.admin-form-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem
}

/* STATS */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem
}

.stat-card {
  background: #fff;
  border-radius: var(--r-sm);
  padding: 1.25rem;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-xs)
}

.stat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px)
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem
}

.stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text)
}

.stat-card__label {
  font-size: .73rem;
  color: var(--text3);
  font-weight: 500;
  margin-top: .1rem
}

.stat-card__trend {
  font-size: .7rem;
  font-weight: 600;
  margin-top: .2rem
}

.stat-card__trend.up {
  color: var(--accent-green)
}

.stat-card__trend.down {
  color: var(--accent-red)
}

.chart-card {
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs)
}

.chart-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem
}

.chart-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text)
}

.chart-card__sub {
  font-size: .73rem;
  color: var(--text3);
  margin-top: .15rem
}

.chart-bar-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .5rem;
  font-size: .78rem
}

.chart-bar-label {
  width: 110px;
  flex-shrink: 0;
  color: var(--text2);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.chart-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg2);
  border-radius: 4px;
  overflow: hidden
}

.chart-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease
}

.chart-bar-value {
  width: 65px;
  text-align: right;
  font-weight: 700;
  color: var(--text);
  flex-shrink: 0
}

.analytics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem
}

/* DATA TABLE */
.data-table-wrap {
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xs)
}

.data-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: .65rem
}

.data-table-header__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text)
}

.data-table-header__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .83rem
}

.data-table th {
  background: #FAFAFA;
  padding: .65rem .85rem;
  text-align: left;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text3);
  border-bottom: 1px solid var(--border)
}

.data-table td {
  padding: .75rem .85rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  color: var(--text2)
}

.data-table tr:last-child td {
  border: none
}

.data-table tbody tr:hover {
  background: var(--bg)
}

.data-table .product-thumb {
  width: 42px;
  height: 42px;
  background: var(--bg2);
  border-radius: var(--r-sm);
  object-fit: contain;
  padding: 3px;
  border: 1px solid var(--border)
}

.data-table .product-name {
  font-weight: 600;
  color: var(--text);
  max-width: 200px
}

.data-table .product-brand {
  font-size: .68rem;
  color: var(--primary);
  font-weight: 600
}

/* PILLS */
.pill {
  display: inline-flex;
  align-items: center;
  padding: .15rem .55rem;
  border-radius: 2px;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em
}

.pill--green {
  background: #E8F5E9;
  color: #2E7D32
}

.pill--red {
  background: #FFEBEE;
  color: #C62828
}

.pill--yellow {
  background: #FFF8E1;
  color: #E65100
}

.pill--blue {
  background: var(--primary-bg);
  color: var(--primary-dark)
}

.pill--purple {
  background: #F3E5F5;
  color: #6A1B9A
}

.pill--gray {
  background: #F5F5F5;
  color: #424242
}

/* PAGINATION */
.pagination {
  display: flex;
  gap: .25rem;
  flex-wrap: wrap
}

.page-btn {
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-bg)
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary)
}

.pagination__link {
  color: var(--primary);
  font-weight: 600;
  font-size: .82rem
}

/* TOAST */
.toast-container {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: .5rem
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  background: var(--navy);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  min-width: 260px;
  max-width: 360px;
  animation: slideInRight .3s ease;
  font-size: .85rem
}

.toast--success {
  background: var(--accent-green)
}

.toast--error {
  background: #E53935
}

.toast--info {
  background: var(--primary)
}

@keyframes slideInRight {
  from {
    transform: translateX(120%);
    opacity: 0
  }

  to {
    transform: translateX(0);
    opacity: 1
  }
}

/* FOOTER */
.footer {
  background: #172337;
  color: rgba(255, 255, 255, .7)
}

.footer__top {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem
}

.footer__brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .65rem
}

.footer__desc {
  font-size: .78rem;
  line-height: 1.7;
  max-width: 280px;
  color: rgba(255, 255, 255, .55)
}

.footer__heading {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  margin-bottom: .85rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .4rem
}

.footer__links a {
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  transition: color var(--transition)
}

.footer__links a:hover {
  color: #fff
}

.footer__links span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: .35rem
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
  font-size: .72rem;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
  gap: .5rem
}

.footer__socials {
  display: flex;
  gap: .5rem
}

.footer__socials a {
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  transition: all var(--transition)
}

.footer__socials a:hover {
  background: var(--primary);
  color: #fff
}

/* MISC */
.add-to-cart-form {
  display: contents
}

.products-section {
  padding: 1.25rem 0
}

.search-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.25rem;
  padding: 1.25rem 0;
  align-items: start
}

.filter-sidebar {
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  padding: 1rem;
  position: sticky;
  top: calc(var(--header-h) + .75rem)
}

.filter-section {
  padding: .85rem 0;
  border-bottom: 1px solid var(--border)
}

.filter-section:last-child {
  border: none
}

.filter-section__title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .6rem;
  text-transform: uppercase;
  letter-spacing: .05em
}

.filter-option {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .28rem 0;
  cursor: pointer;
  font-size: .82rem;
  color: var(--text2)
}

.filter-option:hover {
  color: var(--primary)
}

.section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  margin-bottom: 1.25rem
}

.section-card__title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .85rem;
  display: flex;
  align-items: center;
  gap: .45rem
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text3)
}

.empty-state i {
  font-size: 3.5rem;
  opacity: .2;
  display: block;
  margin-bottom: 1.25rem
}

.empty-state p {
  font-size: 1rem;
  margin-bottom: 1.25rem
}

/* FLIPKART MOBILE BOTTOM NAV */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 900;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .1)
}

.mobile-bottom-nav__inner {
  display: flex;
  align-items: stretch
}

.mobile-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  padding: .55rem .25rem;
  color: var(--text3);
  font-size: .6rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--transition);
  position: relative
}

.mobile-bottom-nav__item i {
  font-size: 1.2rem
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item.active {
  color: var(--primary)
}

.mobile-bottom-nav__item .cart-badge {
  position: absolute;
  top: .35rem;
  left: 50%;
  margin-left: 2px
}

/* MOBILE SEARCH BAR */
.mobile-search-bar {
  display: none;
  background: var(--primary);
  padding: .5rem 1rem
}

.mobile-search-bar .search-wrap {
  max-width: 100%;
  height: 36px
}

/* ═══════════════════════════
   RESPONSIVE
═══════════════════════════ */
@media(min-width:1025px) {
  .topbar {
    display: block
  }
}

@media(max-width:1200px) {
  .product-detail__layout {
    grid-template-columns: 380px 1fr
  }
}

@media(max-width:1024px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr))
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr
  }

  .footer__grid>:first-child {
    grid-column: 1/-1
  }

  .admin-layout {
    grid-template-columns: 200px 1fr
  }

  .analytics-grid {
    grid-template-columns: 1fr
  }

  .cart-layout {
    grid-template-columns: 1fr 280px
  }

  .product-detail__layout {
    grid-template-columns: 340px 1fr;
    gap: 1.5rem
  }
}

@media(max-width:900px) {
  .product-detail__layout {
    grid-template-columns: 300px 1fr
  }
}

@media(max-width:768px) {
  :root {
    font-size: 14px;
    --header-h: 52px
  }

  .mobile-bottom-nav {
    display: flex
  }

  .main-content {
    padding-bottom: 56px
  }

  .footer {
    padding-bottom: 56px
  }

  .header__main {
    gap: .5rem;
    padding: .45rem 0
  }

  

  .search-cat,
  .search-form__cat {
    display: none
  }

  .container.header__main {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header__actions .hdr-btn:not(:last-child) {
    display: none
  }

  .header__actions {
    gap: 0;
    margin-left: 0
  }

  .hamburger {
    display: flex
  }

  .nav {
    display: none
  }

  .mobile-search-bar {
    display: flex
  }

  .search-wrap {
    max-width: 100%
  }

  .trust-bar__grid {
    grid-template-columns: 1fr 1fr
  }

  .trust-item {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: .6rem .85rem
  }

  .trust-item:nth-child(3),
  .trust-item:nth-child(4) {
    border-bottom: none
  }

  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: 0
  }

  .product-detail__gallery {
    position: static;
    border-left: none;
    border-right: none;
    border-radius: 0
  }

  .product-detail__info {
    padding: 1rem
  }

  .hero__slide-inner {
    grid-template-columns: 1fr
  }

  .hero__img,
  .hero__image-area {
    display: none
  }

  .hero {
    min-height: 200px
  }

  .hero__title {
    font-size: 1.5rem
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr
  }

  .footer__grid>:first-child {
    grid-column: 1/-1
  }

  .footer__grid>:last-child {
    grid-column: 1/-1
  }

  .admin-layout {
    grid-template-columns: 1fr
  }

  .admin-sidebar {
    display: none
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px
  }

  .product-card {
    border-radius: 0
  }

  .product-card__img-wrap,
  .product-card__image-link {
    padding: .75rem;
    aspect-ratio: 1
  }

  .product-card__body {
    padding: .6rem .75rem .85rem
  }

  .product-card__name {
    font-size: .82rem
  }

  .product-card__price {
    font-size: .95rem
  }

  .btn {
    min-height: 44px;
    padding: .65rem 1rem;
    font-size: .85rem
  }

  .btn--lg {
    min-height: 48px;
    padding: .8rem 1.25rem
  }

  .cart-layout {
    grid-template-columns: 1fr
  }

  .search-layout {
    grid-template-columns: 1fr
  }

  .filter-sidebar {
    position: static
  }

  .section {
    padding: 1rem 0
  }

  .container {
    padding: 0 12px
  }

  .logo__text {
    font-size: 1.1rem
  }

  .logo {
    min-width: auto
  }
}

@media(max-width:480px) {
  :root {
    font-size: 13px
  }

  .trust-bar__grid {
    grid-template-columns: 1fr 1fr
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px
  }

  .product-card__body {
    padding: .5rem .6rem .75rem
  }

  .product-card__name {
    font-size: .78rem
  }

  .product-card__price {
    font-size: .9rem
  }

  .product-card__off {
    font-size: .68rem
  }

  .product-card__actions .btn {
    font-size: .72rem;
    padding: .42rem
  }

  .product-card__img-wrap {
    padding: .5rem
  }

  .hero__title {
    font-size: 1.3rem
  }

  .hero {
    min-height: 170px
  }

  .footer__grid {
    grid-template-columns: 1fr
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr
  }

  .auth-box {
    padding: 1.5rem 1rem
  }

  .section-hdr__title {
    font-size: 1rem
  }
}

@media(max-width:360px) {
  .product-card__name {
    font-size: .72rem
  }

  .product-card__price {
    font-size: .85rem
  }

  .container {
    padding: 0 8px
  }
}

@media print {

  .header,
  .footer,
  .nav,
  .mobile-bottom-nav,
  .hero,
  .trust-bar,
  .cat-strip,
  .topbar {
    display: none !important
  }

  body {
    background: #fff
  }

  .container {
    max-width: 100%;
    padding: 0
  }
}
