/* CADN36 homepage — extends colors_and_type.css + kit.css */

/* ---------- Theme variants ---------- */
[data-theme="caribbean"] {
  --accent: #1B5E8C;
  --accent-hover: #14466A;
  --accent-soft: #E0EDF5;
  --highlight: #C8923A;
}
[data-theme="caribbean"] .zy-eyebrow,
[data-theme="caribbean"] .cadn-eyebrow,
[data-theme="caribbean"] a:hover,
[data-theme="caribbean"] .zy-nav-link:hover,
[data-theme="caribbean"] .zy-nav-link.active,
[data-theme="caribbean"] .zy-article-card:hover h3,
[data-theme="caribbean"] .zy-article-card:hover h2 { color: #1B5E8C; }
[data-theme="caribbean"] .zy-btn-primary { background: #1B5E8C; }
[data-theme="caribbean"] .zy-btn-primary:hover { background: #14466A; }
[data-theme="caribbean"] .zy-product-card.pick { border-top-color: #1B5E8C; }
[data-theme="caribbean"] .zy-nav-link:hover,
[data-theme="caribbean"] .zy-nav-link.active { border-bottom-color: #1B5E8C; }
[data-theme="caribbean"] .zy-badge-pick { background: #1B5E8C; }
[data-theme="caribbean"] .cadn-monogram { background: #1B5E8C; }
[data-theme="caribbean"] .cadn-rule { background: #1B5E8C; }
[data-theme="caribbean"] .zy-article-body blockquote { border-left-color: #1B5E8C; }

[data-theme="mono"] {
  --accent: #1F1B16;
  --accent-hover: #000;
  --accent-soft: #F0EDE7;
  --highlight: #6B5F52;
}
[data-theme="mono"] .zy-eyebrow,
[data-theme="mono"] .cadn-eyebrow { color: #1F1B16; }
[data-theme="mono"] .zy-btn-primary { background: #1F1B16; }
[data-theme="mono"] .zy-btn-primary:hover { background: #000; }
[data-theme="mono"] .zy-product-card.pick { border-top-color: #1F1B16; }
[data-theme="mono"] .cadn-monogram { background: #1F1B16; }
[data-theme="mono"] .cadn-rule { background: #1F1B16; }
[data-theme="mono"] .zy-article-card:hover h3,
[data-theme="mono"] .zy-article-card:hover h2 { color: #6B5F52; }

/* ---------- Logo ---------- */
.cadn-logo {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: inherit; cursor: pointer;
  user-select: none;
}
.cadn-monogram {
  width: 38px; height: 38px; border-radius: 2px;
  background: var(--clay-500); color: var(--sand-50);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.02em; line-height: 1;
}
.cadn-wordmark { display: flex; flex-direction: column; line-height: 1; }
.cadn-wordmark .name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: -0.02em; color: var(--ink-900);
}
.cadn-wordmark .tag {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--stone-600); margin-top: 4px;
}

/* ---------- Eyebrow + ornaments ---------- */
.cadn-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--clay-500);
  display: inline-flex; align-items: center; gap: 10px;
}
.cadn-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: currentColor;
}
.cadn-rule { width: 48px; height: 2px; background: var(--clay-500); margin: 0 0 22px; }

/* ---------- HERO variants ---------- */

/* Shared hero shell */
.cadn-hero { padding: 56px 0 64px; }

/* Image-led hero */
.cadn-hero-image {
  position: relative; padding: 0;
  background: var(--ink-900); overflow: hidden;
}
.cadn-hero-image .hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(31,27,22,0.25) 0%, rgba(31,27,22,0.55) 60%, rgba(31,27,22,0.85) 100%),
    url('https://cadn36.com/wp-content/uploads/2026/05/Carlos-D.webp');
  background-size: cover;
  background-position: center 30%;
}
.cadn-hero-image .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 30%, rgba(200,146,58,0.35), transparent 60%),
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(42,74,58,0.4), transparent 60%);
  mix-blend-mode: overlay;
}
.cadn-hero-image .hero-grain {
  position: absolute; inset: 0; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)' opacity='0.5'/></svg>");
}
.cadn-hero-image .hero-inner {
  position: relative; z-index: 2;
  width: 95%; max-width: 1600px; margin: 0 auto; padding: 140px 0 120px;
  color: var(--sand-50);
  display: flex; flex-direction: column; align-items: flex-end; text-align: right;
}
.cadn-hero-image .cta-row { justify-content: flex-end; }
.cadn-hero-image .cadn-eyebrow { color: var(--ochre-300); }
.cadn-hero-image .cadn-eyebrow::before { background: var(--ochre-300); }
.cadn-hero-image .cadn-rule { background: var(--ochre-500); }
.cadn-hero-image h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 700; line-height: 0.98;
  letter-spacing: -0.035em; color: var(--sand-50);
  margin: 24px 0 24px; max-width: 14ch; text-wrap: balance;
}
.cadn-hero-image .dek {
  font-size: 21px; line-height: 1.45; max-width: 56ch;
  color: rgba(247,241,231,0.85); margin: 0 0 36px;
  font-weight: 300;
}
.cadn-hero-image .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cadn-hero-image .zy-btn-secondary {
  background: transparent; color: var(--sand-50);
  border-color: rgba(247,241,231,0.4);
}
.cadn-hero-image .zy-btn-secondary:hover {
  background: rgba(247,241,231,0.1); border-color: var(--sand-50);
}
.cadn-hero-image .meta-strip {
  position: absolute; bottom: 32px; left: 32px; right: 32px;
  display: flex; justify-content: space-between; align-items: end;
  z-index: 2; color: rgba(247,241,231,0.7); font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.cadn-hero-image .meta-strip strong { color: var(--ochre-300); font-weight: 600; }

/* Typographic hero */
.cadn-hero-type {
  background: var(--sand-50); padding: 80px 0 96px;
  position: relative;
}
.cadn-hero-type .container { display: grid; grid-template-columns: 1fr; gap: 56px; }
.cadn-hero-type h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 8.4vw, 132px);
  font-weight: 700; line-height: 0.92;
  letter-spacing: -0.045em; color: var(--ink-900);
  margin: 24px 0 28px; max-width: 16ch;
}
.cadn-hero-type h1 em {
  font-style: italic; font-weight: 400; color: var(--clay-500);
}
.cadn-hero-type .lower {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: end; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.cadn-hero-type .dek {
  font-size: 21px; line-height: 1.55; color: var(--fg-2);
  max-width: 48ch; margin: 0;
  font-weight: 300;
}
.cadn-hero-type .stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.cadn-hero-type .stat .num {
  font-family: var(--font-display); font-size: 38px; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink-900); line-height: 1;
}
.cadn-hero-type .stat .lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--stone-600); margin-top: 8px;
}
.cadn-hero-type .cta-row { display: flex; gap: 14px; margin-top: 36px; }

/* Collage hero */
.cadn-hero-collage {
  background: var(--sand-50); padding: 56px 0 80px;
}
.cadn-hero-collage .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 64px; align-items: center;
}
.cadn-hero-collage h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.035em; color: var(--ink-900);
  margin: 24px 0 24px; max-width: 14ch;
}
.cadn-hero-collage .dek {
  font-size: 19px; line-height: 1.55; color: var(--fg-2);
  max-width: 48ch; margin: 0 0 32px;
}
.cadn-hero-collage .collage {
  position: relative; aspect-ratio: 1/1;
}
.cadn-hero-collage .tile {
  position: absolute; border-radius: 2px; overflow: hidden;
  box-shadow: var(--lift-2);
  transition: transform 320ms var(--ease-out);
}
.cadn-hero-collage .tile:hover { transform: translateY(-4px); }
.cadn-hero-collage .tile-1 { top: 0; left: 0; width: 60%; height: 65%; }
.cadn-hero-collage .tile-2 { top: 8%; right: 0; width: 40%; height: 45%; }
.cadn-hero-collage .tile-3 { bottom: 0; left: 12%; width: 38%; height: 38%; }
.cadn-hero-collage .tile-4 { bottom: 5%; right: 4%; width: 44%; height: 48%; }
.cadn-hero-collage .tile .zy-img-ph {
  font-size: 11px; padding: 12px 14px;
}

/* ---------- Featured article band ---------- */
.cadn-featured {
  padding: 80px 0;
  background: var(--bg);
}
.cadn-featured .grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 56px; align-items: center;
}
.cadn-featured .img {
  aspect-ratio: 4/3; overflow: hidden; border-radius: 2px;
  background: var(--sand-200); cursor: pointer;
  position: relative;
}
.cadn-featured .img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31,27,22,0.35));
}
.cadn-featured .img > div { width: 100%; height: 100%; transition: transform 500ms var(--ease-out); }
.cadn-featured .img:hover > div { transform: scale(1.03); }
.cadn-featured .img .caption {
  position: absolute; bottom: 14px; left: 16px; right: 16px;
  z-index: 2; color: rgba(247,241,231,0.85);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.cadn-featured h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--ink-900);
  margin: 18px 0 20px; text-wrap: balance;
}
.cadn-featured h2:hover { color: var(--clay-500); cursor: pointer; }
.cadn-featured .dek {
  font-size: 18px; line-height: 1.6; color: var(--fg-2);
  margin: 0 0 24px; max-width: 52ch;
}
.cadn-featured .meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 13px; color: var(--fg-2);
  padding-top: 20px; border-top: 1px solid var(--border);
  margin-top: 28px;
}
.cadn-featured .meta strong { color: var(--ink-900); font-weight: 600; }

/* ---------- Section header (CADN variant) ---------- */
.cadn-section-header {
  display: flex; align-items: end; justify-content: space-between;
  gap: 32px; margin-bottom: 48px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border);
}
.cadn-section-header .left { max-width: 60ch; }
.cadn-section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--ink-900);
  margin: 14px 0 0;
}
.cadn-section-header .sub {
  font-size: 15px; color: var(--fg-2); margin: 0;
  max-width: 38ch; line-height: 1.55;
}
.cadn-section-header .right { display: flex; align-items: end; gap: 8px; flex-shrink: 0; }

/* ---------- Articles grid ---------- */
.cadn-latest { padding: 80px 0; }
.cadn-articles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.cadn-articles-grid .num {
  font-family: var(--font-display); font-size: 12px;
  font-weight: 600; color: var(--stone-600);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.cadn-articles-grid article { display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.cadn-articles-grid .img {
  aspect-ratio: 3/4; overflow: hidden; border-radius: 2px;
  background: var(--sand-200); margin-bottom: 6px;
}
.cadn-articles-grid .img > div { width: 100%; height: 100%; transition: transform 400ms var(--ease-out); }
.cadn-articles-grid article:hover .img > div { transform: scale(1.03); }
.cadn-articles-grid h3 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600; line-height: 1.2;
  letter-spacing: -0.01em; color: var(--ink-900);
  margin: 4px 0 0; transition: color var(--dur-1) var(--ease-out);
}
.cadn-articles-grid article:hover h3 { color: var(--clay-500); }
.cadn-articles-grid .by { font-size: 12px; color: var(--fg-2); margin-top: 4px; }

/* ---------- Travel guides showcase ---------- */
.cadn-guides {
  padding: 96px 0;
  background: var(--forest-800);
  color: var(--sand-50);
}
.cadn-guides .cadn-eyebrow { color: var(--ochre-300); }
.cadn-guides .cadn-eyebrow::before { background: var(--ochre-300); }
.cadn-guides .cadn-rule { background: var(--ochre-500); }
.cadn-guides h2 { color: var(--sand-50); }
.cadn-guides .cadn-section-header { border-bottom-color: rgba(247,241,231,0.16); }
.cadn-guides .cadn-section-header .sub { color: rgba(247,241,231,0.7); }
.cadn-guides .destinations {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px;
}
.cadn-guides .dest {
  position: relative; aspect-ratio: 3/4;
  overflow: hidden; border-radius: 2px; cursor: pointer;
  background: var(--ink-900);
}
.cadn-guides .dest:first-child { aspect-ratio: 3/4; grid-row: span 2; }
.cadn-guides .destinations { grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.cadn-guides .dest:first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
.cadn-guides .dest .bg {
  position: absolute; inset: 0; transition: transform 600ms var(--ease-out);
}
.cadn-guides .dest:hover .bg { transform: scale(1.04); }
.cadn-guides .dest::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(31,27,22,0.85));
  z-index: 1;
}
.cadn-guides .dest .body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 28px 26px; z-index: 2;
}
.cadn-guides .dest .kicker {
  font-size: 10px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ochre-300);
  margin-bottom: 10px;
}
.cadn-guides .dest h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--sand-50);
  margin: 0 0 8px; text-wrap: balance;
}
.cadn-guides .dest:first-child h3 { font-size: 38px; max-width: 14ch; }
.cadn-guides .dest .meta {
  font-size: 12px; color: rgba(247,241,231,0.7);
  letter-spacing: 0.04em;
}

/* ---------- Shop preview ---------- */
.cadn-shop {
  padding: 96px 0;
  background: var(--sand-100);
}
.cadn-shop .intro {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.cadn-shop .intro h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700; line-height: 1.0;
  letter-spacing: -0.03em; color: var(--ink-900);
  margin: 14px 0 0; text-wrap: balance;
}
.cadn-shop .intro .right p {
  font-size: 16px; line-height: 1.65; color: var(--fg-2);
  margin: 0 0 20px;
}
.cadn-shop .partners {
  font-size: 12px; color: var(--stone-600);
  letter-spacing: 0.04em; display: flex; gap: 14px; align-items: center;
  flex-wrap: wrap;
}
.cadn-shop .partners strong { color: var(--ink-900); font-weight: 600; }
.cadn-shop .products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.cadn-shop .prod {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden; cursor: pointer;
  transition: box-shadow var(--dur-2) var(--ease-out);
  display: flex; flex-direction: column;
}
.cadn-shop .prod:hover { box-shadow: var(--lift-2); }
.cadn-shop .prod .img {
  aspect-ratio: 1; background: var(--sand-100);
  overflow: hidden; position: relative;
}
.cadn-shop .prod .img > div { width: 100%; height: 100%; transition: transform 500ms var(--ease-out); }
.cadn-shop .prod:hover .img > div { transform: scale(1.04); }
.cadn-shop .prod .body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.cadn-shop .prod .cat {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone-600);
}
.cadn-shop .prod h4 {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  line-height: 1.3; color: var(--ink-900); margin: 0;
  letter-spacing: -0.005em;
}
.cadn-shop .prod .price-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: auto; padding-top: 8px;
}
.cadn-shop .prod .price {
  font-family: var(--font-display); font-size: 18px; font-weight: 700;
  color: var(--ink-900); font-variant-numeric: tabular-nums;
}
.cadn-shop .prod .add {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--clay-500);
  background: transparent; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 0;
}
.cadn-shop .prod .add:hover { color: var(--clay-700); }
.cadn-shop .prod .add.added { color: var(--forest-700); }

/* ---------- Author/about block ---------- */
.cadn-author {
  padding: 96px 0;
  background: var(--bg);
}
.cadn-author .grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: center;
}
.cadn-author .portrait {
  aspect-ratio: 4/5; border-radius: 2px; overflow: hidden;
  background: linear-gradient(160deg, #5A2511 0%, #B5532A 50%, #DDB868 100%);
  position: relative;
  display: flex; align-items: end; padding: 24px;
  color: rgba(247,241,231,0.9); font-style: italic;
  font-size: 13px; letter-spacing: -0.005em;
}
.cadn-author .portrait::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(31,27,22,0.55));
}
.cadn-author .portrait > span { position: relative; z-index: 2; }
.cadn-author h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 52px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--ink-900);
  margin: 16px 0 24px; text-wrap: balance;
}
.cadn-author .lead {
  font-size: 19px; line-height: 1.6; color: var(--ink-700);
  margin: 0 0 20px;
}
.cadn-author p {
  font-size: 16px; line-height: 1.65; color: var(--fg-2);
  margin: 0 0 16px;
}
.cadn-author .credentials {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 32px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cadn-author .cred .num {
  font-family: var(--font-display); font-size: 32px;
  font-weight: 700; color: var(--ink-900); line-height: 1;
  letter-spacing: -0.02em;
}
.cadn-author .cred .lbl {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--stone-600); margin-top: 8px;
}

/* ---------- Karolo / book promo strip ---------- */
.cadn-book {
  background: var(--ink-900); color: var(--sand-50);
  padding: 80px 0;
}
.cadn-book .grid {
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 64px; align-items: center;
}
.cadn-book .cover {
  aspect-ratio: 2/3; border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(247,241,231,0.05);
  overflow: hidden;
  position: relative;
}
.cadn-book .cover img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cadn-book .cover-placeholder {
  width: 100%; height: 100%; padding: 32px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: var(--sand-50);
  background:
    linear-gradient(160deg, rgba(31,27,22,0.4) 0%, transparent 50%),
    linear-gradient(135deg, #B5532A 0%, #7A341A 50%, #2A4A3A 100%);
  position: relative;
}
.cadn-book .cover-placeholder::before {
  content: ''; position: absolute; inset: 12px;
  border: 1px solid rgba(247,241,231,0.3); pointer-events: none;
}
.cadn-book .cover-placeholder span {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; opacity: 0.85;
}
.cadn-book .cover-placeholder strong {
  font-family: var(--font-display); font-size: 38px; font-weight: 700;
  letter-spacing: -0.02em; line-height: 1.05; margin: 16px 0;
}
.cadn-book .cover-placeholder .byline {
  position: absolute; bottom: 28px; left: 0; right: 0;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.85;
}
.cadn-book h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.025em; color: var(--sand-50);
  margin: 16px 0 20px; max-width: 18ch;
}
.cadn-book .dek {
  font-size: 17px; line-height: 1.6; color: rgba(247,241,231,0.8);
  margin: 0 0 28px; max-width: 56ch;
}
.cadn-book .cadn-eyebrow { color: var(--ochre-300); }
.cadn-book .cadn-eyebrow::before { background: var(--ochre-300); }
.cadn-book .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cadn-book .zy-btn-secondary.on-dark {
  background: transparent; color: var(--sand-50);
  border-color: rgba(247,241,231,0.4);
}
.cadn-book .zy-btn-secondary.on-dark:hover {
  background: rgba(247,241,231,0.1); border-color: var(--sand-50);
}

/* ---------- Newsletter heading on dark bg ---------- */
.zy-newsletter h3 { color: var(--sand-50); }

/* ---------- Search overlay ---------- */
.cadn-search-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(31,27,22,0.6);
  backdrop-filter: blur(8px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh;
  animation: fadeIn 200ms var(--ease-out);
}
.cadn-search-overlay .panel {
  background: var(--bg); width: 90%; max-width: 720px;
  border-radius: 4px; box-shadow: var(--lift-3);
  overflow: hidden;
  animation: slideDown 280ms var(--ease-out);
}
.cadn-search-overlay .input-row {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 26px; border-bottom: 1px solid var(--border);
}
.cadn-search-overlay input {
  flex: 1; border: 0; background: transparent;
  font-family: var(--font-display); font-size: 24px;
  color: var(--ink-900); outline: none;
  letter-spacing: -0.01em;
}
.cadn-search-overlay input::placeholder { color: var(--stone-400); }
.cadn-search-overlay .esc {
  font-size: 11px; padding: 4px 8px; border: 1px solid var(--border);
  border-radius: 3px; color: var(--fg-2); letter-spacing: 0.05em;
}
.cadn-search-overlay .results { padding: 16px 12px; }
.cadn-search-overlay .group {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--stone-600);
  padding: 12px 14px 8px;
}
.cadn-search-overlay .res {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 14px; border-radius: 2px; cursor: pointer;
}
.cadn-search-overlay .res:hover { background: var(--sand-100); }
.cadn-search-overlay .res .thumb {
  width: 44px; height: 44px; border-radius: 2px; flex-shrink: 0;
  overflow: hidden; background: var(--sand-200);
}
.cadn-search-overlay .res .t { font-size: 14px; font-weight: 500; color: var(--ink-900); }
.cadn-search-overlay .res .s { font-size: 12px; color: var(--fg-2); margin-top: 2px; }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-12px) } to { opacity: 1; transform: translateY(0) } }

/* ---------- Cart pill ---------- */
.cart-pill {
  position: relative;
}
.cart-pill .badge {
  position: absolute; top: 4px; right: 4px;
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--clay-500); color: var(--sand-50);
  font-size: 9px; font-weight: 700; display: flex;
  align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}

/* ---------- Image placeholders specific to CADN ---------- */
.ph-mapa     { background: linear-gradient(160deg,#3A332A 0%, #6B5F52 35%, #C8923A 70%, #F4E2AE 100%); }
.ph-impuestos{ background: linear-gradient(180deg,#B6C8B9 0%, #4A6B55 50%, #1B3528 100%); }
.ph-kayser   { background: linear-gradient(150deg,#F4E2AE 0%, #DDB868 40%, #966A22 100%); }
.ph-estras   { background: linear-gradient(180deg,#B6C8B9 0%, #4A6B55 60%, #2A4A3A 100%); }
.ph-riquew   { background: linear-gradient(160deg,#F4D8C5 0%, #DC9268 50%, #7A341A 100%); }
.ph-colmar   { background: linear-gradient(135deg,#EAB89A 0%, #C8923A 60%, #5A2511 100%); }
.ph-monumento{ background: linear-gradient(180deg,#1B3528 0%, #4A6B55 40%, #C8923A 80%, #F4E2AE 100%); }
.ph-santiago { background: linear-gradient(160deg,#7A341A 0%, #C8923A 70%, #F7F1E7 100%); }
.ph-montecr  { background: linear-gradient(180deg,#4A6B55 0%, #B6C8B9 50%, #F7F1E7 100%); }
.ph-puerto   { background: linear-gradient(160deg,#1B5E8C 0%, #4A6B55 50%, #DDB868 100%); }
.ph-taza     { background: linear-gradient(160deg,#F7F1E7 0%, #EFE6D4 100%); }
.ph-shirt    { background: linear-gradient(160deg,#1B3528 0%, #2A4A3A 100%); }
.ph-sweat    { background: linear-gradient(160deg,#B5532A 0%, #7A341A 100%); }
.ph-poster   { background: linear-gradient(150deg,#F4E2AE 0%, #DDB868 50%, #7A341A 100%); }
.ph-portrait { background: linear-gradient(160deg,#5A2511 0%, #B5532A 50%, #DDB868 100%); }
.ph-haitiana { background: linear-gradient(180deg,#5A2511 0%, #B5532A 60%, #1B3528 100%); }

/* ---------- Header/navigation overrides for cadn ---------- */
.cadn-header { position: sticky; top: 0; z-index: 50; background: var(--bg); transition: all 200ms var(--ease-out); border-bottom: 1px solid transparent; }
.cadn-header.scrolled { background: rgba(247,241,231,0.96); backdrop-filter: saturate(120%) blur(8px); border-bottom-color: var(--border); }
.cadn-header-inner { display: flex; align-items: center; gap: 32px; padding: 22px 0; }
.cadn-header.scrolled .cadn-header-inner { padding: 14px 0; }
.cadn-nav { display: flex; gap: 28px; flex: 1; justify-content: center; }
.cadn-nav a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-900);
  cursor: pointer; text-decoration: none; padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out);
  letter-spacing: 0.02em;
}
.cadn-nav a:hover, .cadn-nav a.active {
  color: var(--clay-500); border-bottom-color: var(--clay-500);
}
.cadn-actions { display: flex; align-items: center; gap: 4px; }

/* ---------- Tweaks-only utility ---------- */
.is-hidden { display: none !important; }

/* ---------- Responsive trim ---------- */
@media (max-width: 1024px) {
  .cadn-articles-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .cadn-shop .products { grid-template-columns: repeat(2, 1fr); }
  .cadn-featured .grid,
  .cadn-shop .intro,
  .cadn-author .grid,
  .cadn-book .grid,
  .cadn-hero-collage .container,
  .cadn-hero-type .lower { grid-template-columns: 1fr; gap: 32px; }
  .cadn-guides .destinations { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .cadn-guides .dest:first-child { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .cadn-nav { display: none; }
}
