/* ============================================= */
/* === 1. Variables & Base Styles ============ */
/* ============================================= */

/* --- Variables --- */
:root {
    --color-primary: #2F4F2F; /* Forest Green */ 
    --color-primary-dark: #193019; /* Dark Forest Green */
    --color-secondary: #EAE0D5; /* Warm Beige */
    --color-background: #F9F7F3; /* Soft Cream */
    --color-text: #333333; /* Charcoal */
    --color-text-muted: #6c757d; /* Medium Grey */
    --color-accent: #4682B4; /* Stable Blue */
    --color-gold: #bdae28; /* Dark Golden */
    --color-gold-light: #dbc81a; /* Light Golden */
    --color-white: #FFFFFF;
    --color-light-grey: #ced4da;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-error: #dc3545;
    --color-info: #17a2b8; /* Or use --color-accent */

    --font-heading: 'Lora', serif;
    --font-body: 'Lato', sans-serif;

    --base-font-size: 16px;
    --base-line-height: 1.6;
    --base-spacing-unit: 8px;

    --border-radius: 4px;
    --container-max-width: 1200px; /* Max width for content */
    --container-padding: calc(var(--base-spacing-unit) * 2); /* 16px */

    --header-height-mobile: 60px;
    --header-height-desktop: 80px;
}

/* --- Reset & Box Sizing --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--base-font-size);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    line-height: var(--base-line-height);
    color: var(--color-text);
    background-color: var(--color-background);
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure footer stays at bottom */
}

/* --- Basic Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700; /* Bold Lora */
    line-height: 1.3;
    margin-bottom: calc(var(--base-spacing-unit) * 2); /* 16px */
    color: var(--color-primary); /* Default heading color */
}
h1 { font-size: 2rem; } /* 32px */
h2 { font-size: 1.75rem; } /* 28px */
h3 { font-size: 1.5rem; font-weight: 600; } /* 24px Semi-Bold Lora */
h4 { font-size: 1.25rem; } /* 20px */

p {
    margin-bottom: calc(var(--base-spacing-unit) * 2); /* 16px */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover, a:focus {
    color: var(--color-accent);
    text-decoration: underline;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: calc(var(--base-spacing-unit) * 2);
    padding-left: calc(var(--base-spacing-unit) * 2);
}

/* --- Accessibility --- */
.sr-only { /* Screen Reader Only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.skip-link {
    position: absolute;
    top: -40px; /* Hide off-screen */
    left: 0;
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: var(--base-spacing-unit);
    z-index: 10000;
    transition: top 0.3s ease-in-out;
}
.skip-link:focus {
    top: 0; /* Bring into view on focus */
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--base-spacing-unit); }
.mt-2 { margin-top: calc(var(--base-spacing-unit) * 2); }
.mb-1 { margin-bottom: var(--base-spacing-unit); }
.mb-2 { margin-bottom: calc(var(--base-spacing-unit) * 2); }
/* Add more as needed */

/* ============================================= */
/* === 2. Layout Styles ====================== */
/* ============================================= */

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* --- Main Content Wrapper --- */
.main-content {
    flex-grow: 1; /* Ensures main content pushes footer down */
    padding-top: var(--header-height-mobile); /* Prevent overlap with fixed header */
    padding-bottom: calc(var(--base-spacing-unit) * 4); /* 32px bottom spacing */
}

.page-container { /* General padding for standard pages */
     padding-top: calc(var(--base-spacing-unit) * 3);
     padding-bottom: calc(var(--base-spacing-unit) * 3);
}

/* --- Site Header --- */
.site-header {
    position: fixed; /* Fixed header */
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-mobile);
    background-color: var(--color-primary-dark);
    border-bottom: 1px solid var(--color-secondary);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo .logo-img {
    height: 4em; /* Adjust as needed */
    width: auto;
}
.logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: block; /* Show on mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: calc(var(--base-spacing-unit) * 1.5);
    color: var(--color-primary);
}
.menu-toggle .icon-menu {
    width: 24px;
    height: 24px;
}

/* Navigation Menu (Hidden on Mobile initially) */
.main-navigation {
    position: relative; /* For positioning the menu */
}

/* Navigation Menu (Mobile State) */
.nav-menu {
    /* display: none; */ /* Replaced by visibility/opacity/max-height */
    position: absolute;
    top: calc(100% + 1px); /* Position below header */
    right: 0; /* Align to the right */
    background-color: var(--color-primary-dark);
    border: 1px solid var(--color-primary);
    border-top: none;
    list-style: none;
    padding: var(--base-spacing-unit);
    margin: 0;
    min-width: 200px; /* Minimum width for dropdown */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999; /* Ensure it's above content below header */

    /* --- Animation Properties --- */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Start slightly moved up */
    max-height: 0; /* Collapse height */
    overflow: hidden; /* Important for max-height transition */
    transition:
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        max-height 0.3s ease-in-out,
        visibility 0s linear 0.3s; /* Delay hiding visibility */
}

.nav-menu.is-open { /* Class added by JS to show menu */
    /* display: block; */ /* Replaced by visibility/opacity/max-height */
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Move to final position */
    max-height: 50vh; /* Allow height to expand (adjust as needed) */
    transition:
        opacity 0.3s ease-in-out,
        transform 0.3s ease-in-out,
        max-height 0.3s ease-in-out,
        visibility 0s linear 0s; /* Make visible immediately */
}

/* Keep the existing rules for .nav-item and .nav-link */
.nav-item {
    margin-bottom: var(--base-spacing-unit);
}
.nav-item:last-child {
    margin-bottom: 0;
}

.nav-link {
    display: block;
    padding: var(--base-spacing-unit);
    /* color: var(--color-text); */ /* Let's use the header color */
    color: var(--color-background); /* Use background color for text */
    font-weight: 700; /* Bold Lato */
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease; /* Add transition */
}
.nav-link:hover,
.nav-link:focus {
    /* color: var(--color-primary); */
    color: var(--color-gold-light); /* Change text color on hover */
    background-color: var(--color-primary); /* Subtle background on hover */
    border-radius: var(--border-radius);
    text-decoration: none; /* Remove underline */
}
/* Style for the active link within the mobile dropdown */
.nav-menu .nav-link.active {
    color: var(--color-gold); /* Distinct color for active link */
    background-color: transparent; /* No background for active */
    font-weight: bold;
}


/* --- Add this rule if using the body scroll lock --- */
/*
body.no-scroll {
    overflow: hidden;
}
*/

/* Header Actions (Cart) */
.header-actions {
    display: flex;
    align-items: center;
}
.cart-link {
    position: relative;
    color: var(--color-background);
    padding: var(--base-spacing-unit);
    margin-left: var(--base-spacing-unit);
}
.cart-link .icon-cart {
    width: 24px;
    height: 24px;
}
.cart-link .cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--color-error);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}


/* --- Site Footer --- */
.site-footer {
    background-color: var(--color-secondary);
    padding-top: calc(var(--base-spacing-unit) * 4); /* 32px */
    padding-bottom: calc(var(--base-spacing-unit) * 2); /* 16px */
    color: var(--color-text-muted);
    margin-top: auto; /* Pushes footer to bottom if content is short */
}

.footer-container {
    display: flex;
    flex-direction: column; /* Stack sections on mobile */
    gap: calc(var(--base-spacing-unit) * 3); /* 24px gap */
}

.footer-section {
    margin-bottom: calc(var(--base-spacing-unit) * 2);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--base-spacing-unit);
}

.footer-links ul, .footer-contact address {
    list-style: none;
    padding: 0;
    margin: 0;
    font-style: normal; /* Reset address default italic */
}
.footer-links li {
    margin-bottom: calc(var(--base-spacing-unit) * 0.5); /* 4px */
}
.footer-links a, .footer-contact a {
    color: var(--color-text-muted);
}
.footer-links a:hover, .footer-contact a:hover {
    color: var(--color-primary);
}

.footer-newsletter p {
    margin-bottom: var(--base-spacing-unit);
}
.newsletter-form {
    display: flex;
}
.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: calc(var(--base-spacing-unit) * 1.25); /* 10px */
    border: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    border-right: none;
}
.newsletter-form button {
    padding: calc(var(--base-spacing-unit) * 1.25) calc(var(--base-spacing-unit) * 2);
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 700;
    transition: background-color 0.2s ease;
}
.newsletter-form button:hover {
    background-color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: calc(var(--base-spacing-unit) * 2);
    padding-top: calc(var(--base-spacing-unit) * 2);
    text-align: center;
    font-size: 0.875rem; /* 14px */
}

/* ============================================= */
/* === 3. Component Styles =================== */
/* ============================================= */

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: calc(var(--base-spacing-unit) * 1.5) calc(var(--base-spacing-unit) * 3); /* 12px 24px */
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 700; /* Bold Lato */
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    line-height: 1.5; /* Ensure consistent height */
}

.button-primary {
    background-color: var(--color-gold);
    color: var(--color-background);
    border-color: var(--color-primary);
}
.button-primary:hover, .button-primary:focus {
    background-color: var(--color-gold-light); /* Darker green */
    border-color: #253f25;
    color: var(--color-white);
    text-decoration: none;
}

.button-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: calc(var(--base-spacing-unit) * 1.5 - 1px) calc(var(--base-spacing-unit) * 3 - 1px); /* Adjust for border */
}
.button-secondary:hover, .button-secondary:focus {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

.button-tertiary {
    background-color: transparent;
    color: var(--color-accent);
    border: none;
    padding: 0; /* Minimal padding */
    text-decoration: underline;
}
.button-tertiary:hover, .button-tertiary:focus {
    color: var(--color-primary);
    text-decoration: underline;
}

.button-danger {
    background-color: var(--color-error);
    color: var(--color-white);
    border-color: var(--color-error);
}
.button-danger:hover, .button-danger:focus {
    background-color: #c82333; /* Darker red */
    border-color: #bd2130;
    color: var(--color-white);
    text-decoration: none;
}

.button-full { /* Make button take full width */
    display: block;
    width: 100%;
}
.button-small {
    font-size: 0.875rem;
    padding: var(--base-spacing-unit) calc(var(--base-spacing-unit) * 1.5);
}


/* --- Forms --- */
label {
    display: block;
    margin-bottom: calc(var(--base-spacing-unit) * 0.5); /* 4px */
    font-weight: 700; /* Bold Lato */
    font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
    display: block;
    width: 100%;
    padding: calc(var(--base-spacing-unit) * 1.25) var(--base-spacing-unit); /* 10px 8px */
    margin-bottom: calc(var(--base-spacing-unit) * 2); /* 16px */
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-white);
    background-clip: padding-box;
    border: 1px solid var(--color-light-grey);
    border-radius: var(--border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-accent);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(70, 130, 180, 0.25); /* SteelBlue accent */
}

textarea {
    resize: vertical; /* Allow vertical resize only */
}

select {
    appearance: none; /* Remove default arrow */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(var(--base-spacing-unit) * 1) center;
    background-size: 16px 12px;
    padding-right: calc(var(--base-spacing-unit) * 4); /* Space for arrow */
}

fieldset {
    border: 1px solid var(--color-secondary);
    padding: calc(var(--base-spacing-unit) * 2);
    margin-bottom: calc(var(--base-spacing-unit) * 3);
    border-radius: var(--border-radius);
}
legend {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0 calc(var(--base-spacing-unit) * 1);
    color: var(--color-primary);
    font-size: 1.1rem;
}

input[type="checkbox"],
input[type="radio"] {
    margin-right: calc(var(--base-spacing-unit) * 0.5);
    vertical-align: middle; /* Align with label text */
    /* Consider custom styling later for better cross-browser consistency */
}
fieldset label { /* Labels within fieldsets */
    display: inline-block; /* Allow multiple checkboxes per line */
    margin-right: calc(var(--base-spacing-unit) * 2);
    margin-bottom: var(--base-spacing-unit);
    font-weight: normal; /* Normal weight for checkbox labels */
}

/* --- Puppy Card --- */
.puppy-grid {
    display: grid;
    grid-template-columns: 1fr; /* One column on mobile */
    gap: calc(var(--base-spacing-unit) * 3); /* 24px gap */
    margin-bottom: calc(var(--base-spacing-unit) * 3);
}

.puppy-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    overflow: hidden; /* Contain image */
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease;
}
.puppy-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.puppy-card-link { /* Make most of the card clickable */
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allow content to push actions down */
}
.puppy-card-link:hover {
    text-decoration: none;
}

.puppy-card-image {
    position: relative; /* Establish positioning context for banners */
    overflow: visible;  /* Ensure banners are not clipped by this container */
    /* aspect-ratio and object-fit for the image are handled by the img tag itself */
}

.puppy-card-image img {
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintain consistent image ratio */
    object-fit: cover; /* Cover the area, crop if needed */
    
     /* Important: to clip the ribbon tails if they extend outside */
}

.puppy-card-content {
    padding: calc(var(--base-spacing-unit) * 2); /* 16px */
    flex-grow: 1; /* Take remaining space */
}

.puppy-card-name {
    font-size: 1.25rem; /* 20px */
    margin-bottom: calc(var(--base-spacing-unit) * 0.5);
    color: var(--color-primary);
}

.puppy-card-type {
    font-size: 0.875rem; /* 14px */
    color: var(--color-text-muted);
    margin-bottom: calc(var(--base-spacing-unit) * 1);
}

.puppy-card-price {
    font-size: 1.1rem;
    font-weight: 700; /* Bold Lato */
    color: var(--color-text);
    margin-bottom: calc(var(--base-spacing-unit) * 1);
}

.puppy-card-tag {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.75rem; /* 12px */
    padding: calc(var(--base-spacing-unit) * 0.5) var(--base-spacing-unit); /* 4px 8px */
    border-radius: var(--border-radius);
    font-weight: 700;
}

.puppy-card-actions {
    padding: 0 calc(var(--base-spacing-unit) * 2) calc(var(--base-spacing-unit) * 2); /* Padding only bottom/sides */
    margin-top: auto; /* Push actions to bottom */
}
.puppy-card-actions .button {
    width: 100%; /* Full width button on mobile card */
}

/* General Status Banner Styling */
.status-banner {
    position: absolute;
    padding: 5px 10px; /* Adjust padding as needed */
    font-size: 0.8rem; /* Adjust font size */
    font-weight: bold;
    color: var(--color-white);
    text-align: center;
    z-index: 2; /* Ensure it's above the image */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Optional shadow */
    /* Common ribbon shape will be defined by specific banner styles */
}

.status-banner .banner-text {
    position: relative; /* For z-index if needed over pseudo-elements */
    z-index: 1;
}


/* "Coming Soon" Ribbon Banner - Top Left Corner Example */
.coming-soon-banner {
    background-color: var(--color-success); /* Green Background */
    top: 82px;  /* Distance from top */
    left: -25px; /* Pull left to make the ribbon appear to wrap around the corner */
    width: 150px; /* Adjust width */
    transform: rotate(-45deg); /* Rotate the ribbon */
    transform-origin: top left; /* Rotate around the top-left point */
    text-align: center;
    line-height: 1.5; /* Adjust for text vertical centering */
}

/* Creating the "cut-out" or "tail" effect for the ribbon */
/* This is a common technique using pseudo-elements */
.coming-soon-banner::before,
.coming-soon-banner::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-color: transparent; /* Start transparent */
}

/* Left tail for top-left ribbon */
.coming-soon-banner::before {
    bottom: -5px; /* Position below the main ribbon part */
    left: 0;
    border-width: 0 0 5px 5px; /* Creates a triangle pointing left-down */
    /* Darken the tail slightly for a 3D effect */
    border-left-color: var(--color-info); /* Same as ribbon bg */
    filter: brightness(0.8);
}

/* Right tail for top-left ribbon */
.coming-soon-banner::after {
    bottom: -5px; /* Position below the main ribbon part */
    right: 0;
    border-width: 0 5px 5px 0; /* Creates a triangle pointing right-down */
    /* Darken the tail slightly */
    border-right-color: var(--color-info); /* Same as ribbon bg */
    filter: brightness(0.8);
}


/* "Pending" Banner - Example (Simpler Tag Style, can be adapted to ribbon too) */
.pending-banner {
    background-color: var(--color-warning); /* Orange */
    color: var(--color-text); /* Darker text for better contrast on orange */
    top: 77px;  /* Distance from top */
    left: -28px; /* Pull left to make the ribbon appear to wrap around the corner */
    width: 150px; /* Adjust width */
    transform: rotate(-45deg); /* Rotate the ribbon */
    transform-origin: top left; /* Rotate around the top-left point */
    text-align: center;
    line-height: 1.5; /* Adjust for text vertical centering */ 

}

/* Apply similar ::before/::after to the pending banner to make it a ribbon,
   and positioning/rotation logic, adjusting colors and positions.
   For example, a bottom-right ribbon: */


.pending-banner.ribbon-style {
    background-color: var(--color-warning);
    bottom: 15px;
    right: -35px;
    width: 150px;
    transform: rotate(45deg);
    transform-origin: bottom right;
    line-height: 1.5;
}

.pending-banner.ribbon-style::before { /* Top-left tail for bottom-right ribbon */
    top: -5px;
    left: 0;
    border-width: 5px 0 0 5px;
    border-top-color: var(--color-warning);
    filter: brightness(0.8);
}

.pending-banner.ribbon-style::after { /* Top-right tail for bottom-right ribbon */
    top: -5px;
    right: 0;
    border-width: 5px 5px 0 0;
    border-right-color: var(--color-warning);
    filter: brightness(0.8);
}

/* "Sold" Banner - Example (Simpler Tag Style, can be adapted to ribbon too) */
.sold-banner {
    background-color: var(--color-error); /* Red */
    color: var(--color-secondary); /* Light text for better contrast on red */
    top: 77px;  /* Distance from top */
    left: -28px; /* Pull left to make the ribbon appear to wrap around the corner */
    width: 150px; /* Adjust width */
    transform: rotate(-45deg); /* Rotate the ribbon */
    transform-origin: top left; /* Rotate around the top-left point */
    text-align: center;
    line-height: 1.5; /* Adjust for text vertical centering */ 

}



/* --- Tags (General) --- */
.tag {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    font-size: 0.875rem; /* 14px */
    padding: calc(var(--base-spacing-unit) * 0.5) var(--base-spacing-unit); /* 4px 8px */
    border-radius: var(--border-radius);
    margin-right: calc(var(--base-spacing-unit) * 0.5);
    margin-bottom: calc(var(--base-spacing-unit) * 0.5);
}
.tag-safe { /* Example specific tag style */
    background-color: var(--color-success);
    color: var(--color-white);
}

/* --- Icons --- */
.icon {
    display: inline-block;
    vertical-align: middle;
    width: 1em; /* Size relative to font size */
    height: 1em;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin-top: calc(var(--base-spacing-unit) * 4);
}
.page-link {
    display: inline-block;
    padding: calc(var(--base-spacing-unit) * 1) calc(var(--base-spacing-unit) * 1.5); /* 8px 12px */
    margin: 0 calc(var(--base-spacing-unit) * 0.5); /* 4px */
    color: var(--color-primary);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.page-link:hover, .page-link:focus {
    background-color: var(--color-secondary);
    text-decoration: none;
}
.page-link.active, .page-link[aria-current="page"] {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    font-weight: bold;
}
.page-link.disabled, .page-link[aria-disabled="true"] {
    color: var(--color-text-muted);
    pointer-events: none;
    border-color: var(--color-secondary);
}
.page-link.ellipsis {
    border: none;
    padding: calc(var(--base-spacing-unit) * 1) 0;
}

/* --- Breadcrumbs --- */
.breadcrumb {
    margin-bottom: calc(var(--base-spacing-unit) * 2);
    font-size: 0.875rem;
}
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
}
.breadcrumb li {
    display: flex;
    align-items: center;
}
.breadcrumb li::after { /* Separator */
    content: '/';
    margin: 0 calc(var(--base-spacing-unit) * 1);
    color: var(--color-text-muted);
}
.breadcrumb li:last-child::after {
    content: ''; /* No separator after last item */
    margin: 0;
}
.breadcrumb a {
    color: var(--color-text-muted);
}
.breadcrumb a:hover {
    color: var(--color-primary);
}
.breadcrumb span[aria-current="page"] {
    color: var(--color-text);
    font-weight: bold;
}


/* ============================================= */
/* === 3.5 Filter Sidebar Styles ============= */
/* ============================================= */

.listings-filters {
    /* Styles applied within the @media query for tablet+ */
    /* flex: 0 0 250px; */ /* Already defined in media query */
    padding: calc(var(--base-spacing-unit) * 2);
    background-color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    align-self: start; /* Prevent stretching if grid area is taller */
}

/* Grok Fix: Ensure slider uses full width */
.listings-filters .slider-container {
    width: 100%;
    margin-left: calc(var(--base-spacing-unit) * -1); /* Offset parent padding */
    margin-right: calc(var(--base-spacing-unit) * -1);
  }

.listings-filters h2 {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: calc(var(--base-spacing-unit) * 3);
    color: var(--color-primary);
}

.filter-group {
    margin-bottom: calc(var(--base-spacing-unit) * 3); /* 24px spacing between groups */
    padding-bottom: calc(var(--base-spacing-unit) * 3);
    border-bottom: 1px solid var(--color-secondary);
}
.filter-group:last-of-type {
    margin-bottom: calc(var(--base-spacing-unit) * 2); /* Less margin after last group */
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group > label:first-of-type { /* Label for the whole group like "Price Range" */
    font-weight: 700; /* Bold Lato */
    font-size: 1rem; /* Slightly larger */
    margin-bottom: calc(var(--base-spacing-unit) * 1.5); /* 12px */
    display: block; /* Ensure it takes full width */
    color: var(--color-text);
}

/* Styling for Checkbox/Radio Groups within Fieldsets */
.filter-group fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.filter-group fieldset legend {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: calc(var(--base-spacing-unit) * 1);
    padding: 0;
    color: var(--color-text);
    width: 100%; /* Ensure legend takes full width */
}
.filter-group fieldset label { /* Individual checkbox labels */
    display: block; /* Stack checkboxes vertically */
    margin-bottom: calc(var(--base-spacing-unit) * 1);
    font-weight: normal; /* Normal weight */
    font-size: 0.9rem;
}
.filter-group fieldset label input[type="checkbox"] {
    margin-right: calc(var(--base-spacing-unit) * 1);
    vertical-align: middle;
}

/* Styling Select Dropdowns */
.filter-group select {
    margin-bottom: 0; /* Remove default bottom margin */
}


/* --- Range Slider Specific Styles (Assuming noUiSlider) --- */

.slider-container {
    /* before Grok fix */
    margin-top: calc(var(--base-spacing-unit) * 1);
    margin-bottom: calc(var(--base-spacing-unit) * 1);
    padding: 0 calc(var(--base-spacing-unit) * 1.5); /* Add some padding for handles */
    /* After Grok Fix */
    /* margin: calc(var(--base-spacing-unit) * 1) 0;  8px vertical margin */
    /* padding: 0;  Remove padding to avoid offset */
}

/* Basic noUiSlider Styling (Adapt colors/sizes from library defaults) */
.range-slider { /* The div targeted by noUiSlider */
    height: 12px;
    background: var(--color-secondary);
    border-radius: 4px;
    border: 1px solid var(--color-light-grey);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05);
    position: relative; /* Needed for handle positioning */
}

/* noUiSlider Connect Bar (between handles) */
.noUi-connect {
    background: var(--color-primary); /* Green bar between handles*/ 
    height: 100%;
    border-radius: 4px;
    cursor: pointer;
}

/* noUiSlider Handles */
.noUi-handle {
    height:20px;
    width: 20px;
    top: -6px; /* Position vertically centered on track */
    right: -9px;   /* Adjust horizontal origin */
    border-radius: 50%;
    background: #baae5a; /* Handle Color); */
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    cursor: grab;
}
.noUi-handle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.4); /* Focus ring */
}
 * .noUi-handle:active {
    cursor: grabbing;
}


/* Slider Value Display (Min/Max text below slider) */
.slider-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: calc(var(--base-spacing-unit) * 1);
    margin-bottom: calc(var(--base-spacing-unit) * 1.5); /* Space before number inputs */
    padding: 0 calc(var(--base-spacing-unit) * 0.5);
} 
.slider-values span {
    font-weight: bold;
} 

/* Number Inputs Container (Min/Max number fields) */
.number-inputs {
    display: flex;
    align-items: center;
    gap: calc(var(--base-spacing-unit) * 1); /* Space between elements */
}
.number-inputs input[type="number"] {
    width: 70px; /* Adjust width as needed */
    padding: calc(var(--base-spacing-unit) * 0.75) calc(var(--base-spacing-unit) * 1); /* Smaller padding */
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 0; /* Remove default margin */
    /* Hide spinner arrows (optional, cross-browser) */
    -moz-appearance: textfield;
}
.number-inputs input[type="number"]::-webkit-outer-spin-button,
.number-inputs input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
} 
.number-inputs .input-separator {
    color: var(--color-text-muted);
    font-weight: bold;
}

/* Filter Form Buttons */
#filter-form button {
    margin-top: calc(var(--base-spacing-unit) * 2);
    width: 100%; /* Make buttons full width */
}
#filter-form button[type="reset"] {
    margin-top: var(--base-spacing-unit);
}


/* ============================================= */
/* === 4. Page Specific Styles (Homepage) ==== */
/* ============================================= */

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 60vh; /* Viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--base-spacing-unit) * 4) var(--container-padding);
    color: var(--color-white); /* Default text color for hero */
    overflow: hidden; /* Contain background */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary); /* Fallback color */
    /* Placeholder for background image/video */
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('/images/placeholder-hero.jpg'); /* Example */
    background-size: cover;
    background-position: center top;
    z-index: -1; /* Behind content */
}

.hero-content {
    position: relative; /* Ensure content is above background overlay */
    z-index: 1;
}

.hero h1 {
    font-size: 2.2rem; /* Larger on hero */
    color: var(--color-white);
    margin-bottom: calc(var(--base-spacing-unit) * 1);
}
.hero .hero-subheading {
    font-size: 1.1rem;
    margin-bottom: calc(var(--base-spacing-unit) * 3);
    max-width: 600px; /* Limit width */
    margin-left: auto;
    margin-right: auto;
}
.hero .hero-cta {
    font-size: 1.1rem;
    padding: calc(var(--base-spacing-unit) * 1.75) calc(var(--base-spacing-unit) * 3.5); /* Slightly larger */
    border-radius: 8px;
}

/* --- Featured Puppies Section --- */
.featured-puppies {
    padding: calc(var(--base-spacing-unit) * 4) 0; /* 32px top/bottom */
    background-color: var(--color-white); /* Contrast background */
}
.featured-puppies h2 {
    text-align: center;
    margin-bottom: calc(var(--base-spacing-unit) * 4);
}
.featured-puppies .section-actions {
    text-align: center;
    margin-top: calc(var(--base-spacing-unit) * 3);
}

/* --- Value Props Section --- */
.value-props {
    padding: calc(var(--base-spacing-unit) * 4) 0;
}
.value-props-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: calc(var(--base-spacing-unit) * 4); /* 32px */
    text-align: center;
}
.value-prop-item .icon {
    font-size: 2.5rem; /* Larger icons */
    color: var(--color-primary);
    margin-bottom: var(--base-spacing-unit);
}
.value-prop-item h3 {
    font-size: 1.25rem;
    margin-bottom: calc(var(--base-spacing-unit) * 0.5);
}
.value-prop-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- Trust Builders Section --- */
.trust-builders {
    padding: calc(var(--base-spacing-unit) * 4) 0;
    background-color: var(--color-secondary); /* Contrast background */
    text-align: center;
}
.trust-builders h2 {
     margin-bottom: calc(var(--base-spacing-unit) * 2);
}
.trust-builders p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--base-spacing-unit) * 3);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 column on mobile */
    gap: calc(var(--base-spacing-unit) * 3); /* space between cards */
    margin: 0 auto;
    max-width: 1600px;
}

@media (min-width: 900px) {
    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

.testimonial {
    background: #fff; /* White background for contrast */
    border-radius: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 2rem;
    min-width: 330px;
    max-width: 533px;
    margin-top: calc(var(--base-spacing-unit) * 3);
    position: relative; /* For pseudo-elements */
    color: var(--color-primary-dark);
    border-left: 5px solid var(--color-primary, #8c5e2a);   
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.avatar-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 1rem;
}

.testimonial .review-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #eee;
    margin-right: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial .reviewer-name {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.2rem;
}

.testimonial .star-rating {
    width: 27%;
    height: auto;
    object-fit: cover;
    margin-right: .25rem;
    margin-bottom: 0.2rem;
}

.testimonial .testimonial-headline {
    font-weight: bold;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
}

.testimonial-item {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0.65rem;
    font-style: italic;
    text-align: left; /* Align text left for readability */
}

.testimonial p {
    margin: 0.5rem 0 0 0;
    font-size: 1.05rem;
    text-align: left; /* Align text left for readability */
}

/*.testimonial cite {
    display: block;
    margin-top: var(--base-spacing-unit);
    font-style: normal;
    font-weight: bold;
    text-align: right;
    color: var(--color-primary);
}*/

/* Social Proof Reviews 
.review-image {
    display: inline-flex;
    width: 50px; /* Adjust size as needed 
    height: 50px;
    border-radius: 50%; /* Circular images 
    margin-right: calc(var(--base-spacing-unit) * 0.5); /* 4px 
}

.star-rating {
    display: inline-flex;
    align-items: center;
    width: 100px; /* Fixed width for consistency 
    font-size: 1rem; /* Adjust size as needed 
    color: var(--color-gold);
} */


/* ============================================= */
/* === 5. Responsive Styles ================== */
/* ============================================= */

/* --- Tablet (approx 768px and up) --- */
@media (min-width: 768px) {
    :root {
        --base-font-size: 17px; /* Slightly larger base font */
    }

    h1 { font-size: 2.5rem; } /* 42.5px */
    h2 { font-size: 2rem; } /* 34px */
    h3 { font-size: 1.6rem; } /* 27.2px */

    .container {
         --container-padding: calc(var(--base-spacing-unit) * 3); /* 24px */
    }

    /* Header Adjustments */
    .site-header {
        height: var(--header-height-desktop);
    }
    .main-content {
        padding-top: var(--header-height-desktop);
    }
    .menu-toggle {
        display: none; /* Hide toggle on larger screens */
    }
    .main-navigation {
        position: static; /* Reset mobile positioning */
    }
    .nav-menu {
        display: flex; /* Show menu inline */
        position: static;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        min-width: auto;
        align-items: center; /* Align items vertically */
        gap: var(--base-spacing-unit); /* Space between items */
         /* --- Resets Due to Hamburger --- */
        opacity: 1;             /* Make visible */
        visibility: visible;    /* Make visible */
        transform: none;        /* Remove any transform */
        max-height: none;       /* Remove height restriction */
        overflow: visible;      /* Allow content to show */
        /* --- End Added Resets --- */
    }
    .nav-item {
        margin-bottom: 0; /* Remove vertical margin */
    }
    .nav-link {
        padding: calc(var(--base-spacing-unit) * 1) calc(var(--base-spacing-unit) * 1.5); /* Adjust padding */
    }
    .nav-link:hover, .nav-link:focus, .nav-link.active {
        background-color: transparent; /* No background on hover */
        color: var(--color-gold); /* Gold color on hover */
        border-radius: 0;
    }
     .nav-link.active { /* Active link style for desktop */
         font-weight: bold;
         color: var(--color-gold-light);
         text-decoration: underline;
     }


    /* Footer Adjustments */
    .footer-container {
        flex-direction: row; /* Side-by-side sections */
        justify-content: space-between;
        gap: calc(var(--base-spacing-unit) * 4); /* 32px gap */
    }
    .footer-section {
        flex: 1; /* Allow sections to grow */
        margin-bottom: 0;
    }
    .footer-newsletter {
        max-width: 300px; /* Limit newsletter width */
    }

    /* Puppy Grid */
    .puppy-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns */
    }
    .puppy-card-actions .button {
        width: auto; /* Auto width button on desktop card */
    }


    /* Value Props */
    .value-props-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns */
        text-align: left; /* Align text left */
    }
    .value-prop-item .icon {
         margin-bottom: calc(var(--base-spacing-unit) * 1.5);
    }

    /* --- Page Specific Example: Listings Page Layout --- */
    .listings-page .listings-layout {
        display: flex;
        gap: calc(var(--base-spacing-unit) * 4); /* 32px */
    }
    .listings-filters {
        flex: 0 0 250px; /* Fixed width sidebar */
        margin-bottom: 0; /* Remove bottom margin */
    }
    .listings-filters h2 {
        margin-bottom: calc(var(--base-spacing-unit) * 2);
    }
    .listings-grid-area {
        flex: 1; /* Take remaining space */
    }
    .listings-controls {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: calc(var(--base-spacing-unit) * 2);
    }

    

     /* --- Page Specific Example: Detail Page Layout --- */
    .puppy-detail-page .puppy-detail-layout {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: calc(var(--base-spacing-unit) * 5); /* 40px */
        align-items: start; /* Align items to the top */
    }
    /* Media gallery might need adjustments */
    .puppy-media-gallery .main-media img,
    .puppy-media-gallery .main-media video {
        border-radius: var(--border-radius);
    }
    .thumbnail-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: var(--base-spacing-unit);
        margin-top: var(--base-spacing-unit);
    }
     .thumbnail-item { border-radius: var(--border-radius); overflow: hidden; }
     .thumbnail-item.active { border: 2px solid var(--color-primary); }

     /* Detail page info */
     .puppy-information h1 { font-size: 2.2rem; }
     .puppy-price { font-size: 1.8rem; font-weight: bold; color: var(--color-primary); }
     .puppy-actions { display: flex; gap: var(--base-spacing-unit); align-items: center; margin: calc(var(--base-spacing-unit)*2) 0; }

     /* Guarantee Page Styles */
     .g-page-heading {
         font-size: 2.2rem;
         text-align: center;
     }

     .subtitle {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 1.5rem;
}
    .indent {
        text-indent: 50px;
}

/* --- Section Spacing --- */
.section-spaced {
    margin-bottom: calc(var(--base-spacing-unit) * 5); /* 40px */
}
.section-spaced h2 {
    font-size: 1.8rem; /* Or your standard H2 size */
    color: var(--color-primary);
    margin-bottom: calc(var(--base-spacing-unit) * 3); /* 24px */
    text-align: left; /* Default for sections, override if needed */
}

/* --- Guarantee Page Specific Styles --- */
.guarantee-intro p {
    font-size: 1.1rem; /* Slightly larger for emphasis */
    line-height: 1.7;
    margin-bottom: calc(var(--base-spacing-unit) * 2.5);
}

/* Guarantee Steps Layout */
.guarantee-steps {
    display: grid;
    gap: calc(var(--base-spacing-unit) * 4); /* 32px */
}

.step-item {
    display: flex;
    align-items: flex-start; /* Align icon and text to the top */
    gap: calc(var(--base-spacing-unit) * 2.5); /* 20px */
    padding: calc(var(--base-spacing-unit) * 2);
    background-color: var(--color-white); /* Subtle background for each step */
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.step-icon {
    flex-shrink: 0; /* Prevent icon from shrinking */
    color: var(--color-primary); /* Color for the SVG icon */
    font-size: 2.5rem; /* Size of the icon container */
    width: 50px; /* Fixed width for alignment */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-secondary); /* Light background for icon */
    border-radius: 50%;
}
.step-icon .icon { /* Style the SVG itself */
    width: 28px;
    height: 28px;
}

.step-content h4 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: calc(var(--base-spacing-unit) * 1);
}
.step-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 0; /* Remove default p margin if step-item has padding */
}
.step-content p strong {
    color: var(--color-text); /* Make strong text stand out a bit more */
}


/* Conditions List Styling */
.guarantee-conditions ul {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
}
.guarantee-conditions > ul > li {
    position: relative;
    padding-left: calc(var(--base-spacing-unit) * 3.5); /* Space for custom bullet */
    margin-bottom: calc(var(--base-spacing-unit) * 2); /* 16px */
    font-size: 1rem;
    line-height: 1.6;
}
.guarantee-conditions > ul > li::before {
    content: '✓'; /* Custom bullet - checkmark */
    position: absolute;
    left: 0;
    top: 2px; /* Adjust vertical alignment */
    color: var(--color-success); /* Green checkmark */
    font-weight: bold;
    font-size: 1.2em;
}

/* Nested list for exclusions */
.guarantee-conditions ul ul {
    list-style: none; /* Remove default bullets */
    padding-left: calc(var(--base-spacing-unit) * 2); /* Indent nested list */
    margin-top: calc(var(--base-spacing-unit) * 1);
}
.guarantee-conditions ul ul li {
    padding-left: calc(var(--base-spacing-unit) * 3); /* Space for custom bullet */
    margin-bottom: calc(var(--base-spacing-unit) * 1);
}
.guarantee-conditions ul ul li::before {
    content: '–'; /* Custom bullet - en dash or hyphen */
    color: var(--color-text-muted);
    font-weight: bold;
    font-size: 1.2em;
    top: 0; /* Adjust if needed */
}


.guarantee-commitment p {
    font-size: 1.05rem;
    line-height: 1.7;
}
.guarantee-commitment p a {
    font-weight: bold;
    color: var(--color-accent);
}
.guarantee-commitment p a:hover {
    text-decoration: underline;
}


/* Responsive adjustments for steps if needed */
@media (min-width: 768px) {
    .guarantee-steps {
        /* Could go to 2 columns if desired, or just keep single for clarity */
        /* grid-template-columns: repeat(2, 1fr); */
    }

    .section-spaced h3 {
        font-size: 2rem;
    }
}

/* --- About Page Specific Styles --- */

/* Intro Section with Image */
.about-intro .about-layout {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: calc(var(--base-spacing-unit) * 4); /* 32px */
    align-items: center;
}

.about-intro .about-text h2 {
    font-size: 2rem; /* Slightly larger for section intro */
    margin-bottom: calc(var(--base-spacing-unit) * 2);
    color: var(--color-primary);
}

.about-intro .about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: calc(var(--base-spacing-unit) * 2);
}

.about-intro .about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Philosophy Points */
.our-philosophy h2 {
    text-align: center; /* Center the main philosophy heading */
}
.philosophy-points {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: calc(var(--base-spacing-unit) * 3.5); /* 28px */
    margin-top: calc(var(--base-spacing-unit) * 3);
}

.point-item {
    text-align: center; /* Center icon and heading */
    padding: calc(var(--base-spacing-unit) * 2.5);
    background-color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.point-icon {
    color: var(--color-primary);
    font-size: 2.8rem; /* Size of icon container */
    margin-bottom: calc(var(--base-spacing-unit) * 1.5);
    display: inline-block; /* Allows text-align center to work */
}
.point-icon .icon { /* Style the SVG itself */
    width: 40px;
    height: 40px;
}

.point-item h3 {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: var(--base-spacing-unit) * 1;
}
.point-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    text-align: left; /* Align paragraph text left for readability */
}


/* Our Process List Styling */
.our-process > p { /* Paragraphs directly under .our-process */
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: calc(var(--base-spacing-unit) * 3);
}
.our-process ul {
    list-style: none;
    padding-left: 0;
}
.our-process ul li {
    position: relative;
    padding-left: calc(var(--base-spacing-unit) * 4); /* Space for custom bullet */
    margin-bottom: calc(var(--base-spacing-unit) * 2.5); /* More spacing between process points */
    font-size: 1rem;
    line-height: 1.65;
}
.our-process ul li::before {
    content: '❖'; /* Example: Diamond bullet or use an SVG/Font Icon */
    /* Alternative: content: '🐴'; (puppy emoji - test cross-browser) */
    /* Alternative: content: url('/images/custom-bullet.svg'); */
    position: absolute;
    left: 0;
    top: 0px; /* Adjust vertical alignment */
    color: var(--color-accent); /* Accent color for bullet */
    font-size: 1.5em; /* Adjust size of bullet */
    line-height: 1; /* Ensure bullet aligns well */
}
.our-process ul li strong { /* If you add strong tags within list items */
    color: var(--color-primary);
}


/* Meet the Family Section (Optional) */
.meet-the-family .family-member {
    margin-bottom: calc(var(--base-spacing-unit) * 3);
    /* Add styles for individual family member display if you use this */
}
.meet-the-family .family-member img {
    width: 150px; /* Example size */
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto calc(var(--base-spacing-unit) * 1.5);
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.meet-the-family .family-member h3 {
    margin-bottom: calc(var(--base-spacing-unit) * 0.5);
    font-size: 1.2rem;
}
.meet-the-family .family-member p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}
.meet-the-family > p:last-of-type { /* Last paragraph with contact link */
    margin-top: calc(var(--base-spacing-unit) * 3);
    font-size: 1.1rem;
}


/* Responsive Adjustments for About Page */
@media (min-width: 768px) {
    .about-intro .about-layout {
        grid-template-columns: 2fr 1fr; /* Text takes more space */
    }
    .about-intro .about-text {
        padding-right: calc(var(--base-spacing-unit) * 2); /* Space between text and image */
    }
    .philosophy-points {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    }
}

@media (min-width: 992px) {
    .about-intro .about-layout {
        grid-template-columns: 3fr 2fr; /* More emphasis on text on larger screens */
    }
}

/* --- Contact Page Specific Styles --- */

/* Contact Options Grid */
.contact-options .contact-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: calc(var(--base-spacing-unit) * 3.5); /* 28px */
}

.contact-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    padding: calc(var(--base-spacing-unit) * 3); /* 24px */
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card .contact-icon {
    color: var(--color-primary);
    font-size: 2.8rem; /* Size of icon container */
    margin-bottom: calc(var(--base-spacing-unit) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}
.contact-card .contact-icon .icon { /* Style the SVG itself */
    width: 36px;
    height: 36px;
}

.contact-card h3 {
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: var(--base-spacing-unit) * 1.5;
}
.contact-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: var(--base-spacing-unit) * 1.5;
    flex-grow: 1; /* Allows paragraphs to push details down if cards have varying text length */
}
.contact-card .contact-detail {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: calc(var(--base-spacing-unit) * 0.5);
}
.contact-card .contact-detail a {
    color: var(--color-accent);
    font-weight: bold;
}
.contact-card .contact-detail a:hover {
    text-decoration: underline;
}
.contact-card .contact-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-top: var(--base-spacing-unit);
}
.contact-card .map-link {
    margin-top: auto; /* Pushes button to bottom if card content is short */
    padding-top: var(--base-spacing-unit);
}


/* Contact Form Section */
.contact-form-section h2 {
    text-align: center;
}
.contact-form-section > p { /* Paragraph directly under section, before form */
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--base-spacing-unit) * 3);
    color: var(--color-text-muted);
}

.styled-form { /* General class for forms if you want consistent styling */
    max-width: 750px; /* Limit form width */
    margin: 0 auto; /* Center the form */
    background-color: var(--color-white);
    padding: calc(var(--base-spacing-unit) * 3.5); /* 28px */
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.styled-form .form-row {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: calc(var(--base-spacing-unit) * 2.5); /* 20px */
}
.styled-form .form-group {
    margin-bottom: calc(var(--base-spacing-unit) * 2.5); /* 20px */
    flex: 1; /* For use in form-row on larger screens */
}
.styled-form label {
    display: block;
    margin-bottom: var(--base-spacing-unit);
    font-weight: 600; /* Slightly bolder labels */
    color: var(--color-text);
}
.styled-form input[type="text"],
.styled-form input[type="email"],
.styled-form input[type="tel"],
.styled-form textarea {
    /* Uses existing base input styles, ensure they are sufficient */
    /* Add any overrides if needed */
    padding: calc(var(--base-spacing-unit) * 1.5) var(--base-spacing-unit); /* 12px 8px */
}
.styled-form textarea {
    min-height: 120px;
}
.styled-form .form-actions {
    text-align: right; /* Align button to the right */
    margin-top: calc(var(--base-spacing-unit) * 1);
}
.styled-form .form-actions button {
    padding-left: calc(var(--base-spacing-unit) * 4); /* More padding for primary button */
    padding-right: calc(var(--base-spacing-unit) * 4);
}

.form-response-message { /* For success/error messages from JS */
    padding: var(--base-spacing-unit);
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: bold;
}
.form-response-message.success {
    background-color: #e6ffed;
    border: 1px solid var(--color-success);
    color: var(--color-success);
}
.form-response-message.error {
    background-color: #ffe6e6;
    border: 1px solid var(--color-error);
    color: var(--color-error);
}


/* Map Section */
.map-section h2 {
    text-align: center;
}
.map-embed-container {
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius);
    overflow: hidden; /* Ensures iframe corners are rounded if border-radius is applied */
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    line-height: 0; /* Fixes potential extra space below iframe */
}
.map-embed-container iframe {
    display: block; /* Remove any default inline spacing */
}


/* Responsive Adjustments for Contact Page */
@media (min-width: 768px) {
    .contact-options .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
    }
    .styled-form .form-row {
        flex-direction: row; /* Side-by-side for name/email */
    }
}

@media (min-width: 992px) {
    .contact-options .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* Three columns on larger screens */
    }
}



     /* --- Page Specific Example: Cart Page Layout --- */
     .cart-page .cart-layout {
         display: grid;
         grid-template-columns: 2fr 1fr; /* Items take more space */
         gap: calc(var(--base-spacing-unit) * 4);
         align-items: start;
     }
     .cart-item { /* Adjust cart item layout */
         display: grid;
         grid-template-columns: 100px 1fr auto auto; /* Image, Details, Price, Actions */
         gap: calc(var(--base-spacing-unit) * 2);
         align-items: center;
         margin-bottom: calc(var(--base-spacing-unit) * 2);
         padding-bottom: calc(var(--base-spacing-unit) * 2);
         border-bottom: 1px solid var(--color-secondary);
     }
     .cart-item:last-child { border-bottom: none; }
     .item-image img { width: 100px; height: auto; border-radius: var(--border-radius); }


     /* --- Page Specific Example: Checkout Layout --- */
     .checkout-page .checkout-layout {
         display: grid;
         grid-template-columns: 2fr 1fr;
         gap: calc(var(--base-spacing-unit) * 5);
         align-items: start;
     }
     .order-summary-sidebar {
         background-color: var(--color-secondary);
         padding: calc(var(--base-spacing-unit) * 3);
         border-radius: var(--border-radius);
         position: sticky; /* Keep summary visible on scroll */
         top: calc(var(--header-height-desktop) + var(--base-spacing-unit) * 2); /* Position below header */
     }

} /* End Tablet Media Query */


/* --- Desktop (approx 1024px and up) --- */
@media (min-width: 1024px) {
    :root {
        --base-font-size: 18px; /* Slightly larger base font */
    }

    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }

    /* Header Adjustments */
    .nav-menu {
        gap: calc(var(--base-spacing-unit) * 2); /* Wider gap */
    }

    /* Puppy Grid */
    .puppy-grid {
        grid-template-columns: repeat(3, 1fr); /* Three columns */
    }

    /* Hero */
    .hero h1 { font-size: 3rem; }
    .hero .hero-subheading { font-size: 1.2rem; }

} /* End Desktop Media Query */


/* --- Desktop Large (approx 1200px and up) --- 
@media (min-width: 1200px) {
      Optional: Further adjustments for very large screens 
      .puppy-grid { 
         Maybe 4 columns if design allows 
         grid-template-columns: repeat(4, 1fr); 
     }
} End Desktop Large Media Query */