:root {
      --bg: #fbfaf6;
      --panel: rgba(255,255,255,0.88);
      --text: #2a211d;
      --muted: #645f58;
      --line: rgba(73,49,35,0.12);
      --brand: #a86546;
      --brand-dark: #7f4a32;
      --soft: #d6e4d6;
      --shadow: 0 22px 50px rgba(68, 42, 28, 0.09);
      --radius: 24px;
      --radius-sm: 18px;
      --max: 1180px;
    }
    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      color: var(--text);
      background:
        radial-gradient(circle at top left, #d6e4d6 0, transparent 32%),
        radial-gradient(circle at top right, #f2dfd4 0, transparent 26%),
        linear-gradient(180deg, #fbfaf6 0%, #f8f5ef 100%);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }.wrap { width: min(100% - 28px, var(--max)); margin: 0 auto; }.topbar {
      position: sticky; top: 0; z-index: 20;
      backdrop-filter: blur(14px);
      background: rgba(255,250,245,0.8);
      border-bottom: 1px solid rgba(73,49,35,0.08);
    }.topbar-inner {
      display: flex; align-items: center; justify-content: space-between; gap: 18px;
      padding: 14px 0;
    }.brand {
      display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.02em;
    }.brand-badge {
      width: 58px; height: 58px; border-radius: 18px;
      background: url('assets/brand-alfie.jpg') center/cover no-repeat;
      border: 1px solid rgba(73,49,35,0.08);
      box-shadow: var(--shadow);
      flex: 0 0 58px;
    }
    nav {
      display: flex; flex-wrap: wrap; gap: 10px;
    }
    nav a {
      padding: 10px 14px; border-radius: 999px;
      background: rgba(255,255,255,0.65); border: 1px solid rgba(73,49,35,0.08);
      font-size: 0.95rem; color: var(--muted);
    }
    nav a:hover { color: var(--text); border-color: rgba(104,130,108,0.42); }.hero { padding: 64px 0 36px; }.hero-shell {
      display: grid; grid-template-columns: 1.38fr 0.62fr; gap: 26px; align-items: stretch;
    }.hero-copy,.hero-panel {
      background: var(--panel);
      border: 1px solid rgba(73,49,35,0.08);
      border-radius: calc(var(--radius) + 6px);
      box-shadow: var(--shadow);
    }.hero-copy {
      padding: 42px;
    }.kicker {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--soft);
      color: #445a47;
      border: 1px solid rgba(125,152,128,0.24);
      padding: 9px 14px; border-radius: 999px;
      font-size: 0.9rem; font-weight: 700;
    }
    h1 {
      margin: 18px 0 16px;
      font-size: clamp(2.5rem, 4.55vw, 4.35rem);
      line-height: 0.96;
      letter-spacing: -0.048em;
      max-width: none;
      width: 100%;
      font-family: Inter, "Segoe UI", Arial, sans-serif;
      font-weight: 700;
    }.hero-copy h1 span { display: block; }.hero-copy p.lead {
      font-size: 0.98rem; color: var(--muted); max-width: none; width: 100%; margin: 0 0 20px;
    }.cta-row {
      display: flex; flex-wrap: nowrap; gap: 12px; margin: 24px 0 10px;
      align-items: center;
    }.primary-btn,.secondary-btn,.btn {
      display: inline-flex; align-items: center; justify-content: center;
      gap: 10px; font-weight: 800; border-radius: 22px; transition: 0.2s ease;
      min-height: 49px; padding: 0 20px; font-size: 0.95rem; letter-spacing: -0.02em;
      min-width: 171px; white-space: nowrap;
    }.primary-btn {
      background: #b86c43;
      color: #fff; border: 1px solid rgba(73,49,35,0.04);
      box-shadow: 0 12px 24px rgba(184,108,67,0.18);
    }.secondary-btn {
      background: #b86c43;
      color: #fff; border: 1px solid rgba(73,49,35,0.04);
      box-shadow: 0 12px 24px rgba(184,108,67,0.18);
    }.primary-btn:hover,.secondary-btn:hover,.btn:hover { transform: translateY(-1px); }.hero-panel {
      padding: 42px;
      display: grid;
      grid-template-rows: auto 1fr auto;
      align-content: start;
      min-height: 100%;
    }.photo-card {
      border-radius: var(--radius);
      width: 100%;
      aspect-ratio: 4 / 5;
      min-height: 398px;
      margin: 4px auto 0;
      background:
        linear-gradient(180deg, rgba(38,23,16,0.08), rgba(38,23,16,0.18)),
        url('assets/hero-alfie.jpg') center/cover no-repeat;
      position: relative; overflow: hidden;
    }.photo-caption {
      margin: 16px 0 0;
      color: var(--muted);
      font-size: 1rem;
      line-height: 1.5;
      font-weight: 600;
      text-align: center;
    }.disclosure {
      padding: 10px 0 26px;
    }.disclosure-box {
      background: rgba(255,255,255,0.76);
      border: 1px solid rgba(73,49,35,0.08);
      color: var(--muted);
      border-radius: 18px;
      padding: 16px 18px;
      font-size: 0.94rem;
    }.section-intro {
      display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 20px;
      align-items: center;
      margin: 18px 0 34px;
    }.section-intro-card {
      background: var(--panel);
      border: 1px solid rgba(73,49,35,0.08);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 28px;
    }.section-intro-card h2 {
      margin: 0 0 10px;
      font-size: clamp(1.6rem, 3vw, 2.6rem);
      letter-spacing: -0.035em;
    }.section-intro-card p { margin: 0; color: var(--muted); }.process {
      display: grid; gap: 12px;
    }.process-step {
      display: flex; gap: 14px; align-items: flex-start;
      background: rgba(255,255,255,0.7);
      border: 1px solid rgba(73,49,35,0.08);
      border-radius: 18px; padding: 16px;
    }.step-num {
      width: 34px; height: 34px; border-radius: 50%;
      display: grid; place-items: center; flex: 0 0 34px;
      background: var(--soft); color: #445a47; font-weight: 800;
    }.category-section { padding: 24px 0 14px; }.section-head {
      max-width: 760px; margin-bottom: 20px;
    }.pill {
      display: inline-block; padding: 7px 12px; border-radius: 999px;
      background: var(--soft); color: #445a47; font-weight: 700; font-size: 0.88rem;
      border: 1px solid rgba(125,152,128,0.24);
      margin-bottom: 12px;
    }.section-head h2 {
      margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -0.04em;
    }.section-head p { margin: 0; color: var(--muted); font-size: 1rem; }.card-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    }.card {
      background: rgba(255,255,255,0.82);
      border: 1px solid rgba(73,49,35,0.08);
      border-radius: 24px;
      padding: 20px;
      box-shadow: var(--shadow);
      display: flex; flex-direction: column; min-height: 216px;
    }.card.eyebrow {
      font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em;
      color: var(--brand); font-weight: 800; margin-bottom: 8px;
    }.card h3 {
      margin: 0 0 10px; font-size: 1.22rem; letter-spacing: -0.03em;
    }.card p {
      margin: 0 0 16px; color: var(--muted);
      flex-grow: 1;
    }.btn {
      background: #b86c43; border: 1px solid rgba(73,49,35,0.04); color: #fff;
      padding: 13px 16px;
      margin-top: auto;
    }.footer-cta {
      padding: 42px 0 70px;
    }.footer-shell {
      background: linear-gradient(135deg, #2a211d, #4b3428);
      color: rgba(255,255,255,0.94);
      border-radius: 30px;
      padding: 34px;
      display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px;
      box-shadow: var(--shadow);
    }.footer-shell h2 {
      margin: 0 0 10px; font-size: clamp(1.8rem, 3.5vw, 3rem); letter-spacing: -0.04em;
    }.footer-shell p {
      margin: 0; color: rgba(255,255,255,0.8);
    }.footer-notes {
      display: grid; gap: 12px;
    }.footer-note {
      background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
      border-radius: 18px; padding: 16px;
    }

    footer.site-footer {
      padding: 0 0 34px; color: var(--muted); font-size: 0.92rem;
    }

    @media (max-width: 980px) {.hero-shell,.section-intro,.footer-shell,.card-grid {
        grid-template-columns: 1fr 1fr;
      }.hero-shell,.section-intro,.footer-shell {
        grid-template-columns: 1fr;
      }.photo-card { min-height: 320px; }
    }

    @media (max-width: 720px) {.topbar-inner { align-items: flex-start; }
      nav { gap: 8px; }
      nav a { padding: 8px 12px; font-size: 0.9rem; }.hero-copy { padding: 26px; }.hero-panel { padding: 18px; }.cta-row { flex-wrap: wrap; }.primary-btn,.secondary-btn { min-width: 100%; }.card-grid { grid-template-columns: 1fr; }.footer-shell { padding: 24px; }
    }
  
    .subgroup-grid {
      display: grid;
      gap: 18px;
      margin-top: 18px;
    }
    .subgroup-block {
      margin-top: 10px;
    }
    .subgroup-head {
      margin: 0 0 14px;
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: -0.01em;
      color: var(--text);
    }

  
    
    .final-brand {
      background: linear-gradient(135deg, #2f201a 0%, #5a3a2b 100%);
      color: #fff;
      border-radius: 38px;
      padding: 42px;
      margin-top: 46px;
    }
    .final-brand-inner {
      display: grid;
      grid-template-columns: 1.05fr 1.15fr;
      gap: 28px;
      align-items: start;
    }
    .final-brand-copy h2 {
      margin: 0 0 14px;
      font-size: clamp(2rem, 4vw, 3.3rem);
      line-height: 1.02;
      letter-spacing: -0.04em;
      color: #fff;
    }
    .final-brand-copy p {
      margin: 0;
      color: rgba(255,255,255,0.92);
      max-width: 640px;
      font-size: 1.08rem;
    }
    .photo-slot-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-top: 8px;
    }
    .photo-slot,
    .photo-card-real {
      aspect-ratio: 4 / 5;
      border-radius: 24px;
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.18);
      overflow: hidden;
    }
    .photo-card-real img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .photo-slot {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 14px;
      color: rgba(255,255,255,0.88);
      font-weight: 700;
      font-size: 0.95rem;
      line-height: 1.35;
    }
    .final-disclosure {
      margin-top: 24px;
      padding: 18px 20px;
      border-radius: 20px;
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.15);
      color: rgba(255,255,255,0.92);
      font-size: 1rem;
      line-height: 1.6;
    }
    .final-disclosure strong {
      color: #fff;
    }
    @media (max-width: 900px) {
      .final-brand {
        padding: 28px;
        border-radius: 28px;
      }
      .final-brand-inner {
        grid-template-columns: 1fr;
      }
      .photo-slot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }
    @media (max-width: 640px) {
      .photo-slot-grid {
        grid-template-columns: 1fr;
      }
    }
}

  
    .footer-cta .footer-shell {
      align-items: center;
    }
    .footer-photo-fill {
      width: min(420px, 100%);
      aspect-ratio: 1 / 1;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,0.15);
      background: rgba(255,255,255,0.08);
      margin-left: auto;
    }
    .footer-photo-fill img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

  
    .product-list {
      display: grid;
      gap: 14px;
      margin-top: 18px;
    }
    .product-item {
      background: rgba(255,255,255,0.82);
      border: 1px solid rgba(73,49,35,0.08);
      border-radius: 18px;
      box-shadow: var(--shadow);
      padding: 18px 18px 16px;
    }
    .product-item h3 {
      margin: 0 0 8px;
      font-size: 1.05rem;
      letter-spacing: -0.02em;
    }
    .product-item p {
      margin: 0 0 8px;
      color: var(--muted);
    }
    .product-link {
      display: inline-flex;
      align-items: center;
      color: var(--brand-dark);
      font-weight: 700;
      text-decoration: none;
      border-bottom: 1px solid rgba(127,74,50,0.24);
      padding-bottom: 1px;
      letter-spacing: -0.01em;
    }
    .product-link:hover {
      color: var(--brand);
      border-bottom-color: rgba(168,101,70,0.40);
    }
    .card-grid {
      display: block;
      gap: 0;
    }
    .card,
    .btn {
      all: unset;
    }
    @media (min-width: 900px) {
      .product-list {
        gap: 16px;
      }
      .product-item {
        padding: 20px 20px 18px;
      }
    }

  
    .product-list {
      display: grid;
      gap: 16px;
      margin-top: 20px;
    }
    .product-item {
      background: rgba(255,255,255,0.92);
      border: 1px solid rgba(73,49,35,0.10);
      border-radius: 20px;
      box-shadow: 0 10px 24px rgba(68, 42, 28, 0.06);
      padding: 18px 18px 16px;
      transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    }
    .product-item:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 28px rgba(68, 42, 28, 0.08);
      border-color: rgba(73,49,35,0.14);
    }
    .product-item h3 {
      margin: 0 0 7px;
      font-size: 1.08rem;
      line-height: 1.25;
      letter-spacing: -0.025em;
      color: var(--text);
    }
    .product-item p {
      margin: 0 0 10px;
      color: var(--muted);
      line-height: 1.55;
    }
    .product-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--brand-dark);
      font-weight: 700;
      text-decoration: none;
      border-bottom: 1px solid rgba(127,74,50,0.28);
      padding-bottom: 1px;
    }
    .product-link:hover {
      color: var(--brand);
      border-bottom-color: rgba(168,101,70,0.45);
    }
    .section-head {
      margin-bottom: 10px;
    }
    .subgroup-block {
      margin-top: 18px;
    }
    .subgroup-head {
      margin-bottom: 12px;
    }
    @media (min-width: 900px) {
      .product-list {
        gap: 18px;
      }
      .product-item {
        padding: 20px 20px 18px;
      }
      .product-item h3 {
        font-size: 1.12rem;
      }
    }

  
    .product-item {
      border-radius: 18px;
      box-shadow: 0 8px 18px rgba(68, 42, 28, 0.05);
    }
    .product-item p {
      font-size: 0.98rem;
    }

  
    .section-head h2 {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      line-height: 1.05;
      letter-spacing: -0.035em;
      margin-bottom: 8px;
    }
    .section-head p {
      max-width: 620px;
      font-size: 1rem;
      color: var(--muted);
    }
    .subgroup-head {
      font-size: 0.98rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--brand-dark);
      opacity: 0.9;
      margin: 6px 0 14px;
    }
    .product-list {
      gap: 14px;
      margin-top: 16px;
    }
    .product-item {
      background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,252,249,0.94) 100%);
      border: 1px solid rgba(73,49,35,0.09);
      border-radius: 18px;
      box-shadow: 0 10px 22px rgba(68, 42, 28, 0.045);
      padding: 18px 18px 15px;
      position: relative;
      overflow: hidden;
    }
    .product-item::before {
      content: "";
      position: absolute;
      inset: 0 auto 0 0;
      width: 4px;
      background: linear-gradient(180deg, rgba(168,101,70,0.92) 0%, rgba(214,228,214,0.92) 100%);
      border-radius: 18px 0 0 18px;
    }
    .product-item h3 {
      margin: 0 0 7px;
      padding-left: 2px;
      font-size: 1.08rem;
      line-height: 1.28;
      letter-spacing: -0.022em;
      color: var(--text);
    }
    .product-item p {
      margin: 0 0 10px;
      padding-left: 2px;
      color: var(--muted);
      line-height: 1.55;
      font-size: 0.98rem;
    }
    .product-link {
      display: inline-block;
      margin-left: 2px;
      color: var(--brand-dark);
      font-weight: 700;
      text-decoration: none;
      border-bottom: 1px solid rgba(127,74,50,0.24);
      padding-bottom: 1px;
      letter-spacing: -0.01em;
    }
    .product-link:hover {
      color: var(--brand);
      border-bottom-color: rgba(168,101,70,0.40);
    }
    .category-section {
      margin-top: 36px;
    }
    @media (min-width: 900px) {
      .product-item {
        padding: 19px 20px 16px;
      }
      .product-item h3 {
        font-size: 1.12rem;
      }
      .product-list {
        gap: 16px;
      }
    }

  
    .category-section {
      margin-top: 24px !important;
    }
    .subgroup-block {
      margin-top: 12px !important;
    }
    .product-list {
      margin-top: 12px !important;
    }
    .section-head {
      margin-bottom: 6px !important;
    }

  
    .category-section {
      margin-top: 16px !important;
    }
    .subgroup-block {
      margin-top: 8px !important;
    }
    .product-list {
      margin-top: 8px !important;
      gap: 12px !important;
    }
    .section-head {
      margin-bottom: 2px !important;
    }
    .section-head h2 {
      margin-bottom: 4px !important;
    }
    .section-head p {
      margin-bottom: 0 !important;
    }

  
    @media (max-width: 640px) {
      .topbar-inner {
        gap: 10px;
      }
      .topbar nav,
      .topbar .nav,
      .topbar .nav-links,
      .topbar .category-nav {
        width: 100%;
      }
      .topbar nav ul,
      .topbar .nav-links,
      .topbar .category-nav,
      .topbar .top-links {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: 8px !important;
      }
      .topbar nav a,
      .topbar .nav-links a,
      .topbar .category-nav a,
      .topbar .top-links a {
        white-space: nowrap;
        padding-left: 14px !important;
        padding-right: 14px !important;
        font-size: 0.95rem !important;
      }
    }

  
    @media (max-width: 640px) {
      .topbar-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        justify-items: center;
      }
      .brand {
        justify-content: center;
      }
      header.topbar nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100%;
      }
      header.topbar nav a {
        white-space: nowrap !important;
        flex: 0 0 auto !important;
        font-size: 0.88rem !important;
        padding: 10px 14px !important;
        line-height: 1.1 !important;
      }
    }

  
    @media (max-width: 640px) {
      .topbar-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
      }
      .brand {
        justify-content: flex-start !important;
      }
      header.topbar nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-end !important;
        align-items: center !important;
        gap: 6px !important;
        width: auto !important;
      }
      header.topbar nav a {
        white-space: nowrap !important;
        flex: 0 0 auto !important;
        font-size: 0.84rem !important;
        padding: 9px 12px !important;
        line-height: 1.1 !important;
      }
    }

  
    @media (max-width: 640px) {
      header.topbar nav {
        gap: 5px !important;
      }
      header.topbar nav a {
        font-size: 0.80rem !important;
        padding: 8px 10px !important;
      }
    }

  
    .product-item {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .product-link {
      margin-top: auto;
    }
    @media (max-width: 640px) {
      .product-item {
        padding: 15px 16px 13px !important;
        border-radius: 16px !important;
      }
      .product-item h3 {
        margin: 0 0 6px !important;
        font-size: 1.03rem !important;
      }
      .product-item p {
        margin: 0 0 8px !important;
        font-size: 0.96rem !important;
        line-height: 1.48 !important;
      }
      .product-link {
        margin-top: auto !important;
        font-size: 0.98rem !important;
      }
      .product-list {
        gap: 10px !important;
      }
    }

  
    /* Match Grooming section spacing to other sections */
    #grooming .section-head {
      margin-bottom: 2px !important;
    }
    #grooming .subgroup-block:first-of-type {
      margin-top: 0 !important;
    }
    #grooming .subgroup-head {
      margin-top: 0 !important;
      margin-bottom: 12px !important;
    }

    /* Stronger mobile alignment for list items */
    @media (max-width: 640px) {
      .product-item {
        display: grid !important;
        grid-template-rows: auto 1fr auto !important;
        align-items: start !important;
        min-height: 0 !important;
      }
      .product-item h3 {
        margin: 0 0 6px !important;
      }
      .product-item p {
        margin: 0 0 10px !important;
      }
      .product-link {
        display: inline-block !important;
        margin-top: 0 !important;
        align-self: end !important;
      }
      #grooming .section-head {
        margin-bottom: 2px !important;
      }
      #grooming .subgroup-block:first-of-type {
        margin-top: 0 !important;
      }
      #grooming .subgroup-head {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
      }
    }

  
    .footer-cta .footer-shell {
      display: flex !important;
      justify-content: center !important;
      align-items: center !important;
      min-height: 0 !important;
    }
    .footer-photo-fill {
      width: min(520px, 100%) !important;
      aspect-ratio: 1 / 1 !important;
      margin: 0 auto !important;
    }
    @media (min-width: 900px) {
      .footer-cta .footer-shell {
        padding-top: 42px !important;
        padding-bottom: 42px !important;
      }
      .footer-photo-fill {
        width: min(540px, 100%) !important;
      }
    }

  
    .hero-shell,
    .hero-grid,
    .hero-copy {
      min-height: 100%;
    }
    .hero-copy {
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
    }
    @media (min-width: 900px) {
      .hero-copy {
        padding-top: 36px !important;
        padding-bottom: 36px !important;
      }
      .hero-shell,
      .hero-grid {
        min-height: 620px !important;
      }
    }

  
    .label-mobile {
      display: none;
    }
    @media (max-width: 640px) {
      .label-desktop {
        display: none;
      }
      .label-mobile {
        display: inline;
      }
      header.topbar nav a {
        font-size: 0.80rem !important;
        padding: 8px 10px !important;
      }
    }

  
    /* Slightly punchier top nav buttons */
    nav a {
      background: rgba(168,101,70,0.16) !important;
      border: 1px solid rgba(127,74,50,0.24) !important;
      color: var(--brand-dark) !important;
      font-weight: 700 !important;
      box-shadow: 0 6px 14px rgba(68, 42, 28, 0.06) !important;
    }
    nav a:hover {
      background: rgba(168,101,70,0.22) !important;
      border-color: rgba(127,74,50,0.34) !important;
      color: var(--text) !important;
      box-shadow: 0 8px 18px rgba(68, 42, 28, 0.08) !important;
    }
    @media (max-width: 640px) {
      header.topbar nav a {
        background: rgba(168,101,70,0.18) !important;
        border-color: rgba(127,74,50,0.26) !important;
        font-weight: 700 !important;
      }
    }

  
    @media (max-width: 640px) {
      header.topbar nav a {
        background: rgba(255,255,255,0.65) !important;
        border: 1px solid rgba(73,49,35,0.08) !important;
        color: var(--muted) !important;
        box-shadow: none !important;
        font-weight: 600 !important;
      }
      header.topbar nav a:hover {
        background: rgba(255,255,255,0.72) !important;
        border-color: rgba(73,49,35,0.10) !important;
        color: var(--muted) !important;
        box-shadow: none !important;
      }
    }

  
.affiliate-note {
      margin: 0 0 14px;
      font-size: 0.95rem;
      font-weight: 600;
      color: var(--muted);
    }


/* Multi-page navigation */
.brand-link { color: inherit; text-decoration: none; }
nav a[aria-current="page"] {
  color: var(--text);
  border-color: rgba(104,130,108,0.48);
  background: rgba(214,228,214,0.72);
  font-weight: 700;
}
.page-main { padding: 34px 0 18px; }
.page-main .category-section { margin-top: 0; }
@media (max-width: 720px) {
  .topbar-inner { align-items: center; }
  .topbar-inner nav { width: 100%; }
}


/* Responsive product layout: 2 columns on desktop, 1 on mobile */
.product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.product-item {
  height: 100%;
}

#grooming .subgroup-block .product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 720px) {
  .product-list,
  #grooming .subgroup-block .product-list {
    grid-template-columns: 1fr;
  }
}


/* Featured Alfie photo on category pages */
.category-photo-wrap {
  margin: 18px 0 22px;
}

.category-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
  border: 1px solid rgba(104, 130, 108, 0.18);
  box-shadow: 0 16px 30px rgba(58, 53, 45, 0.10);
  background: rgba(255, 255, 255, 0.72);
}

.category-photo--puppy {
  object-position: center 38%;
}

.category-photo--everyday {
  object-position: center 35%;
}

.category-photo--grooming {
  object-position: center 42%;
}

@media (max-width: 720px) {
  .category-photo {
    aspect-ratio: 4 / 3;
    border-radius: 20px;
  }

  .category-photo-wrap {
    margin: 16px 0 18px;
  }

  .category-photo--puppy,
  .category-photo--everyday,
  .category-photo--grooming {
    object-position: center;
  }
}


/* Reduce category-page featured photos to about half-width on desktop */
.category-photo-wrap {
  display: flex;
  justify-content: center;
}

.category-photo {
  width: 52%;
  max-width: 620px;
}

@media (max-width: 720px) {
  .category-photo {
    width: 100%;
    max-width: none;
  }
}


/* Category page hero: title/copy and Alfie photo side by side, like the home page */
.category-section > .section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.category-section > .section-head .category-copy-panel,
.category-section > .section-head .category-photo-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.category-section > .section-head .category-copy-panel {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-section > .section-head .category-photo-panel {
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-section > .section-head .category-copy-panel h2 {
  margin-top: 0;
}

.category-section > .section-head .category-photo-panel .category-photo {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 5;
  margin: 0;
  object-fit: cover;
}

.category-section > .section-head .category-photo-wrap {
  margin: 0;
  width: 100%;
  display: block;
}

@media (max-width: 820px) {
  .category-section > .section-head {
    grid-template-columns: 1fr;
  }

  .category-section > .section-head .category-copy-panel,
  .category-section > .section-head .category-photo-panel {
    padding: 22px;
  }

  .category-section > .section-head .category-photo-panel .category-photo {
    aspect-ratio: 4 / 3;
  }
}


/* Refined category-page header:
   match the two-column product grid width/gap and show each photo in full */
.category-section > .section-head {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}

.category-section > .section-head .category-copy-panel,
.category-section > .section-head .category-photo-panel {
  min-width: 0;
}

.category-section > .section-head .category-copy-panel {
  padding: 32px;
}

.category-section > .section-head .category-photo-panel {
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-section > .section-head .category-photo-wrap {
  width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-section > .section-head .category-photo-panel .category-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
}

/* Make the photo panel adapt to the photo rather than forcing a crop */
.category-section > .section-head .category-photo-panel {
  overflow: hidden;
}

@media (max-width: 820px) {
  .category-section > .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-section > .section-head .category-copy-panel,
  .category-section > .section-head .category-photo-panel {
    padding: 20px;
  }

  .category-section > .section-head .category-photo-panel .category-photo {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }
}


/* Center category-page photos within the right-hand column without stretching them */
.category-section > .section-head .category-photo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-section > .section-head .category-photo-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-section > .section-head .category-photo-panel .category-photo {
  width: auto;
  max-width: 88%;
  max-height: 420px;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .category-section > .section-head .category-photo-panel .category-photo {
    width: auto;
    max-width: 100%;
    max-height: none;
  }
}


/* Strong centering override for category page photos */
.category-section > .section-head .category-photo-panel {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

.category-section > .section-head .category-photo-wrap {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.category-section > .section-head .category-photo-panel .category-photo {
  display: block !important;
  width: auto !important;
  max-width: 88% !important;
  max-height: 420px !important;
  height: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
}

@media (max-width: 820px) {
  .category-section > .section-head .category-photo-wrap {
    width: 100% !important;
  }

  .category-section > .section-head .category-photo-panel .category-photo {
    max-width: 100% !important;
    max-height: none !important;
  }
}


/* Center the entire title + photo header group over the full product grid.
   The original stylesheet caps .section-head at 760px, so explicitly center that width. */
.category-section > .section-head {
  width: min(760px, 100%) !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 820px) {
  .category-section > .section-head {
    width: 100% !important;
    max-width: none !important;
  }
}


/* Widen the centered category header group while keeping full, uncropped photos */
.category-section > .section-head {
  width: min(920px, 100%) !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 820px) {
  .category-section > .section-head {
    width: 100% !important;
    max-width: none !important;
  }
}


/* Softer category header panels using the site's existing palette */
.category-section > .section-head .category-copy-panel {
  background: rgba(214, 228, 214, 0.72) !important;
  border-color: rgba(104, 130, 108, 0.22) !important;
}

.category-section > .section-head .category-photo-panel {
  background: rgba(242, 223, 212, 0.62) !important;
  border-color: rgba(168, 101, 70, 0.16) !important;
}


/* Category header refinement:
   - use the same sage background on both panels
   - make the title area feel fuller and better balanced */
.category-section > .section-head .category-copy-panel,
.category-section > .section-head .category-photo-panel {
  background: rgba(214, 228, 214, 0.78) !important;
  border-color: rgba(104, 130, 108, 0.24) !important;
}

.category-section > .section-head .category-copy-panel {
  padding: 42px 46px !important;
  justify-content: center !important;
}

.category-section > .section-head .category-copy-panel h2 {
  font-size: clamp(2.35rem, 3.8vw, 3.35rem) !important;
  line-height: 1.02 !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.035em !important;
}

.category-section > .section-head .category-copy-panel p {
  font-size: 1.08rem !important;
  line-height: 1.65 !important;
  max-width: 30rem !important;
  margin: 0 !important;
}

@media (min-width: 821px) {
  .category-section > .section-head {
    min-height: 280px;
  }

  .category-section > .section-head .category-copy-panel,
  .category-section > .section-head .category-photo-panel {
    min-height: 280px;
  }
}

@media (max-width: 820px) {
  .category-section > .section-head .category-copy-panel {
    padding: 28px 24px !important;
  }

  .category-section > .section-head .category-copy-panel h2 {
    font-size: clamp(2rem, 9vw, 2.75rem) !important;
  }

  .category-section > .section-head .category-copy-panel p {
    font-size: 1rem !important;
  }
}


/* Softer, more muted green for category header panels */
.category-section > .section-head .category-copy-panel,
.category-section > .section-head .category-photo-panel {
  background: rgba(224, 232, 222, 0.62) !important;
  border-color: rgba(104, 130, 108, 0.16) !important;
}


/* Soften the home-page CTA buttons to better match the muted sage palette */
.cta-row a,
.btn,
.button {
  background: #b78970 !important;
  border-color: #b78970 !important;
  color: #fffaf6 !important;
  box-shadow: 0 10px 22px rgba(89, 61, 47, 0.12) !important;
}

.cta-row a:hover,
.btn:hover,
.button:hover {
  background: #a97961 !important;
  border-color: #a97961 !important;
}


/* Revamped home page after removing oversized bottom image */
.home-category-preview {
  padding: 28px 0 48px;
}

.home-category-heading {
  text-align: center;
  margin: 0 auto 22px;
  max-width: 680px;
}

.home-category-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.home-category-heading p {
  margin: 0;
  color: var(--muted);
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-category-card {
  display: block;
  padding: 26px;
  border-radius: var(--radius-sm);
  background: rgba(224, 232, 222, 0.50);
  border: 1px solid rgba(104, 130, 108, 0.14);
  box-shadow: 0 14px 28px rgba(68, 42, 28, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(68, 42, 28, 0.09);
}

.home-category-card h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.home-category-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.home-category-card span {
  font-weight: 700;
  color: var(--brand-dark);
}

@media (max-width: 820px) {
  .home-category-grid {
    grid-template-columns: 1fr;
  }

  .home-category-preview {
    padding-top: 20px;
  }
}


/* Slightly enlarge the supporting text in the home-page Browse section */
.home-category-heading p {
  font-size: 1.12rem !important;
  line-height: 1.6 !important;
}

@media (max-width: 720px) {
  .home-category-heading p {
    font-size: 1.05rem !important;
  }
}


/* Refined top header: slightly larger and more substantial without adding much height */
.topbar {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.topbar-inner {
  min-height: 68px !important;
  align-items: center !important;
}

.brand {
  gap: 12px !important;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
}

.brand-badge {
  width: 56px !important;
  height: 56px !important;
  flex: 0 0 56px !important;
  border-radius: 16px !important;
}

.topbar nav {
  gap: 10px !important;
}

.topbar nav a {
  padding: 13px 18px !important;
  font-size: 1.02rem !important;
  line-height: 1.1 !important;
  border-radius: 999px !important;
}

/* Small compensation so page height stays controlled */
.hero {
  padding-top: 26px !important;
}

@media (max-width: 820px) {
  .topbar {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .brand {
    font-size: 1.22rem !important;
  }

  .brand-badge {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px !important;
  }

  .topbar nav a {
    padding: 11px 15px !important;
    font-size: 0.98rem !important;
  }

  .hero {
    padding-top: 22px !important;
  }
}


/* Everyday page: keep the full portrait visible, but scale it down
   to roughly the same visual height as the Grooming page photo. */
@media (min-width: 821px) {
  .category-section > .section-head .category-photo-panel .category-photo--everyday {
    max-height: 300px !important;
    width: auto !important;
    max-width: 88% !important;
    height: auto !important;
    object-fit: contain !important;
  }
}


/* MOBILE NAV — FINAL OVERRIDE
   Desktop layout is untouched. On phones, the existing four-link nav becomes
   a clean two-column grid below the Alfie's Picks branding. */
@media (max-width: 820px) {
  header.topbar .topbar-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 0 !important;
  }

  header.topbar .topbar-inner > .brand {
    display: flex !important;
    align-self: flex-start !important;
    justify-content: flex-start !important;
    width: auto !important;
    margin: 0 !important;
  }

  header.topbar .topbar-inner > nav.main-nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    width: 100% !important;
    max-width: none !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    overflow: visible !important;
    transform: none !important;
  }

  header.topbar .topbar-inner > nav.main-nav > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 9px 6px !important;
    font-size: 0.90rem !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
    text-align: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
  }

  header.topbar .topbar-inner > nav.main-nav > a[aria-current="page"] {
    background: rgba(224,232,222,0.72) !important;
    border-color: rgba(104,130,108,0.48) !important;
    color: var(--text) !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 360px) {
  header.topbar .topbar-inner > nav.main-nav > a {
    font-size: 0.82rem !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
}


/* Mobile-only category header treatment:
   keep photo panels green, but switch title/copy panels to white. */
@media (max-width: 820px) {
  .category-section > .section-head .category-copy-panel {
    background: rgba(255, 255, 255, 0.94) !important;
    border-color: rgba(73, 49, 35, 0.10) !important;
  }

  .category-section > .section-head .category-photo-panel {
    background: rgba(224, 232, 222, 0.62) !important;
    border-color: rgba(104, 130, 108, 0.16) !important;
  }
}


/* MOBILE CATEGORY PANELS — FINAL OVERRIDE */
@media screen and (max-width: 820px) {
  body .category-section > .section-head .category-copy-panel {
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: rgba(73, 49, 35, 0.10) !important;
  }

  body .category-section > .section-head .category-photo-panel {
    background-color: rgba(224, 232, 222, 0.62) !important;
    background-image: none !important;
    border-color: rgba(104, 130, 108, 0.16) !important;
  }
}


/* MOBILE COPY ALIGNMENT + HOME CATEGORY CARDS */
@media screen and (max-width: 820px) {
  /* Center the category page titles and descriptions on mobile */
  body .category-section > .section-head .category-copy-panel {
    text-align: center !important;
    align-items: center !important;
  }

  body .category-section > .section-head .category-copy-panel h2,
  body .category-section > .section-head .category-copy-panel p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Make the home-page category navigation cards white on mobile */
  body .home-category-card {
    background: rgba(255, 255, 255, 0.96) !important;
    border-color: rgba(73, 49, 35, 0.10) !important;
  }
}


/* Mobile-only softer title panels:
   match the warm translucent look of the top navigation buttons instead of pure white. */
@media screen and (max-width: 820px) {
  body .category-section > .section-head .category-copy-panel {
    background-color: rgba(255, 255, 255, 0.65) !important;
    background-image: none !important;
    border-color: rgba(73, 49, 35, 0.08) !important;
  }

  body .category-section > .section-head .category-photo-panel {
    background-color: rgba(224, 232, 222, 0.62) !important;
    background-image: none !important;
  }
}
