.pdf-button {
    display: inline-block;

    margin-top: 1rem;

    padding: 0.9rem 1.5rem;

    background: var(--primary);
    color: white;

    text-decoration: none;
    font-weight: 600;

    border-radius: 12px;

    transition: 0.2s ease;
}

.pdf-button:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}

/* Contact form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.6);
}

.contact-form h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;

    color: var(--primary);

    font-size: 1.3rem;

    border-bottom: 2px solid rgba(193,18,31,0.15);

    padding-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1rem;

    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}


.product-card {
    display: flex;
    gap: 2rem;

    align-items: center;

    background: linear-gradient(to bottom right, #ffffff, #fafafa);

    border-radius: 20px;

    padding: 2rem;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.08),
        0 16px 40px rgba(0,0,0,0.06);

    transition: 0.3s ease;
}

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

    box-shadow:
        0 12px 26px rgba(0,0,0,0.12),
        0 24px 50px rgba(0,0,0,0.10);
}

.product-card img {
    width: 140px;
    height: 180px;
    object-fit: contain;

    flex-shrink: 0;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    margin-bottom: 0.3rem;
}

.product-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.product-bottom {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.product-bottom input {
    width: 90px;

    padding: 0.7rem;

    border-radius: 10px;

    border: 1px solid var(--border);

    font-size: 1rem;
}

.wine-layout {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}

.wine-text {
    flex: 1;
}

.wine-coupdecoeur img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.wine-coupdecoeur {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carton-label {
    font-weight: 600;
    color: #666;
}

.quantity-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price {
    font-weight: bold;
    color: var(--primary);
}

.wine-details {
    margin-top: 1rem;
}

.wine-details p {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.wine-price {
    font-size: 1.8rem;
    font-weight: 800;

    color: var(--primary);

    margin-top: 0.8rem;
}

.wine-subtitle {
    color: #666;
    font-weight: 500;

    margin-top: 0.3rem;
}

.recap-box {
    background: linear-gradient(135deg, #ffffff, #f8f8f8);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    font-size: 0.95rem;
    line-height: 1.6;
}

.recap-box strong {
    color: var(--primary);
}

.recap-box br {
    margin-bottom: 4px;
}

.recap-title {
    margin-bottom: 1rem;
}

.recap-wrapper {
    margin-bottom: 3rem;
}

.recap-box {
    transition: 0.2s ease;
}

.recap-box:hover {
    transform: translateY(-2px);
}

.total-box {
    margin-top: 2rem;

    padding: 1rem 1.5rem;

    background: rgba(193,18,31,0.08);

    border-radius: 14px;

    font-size: 1.3rem;
    font-weight: 700;

    text-align: center;
}

.form-input,
.product-bottom input {
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.2s ease;
}

.form-input:focus,
.product-bottom input:focus {
    transform: scale(1.01);
}

@media (max-width: 768px) {

    .product-card {
        flex-direction: column;
        text-align: center;
    }

    .product-card img {
        width: 120px;
    }

    .wine-layout{
        flex-direction: column;
    }

}