﻿/* ==================================================
   TEMP – EDITOR IMAGE OVERRIDE
   Purpose: Prevent full-width images in page builder
   Safe to REMOVE before publish
   ================================================== 

.breed-grid img,
.breed-tile img,
.desktop-hero-card,
.featured-grid img,
.featured-tile img {
  width: 150px !important;
  height: 150px !important;
  max-width: 150px !important;
  max-height: 150px !important;
  object-fit: cover !important;
  display: block !important;
}*/



/* ==========================================================
   SECTION NAME: BREED / CATEGORY IMAGE GRID (TILES)
   ----------------------------------------------------------
   PURPOSE:
   • Creates a centered, non-stretching thumbnail tile grid
   • Prevents “few tiles stretch full width” by capping tile width
   • Uses square images (1:1) with clean hover lift
   • Switches to a simple 2-column layout on mobile

   USED ON:
   • Breed/category hub pages (Dogs A–B, Cats, Animals, etc.)
   • Any page using: <div class="breed-grid"> + <a class="breed-tile">

   CONNECTED SELECTORS:
   • .breed-grid
   • .breed-tile
   • .breed-tile img
   • .breed-tile span
   • Mobile layout: @media (max-width: 768px)

   NOTES:
   • Desktop uses minmax(160px, 200px) so tiles don’t stretch across the screen
   • Images are forced square via aspect-ratio: 1/1 and object-fit: cover

   LAST UPDATED:
   2026-02-11
   ========================================================== */


.breed-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 200px));
  justify-content: center;
  gap:14px;
  margin:16px 0 32px;
  max-width:920px;
  margin-left:auto;
  margin-right:auto;  
}

.breed-tile{
  display:block;
  text-align:center;
  background:#fff;
  border:1px solid #e6e6e6;
  border-radius:10px;
  overflow:hidden;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;

  max-width: 200px;      /* keeps tiles from stretching */
  margin: 0 auto;        /* centers tiles in their grid tracks */
}

.breed-tile img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  display:block;
}

.breed-tile span{
  display:block;
  padding:10px 8px;
  font-weight:600;
  color:#222;
  font-size:14px;
}

.breed-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

@media (max-width: 768px){
  .breed-grid{
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    justify-content: center;
    gap: 10px;
  }
}



/* ==========================================================
   SECTION NAME: MOBILE MENU UTILITIES + SITE BRAND LINK
   ----------------------------------------------------------
   PURPOSE:
   • Locks page scroll when mobile menu is open
   • Styles the banner logo/title link container (.site-brand)

   USED ON:
   • All pages with mobile nav
   • Site banner area

   CONNECTED SELECTORS:
   • body.menu-open (JS toggled)
   • .site-brand

   NOTES:
   • body.menu-open is toggled via JS when hamburger is active
   • Avoid using position: fixed on body to prevent scroll jump

   LAST UPDATED:
   2026-02-11
   ========================================================== */

/* Lock page scroll when mobile menu is open */
body.menu-open {
  overflow: hidden;
  height: 100vh;
  touch-action: none;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
}


/* ==========================================================
   SECTION NAME: ABOUT SECTION (ABOUT THE BREED / ABOUT PAGE)
   ----------------------------------------------------------
   Desktop: content always visible
   Mobile (≤768px): collapsed by default, expands via .expanded
   ========================================================== */

.about-breed-container {
  background-color: #f5f5f5;
  padding: 5px;
  border-top: 3px solid #ccc;
  border-radius: 8px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.about-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 15px;
}

/* Base visible content */
.about-breed-content {
  display: block;
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}

/* Toggle button */
.toggle-button {
  display: none;
  background-color: #555;
  color: #fff;
  padding: 8px 16px;
  border: none;
  margin-top: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
}

.toggle-button:hover {
  background-color: #333;
}

/* MOBILE (≤768px) */
@media (max-width: 768px) {

  .about-breed-content {
    display: none;
  }

  .about-breed-container.expanded .about-breed-content {
    display: block;
  }

  .toggle-button {
    display: block;
    margin: 10px auto 0;
    text-align: center;
  }
}

/* DESKTOP (≥768px) */
@media (min-width: 768px) {
  .about-breed-container .more-text {
    display: inline !important;
  }

  .about-breed-container .toggle-button {
    display: none !important;
  }
}

.about-breed-container.expanded .more-text {
  display: inline;
}

/* ==========================================================
   SECTION NAME: TOP NAV WRAPPER + SITE BANNER (STICKY HEADER)
   ----------------------------------------------------------
   PURPOSE:
   • Makes the entire top navigation area sticky at the top
   • Styles the dark header bar and blue accent line
   • Styles the site banner (logo + title) above the nav links
   • Prevents tiny horizontal overflow without breaking sticky/menus

   USED ON:
   • All pages (global header)

   CONNECTED SELECTORS:
   • #top-nav
   • .site-banner, .banner-content
   • .sexy-icon
   • .site-title
   • Mobile banner tweak: @media (max-width: 600px)

   DEPENDENCIES / NOTES:
   • #top-nav is sticky with z-index: 1000 (must stay above page content)
   • Keep overflow-y: visible so dropdown/controls can render correctly
   • If banner height changes, mobile dropdown top-offset may need adjustment

   LAST UPDATED:
   2026-02-11
   ========================================================== */
#top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #2c2c2c; /* Modern dark gray */
  border-bottom: 3px solid #0074d9; /* Vibrant blue accent */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Deeper shadow for depth */
  font-family: 'Arial', sans-serif;

  /* FIX: stop tiny horizontal scrollbar */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;   /* only hide horizontal overflow */
  overflow-y: visible;  /* keep vertical visibility for nav-toggle */
}



/* Banner */
.site-banner {
  background: linear-gradient(135deg, #222 0%, #333 100%); /* Subtle gradient */
  padding: 20px 0;
}
.banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.sexy-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
  transition: transform 0.3s ease; /* Smooth scaling on hover */
}
.sexy-icon:hover {
  transform: scale(1.1);
}
.site-title {
  color: #fff;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Subtle text shadow */
}

/* Mobile banner adjustments */
@media (max-width: 600px) {
  .sexy-icon {
    width: 35px;
    height: 35px;
  }
  .site-title {
    font-size: 1.6rem;
  }
}

/* ==========================================================
   SECTION NAME: SITE NAVIGATION (DESKTOP BASE + MOBILE MENU)
   ----------------------------------------------------------
   PURPOSE:
   Defines the main site navigation styling:
   • Desktop button-style nav links (default)
   • Hamburger toggle hidden on desktop
   • Mobile hamburger + fixed dropdown menu (mobile override below)

   USED ON:
   • All pages with the top navigation

   CONNECTED SELECTORS:
   • .nav-header
   • .nav-toggle
   • .nav-links
   • .nav-links.active
   • .nav-links li / a

   RESPONSIVE:
   • ≤768px: hamburger + fixed dropdown
   • ≤360px: slightly smaller sizing

   DEPENDENCIES / NOTES:
   • Mobile menu open state requires .nav-links.active (JS toggles class)
   • Mobile dropdown top offset (top: 96px) must match banner+header height
   • Z-INDEX STACKING (mobile):
       - .nav-toggle: 3000
       - .nav-header: 2500
       - .nav-links: 2000

   LAST UPDATED:
   2026-02-11
   ========================================================== */


/* =========================
   DESKTOP BASE (DEFAULT)
========================= */

/* Navigation header (desktop default) */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #e0e0e0;
  transition: color 0.3s ease, transform 0.3s ease;
  outline: none;
  line-height: 1;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  margin: 0 auto;
  list-style: none;
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
}

.nav-links li a {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #0074d9, #005bb5);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-links li a:hover {
  background: linear-gradient(135deg, #005bb5, #004080);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* =========================
   MOBILE NAVIGATION (≤768px)
========================= */
@media (max-width: 768px) {

  /* Show hamburger */
  .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    padding: 2px;
    position: relative;   /* required for z-index */
    z-index: 3000;
  }

  /* Mobile header alignment */
  .nav-header {
    justify-content: flex-start;
    min-height: 44px;
    padding: 6px 10px;
    position: relative;
    z-index: 2500;
    overflow-x: hidden;
  }

  /* Mobile dropdown (hidden by default) */
  .nav-links {
    display: none;
    flex-direction: column;

    position: fixed;
    top: 96px; /* sits below site banner + nav-header */
    left: 0;
    right: 0;

    padding: 8px 0;
    margin: 0;

    background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%);
    max-height: calc(100vh - 96px);

    overflow-y: auto;
    overflow-x: hidden;

    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    -webkit-overflow-scrolling: touch;

    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;

    z-index: 2000; /* dropdown layer */
  }

  /* Show menu when active */
  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  /* Mobile menu items */
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #444;
  }

  .nav-links li a {
    padding: 10px 0;
    background: none;
    color: #e0e0e0;
    width: 100%;
    display: block;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 0;
    box-shadow: none;              /* prevents desktop button shadow */
  }

  .nav-links li a:hover,
  .nav-links li a:focus {
    background: #444;
    color: #ffffff;
    transform: none;               /* prevents desktop lift */
  }
}


/* =========================
   VERY SMALL SCREENS (≤360px)
========================= */
@media (max-width: 360px) {

  .nav-toggle {
    font-size: 1.4rem;
  }

  .nav-header {
    padding: 6px 5px;
  }
}




/* ==========================================================
   SECTION NAME: BASE / FOUNDATION STYLES (GLOBAL)
   ----------------------------------------------------------
   PURPOSE:
   Establishes global defaults for layout and typography:
   • Full-height page layout
   • Wrapper flex layout to pin footer to bottom
   • Prevents tiny horizontal overflow issues
   • Preserves sticky positioning behavior (do NOT set overflow hidden on wrapper)

   USED ON:
   • Entire site (all pages)

   CONNECTED SELECTORS:
   • html, body
   • #wrapper
   • #content
   • body (base font sizing)
   • media query: ≥768px font scaling

   LAYOUT TYPE:
   Sticky-safe flex page wrapper (header + content + footer)

   RESPONSIVE:
   • ≥768px increases body font size and line-height for readability

   DEPENDENCIES / NOTES:
   • overflow-x:hidden is applied to html/body to prevent tiny horizontal scroll
   • #wrapper must remain overflow: visible so sticky elements can work
   • #content flex:1 pushes the footer down on short pages
   • Avoid referencing deprecated selectors (e.g., .breed-info) if removed

   LAST UPDATED:
   2026-02-11
   ========================================================== */

/* Global box-sizing reset (safe, prevents overflow bugs) */
*, *::before, *::after {
  box-sizing: border-box;
}

   
html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* ✅ Horizontal overflow protection (sticky-safe) */
html { overflow-x: hidden; }
body { overflow-x: visible; }

/* ✅ FIX: force a single vertical scroll container (prevents “double scrollbar” paint) */
html { overflow-y: auto; }
body { overflow-y: visible; height: auto; min-height: 100%; }


#wrapper {
  min-height: 100vh;  /* better than 100% when body height is auto */
  display: flex;
  flex-direction: column;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  overflow: visible; /* keep sticky working */
}
#content {
  flex: 1; /* push footer to bottom if content is short */
}



/*--- BASE FONT & TEXT SIZING ---*/
body {
  font-size: 16px;
  line-height: 1.6;
}

/* Larger text on wider screens */
@media (min-width: 768px) {
  body {
    font-size: 18px;
    line-height: 1.8;
  }

  #content p {
    font-size: 18px;
  }
}

/* ==========================================================
   SECTION NAME: PRODUCT GRID + PRODUCT CARDS (BASE SYSTEM)
   ----------------------------------------------------------
   PURPOSE:
   Core layout + styling for product listing grids and cards:
   • .calendar-grid layout (desktop default)
   • .calendar-box card styling
   • .product-title styling
   • Image sizing and safety overrides
   • Buy button styling + hover states
   • Default “push button to bottom” behavior for consistent cards

   USED ON:
   • All calendar product listing pages

   CONNECTED SELECTORS:
   • .calendar-grid
   • .calendar-box
   • .product-title
   • .calendar-box img
   • .buy-button / .secondary-buy-button / .category-button

   LAYOUT TYPE:
   Desktop default: flex-wrap grid with fixed-width cards (200px)

   RESPONSIVE / OVERRIDES:
   • Mobile 2×2 carousel override is defined in a separate section below
   • Single Product Hero Mode overrides are defined in a separate section below

   DEPENDENCIES / NOTES:
   • Card width is 200px base (images constrained to match)
   • Button pinning logic is handled in “CALENDAR GRID REFINEMENTS”
   • Keep this section above all mobile/hero overrides so overrides win cleanly

   LAST UPDATED:
   2026-02-11
   ========================================================== */

.calendar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.product-title {
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  margin: 8px 0;
}

/* Generic Calendar Boxes */
.calendar-grid .calendar-box {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  text-align: center;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 0 0 auto; /* Prevent stretching */
}


/* -----------------
   SIZE VARIANTS
----------------- */
.calendar-grid .calendar-box {
  width: 200px;
  max-width: 200px;
}

/* -----------------
   IMAGE STYLING
----------------- */
.calendar-box img {
  width: 100% !important;
  height: auto !important;
  max-width: 200px; /* Prevent image from exceeding box width */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: transform 0.3s ease;
}

.calendar-box img:hover {
  transform: scale(1.05);
}

/* -----------------
   TEXT & BUTTONS
----------------- */
.calendar-box h4,
.calendar-box p:not(.product-title) {
  margin: 10px 0;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.calendar-box .product-title {
  margin: 6px 0 6px;
}

.buy-button,
.category-button,
.secondary-buy-button {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-top: 0;          /* controlled below */
  margin-bottom: 10px;
  text-align: center;
  transition: background 0.3s;
}

.buy-button { background-color: #0074d9; }
.buy-button:hover { background-color: #005bb5; }

.secondary-buy-button { background-color: #28a745; }
.secondary-buy-button:hover { background-color: #218838; }

.category-button:hover { background-color: #005bb5; }

/* Ensure the last button doesn't add extra space at the bottom */
.calendar-box .buy-button:last-child,
.calendar-box .secondary-buy-button:last-child {
  margin-bottom: 0;
}

/* ==========================
   CALENDAR GRID REFINEMENTS
========================== */
.calendar-box img[style] {
  height: auto !important;
}

/* Keep buttons pinned to the bottom of the card (supports 1 or 2 buttons) */
.calendar-box .buy-button,
.calendar-box .secondary-buy-button {
  margin-top: 6px;
}

.calendar-box .buy-button:first-of-type {
  margin-top: auto;
}

/* But in DESKTOP single-product hero mode, don’t push it down */

@media (min-width: 769px) {
  .calendar-grid:has(.calendar-box:only-child) .buy-button:first-of-type {
    margin-top: 10px !important;
  }
}

/* ==========================================================
   SECTION NAME: MOBILE 2×2 PRODUCT CAROUSEL + FLOATING ARROWS
   ----------------------------------------------------------
   PURPOSE:
   Converts the product grid (.calendar-grid) into a horizontal
   mobile carousel showing 2 columns × 2 rows (4 cards visible)
   per “page”, with snap scrolling and overlay arrow controls.

   USED ON:
   • Product listing pages using:
     <div class="calendar-grid">
       <div class="calendar-box">...</div>
     </div>
   • Pages using:
     <div class="mobile-carousel-controls">
       <button class="carousel-arrow prev">...</button>
       <button class="carousel-arrow next">...</button>
     </div>

   CONNECTED SELECTORS:
   • .calendar-grid (mobile layout override)
   • .calendar-grid .calendar-box (snap alignment)
   • .mobile-carousel-controls
   • .carousel-arrow (.prev / .next)

   LAYOUT TYPE:
   Mobile-only CSS grid carousel (horizontal scroll + snap)

   RESPONSIVE:
   • ≤768px: 2×2 grid carousel layout (4 visible cards)
   • ≤480px: tighter columns/gaps for small phones
   • ≥769px: hides mobile arrow controls

   DEPENDENCIES / NOTES:
   • Requires JS to scroll the grid when arrows are pressed
   • Assumes mobile arrows are placed above .calendar-grid in HTML
   • Uses overflow-x scrolling and hides scrollbars
   • IMPORTANT: Must be ordered AFTER base .calendar-grid styles
     so mobile override takes effect cleanly
   • IMPORTANT: Coordinate with “Single Product Hero Mode”
     (:has(.calendar-box:only-child)) so single-item pages remain hero-style

   LAST UPDATED:
   2026-02-11
   ========================================================== */

@media (max-width: 768px) {
  .calendar-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 8px);   /* 2 columns */
    grid-template-rows: repeat(2, auto);  /* exactly 2 rows → 4 cards visible */
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 20px 10px 60px;              /* extra space so arrows don’t get cut off */
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: start;
    position: relative;
  }
  .calendar-grid::-webkit-scrollbar { display: none; }

  .calendar-grid .calendar-box {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    scroll-snap-align: start;
  }
}

/* Tiny phones */
@media (max-width: 480px) {
  .calendar-grid {
    grid-auto-columns: calc(50% - 6px);
    gap: 12px;
    padding: 20px 8px 60px;
  }
}



/* ——————— BEST-LOOKING MOBILE ARROWS (2025)– FINAL VERSION (floats over cards) ——————— */
.mobile-carousel-controls {
  position: relative;           /* back to relative (not absolute) */
  height: 0;
  pointer-events: none;
  margin: 0 0 20px 0;
  z-index: 10;
}

.carousel-arrow {
  pointer-events: all;
  position: absolute;
  top: 80%;                         /* ← tweak this % to move up/down 58% */
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(245,245,245,0.96); /* soft light gray */
  color: #222;
  border: 3px solid rgba(210,210,210,0.9);
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  z-index: 20;
  box-shadow:
    0 4px 8px rgba(0,0,0,0.25),
    0 10px 24px rgba(0,0,0,0.35);

  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.carousel-arrow.prev  { left: 12px; }
.carousel-arrow.next  { right: 12px; }

.carousel-arrow:hover,
.carousel-arrow:active {
  background: #f0f0f0;
  transform: translateY(-50%) scale(1.12);
  box-shadow:
    0 6px 14px rgba(0,0,0,0.35),
    0 18px 36px rgba(0,0,0,0.5);
}

@media (min-width: 769px) {
  .mobile-carousel-controls { display: none; }
}

/* ==========================================================
   SECTION NAME: GLOBAL FOOTER
   ----------------------------------------------------------
   PURPOSE:
   Defines styling and layout for the site footer including:
   • Background + typography styling
   • Centered layout container
   • Affiliate disclosure text formatting
   • Centered image handling (Amazon banners, SSL seals, etc.)
   • Utility spacing for tracking and badge elements

   USED ON:
   • All pages (global footer)

   CONNECTED SELECTORS:
   • footer
   • footer a
   • .footer-container
   • .footer-container img
   • .footer-container p
   • .statcounter-wrapper
   • .ssl-seal-wrapper

   LAYOUT TYPE:
   Centered flex column layout

   RESPONSIVE:
   • Naturally responsive due to flex column layout
   • Max-width constraints improve readability

   DEPENDENCIES / NOTES:
   • .footer-container must wrap all footer content
   • Designed to center affiliate banners and trust badges
   • Safe global section — low conflict risk

   LAST UPDATED:
   2026-02-11
   ========================================================== */
footer {
  background-color: #2b2b2b;
  color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #ffd700;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* This is the key part — centers everything properly */
.footer-container {
  max-width: 1000px;
  margin: 0 auto;                /* centers the whole block horizontally */
  display: flex;
  flex-direction: column;
  align-items: center;           /* centers all children horizontally */
  gap: 20px;                     /* clean spacing between items */
}

/* Make sure images (Amazon banner, SSL seal, etc.) are centered */
.footer-container img {
  display: block;
  margin: 0 auto;
}

/* Optional: make the long affiliate paragraph easier to read */
.footer-container p {
  max-width: 800px;
  line-height: 1.5;
  margin: 0 auto;
}

/* Give the tracking/seal wrappers a little breathing room */
.statcounter-wrapper,
.ssl-seal-wrapper {
  margin: 15px 0;
}

/* ==========================================================
   SECTION NAME: HEADING DECORATION UTILITIES (PAW ICONS)
   ----------------------------------------------------------
   PURPOSE:
   Provides decorative enhancements for page headings,
   including centered paw/logo images and inline paw icons.

   Used for:
   • Decorative image under H1
   • Inline paw icon next to headings or text

   USED ON:
   • Pages using:
       <div class="h1-decoration">
       <img ...>
   • Any element using .paw-icon

   CONNECTED CLASSES:
   • .h1-decoration
   • .h1-decoration img
   • .paw-icon

   LAYOUT TYPE:
   Visual enhancement utility (non-structural)

   RESPONSIVE:
   • Scales naturally (width-based sizing)
   • No breakpoint overrides required

   DEPENDENCIES / NOTES:
   • Hover animation adds subtle personality
   • Safe to reuse across the site
   • Independent from global H1 underline styling

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.h1-decoration {
  text-align: center;
  margin-top: 10px;
}

.h1-decoration img {
  width: 40px;          /* Size of paw icon */
  height: auto;
  opacity: 0.8;         /* Slight transparency */
  transition: transform 0.3s ease; /* Ensure smooth hover */
}

.h1-decoration img:hover {
  transform: scale(1.1) rotate(5deg);
}

.paw-icon {
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ==========================================================
   SECTION NAME: GLOBAL HEADINGS (H1 / H2 / H3 STYLING)
   ----------------------------------------------------------
   PURPOSE:
   Defines consistent typography styling for primary page
   headings across the site.

   Includes:
   • Centered H1 and H2 with decorative underline
   • Page-header container alignment helper
   • H3 hover-highlight utility
   • Responsive font-size adjustments

   USED ON:
   • All site pages
   • Homepage, breed pages, category pages, etc.

   CONNECTED SELECTORS:
   • h1
   • h2
   • h3 .hover-text
   • .page-header

   LAYOUT TYPE:
   Global typography styling (non-component)

   RESPONSIVE:
   • Smaller H1 and H2 font sizes under 768px

   DEPENDENCIES / NOTES:
   • H1 and H2 use decorative underline (::after)
   • Both are inline-block to center underline properly
   • Keep this section near the top of the stylesheet
   • Do not override casually — affects entire site

   LAST UPDATED:
   2026-02-11
   ========================================================== */

/* General page header container */
.page-header {
  text-align: center;
  margin-top: 20px;
}

/* Target H1 and H2 inside page-header */
.page-header h1,
.page-header h2 {
  color: #333;
  margin: 0; /* let global h1/h2 margins take effect */
}

/* ------------------ H1 ------------------ */
h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
               Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-size: 2rem;  /* 6-26-2025 */
  font-weight: 700;
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 30px auto 20px;
  color: #0074d9;
  line-height: 1.2;
}

h1::after {
  content: "";
  display: block;
  width: 60px;           /* underline width */
  height: 3px;           /* underline thickness */
  background-color: #0074d9;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ------------------ H2 ------------------ */
h2 {
  font-size: 1.4rem;     /* ~22px */
  text-align: center;
  position: relative;
  display: inline-block;
  margin: 30px auto 20px;
  color: #0074d9;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #0074d9;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ------------------ H3 Hover Text ------------------ */
h3 .hover-text {
  background-color: #002147;  /* Dark blue background */
  color: #ffffff;             /* White text */
  padding: 2px 8px;
  border-radius: 5px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

h3 .hover-text:hover {
  background-color: #004a79;                /* Lighter blue on hover */
  box-shadow: 0 0 15px rgba(0, 74, 123, 0.8); /* Glow effect */
  transform: scale(1.05);                   /* Slight enlargement */
}

/* ------------------ Responsive ------------------ */
@media (max-width: 768px) {
  h1 {
    font-size: 1.6rem; /* ~26px */
  }

  h2 {
    font-size: 1.2rem; /* ~19px */
  }
}


/* ==========================================================
   SECTION NAME: HOMEPAGE BASE STYLES (DOG-CALENDARS INDEX)
   ----------------------------------------------------------
   PURPOSE:
   Provides general layout styling for the homepage including:
   • Intro section alignment
   • H1 decoration image styling (paw/logo)
   • Homepage section wrapper spacing

   USED ON:
   • index.html (homepage)

   CONNECTED HTML CLASSES:
   • .homepage-intro
   • .h1-decoration img
   • .homepage-section

   LAYOUT TYPE:
   Simple spacing + centered text layout helpers

   RESPONSIVE:
   • No breakpoints required (inherits global responsive rules)

   DEPENDENCIES / NOTES:
   • This section intentionally stays lightweight
   • Thumbnail grids, carousels, and featured tiles are styled
     in their own dedicated component sections (separate blocks)

   LAST UPDATED:
   2026-02-11
   ========================================================== */

/* ---------------------------
   Homepage Intro Section
---------------------------- */
.homepage-intro {
  text-align: center;
  padding-bottom: 1.5rem;
}

/* ---------------------------
   H1 Decoration Image (e.g., paw icon)
---------------------------- */
.h1-decoration img {
  display: block;
  margin: 0.5rem auto;
  height: 32px;
}

/* ---------------------------
   Homepage Section Wrapper
---------------------------- */
.homepage-section {
  margin: 2rem auto;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* ==========================================================
   SECTION NAME: CONTENT SECTION BOX (HOMEPAGE BLOCKS)
   ----------------------------------------------------------
   PURPOSE:
   Provides a visually separated content container used
   to introduce homepage sections (e.g., New for 2026,
   Puppy Calendars, Not Just Dog Calendars).

   FEATURES:
   • Soft background panels
   • Rounded corners
   • Themed color variations
   • Centered layout with max-width
   • Responsive spacing adjustments

   USED ON:
   • Homepage (index.html)
   • Can be reused for landing pages or category intros

   CONNECTED HTML CLASSES:
   • .section-box (base container)
   • .blue-section (modifier)
   • .green-section (modifier)
   • .beige-section (modifier)

   LAYOUT TYPE:
   Centered content block with theme modifiers

   RESPONSIVE:
   • Reduced margin + padding on mobile
   • Slight font size reduction under 768px

   DEPENDENCIES / NOTES:
   • Works well above featured-grid or carousel sections
   • Modifier classes control theme color
   • Safe to reuse sitewide

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.section-box {
  border-radius: 12px;
  padding: 20px;
  margin: 30px auto;
  max-width: 900px;
  box-sizing: border-box;
  color: #333;
  font-size: 1rem;
  border: 2px solid transparent;
}

/* Custom Color Themes */
.blue-section {
  background-color: #e6f0ff;
  border-color: #99ccff;
}

.green-section {
  background-color: #eaffea;
  border-color: #99e699;
}

.beige-section {
  background-color: #fff3e0;
  border-color: #ffcc80;
}

/* Responsive Tuning for Section Box */
@media (max-width: 768px) {
  .section-box {
    margin: 20px 15px;
    padding: 15px;
    font-size: 0.95rem;
  }
}



/* ==========================================================
   SECTION NAME: SCROLLABLE THUMBNAIL CAROUSEL (BASE STYLES)
   ----------------------------------------------------------
   PURPOSE:
   Defines the base layout + styling for horizontal scrolling
   thumbnail rows used on index/hub pages.

   Includes:
   • scroll wrapper sizing + overflow behavior
   • horizontal thumbnail row (hidden scrollbar)
   • snap scrolling + smooth scroll
   • image styling + hover glow
   • caption styling

   USED ON:
   • Homepage “Best Sellers” sections
   • Index/hub pages with horizontal thumbnail rows

   CONNECTED HTML CLASSES:
   • .scroll-wrapper
   • .calendar-thumbnails
   • .calendar-thumbnails li
   • .calendar-thumbnails img
   • .calendar-thumbnails a p

   LAYOUT TYPE:
   Horizontal flex list with overflow-x scrolling + scroll-snap

   RESPONSIVE:
   • Item sizing adjustments handled in the “Arrows/Breakpoints”
     section (200px mobile, 160px small mobile, 33.33% tablet)

   DEPENDENCIES / NOTES:
   • Must pair with arrow styles + JS scroll behavior
   • Hides scrollbars (webkit + firefox + IE/edge legacy)
   • img[style]/[width]/[height] override prevents inline sizing conflicts
   • Hover glow adds a strong blue highlight (intentional)

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.scroll-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  padding: 0 2.5rem;
  box-sizing: border-box;
}

.calendar-thumbnails {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0 0.5rem;
  margin: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  width: 100%;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.calendar-thumbnails::-webkit-scrollbar {
  display: none;
}

.calendar-thumbnails li {
  flex: 0 0 auto;
  width: 200px;
  scroll-snap-align: start;
  box-sizing: border-box;
  text-align: center;
}

.calendar-thumbnails img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.calendar-thumbnails img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 15px rgba(0, 116, 217, 0.8);
}

.calendar-thumbnails a p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #000;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.calendar-thumbnails a:hover p {
  text-decoration: underline;
  color: #0074d9;
}

.calendar-thumbnails img[style], .calendar-thumbnails img[width], .calendar-thumbnails img[height] {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ==========================================================
   SECTION NAME: SCROLLABLE THUMBNAIL CAROUSEL (ARROW SYSTEM)
   ----------------------------------------------------------
   PURPOSE:
   Provides horizontal scrolling thumbnail rows with
   left/right arrow controls.

   Used for:
   • Best Sellers sections
   • Horizontal product showcases
   • Featured scrolling rows

   FEATURES:
   • Overlay arrow buttons (absolute positioned)
   • Hover-reveal arrows on desktop
   • Fixed-width scrolling items on mobile
   • Responsive item sizing (desktop/tablet/mobile)

   USED ON:
   • Homepage scroll sections
   • Any section using:
     <div class="scroll-wrapper">
       <ul class="calendar-thumbnails">
         <li>...</li>
       </ul>
     </div>

   CONNECTED HTML CLASSES:
   • .scroll-wrapper
   • .calendar-thumbnails
   • .calendar-thumbnails li
   • .scroll-btn
   • .scroll-btn.left / .scroll-btn.right

   LAYOUT TYPE:
   Horizontal flex carousel with absolute arrow controls

   RESPONSIVE:
   • Desktop (≥769px):
     - Arrows hidden until hover
   • Tablet (769px–1024px):
     - 3 items per screen (33.33%)
   • Mobile (≤768px):
     - Fixed 200px items
     - Arrows always visible
   • Small Mobile (≤480px):
     - 160px items
     - Smaller arrow buttons

   DEPENDENCIES / NOTES:
   • Requires JS to handle scroll behavior
   • Assumes .scroll-wrapper has position: relative
   • Arrows use opacity + pointer-events for hover reveal
   • Uses aspect-ratio for consistent square thumbnails

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 20;
  transition: opacity 0.3s, background 0.3s;
}

.scroll-btn:hover {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.6));
}

.scroll-btn.left {
  left: 0.5rem;
}

.scroll-btn.right {
  right: 0.5rem;
}

/* Desktop: hide arrows until hover */
@media (min-width: 769px) {
  .scroll-btn {
    opacity: 0;
    pointer-events: none;
  }
  .scroll-wrapper:hover .scroll-btn {
    opacity: 1;
    pointer-events: auto;
  }
}

/* Tablet (3 per screen) */
@media (max-width: 1024px) and (min-width: 769px) {
  .scroll-wrapper {
    padding: 0 2rem;
  }
  .calendar-thumbnails li {
    flex: 0 0 33.33%;
    width: 33.33%;
    max-width: 33.33%;
  }
  .calendar-thumbnails img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}

/* Mobile (fixed width) */
@media (max-width: 768px) {
  .scroll-wrapper {
    padding: 0 1rem; /* Reduced padding to minimize offset */
  }
  .calendar-thumbnails {
    gap: 0.5rem;
    padding: 0; /* Remove padding to align first item */
    justify-content: flex-start; /* Ensure items start at the left */
  }
  .scroll-wrapper .calendar-thumbnails li {
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;
  }
  .calendar-thumbnails img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .scroll-btn {
    opacity: 1;
    pointer-events: auto;
    font-size: 1.2rem;
    padding: 0.3rem 0.5rem;
  }
  .scroll-btn.left {
    left: 0.25rem;
  }
  .scroll-btn.right {
    right: 0.25rem;
  }
}

/* Small Mobile (430px and below) */
@media (max-width: 480px) {
  .scroll-wrapper .calendar-thumbnails li {
    flex: 0 0 160px;
    width: 160px;
    max-width: 160px;
  }
  .calendar-thumbnails img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .scroll-btn {
    font-size: 1rem;
    padding: 0.2rem 0.4rem;
  }
}

/* ==========================================================
   SECTION NAME: VARIATION BANNER (BASE COMPONENT)
   ----------------------------------------------------------
   PURPOSE:
   Displays a visual grid of related category tiles
   (image + label) used for cross-linking to related
   breeds, themes, or variations.

   Designed for:
   • “Explore More” sections
   • Breed variations (color, coat, puppies)
   • Related animal categories

   USED ON:
   • Breed pages
   • Category pages
   • Any page using the Variation Banner template

   CONNECTED HTML CLASSES:
   • .variation-banner
   • .variation-links
   • .variation-links a
   • .variation-links img
   • .variation-links p

   LAYOUT TYPE:
   Flexbox tile grid (fixed square thumbnails)

   RESPONSIVE:
   • Desktop: 200x200 tile layout
   • Mobile sizing adjustments handled in mobile override section
   • Badge overlay handled in enhancement section

   DEPENDENCIES / NOTES:
   • Images constrained to fixed square dimensions
   • Hover effect scales image slightly
   • Link label constrained to image width
   • img[style]/[width]/[height] override prevents inline sizing conflicts
   • Mobile overrides + badge overlay defined in separate section below

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.variation-banner {
  background-color: #f5f9ff;
  padding: 30px 20px;
  text-align: center;
  border-top: 3px solid #0074d9;
  border-bottom: 3px solid #0074d9;
  margin-top: 40px;
  box-sizing: border-box;
}

.variation-banner h3 {
  font-size: 1.4rem;
  color: #2b2b2b;
  margin: 0 0 20px;
}

.variation-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
}

.variation-links a {
  text-align: center;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  display: block;
  flex-shrink: 0;
  width: 200px;
  max-width: 200px;
}

.variation-links img {
  width: 200px;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.variation-links a:hover img {
  transform: scale(1.05);
}

.variation-links p {
  font-size: 1rem;
  color: #000;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  margin: 0 auto;
  text-align: center;
  max-width: 200px;
  overflow-wrap: break-word;
}

.variation-links a:hover p {
  text-decoration: underline;
  color: #0074d9;
}

.variation-links img[style],
.variation-links img[width],
.variation-links img[height] {
  width: 200px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: cover;
}


/* ==========================================================
   SECTION NAME: VARIATION BANNER – CATEGORY BADGE + TILE POLISH
   ----------------------------------------------------------
   PURPOSE:
   Styles Variation Banner tiles as compact clickable cards and:
   • Adds a “CATEGORY” badge overlay on each tile
   • Improves desktop presentation with spacing, hover feedback,
     rounded corners, and cleaner image display
   • Tightens spacing and forces consistent tile/image sizing
     on mobile and small mobile screens

   USED ON:
   • Any page using the Variation Banner component:
     <div class="variation-banner">
       <div class="variation-links">
         <a>...</a>
       </div>
     </div>

   CONNECTED HTML CLASSES:
   • .variation-banner
   • .variation-links
   • .variation-links a
   • .variation-links img
   • .variation-links p (or span, depending on your banner markup)

   LAYOUT TYPE:
   Flex tile grid with overlay badge (pseudo-element)

   RESPONSIVE:
   • Desktop/base:
     - Adds card-style padding, hover effect, rounded corners
     - Keeps flexible layout with standard gap
   • ≤768px:
     - Tiles/images constrained to 150x150
     - Reduced gaps and padding for compact layout
   • ≤480px:
     - Tiles/images constrained to 140x140
     - Even tighter gaps and padding

   DEPENDENCIES / NOTES:
   • Badge text currently hard-coded to "CATEGORY"
     (can be changed per site or replaced with an attribute later)
   • Uses !important for image sizing to override base banner styles
   • Requires .variation-links a { position: relative } for overlay
   • If your banner uses <span> instead of <p>, update the selector
   • CSS controls image sizing — no inline styles needed in HTML

   LAST UPDATED:
   2026-03-15
   ========================================================== */

.variation-links {
  gap: 14px;
}

.variation-links a {
  position: relative; /* enables overlay positioning */
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.variation-links a:hover {
  background: #f5f5f5;
  transform: translateY(-4px); /* slightly stronger lift */
  box-shadow: 0 6px 14px rgba(0,0,0,0.15); /* NEW */
}

.variation-links img {
  display: block;
  border-radius: 4px;
}

/* 🔥 Added polish (label styling improvement) */
.variation-links span {
  display: block;
  margin-top: 6px;
  font-weight: 600;
}

.variation-links a::before {
  content: attr(data-label);
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0, 116, 217, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Hide badge if no label exists */
.variation-links a:not([data-label])::before {
  display: none;
}

/* Default (blue) already exists */

.variation-links a[data-label=HOT]::before {
  background: rgba(217, 30, 24, 0.9); /* red */
}

.variation-links a[data-label=NEW]::before {
  background: rgba(46, 204, 113, 0.9); /* green */
}

.variation-links a[data-label=POPULAR]::before {
  background: rgba(241, 196, 15, 0.9); /* yellow */
  color: #000; /* better contrast */
}

.variation-links a[data-label=FEATURED]::before {
  background: rgba(155, 89, 182, 0.9); /* purple */
}

/* Mobile overrides */
@media (max-width: 768px) {
  .variation-links img {
    width: 150px !important;
    height: 150px !important;
  }

  .variation-links a {
    width: 150px;
    max-width: 150px;
  }

  .variation-links p,
  .variation-links span {
    max-width: 150px; /* Match image width on mobile */
  }

  .variation-links {
    gap: 10px; /* Reduced gap for mobile */
    justify-content: center;
  }

  .variation-banner {
    padding: 20px 10px;
  }
}


/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .variation-links img {
    width: 140px !important;
    height: 140px !important;
  }

  .variation-links a {
    width: 140px;
    max-width: 140px;
  }

  .variation-links p,
  .variation-links span {
    max-width: 140px; /* Match image width on small mobile */
  }

  .variation-links {
    gap: 8px;
  }

  .variation-banner {
    padding: 15px 5px;
    margin-top: 20px;
  }
}


/* ==========================================================
   SECTION NAME: BUTTON LINKS (DOG-CALENDARS HUB BUTTONS)
   ----------------------------------------------------------
   PURPOSE:
   Styles a centered row of large “button-style” links used
   for quick navigation to major dog-calendars.com sections
   (stores, puppies, dog calendar categories, etc.).

   USED ON:
   • Homepage
   • Hub/category landing pages (optional)

   CONNECTED HTML CLASSES:
   • .button-links
   • .button-link
   • .button-links h3

   LAYOUT TYPE:
   Inline-block button links inside a centered container

   RESPONSIVE:
   • Wraps naturally as screen width shrinks
   • No breakpoint required

   DEPENDENCIES / NOTES:
   • Uses transform scale hover effect
   • Visual style should stay consistent with other primary
     button styles (.buy-button / .category-button) if you
     choose to unify later

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.button-links {
  text-align: center;       /* Centers buttons horizontally */
  margin: 40px 0;           /* Adds spacing above and below the button group */
}

/* ---------------------------
   Individual Buttons
   - Link styled as a button
   - Blue background, white text, rounded corners
   - Smooth hover effects
---------------------------- */
.button-link {
  display: inline-block;    /* Makes the link behave like a block but inline */
  background-color: #0074d9; /* Primary blue color */
  color: #ffffff;           /* White text */
  padding: 12px 24px;       /* Vertical and horizontal padding */
  margin: 10px;             /* Spacing between buttons */
  font-size: 1.1rem;        /* Slightly larger font */
  font-weight: 600;         /* Semi-bold text */
  text-decoration: none;    /* Removes underline from link */
  border-radius: 6px;       /* Rounded corners */
  transition: background-color 0.3s, transform 0.3s; /* Smooth hover effect */
}

/* ---------------------------
   Hover effect for buttons
---------------------------- */
.button-link:hover {
  background-color: #005da8; /* Darker blue on hover */
  transform: scale(1.05);    /* Slight zoom effect */
}

/* ---------------------------
   Optional heading above button group
   - Usually used as a section title
---------------------------- */
.button-links h3 {
  font-size: 1.5rem;        /* Slightly larger heading text */
  color: #005da8;           /* Match the button hover color */
  margin-bottom: 20px;      /* Spacing below the heading */
}





/* ==========================================================
   SECTION NAME: BREADCRUMB NAVIGATION
   ----------------------------------------------------------
   PURPOSE:
   Displays hierarchical navigation path (Home > Category > Page)
   at the top of pages to improve usability and SEO structure.

   Provides:
   • Horizontal breadcrumb layout
   • Automatic ">" separators
   • Responsive wrapping on small screens

   USED ON:
   • Breed pages
   • Category pages
   • Store pages
   • Any page using breadcrumb navigation

   CONNECTED HTML CLASSES:
   • .breadcrumb
   • .breadcrumb ul
   • .breadcrumb li
   • .breadcrumb a

   LAYOUT TYPE:
   Flexbox horizontal navigation

   RESPONSIVE:
   • Desktop: Single horizontal row
   • Small screens: Wraps naturally using flex-wrap

   DEPENDENCIES / NOTES:
   • Separator arrow generated via li::after
   • Last breadcrumb item automatically removes arrow
   • Purely visual — does not affect structured data
     (schema markup handled separately if implemented)

   LAST UPDATED:
   2026-02-11
   ========================================================== */

.breadcrumb {
  font-size: 0.9rem;
  margin: 15px 0 25px;
}

.breadcrumb ul {
  list-style: none;          /* remove bullets */
  padding: 0;
  display: flex;             /* horizontal layout */
  flex-wrap: wrap;           /* allow wrapping on small screens */
  gap: 5px;                  /* spacing between items */
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li::after {
  content: ">";              /* separator arrow */
  padding: 0 8px;
  color: #999;
}

.breadcrumb li:last-child::after {
  content: "";               /* remove arrow on last item */
}

.breadcrumb a {
  color: #0074d9;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}


/* ==========================================================
   SECTION NAME: CALLOUT BOX COMPONENT
   ----------------------------------------------------------
   PURPOSE:
   Displays promotional or featured callout boxes
   (e.g., related calendars, spotlight products, themed promos)
   with thumbnail image + text content.

   Supports:
   • Single callout box
   • Two side-by-side callout boxes (desktop)

   USED ON:
   • Breed pages
   • Category pages
   • Promotional sections
   • Sexy-Calendars callout features
   • Dog-Calendars featured promos

   CONNECTED HTML CLASSES:
   • .callout-wrapper
   • .callout-container
   • .callout-box
   • .thumbnail-left
   • .callout-text

   LAYOUT TYPE:
   Flexbox card layout (2-column promo system)

   RESPONSIVE:
   • Desktop:
     - Up to two boxes side-by-side (50% width each)
   • ≤600px:
     - Stacks vertically
     - Image shrinks to 100px
     - Text centers

   DEPENDENCIES / NOTES:
   • Designed for reusable promotional blocks
   • Thumbnail image placed left of content
   • Can support 1 or 2 callouts per row
   • Remove duplicate mobile media query (see cleanup note)

   LAST UPDATED:
   2026-02-11
   ========================================================== */

.callout-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 25px;
}

.callout-container {
  display: flex;
  gap: 20px;
  max-width: 800px;
  width: 100%;
  flex-wrap: wrap;
}

.callout-box {
  display: flex;
  align-items: center;
  background-color: #fef9f4;
  border: 2px solid #ffd6d6;
  border-radius: 12px;
  padding: 20px;
  gap: 20px;
  width: calc(50% - 10px); /* Two items side by side with gap */
  box-sizing: border-box;
}

.thumbnail-left {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.callout-text {
  text-align: center;
}

.callout-text h3 {
  margin: 0;
  color: #cc3366;
}

.callout-text p {
  margin: 5px 0 0 0;
}

/* Responsive design for smaller screens */
@media (max-width: 600px) {
  .callout-container {
    flex-direction: column;
  }

  .callout-box {
    width: 100%; /* Full width on small screens */
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .thumbnail-left {
    width: 100px;
    margin-bottom: 10px;
  }
}


/* Optional: Clear float for very small screens */
@media (max-width: 600px) {
  .callout-box {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .thumbnail-left {
    width: 100px;
    margin-bottom: 10px;
  }
}


/* ==========================================================
   SECTION NAME: ALL-CALENDARS CATEGORY GRID
   ----------------------------------------------------------
   PURPOSE:
   Displays a flexible grid of category links on the
   “All Calendars” page (or similar hub pages).

   Designed for browsing multiple top-level categories
   in a clean, button-style layout.

   USED ON:
   • all-calendars.html
   • Any large hub page listing many categories

   CONNECTED HTML CLASSES:
   • .category-grid
   • .category-grid a

   LAYOUT TYPE:
   Flexbox wrap (button-style link grid)

   RESPONSIVE:
   • Desktop:
     - Horizontal wrapping layout
     - Centered grid with spacing
   • ≤600px:
     - Switches to vertical stacked layout
     - Links expand to 80% width and center

   DEPENDENCIES / NOTES:
   • Designed for high-level category navigation
   • Uses white-space: nowrap to prevent label wrapping
   • Hover includes subtle scale transform
   • Separate from .category-quick-grid (different use case)

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.category-grid a {
  display: inline-block;
  padding: 12px 16px;
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #333;
  white-space: nowrap;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.category-grid a:hover {
  background-color: #e6e6e6;
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .category-grid {
    flex-direction: column;
    align-items: center;
  }

  .category-grid a {
    width: 80%;
    text-align: center;
  }
}



/* ==========================================================
   SECTION NAME: ANIMAL LISTS + MOBILE DROPDOWN (A–Z INDEX)
   ----------------------------------------------------------
   PURPOSE:
   Provides a unified A–Z animal navigation system:
   • Desktop: 4-column alphabetical list using CSS columns
   • Mobile: Replaces the long list with a <select> dropdown

   USED ON:
   • animals-a-k.html
   • animals-l-z.html
   • Any Animals A–Z index-style page with long lists

   CONNECTED HTML CLASSES:
   • .animal-list-columns-4col
   • .animal-list-columns-4col ul / li / a
   • .animal-dropdown-mobile
   • .animal-list-select

   LAYOUT TYPE:
   • Desktop: CSS columns (column-count: 4)
   • Mobile: Dropdown select (custom arrow via SVG data URI)

   RESPONSIVE:
   • Desktop: 4 columns (column-count: 4)
   • ≤768px:
     - Hide the desktop list container
     - Show the dropdown container
   • ≤480px:
     - Slightly smaller padding + font-size for select
   • ≤600px:
     - Optional typography scaling for headings/links (see notes)

   DEPENDENCIES / NOTES:
   • Uses a single <ul> list and CSS columns (easy HTML maintenance)
   • break-inside avoids awkward splits across columns
   • The dropdown hides the desktop list entirely on mobile
   • Contains optional heading styles (h2/h3) scoped inside this container
   • Consider consolidating breakpoint typography rules (see notes below)

   LAST UPDATED:
   2026-02-11
   ========================================================== */

/* Desktop 4-column list (single <ul> with CSS columns) */
.animal-list-columns-4col {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 40px;
}

.animal-list-columns-4col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 4;
  column-gap: 2rem;
}

.animal-list-columns-4col li {
  break-inside: avoid;
  margin: 4px 0;
}

/* Section headings inside the list (optional helper class) */
.animal-list-columns-4col .letter-heading {
  margin: 14px 0 6px;
}

/* Heading style for list section labels */
.animal-list-columns-4col li strong {
  display: block;
  margin: 12px 0 4px;
  font-size: 1.05rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 2px;
  color: #333;
}

/* Optional headings (if you use h2/h3 above lists) */
.animal-list-columns-4col h2 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
  color: #000;
}

.animal-list-columns-4col h3 {
  font-size: 1.5em;
  margin: 30px 0 10px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  color: #444;
}

/* Link styles */
.animal-list-columns-4col a {
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  color: #005da8;
  transition: color 0.3s ease;
}

.animal-list-columns-4col a:hover {
  color: #003d6b;
  text-decoration: underline;
}

/* --------------------------
   Mobile Dropdown
-------------------------- */
.animal-dropdown-mobile,
.animal-list-select {
  display: none; /* Hidden by default */
  box-sizing: border-box;
}

.animal-dropdown-mobile {
  position: relative;
  overflow: visible;
}

.animal-list-select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 10px 35px 10px 10px; /* room for arrow */
  font-size: 1rem;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;

  /* remove default arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* custom arrow */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"><path fill="%23333" d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
}

@media (max-width: 768px) {
  /* Hide desktop list on mobile */
  .animal-list-columns-4col {
    display: none;
  }

  /* Show dropdown on mobile */
  .animal-dropdown-mobile {
    display: block;
    width: 100%;
    max-width: calc(100% - 20px);
    margin: 0 auto 1rem;
    padding: 0 10px;
  }

  .animal-list-select optgroup {
    font-weight: bold;
    color: #333;
    padding: 4px 0;
  }

  .animal-list-select optgroup option {
    padding-left: 10px;
  }
}

@media (max-width: 480px) {
  .animal-list-select {
    padding: 8px 35px 8px 10px;
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .animal-list-columns-4col h2 {
    font-size: 1.5em;
  }

  .animal-list-columns-4col h3 {
    font-size: 1.2em;
  }

  .animal-list-columns-4col a {
    font-size: 1rem;
  }
}



/* ==========================================================
   SECTION NAME: FUN FACT CALLOUT BOX
   ----------------------------------------------------------
   PURPOSE:
   Displays a styled “Fun Fact” informational callout box
   with icon + text content (typically 3 bullet points).

   Designed to highlight engaging educational content
   on breed, animal, or category pages.

   USED ON:
   • Dog breed pages
   • Animal category pages
   • Example: Monkeys page
   • Any page using the standardized Fun Fact HTML structure

   CONNECTED HTML CLASSES:
   • .fun-fact-wrapper
   • .fun-fact-box
   • .fun-fact-icon
   • .fun-fact-text

   LAYOUT TYPE:
   Flexbox card layout (icon + text side-by-side)

   RESPONSIVE:
   • Desktop:
     - Horizontal layout (icon + content)
     - Max width 800px, centered
   • ≤600px:
     - Stacks vertically
     - Reduced padding + smaller icon

   DEPENDENCIES / NOTES:
   • Designed to work with standardized HTML format:
     <!-- FUN FACT CALLOUT BOX: [NAME] | Added: YYYY-MM-DD -->
   • Supports both paragraph and bullet list formats
   • Centered wrapper prevents full-width stretching
   • Safe reusable component across site

   LAST UPDATED:
   2026-02-11
   ========================================================== */


/* ==========================================================
   FUN FACT CALLOUT BOX (Professional / Editorial)
   ========================================================== */

.fun-fact-wrapper{
  display:flex;
  justify-content:center;
  margin: 18px 0 28px;
  padding: 0 12px; /* prevents edge-to-edge on small screens */
}

.fun-fact-box{
  display:flex;
  align-items:flex-start;
  gap: 16px;

  max-width: 820px;
  width:100%;
  box-sizing:border-box;

  background: #f8fafc;                 /* near-white slate */
  border: 1px solid #e2e8f0;           /* subtle border */
  border-left: 6px solid #2563eb;      /* accent bar */
  border-radius: 14px;
  padding: 18px 18px;

  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.fun-fact-icon{
  font-size: 1.35rem;
  line-height: 1;

  /* icon badge */
  width: 44px;
  height: 44px;
  display:flex;
  align-items:center;
  justify-content:center;

  background: #eef2ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  flex: 0 0 44px;
}

.fun-fact-text{
  text-align:left;                     /* more professional */
  flex: 1;
}

.fun-fact-text h3{
  margin: 0 0 6px;
  color: #0f172a;                      /* slate-900 */
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.fun-fact-text p{
  margin: 6px 0 0;
  color: #334155;                      /* slate-700 */
  font-size: 0.98rem;
  line-height: 1.5;
}

.fun-fact-text ul{
  margin: 8px 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.5;
}

.fun-fact-text li{
  margin: 6px 0;
}

/* Mobile */
@media (max-width: 600px){
  .fun-fact-box{
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .fun-fact-icon{
    width: 42px;
    height: 42px;
    flex-basis: auto;
  }
}

/* ==========================================================
   SECTION NAME: HIGHLIGHTED LINKS BAR
   ----------------------------------------------------------
   PURPOSE:
   Displays a contextual row of related links
   (e.g., "Explore More Dachshund Calendars").

   USED ON:
   • Breed pages
   • Category pages

   CONNECTED HTML CLASSES:
   • .highlighted-links-bar
   • .highlighted-links-bar a

   LAYOUT TYPE:
   Styled link callout bar with bullet separators

   RESPONSIVE:
   • Same structure desktop + mobile

   DEPENDENCIES / NOTES:
   • Bullet separators created using a + a::before
   • Soft shadow for card-style separation
   • Does NOT control product card layout

   LAST UPDATED:
   2026-02-11
   ========================================================== */
.highlighted-links-bar {
  background-color: #f3f9ff;
  border-left: 6px solid #4da6ff;
  padding: 14px 16px;               /* slightly more padding to accommodate shadow */
  margin: 20px 0;
  font-size: 1em;
  line-height: 1.6;
  border-radius: 0 8px 8px 0;        /* optional: rounded corners on the right */

  /* Soft card-like shadow for the whole bar */
  box-shadow: 0 4px 14px rgba(0, 90, 179, 0.12);
}

.highlighted-links-bar a {
  margin: 0 6px;
  color: #0059b3;
  text-decoration: none;
  font-weight: 600;
}

.highlighted-links-bar a:hover {
  text-decoration: underline;
}

.highlighted-links-bar a + a::before {
  content: "•";
  margin: 0 8px;
  color: #8fbce6;
}


/* ==========================================================
   SECTION NAME: CALENDAR PRODUCT CARDS (PERFECT CARDS – 2026)
   ----------------------------------------------------------
   PURPOSE:
   Creates consistent, “perfect height” calendar product cards
   by forcing .calendar-box into a vertical flex layout so
   titles and buttons align cleanly across the grid.

   Ensures:
   • Cards are equal height
   • Buy buttons sit consistently near the bottom
   • Titles clamp cleanly without being cut off
   • Hover effects add lift + image zoom for polish

   USED ON:
   • Any page using the standard product grid:
     <div class="calendar-grid"> with <div class="calendar-box">

   CONNECTED HTML CLASSES:
   • .calendar-box
   • .product-title
   • .buy-button
   • .secondary-buy-button

   LAYOUT TYPE:
   Flex column card layout (fixed height per breakpoint)

   RESPONSIVE:
   • Desktop: 395px tall cards
   • Mobile ≤768px: 355px tall cards
   • Small phones ≤480px: 340px tall cards

   TITLE CLAMP LOGIC:
   • Default: 2 lines max
   • Desktop only: allows 3 lines IF there is no
     .secondary-buy-button inside the card

   DEPENDENCIES / NOTES:
   • Uses :has() for the “3-line title when single button” rule
   • Button margins use !important to override inherited spacing
   • Hover effects assume images exist inside .calendar-box
   • For single-product hero layouts, HERO MODE rules override this

   LAST UPDATED:
   2026-02-11
   ========================================================== */

.calendar-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 395px;                    /* desktop – gorgeous tall cards */
  padding: 12px 12px 20px;
  box-sizing: border-box;
}

.calendar-box .buy-button,
.calendar-box .secondary-buy-button {
  margin: 10px auto 0 !important;
  display: block;
}

/* ——————— MOBILE: shorter, sexier cards ——————— */
@media (max-width: 768px) {
  .calendar-box {
    height: 355px;                  /* ← NEW perfect mobile height */
    padding: 12px 10px 16px;
  }
}
@media (max-width: 480px) {
  .calendar-box {
    height: 340px;                  /* ← tiny phones */
  }
}

/* ——————— TITLES: never half-cut, ever ——————— */
.product-title {
  margin: 8px 6px !important;
  padding: 0 4px;
  font-size: 16px;
  line-height: 1.35em !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  max-height: 2.7em;
}

/* Desktop only: allow 3 lines when there’s just one button */
@media (min-width: 769px) {
  .calendar-box:not(:has(.secondary-buy-button)) .product-title {
    -webkit-line-clamp: 3;
    max-height: 4.05em;
  }
}

/* ——————— 2026 HOVER MAGIC ——————— */
.calendar-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.22);
  transition: all 0.38s cubic-bezier(0.25,0.8,0.25,1);
  z-index: 10;
}
.calendar-box:hover img {
  transform: scale(1.07);
  transition: transform 0.6s ease;
}

/* On Mobile Changes color of Calendar Card Slightly */
/* Mobile-only soft background to reduce visual heaviness */
@media (max-width: 768px) {
  .calendar-box { background: #fbfbfb; }
}


/* ==========================================================
   SECTION NAME: SINGLE PRODUCT HERO MODE
   ----------------------------------------------------------
   PURPOSE:
   Displays a larger, centered “hero-style” layout when
   only ONE .calendar-box exists inside .calendar-grid.

   Overrides the default multi-product 200px image layout
   and removes product title clamping.

   USED ON:
   • Any calendar page that contains only one product
   • Automatically activates — no HTML changes required

   CONNECTED HTML CLASSES:
   • .calendar-grid
   • .calendar-box
   • .product-title
   • .buy-button

   LAYOUT TYPE:
   Conditional layout override using :has() selector

   RESPONSIVE:
   • Mobile (≤768px):
     - Converts grid to block layout
     - Enlarges image cleanly
     - Removes title clamp
     - Enlarges Buy button

   • Desktop (≥769px):
     - Converts grid to centered flex layout
     - Displays larger centered hero image
     - Prevents oversized/cropped square images
     - Tightens Buy button spacing

   DEPENDENCIES / NOTES:
   • Requires browser support for :has()
   • Uses !important to override base image sizing
   • Only activates when exactly one .calendar-box exists
   • Safe — does NOT affect multi-product grids
   • Overrides base product title line-clamp rules

   LAST UPDATED:
   2026-05-22
========================================================== */

/* MOBILE (≤768px) */
@media (max-width: 768px) {

  .calendar-grid:has(.calendar-box:only-child) {
    display: block;
    overflow-x: visible;
    padding: 20px 12px 32px;
  }

  .calendar-grid:has(.calendar-box:only-child) .calendar-box {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    text-align: center;
    justify-content: flex-start;
  }

  .calendar-grid:has(.calendar-box:only-child) img {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: block;
  }

  /* HERO FIX: allow full title (disable 2-line clamp) */
  .calendar-grid:has(.calendar-box:only-child) .product-title {
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    overflow: visible !important;
    text-overflow: initial !important;
    max-height: none !important;
    white-space: normal !important;
  }

  .calendar-grid:has(.calendar-box:only-child) .buy-button {
    font-size: 1.1rem;
    padding: 12px 24px;
    margin-top: 12px !important;
  }
}

/* DESKTOP (≥769px) */
@media (min-width: 769px) {

  .calendar-grid:has(.calendar-box:only-child) {
    display: flex;
    justify-content: center;
    padding: 30px 20px 45px;
  }

  .calendar-grid:has(.calendar-box:only-child) .calendar-box {
    width: 100%;
    max-width: 440px;
    text-align: center;
    justify-content: flex-start;
  }

  .calendar-grid:has(.calendar-box:only-child) img {
    width: 100% !important;
    max-width: 380px !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto 12px;
    border-radius: 12px;
    display: block;
  }

  .calendar-grid:has(.calendar-box:only-child) .product-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }

  .calendar-grid:has(.calendar-box:only-child) .buy-button {
    margin-top: 4px !important;
    align-self: center;
  }
}
/* ==========================================================
   SECTION NAME: LETTER JUMP NAVIGATION BAR
   ----------------------------------------------------------
   PURPOSE:
   Displays a horizontal "jump-to-letter" navigation bar 
   used for quickly navigating long alphabetical lists 
   (e.g., Dogs A–Z sections).

   USED ON:
   • dogs.html
   • dogs-a-b.html
   • dogs-c-g.html
   • Any A–Z index-style page

   CONNECTED HTML CLASSES:
   • .letter-jump
   • .letter-jump strong
   • .letter-jump a

   LAYOUT TYPE:
   Inline link bar (block container with inline-block links)

   RESPONSIVE:
   • Desktop: Centered letter links with spacing
   • Mobile: Naturally wraps onto multiple lines
   • No breakpoint required (flexible wrapping layout)

   DEPENDENCIES / NOTES:
   • Designed for alphabetical filtering/navigation
   • Uses inline-block links to allow wrapping
   • Safe reusable component across category index pages
   • Styled to visually separate from product grids

   LAST UPDATED:
   2026-02-11
   ========================================================== */

.letter-jump{
  background:#fff7e8;
  border:1px solid #ffd9a6;
  padding:10px 12px;
  border-radius:10px;
  margin:14px 0 18px;
  text-align:center;
}

.letter-jump strong{
  margin-right:8px;
  color:#333;
}

.letter-jump a{
  display:inline-block;
  margin:4px 6px;
  padding:6px 10px;
  border-radius:8px;
  background:#fff;
  border:1px solid #e6e6e6;
  text-decoration:none;
  font-weight:700;
  color:#0074d9;
}

.letter-jump a:hover{
  text-decoration:underline;
}


/* ==========================================================
   SECTION NAME: FEATURED CAT CALENDAR GRID
   ----------------------------------------------------------
   PURPOSE:
   Displays the "Featured Cat Calendars" section as a 
   responsive card-style image grid above the main breed grid.

   USED ON:
   • cats.html

   CONNECTED HTML CLASSES:
   • .featured-heading
   • .featured-grid
   • .featured-tile

   LAYOUT TYPE:
   CSS Grid (auto-fit responsive tiles)

   RESPONSIVE:
   • Desktop: Auto-fit tiles between 180px–220px wide
   • Mobile: 2-column layout below 768px

   DEPENDENCIES / NOTES:
   • Uses aspect-ratio: 1/1 for square images
   • Hover lift effect for visual depth
   • Designed for category highlights (not product grid)

   LAST UPDATED:
   2026-02-11
   ========================================================== */

.featured-heading{
  margin: 10px 0 12px;
  font-size: 1.2rem;
  text-align: center;
}

/* Optional: helps Featured feel like a distinct section */
.featured-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;

  /* NEW: subtle section treatment */
  padding: 12px 10px;
  border-radius: 14px;
}

.featured-tile{
  display: block;
  text-align: center;
  background: #fffdf8;
  border: 2px solid #ffe1a8;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}

.featured-tile img{
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;

  /* CHANGED: tile already rounds + clips; this keeps the image clean */
  border-radius: 0;
}

.featured-tile span{
  display: block;
  padding: 10px 8px;
  font-weight: 700;
  color: #222;
}

.featured-tile:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

/* Mobile */
@media (max-width: 768px){
  .featured-grid{
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 10px;

    /* keep the section padding consistent on mobile */
    padding: 10px 8px;
  }
}


/* ==========================================================
   SECTION NAME: CATEGORY QUICK GRID (INLINE CATEGORY LINKS)
   ----------------------------------------------------------
   PURPOSE:
   Provides a clean, prominent grid of quick-access category links.
   Used for highlighting related sections or sub-categories in
   a compact, button-style layout.

   FEATURES:
   • Flex-based wrapping layout
   • Prominent rounded “pill” buttons
   • Bold typography for emphasis
   • Subtle hover background + border highlight
   • Centering utility class for standalone link groups

   USED ON: Animals A-L - K - Z (Not Currently used) ****************************************************NOTE - COULD BE DELETED
   • Category hub pages
   • Breed or animal index pages
   • Mid-page quick navigation sections
   • Anywhere a small group of featured links is needed

   CONNECTED SELECTORS:
   • .category-quick-grid
   • .category-quick-grid a
   • .center-links (optional alignment utility)

   LAYOUT TYPE:
   Desktop: Flexible multi-row wrapping button grid
   Mobile: Naturally stacks via flex-wrap (no override required)

   DEPENDENCIES / NOTES:
   • Uses flex-wrap to prevent overflow
   • Designed to visually differ from product cards
   • Keep above Variation Banner section in CSS hierarchy
   • Works well paired with H2 section headings

   LAST UPDATED:
   2026-02-13
   ========================================================== */

.category-quick-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content: center;
  gap:14px;
  margin:20px 0 24px;
}

.category-quick-grid a{
  display:inline-block;
  padding:14px 18px;
  border-radius:12px;
  border:1px solid #e6e6e6;
  background:#fff;
  text-decoration:none;
  font-weight:800;
  color:#0074d9;
  font-size:1.05rem;
}

.category-quick-grid a:hover{
  background:#f3f8ff;
  border-color:#cfe4ff;
}

.center-links {
  text-align: center;
  margin-top: 20px;
}

/* ==========================================================
   SECTION NAME: DESKTOP HERO (Mobile-First Single Product Layout)
   ----------------------------------------------------------
   PURPOSE:
   Modern hero layout for single-product pages:
   • Mobile: stacked layout (image → title → buttons → blurb)
   • Desktop: side-by-side layout (image left, content right)
   • Fully isolated from .calendar-grid system
   • No :has(), no flex overrides, no interference

   USED ON:
   • Single-product pages only
   • Requires manual HTML wrapper:
     <section class="desktop-hero">
       <div class="desktop-hero-card">...</div>
     </section>

   ARCHITECTURE NOTES:
   • Mobile-first approach
   • Desktop enhancement at ≥769px
   • Does NOT affect multi-product grids
   • Safe to place near end of stylesheet

   LAST UPDATED:
   2026-02-14
   ========================================================== */


/* ==========================================================
   MOBILE (Default)
   ----------------------------------------------------------
   • Stacked layout
   • Full-width image
   • Centered buttons
   ========================================================== */

.desktop-hero {
  display: block;
  padding: 20px 14px 10px;
}

.desktop-hero-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.10);
  padding: 16px;

  display: grid;
  grid-template-columns: 1fr;  /* stacked */
  gap: 14px;
}

.desktop-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.desktop-hero-media {
  border-radius: 14px;
  overflow: hidden;
}

.desktop-hero-title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  line-height: 1.2;
  text-align: center;
}

.desktop-hero-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.desktop-hero-buttons .buy-button,
.desktop-hero-buttons .secondary-buy-button {
  width: 100%;
  max-width: 360px;
  justify-self: center;
  margin: 0; /* override base spacing safely */
  padding: 12px 18px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.desktop-hero-blurb {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #333;
  text-align: center;
}


/* ==========================================================
   DESKTOP ENHANCEMENT (≥769px)
   ----------------------------------------------------------
   • Side-by-side layout
   • Larger image
   • Left-aligned content
   ========================================================== */

@media (min-width: 769px) {

  .desktop-hero {
    padding: 40px 20px 10px;
  }

  .desktop-hero-card {
    max-width: 980px;
    margin: 0 auto 18px;
    padding: 26px;

    grid-template-columns: 420px 1fr; /* image + content */
    gap: 26px;
    align-items: center;
  }

  .desktop-hero-media img {
    height: 420px;
    aspect-ratio: auto;
  }

  .desktop-hero-title {
    font-size: 1.8rem;
    text-align: left;
  }

  .desktop-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;  /* ← ADD THIS */
    gap: 12px;
  }

  .desktop-hero-buttons .buy-button,
  .desktop-hero-buttons .secondary-buy-button {
    width: auto;
    max-width: none;
  }

  .desktop-hero-blurb {
    font-size: 1.05rem;
    text-align: left;
  }
}

/* ==========================================================
   PREMIUM HERO ENHANCEMENT (Subtle + Brand-Aligned)
   ----------------------------------------------------------
   Adds:
   • Subtle left accent stripe (brand blue)
   • Gentle image zoom on hover
   • Soft card lift on hover
   • Zero layout interference

   Safe: Only affects .desktop-hero
   ========================================================== */


/* --- Brand Accent Stripe --- */
.desktop-hero-card {
  border-left: 6px solid #0074d9;  /* Brand blue accent */
}


/* --- Subtle Card Lift on Hover (Desktop Only) --- */
@media (min-width: 769px) {

  .desktop-hero-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .desktop-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.14);
  }

}


/* --- Gentle Image Zoom (Controlled + Premium Feel) --- */
.desktop-hero-media img {
  transition: transform 0.4s ease;
}

@media (min-width: 769px) {

  .desktop-hero-media img:hover {
    transform: scale(1.035);
  }
}

/* ==========================================================
   SECTION NAME: PRODUCTS SECTION HEADER
   ----------------------------------------------------------
   PURPOSE:
   • Visually separates hero from product grid
   • Adds subtle divider line
   • Reinforces keyword structure (H2)
   • Reusable across all category pages

   LAST UPDATED:
   2026-02-21
   ========================================================== */

.products-section-header {
  text-align: center;
  margin: 40px 0 20px;
  position: relative;
}

.products-section-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  display: inline-block;
  padding: 0 18px;
  background: #fff;
  position: relative;
  z-index: 1;
}

/* Subtle divider line behind heading */
.products-section-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e6e6e6;
  transform: translateY(-50%);
  z-index: 0;
}

/* ==========================================================
   SECTION NAME: FEATURED SECTION HEADER
   ----------------------------------------------------------
   PURPOSE:
   • Introduces the primary featured product (hero)
   • Visually separates page title from hero section
   • Softens H2 styling so it doesn't compete with H1

   LAST UPDATED:
   2026-02-21
   ========================================================== */

.featured-section-header {
  text-align: center;
  margin: 22px 0 15px;
}

/* Override global H2 styling so it doesn't compete with H1 */
.featured-section-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

/* Override global underline (do not rely on global ::after) */
.featured-section-header h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: #e6e6e6;
  margin: 10px auto 0;
  border-radius: 2px;
}

/* ==========================================================
   SPACING: H1 → FEATURED HEADER
   ----------------------------------------------------------
   Purpose: Fine-tunes spacing ONLY when featured header
   immediately follows the page H1.
   LAST UPDATED: 2026-02-21
   ========================================================== */

h1 + .featured-section-header {
  margin-top: 26px; /* adjust 18–32px to taste */
}


/* ==========================
   PRODUCT OVERLAY BADGES
   ========================== */

.calendar-box {
  position: relative;
}

/* Base badge style */
.calendar-box::before {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  line-height: 1;
  pointer-events: none;
}

/* 2027 New Year Badge */
.calendar-box.new-year::before {
  content: "2027";
  background: #e10600;
}

.calendar-box.old-year::before {
  content: "2026";
  background: #2e7d32;
}

/* Popular Badge */
.calendar-box.popular::before {
  content: "POPULAR";
  background: #ff9800;
}

/* Featured Badge */
.calendar-box.featured::before {
  content: "FEATURED";
  background: #2e7d32;
}

/* Best Seller Badge */
.calendar-box.best-seller::before {
  content: "BEST SELLER";
  background: #d84315;
}

/* Sale / Deal Badge */
.calendar-box.sale::before {
  content: "SALE";
  background: #2e7d32;
}

/* Limited / Almost Gone Badge */
.calendar-box.limited::before {
  content: "LIMITED";
  background: #6a1b9a;
}

/* Top Pick Badge */
.calendar-box.top-pick::before {
  content: "TOP PICK";
  background: #1976d2;
}
/* ==========================================================
   SECTION NAME: ABOUT SECTION (DETAILS / SUMMARY TOGGLE)
   ----------------------------------------------------------
   PURPOSE:
   Collapsible informational section used on species and
   category pages to provide supporting background content.

   FEATURES:
   • Styled summary bar
   • Custom rotating arrow
   • Clean bordered content panel
========================================================== */

.about-breed-container{
  margin:30px 0;
}

.about-toggle summary{
  font-weight:600;
  cursor:pointer;
  padding:10px 14px;
  background:#f6f6f6;
  border:1px solid #e2e2e2;
  border-radius:6px;
  list-style:none;
  display:block;
  font-size:1.05rem;
}

.about-toggle summary:hover{
  background:#eeeeee;
}

/* Remove default browser marker */
.about-toggle summary::-webkit-details-marker{
  display:none;
}

.about-toggle summary::marker{
  content:"";
}

/* Custom arrow */
.about-toggle summary::before{
  content:"▶";
  display:inline-block;
  margin-right:8px;
  font-size:0.8rem;
  transition:transform .2s ease;
}

/* Open state */
.about-toggle[open] summary{
  border-bottom:1px solid #e2e2e2;
  border-bottom-left-radius:0;
  border-bottom-right-radius:0;
}

.about-toggle[open] summary::before{
  transform:rotate(90deg);
}

.about-toggle p{
  padding:14px;
  border:1px solid #e2e2e2;
  border-top:none;
  border-bottom-left-radius:6px;
  border-bottom-right-radius:6px;
  margin:0;
  background:#fff;
}

/* CATEGORY BACKLINK */
.category-backlink{
  margin:18px 0 24px;
  font-size:0.98rem;
}

/* CATEGORY LINKS */
.category-links{
  margin:18px 0 26px;
  font-size:0.95rem;
}

/* =========================================
   SECTION SPACING – ANIMALS HUB GROUPS
========================================= */

.animals-section{
  margin-top:40px;
}

.animals-section:first-of-type{
  margin-top:10px;
}

/* =========================================
   ANIMAL HUB SECTION HEADINGS
========================================= */

.animals-section h3{
  border-bottom:2px solid #e6e6e6;
  padding-bottom:6px;
  margin-bottom:16px;
}

/* ==========================================================
   SECTION NAME: PAGE INTRO EXPANSION (READ MORE TOGGLE)
   ----------------------------------------------------------
   PURPOSE:
   Allows long page introduction text to remain SEO-friendly
   while reducing visual clutter on mobile devices.

   HOW IT WORKS:
   The first paragraph of the intro is always visible.
   Additional paragraphs are hidden inside a <details>
   element and revealed when the user clicks the
   "Read more" summary link.

   USED ON:
   • Hub pages with longer introductory text
   • Animals hub
   • Category overview pages

   HTML STRUCTURE:
   <section class="page-intro">
     <p>Visible intro paragraph</p>
     <details class="intro-toggle">
       <summary>Read more...</summary>
       <p>Additional content...</p>
     </details>
   </section>

   BENEFITS:
   • Improves mobile readability
   • Keeps full text accessible for SEO
   • Uses native HTML <details>/<summary> (no JavaScript)

========================================================== */

.page-intro .intro-toggle summary{
  cursor:pointer;
  font-weight:600;
  margin-top:6px;
  color:#0074d9;
  list-style:none;
}

/* Remove default triangle (cleaner UI) */
.page-intro .intro-toggle summary::-webkit-details-marker{
  display:none;
}

.page-intro .intro-toggle summary:hover{
  text-decoration:underline;
}

/* Add small arrow indicator */
.page-intro .intro-toggle summary::after{
  content:" ▼";
  font-size:0.9em;
}

/* Change arrow when expanded */
.page-intro .intro-toggle[open] summary::after{
  content:" ▲";
}


/* WHEN ONLY 1 CALENDAR AVAILABLE & USING HERO WRAPPER 3-12-2026 */

.page-intro-short{
  margin:10px 0 20px;
  font-size:1.05rem;
}


/* ==========================================================
   SECTION NAME: PRODUCT TYPE: CALENDARS MUGS PLUSH
   ----------------------------------------------------------
========================================================== */


.product-type{
  font-size:0.8rem;
  color:#666;
  margin:6px 0 2px;
  text-transform:uppercase;
  letter-spacing:.5px;
}

/* =========================================
   SECTION: PRODUCTS HEADER
   Purpose: Visually separates intro from product grid
   Used On: All species pages
   ========================================= */

.products-header {
  text-align: center;
  font-size: 1.8rem;
  margin: 40px 0 20px;
  position: relative;
}

.products-header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  z-index: 0;
}

.products-header {
  display: inline-block;
  padding: 0 15px;
  background: #fff;
  position: relative;
  z-index: 1;
}


/* =========================================
   SECTION: DROPDOWN
   Purpose: Dropdown
   Used On: Calendars with multiple formats
   ========================================= */

/* DESKTOP BUY DROPDOWN */

@media (min-width: 769px) {
  .buy-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
  }

  .buy-dropdown .buy-button {
    width: 100%;
  }

  .buy-options {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    z-index: 10;
  }

  .buy-options a {
    display: block;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
  }

  .buy-options a:hover {
    background: #f5f5f5;
  }

  .buy-dropdown:hover .buy-options {
    display: block;
  }

  /* Hide stacked version on desktop */
  .buy-stack {
    display: none;
  }
}

/* MOBILE STACKED BUY BUTTON */

@media (max-width: 768px) {

  .buy-stack {
    width: 100%;
  }

  .buy-stack summary {
    list-style: none;
    cursor: pointer;
    width: 100%;
  }

  .buy-stack summary::-webkit-details-marker {
    display: none;
  }

  .buy-stack-options {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
    border: 1px solid #ddd;
  }

  .buy-stack-options a {
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: #333;
    border-top: 1px solid #eee;
  }

  .buy-stack-options a:first-child {
    border-top: none;
  }

  .buy-stack-options a:hover {
    background: #f5f5f5;
  }

  /* Hide dropdown on mobile */
  .buy-dropdown {
    display: none;
  }
}


/* =========================================
   PRODUCTS SECTION WRAPPER
   Added: 2026-05-05
   Purpose: Provides consistent spacing and a clean visual divider
   for the calendar product section across all breed pages
========================================= */

.products-section {
  margin-top: 20px; /* Adds space above product section */
}

.products-section h2 {
  margin-bottom: 10px; /* Space between heading and grid */
  padding-bottom: 6px; /* Creates room for divider line */
  border-bottom: 2px solid #eee; /* Subtle section divider */
}



/* =========================================================
   DUAL HERO PRODUCT LAYOUT
   ---------------------------------------------------------
   PURPOSE:
   Used when a page needs TWO large featured calendar products
   displayed side-by-side without triggering the automatic
   single-product hero mode.

   WHY THIS EXISTS:
   The site already uses a special CSS rule:

   .calendar-grid:has(.calendar-box:only-child)

   ...to enlarge a single calendar into "hero mode."

   However, if a page contains TWO separate calendar-grid
   sections with one product each, BOTH grids incorrectly
   trigger hero mode independently, which can create:
   - overlap issues
   - inconsistent spacing
   - awkward mobile stacking
   - layout conflicts

   SOLUTION:
   Use .dual-hero-products instead whenever TWO large
   featured calendars should appear together.

   BENEFITS:
   ✔ Prevents accidental :only-child hero triggers
   ✔ Keeps both products visually balanced
   ✔ Cleaner desktop presentation
   ✔ Predictable mobile stacking
   ✔ Easier long-term maintenance

   RECOMMENDED USE CASES:
   - Current year + previous year edition
   - Two featured calendar variants
   - "Best Seller" paired products
   - Limited edition paired calendars

   LAST UPDATED:
   2026-05-22
========================================================= */

.dual-hero-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  gap: 40px;
  justify-content: center;
  margin: 35px auto 55px;
}

.dual-hero-products .calendar-box {
  width: 100%;
  max-width: 420px;
  text-align: center;
  justify-content: flex-start;
}

.dual-hero-products .calendar-box img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.dual-hero-products .calendar-box .buy-button {
  margin-top: 14px !important;
}

/* Mobile stacking */
@media (max-width: 768px) {
  .dual-hero-products {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
}