/* Studio 411 Photo Offers - Photo en valeur */

/* Grid des offres */
.s411-photo-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
    justify-items: center;
}

/* Si 1-2 offres, centrer */
.s411-photo-offers-grid:has(.s411-photo-offer-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.s411-photo-offers-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.s411-photo-offers-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .s411-photo-offers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px;
    }
}

@media (max-width: 576px) {
    .s411-photo-offers-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
}

/* Card */
.s411-photo-offer-card {
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 600px;
    width: 100%;
    max-width: 450px;
}

.s411-photo-offer-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Image - 50% minimum */
.s411-photo-offer-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #e0e0e0;
    flex-shrink: 0;
}

.s411-photo-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.s411-photo-offer-card:hover .s411-photo-offer-image img {
    transform: scale(1.05);
}

/* Contenu - Réduit padding-top */
.s411-photo-offer-content {
    padding: 24px 32px 32px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* H3 - Hérite du style du site, CENTRÉ */
.s411-photo-offer-content h3 {
    margin: 0 0 12px 0;
    font-size: 32px;
    color: #1a1a1a;
    line-height: 1.2;
    text-transform: uppercase;
    text-align: center;
}

/* Paragraphe - Style du site */
.s411-photo-offer-content p {
    margin: 0 0 16px 0;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Meta info - Compact */
.s411-photo-offer-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.s411-photo-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

/* Icônes NOIRES */
.s411-photo-meta-item svg {
    width: 14px;
    height: 14px;
    color: #1a1a1a;
    flex-shrink: 0;
}

.s411-photo-meta-extra {
    font-size: 12px;
    color: #999;
}

/* Prix - RÉDUIT */
.s411-photo-offer-price {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 20px;
}

/* Bouton - EXACTEMENT comme sur le site */
.s411-photo-order-btn {
    display: inline-block;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.s411-photo-order-btn .arrow {
    color: #00a5e8;
    margin-left: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.s411-photo-order-btn:hover .arrow {
    transform: translateX(5px);
}

/* Order Form */
.s411-photo-order-form-wrapper {
    max-width: 800px;
    margin: 60px auto;
}

.s411-photo-order-form {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.s411-photo-order-section {
    padding: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.s411-photo-order-section:last-child {
    border-bottom: none;
}

.s411-photo-order-section h4 {
    margin: 0 0 24px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-transform: uppercase;
}

.s411-photo-order-offer-summary h3 {
    margin: 0 0 16px 0;
    font-size: 28px;
    color: #1a1a1a;
    font-weight: 700;
}

.s411-photo-order-description {
    margin: 16px 0 24px;
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 16px;
}

.s411-photo-order-details {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 12px;
}

.s411-photo-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 15px;
    color: #1a1a1a;
}

.s411-order-icon {
    width: 20px;
    height: 20px;
    color: #1a1a1a;
    flex-shrink: 0;
}

.s411-order-price {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
}

.s411-photo-order-help {
    color: #1a1a1a;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Extra Photos Controls */
.s411-photo-extra-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.s411-photo-btn-control {
    width: 56px;
    height: 56px;
    border: 2px solid #1a1a1a;
    background: white;
    color: #1a1a1a;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.s411-photo-btn-control svg {
    width: 24px;
    height: 24px;
}

.s411-photo-btn-control:hover {
    background: #1a1a1a;
    color: white;
    transform: scale(1.05);
}

.s411-photo-btn-control:active {
    transform: scale(0.95);
}

.s411-photo-extra-controls input {
    width: 100px;
    height: 56px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    color: #1a1a1a;
}

/* Form Groups */
.s411-photo-form-group {
    margin-bottom: 24px;
}

.s411-photo-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 15px;
}

.s411-photo-form-group input,
.s411-photo-form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.s411-photo-form-group input:focus,
.s411-photo-form-group textarea:focus {
    outline: none;
    border-color: #00a5e8;
    background: white;
}

.s411-photo-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Order Summary */
.s411-photo-order-summary {
    background: #f8f9fa;
}

.s411-photo-summary-line {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 16px;
}

.s411-photo-summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0 0;
    margin-top: 12px;
    font-size: 24px;
    color: #1a1a1a;
}

.s411-photo-summary-deposit {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    margin-top: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #00a5e8;
}

.s411-photo-summary-deposit svg {
    width: 32px;
    height: 32px;
    color: #00a5e8;
    flex-shrink: 0;
}

.s411-deposit-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.s411-deposit-amount {
    font-size: 28px;
    font-weight: 700;
    color: #00a5e8;
}

/* Submit Button */
.s411-photo-order-submit {
    padding: 40px;
    text-align: center;
}

.s411-photo-submit-btn {
    padding: 16px 40px;
    background: #00a5e8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.s411-photo-submit-btn:hover {
    background: #0082b8;
    transform: translateY(-2px);
}

.s411-photo-submit-btn:active {
    transform: translateY(0);
}

.s411-photo-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.s411-photo-order-success {
    background: white;
    border-radius: 16px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.s411-photo-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.s411-photo-success-icon svg {
    width: 44px;
    height: 44px;
    color: white;
}

.s411-photo-order-success h4 {
    margin: 0 0 16px 0;
    font-size: 32px;
    color: #1a1a1a;
    font-weight: 700;
}

.s411-photo-order-success p {
    color: #1a1a1a;
    font-size: 16px;
    line-height: 1.6;
    margin: 12px 0;
}

/* No offers */
.s411-photo-no-offers {
    text-align: center;
    padding: 80px 20px;
    color: #999;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .s411-photo-offer-card {
        height: auto;
    }
    
    .s411-photo-offer-image {
        height: 250px;
    }
    
    .s411-photo-order-section {
        padding: 32px 24px;
    }
    
    .s411-photo-order-submit {
        padding: 32px 24px;
    }
    
    .s411-photo-offer-price {
        font-size: 48px;
    }
    
    .s411-photo-offer-content h3 {
        font-size: 28px;
    }
    
    .s411-photo-offer-content {
        padding: 32px 24px;
    }
}
