@font-face {
    font-family: "Times New Roman Custom";
    src: url("../times.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Times New Roman Custom";
    src: url("../Times New Roman - Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   MOBILE FIXES - PRODUCT CATEGORY/SHOP PAGE
   ============================================ */

/* Base Mobile - 768px and below */
@media (max-width: 768px) {

    /* Container & Layout */
    .shop-header-section {
        padding: 1.5rem 15px 0.5rem !important;
        background: #fff !important;
    }

    /* BREADCRUMBS - PILL DESIGN */
    .product-breadcrumb-simple {
        display: inline-flex !important;
        align-items: center !important;
        border: 1px solid #73884D !important;
        border-radius: 30px !important;
        overflow: hidden !important;
        background: #fff !important;
        height: 32px !important;
        margin-bottom: 1rem !important;
    }

    .breadcrumb-home-wrapper {
        background: #73884D !important;
        height: 100% !important;
        padding: 0 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .home-link {
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
    }

    .home-link svg {
        width: 14px !important;
        height: 14px !important;
    }

    .breadcrumb-text {
        padding: 0 15px !important;
        color: #333 !important;
        font-family: 'Times New Roman', Times, serif !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        text-transform: uppercase !important;
    }

    .breadcrumb-sep {
        margin: 0 5px !important;
        color: #999 !important;
    }

    /* PAGE TITLE */
    .shop-title-container {
        margin-bottom: 1.5rem !important;
    }

    .shop-title {
        font-size: 1.8rem !important;
        font-weight: 700 !important;
        color: #333 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        margin: 0 !important;
    }

    .title-divider {
        width: 60px !important;
        height: 3px !important;
        background: #73884D !important;
        margin-top: 8px !important;
    }

    /* FILTER TOGGLE BUTTON */
    .shop-filter-header {
        display: flex !important;
        justify-content: center !important;
        padding: 1.5rem 0 !important;
        margin-bottom: 2rem !important;
        background: #fff !important;
        border-top: 1px solid #eee !important;
        border-bottom: 1px solid #eee !important;
    }

    .filter-toggle-btn {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        background: #73884D !important;
        color: #fff !important;
        padding: 12px 30px !important;
        border-radius: 50px !important;
        border: none !important;
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        box-shadow: 0 4px 15px rgba(115, 136, 77, 0.25) !important;
    }

    .filter-toggle-btn svg {
        color: #fff !important;
    }

    /* PRODUCT GRID - 2 COLUMNS (User Request) */
    .shop-grid-container {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 10px !important;
    }

    .shop-content ul.products,
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .shop-grid-container.sidebar-hidden .shop-content ul.products,
    .shop-grid-container.sidebar-hidden .woocommerce.archive ul.products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .woocommerce ul.products li.product,
    .shop-content ul.products li.product,
    .category-product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        float: none !important;
        border-radius: 20px !important;
        border: 1px solid #e0e0e0 !important;
        overflow: hidden !important;
        background: #fff !important;
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
        min-height: 100% !important;
        transition: all 0.3s ease !important;
    }

    .woocommerce ul.products li.product:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    }

    .woocommerce ul.products li.product:hover .category-product-info {
        border: 1px solid #C4B768 !important;
        border-top: none !important;
    }

    .category-product-image {
        width: 100% !important;
        height: 180px !important;
        background: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
        position: relative !important;
        flex-shrink: 0 !important;
        border: none !important;
        border-radius: 20px 20px 0 0 !important;
        overflow: hidden !important;
    }

    .category-product-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .category-product-info {
        padding: 15px 10px !important;
        background: #fff !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border: none !important;
        border-radius: 0 0 20px 20px !important;
    }

    .category-product-title {
        font-family: 'Times New Roman Custom', 'Times New Roman', Times, serif !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        color: #000 !important;
        margin-bottom: 8px !important;
        padding: 0 !important;
        line-height: 1.3 !important;
        min-height: 2.6em !important;
        height: auto !important;
        text-align: center !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        position: relative !important;
        z-index: 15 !important;
    }

    .card-link-overlay {
        background: transparent !important;
        z-index: 10 !important;
    }

    .woocommerce-loop-product__title {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin-bottom: 5px !important;
        min-height: 2.8em !important;
        line-height: 1.3 !important;
        padding: 0 5px !important;
    }

    .category-product-price-rating,
    .latest-price-rating,
    .bestseller-price-rating {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        margin-bottom: 0px !important;
        padding: 0 !important;
        min-height: 1.5rem !important;
    }

    .price,
    .category-product-price,
    .latest-product-price,
    .bestseller-price {
        font-size: 1.1rem !important;
        color: #73884D !important;
        /* Changed to theme green */
        margin-bottom: 0 !important;
        display: inline-block !important;
        font-weight: 700 !important;
        position: relative !important;
        z-index: 15 !important;
    }

    .category-product-rating,
    .latest-product-rating,
    .bestseller-rating {
        display: flex !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    /* LOOP ACTIONS */
    .category-product-actions {
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 0 !important;
        margin-top: auto !important;
    }

    .btn-category-shop {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 15px !important;
        border-radius: 50px !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        font-family: 'Times New Roman Custom', 'Times New Roman', Times, serif !important;
        flex: 1 !important;
        text-align: center !important;
        white-space: nowrap !important;
        background: #73884D !important;
        color: #fff !important;
        border: none !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
        position: relative !important;
        z-index: 20 !important;
        max-width: none !important;
        line-height: 1 !important;
        height: 44px !important;
    }

    .btn-category-add-to-cart {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        border: 1px solid #73884D !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #73884D !important;
        background: #fff !important;
        flex: 0 0 44px !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
    }

    /* SIDEBAR */
    .shop-sidebar {
        display: none !important;
        order: -1 !important;
        width: 100% !important;
        background: #fff !important;
        padding: 20px !important;
        border-bottom: 1px solid #eee !important;
    }

    .shop-sidebar.active {
        display: block !important;
    }
}

/* Base Fonts Force */
h1,
h2,
h3,
h4,
h5,
h6,
.woocommerce-loop-product__title,
.product-title,
.price,
.button,
button {
    font-family: 'Times New Roman Custom', 'Times New Roman', Times, serif !important;
}