/* ============================
   CRYPTOVEDA - MASTER STYLESHEET
   ============================ */

:root {
  --bg: #070707;
  --panel: #0f0f10;
  --panel2: #0b0b0c;
  --text: #f3f3f3;
  --muted: #b9b9b9;
  --gold: #d7b66a;
  --gold2: #f1d38c;
  --line: rgba(215,182,106,.18);
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 28px;
  --max: 1180px;
  --success: #4CAF50;
  --error: #ff4444;
  --accent: #d7b66a;
  --border: rgba(215,182,106,.18);
}

/* ===== RESET & BASE STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  margin: 0;
  font-family: ui-serif, "Georgia", "Times New Roman", serif;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(215,182,106,.08), transparent 55%),
    radial-gradient(900px 600px at 80% 20%, rgba(215,182,106,.06), transparent 55%),
    linear-gradient(180deg, #050505, #070707 40%, #050505);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-style: none;
  -webkit-user-drag: none;
  user-drag: none;
}

button, input, select, textarea {
  font: inherit;
  font-family: inherit;
  border: none;
  background: none;
  outline: none;
}

::selection {
  background: rgba(215,182,106,.25);
  color: var(--text);
}

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

::-webkit-scrollbar-track {
  background: rgba(0,0,0,.1);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(215,182,106,.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(215,182,106,.5);
}

/* ===== LAYOUT & UTILITIES ===== */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.spacer {
  height: 28px;
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
  border: none;
}

.kicker {
  color: rgba(241,211,140,.9);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
  margin-bottom: 5px;
}

.small {
  font-size: 12px;
  color: var(--muted);
}

.bigPrice {
  font-size: 20px;
  font-weight: 700;
  color: var(--gold2);
}

/* ===== HEADER & NAVIGATION ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5,5,5,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: all 0.3s ease;
}

.topbar.scrolled {
  background: rgba(5,5,5,.98);
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: 64px;
}

/* Brand styling */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logoMark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background:
    radial-gradient(18px 18px at 30% 30%, rgba(241,211,140,.85), transparent 62%),
    linear-gradient(145deg, rgba(215,182,106,.85), rgba(215,182,106,.2));
  box-shadow: 0 10px 30px rgba(215,182,106,.18);
  border: 1px solid rgba(215,182,106,.35);
}

.brand img {
  width: 100px;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
}

.brandText {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brandText b {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 12px;
  color: var(--gold2);
}

.brandText span {
  font-size: 14px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

/* Desktop Navigation */
.navlinks {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.navlinks a {
  color: rgba(243,243,243,.85);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 12px;
  transition: all .2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.navlinks a:hover,
.navlinks a:focus {
  background: rgba(215,182,106,.09);
  color: var(--gold2);
  transform: translateY(-1px);
  outline: none;
}

/* Actions & Icons */
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.iconBtn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  color: aliceblue;
  border: 1px solid rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.iconBtn:hover,
.iconBtn:focus {
  transform: translateY(-1px);
  border-color: rgba(215,182,106,.28);
  background: rgba(215,182,106,.06);
  outline: none;
}

.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  padding: 0 6px;
  background: rgba(215,182,106,.92);
  color: #111;
  font-size: 11px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0,0,0,.35);
  font-family: ui-sans-serif, system-ui;
}

/* Mobile Menu Toggle */
.mobileToggle,
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  color: aliceblue;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}

.mobileToggle:hover,
.menu-toggle:hover {
  border-color: rgba(215,182,106,.28);
  background: rgba(215,182,106,.06);
}

.menu-close {
  background: none;
  border: none;
  color: var(--gold2);
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

/* Mobile Menu */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 999;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background: var(--panel);
  border-left: 1px solid var(--line);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 20px;
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.mobile-menu-links a {
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.mobile-menu-links a:hover {
  background: rgba(215,182,106,0.1);
  border-color: rgba(215,182,106,0.3);
}

/* Mobile Social Icons */
.mobile-social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.mobile-social-icons a {
  color: var(--gold2);
  transition: color 0.3s ease;
}

.mobile-social-icons a:hover {
  color: var(--gold);
}

/* ===== MOBILE BOTTOM NAV ===== */
.mobile-bottom-nav {
  display: none;
}

/* ===== BUTTON STYLES ===== */
.btn, .miniBtn {
  cursor: pointer;
  border-radius: var(--radius);
  border: 1px solid rgba(215,182,106,.28);
  background: rgba(215,182,106,.08);
  color: var(--gold2);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  font-family: ui-sans-serif, system-ui, sans-serif;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 24px;
}

.miniBtn {
  padding: 8px 16px;
  font-size: 11px;
}

.btn:hover,
.btn:focus,
.miniBtn:hover,
.miniBtn:focus {
  transform: translateY(-2px);
  background: rgba(215,182,106,.12);
  border-color: rgba(215,182,106,.42);
  outline: none;
}

.btn.primary,
.miniBtn.primary,
.btn.gold {
  background: linear-gradient(135deg, var(--gold), #b8993f);
  color: #111;
  border: none;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(215,182,106,0.3);
}

.btn.primary:hover,
.miniBtn.primary:hover,
.btn.gold:hover {
  background: linear-gradient(135deg, #e8c97c, var(--gold));
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 15px 35px rgba(215,182,106,0.4);
}

.btn.ghost {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  color: rgba(243,243,243,.9);
}

.btn.ghost:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(215,182,106,.22);
  color: var(--gold2);
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 14px;
  cursor: pointer;
}

.btn-remove {
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  padding: 5px 15px;
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-remove:hover {
  background: rgba(215,182,106,0.1);
}

/* ===== CARD & PANEL STYLES ===== */
.card, .panel {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(241,211,140,.34);
}

.panelPad {
  padding: 20px;
}

/* ===== PRODUCT GRID ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin: 30px 0;
}

.productCard,
.card {
  border-radius: var(--radius2);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  transition: all .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
}

.productCard:hover {
  transform: translateY(-8px);
  border-color: rgba(241,211,140,.34);
  background: rgba(215,182,106,.04);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}

/* Product Badges */
.discountBadge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #e53935, #c62828);
  color: white;
  border: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.3);
  z-index: 2;
}

.discount-badge-large {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg,#ff5722,#e64a19);
  color: #fff;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  z-index: 2;
  box-shadow: 0 8px 18px rgba(230,74,25,.30);
}

/* Product Media */
.media {
  margin-bottom: 20px;
}

.mainImg,
.pImg {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.02);
  position: relative;
  flex-shrink: 0;
}

.mainImg img,
.pImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
  max-width: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.mainImg:hover img,
.pImg:hover img {
  transform: scale(1.05);
}

/* Product Image Container (for product.php) */
.product-image-container {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 300px;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: rgba(255,255,255,.01);
}

.no-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 16px;
  border-radius: 16px;
}

/* Price Box */
.priceBox {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(215,182,106,.05);
}

.priceLine {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.mrp {
  color: var(--muted);
  text-decoration: line-through;
}

.price {
  color: var(--gold2);
  font-weight: 900;
  letter-spacing: .02em;
}

.save-badge {
  background: linear-gradient(135deg,#4CAF50,#2E7D32);
  color: #fff;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.stockLine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* Thumbnails */
.thumbnails-container,
.image-gallery {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 5px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.thumbnail,
.thumb {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.03);
}

.thumbnail:hover,
.thumb:hover,
.thumbnail.active,
.thumb.active {
  border-color: var(--gold2);
  transform: scale(1.05);
}

.thumbnail img,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Product Content */
.content,
.pBody {
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0;
}

.cat,
.pTop {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.nameRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.name,
.pTitle {
  font-size: 18px;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
  font-weight: 600;
  flex: 1;
}

.priceRow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.discount-amount {
  font-size: 12px;
  padding: 2px 8px;
  background: rgba(76, 175, 80, 0.15);
  border-radius: 4px;
  color: #4caf50;
  font-weight: 600;
  white-space: nowrap;
}

/* Weight info */
.weight-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(243,243,243,0.7);
  margin: 8px 0;
}

.weight-info svg {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  color: var(--gold2);
}

/* Rating */
.ratingRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.stars {
  display: flex;
  gap: 3px;
  line-height: 1;
}

.star {
  color: #ffd700;
  font-size: 18px;
}

.ratingText {
  font-size: 12px;
  color: var(--muted);
}

/* Description */
.desc,
.pMeta {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

/* Quantity */
.qtyWrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.qtyLabel {
  font-size: 14px;
  color: var(--muted);
}

.stepper {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.stepBtn {
  background: none;
  border: none;
  color: var(--text);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.stepBtn:hover {
  background: rgba(255,255,255,0.1);
}

.qtyVal {
  width: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
}

/* Variant Options */
.variantWrap {
  margin: 16px 0;
}

.variantLabel {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .10em;
  margin-bottom: 10px;
}

.variantOptions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.optBtn {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: .2s ease;
  min-width: 56px;
  text-align: center;
  font-weight: 700;
}

.optBtn:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(215,182,106,.35);
}

.optBtn.active {
  background: rgba(215,182,106,.18);
  border-color: rgba(215,182,106,.55);
  color: var(--gold2);
}

/* Card Actions */
.card-actions,
.pActions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.card-actions .btn,
.pActions .btn,
.pActions .miniBtn {
  flex: 1;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  border-radius: var(--radius2);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.desktop-image {
  display: block;
}

.mobile-image {
  display: none;
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 50px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  color: var(--text);
  z-index: 3;
}

.slide-kicker {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold2);
  margin-bottom: 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
}

.slide-title {
  font-size: 3.5rem;
  font-weight: normal;
  margin: 0 0 20px 0;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  max-width: 800px;
}

.slide-description {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 30px 0;
  max-width: 600px;
  line-height: 1.6;
}

.slide-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line);
  color: var(--gold2);
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.slider-nav:hover {
  background: rgba(215,182,106,0.1);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
}

.slider-prev {
  left: 30px;
}

.slider-next {
  right: 30px;
}

/* Slider Dots */
.slider-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot.active {
  background: var(--gold2);
  transform: scale(1.3);
}

.slider-dot:hover {
  background: var(--gold);
  transform: scale(1.2);
}

/* ===== BRAND SLIDER ===== */
.brand-slider {
  margin: 40px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brand-slider-track {
  display: flex;
  animation: brandSlide 30s linear infinite;
  gap: 50px;
  width: max-content;
  padding: 10px 0;
}

.brand-slider:hover .brand-slider-track {
  animation-play-state: paused;
}

.brand-item {
  flex: 0 0 auto;
  padding: 15px 30px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  transition: all 0.3s ease;
}

.brand-item:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  background: rgba(215,182,106,0.05);
}

.brand-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.brand-name {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 5px;
}

.brand-tagline {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  color: rgba(243,243,243,.6);
}

@keyframes brandSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== CATEGORY SLIDER ===== */
.category-slider-container {
  margin: 20px 0 30px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.slider-header h3 {
  color: var(--gold2);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.slider-nav-buttons {
  display: flex;
  gap: 8px;
}

.nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(215,182,106,0.3);
  background: rgba(215,182,106,0.1);
  color: var(--gold2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 14px;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(215,182,106,0.2);
  border-color: var(--gold2);
  transform: scale(1.05);
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.chipSlider {
  overflow-x: hidden;
  position: relative;
  padding: 5px 0 15px;
  width: 100%;
}

.chipSlider-track {
  display: flex;
  gap: 10px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 5px 0;
  will-change: transform;
}

.chip {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(215,182,106,0.22);
  background: rgba(215,182,106,0.06);
  color: rgba(241,211,140,0.9);
  font-size: 14px;
  letter-spacing: .06em;
  cursor: pointer;
  font-family: ui-sans-serif, system-ui, sans-serif;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.chip:hover {
  transform: translateY(-2px);
  background: rgba(215,182,106,0.1);
  border-color: rgba(241,211,140,0.35);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.chip.active {
  background: rgba(241,211,140,0.14);
  border-color: rgba(241,211,140,0.5);
  color: #f1d38c;
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(241,211,140,0.3);
}

.chip .count {
  font-size: 11px;
  opacity: 0.7;
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 2px;
}

/* ===== DESCRIPTION SLIDER STYLES ===== */
.description-slider-container {
  margin: 20px 0;
}

.description-slider {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--panel2);
  position: relative;
}

.description-content {
  max-height: 120px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.description-content.expanded {
  max-height: 1000px;
}

.description-content:not(.expanded)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(11, 11, 12, 0.8) 40%, 
    var(--panel2) 100%);
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.description-text {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
  font-size: 15px;
  white-space: pre-line;
}

.description-controls {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  position: relative;
}

.description-controls::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, 
    transparent 0%, 
    var(--line) 20%, 
    var(--line) 80%, 
    transparent 100%);
}

.show-more-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold2);
  padding: 10px 24px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.show-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(215, 182, 106, 0.1), 
    transparent);
  transition: left 0.5s ease;
}

.show-more-btn:hover::before {
  left: 100%;
}

.show-more-btn:hover {
  background: rgba(215, 182, 106, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(215, 182, 106, 0.15);
}

.show-more-btn:active {
  transform: translateY(0);
}

.show-more-btn .arrow {
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.show-more-btn.expanded .arrow {
  transform: rotate(180deg);
}

.read-more-text {
  display: inline;
}

.read-less-text {
  display: none;
}

.show-more-btn.expanded .read-more-text {
  display: none;
}

.show-more-btn.expanded .read-less-text {
  display: inline;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.char-count {
  text-align: right;
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  opacity: 0.7;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.description-content.expanded .description-text {
  animation: slideDown 0.3s ease;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.feature-card {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(215,182,106,.4);
  background: rgba(215,182,106,.05);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.feature-title {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--gold2);
}

.feature-desc {
  color: rgba(243,243,243,.7);
  font-size: 14px;
  line-height: 1.5;
}

/* ===== STATS SECTION ===== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--gold2);
  margin-bottom: 10px;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.stat-label {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  color: rgba(243,243,243,.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== PAGE HEADER ===== */
.pageHead {
  padding: 22px 0 8px;
}

.pageHead h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.pageHead p {
  margin: 8px 0 0;
  color: rgba(243,243,243,.72);
  font-family: ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
}

/* ===== TWO COLUMN LAYOUT ===== */
.twoCol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* ===== TOOLBAR ===== */
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0;
}

.toolbar form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.field {
  flex: 1;
  min-width: 220px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
}

.field input,
.field select {
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  width: 100%;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
}

.field select option {
  background: var(--panel);
  color: var(--text);
}

.search-btn {
  padding: 8px 16px;
  border-radius: 8px;
  background: rgba(215,182,106,0.1);
  color: var(--gold2);
  border: 1px solid rgba(215,182,106,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: rgba(215,182,106,0.2);
}

/* ===== PRODUCTS COUNT ===== */
.products-count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
  font-family: ui-sans-serif, system-ui;
  color: var(--muted);
  font-size: 14px;
}

/* ===== NO PRODUCTS MESSAGE ===== */
.no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.no-products h3 {
  color: var(--gold2);
  margin-bottom: 15px;
}

.no-products p {
  color: var(--muted);
}

/* ===== EMPTY CART ===== */
.empty-cart {
  text-align: center;
  padding: 60px 20px;
}

.empty-cart h3 {
  margin-bottom: 20px;
  color: var(--muted);
}

.empty-cart p {
  margin-bottom: 30px;
  color: var(--text-light);
}

/* ===== CART ITEMS ===== */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.cartItem {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.cartItem-thumbnail {
  flex-shrink: 0;
  width: 120px;
}

.cartItem-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.cartItem-content {
  flex: 1;
}

.cartItem-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.cartItem-header h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 500;
}

.cartItem-remove {
  background: none;
  border: 1px solid var(--border);
  color: var(--accent);
  cursor: pointer;
  font-size: 14px;
  padding: 5px 15px;
  border-radius: 4px;
  transition: background 0.2s;
}

.cartItem-remove:hover {
  background: rgba(215,182,106,0.1);
}

.cartItem-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text);
}

.cartItem-subtotal {
  font-weight: 600;
  font-size: 16px;
}

/* ===== ORDER SUMMARY ===== */
.order-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* ===== FORM STYLES ===== */
.formGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.formGrid .full {
  grid-column: 1 / -1;
}

.label {
  display: block;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(241,211,140,.9);
  font-family: ui-sans-serif, system-ui, sans-serif;
  margin-bottom: 8px;
}

.control {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
  padding: 12px 16px;
  color: var(--text);
  font-size: 16px;
  transition: all .3s ease;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.control:focus {
  border-color: rgba(241,211,140,.5);
  box-shadow: 0 0 0 3px rgba(215,182,106,.12);
  outline: none;
}

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

/* ===== CHECKBOX STYLES ===== */
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.checkbox input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--gold2);
}

.checkbox span {
  font-size: 14px;
  line-height: 1.4;
}

/* ===== ALERT MESSAGES ===== */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid;
}

.alert-error {
  background: rgba(255, 0, 0, 0.1);
  border-color: rgba(255, 0, 0, 0.3);
  color: #ff9999;
}

.alert-success {
  background: rgba(0, 255, 0, 0.1);
  border-color: rgba(0, 255, 0, 0.3);
  color: #99ff99;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 15px;
}

.topbar .social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 0;
}

.social-icons a {
  color: var(--muted);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.social-icons a:hover {
  color: var(--gold2);
  background: rgba(215,182,106,0.1);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  margin-top: 60px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.25);
  padding: 40px 0 20px;
}

.footerGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  margin: 0 0 15px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--gold2);
}

.footer a,
.footer p {
  margin: 0;
  display: block;
  color: rgba(243,243,243,.72);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
}

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

.copy {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: rgba(243,243,243,.55);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--gold2);
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
  vertical-align: middle;
}

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

.cart-update {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--gold2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .topbar,
  .mobile-menu,
  .menu-toggle,
  .mobile-menu-overlay,
  .footer,
  .card-actions,
  .pActions,
  .hero-slider,
  .brand-slider,
  .mobile-bottom-nav {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .container {
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .productCard,
  .card {
    break-inside: avoid;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .mainImg,
  .pImg {
    aspect-ratio: 4/3;
  }
  
  .twoCol {
    gap: 20px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .container {
    padding: 0 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .navlinks.desktop-nav {
    display: none !important;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .productCard,
  .card {
    border-radius: 20px;
  }
  
  /* Mobile specific product image fixes */
  .mainImg,
  .pImg {
    height: 200px;
    min-height: 200px;
    aspect-ratio: auto;
  }
  
  .mainImg img,
  .pImg img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    max-height: 200px;
  }
  
  .content,
  .pBody {
    padding: 0;
  }
  
  /* Hero slider mobile */
  .hero-slider {
    height: 60vh;
  }
  
  .desktop-image {
    display: none;
  }
  
  .mobile-image {
    display: block;
  }
  
  .slide-content {
    padding: 40px 20px;
  }
  
  .slide-title {
    font-size: 2.2rem;
  }
  
  .slide-description {
    font-size: 1rem;
  }
  
  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .slider-prev {
    left: 10px;
  }
  
  .slider-next {
    right: 10px;
  }
  
  /* Toolbar mobile */
  .toolbar form {
    flex-direction: column;
  }
  
  .field {
    min-width: 100%;
  }
  
  /* Two column layout */
  .twoCol {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Hide desktop social icons in topbar */
  .topbar .social-icons {
    display: none;
  }
  
  /* Mobile Viewport Fix */
  body,
  html {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }
  
  /* Add padding to body for mobile bottom nav */
  body {
    padding-bottom: 65px;
  }
  
  /* Ensure all images are visible */
  .mainImg img,
  .pImg img,
  .slide-bg,
  .brand-item img {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* Footer */
  .footerGrid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Mobile Bottom Nav */
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #0d0d0d;
    border-top: 1px solid rgba(215,182,106,0.2);
    justify-content: space-around;
    align-items: center;
    z-index: 9999;
  }

  .mobile-bottom-nav a {
    text-decoration: none;
    color: #aaa;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    position: relative;
    padding: 5px;
  }

  .mobile-bottom-nav a span {
    font-size: 22px;
    margin-bottom: 2px;
  }

  .mobile-bottom-nav a.active {
    color: #d7b66a;
  }

  .mobile-bottom-nav a.active span {
    background: rgba(215,182,106,0.2);
    padding: 8px;
    border-radius: 50%;
  }

  .cart-badge {
    position: absolute;
    top: -4px;
    right: 6px;
    background: red;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
  }
  
  /* Cart item mobile */
  .cartItem {
    flex-direction: column;
  }
  
  .cartItem-thumbnail {
    width: 100%;
  }
  
  .cartItem-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .cartItem-footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  
  /* Description slider mobile */
  .description-slider {
    padding: 16px;
  }
  
  .description-content {
    max-height: 100px;
  }
  
  .description-text {
    font-size: 14px;
  }
  
  .show-more-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .mainImg,
  .pImg {
    height: 180px;
    min-height: 180px;
  }
  
  .mainImg img,
  .pImg img {
    max-height: 180px;
  }
  
  .name,
  .pTitle {
    font-size: 16px;
  }
  
  .price {
    font-size: 16px;
  }
  
  .card-actions,
  .pActions {
    flex-direction: column;
  }
  
  .btn,
  .miniBtn {
    width: 100%;
    padding: 12px;
  }
  
  /* Mobile menu smaller screens */
  .mobile-menu {
    width: 100%;
    max-width: 280px;
  }
  
  .slide-title {
    font-size: 1.8rem;
  }
  
  .slide-cta {
    flex-direction: column;
  }
  
  .slide-cta .btn {
    width: 100%;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .thumbnail {
    width: 50px;
    height: 50px;
  }
  
  /* Description slider small mobile */
  .description-slider {
    padding: 14px;
    border-radius: 12px;
  }
  
  .description-content {
    max-height: 90px;
  }
  
  .show-more-btn {
    width: 100%;
    justify-content: center;
  }
}