

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  border-top: 3px solid var(--crimson);
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-banner.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cookie-banner-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.cookie-banner-text {
  grid-column: 1;
}

.cookie-banner-text h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.cookie-banner-text p {
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-banner-text a:hover {
  color: var(--white);
}

.cookie-banner-options {
  grid-column: 1;
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cookie-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cookie-option input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--crimson);
}

.cookie-option input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-option label {
  font-size: 12px;
  cursor: pointer;
  flex: 1;
}

.cookie-option strong {
  color: var(--white);
  display: block;
  margin-bottom: 2px;
}

.cookie-desc {
  font-size: 11px;
  color: #888;
}

.cookie-banner-actions {
  grid-column: 2;
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-legal {
  grid-column: 1;
  margin-top: 12px;
  font-size: 11px;
  color: #666;
}

.cookie-legal a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.cookie-btn--primary {
  background: var(--crimson);
  color: var(--white);
}

.cookie-btn--primary:hover {
  background: #a02d1f;
}

.cookie-btn--secondary {
  background: #333;
  color: var(--white);
  border: 1px solid #555;
}

.cookie-btn--secondary:hover {
  background: #444;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal.active {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cookie-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.cookie-modal-header {
  padding: 24px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.cookie-modal-header h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.cookie-modal-body {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
}

.cookie-modal-body > p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.cookie-settings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-setting-item {
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
}

.cookie-setting-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.cookie-setting-header input[type="checkbox"] {
  margin-top: 4px;
  cursor: pointer;
  accent-color: var(--crimson);
}

.cookie-setting-header input[type="checkbox"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-setting-header label {
  cursor: pointer;
  flex: 1;
}

.cookie-setting-header strong {
  color: var(--ink);
}

.cookie-setting-desc {
  margin: 0 0 0 26px;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}

.cookie-modal-info {
  margin-top: 16px;
  padding: 12px;
  background: #f5f5f5;
  border-left: 3px solid var(--crimson);
  font-size: 12px;
  color: #555;
}

.cookie-modal-info a {
  color: var(--crimson);
  text-decoration: underline;
}

.cookie-modal-footer {
  padding: 20px 24px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.cookie-modal-footer .cookie-btn {
  flex: 1;
  max-width: 150px;
}

@media (max-width: 768px) {
  .cookie-banner-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-banner-options {
    grid-template-columns: 1fr;
  }

  .cookie-banner-actions {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
  }

  .cookie-banner-actions .cookie-btn {
    flex: 1;
  }

  .cookie-legal {
    grid-column: 1;
  }

  .cookie-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .cookie-modal-footer {
    flex-direction: column-reverse;
  }

  .cookie-modal-footer .cookie-btn {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 16px;
  }

  .cookie-banner-content {
    gap: 12px;
  }

  .cookie-banner-text h2 {
    font-size: 16px;
  }

  .cookie-banner-text p {
    font-size: 12px;
  }

  .cookie-banner-options {
    gap: 8px;
  }

  .cookie-option {
    gap: 8px;
  }

  .cookie-option label {
    font-size: 11px;
  }

  .cookie-btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  .cookie-modal-header {
    padding: 16px;
  }

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

  .cookie-modal-footer {
    padding: 16px;
  }
}

.policy-content {
  padding: var(--section-pad);
  background: var(--parchment);
}

.policy-inner {
  max-width: 900px;
}

.policy-section {
  margin-bottom: 48px;
}

.policy-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.4;
}

.policy-section p {
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-list {
  margin-left: 24px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.policy-list li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--ink);
  list-style-type: disc;
  list-style-position: outside;
}

.policy-list li strong {
  color: var(--crimson);
  font-weight: 600;
}

.policy-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid #ddd;
  text-align: center;
  font-size: 12px;
  color: var(--stone);
}

.policy-footer p {
  margin-bottom: 8px;
}

.about-values-grid .value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: block;
}

.virtues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.virtue-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.history-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.history-card .history-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  margin-top: 12px;
}

.quote-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.article-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.article-card .article-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-card .product-img img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.value-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}
