/* Products Listing Page Styles */
:root {
    --products-bg: #ffffff;
    --products-text: #1b1b18;
    --products-text-muted: #6b6b66;
    --products-border: #e8e8e8;
    --products-card-bg: #fff;
    --products-image-bg: #ffffff;
    --products-gold: #D4962B;
    --products-star-color: #f5a623;
}

/* Page Container */
.products-listing-page {
    padding: 60px 0 0;
    background: var(--products-bg);
}

.products-listing-page .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.products-listing-page .section-subtitle {
    font-size: 16px;
    color: var(--products-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* Product Card */
.product-card {
    background: var(--products-card-bg);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Product Image */
.product-image-link {
    display: block;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--products-image-bg);
    position: relative;
    border: 1px solid #fff6f6;
    border-radius: 0px;
}

.honey-drip-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Info */
.product-info {
    padding-top: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--products-text);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-description {
    font-size: 13px;
    color: var(--products-text-muted);
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 15px;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.rating-value {
    font-weight: 600;
    color: var(--products-text);
    font-size: 14px;
}

.star-icon {
    color: var(--products-star-color);
    font-size: 14px;
}

.reviews-count {
    color: var(--products-text-muted);
    font-size: 13px;
}

/* Product Price */
.product-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--products-text);
    margin-bottom: 16px;
}

/* Shop Now Button */
.shop-now-btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    background: linear-gradient(135deg, #D4962B 0%, #C8892A 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.shop-now-btn:hover {
    background: linear-gradient(135deg, #C8892A 0%, #B87E28 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 150, 43, 0.3);
    color: #fff;
}

.shop-now-btn:active {
    transform: translateY(0);
}

/* Explore All Section */
.explore-all {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 60px;
}

.explore-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: var(--products-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.explore-link:hover {
    color: var(--products-gold);
    transform: translateX(4px);
}

.explore-link .arrow {
    transition: transform 0.3s ease;
}

.explore-link:hover .arrow {
    transform: translateX(4px);
}

/* Products Page Content Section (between Explore All and Process) */
.products-page-content-section {
    margin-top: 0;
    margin-bottom: 60px;
}

.products-page-content-section .products-content-header {
    margin-bottom: 40px;
}

.products-page-content-section .section-title {
    font-family: 'Lexend', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--products-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.products-page-content-section .section-subtitle {
    font-size: 15px;
    color: #6b6b66;
    line-height: 1.6;
}

.products-page-content {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0 0 24px 0;
    width: 100%;
    max-width: 100%;
    color: #3e3e3a;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

.products-page-content .products-content-lead {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 28px;
    color: #3e3e3a;
}

.products-page-content .products-content-h3 {
    font-family: 'Lexend', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--products-text);
    margin: 36px 0 14px;
    line-height: 1.3;
}

.products-page-content .products-content-h3:first-of-type {
    margin-top: 0;
}

.products-page-content p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 16px;
    color: #3e3e3a;
}

.products-page-content ul,
.products-page-content ol {
    margin: 0 0 20px 24px;
    padding: 0 0 0 4px;
}

.products-page-content ol {
    padding-left: 20px;
}

.products-page-content li {
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 10px;
    color: #3e3e3a;
    list-style: outside;
}

.products-page-content li:last-child {
    margin-bottom: 0;
}

/* Honey Process Section */
.honey-process-section {
    background: #ffffff;
    padding: 60px 0 80px;
    text-align: center;
    border-top: 1px solid var(--products-border);
}

.process-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--products-text);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.process-subtitle {
    font-size: 16px;
    color: var(--products-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-image-link {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .products-listing-page {
        padding: 40px 0 0;
    }

    .products-listing-page .section-subtitle {
        font-size: 14px;
    }

    .products-page-content-section .section-title {
        font-size: 26px;
    }

    .products-page-content {
        padding: 28px 24px;
    }

    .products-page-content .products-content-h3 {
        font-size: 18px;
        margin-top: 28px;
        margin-bottom: 12px;
    }

    .products-grid {
        gap: 16px;
    }

    .product-image-link {
        height: 260px;
    }

    .process-title {
        font-size: 26px;
    }

    .process-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .products-listing-page {
        padding: 30px 0 0 !important;
    }

    .products-listing-page .section-header {
        margin-bottom: 30px !important;
    }

    .products-listing-page .section-subtitle {
        font-size: 13px !important;
        padding: 0 20px;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }

    .product-image-link {
        height: 240px !important;
    }

    .product-image {
        padding: 15px;
    }

    .product-info {
        padding: 12px 0 0 0 !important;
    }

    .product-name {
        font-size: 17px !important;
    }

    .product-description {
        font-size: 13px !important;
        min-height: 15px !important;
        margin-bottom: 10px !important;
    }

    .product-rating {
        gap: 4px !important;
        margin-bottom: 8px !important;
    }

    .star-icon {
        font-size: 13px !important;
    }

    .rating-value {
        font-size: 13px !important;
    }

    .reviews-count {
        font-size: 12px !important;
    }

    .product-price {
        font-size: 15px !important;
        margin-bottom: 14px !important;
    }

    .shop-now-btn {
        padding: 11px 20px !important;
        font-size: 14px !important;
    }

    .explore-all {
        margin-top: 30px;
        margin-bottom: 40px;
    }

    .explore-link {
        font-size: 14px;
    }

    .products-page-content-section {
        margin-bottom: 40px;
    }

    .products-page-content-section .section-title {
        font-size: 22px !important;
        padding: 0 16px;
    }

    .products-page-content {
        padding: 24px 20px;
    }

    .products-page-content p,
    .products-page-content li {
        font-size: 14px;
    }

    .products-page-content .products-content-h3 {
        font-size: 17px;
        margin-top: 24px;
        margin-bottom: 10px;
    }

    .honey-process-section {
        padding: 40px 0 60px;
    }

    .process-title {
        font-size: 22px !important;
        padding: 0 20px;
    }

    .process-subtitle {
        font-size: 13px !important;
        padding: 0 20px;
    }
}

/* Final mobile products listing spacing/layout fix */
@media (max-width: 480px) {
    .products-listing-page {
        padding-top: 20px !important;
    }

    .products-listing-page .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .products-listing-page .section-header {
        margin-bottom: 20px !important;
    }

    .products-listing-page .section-subtitle {
        padding: 0 !important;
        line-height: 1.45 !important;
    }

    .products-grid {
        margin-top: 10px !important;
        gap: 16px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
    }

    .products-grid .product-card {
        width: 100%;
    }

    .product-image-link {
        height: 220px !important;
        border: 1px solid #eadfce;
        background: #fff;
        padding: 8px 8px 4px;
    }

    .product-image {
        padding: 0 !important;
        border: 0;
        object-position: center top;
        transform: scale(1.06);
        transform-origin: top center;
    }

    .product-info {
        padding-top: 4px !important;
    }

    .product-description {
        margin-bottom: 8px !important;
    }

    .product-price {
        margin-bottom: 10px !important;
    }
}
