/* ============================================
   TOPDEALS - Premium Amazon Affiliate Styles
   ============================================ */

:root {
  --bg-primary: #090514;
  --bg-secondary: #130e24;
  --bg-card: rgba(19, 14, 36, 0.5);
  --bg-card-hover: rgba(30, 24, 60, 0.7);
  --accent: #06b6d4;
  --accent-light: #ec4899;
  --accent-glow: rgba(236, 72, 153, 0.25);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(6, 182, 212, 0.4);
  --amazon-orange: #f59e0b;
  --amazon-dark: #1e1b4b;
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 12px 48px rgba(6, 182, 212, 0.25);
  --radius: 20px;
  --radius-sm: 12px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 5, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 1rem;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 0;
  height: auto;
}

/* ---- NAV SEARCH ---- */
.nav-search-container {
  width: 100%;
  max-width: 600px;
  position: relative;
}

.nav-search-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.nav-search-box:focus-within {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.1);
}

.nav-search-box input {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  font-family: inherit;
}

.nav-search-box .search-icon {
  font-size: 1rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .nav-search-container {
    max-width: none;
    flex: 1;
    min-width: 0;
  }
  .nav-search-box {
    padding: 7px 12px;
  }
  .nav-search-box input {
    font-size: 0.82rem;
  }
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  display: none;
}

.logo-text {
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(120deg, #06b6d4 0%, #ec4899 50%, #06b6d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.8px;
  transition: var(--transition);
  animation: shine 4s linear infinite;
}

.logo:hover .logo-text {
  background: linear-gradient(135deg, var(--accent-light), #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px var(--accent-glow));
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes float {

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

  50% {
    transform: translateY(-3px) rotate(5deg);
  }
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* ---- LANGUAGE SWITCHER ---- */
.lang-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lang-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
  background: var(--accent-glow);
  border-color: var(--border-hover);
  color: var(--accent);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

@media (max-width: 768px) {
  .nav-tagline {
    display: none;
  }
  .lang-switcher {
    gap: 4px;
  }
  .lang-btn {
    padding: 6px 8px;
    font-size: 0.95rem;
  }
  .lang-text {
    display: none;
  }
}

/* ---- HERO (removed – search is now in navbar) ---- */
.search-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.search-clear {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
  border-radius: 50%;
  transition: var(--transition);
  flex-shrink: 0;
}

.search-clear:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

/* ---- MAIN CONTAINER ---- */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

/* ---- APP LAYOUT ---- */
.app-layout {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 2rem;
  align-items: start;
}

#grid-view {
  order: 1;
  min-width: 0;
}

@media (max-width: 1024px) {
  .app-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

/* ---- SIDEBAR ---- */
.sidebar {
  position: sticky;
  top: 80px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  order: 2;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.sidebar-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}




/* ---- CATEGORY LIST ---- */
.category-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.category-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.category-item.active {
  background: var(--accent-glow);
  border-color: var(--border-hover);
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .sidebar {
    position: relative;
    top: 0;
    max-height: none;
    padding: 1rem;
  }
  
  .category-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }
  
  .category-list::-webkit-scrollbar {
    display: none;
  }
  
  .category-item {
    white-space: nowrap;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    flex-shrink: 0;
  }
}

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

.header-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.sort-select:hover {
  border-color: var(--accent-light);
  color: var(--text-primary);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* ---- STOREFRONT SLIDERS ---- */
.storefront-section {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.storefront-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-slider {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
}

.product-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.product-slider > li {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  list-style: none;
}

@media (max-width: 1024px) {
  .product-slider > li {
    flex: 0 0 calc(50% - 0.75rem);
  }
}
@media (max-width: 600px) {
  .product-slider > li {
    flex: 0 0 calc(85%);
  }
}

/* ---- PAGINATION ---- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 2rem 0 3rem;
  flex-wrap: wrap;
}

.page-btn, .page-num {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 10px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.88rem;
}

.page-btn {
  padding: 9px 18px;
}

.page-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-btn:hover, .page-num:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 158, 11, 0.07);
}

.page-num.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-color: var(--accent);
  color: #000;
  font-weight: 800;
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.page-ellipsis {
  color: var(--text-muted);
  padding: 0 4px;
  font-size: 0.9rem;
}

/* ---- PRODUCT GRID ---- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
  list-style: none;
  padding: 0;
}

@media (max-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

/* ---- FEATURED CARD (disabled in new layout) ---- */
.featured-label { display: none; }

/* ---- PRODUCT CARD ---- */
.product-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  background: rgba(22, 22, 31, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  background: rgba(30, 30, 42, 0.8);
  border-color: var(--accent-light);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.1);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.03), transparent);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.product-card:hover::before {
  opacity: 1;
}

.card-image-wrap {
  position: relative;
  background: radial-gradient(circle at center, #ffffff 0%, #f7f7f7 100%);
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image-wrap img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  mix-blend-mode: multiply;
}

.product-card:hover .card-image-wrap img {
  transform: scale(1.1) rotate(2deg);
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-body {
  padding: 0.75rem 0.85rem 0.9rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.35rem;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
  gap: 5px;
  flex-wrap: wrap;
}

.card-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.card-brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.card-availability {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-availability.in-stock {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

.card-availability.low-stock {
  background: rgba(234, 179, 8, 0.1);
  color: #facc15;
}

.card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  margin-bottom: 2px;
}



.card-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-light);
  margin-top: auto;
}

.card-price-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
}

.card-cta {
  display: block;
  width: 100%;
  margin-top: 0.8rem;
  padding: 9px 0;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #000;
  font-weight: 700;
  font-size: 0.82rem;
  text-align: center;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.card-cta:hover {
  opacity: 0.9;
  transform: scale(1.02);
}


/* ---- DETAIL VIEW ---- */
.hidden {
  display: none !important;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 2rem;
  font-family: 'Inter', sans-serif;
}

.back-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.detail-card {
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-top: 1rem;
}

.detail-grid-container {
  display: grid;
  grid-template-columns: 1fr 45%;
  grid-template-areas:
    "header image"
    "content image"
    "content buybox";
  gap: 2rem;
  align-items: start;
}

.detail-image-area { grid-area: image; }
.detail-header-area { 
  grid-area: header; 
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.detail-buybox-area { grid-area: buybox; }
.detail-content-area {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

@media (max-width: 768px) {
  .detail-grid-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "image"
      "buybox"
      "content";
    gap: 1.5rem;
  }
}

.detail-image-wrap {
  position: sticky;
  top: 100px;
  align-self: start;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
  .detail-image-wrap {
    position: relative;
    top: 0;
  }
}

.detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem;
}

/* .detail-info is now handled by .detail-content-area and .detail-header-area */

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

.detail-category {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}

.detail-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-top: 5px;
}



.detail-status-bar {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
  margin: 1rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.detail-availability span {
  font-weight: 700;
}

.text-success {
  color: #4ade80;
}

.text-warning {
  color: #facc15;
}

.detail-price-block {
  background: rgba(22, 22, 31, 0.8);
  border: 2px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-top: 0;
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
}

.detail-price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.detail-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
}

.detail-price-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.detail-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
}

.detail-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.detail-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.detail-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  margin-top: 1rem;
}

.detail-section-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.detail-longtext {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* ── Full-width specs block below image+info ── */
.detail-specs-full {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

/* ── Product Info Specs Grid (3 columns in full-width context) ── */
.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .detail-info-grid {
    grid-template-columns: 1fr;
  }
}

.detail-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  transition: background 0.12s ease;
  min-height: 0;
}

.detail-info-item:hover {
  background: rgba(245, 158, 11, 0.07);
  border-color: rgba(245, 158, 11, 0.4);
}

.info-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.2;
}

.info-value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 400;
  line-height: 1.35;
  word-break: break-word;
}

/* Truncate very long values */
.info-value.truncatable {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

.detail-info-item:hover .info-value.truncatable {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
  overflow: visible;
}

@media (max-width: 600px) {
  .detail-info-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .detail-info-item {
    padding: 7px 10px;
  }
  .info-label {
    font-size: 0.65rem;
  }
  .info-value {
    font-size: 0.82rem;
  }
}

.detail-amazon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  background: var(--amazon-orange);
  color: #000;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.3px;
  margin-top: 1rem;
  animation: pulse-border 2s infinite;
  width: 100%;
  max-width: 100%;
}

.detail-amazon-btn:hover {
  background: #e68900;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 153, 0, 0.4);
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 153, 0, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(255, 153, 0, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 153, 0, 0);
  }
}

.detail-amazon-btn .amazon-logo {
  font-size: 1.1rem;
  font-weight: 900;
  font-style: italic;
}

.detail-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
}

/* ---- RELATED PRODUCTS (Detail View) ---- */
.related-deals {
  grid-column: 1 / -1;
  margin-top: 5rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.related-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.related-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 4px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

/* COMPACT CARD for related items */
.compact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.compact-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-hover);
}

.compact-img-wrap {
  aspect-ratio: 1;
  background: #fff;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.compact-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.compact-body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.compact-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.compact-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .related-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 1rem;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    mask-image: linear-gradient(to right, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent);
  }

  .compact-card {
    min-width: 200px;
    scroll-snap-align: start;
  }
}

/* ---- FOOTER ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
}

/* ---- LOADING SKELETON ---- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .main-container {
    padding: 1rem 0.75rem 3rem;
  }

  .detail-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: var(--radius);
  }

  .detail-image-wrap {
    height: auto;
    max-height: 400px;
  }

  .detail-title {
    font-size: 1.4rem;
  }

  .detail-price {
    font-size: 1.8rem;
  }

  .detail-amazon-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  #detail-view {
    padding: 0 0.5rem;
    overflow-x: hidden;
  }

  .back-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .search-suggestions {
    max-height: 250px;
  }

  .detail-card {
    padding: 1rem;
    gap: 1rem;
    border-radius: var(--radius-sm);
    width: 100%;
    box-sizing: border-box;
  }

  .detail-image-wrap img {
    padding: 1rem;
    max-width: 100%;
  }

  .detail-title {
    font-size: 1.2rem;
    word-wrap: break-word;
  }

  .detail-price {
    font-size: 1.5rem;
  }

  .detail-amazon-btn {
    font-size: 0.85rem;
    padding: 12px 10px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    gap: 8px;
    flex-direction: column;
  }

  .detail-amazon-btn .amazon-logo {
    font-size: 1rem;
  }

  .related-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .card-body {
    padding: 0.6rem 0.7rem;
    gap: 0.25rem;
  }

  .card-title {
    font-size: 0.78rem;
  }

  .card-price {
    font-size: 1rem;
  }

  .card-cta {
    padding: 6px 0;
    font-size: 0.72rem;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .logo-icon {
    font-size: 1.3rem;
  }

  .page-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .page-num {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}

/* ---- LEGAL CONTENT ---- */
.legal-content {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  line-height: 1.7;
}

.legal-content h1 {
  color: var(--accent);
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 35px;
  margin-bottom: 15px;
  color: var(--text-primary);
}

.legal-content h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.legal-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .legal-content {
    margin: 20px 1rem;
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .legal-content {
    padding: 15px;
  }

  .legal-content h1 {
    font-size: 1.5rem;
  }
}

/* ---- FADE IN ANIMATION ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.product-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  animation: fadeInUp 0.4s ease both;
}

.product-card:nth-child(1) {
  animation-delay: 0.05s;
}

.product-card:nth-child(2) {
  animation-delay: 0.10s;
}

.product-card:nth-child(3) {
  animation-delay: 0.15s;
}

.product-card:nth-child(4) {
  animation-delay: 0.20s;
}

.product-card:nth-child(5) {
  animation-delay: 0.25s;
}

.product-card:nth-child(6) {
  animation-delay: 0.30s;
}

.product-card:nth-child(7) {
  animation-delay: 0.35s;
}

.product-card:nth-child(8) {
  animation-delay: 0.40s;
}

.product-card:nth-child(9) {
  animation-delay: 0.45s;
}

.product-card:nth-child(10) {
  animation-delay: 0.50s;
}

/* ---- SEO INFO SECTION ---- */
.seo-info {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 60px 1rem;
}

.seo-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.seo-inner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--accent-light);
  text-align: center;
}

.seo-inner p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.seo-col h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.seo-col p {
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.7;
}

.seo-note {
  font-size: 0.85rem;
  color: var(--text-muted) !important;
  font-style: italic;
  margin-top: 3rem !important;
  border-top: 1px dashed var(--border);
  padding-top: 20px;
}

@media (max-width: 768px) {
  .seo-grid {
    gap: 1.5rem;
  }
}

/* ---- LIVE SEARCH SUGGESTIONS ---- */
.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  z-index: 95;
  backdrop-filter: blur(10px);
  max-height: 400px;
  overflow-y: auto;
}

.search-suggestions.hidden {
  display: none !important;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text-primary);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
  background: rgba(255, 255, 255, 0.05);
}

.suggestion-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  padding: 4px;
}

.suggestion-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.suggestion-title {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
}

.suggestion-empty {
  padding: 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- SCROLL TO TOP ---- */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #000;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0) scale(1);
  opacity: 1;
}

.scroll-to-top.hidden {
  transform: translateY(100px) scale(0.5);
  opacity: 0;
  pointer-events: none;
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

/* ---- INFINITE SCROLL ---- */
.hidden-pagination {
  display: none !important;
}

/* ---- WELCOME BANNER ---- */
.welcome-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}

.welcome-banner {
  pointer-events: auto;
  background: rgba(22, 22, 31, 0.95);
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(6, 182, 212, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  animation: cookieSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.welcome-banner p {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0;
}

.welcome-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.welcome-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.welcome-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
}

.welcome-btn-decline {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.welcome-btn-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  box-shadow: none;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.welcome-locked {
  overflow: hidden !important;
  height: 100vh;
}

/* ---- COOKIE BANNER ---- */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 2rem;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.cookie-banner {
  pointer-events: auto;
  background: rgba(22, 22, 31, 0.95);
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  animation: cookieSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner p {
  font-size: 1.1rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-btn {
  background: linear-gradient(135deg, var(--accent), #f97316);
  color: #000;
  border: none;
  padding: 12px 32px;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.cookie-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.cookie-btn-decline:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  box-shadow: none;
}

@keyframes cookieSlideUp {
  from {
    opacity: 0;
    transform: translateY(100px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}



/* ---- PREMIUM RECENT TRACKS BUTTON ---- */
.tp-recent-btn {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 14px !important;
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  border-radius: 12px !important;
  color: var(--accent) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important; /* Slightly smaller for better fit */
  margin-bottom: 1rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.3 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.tp-recent-btn:hover {
  background: rgba(245, 158, 11, 0.15) !important;
  border-color: var(--accent) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2) !important;
  color: var(--accent-light) !important;
}

.tp-recent-btn .btn-icon {
  font-size: 1.2rem !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 5px rgba(245, 158, 11, 0.4)) !important;
}

.tp-recent-btn .btn-text {
  flex: 1 !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Glass effect */
.tp-recent-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.tp-recent-btn:hover::after {
  left: 100%;
}

@media (max-width: 1024px) {
  .tp-recent-btn {
    padding: 14px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 14px !important;
  }
}

/* ---- PAGE LOADER OVERLAY ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.loader-spinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    var(--accent) 40%,
    var(--accent-light) 60%,
    transparent 100%
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4.5px), #000 calc(100% - 4px));
  animation: loader-spin 0.85s linear infinite;
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.2);
}

.loader-text {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  animation: loader-pulse 1.8s ease-in-out infinite;
}

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

@keyframes loader-pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* ---- NEW PRODUCT DETAIL SPLIT LAYOUT ---- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.pd-left {
  position: relative;
}

.pd-image-card {
  position: sticky;
  top: 100px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}

.pd-image-card img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.pd-image-card:hover img {
  transform: scale(1.05);
}

.pd-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pd-header-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.pd-category {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pd-badge {
  background: var(--accent-glow);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.pd-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin: 0;
}

.pd-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.pd-price-action-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.pd-price-main {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  line-height: 1;
}

.pd-price-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pd-availability {
  font-size: 0.95rem;
  font-weight: 500;
}

.pd-availability span {
  font-weight: 700;
}

.status-green span { color: #10b981; }
.status-yellow span { color: #fbbf24; }

.pd-amazon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.pd-amazon-btn:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.6);
}

.pd-disclaimer {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.7;
}

.pd-trust {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.pd-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pd-features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.pd-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.pd-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.pd-accordion {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.pd-accordion summary {
  padding: 1rem 1.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.01);
}

.pd-accordion summary::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.pd-accordion[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.pd-accordion-content {
  padding: 1rem 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid var(--border);
}

.pd-specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

@media (min-width: 640px) {
  .pd-specs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.pd-spec-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-spec-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pd-spec-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.pd-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  background: rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pd-identifiers div {
  display: flex;
  gap: 6px;
}

.pd-identifiers strong {
  color: var(--text-primary);
}