/*
Theme Name: Pup World
Version: 1.0.1
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* Theme custom styles */

body {
    font-family: 'Inter', sans-serif;
}

a,
a:visited {
    color: #000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.site-header {
    background-color: #102624;
}

.site-header .container,
.site-header .container-fluid {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Logo size */
.navbar-brand img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Navigation links */
.navbar-nav .nav-link {
    color: #f7f7f3;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #f2a307;
}

/* Dropdown */
.dropdown-menu {
    background-color: #102624;
    border: none;
}
.dropdown-menu .dropdown-item {
    color: #f7f7f3;
}
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #f2a307;
    color: #102624;
}
/* Ensure submenu links inherit theme colors even without dropdown-item class */
.dropdown-menu li > a {
    color: #f7f7f3;
    text-decoration: none;
    display: block;
    padding: 0.25rem 1rem;
}
.dropdown-menu li > a:hover,
.dropdown-menu li > a:focus {
    background-color: #f2a307;
    color: #102624;
}

/* Social icons */
.social-icons a {
    color: #f7f7f3;
}
.social-icons a:hover {
    color: #f2a307;
}

/* Account and cart icons */
.account-icon,
.cart-icon {
    color: #f7f7f3;
}
.account-icon:hover,
.account-icon:active,
.cart-icon:hover,
.cart-icon:active {
    color: #cccccc;
}
.cart-count {
    font-size: 0.75rem;
    background-color: #f2a307;
    color: #ffffff;
}

.header-phone i {
    margin-right: 4px;
}

/* Business name larger */
.business-name {
    font-size: 2rem;
}

/* Nested sub menus */
.dropdown-menu .dropdown-menu {
    background-color: #102624;
    border: none;
}
.dropdown-menu .dropdown-menu .dropdown-item {
    color: #f7f7f3;
}
.dropdown-menu .dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-menu .dropdown-item:focus {
    background-color: #f2a307;
    color: #102624;
}

/* Offcanvas Menu */
#primaryOffcanvas {
    background-color: #102624;
}
#primaryOffcanvas .offcanvas-title {
    color: #f7f7f3;
}
#primaryOffcanvas .nav-link,
#primaryOffcanvas .dropdown-item {
    color: #f7f7f3;
}
#primaryOffcanvas .nav-link:hover,
#primaryOffcanvas .nav-link:focus,
#primaryOffcanvas .dropdown-item:hover,
#primaryOffcanvas .dropdown-item:focus {
    background-color: #f2a307;
    color: #102624;
}

/* Breed images */
.breed img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Breed card images on the Available Breeds page */
.available-breeds .card-img-top {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}

/* Hero section */
.hero {
    background-image: url('/wp-content/uploads/2025/04/front-page-photo.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    position: relative;
}
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(16, 38, 36, 0.7);
}
.hero > .container {
    position: relative;
    z-index: 2;
}

/* Offset hero text */
.hero .hero-content {
    margin-left: 200px;
    text-align: left;
}

@media (max-width: 767.98px) {
    .hero .hero-content {
        margin-left: 0;
        text-align: center;
    }
}
.btn-cta,
.wp-block-button__link {
    background-color: #cbfba0;
    color: #102624;
    border-radius: 50rem;
    padding: 0.6rem 1.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cta:hover,
.wp-block-button__link:hover {
    background-color: #b4e88a;
    color: #102624;
}

/* General section spacing */
section {
    margin-bottom: 0;
}
.mission,
.location {
    text-align: center;
}

/* Mission section background pattern */
.mission {
    position: relative;
    overflow: hidden;
    background-image: url('assets/images/paw_pattern_transparent.png');
    background-repeat: repeat;
    background-size: 150px;
}

.mission::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-repeat: inherit;
    background-size: inherit;
    opacity: 0.05; /* Faint paw print overlay */
    pointer-events: none;
    z-index: -1;
}

/* Financing banner styles */
.financing {
    padding: 4rem 0;
    margin-top: 2rem;
}

.financing h2 {
    font-size: 3rem;
}

.financing p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.financing-logos img {
    max-width: 48%;
}
.financing-logos {
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 767.98px) {
    .financing-logos {
        justify-content: center;
    }
}

/* Navigation block links */
.wp-block-navigation-item__content {
    color: var(--wp--preset--color--theme-2);
}
.wp-block-navigation-item__content:hover,
.wp-block-navigation-item__content:focus {
    color: var(--wp--preset--color--theme-4);
}

/* Adoption section styles */
.adoption {
    background-color: #e6f1d5;
    padding: 2rem 0;
}

/* Meet the Pack section */
.meet-pack-section {
    background-color: #e6f1d5;
    margin-top: 2rem;
}

/* Full-width layout for Meet the Pack */
.meet-pack-section .wp-block-columns.alignfull {
    margin-right: 0;
    margin-left: 0;
    max-width: none;
}

.meet-pack-section .wp-block-column:first-child {
    padding-left: var(--wp--style--root--padding-left, 1.5rem);
}

.meet-pack-section .wp-block-column:last-child {
    padding-right: 0;
}

.adoption .section-title {
    font-size: 2.5rem;
    font-weight: 700;
}

.adoption .subtitle {
    font-weight: 400;
    text-align: left;
    margin-bottom: 1rem;
}

.breed-count {
    color: #f2a307;
    font-weight: 700;
}

.adoption-copy {
    font-size: 1rem;
}

.adoption .breed .card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: transparent;
}

.adoption .breed img {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
}

.adoption .breed h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 0.75rem;
}

.adoption .breed p {
    font-size: 0.95rem;
}


/* Adoption carousel controls */
#adoptionCarousel .carousel-control-prev,
#adoptionCarousel .carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
}

#adoptionCarousel .carousel-control-prev-icon,
#adoptionCarousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.breed-btn {
    display: inline-block;
    margin-top: 0.5rem;
}

.available-badge {
    font-size: 0.75rem;
    font-weight: 600;
}

/* Footer styles */
.site-footer {
    background-color: #102624;
    color: #f7f7f3;
}

.site-footer a {
    color: #f7f7f3;
}

.site-footer a:hover,
.site-footer a:focus {
    color: #f2a307;
}

.site-footer .footer-nav ul {
    list-style: none;
    padding-left: 0;
}
.site-footer .footer-nav a {
    color: #f7f7f3;
    text-decoration: none;
}

.site-footer .footer-nav a:hover,
.site-footer .footer-nav a:focus {
    color: #f2a307;
}

.site-footer .social-links a {
    color: #f7f7f3;
}

.site-footer .social-links a:hover {
    color: #f2a307;
}

/* Reviews Section */
.reviews .card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

#reviewsCarousel .carousel-control-prev,
#reviewsCarousel .carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
}

#reviewsCarousel .carousel-control-prev-icon,
#reviewsCarousel .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
}

/* WooCommerce single product styles */
.single-product-details .summary.entry-summary {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.single-product-details .woocommerce-product-gallery {
    border-radius: 0.5rem;
    overflow: hidden;
}

.woocommerce div.product .single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #cbfba0;
    color: #102624;
    border: none;
    border-radius: 50rem;
    padding: 0.6rem 1.5rem;
}

.woocommerce div.product .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #b4e88a;
    color: #102624;
}

/* Product gallery swiper */
.product-gallery-swiper {
    position: relative;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
}
.product-gallery-swiper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product tabs styling */
.woocommerce-tabs .wc-tabs {
    border-bottom: none;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.woocommerce-tabs .wc-tabs li {
    list-style: none;
}
.woocommerce-tabs .wc-tabs li a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50rem;
    background: #f5f5f5;
    color: #102624;
    text-decoration: none;
}
.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li a:hover {
    background: #cbfba0;
}
.woocommerce-tabs .panel {
    animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Sticky add to cart on mobile */
@media (max-width: 767.98px) {
    .single-product-details form.cart {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 1rem;
        z-index: 1000;
    }
}

.product-badge {
    font-size: 0.875rem;
}

/* Product highlight list */
.product-highlights {
    font-size: 0.9rem;
}
.product-highlights i {
    color: #28a745;
    margin-right: 0.25rem;
}

/* Trust badges */
.trust-badges {
    font-size: 0.875rem;
    color: #102624;
}
.trust-badges i {
    color: #cbfba0;
    margin-right: 0.25rem;
}

@media (max-width: 767.98px) {
    .single-product-details .single_add_to_cart_button {
        width: 100%;
    }
}
        /* --- General & Layout --- */
        .pt-lg-5 { padding-top: 0rem !important; }
        .woocommerce-breadcrumb { font-size: 0.8em !important; padding-bottom: 0px !important; margin-bottom: 0px !important; margin-top: 15px !important; margin-left: 0px !important; }
        .product-primary-info .short-details { list-style: none; padding: 0; margin-bottom: 1.5rem; }
        .product-primary-info .short-details li { margin-bottom: 0.5rem; font-size: 1rem; display: flex; align-items: center; }
        .product-primary-info .short-details li i { color: #f2a307; margin-right: 0.75rem; width: 20px; text-align: center; flex-shrink: 0; }
        .product-primary-info .short-details li strong { font-weight: 700 !important; }
        .product-primary-info h1.product_title { font-size: 2.2rem; font-weight: 700; margin-bottom: 0.25rem; }
        .product-primary-info .breed-info { font-size: 1.2rem; color: #6c757d; margin-bottom: 1rem; }
        .product-primary-info .ref-id { font-size: 0.9rem; color: #6c757d; display: block; margin-bottom: 1rem; }
        .product-primary-info .price { font-size: 1.8rem; font-weight: 600; color: #343a40; margin-bottom: 1.5rem; }
        .product-primary-info .woocommerce-Price-amount.amount { color: #198754 !important; font-size: 2rem !important; font-weight: bold !important; }
        .product-primary-info .woocommerce-Price-currencySymbol { font-size: 1.5rem; font-weight: normal; }
        .product-primary-info ins { text-decoration: none; background: none; }
        .product-primary-info del { color: #6c757d; font-weight: normal; font-size: 1.2rem; margin-right: 0.5rem; }
        .product-primary-info .finance-video-icons a { color: #6c757d; text-decoration: none; margin-right: 1rem; display: inline-flex; align-items: center; transition: color 0.2s ease; }
        .product-primary-info .finance-video-icons a:hover { color: #f2a307; }
        .product-primary-info .finance-video-icons .finance-btn i { font-size: 1.5rem; margin-right: 0.5rem; color: #28a745; }
        .product-primary-info .finance-video-icons .youtube-btn i { font-size: 1.5rem; margin-right: 0.5rem; color: #ff0000; }
        .product-primary-info .info-badges img { height: 110px; width: auto; vertical-align: middle; }
        .detail-list { list-style: none; padding: 0; margin: 0; }
        .detail-list li { display: flex; justify-content: space-between; align-items: center; padding: 0.35rem 0; border-bottom: 1px solid #eee; font-size: 0.95rem; }
        .detail-list li:last-child { border-bottom: none; }
        .detail-list .detail-label { font-weight: 500; color: #495057; margin-right: 1rem; flex-shrink: 0; }
        .detail-list .detail-label i { width: 1.2em; text-align: center; }
        .detail-list .detail-value { color: #6c757d; text-align: right; flex-grow: 1; word-break: break-word; }
        .parent-info .card { border: none; background-color: #f8f9fa; border-radius: 0.25rem; }
        .parent-info img.rounded-circle { width: 120px; height: 120px; object-fit: cover; border: 3px solid #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        .parent-info h5 { font-weight: 700 !important; font-size: 1.25rem; }
        .parent-info p { font-size: 1rem; margin-bottom: 0.25rem; color: #495057; }
        .parent-info p strong { color: #495057; font-weight: 700 !important; }
        .parent-info p:not(:first-of-type) { font-size: 0.9rem; color: #6c757d; }

        /* --- Product Gallery & Badges --- */
        .product-gallery { position: relative; border: 1px solid #dee2e6; border-radius: 0.25rem; overflow: hidden; }
        .product-gallery .carousel-item { aspect-ratio: 1 / 1; background-color: #f8f9fa; }
        .product-gallery .carousel-item img { width: 100%; height: 100%; object-fit: cover; }
        .product-gallery .carousel-control-prev,
        .product-gallery .carousel-control-next { width: 3rem; height: 3rem; background-color: rgba(0, 0, 0, 0.5); border-radius: 50%; opacity: 0.8; transition: opacity 0.2s ease, background-color 0.2s ease; top: 50%; transform: translateY(-50%); position: absolute; border: none; }
        .product-gallery .carousel-control-prev:hover,
        .product-gallery .carousel-control-next:hover { background-color: rgba(0, 0, 0, 0.7); opacity: 1; }
        .product-gallery .carousel-control-prev { left: 1rem; }
        .product-gallery .carousel-control-next { right: 1rem; }
        .product-gallery .carousel-control-prev-icon,
        .product-gallery .carousel-control-next-icon { background-size: 1.25rem 1.25rem; }
        .product-gallery .carousel-indicators { bottom: 10px; z-index: 6; }
        .product-gallery .badge-base { position: absolute; top: 1rem; font-size: 0.9rem; color: #fff; text-transform: uppercase; padding: 0.4rem 0.8rem; border-radius: 0.25rem; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); font-weight: 600; z-index: 5; }
        .product-gallery .badge-status { left: 1rem; background-color: #6c757d; }
        .product-gallery .badge-sale { left: 1rem; background-color: #f2a307; }
        .product-gallery .badge-coming-soon { right: 1rem; background-color: #0dcaf0; color: #333; text-decoration: none; }
        .product-gallery .badge-coming-soon:hover { background-color: #0aa3b8; color: #fff; }
        .product-gallery .badge-status.status-sold { background-color: #343a40; }
        .product-gallery .badge-status.status-on-hold { background-color: #ffc107; color: #333; }
        .product-gallery .badge-status.status-coming-soon { background-color: #0dcaf0; color: #333; }

        /* --- Buttons --- */
        .btn-gold { background-color: #f2a307 !important; color: #fff !important; border: 1px solid #f2a307 !important; transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out; }
        .btn-gold:hover { background-color: #f2a307 !important; color: #fff !important; border-color: #c08d06 !important; }
        .btn-gold:focus { background-color: #f2a307 !important; border-color: #c08d06 !important; color: #fff !important; box-shadow: 0 0 0 0.25rem rgba(185, 142, 72, 0.5) !important; }
        .btn-light { color: #ffffff; background-color: #f2a307; border-color: #f8f9fa; }
        .btn-light:hover { color: #000; background-color: #f2a307; border-color: #d3d9df; }
        .btn-light:focus { color: #000; background-color: #f2a307; border-color: #d3d9df; box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5); }

        /* Custom background color utility */
        .bg-gold { background-color: #f2a307 !important; color: #fff !important; }

        /* Card price styling */
        .product-card .product-price,
        .pet-card .product-price { color: #198754; font-weight: 600; }
        .action-buttons .btn { padding: 0.75rem 1rem; font-size: 1rem; }
        .action-buttons .btn-lg { padding: 0.75rem 1rem !important; font-size: 1.1rem; }
        .action-buttons .single_add_to_cart_button { line-height: normal; display: block; }
        .action-buttons .btn-secondary[disabled] { padding: 0.75rem 1rem; font-size: 1.1rem; display: block; }

        /* --- Tabs --- */
        #product-tab { border-bottom: 1px solid #f2a307; }
        #product-tab .nav-link { color: #fff; font-weight: 500; background-color: #333130; border: 1px solid #444241; border-bottom-color: #f2a307; transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease; border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; margin-right: 2px; margin-bottom: -1px; padding: 0.75rem 1.25rem; }
        #product-tab .nav-link:hover { color: #f2a307; background-color: #444241; border-color: #555352 #555352 #f2a307; }
        #product-tab .nav-link.active { color: #fff !important; font-weight: 600 !important; background-color: #f2a307 !important; border-color: #f2a307 #f2a307 #f2a307 !important; }
        #nav-tabContent { border: 1px solid #f2a307; border-top: none; border-radius: 0 0 0.25rem 0.25rem; background-color: #fff; box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075); margin-bottom: 1rem; }
        #nav-tabContent .tab-pane { padding: 1.5rem; }

        /* --- Breed Info Tab Specific Styles --- */
        #nav-breedinfo h4 { font-size: 1.5rem; margin-bottom: 1.5rem !important; font-weight: 600; }
        #nav-breedinfo h5 { font-size: 1.25rem; font-weight: 600; }
        #nav-breedinfo .carousel-column-container { height: 350px; margin-bottom: 1rem; position: relative; background-color: #f8f9fa; border: 1px solid #dee2e6; border-radius: 0.25rem; }
        #nav-breedinfo #petKbImageCarousel, #nav-breedinfo #petKbVideoCarousel { height: 100%; overflow: hidden; position: relative; }
        #nav-breedinfo .carousel-inner { height: 100%; }
        #nav-breedinfo .carousel-item { height: 100%; text-align: center; display: flex; align-items: center; justify-content: center; }
        #nav-breedinfo #petKbImageCarousel .carousel-item img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; display: block; margin: 0 auto; }
        #nav-breedinfo #petKbVideoCarousel .carousel-item iframe { width: 100%; height: 100%; border: 0; }
        #nav-breedinfo .carousel-control-prev, #nav-breedinfo .carousel-control-next { background-color: rgba(0, 0, 0, 0.4); width: 8%; opacity: 0.7; transition: opacity 0.15s ease; border-radius: 0; }
        #nav-breedinfo .carousel-control-prev:hover, #nav-breedinfo .carousel-control-next:hover { opacity: 0.9; }
        #nav-breedinfo .carousel-control-prev-icon, #nav-breedinfo .carousel-control-next-icon { background-size: 60%; filter: invert(1) grayscale(100); }
        #nav-breedinfo .media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #6c757d; text-align: center; font-style: italic; padding: 1rem; }
        #nav-breedinfo .stat-icon { color: #f2a307; }
        #nav-breedinfo .color-swatch { display: inline-block; width: 25px; height: 25px; border-radius: 50%; border: 1px solid #ccc; margin-right: 5px; vertical-align: middle; }
        #nav-breedinfo .color-label { display: inline-flex; align-items: center; margin-right: 15px; margin-bottom: 8px; }
        #nav-breedinfo .badge-trait { background-color: #28a745; color: #fff; font-size: 0.9em; padding: 0.4em 0.7em; margin-right: 0.5rem; margin-bottom: 0.5rem; display: inline-block; border-radius: 0.25rem; }
        #nav-breedinfo .level-bar { display: flex; align-items: center; width: 100%; max-width: 200px; }
        #nav-breedinfo .level-segment { flex-grow: 1; height: 10px; margin-right: 2px; background-color: #e9ecef; border: 1px solid #ced4da; border-radius: 2px; }
        #nav-breedinfo .level-segment.active { background-color: #f2a307; border-color: #c08d06; }
        #nav-breedinfo .characteristic-item { display: flex; flex-direction: column; margin-bottom: 1rem; }
        #nav-breedinfo .accordion { margin-bottom: 1.5rem; }
        #nav-breedinfo .accordion-item { background-color: #4c4c4c; color: #fff; border: none; margin-bottom: 0.5rem; border-radius: 0.5rem; overflow: hidden; }
        #nav-breedinfo .accordion-header { margin-bottom: 0; }
        #nav-breedinfo .accordion-button { background-color: #4c4c4c; color: #fff; font-weight: bold; padding: 0.75rem 1rem; border: none; width: 100%; text-align: left; display: flex; align-items: center; box-shadow: none; border-radius: 0; }
        #nav-breedinfo .accordion-button:not(.collapsed) { background-color: #4c4c4c; color: #fff; box-shadow: none; }
        #nav-breedinfo .accordion-button::after { display: none; }
        #nav-breedinfo .accordion-button i.bi { color: #fff; margin-right: 0.75rem; transition: transform 0.3s ease-in-out; transform: rotate(0deg); }
        #nav-breedinfo .accordion-button:not(.collapsed) i.bi { transform: rotate(90deg); }
        #nav-breedinfo .accordion-button h5,
        #nav-breedinfo .accordion-button span { margin: 0; font-size: 1rem; flex-grow: 1; font-weight: bold; }
        #nav-breedinfo .accordion-body { background-color: #4c4c4c; color: #fff; padding: 0.75rem 1rem; }
        #nav-breedinfo .accordion-body p:last-child { margin-bottom: 0; }

        /* --- Modals --- */
        .modal-backdrop { z-index: 1050 !important; }
        .modal { z-index: 1055 !important; }

        /* --- Responsive Design Adjustments --- */
        @media (min-width: 768px) {
            #nav-details .row .col-md-6:first-child { padding-right: 1rem; }
            #nav-details .row .col-md-6:last-child { padding-left: 1rem; border-left: 1px solid #eee; }
        }
        @media (max-width: 767.98px) {
            .single-product > .row.mb-4 { margin-bottom: 1rem !important; }
            .single-product.product { padding-top: 0.75rem; }
            #product-tab > .nav-link { font-size: 0.875rem; padding: 0.6rem 0.8rem; }
            .product-primary-info .short-details li { font-size: 0.95rem; }
            .action-buttons .row > div { margin-bottom: 0.5rem; }
            .action-buttons .btn { width: 100%; }
            #nav-breedinfo .row.row-cols-lg-4 > .col { flex: 0 0 auto; width: 50%; }
        }
        @media (max-width: 480px) {
            #product-tab > .nav-link { font-size: 0.8rem; padding: 0.5rem 0.6rem; }
            .product-primary-info h1 { font-size: 1.8rem; }
            .product-primary-info .breed-info { font-size: 1.1rem; }
            #nav-breedinfo .row.row-cols-lg-4 > .col { width: 100%; }
        }

/* WooCommerce shop controls */
.pupworld-shop-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0;
}
.pupworld-shop-controls .woocommerce-result-count {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Global dropdown style */
select,
.form-select {
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
    color: #212529;
}


/* WooCommerce cart and checkout styles */
.woocommerce-cart table.cart {
    width: 100%;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
}
.woocommerce-cart table.cart th,
.woocommerce-cart table.cart td {
    padding: 0.75rem;
    border-bottom: 1px solid #dee2e6;
}
.woocommerce-cart table.cart th {
    background-color: #f8f9fa;
    font-weight: 600;
}
.woocommerce-cart .cart-collaterals .cart_totals {
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    border-radius: 0.5rem;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    text-align: center;
}

.woocommerce-checkout form.checkout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout #order_review {
    flex: 1 1 300px;
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    border-radius: 0.5rem;
}
.woocommerce-checkout .woocommerce-checkout-review-order-table {
    margin-bottom: 1rem;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

/* WooCommerce block cart and checkout container fix */
.wc-block-cart,
.wc-block-checkout,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Style WooCommerce block buttons to match product detail buttons */
.wc-block-components-button,
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
    background-color: #f2a307;
    color: #fff;
    border: 1px solid #f2a307;
    border-radius: 0.25rem;
    padding: 0.6rem 1.5rem;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}
.wc-block-components-button:hover,
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover {
    background-color: #f2a307;
    color: #fff;
    border-color: #c08d06;
}

/* WooCommerce Deposits plugin button styling */
.wc-deposits-wrapper {
    display: flex;
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}
.wc-deposits-wrapper .button,
.wc-deposits-wrapper button.button,
.wc-deposits-wrapper input.button {
    flex: 1;
    background-color: #102624;
    color: #fff;
    border: none;
    border-radius: 0;
    padding: 1rem;
    text-decoration: none;
    font-weight: normal;
}
.wc-deposits-wrapper .button + .button,
.wc-deposits-wrapper button.button + button.button,
.wc-deposits-wrapper input.button + input.button {
    background-color: #333130;
}
.wc-deposits-wrapper .button:hover,
.wc-deposits-wrapper button.button:hover,
.wc-deposits-wrapper input.button:hover {
    background-color: #102624;
}
.wc-deposits-wrapper .button + .button:hover,
.wc-deposits-wrapper button.button + button.button:hover,
.wc-deposits-wrapper input.button + input.button:hover {
    background-color: #333130;
}
.wc-deposits-wrapper .button:focus,
.wc-deposits-wrapper button.button:focus,
.wc-deposits-wrapper input.button:focus {
    box-shadow: none;
    outline: none;
}

/* Deposit options toggle */
.deposit-options {
    display: flex;
    width: 100%;
    border: none;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}
.deposit-options label {
    flex: 1;
    padding: 1rem;
    font-weight: normal;
    cursor: pointer;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #102624;
    color: #fff;
    text-decoration: none;
}
.deposit-options label + label {
    background-color: #333130;
}
.deposit-options label:first-of-type {
    border-right: none;
}
.deposit-options input[type="radio"] {
    display: none;
}
.deposit-options input[type="radio"]:checked + label {
    background-color: inherit;
    color: #fff;
}
.deposit-options input[type="radio"]:disabled + label {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Center titles on WooCommerce block pages */
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
    text-align: center;
}

/* Hide Back to cart link on checkout page */
.woocommerce-checkout a.wc-backward {
    display: none;
}


/* Default page template styling - keep homepage full width */
@media (min-width: 992px) {
    body:not(.home) #primary.site-main {
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
    }
}
.page-template-default .breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.page-template-default .entry-content {
    margin-top: 1.5rem;
}

/* Ensure product grid images are square */
.product-card img,
.pet-card img,
.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
}


/* 404 page */
.error-404 { min-height: 60vh; display:flex; align-items:center; justify-content:center; flex-direction:column; }

