/**
 * WooCommerce Styles - Petland Largo Florida 2025
 * ONLY loaded on WooCommerce pages to maintain homepage performance
 *
 * Sections:
 * 1. Shop/Category Archive Pages
 * 2. Product Card Component
 * 3. Sidebar Filters (Desktop + Mobile)
 * 4. Single Product Pages
 * 5. Product Gallery
 * 6. Mobile Sidebar Toggle
 * 7. Pagination
 * 8. Related Products
 */

/* ========================================
   1. SHOP/CATEGORY ARCHIVE PAGES
   ======================================== */

.shop-archive {
    background: var(--muted);
    min-height: calc(100vh - 200px);
    padding: 40px 0 80px;
}

.shop-archive__header {
    padding: 0px 0 20px;
    margin-bottom: 32px;
}

.shop-archive__header-content {
    text-align: left;
}

.shop-archive__title {
    color: var(--ink);
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.shop-archive__subtitle {
    color: var(--dark-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0 0 12px;
}

.subtitle-content-wrapper {
    position: relative;
}

.subtitle-toggle-wrapper {
    text-align: right;
    margin-top: 8px;
}

.shop-archive__subtitle-toggle {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
    display: inline-block;
}

.shop-archive__subtitle-toggle:hover {
    color: var(--primary-dark);
}

.shop-archive__breadcrumbs {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.shop-archive__breadcrumbs .woocommerce-breadcrumb {
    color: var(--medium-gray);
}

.shop-archive__breadcrumbs .woocommerce-breadcrumb a {
    color: var(--medium-gray);
    text-decoration: none;
}

.shop-archive__breadcrumbs .woocommerce-breadcrumb a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.shop-archive__layout {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 40px;
    align-items: start;
}

.shop-archive__sidebar {
    width: 280px;
}

.shop-archive__main {
    min-height: 500px;
    width: 100%;
}

.shop-archive__results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--dark-gray);
}

.shop-archive__results-count {
    font-size: 1rem;
    color: var(--ink);
    font-weight: 600;
}

.shop-archive__sorting {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-archive__sorting-label {
    font-size: 0.875rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.shop-archive__sorting-select {
    padding: 8px 32px 8px 12px;
    border: 2px solid var(--dark-gray);
    border-radius: 6px;
    background: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-archive__sorting-select:hover {
    border-color: var(--primary);
}

.shop-archive__sorting-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(28, 133, 52, 0.1);
}

/* ========================================
   2. PRODUCT CARD COMPONENT
   ======================================== */

.products,
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
    list-style: none;
    padding: 0;
    margin: 0 0 48px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 20;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.25);
    pointer-events: auto;
}

.product-card__badge--available {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.product-card__badge--sold {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

.product-card__badge--coming-soon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
}

.product-card__badge--sale {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1;
}

.product-card__badge--sale .badge-percent {
    font-size: 1.125rem;
    font-weight: 900;
}

.product-card__badge--sale .badge-label {
    font-size: 0.625rem;
    font-weight: 700;
    opacity: 0.95;
}

.product-card__badge--unlock-pricing {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    border: none;
    outline: none;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 30 !important;
    pointer-events: auto !important;
}

.product-card__badge--unlock-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #8a3618 100%);
    color: #fff;
}

.product-card__badge--unlock-pricing i {
    font-size: 0.875rem;
    line-height: 1;
}

.product-card__badge--unlock-pricing span {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.product-card__location {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.product-card__location i {
    color: var(--primary);
    font-size: 0.875rem;
}

.product-card__image-wrapper {
    position: relative;
}

.product-card__image-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: var(--muted);
}

.product-card__image {
    position: relative;
    padding-top: 100%; /* 1:1 aspect ratio */
    overflow: hidden;
}

.product-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    z-index: 1;
}

.product-card:hover .product-card__img {
    transform: scale(1.08);
}

.product-card__image--placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__image--placeholder i {
    font-size: 4rem;
    opacity: 0.3;
    color: var(--dark-gray);
}

.product-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card__breed {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 6px;
}

.product-card__title {
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 14px;
    line-height: 1.2;
    padding-bottom: 0px;
    margin-bottom: 0px;
}

.product-card__title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-card__title-link:hover {
    color: var(--primary);
}

.product-card__info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 16px;
}

.product-card__info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 8px;
    background: var(--muted);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
}

.product-card__info-item span {
    white-space: nowrap;
}

.product-card__info-item i {
    color: var(--primary);
    font-size: 1.25rem;
}

.product-card__price {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--primary);
    margin: auto 0 8px;
}

.product-card__actions {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
}

.product-card__action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    padding: 8px 10px 6px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    min-width: 50px;
}

.product-card__action-btn--call {
    background: #28a745;
    color: #fff;
    border-color: #218838;
}

.product-card__action-btn--call:hover {
    background: #218838;
    border-color: #1e7e34;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
}

.product-card__action-btn--email {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary-dark);
}

.product-card__action-btn--email:hover {
    background: var(--primary-dark);
    border-color: #155F27;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 133, 52, 0.35);
}

/* Come Visit Book Button (wider in action row) */
.product-card__action-btn--book {
    background: #24A6D4;
    color: #fff;
    border-color: #1a8bb8;
    flex-direction: row;
    min-width: auto;
    flex: 1;
    padding: 8px 12px 6px;
}

.product-card__action-btn--book:hover {
    background: #1a8bb8;
    border-color: #147a9c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(36, 166, 212, 0.35);
}

.product-card__action-btn--book i {
    font-size: 1.2rem;
    margin-right: 8px;
    flex-shrink: 0;
}

.product-card__action-btn i {
    font-size: 1rem;
}

.action-btn-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: lowercase;
    line-height: 1;
    opacity: 0.95;
}

/* Text styling for visit button */
.visit-button-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    color: #fff;
}

.visit-button-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.visit-button-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1;
    color: #fff;
}

/* Video Meet & Greet Button (Full Width) */
.product-card__button--video {
    background: #059669;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    flex-direction: row;
    padding: 12px 14px;
    align-items: center;
}

.product-card__button--video:hover {
    background: #047857;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.35);
    transform: translateY(-2px);
    color: #fff;
}

.video-platform-icons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-right: 10px;
    flex-shrink: 0;
    align-items: center;
}

.video-platform-icons svg {
    display: block;
    opacity: 1;
}

.video-button-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
    color: #fff;
}

.video-button-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.video-button-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1;
    color: #fff;
}

/* More Info Button (Transparent, No Background) */
.product-card__button {
    width: 100%;
    padding: 14px;
    /* background: transparent; */
    color: var(--dark-gray);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-card__button:hover {
    color: var(--ink);
    transform: translateX(4px);
    text-decoration: none;
}

.product-card__button i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.product-card__button:hover i {
    transform: translateX(4px);
}

/* No Products State */
.shop-archive__no-products {
    text-align: center;
    padding: 80px 20px;
    background: #fff;
    border-radius: 12px;
    margin: 40px 0;
}

.shop-archive__no-products-icon {
    font-size: 5rem;
    margin-bottom: 24px;
    opacity: 0.3;
}

.shop-archive__no-products-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
}

.shop-archive__no-products-text {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 32px;
}

/* ========================================
   3. SIDEBAR FILTERS (Desktop)
   ======================================== */

.shop-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 10px;
}

.shop-widget {
    margin-bottom: 32px;
}

.shop-widget:last-child {
    margin-bottom: 0;
}

.shop-widget__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}

.shop-widget__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-widget__list-item {
    margin-bottom: 12px;
}

.shop-widget__list-item:last-child {
    margin-bottom: 0;
}

.shop-widget__link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.shop-widget__link:hover {
    background: var(--muted);
    color: var(--primary);
    padding-left: 16px;
}

.shop-widget__link--active {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
}

.shop-widget__link--active:hover {
    background: var(--primary-dark);
    color: #fff;
}

.shop-widget__count {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Filter Checkboxes */
.shop-widget__checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.shop-widget__checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--primary);
}

.shop-widget__checkbox-label {
    cursor: pointer;
    color: var(--dark-gray);
    font-weight: 500;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Price Range Filter */
.shop-widget__price-range {
    padding: 12px 0;
}

.shop-widget__price-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.shop-widget__price-input {
    padding: 10px;
    border: 2px solid var(--dark-gray);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
}

.shop-widget__price-input:focus {
    outline: none;
    border-color: var(--primary);
}

.shop-widget__price-separator {
    color: var(--dark-gray);
    font-weight: 600;
}

.shop-widget__price-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--muted);
    outline: none;
    margin-bottom: 16px;
    accent-color: var(--primary);
}

.shop-widget__apply-button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-widget__apply-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   4. MOBILE SIDEBAR TOGGLE
   ======================================== */

.shop-sidebar-toggle {
    display: none; /* Hidden on desktop */
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    padding: 16px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(28, 133, 52, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    gap: 8px;
}

.shop-sidebar-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(28, 133, 52, 0.5);
}

.shop-sidebar-toggle i {
    font-size: 1.25rem;
}

/* Mobile Sidebar Overlay */
.shop-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.shop-sidebar-overlay.active {
    opacity: 1;
}

/* Mobile Sidebar */
.shop-sidebar--mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    max-width: 380px;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    background: #fff;
    z-index: 1051;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
    overscroll-behavior: contain; /* Prevent scroll chaining to page behind */
    touch-action: pan-y; /* Optimize touch scrolling */
    transition: right 0.3s ease;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.2);
}

.shop-sidebar--mobile.active {
    right: 0;
}

.shop-sidebar__mobile-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    padding-top: calc(20px + env(safe-area-inset-top)); /* Account for notch/status bar */
    border-bottom: 2px solid var(--muted);
    background: var(--primary);
    color: #fff;
}

.shop-sidebar__mobile-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.shop-sidebar__close-button {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.75rem;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

.shop-sidebar__close-button:hover {
    transform: rotate(90deg);
}

.shop-sidebar__mobile-content {
    padding: 24px 24px 80px 24px; /* Extra bottom padding for scroll clearance */
    padding-bottom: calc(80px + env(safe-area-inset-bottom)); /* Account for iPhone home indicator */
}

/* ========================================
   5. SINGLE PRODUCT PAGE
   ======================================== */

.single-product {
    background: var(--muted);
    /* padding: 40px 0 80px; */
}

.single-product__breadcrumb {
    background: #fff;
    padding: 16px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--muted);
}

.single-product__breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--dark-gray);
}

.single-product__breadcrumb-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.single-product__breadcrumb-nav a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.single-product__breadcrumb-separator {
    color: var(--dark-gray);
    opacity: 0.5;
}

.single-product__breadcrumb-current {
    color: var(--ink);
    font-weight: 600;
}

.single-product__layout {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px;
    align-items: start;
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 48px;
}

/* ========================================
   6. PRODUCT GALLERY
   ======================================== */

.product-gallery {
    position: sticky;
    top: 100px;
}

.product-gallery__main {
    position: relative;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--muted);
}

.product-gallery__main-image {
    position: relative;
    padding-top: 100%; /* 1:1 aspect ratio */
    cursor: zoom-in;
}

.product-gallery__main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.product-gallery__thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.product-gallery__thumbnail {
    position: relative;
    padding-top: 100%;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.product-gallery__thumbnail:hover {
    border-color: var(--primary);
}

.product-gallery__thumbnail--active {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(28, 133, 52, 0.2);
}

.product-gallery__thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   7. PRODUCT INFO SIDEBAR
   ======================================== */

.product-info {
    display: flex;
    flex-direction: column;
}

.product-info__header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--muted);
}

.product-info__category {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.product-info__title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--ink);
    margin: 0 0 16px;
    line-height: 1.2;
}

.product-info__price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary);
    margin: 0;
}

.product-info__attributes {
    margin-bottom: 32px;
}

.product-info__attribute {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--muted);
}

.product-info__attribute-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 1rem;
}

.product-info__attribute-label i {
    color: var(--primary);
    font-size: 1.125rem;
}

.product-info__attribute-value {
    font-weight: 700;
    color: var(--ink);
    font-size: 1.125rem;
}

.product-info__description {
    margin-bottom: 32px;
}

.product-info__description-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 16px;
}

.product-info__description-text {
    line-height: 1.7;
    color: var(--dark-gray);
    font-size: 1rem;
}

.product-info__actions {
    margin-top: auto;
}

.product-info__button {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.product-info__button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 133, 52, 0.3);
}

.product-info__button--secondary {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.product-info__button--secondary:hover {
    background: var(--primary);
    color: #fff;
}

.product-info__button i {
    font-size: 1.25rem;
}

/* ========================================
   8. PRODUCT DETAILS SECTION
   ======================================== */

.product-details {
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 48px;
}

.product-details__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
}

.product-details__content {
    line-height: 1.8;
    color: var(--dark-gray);
    font-size: 1.0625rem;
}

.product-details__content h3 {
    color: var(--ink);
    font-weight: 700;
    margin: 32px 0 16px;
}

.product-details__content ul {
    padding-left: 24px;
    margin: 16px 0;
}

.product-details__content li {
    margin-bottom: 8px;
}

/* ========================================
   9. RELATED PRODUCTS
   ======================================== */

.related-products {
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.related-products__header {
    text-align: center;
    margin-bottom: 40px;
}

.related-products__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 12px;
}

.related-products__subtitle {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin: 0;
}

.related-products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ========================================
   10. INFINITE SCROLL LOADING
   ======================================== */

.infinite-scroll-loader {
    display: none;
    text-align: center;
    padding: 40px 0;
}

.infinite-scroll-loader.loading {
    display: block;
}

.infinite-scroll-loader__spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--muted);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.infinite-scroll-loader__text {
    font-size: 1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

.infinite-scroll-end {
    display: none;
    text-align: center;
    padding: 40px 0;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
}

.infinite-scroll-end.visible {
    display: block;
}

/* ========================================
   11. PAGINATION
   ======================================== */

.woocommerce-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 48px 0 0;
}

.woocommerce-pagination li {
    margin: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: var(--ink);
    background: #fff;
    border: 2px solid var(--dark-gray);
    transition: all 0.2s ease;
}

.woocommerce-pagination a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

.woocommerce-pagination .current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.woocommerce-pagination .prev,
.woocommerce-pagination .next {
    font-size: 0.875rem;
    gap: 8px;
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
    .shop-archive__layout {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }

    .shop-archive__sidebar {
        display: none; /* Hide desktop sidebar */
    }

    .shop-sidebar-toggle {
        display: flex; /* Show filter button */
    }

    .products,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .single-product__layout {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 40px;
    }

    .product-gallery {
        position: static;
    }

    .related-products__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .shop-archive {
        padding: 20px 0 40px;
    }

    .shop-archive__header {
        padding: 0 0 12px;
        margin-bottom: 20px;
    }

    .shop-archive__title {
        font-size: 1.75rem;
    }

    .shop-archive__subtitle {
        font-size: 1rem;
    }

    .shop-archive__breadcrumbs {
        font-size: 0.8125rem;
    }

    .shop-archive__results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .products,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card__content {
        padding: 20px;
    }

    .product-card__title {
        font-size: 1.125rem;
    }

    .product-card__price {
        font-size: 1.5rem;
    }

    .single-product__layout {
        padding: 24px;
    }

    .product-info__title {
        font-size: 1.75rem;
    }

    .product-info__price {
        font-size: 2rem;
    }

    .product-details {
        padding: 24px;
    }

    .product-details__title {
        font-size: 1.5rem;
    }

    .related-products {
        padding: 32px 20px;
    }

    .related-products__grid {
        grid-template-columns: 1fr;
    }

    .woocommerce-pagination {
        flex-wrap: wrap;
    }

    .woocommerce-pagination a,
    .woocommerce-pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 0.875rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .shop-sidebar--mobile {
        width: 100%;
        max-width: 100%;
    }

    .single-product__layout {
        padding: 16px;
    }

    .product-gallery__thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-info__button {
        font-size: 1rem;
        padding: 16px;
    }
}

/* ========================================
   AJAX LOADING STATE
   ======================================== */

.shop-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 300px;
}

.shop-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    border-color: var(--primary);
    border-right-color: transparent;
}

/* Visually hidden class for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   PET ENQUIRY FORM STYLES (for modal)
   ======================================== */

.pet-form .form-group {
    margin-bottom: 1.25rem;
}

.pet-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 480px) {
    .pet-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pet-form .form-row .form-group {
        margin-bottom: 1.25rem;
    }
}

.pet-form .form-label {
    display: block;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pet-form .form-label .required {
    color: var(--primary);
}

.pet-form .form-input,
.pet-form .form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.pet-form .form-input:focus,
.pet-form .form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212,82,36,0.1);
}

.pet-form .form-input.error,
.pet-form .form-textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220,53,69,0.1);
}

.pet-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.pet-form .form-checkbox-group {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--muted);
    border-radius: 6px;
    border-left: 4px solid var(--primary);
}

.pet-form .form-checkbox-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.pet-form .form-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    accent-color: var(--primary);
    cursor: pointer;
    margin-top: 0.125rem;
}

.pet-form .form-checkbox-label {
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--dark-gray);
    cursor: pointer;
}

.pet-form .form-checkbox-label .consent-text-short {
    display: inline;
}

.pet-form .form-checkbox-label .consent-text-full {
    display: none;
}

.pet-form .form-checkbox-label.expanded .consent-text-short {
    display: none;
}

.pet-form .form-checkbox-label.expanded .consent-text-full {
    display: inline;
}

.pet-form .consent-read-more {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    margin-left: 0.25rem;
}

.pet-form .form-checkbox-label a {
    color: var(--primary);
    text-decoration: underline;
}

.pet-form .form-checkbox-label a:hover {
    color: var(--btn-hover);
}

.pet-form .btn-submit-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: var(--primary);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(212,82,36,0.2);
    width: 100%;
    margin-top: 1rem;
}

.pet-form .btn-submit-form:hover {
    background: var(--btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,82,36,0.3);
}

.pet-form .btn-submit-form:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.pet-form .btn-submit-form i {
    font-size: 1.25rem;
}

/* ============================================
   Shop Archive CTA Styles
   ============================================ */

/* Lead Capture CTA Banner */
.shop-cta-banner {
    background: linear-gradient(135deg, #fff 0%, #fafafa 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(212, 82, 36, 0.1);
    transition: all 0.3s ease;
}

.shop-cta-banner:hover {
    box-shadow: 0 6px 20px rgba(212, 82, 36, 0.15);
    transform: translateY(-2px);
}

.shop-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.shop-cta-title {
    color: var(--ink);
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.shop-cta-title i {
    color: var(--primary);
    font-size: 1.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
}

.shop-cta-text {
    color: var(--dark-gray);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 24px;
}

.shop-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cta-call {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
}

.btn-cta-call:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.35);
    color: #fff;
}

.btn-cta-primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 82, 36, 0.35);
}

.btn-cta i {
    font-size: 1.125rem;
}

/* Floating Action Button */
.shop-floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(212, 82, 36, 0.4);
    transition: all 0.3s ease;
    animation: floatPulse 2s ease-in-out infinite;
}

.shop-floating-cta:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 82, 36, 0.5);
}

.shop-floating-cta i {
    font-size: 1.25rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes floatPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Consent text collapsible styles */
.consent-text-short,
.consent-text-full {
    display: inline;
}

.form-checkbox-label.expanded .consent-text-short {
    display: none;
}

.form-checkbox-label.expanded .consent-text-full {
    display: inline;
}

.consent-read-more {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 700;
    margin-left: 0.25rem;
    transition: color 0.2s ease;
}

.consent-read-more:hover {
    color: var(--primary-dark);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .shop-cta-banner {
        padding: 24px 20px;
    }

    .shop-cta-title {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 8px;
    }

    .shop-cta-text {
        font-size: 0.9375rem;
    }

    .shop-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta {
        width: 100%;
        justify-content: center;
    }

    /* Hide floating button on mobile */
    .shop-floating-cta {
        display: none;
    }
}
