/* CATEGORY PAGE EXTENSION FOR ESTER - KITCHEN */
/* Use together with your index.css */

.category-hero {
    background: linear-gradient(90deg, var(--primary-dark) 60%, var(--primary) 100%);
    color: var(--white);
    padding: 30px 0 24px 0;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.category-hero h2 {
    margin: 0 0 10px 0;
    font-size: 2.2rem;
    letter-spacing: 1px;
    color: var(--accent);
}

.category-hero p {
    font-size: 1.15rem;
    margin: 0;
    color: var(--white);
    opacity: 0.95;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex: 1 1 480px;
    min-width: 340px;
    max-width: 100%;
    padding: 24px 20px;
    gap: 28px;
    align-items: flex-start;
    margin-bottom: 8px;
    transition: box-shadow 0.18s, transform 0.18s;
    border: 1.5px solid #ececec;
}

.product-card:hover {
    box-shadow: 0 6px 32px rgba(0,0,0,0.13);
    transform: translateY(-4px) scale(1.015);
    border-color: var(--accent);
}

.product-image img {
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    padding: 8px;
    border: 1px solid #f0f0f0;
}

.product-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-title {
    margin: 0 0 6px 0;
    font-size: 1.35rem;
    color: var(--primary-dark);
    letter-spacing: 1px;
}

.product-description {
    margin: 0 0 8px 0;
    font-size: 1.06rem;
    color: var(--text);
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 8px;
}

.product-details > div {
    min-width: 180px;
    max-width: 300px;
}

.product-details strong {
    color: var(--primary);
    font-weight: 600;
    font-size: 1.01rem;
}

.product-details ul {
    margin: 6px 0 0 16px;
    padding: 0;
    font-size: 0.98rem;
    color: #555;
}

.product-meta {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.product-quantity {
    background: #ececec;
    color: #444;
    padding: 5px 14px;
    border-radius: 14px;
    font-size: 1.01rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.product-price {
    background: var(--accent);
    color: var(--primary-dark);
    font-size: 1.23rem;
    font-weight: bold;
    padding: 7px 22px;
    border-radius: 18px;
    margin-left: auto;
    box-shadow: 0 2px 8px rgba(255,179,0,0.08);
    letter-spacing: 1px;
    border: 2px solid var(--accent);
    transition: background 0.15s, color 0.15s;
}

.product-price:hover {
    background: #ffd54f;
    color: #222;
}

.product-details-collapsible {
    margin: 10px 0 0 0;
    font-size: 1rem;
}

.product-details-collapsible summary {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
    padding: 6px 0;
    outline: none;
    transition: color 0.2s;
    list-style: none;
    font-size: 1.03rem;
    border-radius: 6px;
}

.product-details-collapsible summary:hover,
.product-details-collapsible[open] summary {
    color: var(--accent);
    text-decoration: underline;
}

.product-details-content {
    padding: 10px 0 0 0;
    border-top: 1px solid #e6e6e6;
    margin-top: 6px;
    color: #444;
    font-size: 0.98rem;
}

.product-details-content strong {
    color: var(--primary-dark);
    font-size: 1.01rem;
}

.product-details-content ul {
    margin: 6px 0 10px 18px;
    padding: 0;
    font-size: 0.98rem;
}

@media (max-width: 900px) {
    .product-list {
        flex-direction: column;
        gap: 20px;
    }
    .product-card {
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        padding: 18px 10px;
    }
    .product-image img {
        width: 100%;
        max-width: 340px;
        height: 180px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .category-hero {
        padding: 18px 0 10px 0;
    }
    .product-card {
        padding: 12px 4px;
    }
    .product-image img {
        max-width: 100%;
        height: 140px;
    }
    .product-details {
        flex-direction: column;
        gap: 10px;
    }
}