/* Collection Section */
.collection-container {
    width: 100%;
    padding: 60px 40px;
}

.section-2 {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
}

.section-2 .title {
    text-align: center;
    margin-bottom: 60px;
}

.info-container {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    margin-bottom: 40px;
}

.info-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.product-section {
    margin-bottom: 60px;
}

.product-section:last-child {
    margin-bottom: 0;
}

.order-button-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.order-button {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 20px 48px;
    color: white;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.order-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.product-section-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    padding: 20px 0;
}

/* Product Tile */
.product-tile {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.product-image-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.3);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.delivery-state-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.delivery-state-badge.available {
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
}

.delivery-state-badge.comming-soon {
    background-color: rgba(255, 193, 7, 0.8);
    color: #000;
}

.delivery-state-badge.sold-out {
    background-color: rgba(158, 158, 158, 0.8);
    color: white;
}

.product-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    min-height: 3.2em; /* 3 lines of text (1.6 line-height * 3) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Container Options Section */
.containers-section {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.containers-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.containers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.container-option:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.container-option.unavailable {
    opacity: 0.6;
}

.container-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.container-type {
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
}

.container-price {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.container-option .delivery-state-badge {
    position: static;
    margin-left: 12px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .collection-container {
        padding: 40px 20px;
    }
    
    .info-container {
        padding: 20px;
        margin-bottom: 10px;
    }
    
    .info-text {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-title {
        font-size: 1.3rem;
    }
    
    .product-description {
        font-size: 0.9rem;
        min-height: 4.32em; /* 3 lines with smaller font (1.6 * 0.9 * 3) */
    }
    
    .product-section {
        margin-bottom: 40px;
    }
    
    .product-section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .containers-section {
        margin-top: 16px;
        padding-top: 16px;
    }
    
    .containers-title {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }
    
    .containers-list {
        gap: 8px;
    }
    
    .container-option {
        padding: 10px 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .container-info {
        width: 100%;
    }
    
    .container-type {
        font-size: 0.9rem;
    }
    
    .container-price {
        font-size: 0.8rem;
    }
    
    .container-option .delivery-state-badge {
        margin-left: 0;
        align-self: flex-end;
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .order-button-container {
        margin-top: 40px;
    }
    
    .order-button {
        padding: 18px 40px;
        font-size: 1.2rem;
    }
}

