/* ===== Doodles Puppy Nest ===== */
:root {
  --brown: #a5744b;
  --brown-dark: #7d5636;
  --cream: #faf3e8;
  --cream2: #f2e7d5;
  --sage: #8ba888;
  --sage-dark: #6b8968;
  --sage-light: #e9f0e6;
  --gold: #d8a24a;
  --gold-dark: #b8842f;
  --coral: #e08a6b;
  --ink: #3a322a;
  --ink-soft: #7d7264;
  --bg: #fffdf9;
  --bg-soft: #f9f2e6;
  --card: #ffffff;
  --border: #ece0cd;
  --shadow: 0 12px 34px rgba(58, 50, 42, 0.10);
  --shadow-lg: 0 20px 50px rgba(58, 50, 42, 0.18);
  --radius: 18px;
  --maxw: 1160px;
  --serif: "Georgia", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--brown); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brown-dark); }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.22; letter-spacing: -0.01em; color: var(--ink); font-weight: 700; }

/* Topbar */
.topbar { background: var(--brown-dark); color: #f3e6d5; font-size: 0.85rem; text-align: center; padding: 9px 0; letter-spacing: .02em; }
.topbar a { color: var(--gold); font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,249,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.brand .logo { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--brown), var(--gold)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.brand b { color: var(--brown); }
.brand small { display: block; font-family: var(--sans); font-size: 0.55rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-dark); font-weight: 600; }
.nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
.nav-links a { color: var(--ink-soft); font-size: 0.92rem; padding: 9px 14px; border-radius: 8px; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--brown); background: var(--cream2); }
.nav-links .cta { background: var(--sage); color: #fff; padding: 10px 20px; }
.nav-links .cta:hover { background: var(--sage-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); font-size: 1.7rem; cursor: pointer; }

/* Buttons */
.btn { font-family: var(--sans); font-size: 0.98rem; font-weight: 700; padding: 14px 32px; border-radius: 40px; border: 0; cursor: pointer; display: inline-block; transition: transform .12s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); color: #fff; }
.btn-brown { background: var(--brown); color: #fff; }
.btn-brown:hover { background: var(--brown-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-ghost:hover { background: #fff; color: var(--brown-dark); }
.btn-outline { background: transparent; color: var(--brown); border: 1.5px solid var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }

/* Hero */
.hero { position: relative; background: linear-gradient(rgba(58,50,42,.4), rgba(58,50,42,.5)), radial-gradient(circle at 30% 30%, #b98d5f, #6b8968); color: #fff; text-align: center; padding: 108px 0; overflow: hidden; }
.hero::before { content: "\1F436"; position: absolute; font-size: 8rem; opacity: .12; top: 24px; left: 6%; transform: rotate(-12deg); }
.hero::after { content: "\1F43E"; position: absolute; font-size: 7rem; opacity: .12; bottom: 16px; right: 7%; transform: rotate(10deg); }
.hero .container { position: relative; z-index: 1; }
.hero .tag { display: inline-block; background: var(--gold); color: #fff; font-weight: 700; font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; padding: 7px 20px; border-radius: 40px; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4rem); margin-bottom: 16px; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero .subtitle { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #ffe9c9; margin-bottom: 10px; }
.hero p { font-size: 1.16rem; max-width: 610px; margin: 0 auto 28px; opacity: .96; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page head */
.page-head { background: var(--cream); border-bottom: 1px solid var(--border); padding: 54px 0; text-align: center; }
.page-head .breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 14px; }
.page-head .breadcrumb a { color: var(--ink-soft); }
.page-head h1 { font-size: clamp(1.9rem,4.5vw,2.9rem); margin-bottom: 10px; }
.page-head p { color: var(--ink-soft); max-width: 680px; margin: 0 auto; font-size: 1.08rem; }

/* Sections */
section.block { padding: 72px 0; }
section.block.cream { background: var(--cream); }
section.block.sage { background: var(--sage-light); }
section.block.dark { background: var(--brown-dark); color: #fff; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 46px; }
.section-head .eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 0.8rem; letter-spacing: .18em; text-transform: uppercase; display: block; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.dark .section-head h2 { color: #fff; }
.dark .section-head p { color: #f0e2d0; }
.dark .section-head .eyebrow { color: var(--gold); }

/* Grids */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Puppy/product cards */
.puppy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.puppy-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.puppy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.puppy-img { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; background: linear-gradient(135deg, var(--cream2), var(--sage-light)); position: relative; }
.puppy-img .badge { position: absolute; top: 14px; left: 14px; font-family: var(--sans); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 5px 13px; border-radius: 40px; color: #fff; }
.badge.available { background: var(--sage); }
.badge.reserved { background: var(--gold-dark); }
.badge.sold { background: var(--ink-soft); }
.puppy-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.puppy-card .p-breed { font-size: 0.76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--sage-dark); font-weight: 700; margin-bottom: 6px; }
.puppy-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.puppy-card .p-meta { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 10px; }
.puppy-card .price { font-family: var(--serif); font-size: 1.3rem; color: var(--brown); font-weight: 700; margin-top: auto; margin-bottom: 12px; }
.puppy-card .price .placeholder { background: #f5ead4; border-bottom: 1px dashed var(--gold-dark); border-radius: 4px; padding: 0 6px; }
.puppy-card .btn { width: 100%; }

/* Article cards */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.article-thumb { height: 190px; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; background: linear-gradient(135deg, var(--sage-light), var(--cream2)); }
.article-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.article-card .cat { font-size: 0.74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-dark); font-weight: 700; margin-bottom: 8px; }
.article-card h3 { font-size: 1.18rem; margin-bottom: 8px; line-height: 1.35; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--brown); }
.article-card .excerpt { color: var(--ink-soft); font-size: 0.92rem; flex: 1; }
.article-card .more { margin-top: 12px; font-weight: 700; color: var(--brown); font-size: 0.88rem; }

/* Feature */
.feature { text-align: center; padding: 30px 24px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .15s; }
.feature:hover { transform: translateY(-5px); }
.feature .ico { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 50%; background: var(--sage-light); color: var(--sage-dark); display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.feature h3 { font-size: 1.18rem; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .media { border-radius: var(--radius); min-height: 400px; display: flex; align-items: center; justify-content: center; font-size: 7rem; background: linear-gradient(135deg, var(--brown), var(--sage)); box-shadow: var(--shadow); color: #fff; }
.split h2 { font-size: clamp(1.8rem,4vw,2.5rem); margin-bottom: 16px; }
.split p { color: var(--ink-soft); margin-bottom: 14px; }
.check-list { list-style: none; }
.check-list li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.check-list li::before { content: "\1F43E"; position: absolute; left: 0; top: 0; font-size: 1.1rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px 24px; position: relative; text-align: center; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 40px; height: 40px; background: var(--sage); color: #fff; border-radius: 50%; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.1rem; margin: 8px 0; }
.step p { color: var(--ink-soft); font-size: 0.92rem; }

/* Prose / article */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 46px; align-items: start; padding: 50px 0; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.55rem; margin: 32px 0 12px; color: var(--brown-dark); }
.prose h3 { font-size: 1.22rem; margin: 24px 0 10px; color: var(--sage-dark); }
.prose p { color: #40382f; margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; color: #40382f; }
.prose li { margin-bottom: 8px; }
.prose .placeholder { background: #f5ead4; border-bottom: 1px dashed var(--gold-dark); padding: 0 3px; border-radius: 3px; font-weight: 600; }
.prose .callout { background: var(--sage-light); border-left: 4px solid var(--sage); border-radius: 8px; padding: 16px 20px; margin: 22px 0; }
.prose .tip { background: var(--cream2); border-left: 4px solid var(--gold); border-radius: 8px; padding: 16px 20px; margin: 22px 0; }
.prose .feat-img { border-radius: var(--radius); height: 340px; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: linear-gradient(135deg, var(--sage-light), var(--cream2)); box-shadow: var(--shadow); margin-bottom: 12px; }
.prose .feat-caption { text-align: center; font-size: 0.85rem; color: var(--ink-soft); font-style: italic; margin-bottom: 24px; }

/* TOC */
.toc { background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; }
.toc h2 { font-size: 1.05rem; margin: 0 0 10px; color: var(--ink); }
.toc ul { list-style: none; padding: 0; }
.toc li { margin-bottom: 6px; }
.toc a { font-size: 0.94rem; }

/* Comparison table */
.cmp-table { width: 100%; border-collapse: collapse; margin: 22px 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.96rem; }
.cmp-table thead th { background: var(--sage); color: #fff; font-family: var(--serif); }
.cmp-table tbody tr:last-child td { border-bottom: 0; }
.cmp-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.cmp-table td:first-child { font-weight: 700; color: var(--brown-dark); }

/* Sidebar */
.sidebar { display: grid; gap: 22px; position: sticky; top: 92px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--sage-light); }
.side-list { list-style: none; }
.side-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.side-list li:last-child { border-bottom: 0; }
.side-list li a { color: var(--ink); font-weight: 600; }
.side-list li a:hover { color: var(--brown); }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.side-tags a { background: var(--cream2); border: 1px solid var(--border); padding: 6px 13px; border-radius: 40px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.side-tags a:hover { background: var(--sage-light); color: var(--sage-dark); }
.side-cta { background: var(--brown-dark); color: #fff; border-radius: var(--radius); padding: 26px; text-align: center; }
.side-cta h3 { color: #fff; border: 0; padding: 0; margin-bottom: 8px; }
.side-cta p { font-size: 0.9rem; color: #f0e2d0; margin-bottom: 16px; }

/* Related */
.related { margin-top: 42px; }
.related h2 { font-size: 1.35rem; margin-bottom: 18px; color: var(--brown-dark); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-item { background: var(--cream); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; }
.related-item a { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.related-item a:hover { color: var(--brown); }

/* Product detail */
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.product-gallery .main-img { border-radius: var(--radius); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; font-size: 7rem; background: linear-gradient(135deg, var(--cream2), var(--sage-light)); box-shadow: var(--shadow); margin-bottom: 14px; }
.product-gallery .thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.product-gallery .thumbs .t { aspect-ratio: 1; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; background: var(--cream2); cursor: pointer; border: 2px solid transparent; }
.product-gallery .thumbs .t:hover { border-color: var(--sage); }
.product-info .p-breed { color: var(--sage-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 0.82rem; margin-bottom: 8px; }
.product-info h1 { font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 10px; }
.product-info .price { font-family: var(--serif); font-size: 2rem; color: var(--brown); font-weight: 700; margin: 14px 0; }
.product-info .price .placeholder { background: #f5ead4; border-bottom: 1px dashed var(--gold-dark); border-radius: 4px; padding: 0 8px; }
.spec-list { list-style: none; margin: 20px 0; }
.spec-list li { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 0.96rem; }
.spec-list li .k { color: var(--ink-soft); }
.spec-list li .v { font-weight: 700; }
.stock-badge { display: inline-block; padding: 6px 16px; border-radius: 40px; font-weight: 700; font-size: 0.85rem; color: #fff; background: var(--sage); margin-bottom: 14px; }

/* Testimonial */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.testi .stars { color: var(--gold); margin-bottom: 12px; }
.testi p { color: var(--ink-soft); font-style: italic; margin-bottom: 14px; }
.testi .who { font-weight: 700; color: var(--brown-dark); font-family: var(--serif); }

/* CTA */
.cta-band { background: linear-gradient(135deg, var(--sage), var(--sage-dark)); color: #fff; text-align: center; padding: 68px 0; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: 12px; }
.cta-band p { opacity: .96; margin-bottom: 26px; font-size: 1.1rem; }

/* Footer */
.site-footer { background: var(--brown-dark); color: #ecdcc8; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #ecdcc8; font-size: 0.91rem; }
.footer-col a:hover { color: var(--gold); }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand small { color: var(--gold); }
.footer-brand p { color: #ecdcc8; font-size: 0.91rem; }
.footer-bottom { border-top: 1px solid #936f4e; padding-top: 22px; text-align: center; color: #c9b198; font-size: 0.85rem; }
.footer-bottom a { color: #ecdcc8; }

/* Responsive */
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .puppy-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .product-hero { grid-template-columns: 1fr; }
  .split .media { min-height: 260px; font-size: 5rem; order: -1; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 12px 22px; gap: 4px; display: none; }
  .nav-links.show { display: flex; }
  .nav-links a { width: 100%; }
  .nav-links .cta { text-align: center; }
  .puppy-grid, .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
