body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  background: #FAF8F4;
  color: #2C2C2C;
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: #3E5C4B;
  font-weight: 600;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Text link */
.text-link {
  text-decoration: none;
  color: #3E5C4B;
  font-weight: 500;
}

/* Header */

.site-header {
  background: #FAF8F4;
  padding: 10px 0;
  border-bottom: 1px solid #EFEAE3;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 80px;
}

.main-nav a {
  margin-left: 30px;
  text-decoration: none;
  color: #3E5C4B;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.main-nav a:hover {
  opacity: 0.6;
}

/* --- Dropdown nav --- */

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #3E5C4B;
  font-weight: 500;
}

.nav-caret {
  font-size: 12px;
  opacity: 0.7;
  transform: translateY(1px);
}

/* Dropdown panel */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background: #FFFFFF;
  border: 1px solid #EFEAE3;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.08);
  padding: 10px;
  display: none;
  z-index: 50;
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #2C2C2C;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown a:hover {
  background: #F6F1EA;
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 12px;   /* bridge height */
}

/* Open on hover (desktop) */
@media (hover: hover) and (pointer: fine) {
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    display: block;
  }
}

/* Mobile: keep it simple (stack dropdown items under) */
@media (max-width: 900px) {
  .main-nav {
    gap: 18px;
    flex-wrap: wrap; /* simplest mobile behavior without a hamburger yet */
  }

  .dropdown {
    position: static;
    min-width: unset;
    width: 100%;
    box-shadow: none;
    border-radius: 14px;
    margin-top: 10px;
  }

  .has-dropdown.open .dropdown {
    display: block;
  }
}

/* Hero */

.hero {
  padding: 20px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lead {
  font-size: 19px;
  color: #555;
  margin-top: 25px;
}

/* Buttons */

.btn-primary {
  background: #C07A4A;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 25px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #A8653A;
  transform: translateY(-2px);
}

/* Full width button */
.btn-primary.full {
  width: 100%;
  text-align: center;
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 70px;
  align-items: stretch;
}

.card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 20px;
  margin-bottom: 15px;
}

.card p {
  flex-grow: 1;
  color: #555;
  margin-bottom: 25px;
}

.card .btn-primary {
  align-self: flex-start;
}

/* Body */
.card-body {
  padding: 25px 30px 35px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body h3 {
  margin-top: 10px;
  margin-bottom: 15px;
}

.card-body p {
  flex-grow: 1;
  color: #555;
  margin-bottom: 25px;
}

/* Featured Card */
@media (max-width: 900px) {
  .card.featured {
    grid-template-columns: 1fr;
  }

  .card.featured .card-media,
  .card.featured .card-body {
    padding: 30px;
  }
  .hero-image-wrapper {
    height: 240px;
  }

  .product-image {
    height: 240px;
  }
}

.card.featured {
  border: 2px solid #C07A4A;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.card.featured .card-media {
  padding: 40px 0 40px 40px;
}

.card.featured .card-body {
  padding: 40px 40px 40px 0;
}

/* Badge */
.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #C07A4A;
  color: white;
  padding: 6px 14px;
  font-size: 12px;
  border-radius: 20px;
  font-weight: 600;
}

/* Media */
.card-media {
  padding: 30px 30px 0 30px;
}

.image-placeholder.small {
  height: 220px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ECE6DD;
  color: #8A8176;
  font-weight: 500;
}

/* Image Placeholder */

.image-placeholder {
  background: #ECE6DD;
  height: 350px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8A8176;
  font-weight: 500;
}

.image-placeholder.small {
  height: 220px;
  border-radius: 18px;
  margin-bottom: 20px;
}

/* Soft Section */

.soft-section {
  background: #F1ECE4;
  padding: 50px 0;
  margin-top: 50px;
}

/* Guide page spacing override */
.guide-page .soft-section {
  padding: 60px 0;
}

.guide-page .soft-section.alt {
  padding: 60px 0;
}

.guide-page .hero {
  padding: 60px 0;
}

/* Trust Section */

.trust {
  padding: 100px 0;
  text-align: center;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.site-footer {
  background: #E9E2D9;
  padding: 60px 0;
  margin-top: 120px;
}

/* ---------- Guide layout utilities ---------- */

.container.narrow {
  max-width: 800px;
}

.center {
  text-align: center;
}

/* Optional: slightly softer hero for guide pages */
.soft-hero {
  padding: 80px 0;
}

/* Alternating background helper for sections */
.soft-section.alt {
  background: #F1ECE4;
}

/* ---------- Highlight cards (used in guide pages) ---------- */

.card.highlight {
  background: #FFFFFF;
  border: 1px solid #EFEAE3;
  border-radius: 24px;
  padding: 28px 30px;
  box-shadow: 0 18px 35px rgba(0,0,0,0.04);
}

.card.highlight h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.card.highlight p {
  margin-top: 10px;
  margin-bottom: 10px;
  color: #555;
}

.card.highlight ul {
  margin: 12px 0 0 18px;
}

.card.highlight li {
  margin: 6px 0;
}

/* ---------- Checklist style (used in "How to choose") ---------- */

.checklist {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.checklist li {
  background: #FFFFFF;
  border: 1px solid #EFEAE3;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 12px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

/* ---------- Breed layout (if you haven't added it yet) ---------- */

.breed-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
  margin-top: 30px;
}

.breed-summary {
  font-size: 16px;
  color: #555;
  margin-top: 0;
}

/* Mobile */
@media (max-width: 900px) {
  .breed-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.guide-hero {
  padding: 60px 0 40px 0;
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}

.guide-hero-text h1 {
  margin-bottom: 18px;
}

.guide-hero-image .image-placeholder.small {
  height: 260px;
}

@media (max-width: 900px) {
  .guide-hero-inner {
    grid-template-columns: 1fr;
  }
}

.image-wrapper {
  border-radius: 18px;
  overflow: hidden;
  background: #ECE6DD;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-wrapper.small {
  height: 260px;
}

/* HERO IMAGE WRAPPER */

.hero-image-wrapper {
  border-radius: 22px;
  overflow: hidden;
  height: 340px; /* adjust as needed */
  background: #ECE6DD;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-image {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #EFEAE3;
  box-shadow: 0 14px 28px rgba(0,0,0,0.05);

  aspect-ratio: 1 / 1;

  width: 100%;
  max-width: 360px;   /* 👈 controls maximum size */
  margin: 0 left;     /* center it inside its column */

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 14px;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;

  border-radius: 14px; /* round the photo itself */
}