/**
 * WooCommerce Custom Styling for Paws & Care
 *
 * Premium, modern product card design system.
 * Uses theme CSS variables for full color synchronization.
 */

/* ================================================
   1. HEADER MINI-CART
   ================================================ */
.header-cart-content,
.header-cart-wrapper {
    position: relative;
}

.header-cart-wrapper .cart-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: var(--content-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
}

.header-cart-content .cart-toggle,
.header-cart-wrapper .cart-toggle:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: var(--primary-rgba-05, rgba(255, 140, 66, 0.05));
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

/* Fix for Hover vs Click dropdown alignment inconsistency */
.header-cart-content.dropdown:hover > .dropdown-menu-end {
    left: auto !important;
    right: 0 !important;
    display: block; /* Ensure it stays visible */
}

.header-cart-wrapper .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 50%;
    border: 2px solid var(--content-bg);
    animation: cartPulse 0.4s ease;
}

@keyframes cartPulse {
    0% { transform: scale(0.5); opacity: 0; }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); opacity: 1; }
}

/* Mini-Cart Dropdown */
.mini-cart-dropdown {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden;
    padding: 20px !important;
}

.mini-cart-dropdown .woocommerce-mini-cart {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 280px;
    overflow-y: auto;
}

.mini-cart-dropdown .woocommerce-mini-cart::-webkit-scrollbar {
    width: 4px;
}

.mini-cart-dropdown .woocommerce-mini-cart::-webkit-scrollbar-track {
    background: transparent;
}

.mini-cart-dropdown .woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.mini-cart-dropdown .mini_cart_item {
    margin-bottom: 12px;
    padding: 12px 12px 12px 36px;
    border-radius: 12px;
    background: #f8f9fa;
    position: relative;
    transition: background 0.2s ease;
}

.mini-cart-dropdown .mini_cart_item:hover {
    background: #f0f1f3;
}

.mini-cart-dropdown .mini_cart_item > a:not(.remove) {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

.mini-cart-dropdown .mini_cart_item > a:not(.remove):hover {
    color: var(--primary-color);
}

.mini-cart-dropdown .mini_cart_item img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    margin: 0 !important;
    float: none !important;
}

.mini-cart-dropdown .mini_cart_item .quantity {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6c757d;
    padding-left: 62px;
}

.mini-cart-dropdown .mini_cart_item a.remove {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd !important;
    background: none;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    border: none;
    padding: 0;
}

.mini-cart-dropdown .mini_cart_item a.remove:hover {
    color: #ff4757 !important;
    background: none !important;
}

.mini-cart-dropdown .woocommerce-mini-cart__total {
    padding: 16px 0 12px;
    margin: 0;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    gap: 10px;
    margin: 0;
    padding-top: 4px;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button {
    flex: 1;
    text-align: center;
    padding: 11px 16px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button:not(.checkout) {
    background: #f0f1f3;
    color: var(--text-color);
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
    background: #e4e5e7;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.checkout {
    background: var(--gradient-primary);
    color: #fff;
}

.mini-cart-dropdown .woocommerce-mini-cart__buttons .button.checkout:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
}

.mini-cart-dropdown .woocommerce-mini-cart__empty-message {
    text-align: center;
    padding: 24px 16px;
    color: #adb5bd;
    font-size: 14px;
}

/* ================================================
   2. FRONT-PAGE SECTION HEADER
   ================================================ */
.woocommerce-section .woo-section-badge {
    display: inline-block;
    padding: 6px 18px;
    background: var(--primary-rgba-10, rgba(255, 140, 66, 0.1));
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ================================================
   3. PREMIUM PRODUCT CARDS (Homepage)
   ================================================ */
.paws-product-card {
    position: relative;
    background: var(--content-bg, #fff);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.paws-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.paws-product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f8f9fa;
}

.paws-product-image .product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.paws-product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.paws-product-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
}

.paws-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    line-height: 1;
}

/* Universal Sale Badge (Grid & Single Product) */
.paws-badge-sale,
.woocommerce span.onsale {
    padding: 6px 16px !important;
    background: linear-gradient(135deg, #ff4d4f, #ff7875) !important;
    color: #fff !important;
    border-radius: 50px !important;
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    min-width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
}

/* Explicit positioning for native WooCommerce badge on Single Product */
.woocommerce div.product span.onsale {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    margin: 0 !important;
    z-index: 10 !important;
}

.paws-badge-featured {
    width: 30px;
    height: 30px;
    background: #ffc107;
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
}

.paws-product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 3;
}

.paws-product-card:hover .paws-product-actions {
    opacity: 1;
    transform: translateY(0);
}

.paws-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--text-color, #222);
    border-radius: 50%;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.paws-action-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.12);
}

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

.paws-product-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.paws-product-cat:hover {
    color: var(--text-color);
}

.paws-product-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.paws-product-title a {
    color: var(--text-color, #222);
    text-decoration: none;
    transition: color 0.2s ease;
}

.paws-product-title a:hover {
    color: var(--primary-color);
}

.paws-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.paws-stars {
    display: flex;
    gap: 2px;
    font-size: 12px;
    color: #ffc107;
}

.paws-stars .fa-regular {
    color: #dee2e6;
}

.paws-review-count {
    font-size: 12px;
    color: #adb5bd;
    font-weight: 500;
}

.paws-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.paws-product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}

.paws-product-price,
.paws-product-price .woocommerce-Price-amount,
.paws-product-price .woocommerce-Price-amount * {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    line-height: 1;
}

.paws-product-price del,
.paws-product-price del .woocommerce-Price-amount,
.paws-product-price del .woocommerce-Price-amount * {
    font-size: 0.85rem;
    color: #adb5bd !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

.paws-product-price ins,
.paws-product-price ins .woocommerce-Price-amount,
.paws-product-price ins .woocommerce-Price-amount * {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 800 !important;
}

.paws-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary-rgba-10, rgba(255, 140, 66, 0.1));
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.paws-add-to-cart-btn:hover {
    background: var(--gradient-primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
}

.paws-add-to-cart-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.paws-add-to-cart-btn.loading i {
    display: none;
}

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

/* ================================================
/* ================================================
   4. SHOP PAGE LAYOUT (Grid & Sorting)
   ================================================ */

/* Shop Top Bar (Sorting & Count) */
.woocommerce .woocommerce-result-count {
    float: left;
    margin: 0 0 24px 0;
    color: #6c757d;
    font-weight: 500;
    font-size: 14px;
    padding: 12px 0;
}

.woocommerce .woocommerce-ordering {
    float: right;
    margin: 0 0 24px 0;
}

.woocommerce .woocommerce-ordering select {
    appearance: none;
    background-color: var(--content-bg, #fff);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 10px 40px 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.woocommerce .woocommerce-ordering select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-rgba-10, rgba(255, 140, 66, 0.1));
}

/* Clearfix for top bar */
.woocommerce .woocommerce-ordering::after {
    content: "";
    display: table;
    clear: both;
}

/* Main Shop Grid layout */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 3rem 0 !important;
}

/* Dynamic columns based on WooCommerce body/list classes */
.woocommerce ul.products.columns-1 { grid-template-columns: 1fr !important; }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr) !important; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 1fr) !important; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr) !important; }
.woocommerce ul.products.columns-5 { grid-template-columns: repeat(5, 1fr) !important; }
.woocommerce ul.products.columns-6 { grid-template-columns: repeat(6, 1fr) !important; }

/* Remove WooCommerce's default float clears on grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
}

/* Force products to fill grid cells instead of floating */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    clear: none !important;
}

/* ================================================
   5. SINGLE PRODUCT PAGE — Premium Layout
   ================================================ */

/* Override WooCommerce's default float layout — our Bootstrap grid handles columns */
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
    float: none !important;
    width: 100% !important;
    margin-bottom: 0;
}

.paws-single-product-top {
    margin-bottom: 3rem;
}

/* Gallery Card */
.paws-gallery-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--content-bg, #fff);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.paws-gallery-wrapper .woocommerce-product-gallery {
    margin-bottom: 0 !important;
    width: 100% !important;
    float: none !important;
}

.paws-gallery-wrapper .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
    border-radius: 20px 20px 0 0;
}

.paws-gallery-wrapper .flex-viewport {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.paws-gallery-wrapper .woocommerce-product-gallery__image:first-child a img,
.paws-gallery-wrapper .woocommerce-product-gallery__image:first-child img {
    border-radius: 20px 20px 0 0;
}

.paws-gallery-wrapper .flex-control-thumbs {
    padding: 12px;
    margin: 0;
    display: flex;
    gap: 8px;
    background: var(--body-bg);
}

.paws-gallery-wrapper .flex-control-thumbs li {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.paws-gallery-wrapper .flex-control-thumbs li img {
    border-radius: 0;
}

.paws-gallery-wrapper .flex-control-thumbs li:hover,
.paws-gallery-wrapper .flex-control-thumbs li .flex-active {
    border-color: var(--primary-color);
}

.paws-gallery-wrapper .woocommerce-product-gallery__trigger {
    top: 16px !important;
    right: 16px !important;
    width: 40px;
    height: 40px;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.paws-gallery-wrapper .onsale {
    top: 16px !important;
    left: 16px !important;
    right: auto !important;
    background: #ff4757 !important;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    border-radius: 8px;
    z-index: 5;
    margin: 0;
    min-height: auto;
    min-width: auto;
    line-height: normal;
    text-transform: uppercase;
}

/* Summary */
.paws-summary-wrapper {
    padding: 10px 0;
}

/* Category Badge */
.paws-sp-category {
    margin-bottom: 10px;
}

.paws-sp-category a {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary-rgba-10, rgba(255, 140, 66, 0.1));
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.paws-sp-category a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Title */
.woocommerce div.product .product_title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-color);
    line-height: 1.25;
}

/* Rating */
.woocommerce div.product .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce div.product .woocommerce-product-rating .star-rating {
    font-size: 14px;
}

.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link {
    color: #adb5bd;
    margin-top: 5px;
    font-size: 13px;
    text-decoration: none;
}

.woocommerce div.product .woocommerce-product-rating .woocommerce-review-link:hover {
    color: var(--primary-color);
}

/* Price Layout Structure */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
}

/* Price Colors (Main/Sale) */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce div.product p.price .woocommerce-Price-amount,
.woocommerce div.product span.price .woocommerce-Price-amount,
.woocommerce div.product p.price *,
.woocommerce div.product span.price * {
    color: var(--primary-color);
    text-decoration: none !important;
}

/* Price Colors (Strikethrough / del) */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce div.product p.price del *,
.woocommerce div.product span.price del * {
    color: #adb5bd !important;
    text-decoration: line-through !important;
    font-weight: 500 !important;
    font-size: 1rem !important; /* Smaller size for strikethrough */
    opacity: 1 !important;
    display: inline-block !important; /* Prevent stacking */
    margin: 0 !important;
}

/* Ensure currency symbols size gracefully inside the wrapper */
.woocommerce div.product p.price .woocommerce-Price-currencySymbol,
.woocommerce div.product span.price .woocommerce-Price-currencySymbol {
    font-size: 0.8em;
    margin-right: 2px;
}

/* Universal underline failsafe for all WooCommerce pages */
.woocommerce ins,
.woocommerce-page ins,
.woocommerce ins *,
.woocommerce-page ins * {
    text-decoration: none !important;
}

/* Stock Badge */
.paws-stock-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.paws-stock-in {
    background: rgba(82, 196, 26, 0.1);
    color: #389e0d;
}

.paws-stock-out {
    background: rgba(255, 77, 79, 0.1);
    color: #cf1322;
}

/* Short Description */
.woocommerce div.product .woocommerce-product-details__short-description {
    margin: 0 0 28px 0;
    padding: 0 0 0 18px;
    border-left: 3px solid var(--primary-color);
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
    margin-bottom: 12px;
}

.woocommerce div.product .woocommerce-product-details__short-description p:last-child {
    margin-bottom: 0;
}

/* Add to Cart Form */
.woocommerce div.product form.cart {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce div.product form.cart .quantity {
    margin: 0;
}

.woocommerce div.product form.cart .quantity input.qty {
    width: 70px;
    height: 50px;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 0 8px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: border-color 0.2s ease;
}

.woocommerce div.product form.cart .quantity input.qty:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-rgba-10, rgba(255, 140, 66, 0.1));
}

.woocommerce div.product form.cart .single_add_to_cart_button {
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-radius: 14px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-grow: 1;
    text-align: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
    filter: brightness(0.92);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.35);
}

/* Product Meta */
.paws-product-meta-wrap {
    padding: 16px 0;
}

.paws-product-meta-wrap .product_meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
}

.paws-product-meta-wrap .product_meta > span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.paws-product-meta-wrap .product_meta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.paws-product-meta-wrap .product_meta a:hover {
    text-decoration: underline;
}

/* Tabs — Card Style */
.woocommerce div.product .paws-tabs-card {
    background: var(--content-bg, #fff);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 0;
    margin-bottom: 3rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs {
    margin-top: 0;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs {
    padding: 0 30px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: #fafbfc;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    position: relative;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs::before {
    display: none;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li {
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 18px 24px;
    margin: 0;
    margin-bottom: -1px;
    border-radius: 0;
    z-index: 1;
    display: flex;
    align-items: center;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li::after {
    display: none;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--primary-color);
    background: var(--content-bg, #fff);
    z-index: 2;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li a {
    color: #adb5bd;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    padding: 0;
    transition: color 0.2s ease;
    text-decoration: none;
}

.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li:hover a {
    color: var(--text-color);
}

.woocommerce div.product .paws-tabs-card .woocommerce-Tabs-panel {
    padding: 40px 30px;
}

.woocommerce div.product .paws-tabs-card .woocommerce-Tabs-panel h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* Reviews inside tabs */
.woocommerce div.product .paws-tabs-card #review_form_wrapper {
    margin-top: 30px;
}

.woocommerce div.product .paws-tabs-card #review_form .comment-form textarea {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: 14px;
    transition: border-color 0.2s ease;
    width: 100%;
}

.woocommerce div.product .paws-tabs-card #review_form .comment-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.woocommerce div.product .paws-tabs-card .commentlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce div.product .paws-tabs-card .commentlist li {
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.woocommerce div.product .paws-tabs-card .commentlist li:last-child {
    border-bottom: none;
}

/* Unified Product Section Headers (Related, Upsells, Cross-sells, blocks) */
.paws-related-section > .related > h2,
.paws-related-section > section > h2,
.woocommerce .upsells > h2,
.woocommerce .cross-sells > h2,
.wc-block-grid__title,
.wc-block-cart__empty-cart__title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    margin-bottom: 2rem !important;
    margin-top: 3rem !important;
    text-align: center !important;
    color: var(--text-color);
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Unified Product Grid (Theme + Blocks) */
.paws-related-section ul.products,
.woocommerce .upsells ul.products,
.woocommerce .cross-sells ul.products,
.wc-block-grid ul.wc-block-grid__products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* WooCommerce Blocks Compatibility Refinements */
.wc-block-grid.has-4-columns .wc-block-grid__product,
.wc-block-grid .wc-block-grid__product {
    max-width: none !important;
    flex-basis: auto !important;
    text-align: center;
    background: #fff;
    padding: 20px !important;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex !important;
    flex-direction: column;
    height: 100%;
}

.wc-block-grid__product:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-color);
}

.wc-block-grid__product-link {
    text-decoration: none !important;
    color: var(--text-color) !important;
    display: block;
    margin-bottom: 12px;
}

.wc-block-grid__product-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--text-color) !important;
    margin: 10px 0 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
}

.wc-block-grid__product-link:hover .wc-block-grid__product-title {
    color: var(--primary-color) !important;
}

.wc-block-grid__product-price {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 20px !important;
    font-size: 1.1rem !important;
}

.wc-block-grid__product-price ins {
    text-decoration: none;
}

.wc-block-grid__product-price del {
    color: #adb5bd;
    font-size: 0.9em;
    margin-right: 8px;
}

/* Fix narrow/broken Block Buttons */
.wc-block-grid__product-add-to-cart {
    margin-top: auto !important;
    width: 100% !important;
}

.wc-block-grid__product-add-to-cart a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    height: 48px !important;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    padding: 0 15px !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.wc-block-grid__product-add-to-cart a:hover {
    filter: brightness(0.92);
    box-shadow: 0 8px 20px var(--primary-rgba-30);
    transform: translateY(-2px);
}

.paws-related-section ul.products::before,
.paws-related-section ul.products::after,
.woocommerce .upsells ul.products::before,
.woocommerce .upsells ul.products::after,
.woocommerce .cross-sells ul.products::before,
.woocommerce .cross-sells ul.products::after {
    display: none !important;
}

/* Responsive Grid for Unified Sections */
@media (max-width: 1199px) {
    .paws-related-section ul.products,
    .woocommerce .upsells ul.products,
    .woocommerce .cross-sells ul.products,
    .wc-block-grid ul.wc-block-grid__products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .paws-related-section ul.products,
    .woocommerce .upsells ul.products,
    .woocommerce .cross-sells ul.products,
    .wc-block-grid ul.wc-block-grid__products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {
    .paws-related-section ul.products,
    .woocommerce .upsells ul.products,
    .woocommerce .cross-sells ul.products,
    .wc-block-grid ul.wc-block-grid__products {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================
   6. PAGINATION
   ================================================ */
.woocommerce nav.woocommerce-pagination {
    margin-top: 3rem;
}

.woocommerce nav.woocommerce-pagination ul {
    border: none;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none;
    margin: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    color: var(--text-color);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.25);
}

/* ================================================
/* ================================================
   7. CART PAGE — Modern Premium Design
   ================================================ */

/* Cart Layout (2-Column Desktop) — Supports both Classic & Blocks */
@media (min-width: 992px) {
    .paws-cart-page .woocommerce,
    .paws-cart-page .wc-block-cart {
        display: grid !important;
        grid-template-columns: 1fr 400px !important;
        gap: 50px !important; /* Slightly larger gap for more premium feel */
        align-items: start !important;
    }

    /* Classic Cart Specifics */
    .paws-cart-page .woocommerce-cart-form {
        grid-column: 1;
    }

    .paws-cart-page .cart-collaterals {
        grid-column: 2;
        position: sticky;
        top: 120px;
    }

    /* Blocks Cart Specifics — Override shrunken widths */
    .paws-cart-page .wc-block-cart__main,
    .paws-cart-page .wc-block-components-sidebar-layout .wc-block-components-main {
        grid-column: 1;
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .paws-cart-page .wc-block-cart__sidebar,
    .paws-cart-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
        grid-column: 2;
        width: 100% !important;
        max-width: 100% !important;
        position: sticky;
        top: 120px;
        margin: 0 !important;
    }
}

/* Fix for the internal block structure clashing with our grid */
.wc-block-components-sidebar-layout {
    display: contents !important; /* Let our parent grid handle children directly */
}

/* Modern styling for WooCommerce Cart Blocks */
.wc-block-cart .wc-block-cart-items {
    background: #fff !important;
    border-radius: 24px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
}

.wc-block-cart__main .wc-block-cart-items th {
    padding-left: 16px !important;
}

.wc-block-cart .wc-block-components-sidebar {
    background: #fff !important;
    border-radius: 24px !important;
    padding: 30px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.02) !important;
}

.wc-block-cart .wc-block-components-checkout-button {
    background: var(--gradient-primary) !important;
    border-radius: 16px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 10px 25px var(--primary-rgba-30) !important;
}

/* Cart Table Styling */
.woocommerce table.shop_table {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    margin-bottom: 2rem;
}

.woocommerce table.shop_table th {
    background: #fdfdfd;
    padding: 22px 24px;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: #adb5bd;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.woocommerce table.shop_table td {
    padding: 24px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Product Thumbnail */
.woocommerce table.shop_table td.product-thumbnail {
    width: 100px;
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Product Name & Details */
.woocommerce table.shop_table td.product-name a {
    color: var(--text-color);
    font-weight: 800;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--primary-color);
}

/* Custom Quantity Stepper Styling */
.woocommerce .quantity {
    display: inline-flex !important;
    align-items: center;
    background: #f8f9fa;
    padding: 4px;
    border-radius: 12px;
    gap: 0;
}

.woocommerce .quantity input.qty {
    width: 45px !important;
    height: 36px !important;
    border: none !important;
    background: transparent !important;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
}

.paws-qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px !important;
    border: none;
    background: #fff;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.paws-qty-btn:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 12px var(--primary-rgba-30);
}

/* Remove Button */
.woocommerce table.shop_table td.product-remove a.remove {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff5f5;
    color: #ff4d4f !important;
    font-size: 18px;
    transition: all 0.2s ease;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
    background: #ff4d4f;
    color: #fff !important;
}

/* Coupon & Actions Row */
.woocommerce table.shop_table td.actions {
    padding: 24px;
    background: #fafbfc;
}

.woocommerce .coupon {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.woocommerce .coupon input.input-text {
    height: 50px;
    border: 2px solid #edf2f7;
    border-radius: 14px;
    padding: 0 18px;
    font-weight: 700;
    min-width: 220px;
    transition: all 0.2s ease;
}

.woocommerce .coupon input.input-text:focus {
    border-color: var(--primary-color);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px var(--primary-rgba-10);
}

.woocommerce button.button {
    height: 50px;
    padding: 0 28px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.woocommerce button[name="update_cart"] {
    background: var(--primary-rgba-10) !important;
    color: var(--primary-color) !important;
    border: none;
    opacity: 0.6;
}

.woocommerce button[name="update_cart"]:enabled {
    opacity: 1;
}

.woocommerce button[name="update_cart"]:hover:enabled {
    background: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px var(--primary-rgba-30);
}

/* Cart Totals Sidebar Card */
.woocommerce .cart_totals {
    background: #fff;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.woocommerce .cart_totals h2 {
    font-size: 1.35rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: var(--text-color);
}

.woocommerce .cart_totals table {
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 2px dashed #f1f3f5;
}

.woocommerce .cart_totals table th,
.woocommerce .cart_totals table td {
    padding: 15px 0;
    border: none;
}

.woocommerce .cart_totals table th {
    font-weight: 700;
    color: #adb5bd;
}

.woocommerce .cart_totals table td {
    text-align: right;
    font-weight: 800;
    color: var(--text-color);
}

.woocommerce .cart_totals table tr.order-total th,
.woocommerce .cart_totals table tr.order-total td {
    font-size: 1.3rem;
    padding-top: 25px;
}

.woocommerce .cart_totals table tr.order-total td .amount {
    color: var(--primary-color);
    font-weight: 900;
}

/* Proceed to Checkout Button */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 60px;
    background: var(--gradient-primary) !important;
    color: #fff !important;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px var(--primary-rgba-30);
    transition: all 0.3s ease;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px var(--primary-rgba-30);
    filter: brightness(1.05);
}

/* Mobile Adjustments for Cart Table (Card Style) */
@media (max-width: 991px) {
    .woocommerce table.shop_table_responsive tr {
        display: block;
        padding: 20px;
        background: #fff;
        border-radius: 20px;
        margin-bottom: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
        border: 1px solid rgba(0, 0, 0, 0.02);
    }

    .woocommerce table.shop_table_responsive tr td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        text-align: right !important;
        border: none;
    }

    .woocommerce table.shop_table_responsive tr td::before {
        content: attr(data-title);
        font-weight: 800;
        color: #adb5bd;
        text-transform: uppercase;
        font-size: 11px;
    }

    .woocommerce table.shop_table_responsive tr td.product-thumbnail,
    .woocommerce table.shop_table_responsive tr td.product-remove {
        display: block;
        text-align: center !important;
    }

    .woocommerce table.shop_table_responsive tr td.product-thumbnail::before,
    .woocommerce table.shop_table_responsive tr td.product-remove::before {
        display: none;
    }
}

/* Empty Cart View */
.woocommerce-cart .cart-empty {
    padding: 100px 20px;
    text-align: center;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.woocommerce-cart .cart-empty::before {
    content: '\f291';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    font-size: 80px;
    color: #edf2f7;
    margin-bottom: 30px;
}

.woocommerce-cart .return-to-shop {
    text-align: center;
    margin-top: -30px;
    margin-bottom: 100px;
}

/* ================================================
   7b. CHECKOUT PAGE
   ================================================ */
.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 2rem;
    background: var(--content-bg, #fff);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.woocommerce .woocommerce-checkout .col2-set .col-1,
.woocommerce .woocommerce-checkout .col2-set .col-2 {
    background: var(--content-bg, #fff);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
}

.woocommerce .woocommerce-checkout h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.woocommerce .woocommerce-checkout .form-row input.input-text,
.woocommerce .woocommerce-checkout .form-row textarea,
.woocommerce .woocommerce-checkout .form-row select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.woocommerce .woocommerce-checkout .form-row input.input-text:focus,
.woocommerce .woocommerce-checkout .form-row textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-rgba-10, rgba(255, 140, 66, 0.1));
}

.woocommerce .woocommerce-checkout #order_review {
    background: var(--content-bg, #fff);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.woocommerce #payment {
    background: transparent !important;
    border-radius: 0;
}

.woocommerce #payment .payment_methods {
    border: none !important;
    padding: 0 !important;
}

.woocommerce #payment .payment_methods li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.woocommerce #payment #place_order {
    display: block;
    width: 100%;
    background: var(--gradient-primary) !important;
    color: #fff;
    border-radius: 14px;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    margin-top: 20px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.woocommerce #payment #place_order:hover {
    filter: brightness(0.92);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.35);
}

/* ================================================
   8. GLOBAL BUTTONS (WooCommerce)
   ================================================ */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 12px;
    padding: 12px 28px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    letter-spacing: 0.5px;
    font-size: 13px;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 66, 0.3);
    color: #fff;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
    background: var(--gradient-primary);
}

/* ================================================
   9. SIDEBAR WIDGETS
   ================================================ */
.widget-area .widget_product_categories ul,
.widget-area .widget_layered_nav ul {
    list-style: none;
    padding: 0;
}

.widget-area .widget_product_categories ul li,
.widget-area .widget_layered_nav ul li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
}

.widget-area .widget_product_categories ul li a {
    color: var(--text-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget-area .widget_product_categories ul li a:hover {
    color: var(--primary-color);
}

.widget-area .widget_price_filter .ui-slider .ui-slider-range {
    background: var(--gradient-primary);
}

.widget-area .widget_price_filter .ui-slider .ui-slider-handle {
    background: var(--primary-color);
    border: 3px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ================================================
   10. TRANSPARENT HEADER INTEGRATION
   ================================================ */
.header-overlap .header-cart-wrapper .cart-toggle {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    backdrop-filter: blur(8px);
}

.header-overlap .header-cart-wrapper .cart-toggle:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.sticky-header-enabled.header-overlap.sticky-header-fixed .header-cart-wrapper .cart-toggle {
    background-color: var(--content-bg);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-color);
    backdrop-filter: none;
}

.header-overlap .header-cart-wrapper .cart-count {
    border-color: rgba(0, 0, 0, 0.2);
}

.sticky-header-enabled.header-overlap.sticky-header-fixed .header-cart-wrapper .cart-count {
    border-color: var(--content-bg);
}

/* ================================================
   11. STAR RATINGS
   ================================================ */
.woocommerce .star-rating span::before {
    color: #ffc107;
}

.woocommerce p.stars a::before {
    color: #ffc107;
}

/* ================================================
   12. WOO MESSAGES & NOTICES
   ================================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 14px;
    border: none;
    padding: 16px 24px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.woocommerce-message {
    background: rgba(82, 196, 26, 0.08);
    border-left: 4px solid #52c41a;
}

.woocommerce-info {
    background: var(--primary-rgba-08, rgba(255, 140, 66, 0.08));
    border-left: 4px solid var(--primary-color);
}

.woocommerce-error {
    background: rgba(255, 77, 79, 0.08);
    border-left: 4px solid #ff4d4f;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    display: inline-block;
    flex-shrink: 0;
}

.woocommerce-message .button,
.woocommerce-info .button {
    margin-left: auto;
    flex-shrink: 0;
    font-size: 12px !important;
    padding: 8px 18px !important;
}

/* ================================================
   13. RESPONSIVE DESIGN
   ================================================ */

/* Single Product Responsive */
@media (max-width: 991.98px) {
    .woocommerce div.product .product_title {
        font-size: 1.6rem;
    }

    .woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs {
        padding: 0 16px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li {
        padding: 14px 16px;
    }

    .woocommerce div.product .paws-tabs-card .woocommerce-Tabs-panel {
        padding: 24px;
    }

    .paws-related-section ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .paws-product-info {
        padding: 16px;
    }

    .paws-product-title {
        font-size: 0.95rem;
    }
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767.98px) {
    .paws-gallery-wrapper {
        border-radius: 16px;
    }

    .woocommerce div.product .product_title {
        font-size: 1.4rem;
    }

    .woocommerce div.product p.price,
    .woocommerce div.product span.price {
        font-size: 1.5rem;
    }

    .woocommerce div.product form.cart {
        flex-wrap: wrap;
    }

    .woocommerce div.product form.cart .single_add_to_cart_button {
        width: 100%;
    }

    .woocommerce div.product .paws-tabs-card .woocommerce-tabs ul.tabs li a {
        font-size: 12px;
    }

    .woocommerce .cart_totals {
        padding: 24px;
        border-radius: 16px;
    }

    /* Cart Table Mobile */
    .woocommerce table.shop_table {
        border-radius: 16px;
    }

    .woocommerce table.shop_table th {
        padding: 14px 16px;
        font-size: 10px;
    }

    .woocommerce table.shop_table td {
        padding: 14px 16px;
    }

    .woocommerce .coupon {
        flex-direction: column;
        width: 100%;
    }

    .woocommerce .coupon input.input-text {
        max-width: 100%;
        width: 100%;
    }

    .woocommerce .coupon button.button {
        width: 100%;
    }

    /* Homepage Products */
    .paws-product-actions {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.4));
    }

    .paws-action-btn {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .paws-product-info {
        padding: 14px;
    }

    .paws-product-title {
        font-size: 0.9rem;
    }

    .paws-product-price .price {
        font-size: 1rem;
    }

    .paws-add-to-cart-btn {
        width: 38px;
        height: 38px;
    }

    .woocommerce-section .woo-section-badge {
        font-size: 11px;
        padding: 5px 14px;
    }

    .woocommerce .woocommerce-checkout .col2-set .col-1,
    .woocommerce .woocommerce-checkout .col2-set .col-2 {
        padding: 20px;
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    .woocommerce .woocommerce-result-count,
    .woocommerce .woocommerce-ordering {
        float: none;
        width: 100%;
        text-align: center;
        margin: 0 0 16px 0;
        padding: 0;
    }

    .woocommerce .woocommerce-ordering select {
        width: 100%;
    }

    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .paws-products-grid .col-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .paws-products-grid.g-4 {
        --bs-gutter-x: 16px;
        --bs-gutter-y: 16px;
    }

    .paws-product-card {
        border-radius: 12px;
    }

    .paws-product-info {
        padding: 12px;
    }

    .paws-product-cat {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .paws-product-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .paws-product-rating {
        margin-bottom: 8px;
    }

    .paws-stars {
        font-size: 10px;
    }

    .paws-product-footer {
        padding-top: 10px;
    }

    .paws-product-price .price {
        font-size: 0.95rem;
    }

    .paws-add-to-cart-btn {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: 13px;
    }

    .paws-badge-sale {
        font-size: 10px;
        padding: 4px 8px;
    }

    .paws-badge-featured {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .paws-related-section ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .woocommerce div.product .paws-tabs-card {
        border-radius: 14px;
    }

    .woocommerce div.product .paws-tabs-card .woocommerce-Tabs-panel {
        padding: 18px;
    }

    .woocommerce div.product .woocommerce-product-details__short-description {
        padding: 16px;
        border-radius: 12px;
    }

    .woocommerce table.shop_table td.product-thumbnail img {
        width: 56px;
        height: 56px;
        border-radius: 10px;
    }
}
