* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --red: #e2231a;
  --red2: #b81812;
  --red3: #ff5549;
  --orange: #ff6b00;
  --gold: #ffd700;
  --dark: #111827;
  --dark2: #1f2937;
  --mid: #374151;
  --gray: #6b7280;
  --lgray: #f3f4f6;
  --border: #e5e7eb;
  --white: #fff;
  --green: #10b981;
  --blue: #3b82f6;
  --yellow: #f59e0b;
  --purple: #8b5cf6;
  --shadow: 0 2px 12px rgba(0, 0, 0, .09);
  --shadow2: 0 8px 32px rgba(0, 0, 0, .14);
  --shadow3: 0 20px 60px rgba(0, 0, 0, .2);
  --radius: 12px;
  --radius2: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f5f5f5;
  color: var(--dark);
  overflow-x: hidden;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
select,
textarea {
  font-family: 'Poppins', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none !important;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* UTILITIES */
.flex {
  display: flex;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.center {
  justify-content: center;
  text-align: center;
}

.col {
  flex-direction: column;
}

.wrap {
  flex-wrap: wrap;
}

.gap1 {
  gap: 8px;
}

.gap2 {
  gap: 12px;
}

.gap3 {
  gap: 16px;
}

.hide-on-desktop {
  display: none !important;
}

.w100 {
  width: 100%;
}

.bold {
  font-weight: 700;
}

.sm {
  font-size: 12px;
}

.xs {
  font-size: 11px;
}

.red {
  color: var(--red);
}

.green {
  color: var(--green);
}

.gray {
  color: var(--gray);
}

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 700;
  padding: 0 5px;
}

.badge-r {
  background: var(--red);
  color: #fff;
}

.badge-g {
  background: var(--green);
  color: #fff;
}

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.tag-r {
  background: #fee2e2;
  color: var(--red);
}

.tag-g {
  background: #d1fae5;
  color: var(--green);
}

.tag-b {
  background: #dbeafe;
  color: var(--blue);
}

.tag-o {
  background: #ffedd5;
  color: var(--orange);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red2);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(226, 35, 26, .35);
}

.btn-red:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: #fff;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: #059669;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  background: var(--dark2);
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: #e55c00;
}

.btn-google {
  background: #fff;
  color: #374151;
  border: 2px solid var(--border);
  width: 100%;
}

.btn-google:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none !important;
}

/* FORMS */
.form-group {
  margin-bottom: 14px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--dark);
}

.form-label .req {
  color: var(--red);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  transition: .2s;
  background: #fff;
  color: var(--dark);
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(226, 35, 26, .1);
}

.form-input::placeholder {
  color: #aaa;
}

.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center/16px no-repeat;
  appearance: none;
  cursor: pointer;
}

.form-select:focus {
  border-color: var(--red);
  outline: none;
}

.form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-error {
  font-size: 11px;
  color: var(--red);
  margin-top: 4px;
}

.form-section {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
}

.form-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--mid);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ANNOUNCEMENT BAR */
.ann-bar {
  background: linear-gradient(90deg, #b81812, #e2231a, #ff6b00);
  color: #fff;
  text-align: center;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ann-scroll {
  display: inline-block;
  animation: scrollText 25s linear infinite;
}

@keyframes scrollText {
  0% {
    transform: translateX(100vw);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes scrollTextReverse {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100vw);
  }
}

/* HEADER */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}

.hdr-top {
  background: linear-gradient(135deg, #150000, #2a0505);
  padding: 10px 0;
}

.hdr-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  cursor: pointer;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 3px 12px rgba(226, 35, 26, .4);
  flex-shrink: 0;
}

.logo-text .name {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

.logo-text .tag {
  font-size: 8px;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .8px;
  text-transform: uppercase;
}

.search-wrap {
  order: 3;
flex: 1 1 auto !important;
max-width: 500px !important;
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  max-width: none;
}

@media(min-width:992px) {
  .hdr-inner {
    flex-wrap: nowrap;
  }

  .search-wrap {
    order: initial;
    flex: 1;
    max-width: 380px;
  }
}

@media(max-width:480px) {
  .logo-text .name {
    font-size: 14px;
  }

  .logo-text .tag {
    font-size: 6.5px;
    letter-spacing: 0.4px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 15px;
    border-radius: 8px;
  }

  .logo {
    gap: 6px;
  }
}

.search-wrap select {
  border: none;
  outline: none;
  padding: 0 8px;
  font-size: 13px;
  background: #f0f0f0;
  border-right: 1px solid #ddd;
  cursor: pointer;
  min-width: 70px;
  max-width: 90px;
}

.search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
  min-width: 0;
}

.search-wrap button {
  background: var(--red);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  transition: .2s;
  flex-shrink: 0;
}

.search-wrap button:hover {
  background: var(--red2);
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}

.hdr-btn {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  padding: 7px 12px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: .2s;
  position: relative;
  white-space: nowrap;
}

.hdr-btn:hover {
  background: rgba(255, 255, 255, .22);
}

.hdr-btn .badge {
  position: absolute;
  top: -6px;
  right: -6px;
}

.nav-bar {
  background: var(--red);
}

.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 14px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nav-inner::-webkit-scrollbar {
  display: none;
}

.nav-item {
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: .15s;
  border-bottom: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
  background: rgba(0, 0, 0, .18);
  border-bottom-color: #fff;
}

.nav-item.gold {
  color: var(--gold);
}

/* HERO */
.store-body {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-content {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.hero-gallery {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  background: #f8fafc;
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
  padding: 36px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slide.on {
  opacity: 1;
  transform: scale(1);
}

.slide.anim-zoomin {
  transform: scale(1.1);
}

.slide.anim-zoomout {
  transform: scale(0.9);
}

.slide-content {
  position: relative;
  z-index: 2;
}

.slide-tag {
  background: var(--gold);
  color: var(--dark);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.slide-title {
  font-family: 'Nunito', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.slide-sub {
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
  margin-bottom: 12px;
}

.slide-disc {
  font-family: 'Nunito', sans-serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
}

.slide-deco {
  position: absolute;
  right: 20px;
  bottom: 0;
  opacity: .12;
  font-size: 120px;
  line-height: 1;
}

.banner-img-slide {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  border: none;
  transition: .3s;
}

.dot.on {
  width: 20px;
  background: #fff;
}

.side-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sb {
  flex: 1;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: .2s;
  min-height: 125px;
  position: relative;
  overflow: hidden;
}

.sb:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}

.sb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.sb1 {
  background: linear-gradient(135deg, #ff6b00, #ff9500);
}

.sb2 {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.sb .sb-content {
  position: relative;
  z-index: 2;
}

.sb .sb-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, .8);
  text-transform: uppercase;
  letter-spacing: .7px;
  font-weight: 600;
}

.sb .sb-title {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  margin: 4px 0;
}

.sb .sb-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, .8);
}

/* TRUST BAR */
.trust-bar {
  background: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}

.trust-item i {
  font-size: 18px;
  color: var(--red);
}

/* CATEGORIES */
.section {
  margin-bottom: 20px;
}

.sec-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.sec-title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.see-all {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
}

.cats-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cats-grid::-webkit-scrollbar {
  display: none;
}
.cats-grid > * {
  flex: 0 0 auto;
  width: 110px;
  scroll-snap-align: start;
}

.cat-card {
  background: #fff;
  border-radius: 10px;
  padding: 12px 6px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  border: 2px solid transparent;
}

.cat-card:hover,
.cat-card.sel {
  border-color: var(--red);
  background: #fff8f8;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.cat-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin: 0 auto 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cat-card span {
  font-size: 11px;
  font-weight: 600;
}

/* FLASH SALE */
.flash-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flash-badge {
  background: var(--red);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.flash-badge i {
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.countdown {
  display: flex;
  gap: 4px;
  align-items: center;
}

.cd-box {
  background: var(--dark);
  color: #fff;
  border-radius: 6px;
  padding: 5px 9px;
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 900;
  min-width: 34px;
  text-align: center;
}

.cd-sep {
  font-weight: 900;
  color: var(--red);
  font-size: 16px;
}

/* PRODUCT CARDS */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.prod-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: .25s;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
  position: relative;
  border: 1.5px solid #f0f0f0;
}

.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  border-color: var(--red);
}

.prod-img {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f8f8f8;
}

.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .3s;
}

.prod-card:hover .prod-img img {
  transform: scale(1.07);
}

.prod-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  background: var(--red);
  color: #fff;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
}

.prod-badge.hot {
  background: var(--orange);
}

.prod-badge.new {
  background: var(--green);
}

.wish-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  font-size: 14px;
  color: #ccc;
  transition: .2s;
  z-index: 3;
}

.wish-btn:hover,
.wish-btn.on {
  color: var(--red);
}

.prod-info {
  padding: 10px;
}

.prod-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 5px;
}

.prod-price {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.p-new {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--red);
}

.p-old {
  font-size: 11px;
  color: var(--gray);
  text-decoration: line-through;
}

.p-off {
  font-size: 10px;
  font-weight: 700;
  color: var(--green);
  background: #d1fae5;
  padding: 1px 5px;
  border-radius: 4px;
}

.prod-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.stars {
  color: var(--yellow);
}

.add-btn {
  width: 100%;
  padding: 7px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 7px;
  transition: .2s;
  white-space: nowrap;
}

.add-btn:hover {
  background: var(--red2);
}

.prod-actions {
  display: flex;
  gap: 6px;
  width: 100%;
  flex-wrap: wrap;
}

.prog-bar {
  height: 3px;
  background: #f0f0f0;
  border-radius: 2px;
  margin-top: 5px;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--orange), var(--red));
}

/* PROMO BANNERS */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.promo-b {
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: .2s;
  position: relative;
  overflow: hidden;
}

.promo-b:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
}

.pb1 {
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
}

.pb2 {
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
}

.pb3 {
  background: linear-gradient(135deg, #d4fc79, #96e6a1);
}

.promo-b .pb-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  opacity: .65;
  margin-bottom: 4px;
}

.promo-b .pb-title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}

.promo-b .pb-sub {
  font-size: 12px;
  color: var(--mid);
  margin-bottom: 12px;
}

/* FILTERS BAR */
.filters-bar {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}

.filter-group label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.filter-group select,
.filter-group input[type=range] {
  width: 100%;
}

.price-range-display {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
}

.filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* SHOP/WISHLIST PAGE */
.shop-layout {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 14px;
}

.sidebar {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: 80px;
  box-shadow: var(--shadow);
}

.sidebar-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--dark);
}

.sidebar-section {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.sidebar-section:last-child {
  border: none;
}

.sidebar-section h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 3px 0;
  font-size: 13px;
}

.check-item input[type=checkbox] {
  accent-color: var(--red);
  cursor: pointer;
}

.range-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray);
  margin-top: 4px;
}

.star-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 3px 0;
  font-size: 13px;
}

.star-filter:hover {
  color: var(--red);
}

/* VOUCHERS */
.voucher-scroll-wrap {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.voucher-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.voucher-ticket {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  box-shadow: 0 4px 12px rgba(226, 35, 26, 0.06);
  transition: 0.2s;
  overflow: hidden;
}

.voucher-ticket:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(226, 35, 26, 0.12);
}

.voucher-ticket::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  background: var(--red);
  border-radius: 12px 0 0 12px;
}

.v-amount {
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  margin-bottom: 4px;
}

.v-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  opacity: 0.8;
}

.v-code {
  font-family: monospace;
  background: #fff;
  color: var(--red);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  margin-top: 10px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  letter-spacing: 1px;
}

.v-action {
  border-left: 2px dashed rgba(226, 35, 26, 0.2);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.v-btn {
  background: #fff;
  color: var(--red);
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
  box-shadow: 0 2px 6px rgba(226, 35, 26, 0.15);
}

.v-btn:hover {
  background: var(--red);
  color: #fff;
}

.voucher-ticket-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 200px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(226, 35, 26, 0.04);
  transition: .2s;
}

.voucher-ticket-compact:hover {
  border-color: #fca5a5;
  box-shadow: 0 4px 12px rgba(226, 35, 26, 0.08);
}

.vc-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vc-amount {
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}

.vc-code {
  font-family: monospace;
  font-size: 11px;
  color: var(--gray);
  font-weight: 700;
}

.vc-apply {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.vc-apply:hover {
  background: var(--red2);
}



/* MODAL */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(4px);
}

.modal-box {
  background: #fff;
  border-radius: 18px;
  max-width: 880px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}
.modal-box::-webkit-scrollbar {
  width: 6px;
}
.modal-box::-webkit-scrollbar-track {
  background: transparent;
  margin: 18px 0; /* Keeps thumb away from rounded corners */
}
.modal-box::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 8px;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-media {
  background: #f8f8f8;
  padding: 24px;
  border-radius: 18px 0 0 18px;
}

.main-img {
  width: 100%;
  border-radius: 10px;
  max-height: 450px;
  object-fit: contain;
  background: #fff;
  margin-bottom: 10px;
}

.thumb-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.thumb {
  width: 54px;
  height: 54px;
  border-radius: 7px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .2s;
}

.thumb:hover,
.thumb.on {
  border-color: var(--red);
}

.modal-vid {
  width: 100%;
  border-radius: 8px;
  margin-top: 8px;
}

.modal-info {
  padding: 24px;
  overflow-y: auto;
}

.m-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  z-index: 10;
}

.m-close:hover {
  background: #e5e7eb;
}

.m-title {
  font-family: 'Nunito', sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 7px;
}

.m-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 10px 0;
  flex-wrap: wrap;
}

.m-price {
  font-family: 'Nunito', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
}

.m-old {
  font-size: 14px;
  color: var(--gray);
  text-decoration: line-through;
}

.m-off {
  background: #fee2e2;
  color: var(--red);
  padding: 3px 9px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}

.qty-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}

.qty-btn:hover {
  background: var(--lgray);
}

.qty-val {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
  min-width: 36px;
  text-align: center;
}

.adv-pay-notice {
  background: linear-gradient(135deg, #fff8f0, #fff);
  border: 2px solid var(--orange);
  border-radius: 12px;
  padding: 14px;
  margin: 10px 0;
  font-size: 12px;
}

.adv-pay-notice .notice-title {
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 4px;
  font-size: 13px;
}

.m-atc {
  width: 100%;
  padding: 13px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: .2s;
}

.m-atc:hover {
  background: var(--red2);
}

.m-wish {
  width: 100%;
  padding: 11px;
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: .2s;
  color: var(--gray);
}

.m-wish:hover,
.m-wish.on {
  border-color: var(--red);
  color: var(--red);
}

/* CART */
.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(3px);
}

.cart-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #fff;
  z-index: 801;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  transition: transform .3s ease;
}

.cart-panel.open {
  transform: translateX(0);
}

.cart-hdr {
  padding: 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: 'Nunito', sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.cart-close {
  width: 32px;
  height: 32px;
  background: var(--lgray);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-item-price {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 6px;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cq-btn {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cq-val {
  font-size: 13px;
  font-weight: 700;
  min-width: 24px;
  text-align: center;
}

.cart-remove {
  border: none;
  background: none;
  cursor: pointer;
  color: #ccc;
  font-size: 16px;
  padding: 4px;
  transition: .2s;
}

.cart-remove:hover {
  color: var(--red);
}

.cart-footer {
  padding: 14px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.cart-total-lbl {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
}

.cart-total-amt {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--red);
}

.empty-cart {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}

.empty-cart i {
  font-size: 48px;
  opacity: .2;
  margin-bottom: 12px;
  display: block;
}

/* CHECKOUT */
.ch-page-hdr {
  background: #fff;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

.ch-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  max-width: 500px;
  margin: 0 auto;
}

.ch-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  flex: 1;
}

.ch-step.on {
  color: var(--red);
}

.ch-step.done {
  color: var(--green);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--lgray);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.ch-step.on .step-num {
  background: var(--red);
  color: #fff;
}

.ch-step.done .step-num {
  background: var(--green);
  color: #fff;
}

.ch-line {
  height: 2px;
  background: var(--lgray);
  flex: 1;
  margin: 0 4px;
}

.checkout-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  align-items: start;
}

.checkout-grid {
  display: contents;
}

.co-section {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

.co-section-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark);
}

.order-summary {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}

.os-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.os-item:last-child {
  border: none;
}

.os-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.os-info {
  flex: 1;
}

.os-name {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 3px;
}

.os-price {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
}

.os-totals {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid var(--border);
}

.os-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 7px;
}

.os-total {
  font-weight: 800;
  font-size: 15px;
  color: var(--dark);
}

.payment-opts {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: .2s;
  font-size: 13px;
  font-weight: 600;
}

.pay-opt:hover,
.pay-opt.sel {
  border-color: var(--red);
  background: #fff8f8;
}

.pay-opt-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.easypaisa-box {
  background: #f0f9f0;
  border: 2px solid var(--green);
  border-radius: 12px;
  padding: 16px;
  margin: 10px 0;
}

.ep-title {
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ep-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0, 150, 0, .1);
  font-size: 13px;
}

.ep-row:last-child {
  border: none;
}

.ep-val {
  font-weight: 700;
  color: var(--dark);
}

.jazzcash-box {
  background: #fff2f0;
  border: 2px solid #e83f6f;
  border-radius: 12px;
  padding: 16px;
  margin: 10px 0;
}

.jc-title {
  font-weight: 700;
  color: #e83f6f;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ss-upload {
  border: 2px dashed var(--border);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: .2s;
  font-size: 13px;
  color: var(--gray);
}

.ss-upload:hover {
  border-color: var(--green);
  background: #f0fdf4;
}

.ss-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ss-upload-wrap {
  position: relative;
}

.ss-preview {
  max-width: 200px;
  border-radius: 10px;
  margin: 10px auto;
  border: 2px solid var(--green);
}

.order-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 60px;
  margin-bottom: 12px;
}

.province-city {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.voucher-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.voucher-row input {
  flex: 1;
}

/* AUTH PAGE */
.auth-page {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.auth-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 32px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.auth-box .form-group {
  text-align: left;
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
}

.ai {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  font-weight: 900;
  margin: 0 auto 10px;
  box-shadow: 0 8px 20px rgba(226, 35, 26, .3);
  transition: transform 0.2s ease;
}

.ai:hover {
  transform: scale(1.05);
}

.an {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
}

.at {
  font-size: 12.5px;
  color: #64748b;
  margin-top: 2px;
}

.auth-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 24px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  transition: .2s;
}

.auth-tab.on {
  background: #fff;
  color: var(--red);
  box-shadow: var(--shadow);
}

.auth-title {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #1e293b;
  text-align: left;
}

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin: 18px 0;
  position: relative;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: #e2e8f0;
}

.auth-divider::before {
  left: 0;
}

.auth-divider::after {
  right: 0;
}

.auth-switch {
  text-align: center;
  font-size: 12.5px;
  color: #64748b;
  margin-top: 20px;
}

.auth-switch a {
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
}

.google-btn {
  background: #fff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  transition: all .2s;
  margin-bottom: 4px;
  box-sizing: border-box;
}

.google-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.google-btn img {
  width: 18px;
  height: 18px;
}

/* Chrome/Safari Autofill Styles Overrides */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
  -webkit-text-fill-color: #0f172a !important;
}

/* SELLER GATE */
.seller-gate {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f0f0f, #1a0000, #2d0505);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.sg-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow3);
}

.sg-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 8px 24px rgba(226, 35, 26, .4);
}

.sg-title {
  font-family: 'Nunito', sans-serif;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 6px;
}

.sg-sub {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 24px;
}

/* SELLER DASHBOARD */
.dash-page {
  min-height: 100vh;
  display: flex;
}

.dash-nav {
  width: 220px;
  background: linear-gradient(180deg, #150000, #2a0808);
  color: #fff;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 200;
  overflow-y: auto;
}

.dash-logo {
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dash-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
}

.dash-logo-text {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

.dn-section {
  padding: 10px 16px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .3);
  text-transform: uppercase;
}

.dn-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .7);
  transition: .15s;
}

.dn-item:hover,
.dn-item.active {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.dn-item i {
  width: 18px;
  text-align: center;
  font-size: 14px;
}

.dash-content {
  margin-left: 220px;
  flex: 1;
  min-width: 0;
  min-height: 100vh;
  background: #f5f5f5;
  padding: 0;
  overflow-x: hidden;
}

.dash-mob-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #150000, #2a0808);
  padding: 12px 14px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 150;
}

.dash-mob-topbar .dm-title {
  font-family: 'Nunito', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}

.dash-hamburger {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
}

.dash-overlay-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 999;
}

.dash-overlay-bg.show {
  display: block;
}

.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 18px;
  width: 54px;
  height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .5);
  z-index: 700;
  cursor: pointer;
  transition: .2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  transition: .2s;
}

.wa-btn:hover {
  background: #1ebe5d;
}

.order-full-detail {
  background: #f8faff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
  margin-top: 8px;
}

.od-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}

.od-row:last-child {
  border: none;
}

.od-key {
  color: var(--gray);
  font-weight: 600;
}

.od-val {
  font-weight: 700;
  color: var(--dark);
}

.dash-topbar {
  padding: 20px 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.dash-topbar h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.dash-main {
  padding: 0 22px 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
}

.stat-val {
  font-family: 'Nunito', sans-serif;
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 2px;
}

.stat-lbl {
  font-size: 12px;
  color: var(--gray);
}

.stat-chg {
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}

.chg-up {
  color: var(--green);
}

.chg-down {
  color: var(--red);
}

.dash-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.data-table {
  background: #fff;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-shadow: var(--shadow);
}

.data-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.data-table th {
  background: #f8f8f8;
  padding: 12px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .4px;
  white-space: nowrap;
}

.data-table td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

.data-table tr:last-child td {
  border: none;
}

.data-table tr:hover td {
  background: #fafafa;
}

.pli-btn {
  padding: 5px 12px;
  border-radius: 7px;
  border: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: .2s;
}

/* DASH PRODUCT UPLOAD */
.img-upload-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.img-upload-slot {
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: .2s;
  background: #f9fafb;
}

.img-upload-slot:hover {
  border-color: var(--red);
  background: #fff8f8;
}

.img-upload-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-upload-slot input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.img-upload-slot .slot-icon {
  font-size: 22px;
  color: #ccc;
  pointer-events: none;
}

.img-upload-slot .slot-txt {
  font-size: 10px;
  color: #ccc;
  margin-top: 4px;
  pointer-events: none;
}

.img-upload-slot .remove-img {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: rgba(220, 38, 38, .9);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.banner-upload-box {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: .2s;
  background: #f9fafb;
}

.banner-upload-box:hover {
  border-color: var(--red);
  background: #fff8f8;
}

.banner-upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.banner-preview {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 10px;
}

/* ORDER STATUS BADGES */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.status-pending {
  background: #fef9c3;
  color: #854d0e;
}

.status-processing {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-shipped {
  background: #ede9fe;
  color: #6d28d9;
}

.status-delivered {
  background: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

/* WISHLIST PAGE */
.wishlist-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px;
}

.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray);
}

.empty-state i {
  font-size: 52px;
  opacity: .2;
  display: block;
  margin-bottom: 14px;
}

.empty-state h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.empty-state p {
  font-size: 13px;
}

/* ORDERS PAGE (user) */
.orders-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
}

/* NEW ORDER CARD UI */
@keyframes ocCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.oc-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 24px;
  overflow: hidden;
  position: relative;
  animation: ocCardIn 0.35s ease both;
  transition: box-shadow 0.2s, transform 0.2s;
}

.oc-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.oc-card:nth-child(1) {
  animation-delay: 0s;
}

.oc-card:nth-child(2) {
  animation-delay: 0.08s;
}

.oc-card:nth-child(3) {
  animation-delay: 0.16s;
}

.oc-card:nth-child(4) {
  animation-delay: 0.22s;
}

.oc-card:nth-child(n+5) {
  animation-delay: 0.28s;
}

.oc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.oc-id {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.oc-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 6px;
}

.oc-status {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oc-status.pending {
  background: rgba(245, 158, 11, 0.1);
  color: var(--yellow);
}

.oc-status.processing {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.oc-status.shipped {
  background: rgba(139, 92, 246, 0.1);
  color: var(--purple);
}

.oc-status.delivered {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.oc-status.cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: var(--red);
}

.oc-section-title {
  font-size: 12px;
  font-weight: 900;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.oc-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.oc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fcfcfc;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  transition: 0.2s;
}

.oc-item:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: #e5e7eb;
}

.oc-item-img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f5f5f5;
}

.oc-item-info {
  flex: 1;
  min-width: 0;
}

.oc-item-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.oc-item-meta {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

.oc-item-price {
  font-size: 14px;
  font-weight: 900;
  color: var(--red);
  font-family: 'Nunito', sans-serif;
}

.oc-summary-box {
  background: #fafafa;
  border-radius: 12px;
  padding: 4px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
}

.oc-sum-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.oc-sum-item:last-child {
  border-bottom: none;
}

.oc-sum-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.oc-sum-val {
  font-size: 13px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.4;
  text-align: right;
}

.oc-sum-val.highlight {
  color: var(--green);
}

.oc-sum-total {
  border-top: 2px dashed var(--border);
  padding: 12px 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.oc-sum-total-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.oc-sum-total-val {
  font-size: 16px;
  font-weight: 900;
  color: var(--red);
  font-family: 'Nunito', sans-serif;
}

.oc-timeline-wrap {
  margin-bottom: 24px;
  position: relative;
  padding: 0 10px;
}

.oc-timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.oc-timeline::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 4px;
  background: #f0f0f0;
  z-index: -1;
  border-radius: 4px;
}

.oc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}

.oc-step::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 50%;
  width: 100%;
  height: 4px;
  background: var(--green);
  z-index: -1;
  display: none;
}

.oc-step.active~.oc-step::before {
  display: none;
}

.oc-step.done::before {
  display: block;
}

.oc-step:first-child::before {
  display: none;
}

.oc-step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #a1a1aa;
  font-weight: 800;
  transition: 0.3s;
  box-shadow: 0 0 0 4px #fff;
}

.oc-step.done .oc-step-icon {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.oc-step.active .oc-step-icon {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.oc-step-label {
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  text-align: center;
  line-height: 1.2;
}

.oc-step.done .oc-step-label {
  color: var(--green);
}

.oc-step.active .oc-step-label {
  color: var(--red);
}

.oc-action-btn {
  width: 100%;
  background: #25d366;
  color: #fff;
  border: none;
  padding: 15px 20px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.oc-action-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* FOOTER */
footer {
  background: linear-gradient(180deg, #0f0000, #1a0000);
  color: rgba(255, 255, 255, .75);
  margin-top: 30px;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 14px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-desc {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 8px;
  color: rgba(255, 255, 255, .5);
}

.social-links {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  transition: .2s;
}

.social-link:hover {
  background: var(--red);
  color: #fff;
}

.footer-heading {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  transition: .2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 14px;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
}

.pay-icons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pay-icon {
  background: rgba(255, 255, 255, .1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
}

/* NOTIFICATIONS */
#notif-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.notif {
  background: #fff;
  border-radius: 12px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
  max-width: 360px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .2);
  transform: translateX(140%);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}

.notif.show {
  transform: translateX(0);
}

.notif-icon {
  font-size: 18px;
}

.notif-txt {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

/* MOBILE BOTTOM NAV */
.mob-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  z-index: 400;
  padding-bottom: env(safe-area-inset-bottom);
}

.mob-nav-inner {
  display: flex;
}

.mob-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--gray);
  cursor: pointer;
  border: none;
  background: none;
  gap: 3px;
  transition: .2s;
}

.mob-nav-btn.active,
.mob-nav-btn:hover {
  color: var(--red);
}

.mob-nav-btn i {
  font-size: 20px;
}

.mob-nav-btn .mn-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 16px);
  background: var(--red);
  color: #fff;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  min-width: 16px;
  text-align: center;
}

/* MOBILE RESPONSIVE */
/* PROFILE PAGE */
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media(max-width: 580px) {
  .profile-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.profile-container {
  max-width: 900px;
  margin: 24px auto 80px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
}

.profile-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border);
  box-sizing: border-box;
  width: 100%;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 20px rgba(226, 35, 26, 0.25);
}

.profile-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 4px;
}

.profile-email {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 20px;
}

.profile-menu {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-menu-btn {
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--dark);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .2s, color .2s, border-color .2s;
  text-align: left;
  box-sizing: border-box;
  min-height: 44px;
  outline: none;
}

.profile-menu-btn:hover,
.profile-menu-btn.active {
  background: rgba(226, 35, 26, 0.06);
  border-color: var(--red);
  color: var(--red);
}

.profile-menu-btn.btn-logout:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: #ef4444;
  color: #ef4444;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.profile-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: left;
}

.profile-form-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

/* Profile page — no horizontal overflow ever */
#profilePage {
  overflow-x: hidden;
  width: 100%;
}

.profile-content {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

#profSectionDetails,
#profSectionOrders,
#profSectionWishlist {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.profile-form-card {
  min-width: 0;
  overflow-x: hidden;
}

/* Force single-column grids inside profile on very narrow screens */
@media(max-width: 480px) {

  #profSectionDetails .form-row,
  #profSectionDetails .province-city {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .oc-summary-box {
    grid-template-columns: 1fr !important;
  }

  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media(max-width: 768px) {
  .profile-container {
    grid-template-columns: 1fr;
    margin: 0 auto 140px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .profile-card {
    width: 100%;
  }
}

@media(max-width:768px) {
  .hide-on-mobile {
    display: none !important;
  }

  .mob-nav {
    display: block;
  }

  body {
    padding-bottom: 72px;
  }

  .hdr-inner {
    gap: 6px;
    padding: 0 8px;
  }

  /* .logo-text{display:none;} removed to show site name */
  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .search-wrap input {
    font-size: 13px;
    padding: 8px 10px;
  }

  .search-wrap button {
    padding: 0 12px;
  }

  .hdr-btn span:not(.badge) {
    display: none;
  }

  .hdr-btn {
    padding: 7px 9px;
    font-size: 12px;
  }

  .hdr-top {
    padding: 7px 0;
  }

  .hero-wrap {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-gallery {
    height: 250px;
  }

  .slide {
    padding: 16px;
  }

  .slide-title {
    font-size: 20px !important;
  }

  .slide-disc {
    font-size: 24px !important;
  }

  .slide-sub {
    font-size: 11px !important;
  }

  .side-banners {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .cat-card {
    padding: 8px 4px;
  }

  .cat-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .cat-card span {
    font-size: 10px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .prod-card {
    border-radius: 10px;
  }

  .prod-name {
    font-size: 11px;
  }

  .p-new {
    font-size: 14px;
  }

  .add-btn {
    font-size: 11px;
    padding: 6px;
  }

  .prod-actions {
    flex-direction: column;
    gap: 4px;
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .trust-bar {
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    padding: 10px;
    flex-wrap: nowrap;
  }

  .trust-item {
    flex-shrink: 0;
    font-size: 11px;
  }

  .trust-item i {
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .province-city {
    grid-template-columns: 1fr;
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-media {
    border-radius: 18px 18px 0 0;
  }

  .modal-box {
    border-radius: 18px;
    margin: 8px;
    width: calc(100% - 16px);
  }

  .modal-info {
    padding: 16px;
  }

  .m-title {
    font-size: 16px;
  }

  .m-price {
    font-size: 22px;
  }

  .checkout-wrap {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .order-summary {
    display: none;
  }

  .shop-layout {
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 280px;
    z-index: 1000;
    height: 100vh;
    border-radius: 0;
    overflow-y: auto;
    transition: left .3s ease;
    box-shadow: none;
    margin: 0;
    display: block;
  }

  .sidebar.mob-open {
    left: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .4);
  }

  .sidebar .m-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 15px;
    z-index: 10;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .hide-on-desktop {
    display: flex !important;
  }


  .wishlist-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* SELLER DASHBOARD MOBILE */
  .dash-nav {
    width: 260px;
    position: fixed;
    left: -260px;
    top: 0;
    bottom: 0;
    z-index: 1000;
    transition: left .3s ease;
    overflow-y: auto;
  }

  .dash-nav.mob-open {
    left: 0;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .4);
  }

  .dash-mob-topbar {
    display: flex !important;
  }

  .dash-content {
    margin-left: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .stat-card {
    padding: 12px;
  }

  .stat-val {
    font-size: 20px;
  }

  .dash-2col {
    grid-template-columns: 1fr;
  }

  .dash-page {
    flex-direction: column;
  }

  .dash-topbar {
    padding: 14px 14px 0;
    margin-bottom: 12px;
  }

  .dash-topbar h1 {
    font-size: 18px;
  }

  .dash-main {
    padding: 0 14px 14px;
  }

  .data-table {
    display: block;
    width: 100%;
    max-width: calc(100vw - 28px);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  .data-table::-webkit-scrollbar {
    height: 6px;
  }

  .data-table::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
  }

  .data-table::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
  }

  .data-table table {
    min-width: 700px;
    width: 100%;
  }

  .filters-bar {
    display: none;
  }

  .sec-title {
    font-size: 15px;
  }

  .ann-bar {
    font-size: 10px;
  }

  .store-body {
    padding: 8px;
  }

  .section {
    margin-bottom: 16px;
  }

  .orders-page {
    padding: 8px;
  }

  .oc-card {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
  }

  .oc-step-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-width: 2px;
  }

  .oc-timeline::before {
    top: 13px;
    height: 3px;
  }

  .oc-step::before {
    top: 13px;
    height: 3px;
  }

  .oc-step-label {
    font-size: 10px;
  }

  .whatsapp-float {
    bottom: 80px;
    right: 14px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .img-upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ch-page-hdr {
    padding: 10px;
  }

  .co-section {
    padding: 14px;
  }
}

@media(max-width:480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }

  .cats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .auth-box {
    padding: 18px;
  }

  .sg-box {
    padding: 20px;
  }

  .hero-gallery {
    height: 220px;
  }

  .slide-title {
    font-size: 18px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-bar {
    gap: 8px;
  }

  .oc-item {
    gap: 10px;
    padding: 12px;
  }

  .oc-item-img {
    width: 48px;
    height: 48px;
  }

  .oc-item-name {
    font-size: 12px;
    line-height: 1.4;
  }

  .oc-item-meta {
    font-size: 11px;
    margin-top: 2px;
  }

  .oc-item-price {
    font-size: 13px;
  }

  .oc-id {
    font-size: 14px;
  }

  .oc-date {
    font-size: 11px;
  }

  .oc-section-title {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .oc-sum-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px 0;
  }

  .oc-sum-val {
    text-align: left;
  }

  .oc-action-btn {
    padding: 12px;
    font-size: 13px;
    border-radius: 10px;
  }

  .oc-action-btn i {
    font-size: 16px !important;
  }

  .oc-status {
    padding: 4px 10px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media(max-width: 580px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

/* View Toggle responsive overrides */
.view-toggle {
  display: none !important;
}

@media(max-width: 768px) {
  .view-toggle {
    display: flex !important;
  }
}

@media(min-width: 769px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr) !important;
  }
}

/* Skeleton Loading Cards */
.prod-card.skeleton {
  pointer-events: none;
  background: #ffffff;
  border-color: #f0f0f0;
}

.prod-card.skeleton:hover {
  transform: none;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
}

.prod-card.skeleton .prod-img {
  background: #f1f5f9;
  height: 100%;
  aspect-ratio: 1;
}

.prod-card.skeleton .prod-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prod-card.skeleton .skeleton-text {
  height: 12px;
  background: #e2e8f0;
  border-radius: 4px;
}

.prod-card.skeleton .skeleton-title {
  width: 90%;
  height: 14px;
}

.prod-card.skeleton .skeleton-price {
  width: 60%;
  height: 12px;
}

.prod-card.skeleton .skeleton-meta {
  width: 45%;
  height: 10px;
}

.prod-card.skeleton .skeleton-btn {
  height: 34px;
  background: #e2e8f0;
  border-radius: 8px;
  width: 100%;
  margin-top: 4px;
}

/* Shimmer Animation */
.shimmer {
  position: relative;
  overflow: hidden;
  background-color: #e2e8f0;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.4) 20%,
      rgba(255, 255, 255, 0.6) 60%,
      rgba(255, 255, 255, 0) 100%);
  animation: shimmer-pulse 1.6s infinite;
}

@keyframes shimmer-pulse {
  100% {
    transform: translateX(100%);
  }
}