@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #f8fafc;
  --text-color: #334155;
  --heading-color: #0f172a;
  --accent-primary: #d97706;
  --accent-primary-hover: #b45309;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html,
body {
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 16px; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.legal-content {
  word-break: break-word;
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--accent-primary);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--accent-primary-hover);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  display: block;
}

header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}


.logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
}

.header-badge {
  background-color: #fef3c7;
  color: #92400e;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-primary);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

.article-layout > * {
  min-width: 0;
  max-width: 100%;
}

.article-content {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.article-meta {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.article-img {
  margin: 24px 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.sticky-offer {
  position: sticky;
  top: 140px;
  background: var(--card-bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 2px solid var(--accent-primary);
}

.offer-img {
  width: 100%;
  height: 200px;
  margin-bottom: 16px;
  object-fit: contain;
}

.offer-price {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--accent-primary);
  margin: 16px 0;
}

.offer-price span {
  font-size: 1.2rem;
  color: #a0aec0;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  align-items: center;
}

.product-hero > * {
  min-width: 0;
  max-width: 100%;
}

.product-hero-img img {
  height: 400px;
  width: 100%;
}

.hero-offer {
  margin: 24px 0;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.price-old {
  font-size: 1.5rem;
  color: #a0aec0;
  text-decoration: line-through;
  margin-left: 12px;
}

.offers-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.offer-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  align-items: center;
  position: relative;
  border: 1px solid var(--border-color);
}

.offer-block.featured {
  border: 2px solid var(--accent-primary);
  background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.offer-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.offer-block-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-block-img img {
  height: 350px;
  width: 100%;
  object-fit: contain;
}

.offer-price-single {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 8px;
}

.offer-price-single span {
  font-size: 1.1rem;
  color: #a0aec0;
  text-decoration: line-through;
  margin-left: 12px;
  font-weight: 400;
}

.stat-list, .feature-list {
  margin: 20px 0;
  padding-left: 24px;
}

.stat-list li, .feature-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.comparison-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.comparison-row {
  display: contents;
}

.comparison-row:nth-child(even) .comparison-cell {
  background-color: #f9fafb;
}

.comparison-row:nth-child(odd) .comparison-cell {
  background-color: var(--card-bg);
}

.comparison-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 14px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}

.comparison-header:last-child {
  border-right: none;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%);
}

.comparison-cell {
  padding: 14px 12px;
  font-size: 0.9rem;
  text-align: center;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.comparison-cell:first-child {
  font-weight: 600;
  color: var(--heading-color);
  text-align: left;
  justify-content: flex-start;
  background-color: #f1f5f9;
}

.comparison-row:nth-child(even) .comparison-cell:first-child {
  background-color: #e2e8f0;
}

.comparison-cell:last-child {
  border-right: none;
  font-weight: 600;
  color: var(--accent-primary);
  background-color: #fffbeb;
}

.comparison-row:nth-child(even) .comparison-cell:last-child {
  background-color: #fef3c7;
}

.comparison-row:last-child .comparison-cell {
  border-bottom: none;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.review-card {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.review-card span {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent-primary);
}

.faq-list {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

.faq-item summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-primary);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin-top: 12px;
  color: #4a5568;
}

.tech-specs, .guarantee-section {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  min-width: 0;
  max-width: 100%;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  min-width: 0;
  max-width: 100%;
}

.specs-grid > * {
  min-width: 0;
  max-width: 100%;
}

.spec-card {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-primary);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.exclusive-offer {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  padding: 32px;
  border-radius: 12px;
  border: 2px solid var(--accent-primary);
  margin-top: 40px;
  text-align: center;
}

.checkout-main {
  padding: 40px 20px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-layout > * {
  min-width: 0;
  max-width: 100%;
}

.checkout-offer {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 140px;
}

.preview-image-container {
  width: 100%;
  margin-bottom: 24px;
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--border-color);
}

.preview-img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.3s ease;
}

.deal-card {
  background: var(--bg-color);
  padding: 20px;
  border-radius: 8px;
  margin-top: 24px;
  border: 1px solid var(--border-color);
}

.deal-card.featured {
  border: 2px solid var(--accent-primary);
  background: #fffbeb;
}

.checkout-form-container {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.payment-block {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.card-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #4a5568;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-primary);
}

.thanks-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.thanks-container {
  background: var(--card-bg);
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.thanks-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
}

.package-selection {
  margin: 24px 0;
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.package-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.package-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: white;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}

.package-option:hover {
  border-color: #cbd5e1;
}

.package-option input[type="radio"] {
  accent-color: var(--accent-primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.package-option.selected {
  border-color: var(--accent-primary);
  background: #fffbeb;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.2);
}

.package-info {
  flex: 1;
}

.package-name {
  font-weight: 600;
  font-size: 1.05rem;
  display: block;
}

.package-desc {
  font-size: 0.9rem;
  color: #64748b;
}

.package-price {
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: var(--accent-primary);
  white-space: nowrap;
}

.package-price span {
  font-size: 0.9rem;
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

.order-total {
  margin-top: 20px;
  padding: 16px 20px;
  background: #0f172a;
  color: white;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2rem;
}

.order-total span:last-child {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--accent-primary);
}

footer {
  background-color: #0f172a;
  color: #a0aec0;
  padding: 40px 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-company-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
  font-size: 0.9rem;
  color: #a0aec0;
  padding: 8px 0 4px 0;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 6px;
}

.footer-company-info span {
  white-space: nowrap;
}

.footer-company-info .footer-address {
  white-space: normal;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  padding: 12px 0 4px 0;
  border-top: 1px solid #1e293b;
  margin-top: 8px;
}

.footer-legal-links a {
  color: #a0aec0;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-legal-links .sep {
  color: #1e293b;
  font-size: 0.85rem;
}

.footer-disclaimer {
  border-top: 1px solid #1e293b;
  padding-top: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #718096;
}

.footer-copy {
  border-top: 1px solid #1e293b;
  padding-top: 16px;
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sticky-offer {
    position: static;
  }
  .checkout-offer {
    position: static;
    top: auto;
  }
  .product-hero, .offer-block, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 2px solid var(--border-color);
  }
  .comparison-row:last-child {
    border-bottom: none;
  }
  .comparison-cell {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  .comparison-cell:nth-child(even) {
    border-right: none;
  }
  .comparison-cell:first-child {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    text-align: left;
    justify-content: flex-start;
    font-weight: 600;
    border-right: none;
  }
  .comparison-row:nth-child(even) .comparison-cell:first-child {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  }
  .comparison-cell:last-child {
    background-color: #fffbeb;
  }
  .comparison-row:nth-child(even) .comparison-cell:last-child {
    background-color: #fef3c7;
  }
}

@media (max-width: 768px) {
  header {
    position: static;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .logo {
    width: 100%;
    justify-content: center;
  }

  .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
  }

  .header-badge {
    width: 100%;
    text-align: center;
  }

  .article-content, .product-hero, .offer-block, .tech-specs, .guarantee-section, .checkout-form-container {
    padding: 24px;
  }
  .main-nav {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .spec-card {
    padding: 16px;
  }

  .spec-card h3 {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
  }

  .comparison-table {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .comparison-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 2px solid var(--border-color);
    padding: 0 0 16px;
    margin-bottom: 4px;
  }
  .comparison-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .comparison-header {
    display: none;
  }
  .comparison-cell {
    border: none;
    padding: 0;
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
    min-height: auto;
    background: transparent !important;
  }
  .comparison-cell:first-child {
    font-size: 1rem;
    text-align: left;
    justify-content: flex-start;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff;
    border-bottom: none;
    border-radius: 8px;
    margin: 0 0 10px;
    padding: 12px 14px;
  }
  .comparison-cell:not(:first-child) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #f9fafb !important;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-bottom: none;
    text-align: right;
  }
  .comparison-cell:last-child {
    background: #fffbeb !important;
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1rem;
    text-align: right;
    margin-bottom: 0;
  }
  .comparison-cell:not(:first-child)::before {
    content: attr(data-label);
    display: block;
    flex: 1 1 auto;
    font-weight: 600;
    font-size: 0.75rem;
    color: #718096;
    margin-bottom: 0;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
  .package-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 14px 14px 44px;
    min-width: 0;
    max-width: 100%;
  }
  .package-option input[type="radio"] {
    position: absolute;
    top: 16px;
    left: 14px;
  }
  .package-info {
    min-width: 0;
    width: 100%;
  }
  .package-name {
    font-size: 1rem;
    word-break: break-word;
  }
  .package-desc {
    word-break: break-word;
  }
  .package-price {
    white-space: normal;
    width: 100%;
    text-align: left;
    word-break: break-word;
  }
  .package-price span {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
  .order-total {
    font-size: 1rem;
    padding: 14px 16px;
  }
  .order-total span:last-child {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 24px 12px;
  }
  .article-content, .product-hero, .offer-block, .tech-specs, .guarantee-section, .checkout-form-container {
    padding: 16px;
  }
  .header-container {
    padding: 12px 12px;
  }
  .checkout-main {
    padding: 24px 12px;
  }
  .btn-primary {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
  .header-badge {
    width: 100%;
    text-align: center;
  }
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 30px;
  padding-bottom: 16px;
  border-bottom: 1px solid #1e293b;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.footer-brand img {
  border-radius: 50%;
}

.footer-brand span {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  font-size: 0.85rem;
  color: #a0aec0;
  line-height: 1.5;
}

.footer-info .footer-address {
  white-space: normal;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
  padding: 14px 0 8px 0;
  border-bottom: 1px solid #1e293b;
}

.footer-links a {
  color: #a0aec0;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-links .sep {
  color: #1e293b;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .footer-info {
    gap: 2px 14px;
    font-size: 0.8rem;
  }
  .footer-links {
    gap: 2px 10px;
  }
  .footer-links a {
    font-size: 0.8rem;
  }
}

.cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}

.cookie-consent p {
  margin: 0;
  font-size: 0.92rem;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--heading-color);
  border-radius: 6px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 600;
}

.cookie-btn.accept {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

@media (max-width: 640px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}