/* ========================================================
   ACTIVOPLUS+ COMPONENTS STYLESHEET - ESTILO KOOBA
   Manchas de Acuarela, Árbol Central, Cinta Kraft y Tarjetas
   ======================================================== */

.section {
  padding: clamp(var(--sp-xl), 4vw, var(--sp-3xl)) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--sp-xl);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-title {
  margin-bottom: var(--sp-xs);
  color: var(--color-text-main);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: var(--color-text-muted);
}

/* ========================================================
   HERO NATURE & WATERCOLOR BANNER (ESTILO KOOBA)
   ======================================================== */

.hero-nature {
  position: relative;
  padding-top: 0;
  padding-bottom: var(--sp-2xl);
  overflow: hidden;
}

/* Ilustración del árbol frondoso central con cielo y pájaros */
.hero-tree-canopy {
  width: 100%;
  max-width: 860px;
  height: 220px;
  margin: 0 auto -60px;
  background-image: url('../images/tree-canopy.svg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  position: relative;
  z-index: 1;
}

/* Dosel de árbol compacto para páginas interiores (Estilo Kooba) */
.subpage-canopy-wrap {
  width: 100%;
  max-width: 780px;
  height: 110px;
  margin: 0.5rem auto -20px;
  background-image: url('../images/tree-canopy.svg');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  position: relative;
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

/* Insignia central en el árbol (exacto estilo kooba) */
.tree-center-badge {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, #7ca13e 0%, #587928 80%, #3e5a19 100%);
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.tree-center-badge span.plus {
  color: #e5f7a6;
  font-size: 1.2rem;
  line-height: 1;
}

/* Gran pancarta de pincelada de acuarela verde */
.watercolor-banner-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
}

.watercolor-banner {
  background-image: url('../images/watercolor-green-hero.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: clamp(2.5rem, 5vw, 4.25rem) clamp(2rem, 5vw, 4rem);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(50, 70, 25, 0.22);
}

@media (min-width: 860px) {
  .watercolor-banner {
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
  }
}

/* Marco de imagen/mockup con borde blanco (estilo ventana de pantalla) */
.hero-mockup-frame {
  background-color: #ffffff;
  border: 4px solid #ffffff;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  position: relative;
  transform: rotate(-1deg);
  transition: transform 0.3s ease;
}

.hero-mockup-frame:hover {
  transform: rotate(0deg) scale(1.01);
}

.hero-mockup-frame img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.hero-mockup-caption {
  background: #f7f5ed;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: #555e52;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e0d8c3;
}

/* Textos dentro de la acuarela */
.hero-watercolor-content {
  color: #ffffff;
}

.hero-watercolor-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(25, 38, 12, 0.45);
  letter-spacing: -0.02em;
}

.hero-watercolor-desc {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: #f1f8e8;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 2px rgba(25, 38, 12, 0.35);
}

.hero-watercolor-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ========================================================
   TARJETAS DE ACUARELA TIPO KOOBA (DESIGN / DEVELOP / MARKET)
   ======================================================== */

.kooba-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .kooba-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kooba-card {
  position: relative;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 2.25rem 1.5rem 2rem;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease;
}

.kooba-card:hover {
  transform: translateY(-5px);
}

/* Fondos de acuarela para cada tarjeta */
.kooba-card-terracotta {
  background-image: url('../images/watercolor-card-terracotta.svg');
}

.kooba-card-green {
  background-image: url('../images/watercolor-card-green.svg');
}

.kooba-card-teal {
  background-image: url('../images/watercolor-card-teal.svg');
}

/* Título superior grande en blanco (exacto como "design", "develop", "market") */
.kooba-card-big-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* Tarjeta interior blanca */
.kooba-card-inner {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.25rem 1.5rem;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.kooba-card-text {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #444b41;
  margin-bottom: 1.25rem;
}

.kooba-card-action {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Flecha dibujada a mano en la tarjeta central */
.sketch-arrow-icon {
  position: absolute;
  right: -25px;
  bottom: -22px;
  width: 44px;
  height: 35px;
  background-image: url('../images/sketch-arrow.svg');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* ========================================================
   TARJETAS EDITORIALES Y DE ARTÍCULOS
   ======================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: var(--sp-xl);
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #b5cca0;
}

.card-img-wrap {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #f0e9d8;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.03);
}

.card-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

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

.card-meta {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.card-title a {
  color: var(--color-text-main);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--color-olive-header-dark);
}

.card-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tarjeta destacada horizontal */
.card-featured {
  display: grid;
  grid-template-columns: 1fr;
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-2xl);
}

@media (min-width: 820px) {
  .card-featured {
    grid-template-columns: 1fr 1.15fr;
  }
}

.card-featured .card-img-wrap {
  height: 100%;
  min-height: 260px;
}

.card-featured .card-body {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  justify-content: center;
}

/* ========================================================
   WIDGETS INTERACTIVOS EN ESTILO PAPEL Y NATURALEZA
   ======================================================== */

.pause-widget, .task-matrix-widget, .habit-tracker-widget, .solicitud-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 4px 14px rgba(45, 55, 30, 0.08);
  position: relative;
}

/* Adorno de cinta adhesiva en la esquina superior */
.pause-widget::before, .solicitud-wrapper::before, .habit-tracker-widget::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 30px;
  width: 80px;
  height: 24px;
  background-color: rgba(220, 205, 175, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  transform: rotate(-1.5deg);
}

/* Temporizador circular de respiración */
.breathing-circle-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.breathing-halo {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 179, 75, 0.4) 0%, rgba(250, 247, 238, 0) 70%);
  transform: scale(0.85);
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.breathing-circle {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #f4f8ee 100%);
  border: 3px solid var(--color-olive-header);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}

.breathing-circle-wrap.inhale .breathing-circle {
  transform: scale(1.15);
  border-color: #557b29;
}
.breathing-circle-wrap.inhale .breathing-halo {
  transform: scale(1.3);
}

.breathing-circle-wrap.hold .breathing-circle {
  transform: scale(1.15);
  border-color: var(--color-watercolor-terracotta);
}

.breathing-circle-wrap.exhale .breathing-circle {
  transform: scale(0.9);
  border-color: var(--color-olive-header);
}
.breathing-circle-wrap.exhale .breathing-halo {
  transform: scale(0.8);
}

.breathing-time {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-olive-header-dark);
  line-height: 1;
}

.breathing-phase-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.pause-instruction-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  min-height: 44px;
  margin-bottom: var(--sp-md);
  font-style: italic;
  text-align: center;
}

.pause-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.pause-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1.5rem;
}

.pause-btn-duration {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.pause-btn-duration.active {
  background-color: var(--btn-dark-bg);
  border-color: #111;
  color: #ffffff;
}

/* ========================================================
   MATRIZ DE TAREAS Y RASTREADOR DE HÁBITOS
   ======================================================== */

.task-form-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 1.5rem;
  background-color: var(--bg-parchment);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

@media (min-width: 680px) {
  .task-form-box {
    grid-template-columns: 2fr 1.3fr auto;
    align-items: center;
  }
}

.task-columns-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .task-columns-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.task-column {
  background-color: #FAF7EE;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.task-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid;
}

.task-col-alta .task-col-header { border-color: var(--color-watercolor-terracotta); }
.task-col-importante .task-col-header { border-color: var(--color-olive-header-dark); }
.task-col-esperar .task-col-header { border-color: #8fa080; }

.task-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.task-col-badge {
  font-size: 0.75rem;
  background-color: #ffffff;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  font-weight: 700;
}

.task-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 80px;
}

.task-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.task-item.completed .task-text {
  text-decoration: line-through;
  color: var(--color-text-light);
}

.task-delete-btn {
  background: none;
  border: none;
  color: #a39580;
  cursor: pointer;
}

.task-delete-btn:hover {
  color: #c94a4a;
}

/* Rastreador de hábitos */
.habit-progress-bar-wrap {
  margin-bottom: 1.5rem;
  background-color: var(--bg-parchment);
  padding: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.habit-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 700;
}

.habit-progress-track {
  width: 100%;
  height: 8px;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.habit-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #8cb54a 0%, #5d7e29 100%);
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}

.habit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.habit-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: #FAF7EE;
  cursor: pointer;
  transition: background-color 0.15s;
}

.habit-item:hover {
  background-color: #ffffff;
}

.habit-item.completed {
  background-color: #edf5e4;
  border-color: #c5d9b2;
}

.habit-item-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.habit-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid #8ca37b;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
}

.habit-item.completed .habit-checkbox {
  background-color: var(--color-olive-header-dark);
  border-color: var(--color-olive-header-dark);
  color: #ffffff;
}

.habit-title {
  font-size: 0.9375rem;
  font-weight: 700;
}

.habit-desc {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

/* ========================================================
   BIBLIOTECA DE RECURSOS (BUSCADOR Y FILTROS)
   ======================================================== */

.library-controls {
  margin-bottom: 2rem;
}

.library-search-box {
  position: relative;
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.library-search-input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border: 1.5px solid #c2bba8;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  background-color: #ffffff;
  color: var(--color-text-main);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.library-search-input:focus {
  outline: none;
  border-color: var(--color-olive-header-dark);
  box-shadow: 0 0 0 3px rgba(100, 130, 50, 0.15);
}

.library-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #8c8270;
}

.library-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.filter-pill {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--color-text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-transform: lowercase;
  transition: all 0.15s;
}

.filter-pill:hover {
  background-color: #e9f0dc;
  border-color: #b5cca0;
}

.filter-pill.active {
  background-color: var(--btn-dark-bg);
  border-color: #111;
  color: #ffffff;
}

/* ========================================================
   ACORDEÓN DE PREGUNTAS FRECUENTES (FAQ)
   ======================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item.active .faq-content {
  max-height: 350px;
  padding-bottom: 1.25rem;
}

.faq-item.active .faq-trigger svg {
  transform: rotate(180deg);
  color: var(--color-olive-header-dark);
}

/* ========================================================
   FORMULARIOS
   ======================================================== */

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 5px;
}

.form-label .required-indicator {
  color: var(--color-watercolor-terracotta);
}

.form-hint {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 3px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-text-main);
  background-color: #ffffff;
  border: 1.5px solid #c7beab;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.06);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-olive-header-dark);
  box-shadow: 0 0 0 3px rgba(100, 130, 50, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-main);
  cursor: pointer;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-olive-header-dark);
}

.form-field-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.alert {
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.alert-success {
  background-color: #eaf3e2;
  border: 1px solid #c2dbb0;
  color: #355e1a;
}

.alert-error {
  background-color: #faedea;
  border: 1px solid #ebd0c8;
  color: #9c3c26;
}

/* ========================================================
   BANNER Y MODAL DE COOKIES
   ======================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FAF7EE;
  background-image: url('../images/paper-texture.svg');
  border-top: 3px solid var(--color-olive-header);
  padding: 1.25rem 2rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 820px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-main);
  max-width: 760px;
}

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

.cookie-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(30, 40, 25, 0.5);
  backdrop-filter: blur(3px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.cookie-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-box {
  background-color: #FAF7EE;
  background-image: url('../images/paper-texture.svg');
  border: 2px solid var(--color-olive-header);
  border-radius: var(--radius-sm);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.cookie-category {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cookie-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.cookie-cat-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.cookie-cat-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
