/* ──────────────────────────────────
   RANEXIS SHOP - MODERN RETAIL UI
   ────────────────────────────────── */

:root {
  --primary: #FF3F6C;
  --primary-gradient: linear-gradient(135deg, #7c3aed 0%, #ff3f6c 100%);
  --secondary: #FFFFFF;
  --bg-white: #000000; 
  --bg-light: #0a0a0a; 
  --text-dark: #FFFFFF; 
  --text-gray: #A1A1AA;
  --text-muted: #71717A;
  --border-color: #1a1a1a;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --radius-lg: 12px;
  --radius-md: 4px;
  --skeleton-bg: #1a1a1a;
  --skeleton-animate: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  0% { background-position: -468px 0; }
  100% { background-position: 468px 0; }
}

.skeleton {
  background: var(--skeleton-bg);
  background-image: linear-gradient(to right, var(--skeleton-bg) 0%, #2a2a2a 20%, var(--skeleton-bg) 40%, var(--skeleton-bg) 100%);
  background-repeat: no-repeat;
  background-size: 800px 104px;
  animation: var(--skeleton-animate);
}

.p-skeleton-media { width: 100%; aspect-ratio: 4/5; border-radius: 0; }
.p-skeleton-text { height: 20px; border-radius: 4px; margin-bottom: 12px; }
.p-skeleton-title { height: 32px; width: 60%; }
.p-skeleton-brand { height: 16px; width: 30%; }
.p-skeleton-price { height: 24px; width: 40%; }
.p-skeleton-circle { width: 48px; height: 48px; border-radius: 50%; }

/* Product Card Skeleton */
.prod-skeleton {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.skel-img {
  width: 100%;
  aspect-ratio: 1/1;
}
.skel-info {
  padding: 12px;
}
.skel-title {
  height: 14px;
  width: 80%;
  margin-bottom: 8px;
  border-radius: 4px;
}
.skel-price {
  height: 16px;
  width: 40%;
  border-radius: 4px;
}

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

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* Strongest prevention of side-scroll */
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.5;
  padding-bottom: 70px; /* Space for bottom nav */
}

main {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; /* Slightly more padding for cleaner edges */
  width: 100%;
}

/* ─── TOP LOCATION BAR ─── */
.top-location {
  background: var(--bg-white);
  padding: 8px 16px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-color);
}

.top-location i { color: var(--primary); }
.top-location span { font-weight: 600; color: var(--text-dark); }
.top-location .loc-text { color: var(--text-gray); font-weight: 400; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ─── HEADER ─── */
header {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-logo img {
  height: 28px;
  width: auto;
}

.search-box {
  flex: 1;
  position: relative;
  background: var(--bg-light);
  border-radius: 4px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  height: 40px;
  border: 1px solid var(--border-color);
}

.search-box i { color: var(--text-muted); font-size: 0.9rem; }
.search-box input {
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding-left: 10px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-actions i {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.header-actions i, .nav-item {
  position: relative;
}
.badge-count {
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 63, 108, 0.4);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary-gradient);
  color: white;
  font-size: 0.6rem;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid white;
}

/* ─── CATEGORY TABS ─── */
.category-tabs {
  background: var(--bg-white);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }

.tab-item {
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
}

.tab-item.active {
  color: var(--primary);
}

.tab-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 3px;
  background: var(--primary-gradient);
}

.desktop-only {
  display: none !important;
}

@media (min-width: 992px) {
  .desktop-only {
    display: block !important;
  }
}

/* ─── PREMIUM TOAST (NOTIFY) ─── */
#shopToast {
  position: fixed;
  bottom: 80px; /* Position above bottom nav */
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary-gradient);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  white-space: nowrap;
}

#shopToast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ❤️ Wishlist Active State */
.fa-solid.fa-heart {
  color: #ff3f6c !important;
}

.mobile-more-btn {
  margin-left: auto;
  padding: 14px 16px;
  color: var(--secondary);
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-more-btn {
    display: none;
  }
}

/* ─── MOBILE MORE MENU ─── */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  display: flex;
  align-items: flex-end;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-content {
  background: var(--bg-white);
  width: 100%;
  border-radius: 20px 20px 0 0;
  padding: 24px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid var(--border-color);
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
}

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

.menu-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--secondary);
}

.menu-header i {
  font-size: 1.2rem;
  color: var(--text-gray);
  cursor: pointer;
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-link {
  padding: 14px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
}

.menu-link:last-child {
  border-bottom: none;
}

/* ─── SCROLLER CONTAINERS (GENERAL) ─── */
.category-bubbles, .category-tabs, .products-scroller {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.category-bubbles::-webkit-scrollbar, .category-tabs::-webkit-scrollbar, .products-scroller::-webkit-scrollbar { 
  display: none; 
}

/* ─── HORIZONTAL SCROLL CARDS (Similar Products) ─── */
.products-scroller {
  gap: 12px;
  padding: 4px 16px 12px;
  scroll-snap-type: x mandatory;
}

.scroll-card {
  flex: 0 0 140px;
  width: 140px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scroll-card:active {
  transform: scale(0.97);
}

.sc-img {
  width: 100%;
  height: 140px;
  overflow: hidden;
  background: var(--bg-light);
}

.sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sc-info {
  padding: 8px 10px 10px;
}

.sc-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.sc-brand {
  font-size: 0.7rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sc-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-dark);
}

.category-bubbles {
  gap: 16px;
  padding: 16px;
}

.bubble-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 60px;
  cursor: pointer;
}

.bubble-img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
}

.bubble-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bubble-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3E4152;
}

/* ─── HERO BANNER (RETAIL STYLE) ─── */
/* ─── HERO BANNER SLIDER (SWIPER) ─── */
.hero-slider {
  margin: 10px 0;
  width: 100%;
}

.hero-slider .hero-promo {
  margin: 0 16px;
  background: #E8E8E8;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.hero-slider .swiper-pagination {
  bottom: 0px !important;
}

.hero-slider .swiper-pagination-bullet {
  background: var(--text-muted);
  opacity: 0.5;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

.hero-promo img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.promo-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to right, rgba(0,0,0,0.4), transparent);
  color: white;
}

.promo-tag {
  background: rgba(255,255,255,0.2);
  width: fit-content;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.6rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}

.promo-title { font-size: 1.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 4px; }
.promo-subtitle { font-size: 0.9rem; font-weight: 500; opacity: 0.9; }

/* ─── CASHBACK STRAP ─── */
.cashback-strap {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  margin: 16px;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cashback-text h4 { font-size: 0.8rem; font-weight: 700; }
.cashback-text p { font-size: 0.65rem; color: var(--text-gray); }

.apply-btn {
  background: var(--primary-gradient);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

/* ─── SECTION TITLES ─── */
.section-head {
  padding: 0 16px;
  margin: 24px 0 12px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF; /* Changed to white as requested */
}

/* ─── PRODUCT GRID (RECOMMENDED) ─── */
.deals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 16px 40px;
}

.prod-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.prod-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1; /* Forced Square for 1080x1080 aesthetic */
  overflow: hidden;
  background: #000;
}

.prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-gradient);
  color: white;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.wish-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.8);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  font-size: 0.8rem;
}

.prod-info {
  padding: 12px;
}

.prod-info h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.prod-price {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.prod-price small {
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
  font-size: 0.75rem;
}

.prod-rating {
  font-size: 0.7rem;
  color: #FFA000;
  margin-top: 4px;
  font-weight: 600;
}

/* ─── SCROLLER CUSTOMIZATION ─── */
.products-scroller {
  padding: 0 16px 20px;
  gap: 12px;
}

.scroll-card {
  min-width: 140px;
  background: var(--bg-light);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.sc-img { height: 160px; overflow: hidden; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; }
.sc-info { padding: 8px; }
.sc-brand { font-size: 0.75rem; font-weight: 700; }
.sc-name { font-size: 0.65rem; color: var(--text-gray); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-price { font-size: 0.8rem; font-weight: 800; margin-top: 4px; }

/* ─── BOTTOM NAVIGATION ─── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  display: flex;
  justify-content: space-around;
  padding: 8px 0;
  border-top: 1px solid var(--border-color);
  z-index: 2000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-gray);
  cursor: pointer;
}

.nav-item i { font-size: 1.2rem; }
.nav-item span { font-size: 0.65rem; font-weight: 600; }
.nav-item.active { color: #7c3aed; } /* Purple from gradient */

/* ─── DESKTOP ADAPTATION ─── */
/* ─── PRODUCT DETAIL PAGE (DYNAMIC) ─── */
.product-page {
  padding: 0 0 100px; /* Removed top padding for full bleed */
  background: var(--bg-white);
  min-height: 100vh;
}

.p-detail-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.p-info {
  width: 100%;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(-50vw + 50%); /* Full bleed trick */
  margin-right: calc(-50vw + 50%);
  position: relative;
}

.p-media.full-bleed {
  margin-top: 0;
}

.p-slider-container {
  position: relative;
  width: 100%;
}

.p-media .p-main-viewport {
  width: 100%;
  max-height: 80vh; /* Allow large images */
  aspect-ratio: 4/5;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 0; /* Remove borders for full bleed */
  border: none;
  background: var(--bg-light); /* Sleek backdrop */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.p-media .p-main-viewport::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.p-media .p-slide-img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  scroll-snap-align: start;
}

.p-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 10;
}

.p-dots .dot {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.p-dots .dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}

/* ── Info Container Styling ── */
.p-info-container {
  padding-top: 20px;
}

.p-category-sub { font-size: 0.85rem; color: var(--text-gray); font-weight: 600; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 2px; }
.p-product-name { font-size: 2rem; color: var(--text-dark); font-weight: 800; line-height: 1.2; margin-bottom: 12px; }

.p-rating-badge { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  background: var(--bg-light); 
  border: 1px solid var(--border-color); 
  border-radius: 20px; 
  padding: 6px 12px; 
  font-size: 0.85rem; 
  font-weight: 700; 
  margin-bottom: 16px; 
}
.p-rating-badge i { color: #03a685; font-size: 0.75rem; }

.p-price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.curr-price { font-size: 1.6rem; font-weight: 900; }
.old-price { color: var(--text-gray); text-decoration: line-through; font-size: 1.1rem; }
.p-discount { color: #ff905a; font-weight: 800; font-size: 1rem; }
.p-tax { color: #03a685; font-weight: 700; font-size: 0.75rem; margin-bottom: 24px; }

.p-option-group { margin-bottom: 24px; }
.p-option-group label { display: block; font-weight: 800; font-size: 0.85rem; margin-bottom: 12px; color: var(--text-gray); }

.size-circles { display: flex; gap: 12px; flex-wrap: wrap; }
.size-circle {
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}
.size-circle.active { border-color: var(--primary); color: var(--primary); background: rgba(255, 63, 108, 0.1); }

.color-text-options { display: flex; gap: 12px; flex-wrap: wrap; }
.color-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: 0.2s;
  background: var(--bg-light);
  color: var(--text-dark);
}
.color-btn.active { border-color: var(--primary); color: var(--primary); background: rgba(255, 63, 108, 0.1); }
.color-btn:hover { border-color: var(--primary); }

.warranty-select { display: flex; flex-direction: column; gap: 8px; }
.war-opt { border: 1px solid var(--border-color); padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; text-align: center; }
.war-opt.active { border-color: var(--primary); background: rgba(124, 58, 237, 0.1); }

/* ── DESKTOP ACTION BUTTONS ── */
.desktop-actions { display: none; }
.p-actions { 
  display: flex; 
  gap: 12px; 
  margin: 24px 0; 
  flex-wrap: wrap; 
}
.p-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.p-buy-now {
  flex: 1.2;
  background: var(--bg-white);
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
}

.p-buy-now:hover { 
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 63, 108, 0.1);
}

.p-add-bag {
  flex: 1.5;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 63, 108, 0.2);
}

.p-add-bag:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 63, 108, 0.4);
}

.p-wish-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-gray);
  cursor: pointer;
  transition: 0.2s;
}
.p-wish-circle:hover { border-color: var(--primary); color: var(--primary); }
.p-wish-circle i.fa-solid { color: var(--primary); }

/* ── FIXED BOTTOM ACTION BAR ── */
.fixed-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  z-index: 2000;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.fixed-wish {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fixed-wish:active {
  transform: scale(0.9);
}

.fixed-wish i { font-size: 1.4rem; color: var(--text-gray); }
.fixed-wish i.fa-solid { color: var(--primary) !important; }

.fixed-buy {
  flex: 1;
  height: 54px;
  background: rgba(255, 255, 255, 0.05); /* Slight tint for depth */
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.fixed-buy:active {
  background: rgba(255, 63, 108, 0.1);
  transform: scale(0.98);
}

.fixed-add {
  flex: 1.2;
  height: 54px;
  background: var(--primary-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(255, 63, 108, 0.3);
  transition: all 0.3s ease;
}

.fixed-add:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(255, 63, 108, 0.2);
}

.fixed-add i, .fixed-buy i {
  font-size: 1rem;
}

/* ── RECOMMENDATION SECTIONS ── */
.similar-section,
.you-may-like-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}
.sect-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.p-features { border-top: 1px solid var(--border-color); padding-top: 24px; }
.p-features h3 { font-size: 1rem; margin-bottom: 12px; }
.p-features p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 16px; }
.p-features ul { padding-left: 20px; list-style: disc; color: var(--text-gray); font-size: 0.85rem; line-height: 1.8; }

@media (min-width: 769px) {
  .product-page { padding-top: 40px; }
  .p-detail-grid { 
    display: grid;
    grid-template-columns: 45% 1fr; 
    gap: 60px; 
    align-items: start; 
  }
  .full-bleed { margin: 0; width: 100%; border-radius: 16px; overflow: hidden; }
  .p-info { width: 100%; position: sticky; top: 120px; }
  .p-media { width: 100%; max-width: 600px; }
  .p-brand { font-size: 2rem; }
  .mobile-actions { display: none !important; }
  .desktop-actions { display: flex !important; }
}

@media (min-width: 769px) {
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .header-inner .brand-logo img { height: 36px; }
  .header-inner { gap: 40px; }
  .category-bubbles { justify-content: center; gap: 40px; }
  .category-bubbles .bubble-img { width: 100px; height: 100px; border-radius: 20px; }
  .category-bubbles .bubble-label { font-size: 0.9rem; }
  .hero-promo img { aspect-ratio: 21/7; }
  .promo-title { font-size: 2.5rem; }
  
  .deals-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 60px;
  }
}

/* ─── QUICK VIEW MODAL DARK ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4000;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-white);
  width: 90%;
  max-width: 500px;
  padding: 24px;
  border-radius: 20px;
  position: relative;
  border: 1px solid var(--border-color);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--text-gray);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-img img {
  width: 100%;
  border-radius: 12px;
}

.modal-details h2 { margin-bottom: 8px; }
.modal-price { font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 12px; }
.modal-desc { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 20px; }

.size-picker { display: flex; gap: 8px; margin-bottom: 20px; }
.size-picker button {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.size-picker button.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.add-btn {
  width: 100%;
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.add-btn:active {
  transform: scale(0.98);
}
