:root {
  --radius: 0.875rem;

  /* Brand Colors */
  --brand-red: oklch(0.605 0.165 22);
  /* #D2454D */
  --brand-red-foreground: oklch(0.99 0 0);
  --brand-blue: oklch(0.605 0.13 245);
  /* #2781C2 */
  --brand-blue-foreground: oklch(0.99 0 0);
  --brand-green: oklch(0.625 0.165 145);
  /* #28A54A */
  --brand-green-foreground: oklch(0.99 0 0);

  /* Hero Gradient */
  --hero-tint: oklch(0.965 0.025 235);
  /* #E5F3FC */
  --hero-tint-end: oklch(1 0 0);

  --background: oklch(1 0 0);
  --foreground: oklch(0.18 0.02 250);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.18 0.02 250);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.18 0.02 250);
  --primary: var(--brand-red);
  --primary-foreground: var(--brand-red-foreground);
  --secondary: oklch(0.97 0.01 245);
  --secondary-foreground: oklch(0.22 0.03 250);
  --muted: oklch(0.965 0.008 245);
  --muted-foreground: oklch(0.52 0.025 250);
  --accent: oklch(0.965 0.025 235);
  --accent-foreground: oklch(0.22 0.03 250);
  --border: oklch(0.92 0.012 245);
  --input: oklch(0.92 0.012 245);
  --ring: var(--brand-red);

  --shadow-soft: 0 1px 2px rgb(15 23 42 / 0.04), 0 8px 24px -8px rgb(15 23 42 / 0.08);
  --shadow-card: 0 1px 3px rgb(15 23 42 / 0.05), 0 12px 32px -12px rgb(15 23 42 / 0.12);
  --shadow-glow-red: 0 0 0 4px color-mix(in oklab, var(--brand-red) 18%, transparent);

  --gradient-hero: linear-gradient(160deg, var(--hero-tint) 0%, var(--hero-tint-end) 70%);
  --gradient-brand: linear-gradient(135deg, var(--brand-red), var(--brand-blue));
  --gradient-border: linear-gradient(135deg, var(--brand-red), var(--brand-blue));

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
}

.dark {
  --background: oklch(0.21 0.04 265);
  /* slate-900 */
  --foreground: oklch(0.97 0.005 250);
  --card: oklch(0.27 0.035 260);
  /* slate-800 */
  --card-foreground: oklch(0.97 0.005 250);
  --popover: oklch(0.27 0.035 260);
  --popover-foreground: oklch(0.97 0.005 250);
  --primary: oklch(0.68 0.16 22);
  --primary-foreground: oklch(0.15 0.02 250);
  --secondary: oklch(0.31 0.035 260);
  --secondary-foreground: oklch(0.97 0.005 250);
  --muted: oklch(0.31 0.035 260);
  --muted-foreground: oklch(0.72 0.025 250);
  --accent: oklch(0.31 0.035 260);
  --accent-foreground: oklch(0.97 0.005 250);
  --destructive: oklch(0.65 0.2 22);
  --destructive-foreground: oklch(0.99 0 0);
  --border: oklch(1 0 0 / 8%);
  --input: oklch(1 0 0 / 12%);
  --ring: oklch(0.68 0.16 22);

  --brand-red: oklch(0.68 0.16 22);
  --brand-blue: oklch(0.7 0.13 245);
  --brand-green: oklch(0.72 0.16 145);

  --hero-tint: oklch(0.27 0.045 250);
  --hero-tint-end: oklch(0.21 0.04 265);

  --shadow-soft: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px -8px rgb(0 0 0 / 0.5);
  --shadow-card: 0 1px 3px rgb(0 0 0 / 0.5), 0 12px 32px -12px rgb(0 0 0 / 0.6);
  --shadow-glow-red: 0 0 0 4px color-mix(in oklab, var(--brand-red) 28%, transparent);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 800;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 80rem;
  /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Components Styling */

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: color-mix(in oklab, var(--background) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--foreground);
  letter-spacing: -0.05em;
}

.logo-icon {
  display: grid;
  place-items: center;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.75rem;
  background: var(--gradient-brand);
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.logo-text-red {
  color: var(--brand-red);
}

.logo-text-blue {
  color: var(--brand-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-btn {
  display: inline-flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: var(--card);
  cursor: pointer;
  color: var(--foreground);
}

.theme-btn:hover {
  background-color: var(--accent);
}

.theme-btn svg {
  width: 1rem;
  height: 1rem;
}

/* Hero Section */
.hero {
  background-image: var(--gradient-hero);
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

.hero-content {
  max-width: 56rem;
  /* 896px */
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--card) 70%, transparent);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  backdrop-filter: blur(4px);
}

.hero-eyebrow svg {
  color: var(--brand-red);
  width: 0.75rem;
  height: 0.75rem;
}

.hero h1 {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 2.25rem;
  /* text-4xl */
  line-height: 1.05;
  font-weight: 800;
  /* font-extrabold */
  color: var(--foreground);
}

@media (min-width: 640px) {
  .hero h1 {
    font-size: 3.75rem;
    /* text-6xl */
  }
}

.hero-subtitle {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  font-size: 1rem;
  /* text-base */
  color: var(--muted-foreground);
  line-height: 1.5;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.125rem;
    /* text-lg */
  }
}

.search-form {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.375rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.search-form.focused {
  box-shadow: var(--shadow-glow-red);
  border-color: var(--brand-red);
}

.search-icon {
  margin-left: 0.5rem;
  color: var(--muted-foreground);
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.search-input {
  min-width: 0;
  flex: 1 1 0%;
  background: transparent;
  border: none;
  padding: 0.25rem 0.375rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
}

.search-input::placeholder {
  color: var(--muted-foreground);
}

.search-btn {
  border-radius: 0.5rem;
  background: var(--gradient-brand);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}

.search-btn:hover {
  transform: translateY(-1px);
}

/* Sections Global */
section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-title-wrap {
  min-width: 0;
}

.section-title {
  font-size: 1.5rem;
  /* text-2xl */
  font-weight: 700;
  /* font-bold */
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
    /* text-3xl */
  }
}

.section-subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  /* text-sm */
  color: var(--muted-foreground);
}

.section-action {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  cursor: pointer;
}

.section-action:hover {
  opacity: 0.8;
}

.section-action svg {
  width: 0.875rem;
  height: 0.875rem;
}

/* Categories List */
.categories-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .categories-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    overflow-x: visible;
    padding-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .categories-container {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.category-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 0.75rem;
  text-align: center;
  min-width: 7rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--foreground);
}

.category-card.active {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 2px var(--brand-blue);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.category-icon-wrap {
  display: grid;
  place-items: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--brand-blue);
  color: white;
}

.category-card svg {
  width: 1.25rem;
  height: 1.25rem;
}

.category-name {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Product Cards and Grid */
.deals-container {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
  .deals-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    padding-bottom: 0;
  }
}

.deal-card {
  width: 15rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .deal-card {
    width: auto;
  }
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--muted);
}

.card-image-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.deal-card:hover .card-image-wrap img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  left: 0.625rem;
  top: 0.625rem;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-soft);
  background-color: var(--brand-green);
}

.kind-badge {
  position: absolute;
  right: 0.625rem;
  top: 0.625rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.125rem 0.375rem;
  font-size: 0.56rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(4px);
}

.dark .kind-badge {
  background-color: rgba(30, 41, 59, 0.9);
}

.kind-online {
  color: var(--brand-blue);
}

.kind-local {
  color: var(--brand-red);
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.75rem;
  flex: 1 1 auto;
}

.card-brand {
  font-size: 0.75rem;
  /* text-xs */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.card-title {
  font-size: 0.875rem;
  /* text-sm */
  font-weight: 600;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.5rem;
}

.card-price-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.375rem;
  padding-top: 0.375rem;
}

.price-now {
  font-size: 1rem;
  font-weight: 800;
}

.deal-card .price-now {
  color: var(--brand-red);
}

.price-old {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.card-city {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

.card-city svg {
  width: 0.625rem;
  height: 0.625rem;
}

/* Popular Section Grid */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .popular-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.popular-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--foreground);
}

.popular-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.popular-card .price-now {
  color: var(--brand-blue);
}

.price-label {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* Guides Section */
.guides-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .guides-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.featured-guide-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  position: relative;
  background-clip: padding-box;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--gradient-border) border-box;
}

.featured-guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.featured-guide-content {
  display: grid;
}

@media (min-width: 640px) {
  .featured-guide-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.guide-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

@media (min-width: 640px) {
  .guide-img-wrap {
    aspect-ratio: auto;
  }
}

.guide-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
}

@media (min-width: 640px) {
  .guide-details {
    padding: 1.25rem;
  }
}

.ai-guide-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  padding: 0.125rem 0.5rem;
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  background-color: var(--brand-red);
}

.ai-guide-badge svg {
  width: 0.625rem;
  height: 0.625rem;
}

.guide-title {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.25;
}

.guide-summary {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-blue);
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 0.25rem;
}

.read-btn svg {
  width: 0.875rem;
  height: 0.875rem;
}

.snippets-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.snippet-card {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: var(--foreground);
}

.snippet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.snippet-title {
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}

.snippet-date {
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

/* Footer Section */
footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background-color: color-mix(in oklab, var(--card) 40%, transparent);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer-copyright {
  font-size: 0.625rem;
  color: var(--muted-foreground);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted-foreground);
}

/* Store badges and logos */
.store-badge {
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  min-width: 5.5rem;
  text-align: center;
}

.store-amazon {
  background-color: #FF9900;
  color: #000000;
}

.store-elgiganten {
  background-color: #00A6CA;
}

.store-power {
  background-color: #FF5A00;
}

.store-netonnet {
  background-color: #004D9C;
}

.store-cdon {
  background-color: #009640;
}

.store-elon {
  background-color: #E30613;
}

.store-generic {
  background-color: #64748B;
}

/* Product detail specific styles */
.product-top-row {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .product-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
}

.product-image-card {
  position: relative;
  width: 340px;
  height: 340px;
  flex-shrink: 0;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  overflow: hidden;
  background: radial-gradient(120% 120% at 50% 0%, color-mix(in oklab, var(--brand-blue) 7%, white) 0%, white 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .product-image-card {
    width: 100%;
    height: 300px;
  }
}

.product-image-card img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgb(15 23 42 / 0.16));
  transition: transform 0.4s ease;
}

.product-image-card:hover img {
  transform: scale(1.04);
}

.fav-btn-on-image {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background-color: color-mix(in oklab, var(--card) 88%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: 9999px;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--muted-foreground);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fav-btn-on-image:hover {
  transform: scale(1.08);
  color: var(--brand-red);
}

.fav-btn-on-image.active {
  color: var(--brand-red);
  border-color: var(--brand-red);
  background-color: color-mix(in oklab, var(--brand-red) 10%, transparent);
}

.fav-btn-on-image svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.top-specs-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.top-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 0.9rem;
}

.top-specs-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.top-specs-list li:last-child {
  border-bottom: none;
}

.top-specs-list li strong {
  color: var(--muted-foreground);
  font-weight: 600;
}

.scroll-more-link {
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.scroll-more-link:hover {
  text-decoration: underline;
}

.collapsible-box {
  border-radius: 0.75rem;
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient-brand) border-box;
  box-shadow: var(--shadow-soft), 0 0 10px color-mix(in oklab, var(--brand-red) 12%, transparent);
  padding: 1.25rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: boxGlowPulse 4s infinite ease-in-out;
}

.collapsible-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card), 0 0 16px color-mix(in oklab, var(--brand-red) 22%, transparent);
}

@keyframes boxGlowPulse {

  0%,
  100% {
    box-shadow: var(--shadow-soft), 0 0 8px color-mix(in oklab, var(--brand-red) 10%, transparent);
  }

  50% {
    box-shadow: var(--shadow-soft), 0 0 16px color-mix(in oklab, var(--brand-blue) 18%, transparent);
  }
}

.collapsible-summary {
  cursor: pointer;
  font-weight: 800;
  outline: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.collapsible-summary::-webkit-details-marker {
  display: none;
}

.collapsible-summary::after {
  content: "▾";
  font-size: 1.125rem;
  color: var(--brand-blue);
  font-weight: 700;
  margin-left: auto;
  padding-left: 0.5rem;
}

details[open] .collapsible-summary::after {
  content: "▴";
}

.attention-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--gradient-brand);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulseScale 2.5s infinite;
}

@keyframes pulseScale {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

.ai-box {
  border-radius: 0.75rem;
  padding: 1rem;
  background-color: color-mix(in oklab, var(--brand-blue) 5%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand-blue) 15%, transparent);
}

.ai-disclaimer {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  display: block;
  font-style: italic;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
}

.specs-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:nth-child(even) td {
  background-color: color-mix(in oklab, var(--muted) 55%, transparent);
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--muted-foreground);
  width: 35%;
}

.price-comparison-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.store-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-price-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
  border-color: color-mix(in oklab, var(--brand-blue) 35%, var(--border));
}

.store-price-row:first-child {
  border-color: color-mix(in oklab, var(--brand-green) 45%, var(--border));
  background-color: color-mix(in oklab, var(--brand-green) 8%, var(--card));
}

.store-price-row:first-child .store-price-value {
  color: var(--brand-green);
}

.store-price-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.store-price-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--foreground);
  letter-spacing: -0.02em;
}

.go-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.5rem;
  background: var(--gradient-brand);
  padding: 0.6rem 1.1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.go-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}