﻿
/* =========================================================
   CAFE CORTAO' - PRODUCT CATALOG DESIGN
   Visual enhancement - November 2026
   ========================================================= */

/* Main catalog container */
.coffee-container {
    max-width: 1200px;
    margin: 35px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(59, 36, 22, 0.10);
}

/* Catalog branding */
.coffee-header {
    padding: 20px 10px 30px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eadbc8;
}

.coffee-logo {
    font-family: Georgia, serif;
    font-size: 44px;
    letter-spacing: -1px;
    color: #563B2B;
}

.coffee-subtitle {
    font-size: 17px;
    color: #526B45;
}

/* Center catalog navigation buttons */
.coffee-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0 auto 35px;
    flex-wrap: wrap;
    text-align: center;
}

    .coffee-nav a,
    .coffee-nav .search-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 130px;
    }
        .coffee-nav a:hover,
        .coffee-nav .search-button:hover {
            background: #526B45;
            color: #ffffff;
            transform: translateY(-2px);
        }

/* Catalog heading */
.coffee-container > h2 {
    text-align: center;
    font-family: Georgia, serif;
    font-size: 32px;
    margin: 25px 0;
    color: #563B2B;
}

.coffee-container > h3 {
    font-family: Georgia, serif;
    font-size: 27px;
    margin: 45px 0 22px;
    color: #563B2B;
}

/* Search form */
.coffee-form {
    max-width: 680px;
    margin: 0 auto 35px;
    padding: 25px;
    background: #F7F2E8;
    border: 1px solid #eadbc8;
    border-radius: 14px;
}

.coffee-label {
    display: block;
    margin-bottom: 10px;
    color: #563B2B;
    font-weight: bold;
}

.coffee-input {
    width: 100%;
    max-width: none;
    border-radius: 30px;
    padding: 14px 18px;
}

.coffee-button {
    display: inline-block;
    text-decoration: none;
    background: #563B2B;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 30px;
    transition: background 0.2s ease;
}

    .coffee-button:hover {
        background: #526B45;
        color: #ffffff;
    }

    .coffee-button:disabled {
        background: #a69b90;
        cursor: not-allowed;
    }

/* Product grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
    align-items: stretch;
}

/* Product cards */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #eadbc8;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(59, 36, 22, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(59, 36, 22, 0.14);
    }

/* Product photograph */
.product-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 15px;
    box-sizing: border-box;
    background: #F7F2E8;
}

/* Product information */
.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

    .product-info h3 {
        font-family: Georgia, serif;
        font-size: 21px;
        margin: 0 0 12px;
        color: #563B2B;
    }

    .product-info p {
        flex: 1;
        color: #66584e;
        line-height: 1.6;
        margin-bottom: 18px;
    }

.product-price {
    font-size: 25px;
    font-weight: bold;
    color: #526B45;
    margin-bottom: 12px;
}

.product-stock {
    color: #526B45;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

    .product-stock.out-of-stock {
        color: #9b3d2e;
    }

/* Product button */
.product-info .coffee-button {
    text-align: center;
    margin-top: auto;
}

/* Catalog footer */
.coffee-footer {
    margin-top: 55px;
    padding-top: 25px;
    color: #8b715c;
}

/* Responsive catalog */
@media (max-width: 768px) {

    .coffee-container {
        margin: 15px;
        padding: 22px;
    }

    .coffee-logo {
        font-size: 34px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
        gap: 18px;
    }

    .product-image {
        height: 220px;
    }
}

@media (max-width: 480px) {

    .products-grid {
        grid-template-columns: 1fr;
    }

    .coffee-container > h2 {
        font-size: 27px;
    }

    .coffee-form {
        padding: 18px;
    }

    .coffee-nav {
        gap: 10px;
    }
}
