/* =============================================
   PetCareJP — Main Stylesheet
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');

/* --- Design Tokens --- */
:root {
  --color-bg:         #FAFAF7;
  --color-surface:    #FFFFFF;
  --color-primary:    #3A8A5C;
  --color-primary-dk: #2D6E49;
  --color-accent:     #E8734A;
  --color-text:       #1E2A22;
  --color-text-mid:   #4A5E52;
  --color-text-light: #7A9080;
  --color-border:     #D8E4DC;
  --color-muted:      #EEF4F0;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 2px 12px rgba(30,42,34,0.08);

  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;

  --max-w: 1160px;
  --section-py: 80px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: var(--color-bg); }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-dk); }
ul { list-style: none; }

/* --- Layout Helpers --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: var(--section-py);
}
.section--muted { background-color: var(--color-muted); }
.section--dark {
  background-color: var(--color-text);
  color: #FAFAF7;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section-desc {
  color: var(--color-text-mid);
  max-width: 600px;
  line-height: 1.75;
}
.text-center { text-align: center; }
.text-center .section-desc { margin-inline: auto; }

/* --- Center-aligned sections (all blocks centered except header/footer/contacts) --- */
.section.section--center,
.section.section--center .container,
.section.section--center .about-intro-inner,
.section.section--center .topics-grid,
.section.section--center .articles-grid,
.section.section--center .products-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section.section--center .about-intro-inner {
  flex-direction: row;
  text-align: left;
}
.section.section--center .section-desc {
  margin-inline: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background-color: var(--color-primary-dk);
  border-color: var(--color-primary-dk);
  color: #fff;
}
.btn--accent {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn--accent:hover {
  background-color: #cf5e36;
  border-color: #cf5e36;
  color: #fff;
}
.btn--outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background-color: var(--color-primary);
  color: #fff;
}
.btn--sm { padding: 9px 20px; font-size: 13px; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.01em;
}
.logo-name span {
  color: var(--color-accent);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-mid);
}
.site-nav a:hover { color: var(--color-primary); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  margin-block: 5px;
}

/* =============================================
   BLOCK 1 — HERO
   ============================================= */
.hero {
  background-color: var(--color-muted);
  padding-block: 90px 80px;
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-content { flex: 1; }
.hero-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 20px;
}
.hero-title em {
  font-style: normal;
  color: var(--color-primary);
}
.hero-desc {
  color: var(--color-text-mid);
  font-size: 17px;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-image-wrap {
  flex: 1;
  max-width: 480px;
}
.hero-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
}
.hero-img-placeholder img,
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* =============================================
   BLOCK 2 — STATS / FEATURES BAR
   ============================================= */
.stats-bar {
  background-color: var(--color-primary);
  color: #fff;
  padding-block: 40px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* =============================================
   BLOCK 3 — ABOUT / INTRO
   ============================================= */
.about-intro-inner {
  display: flex;
  align-items: center;
  gap: 70px;
}
.about-intro-image {
  flex: 1;
  max-width: 460px;
}
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
}
.about-intro-content { flex: 1; }
.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.check-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-mid);
}
.check-icon {
  width: 22px;
  height: 22px;
  background-color: var(--color-primary);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-icon svg { width: 12px; height: 12px; }

/* =============================================
   BLOCK 4 — CATEGORIES / TOPICS
   ============================================= */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.topic-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  cursor: default;
}
.topic-icon-wrap {
  width: 64px;
  height: 64px;
  background-color: var(--color-muted);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 16px;
}
.topic-icon-wrap svg { width: 32px; height: 32px; }
.topic-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.topic-desc {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* =============================================
   BLOCK 5 — FEATURED ARTICLES
   ============================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.article-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 12px;
  overflow: hidden;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body { padding: 20px; }
.article-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.45;
  margin-bottom: 10px;
}
.article-excerpt {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.65;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
  color: var(--color-text-light);
}

/* =============================================
   BLOCK 6 — PRODUCTS / SHOP
   ============================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.product-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-thumb {
  width: 100%;
  aspect-ratio: 1;
  background-color: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 12px;
  overflow: hidden;
}
.product-thumb img,
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
}
.product-desc {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.product-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-light);
}

/* =============================================
   BLOCK 7 — TIPS / HOW TO
   ============================================= */
.tips-inner {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}
.tips-content { flex: 1; }
.tips-image { flex: 1; max-width: 460px; }
.tips-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.tip-item {
  display: flex;
  gap: 18px;
}
.tip-num {
  width: 36px;
  height: 36px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.tip-body {}
.tip-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
.tip-text {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.65;
}

/* =============================================
   BLOCK 8 — NEWSLETTER / CTA BANNER
   ============================================= */
.cta-banner {
  background-color: var(--color-primary);
  color: #fff;
  padding-block: 80px;
}
.cta-inner {
  text-align: center;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}
.cta-desc {
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.75;
}
.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 520px;
  margin-inline: auto;
}
.cta-input {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.3);
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
}
.cta-input::placeholder { color: rgba(255,255,255,0.6); }
.cta-input:focus { border-color: rgba(255,255,255,0.8); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   BLOCK 9 — TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.t-quote {
  font-size: 36px;
  color: var(--color-primary);
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 12px;
}
.t-text {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-border);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 11px;
}
.t-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-text);
}
.t-role {
  font-size: 12px;
  color: var(--color-text-light);
}

/* =============================================
   BLOCK 10 — CONTACTS
   ============================================= */
.contacts-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info {}
.contact-items {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-muted);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-text {}
.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 16px;
  color: var(--color-text);
  font-weight: 500;
}
.contact-value a { color: var(--color-primary); }
.contact-map-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  background-color: var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
  font-weight: 500;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background-color: var(--color-text);
  color: rgba(255,255,255,0.7);
  padding-block: 60px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.footer-logo-name span { color: var(--color-accent); }
.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  max-width: 260px;
  color: rgba(255,255,255,0.6);
}
.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal a {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 56px; }
  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 24px 24px;
    z-index: 99;
  }
  .site-nav.open a {
    padding-block: 12px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
  }
  .nav-toggle { display: block; }
  .hero-inner { flex-direction: column; gap: 32px; }
  .hero-image-wrap { max-width: 100%; width: 100%; }
  .about-intro-inner { flex-direction: column; gap: 32px; }
  .about-intro-image { max-width: 100%; width: 100%; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .tips-inner { flex-direction: column; gap: 32px; }
  .tips-image { max-width: 100%; width: 100%; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contacts-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .topics-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner-content { flex-direction: column; gap: 16px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions button { flex: 1; }
}

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-text);
  color: #fff;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(30,42,34,0.12);
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-banner-content {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cookie-banner-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.cookie-banner-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.cookie-banner-desc a {
  color: #fff;
  text-decoration: underline;
}

.cookie-banner-desc a:hover {
  color: var(--color-muted);
}

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

/* Button styles for cookie banner */
.cookie-banner .btn {
  padding: 10px 20px;
  font-size: 13px;
}

.cookie-banner .btn--outline {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.cookie-banner .btn--outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #fff;
}

/* Cookie Customization Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-modal.show { display: flex; }

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.cookie-modal-content {
  position: relative;
  background-color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(30, 42, 34, 0.2);
  max-width: 600px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1002;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px;
  border-bottom: 1px solid var(--color-border);
}

.cookie-modal-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 32px;
  color: var(--color-text-light);
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  color: var(--color-text);
}

.cookie-modal-body {
  padding: 28px;
}

.cookie-modal-intro {
  font-size: 14px;
  color: var(--color-text-mid);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cookie-category {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

.cookie-category:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.cookie-checkbox:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.cookie-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
}

.cookie-name {
  flex: 1;
}

.cookie-required {
  display: inline-block;
  background-color: var(--color-muted);
  color: var(--color-text-light);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-description {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
  margin-left: 32px;
}

.cookie-modal-footer {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-muted);
}

.cookie-modal-footer .btn {
  flex: 1;
}

.cookie-policy-link {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .cookie-banner-actions {
    width: 100%;
  }
  
  .cookie-banner-actions button {
    flex: 1;
  }
  
  .cookie-modal-content {
    width: calc(100% - 16px);
  }
}
