/*
  nexttelevizyon.com - Next & NextStar Official Store & Showroom
  Direct visual design inspired by https://www.next.com.tr/
  High-Tech Luxury Brand Aesthetics
*/

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300..900;1,300..900&family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand Palette */
  --nx-red: #DC2626;
  --nx-red-hover: #B91C1C;
  --nx-red-subtle: rgba(220, 38, 38, 0.08);
  --nx-ink: #18181B;
  --nx-ink-secondary: rgba(24, 24, 27, 0.72);
  --nx-ink-muted: #71717A;
  --nx-ink-faint: #A1A1AA;
  
  --nx-paper: #FFFFFF;
  --nx-canvas: #FFFFFF;
  --nx-soft: #F4F4F5;
  --nx-soft-hover: #E4E4E7;
  
  --nx-line: #E4E4E7;
  --nx-line-subtle: #F4F4F5;
  --nx-line-dark: #27272A;
  
  /* Best Price Green */
  --nx-green: #059669;
  --nx-green-bg: #ECFDF5;
  --nx-green-border: #10B981;

  /* Typography */
  --font-main: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Space Grotesk', monospace;

  /* Easings from next.com.tr */
  --nx-ease: cubic-bezier(.22, 1, .36, 1);
  --nx-ease-out: cubic-bezier(.16, 1, .3, 1);
  --nx-ease-std: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--nx-canvas);
  color: var(--nx-ink);
  line-height: 1.5;
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--nx-ease);
}

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

ul, ol {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3.5vw, 40px);
  padding-right: clamp(16px, 3.5vw, 40px);
}

/* ============================================================
   KICKER & EDITORIAL ELEMENTS (from next.com.tr)
============================================================ */
.nx-kick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--nx-red);
  line-height: 1;
  margin-bottom: 12px;
}

.nx-kick::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nx-red);
  flex-shrink: 0;
}

.nx-kick.dark {
  color: #FFFFFF;
}

.nx-kick.dark::before {
  background: var(--nx-red);
}

/* ============================================================
   TOP BAR (OFFICIAL SELLER ASSURANCE)
============================================================ */
.site-topbar {
  background: #111317;
  color: #A1A1AA;
  font-size: 12px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.18);
  color: #F87171;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-topbar-trust {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 900px) {
  .site-topbar-trust {
    display: none;
  }
}

/* ============================================================
   MAIN HEADER (Clean, Prestigious Next.com.tr Style)
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nx-line);
  transition: all 0.3s var(--nx-ease);
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

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

.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-brand img {
  height: 32px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  .header-nav {
    display: none;
  }
}

.nav-link {
  color: var(--nx-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s var(--nx-ease);
}

.nav-link:hover, .nav-link.active {
  color: var(--nx-red);
  background: var(--nx-soft);
}

.nav-link.compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #18181B;
  color: #FFFFFF;
  padding: 8px 16px;
}

.nav-link.compare:hover {
  background: var(--nx-red);
  color: #FFFFFF;
}

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

.header-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s var(--nx-ease);
  text-decoration: none;
  flex-shrink: 0;
}

.header-support-btn:hover {
  background: linear-gradient(135deg, #2ae06e 0%, #0e7a6e 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

.header-support-btn svg {
  color: #FFFFFF;
  flex-shrink: 0;
}

/* Mobile Hamburger Menu Toggle Button */
.mobile-toggle-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--nx-soft);
  border: 1px solid var(--nx-line);
  color: var(--nx-ink);
  cursor: pointer;
  transition: all 0.2s var(--nx-ease);
  padding: 0;
  flex-shrink: 0;
}

.mobile-toggle-btn:hover {
  background: var(--nx-soft-hover);
  color: var(--nx-red);
  border-color: #D4D4D8;
}

.mobile-toggle-btn:active {
  transform: scale(0.94);
}

@media (max-width: 1024px) {
  .mobile-toggle-btn {
    display: inline-flex;
  }
}

.header-search {
  position: relative;
  width: 280px;
  transition: width 0.3s var(--nx-ease);
}

.header-search:focus-within {
  width: 360px;
}

@media (max-width: 900px) {
  .header-search {
    width: 220px;
  }
  .header-search:focus-within {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .header-search {
    display: none;
  }
}

.header-search form {
  display: flex;
  align-items: center;
  background: var(--nx-soft);
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  padding: 6px 14px;
  transition: all 0.25s var(--nx-ease);
  position: relative;
}

.header-search form:focus-within {
  background: #FFFFFF;
  border-color: var(--nx-ink);
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.header-search input {
  background: transparent;
  color: var(--nx-ink);
  font-size: 13px;
  width: 100%;
  margin-left: 8px;
  padding-right: 22px;
}

.header-search input::placeholder {
  color: var(--nx-ink-faint);
}

.header-search .search-icon {
  color: var(--nx-ink-muted);
  flex-shrink: 0;
}

.search-clear-btn {
  position: absolute;
  right: 10px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--nx-ink);
  transition: background 0.15s ease;
}

.search-clear-btn:hover {
  background: var(--nx-red);
  color: #FFFFFF;
}

.search-spinner {
  position: absolute;
  right: 12px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--nx-red);
  border-radius: 50%;
  animation: nxSpin 0.6s linear infinite;
}

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

/* ============================================================
   LIVE AJAX SEARCH DROPDOWN (Ultra-Premium Luxury Tech Design)
============================================================ */
.search-ajax-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 480px;
  max-width: calc(100vw - 28px);
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  box-shadow: 0 24px 60px -10px rgba(0, 0, 0, 0.18), 0 10px 24px -6px rgba(0, 0, 0, 0.06);
  z-index: 1050;
  max-height: 520px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 8px;
  animation: nxDropdownIn 0.22s cubic-bezier(.22, 1, .36, 1);
}

@keyframes nxDropdownIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.search-ajax-header {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--nx-ink-muted);
  padding: 8px 12px 10px;
  border-bottom: 1px solid var(--nx-line-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.search-ajax-count-badge {
  background: var(--nx-soft);
  color: var(--nx-ink);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}

.search-ajax-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 0;
}

.search-ajax-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: all 0.18s var(--nx-ease);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
}

.search-ajax-item:hover, .search-ajax-item.is-selected {
  background: #F8F9FA;
  border-color: rgba(0, 0, 0, 0.05);
  transform: translateX(2px);
}

.search-ajax-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease;
}

.search-ajax-item:hover .search-ajax-thumb {
  transform: scale(1.05);
}

.search-ajax-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.search-ajax-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.search-ajax-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.search-ajax-meta {
  display: flex;
  align-items: center;
}

.search-ajax-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(220, 38, 38, 0.08);
  color: var(--nx-red);
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.02em;
}

.search-ajax-badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--nx-red);
}

.search-ajax-price-col {
  flex-shrink: 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 85px;
}

.search-ajax-store {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 3px;
}

.search-ajax-store img {
  height: 14px;
  width: auto;
  max-width: 65px;
  object-fit: contain;
}

.search-ajax-price {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 14.5px;
  color: var(--nx-green);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.search-ajax-oos-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #DC2626;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  padding: 3.5px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.search-ajax-oos-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #DC2626;
}

.search-ajax-arrow {
  color: #D4D4D8;
  transition: transform 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.search-ajax-item:hover .search-ajax-arrow,
.search-ajax-item.is-selected .search-ajax-arrow {
  color: var(--nx-red);
  transform: translateX(3px);
}

.search-ajax-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--nx-ink-muted);
}

.search-ajax-empty-icon {
  margin: 0 auto 10px;
  color: var(--nx-ink-faint);
}

.search-ajax-footer {
  padding: 10px 14px;
  background: #FAFAFA;
  font-size: 11px;
  color: var(--nx-ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--nx-line-subtle);
  border-radius: 0 0 16px 16px;
  margin: 4px -8px -8px -8px;
}

/* Mobile Drawer Variant */
.search-ajax-dropdown.mobile {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100%;
  background: #242428;
  border: 1px solid #3F3F46;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55);
  z-index: 100;
  max-height: 380px;
  overflow-y: auto;
  color: #FFFFFF;
  padding: 6px;
}

.search-ajax-dropdown.mobile .search-ajax-header {
  background: transparent;
  color: #A1A1AA;
  border-bottom-color: #333338;
}

.search-ajax-dropdown.mobile .search-ajax-count-badge {
  background: #3F3F46;
  color: #FFFFFF;
}

.search-ajax-dropdown.mobile .search-ajax-item {
  border-radius: 10px;
}

.search-ajax-dropdown.mobile .search-ajax-item:hover,
.search-ajax-dropdown.mobile .search-ajax-item.is-selected {
  background: #333338;
  border-color: transparent;
}

.search-ajax-dropdown.mobile .search-ajax-thumb {
  background: #18181B;
  border-color: #3F3F46;
}

.search-ajax-dropdown.mobile .search-ajax-title {
  color: #FFFFFF;
}

.search-ajax-dropdown.mobile .search-ajax-badge {
  background: rgba(220, 38, 38, 0.2);
  color: #F87171;
}

.search-ajax-dropdown.mobile .search-ajax-badge-dot {
  background: #F87171;
}

.search-ajax-dropdown.mobile .search-ajax-arrow {
  color: #71717A;
}

.search-ajax-dropdown.mobile .search-ajax-footer {
  background: #1C1C20;
  color: #A1A1AA;
  border-top-color: #333338;
  margin: 4px -6px -6px -6px;
}

.header-support-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.25s var(--nx-ease);
  text-decoration: none;
  flex-shrink: 0;
}

.header-support-btn:hover {
  background: linear-gradient(135deg, #2ae06e 0%, #0e7a6e 100%);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
  color: #FFFFFF !important;
}

.mobile-toggle-btn {
  display: none;
  background: transparent;
  color: var(--nx-ink);
  padding: 8px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .mobile-toggle-btn {
    display: block;
  }
}

/* ============================================================
   HERO SHOWCASE SECTION (NEXT.COM.TR HIGH-END EDITORIAL)
============================================================ */
.hero-flagship {
  background: #0B0D10;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 6vw, 70px);
  border-bottom: 1px solid #1F242D;
}

.hero-flagship::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, rgba(20, 30, 60, 0.18) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-flagship-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

@media (max-width: 1024px) {
  .hero-flagship-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-editorial {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (max-width: 1024px) {
  .hero-editorial {
    align-items: center;
  }
}

.hero-title {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-title span {
  display: block;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
}

.hero-desc {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin-bottom: 28px;
}

/* Specs pills row */
.hero-specs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

@media (max-width: 1024px) {
  .hero-specs-grid {
    justify-content: center;
  }
}

.hero-spec-pill {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

/* Hero CTA Row */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .hero-cta-group {
    justify-content: center;
  }
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  background: #FFFFFF;
  color: #0B0D10;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  transition: all 0.25s var(--nx-ease);
}

.btn-hero-primary:hover {
  background: var(--nx-red);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.35);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s var(--nx-ease);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Right: Visual Showcase */
.hero-tv-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-tv-container {
  position: relative;
  width: 100%;
  max-width: 650px;
}

.hero-tv-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 68px rgba(0, 0, 0, 0.9)) drop-shadow(0 10px 24px rgba(220, 38, 38, 0.18));
  transition: transform 0.6s var(--nx-ease);
}

.hero-tv-stage:hover .hero-tv-container img {
  transform: scale(1.03) translateY(-4px);
}

.hero-floating-card {
  position: absolute;
  bottom: -15px;
  right: 10px;
  background: rgba(18, 20, 26, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 20px;
  border-radius: 14px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

@media (max-width: 640px) {
  .hero-floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    padding: 12px 16px;
  }
}

.hero-floating-price {
  font-size: 20px;
  font-weight: 800;
  color: #34D399;
  letter-spacing: -0.02em;
}

/* ============================================================
   SELLER VALUE PROPOSITION STRIP
============================================================ */
.seller-trust-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--nx-line);
  padding: 24px 0;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

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

@media (max-width: 540px) {
  .trust-features-grid {
    grid-template-columns: 1fr;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nx-soft);
  display: grid;
  place-items: center;
  color: var(--nx-red);
  flex-shrink: 0;
}

.trust-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nx-ink);
  margin-bottom: 2px;
}

.trust-sub {
  font-size: 12px;
  color: var(--nx-ink-muted);
}

/* ============================================================
   CATEGORIES EDITORIAL SHOWCASE (next.com.tr style)
============================================================ */
.section-pad {
  padding: clamp(48px, 6vw, 84px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(24px, 4vw, 44px);
  gap: 20px;
  flex-wrap: wrap;
}

.section-h2 {
  font-family: var(--font-main);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.1;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: var(--nx-ink);
}

.section-h2 span {
  display: block;
  color: var(--nx-ink-muted);
  font-weight: 400;
  font-size: 0.85em;
  margin-top: 4px;
}

.categories-quad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .categories-quad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .categories-quad-grid {
    grid-template-columns: 1fr;
  }
}

.cat-showcase-tile {
  background: var(--nx-paper);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--nx-ease);
}

.cat-showcase-tile:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.08);
}

.cat-showcase-kicker {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--nx-red);
  margin-bottom: 8px;
}

.cat-showcase-name {
  font-size: 19px;
  font-weight: 700;
  color: var(--nx-ink);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.cat-showcase-desc {
  font-size: 13px;
  color: var(--nx-ink-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.cat-showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 20%, #EAECEF 100%);
  border: 1px solid var(--nx-line);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.cat-showcase-media img {
  max-height: 100%;
  max-width: 95%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.12));
  transition: transform 0.45s var(--nx-ease), filter 0.45s var(--nx-ease);
}

.cat-showcase-tile:hover .cat-showcase-media img {
  transform: scale(1.07) translateY(-3px);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.18));
}

.cat-showcase-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-ink);
  padding-top: 14px;
  border-top: 1px solid var(--nx-line);
}

.cat-showcase-tile:hover .cat-showcase-action {
  color: var(--nx-red);
}

/* ============================================================
   PRODUCT CATALOG GRID & CARDS (.nx-grid & .nx-card)
============================================================ */
.nx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .nx-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 840px) {
  .nx-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .nx-grid {
    grid-template-columns: 1fr;
  }
}

.nx-card {
  position: relative;
  background: var(--nx-paper);
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--nx-ease);
  isolation: isolate;
}

.nx-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 18px 40px -15px rgba(0, 0, 0, 0.1);
}

.nx-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: radial-gradient(circle at 50% 50%, #FFFFFF 30%, #F5F6F8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 2.5vw, 24px);
  overflow: hidden;
  border-bottom: 1px solid var(--nx-line-subtle);
}

.nx-media img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
  transition: transform 0.5s var(--nx-ease), filter 0.5s var(--nx-ease);
}

.nx-card:hover .nx-media img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.15));
}

.nx-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.06);
  color: var(--nx-ink);
  z-index: 2;
}

.nx-badge.red {
  background: var(--nx-red);
  color: #FFFFFF;
}

.nx-badge-inch {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  font-family: var(--font-mono);
  background: #18181B;
  color: #FFFFFF;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 2;
}

.nx-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nx-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--nx-red);
  margin-bottom: 6px;
}

.nx-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--nx-ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}

.nx-specs {
  font-size: 12.5px;
  color: var(--nx-ink-muted);
  margin-bottom: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Card Price & Channel info */
.nx-card-bottom {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--nx-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nx-price-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 800;
  color: var(--nx-ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.nx-price-channel {
  font-size: 11px;
  font-weight: 700;
  color: var(--nx-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 3px;
}

.nx-card-cta {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nx-soft);
  display: grid;
  place-items: center;
  color: var(--nx-ink);
  transition: all 0.25s var(--nx-ease);
}

.nx-card:hover .nx-card-cta {
  background: var(--nx-red);
  color: #FFFFFF;
  transform: rotate(-45deg);
}

/* ============================================================
   PRODUCT DETAIL PAGE (Apple/Next Hardware Presentation)
============================================================ */
.product-page-container {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--nx-ink-muted);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb-trail a:hover {
  color: var(--nx-red);
}

.product-hardware-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: clamp(40px, 6vw, 80px);
  align-items: start;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .product-hardware-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }
}

/* Product Gallery */
.hardware-gallery {
  position: sticky;
  top: 86px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.hardware-info-col {
  min-width: 0;
  max-width: 100%;
  width: 100%;
}

.gallery-stage {
  background: radial-gradient(circle at 50% 50%, #FFFFFF 35%, #F4F4F6 100%);
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: clamp(16px, 2.5vw, 30px);
  min-height: 440px;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  user-select: none;
}

@media (max-width: 640px) {
  .gallery-stage {
    min-height: 300px;
    height: 320px;
    padding: 14px;
  }
}

.gallery-stage img {
  max-width: 96%;
  max-height: 94%;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.12));
  transition: opacity 0.22s var(--nx-ease), transform 0.22s var(--nx-ease);
}

.gallery-stage img.fade-out {
  opacity: 0.15;
  transform: scale(0.97);
}

/* Prev / Next Navigation Arrows */
.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--nx-line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-ink);
  cursor: pointer;
  transition: all 0.2s var(--nx-ease);
  z-index: 5;
}

.gallery-nav-btn:hover {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.gallery-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.gallery-nav-btn.prev-btn {
  left: 14px;
}

.gallery-nav-btn.next-btn {
  right: 14px;
}

/* Image Counter Badge */
.gallery-counter {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(24, 24, 27, 0.75);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  z-index: 4;
  letter-spacing: 0.05em;
}

/* Interactive Pagination Dots (Active is Brand Red) */
.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
  padding: 0 10px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #D4D4D8;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-dot:hover {
  background: #A1A1AA;
}

.gallery-dot.active {
  background: var(--nx-red, #DC2626) !important;
  width: 26px !important;
  border-radius: 999px !important;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.45);
}

/* Thumbnails Strip - No native scrollbar */
.gallery-thumbs-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.gallery-thumbs-row::-webkit-scrollbar {
  display: none;
}

.gallery-thumb-item {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  border-radius: 10px;
  border: 2px solid var(--nx-line);
  background: #FFFFFF;
  padding: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--nx-ease);
}

.gallery-thumb-item:hover {
  border-color: #A1A1AA;
}

.gallery-thumb-item.active {
  border-color: var(--nx-red, #DC2626);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
  transform: translateY(-2px);
}

.gallery-thumb-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Product Info & Specs Header */
.hardware-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.hardware-h1 {
  font-family: var(--font-main);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--nx-ink);
  margin-bottom: 18px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Hardware Quick Specs Grid */
.quick-specs-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 640px) {
  .quick-specs-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.spec-tile {
  background: var(--nx-soft);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 0;
  overflow: hidden;
}

.spec-tile-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--nx-ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.spec-tile-value {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nx-ink);
}

/* ============================================================
   OFFICIAL SELLER MARKETPLACE BUY BOX
============================================================ */
.official-buy-portal {
  background: #FFFFFF;
  border: 2px solid #18181B;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 16px 40px -15px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.buy-portal-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--nx-line);
}

.buy-portal-h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--nx-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.buy-portal-sub {
  font-size: 13px;
  color: var(--nx-ink-muted);
  line-height: 1.5;
}

/* Best Price Highlight Card */
.cheapest-channel-card {
  background: linear-gradient(145deg, #F0FDF4 0%, #FFFFFF 100%);
  border: 2px solid var(--nx-green-border);
  border-radius: 14px;
  padding: 20px 20px 18px;
  margin-top: 14px;
  margin-bottom: 18px;
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible !important;
}

.cheapest-channel-badge {
  position: absolute;
  top: -11px;
  left: 18px;
  background: var(--nx-green);
  color: #FFFFFF;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
  z-index: 5;
}

.cheapest-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cheapest-store-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cheapest-logo-wrap {
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 12px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-width: 130px;
  height: 52px;
}

.cheapest-store-logo {
  height: 36px;
  width: auto;
  max-width: 125px;
  object-fit: contain;
  display: block;
}

.cheapest-price-box {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cheapest-price-number {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 800;
  color: var(--nx-green);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap !important;
}

.btn-buy-cheapest-direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  background: var(--nx-green);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.25s var(--nx-ease);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-buy-cheapest-direct:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}

/* Secondary Marketplace Store Rows */
.other-channels-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.other-channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--nx-soft);
  border-radius: 12px;
  border: 1px solid var(--nx-line);
  transition: all 0.2s var(--nx-ease);
  gap: 12px;
}

.other-channel-row:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.other-channel-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.other-channel-logo-wrap {
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 8px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  min-width: 84px;
  height: 36px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
}

.other-channel-logo {
  height: 22px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  display: block;
}

.other-channel-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.other-channel-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.other-channel-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--nx-ink);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-buy-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  background: #FFFFFF;
  color: var(--nx-ink);
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--nx-line);
  transition: all 0.2s var(--nx-ease);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.btn-buy-secondary:hover {
  background: #18181B;
  color: #FFFFFF;
  border-color: #18181B;
}

@media (max-width: 580px) {
  .official-buy-portal {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .cheapest-channel-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .cheapest-card-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .cheapest-store-info {
    width: 100%;
    gap: 12px;
  }

  .cheapest-logo-wrap {
    min-width: 100px;
    height: 46px;
    padding: 6px 12px;
  }

  .cheapest-price-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(16, 185, 129, 0.15);
    padding-top: 12px;
    gap: 10px;
  }

  .cheapest-price-number {
    font-size: 22px;
    white-space: nowrap !important;
  }

  .btn-buy-cheapest-direct {
    padding: 0 16px;
    height: 42px;
    font-size: 13px;
    white-space: nowrap !important;
  }

  .other-channel-row {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }

  .other-channel-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 8px;
    gap: 10px;
  }

  .other-channel-price {
    font-size: 15px;
    white-space: nowrap !important;
  }

  .btn-buy-secondary {
    padding: 0 14px;
    height: 36px;
    font-size: 12px;
    white-space: nowrap !important;
  }
}

.channel-oos {
  font-size: 12.5px;
  color: var(--nx-ink-muted);
  font-weight: 600;
}

/* Assurances Banner in Product Page */
.product-assurances-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.assurance-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--nx-line);
  border-radius: 12px;
  background: #FFFFFF;
}

.assurance-card svg {
  color: var(--nx-red);
  flex-shrink: 0;
}

.assurance-card-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--nx-ink);
  line-height: 1.4;
}

/* Technical Specs Table */
.specs-table-card {
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  overflow: hidden;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
}

.specs-table-header {
  padding: 24px 30px;
  background: var(--nx-soft);
  border-bottom: 1px solid var(--nx-line);
}

.specs-table-h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--nx-ink);
  letter-spacing: -0.02em;
}

.specs-rows-wrap {
  padding: 10px 30px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.specs-table-row {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  padding: 14px 0;
  border-bottom: 1px solid var(--nx-line);
  font-size: 14px;
  width: 100%;
  max-width: 100%;
}

@media (max-width: 768px) {
  .specs-table-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.specs-table-row:last-child {
  border-bottom: none;
}

.specs-row-key {
  color: var(--nx-ink-muted);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.specs-row-val {
  color: var(--nx-ink);
  font-weight: 700;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* ============================================================
   ADVANCED TV COMPARISON TOOL (Apple & Next.com.tr Style)
============================================================ */
.compare-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
}

.compare-selector-card {
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  padding: clamp(20px, 3.5vw, 36px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
}

.compare-slots-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
}

@media (max-width: 860px) {
  .compare-slots-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.compare-slot {
  background: var(--nx-soft);
  border: 1.5px dashed var(--nx-line);
  border-radius: 18px;
  padding: 20px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  transition: all 0.25s var(--nx-ease);
}

.compare-slot.is-filled {
  background: #FFFFFF;
  border-style: solid;
  border-color: var(--nx-line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.compare-slot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.compare-slot-label {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nx-ink-muted);
}

.compare-slot-remove-btn {
  background: var(--nx-soft);
  color: var(--nx-ink-muted);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.compare-slot-remove-btn:hover {
  background: #FEE2E2;
  color: #DC2626;
}

/* Compare Search Input & Dropdown */
.compare-search-wrap {
  position: relative;
  width: 100%;
}

.compare-search-input-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1.5px solid var(--nx-line);
  border-radius: 12px;
  padding: 10px 14px;
  gap: 10px;
  transition: all 0.2s ease;
}

.compare-search-input-box:focus-within {
  border-color: var(--nx-ink);
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
}

.compare-search-input {
  width: 100%;
  font-size: 13.5px;
  color: var(--nx-ink);
  background: transparent;
}

.compare-search-input::placeholder {
  color: var(--nx-ink-faint);
}

.compare-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  padding: 6px;
}

.compare-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.compare-search-item:hover {
  background: #F4F4F5;
}

.compare-search-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
}

.compare-search-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.compare-search-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--nx-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-search-meta {
  font-size: 11px;
  color: var(--nx-ink-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

/* Filled Preview Card in Slot */
.compare-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
}

.compare-preview-img {
  height: 145px;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.1));
  margin: 0 auto 14px auto;
  display: block;
  transition: transform 0.25s ease;
}

.compare-slot:hover .compare-preview-img {
  transform: translateY(-4px);
}

.compare-preview-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.08);
  color: var(--nx-red);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.compare-preview-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--nx-ink);
  line-height: 1.35;
  margin-bottom: 8px;
  max-width: 280px;
}

.compare-preview-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 800;
  color: var(--nx-green);
  margin-bottom: 10px;
}

/* VS Badge & Swap Button */
.compare-center-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.compare-vs-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #18181B;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border: 3px solid #FFFFFF;
}

.compare-swap-btn {
  background: var(--nx-soft);
  border: 1px solid var(--nx-line);
  color: var(--nx-ink);
  border-radius: 999px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-swap-btn:hover {
  background: #18181B;
  color: #FFFFFF;
  transform: rotate(180deg);
}

/* Submit Action Bar */
.compare-action-bar {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.btn-compare-start {
  height: 50px;
  padding: 0 36px;
  background: var(--nx-red);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14.5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.28);
  transition: all 0.25s var(--nx-ease);
  cursor: pointer;
  border: none;
}

.btn-compare-start:hover {
  background: var(--nx-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(220, 38, 38, 0.35);
}

.btn-compare-start:disabled {
  background: #E4E4E7;
  color: #A1A1AA;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Popular Comparisons Cards */
.compare-popular-section {
  margin-top: 40px;
  margin-bottom: 50px;
}

.compare-popular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.compare-popular-card {
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s var(--nx-ease);
  text-decoration: none;
  color: inherit;
}

.compare-popular-card:hover {
  border-color: var(--nx-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.compare-popular-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.compare-popular-thumb {
  width: 75px;
  height: 60px;
  object-fit: contain;
}

/* Comparison Matrix Table */
.compare-matrix-card {
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.05);
  margin-bottom: 50px;
}

.compare-matrix-head {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  background: var(--nx-soft);
  border-bottom: 2px solid var(--nx-line);
  position: sticky;
  top: 68px;
  z-index: 50;
  backdrop-filter: blur(12px);
}

.compare-matrix-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--nx-soft);
  border: 1px solid var(--nx-line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--nx-ink-muted);
  margin: 0 auto 18px auto;
  width: fit-content;
}

@media (max-width: 768px) {
  .mobile-swipe-hint {
    display: flex;
  }

  .compare-matrix-card {
    border-radius: 16px;
  }

  .compare-matrix-head,
  .compare-matrix-row {
    min-width: 600px;
    grid-template-columns: 140px 1fr 1fr;
  }

  .compare-matrix-th-label,
  .compare-matrix-cell-label,
  .compare-matrix-key {
    position: sticky;
    left: 0;
    z-index: 10;
    background: #FFFFFF;
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.06);
    padding: 14px 12px;
    font-size: 12px;
  }

  .compare-matrix-head .compare-matrix-th-label {
    background: var(--nx-soft);
  }

  .compare-matrix-th-prod {
    padding: 18px 14px;
  }

  .compare-matrix-th-img {
    height: 150px;
  }

  .compare-buy-btn {
    padding: 8px 12px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }

  .compare-matrix-cell-val,
  .compare-matrix-val {
    padding: 14px 12px;
    font-size: 12.5px;
  }
}

.compare-matrix-th-label {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.compare-matrix-th-prod {
  padding: 28px 24px;
  text-align: center;
  border-left: 1px solid var(--nx-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.compare-matrix-th-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  text-decoration: none;
}

.compare-matrix-th-img {
  height: 220px;
  max-height: 250px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  margin: 0 auto 16px auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.14));
  transition: transform 0.25s ease;
}

.compare-matrix-th-img:hover {
  transform: scale(1.04);
}

.compare-matrix-th-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--nx-ink);
  line-height: 1.35;
  margin-bottom: 8px;
  text-align: center;
}

.compare-matrix-row {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  border-bottom: 1px solid var(--nx-line);
  transition: background 0.15s ease;
}



.compare-matrix-row:hover {
  background: #FAFAFA;
}

.compare-matrix-row.is-diff {
  background: #FFFDF7;
}

.compare-matrix-row.is-diff:hover {
  background: #FEF9E7;
}

.compare-matrix-key {
  padding: 16px 20px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nx-ink-muted);
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.compare-matrix-val {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nx-ink);
  border-left: 1px solid var(--nx-line);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ============================================================
   OFFICIAL MARKETPLACE BUY & DETAIL BUTTONS (Vibrant & High-Impact)
============================================================ */
.btn-hero-primary,
.compare-buy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF !important;
  font-size: 13.5px;
  font-weight: 800;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
  transition: all 0.25s var(--nx-ease);
  text-decoration: none;
  letter-spacing: -0.01em;
  width: 100%;
  margin-top: 6px;
}

.btn-hero-primary:hover,
.compare-buy-btn:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.48);
  color: #FFFFFF !important;
}

.compare-buy-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.compare-buy-btn:hover svg.arrow-icon {
  transform: translateX(3px);
}

.btn-buy-secondary,
.compare-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  background: #18181B;
  color: #FFFFFF !important;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid #27272A;
  cursor: pointer;
  transition: all 0.25s var(--nx-ease);
  text-decoration: none;
  width: 100%;
}

.btn-buy-secondary:hover,
.compare-detail-btn:hover {
  background: #27272A;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* ============================================================
   FOOTER (Official Seller & Comprehensive SEO)
============================================================ */
.site-footer {
  background: #111317;
  color: #D4D4D8;
  padding: 70px 0 30px;
  border-top: 1px solid #222631;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 1024px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand-p {
  font-size: 13.5px;
  color: #A1A1AA;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 360px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  color: #A1A1AA;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-bottom-bar {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #71717A;
  flex-wrap: wrap;
  gap: 14px;
}

/* Active Comparison Header Bar */
.compare-active-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--nx-line);
  border-radius: var(--radius-lg);
  padding: 14px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  flex-wrap: wrap;
  gap: 14px;
}

.compare-active-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  color: var(--nx-ink);
  flex-wrap: wrap;
}

.compare-active-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  flex-shrink: 0;
}

.compare-active-vs {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 900;
  color: var(--nx-red);
  background: rgba(220, 38, 38, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  line-height: 1;
}

.compare-active-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--nx-ink-muted);
  background: #F4F4F5;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 4px;
}

.compare-active-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-change-models {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #F4F4F5;
  color: var(--nx-ink);
  border: 1px solid var(--nx-line);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-change-models:hover {
  background: #E4E4E7;
  border-color: #D4D4D8;
}

.btn-new-compare {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  color: #DC2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
  padding: 8px 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-new-compare:hover {
  background: rgba(220, 38, 38, 0.06);
  border-color: #DC2626;
}

/* ============================================================
   MOBILE RESPONSIVENESS SUITE (Header, Drawer, Filter Pills, Product Detail)
   ============================================================ */
.screen-filter-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   MOBILE DRAWER NAVIGATION & SEARCH
   ============================================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--nx-ease), visibility 0.3s;
}

.mobile-drawer.is-active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  cursor: pointer;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: #18181B;
  color: #FFFFFF;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(.22, 1, .36, 1);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer.is-active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.mobile-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  outline: none;
}

.mobile-close-btn:hover {
  background: var(--nx-red);
  border-color: var(--nx-red);
  color: #FFFFFF;
}

.mobile-search-wrap {
  position: relative;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.mobile-search-wrap form {
  position: relative;
  display: flex;
  align-items: center;
}

.mobile-search-icon {
  position: absolute;
  left: 14px;
  color: #A1A1AA;
  pointer-events: none;
}

.mobile-search-wrap input {
  width: 100%;
  background: #27272A;
  color: #FFFFFF;
  padding: 11px 14px 11px 38px;
  border-radius: 12px;
  font-size: 13.5px;
  border: 1px solid #3F3F46;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.mobile-search-wrap input:focus {
  border-color: var(--nx-red);
  background: #2E2E33;
}

.mobile-search-wrap input::placeholder {
  color: #71717A;
}

.search-ajax-dropdown.mobile {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  width: 100% !important;
  max-width: 100% !important;
  background: #27272A;
  border: 1px solid #3F3F46;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  max-height: 320px;
  z-index: 100;
  color: #FFFFFF;
}

.search-ajax-dropdown.mobile .search-ajax-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  color: #A1A1AA;
}

.search-ajax-dropdown.mobile .search-ajax-count-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.search-ajax-dropdown.mobile .search-ajax-item {
  color: #FFFFFF;
  border-color: transparent;
}

.search-ajax-dropdown.mobile .search-ajax-item:hover,
.search-ajax-dropdown.mobile .search-ajax-item.is-selected {
  background: rgba(255, 255, 255, 0.08);
}

.search-ajax-dropdown.mobile .search-ajax-title {
  color: #FFFFFF;
}

.search-ajax-dropdown.mobile .search-ajax-price {
  color: #34D399;
}

.search-ajax-dropdown.mobile .search-ajax-footer {
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #71717A;
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.mobile-nav-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #71717A;
  padding: 12px 6px 6px;
  margin-top: 4px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  color: #E4E4E7;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.15s ease;
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.mobile-nav-link.home {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.mobile-nav-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--nx-red);
  color: #FFFFFF;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  margin-top: 16px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
  transition: all 0.2s ease;
}

.mobile-nav-compare-btn:hover {
  background: var(--nx-red-hover);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mobile-support-title {
  font-size: 11.5px;
  color: #A1A1AA;
  margin-bottom: 8px;
  font-weight: 600;
}

.mobile-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  padding: 11px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.mobile-guarantee-note {
  font-size: 11px;
  color: #71717A;
  text-align: center;
  margin-top: 8px;
}

/* ============================================================
   PRODUCT PAGE FEATURES PLACEMENT (Desktop vs Mobile)
   ============================================================ */
.desktop-features-wrap {
  display: block;
}

.mobile-features-wrap {
  display: none;
}

.product-features-box {
  margin-top: 20px;
  padding: 18px 20px;
  background: var(--nx-soft);
  border-radius: 16px;
  border: 1px solid var(--nx-line);
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.product-features-list li {
  font-size: 13.5px;
  color: var(--nx-ink-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.product-features-list .feat-bullet {
  color: var(--nx-red);
  font-weight: bold;
  flex-shrink: 0;
}

/* ============================================================
   GLOBAL BREAKPOINTS & PRODUCT DETAIL RESPONSIVENESS
   ============================================================ */
@media (max-width: 1024px) {
  .product-hardware-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .hardware-gallery {
    position: static;
  }

  .desktop-features-wrap {
    display: none !important;
  }

  .mobile-features-wrap {
    display: block !important;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .screen-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    width: 100%;
  }
  .screen-filter-pills::-webkit-scrollbar {
    display: none;
  }
  .screen-filter-pills a {
    flex-shrink: 0;
  }

  /* Header */
  .header-inner {
    height: 60px;
    gap: 10px;
  }

  .header-brand img {
    height: 26px;
    max-width: 140px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-support-btn {
    padding: 6px 12px;
    font-size: 12px;
    gap: 5px;
  }

  /* Hero & Homepage */
  .hero-title {
    font-size: clamp(2rem, 7.5vw, 3.4rem);
    line-height: 1.1;
  }

  .hero-floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Product Page Container & Breadcrumbs */
  .product-page-container {
    padding-top: 14px !important;
    padding-bottom: 50px !important;
  }

  .breadcrumb-trail {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 14px;
  }

  .breadcrumb-current {
    max-width: min(220px, 50vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom;
    color: var(--nx-ink);
    font-weight: 700;
  }

  /* Product Gallery */
  .gallery-stage {
    min-height: 250px;
    height: clamp(250px, 62vw, 340px);
    border-radius: 16px;
    padding: 12px;
    margin-bottom: 8px;
  }

  .gallery-stage img {
    max-width: 94%;
    max-height: 90%;
  }

  .gallery-nav-btn {
    width: 38px;
    height: 38px;
  }

  .gallery-nav-btn.prev-btn {
    left: 8px;
  }

  .gallery-nav-btn.next-btn {
    right: 8px;
  }

  .gallery-counter {
    top: 10px;
    right: 10px;
    font-size: 11px;
    padding: 3px 8px;
  }

  .gallery-dots {
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 10px;
  }

  .gallery-dot {
    width: 8px;
    height: 8px;
  }

  .gallery-dot.active {
    width: 22px !important;
  }

  .gallery-thumbs-row {
    gap: 8px;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-thumb-item {
    flex: 0 0 60px;
    width: 60px;
    height: 46px;
    border-radius: 8px;
    padding: 3px;
  }

  /* Product Typography & Meta */
  .hardware-meta-top {
    gap: 6px;
    margin-bottom: 10px;
  }

  .hardware-h1 {
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.25;
    margin-bottom: 14px;
  }

  /* Official Buy Portal */
  .official-buy-portal {
    padding: 18px 14px;
    border-radius: 16px;
    margin-bottom: 24px;
  }

  .buy-portal-header {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .buy-portal-h3 {
    font-size: 15px;
    line-height: 1.35;
  }

  .buy-portal-sub {
    font-size: 12px;
    line-height: 1.5;
  }

  /* Comparison active bar */
  .compare-active-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    gap: 12px;
  }

  .compare-active-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-change-models, .btn-new-compare {
    flex: 1;
    justify-content: center;
    font-size: 12px;
    padding: 8px 10px;
  }
  /* Hardware Grid & Columns Containment */
  .product-hardware-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .hardware-gallery,
  .hardware-info-col {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Quick Specs Matrix */
  .quick-specs-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    margin-bottom: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .spec-tile {
    min-width: 0 !important;
    overflow: hidden !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
  }

  .spec-tile-label {
    font-size: 10px !important;
    margin-bottom: 2px !important;
  }

  .spec-tile-value {
    font-size: 12.5px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
  }

  /* Cheapest Channel Highlight Card */
  .cheapest-channel-card {
    padding: 18px 12px 14px !important;
    border-radius: 14px !important;
    margin-top: 14px !important;
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .cheapest-channel-badge {
    position: absolute !important;
    font-size: 9.5px !important;
    padding: 3px 10px !important;
    left: 12px !important;
    top: -11px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4) !important;
    background: var(--nx-green) !important;
    color: #FFFFFF !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .cheapest-card-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .cheapest-store-info {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    min-width: 0 !important;
  }

  .cheapest-store-info > div {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .cheapest-store-info > div > div {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .cheapest-logo-wrap {
    min-width: 88px !important;
    max-width: 95px !important;
    height: 42px !important;
    padding: 4px 10px !important;
    flex-shrink: 0 !important;
  }

  .cheapest-store-logo {
    height: 26px !important;
    max-width: 75px !important;
  }

  .cheapest-price-box {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-top: 1px solid rgba(16, 185, 129, 0.2) !important;
    padding-top: 12px !important;
    gap: 10px !important;
  }

  .cheapest-price-box > div {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    width: 100% !important;
    text-align: left !important;
  }

  .cheapest-price-number {
    font-size: 24px !important;
    line-height: 1 !important;
  }

  .btn-buy-cheapest-direct {
    width: 100% !important;
    height: 46px !important;
    font-size: 13.5px !important;
    justify-content: center !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
    padding: 0 16px !important;
  }

  /* Other Channels Secondary List */
  .other-channels-list {
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .other-channel-row {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 11px 12px !important;
    gap: 10px !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .other-channel-left {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
  }

  .other-channel-left > div {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .other-channel-logo-wrap {
    width: 72px !important;
    min-width: 72px !important;
    height: 32px !important;
    padding: 3px 8px !important;
    flex-shrink: 0 !important;
  }

  .other-channel-logo {
    height: 20px !important;
    max-width: 60px !important;
  }

  .other-channel-name {
    font-size: 12.5px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .other-channel-right {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid var(--nx-line) !important;
    padding-top: 8px !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
    min-width: 0 !important;
  }

  .other-channel-price {
    font-size: 15px !important;
  }

  .btn-buy-secondary {
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }

  /* Assurances */
  .product-assurances-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .assurance-card {
    padding: 12px 14px !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .assurance-card-text {
    font-size: 12px !important;
    min-width: 0 !important;
    word-break: break-word !important;
  }

  /* Technical Specs Table */
  .specs-table-card {
    border-radius: 16px !important;
    margin-top: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .specs-table-header {
    padding: 16px 18px !important;
  }

  .specs-table-h3 {
    font-size: 17px !important;
  }

  .specs-rows-wrap {
    padding: 8px 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .specs-table-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    padding: 10px 0 !important;
    font-size: 13px !important;
    width: 100% !important;
  }

  .specs-row-key {
    font-size: 12px !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .specs-row-val {
    font-size: 13px !important;
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Features Box */
  .product-features-box {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 14px 16px !important;
  }

  .product-features-list li {
    min-width: 0 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
}

/* ============================================================
   EXTRA SMALL SCREENS (< 480px / 375px / 360px - ZERO HORIZONTAL SCROLL)
   ============================================================ */
@media (max-width: 480px) {
  .product-page-container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero-spec-pill {
    font-size: 10.5px;
    padding: 6px 10px;
  }

  .cat-showcase-tile {
    padding: 18px;
  }

  .gallery-stage {
    min-height: 220px !important;
    height: clamp(220px, 58vw, 260px) !important;
    padding: 6px !important;
  }

  .gallery-nav-btn {
    width: 34px !important;
    height: 34px !important;
  }

  .gallery-thumb-item {
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 40px !important;
  }

  /* Stack price and button vertically on narrow screens to prevent ANY horizontal overflow */
  .other-channel-right {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .other-channel-price {
    font-size: 16px !important;
    text-align: left !important;
  }

  .btn-buy-secondary {
    width: 100% !important;
    height: 38px !important;
    justify-content: center !important;
    font-size: 12.5px !important;
    border-radius: 8px !important;
    white-space: normal !important;
  }

  .cheapest-price-number {
    font-size: 22px !important;
  }

  .cheapest-logo-wrap {
    min-width: 76px !important;
    max-width: 84px !important;
    height: 38px !important;
    padding: 3px 6px !important;
  }

  .cheapest-store-logo {
    height: 22px !important;
    max-width: 66px !important;
  }

  .footer-main-grid {
    gap: 28px;
  }
}

@media (max-width: 380px) {
  .header-brand img {
    height: 23px;
    max-width: 120px;
  }

  .header-support-btn {
    padding: 6px 9px;
    font-size: 11px;
  }

  .header-support-btn span {
    display: none; /* Show only WhatsApp icon on ultra-narrow screens */
  }

  .mobile-toggle-btn {
    width: 38px;
    height: 38px;
  }
}

