* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /*font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;*/
    /*background: linear-gradient(135deg, #b76e79 0%, #764ba2 100%);*/
    min-height: 100vh;
    padding: 14px;
}

.container {
    max-width: 520px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0px 14px 24px rgb(206 104 118 / 26%);
    overflow: hidden;
    padding: 0;
}

.promo-badge {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.product-image {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
    padding: /*40px*/ 0;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.launch-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4757;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
}

.product-content {
    padding: 26px;
}

.product-title {
    font-size: 28px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 10px;
}

.product-description {
    color: #636e72;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.price-section {
    background: linear-gradient(135deg, #ce9fa0 0%, #b76e79 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.price-original {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 18px;
    margin-bottom: 5px;
    display: inline;
}

.price-current {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline;
}

.price-unit {
    opacity: 0.9;
    font-size: 13px;
}

.price-savings {
    background: rgba(255,255,255,0.2);
    display: inline;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
    margin-left: 14px;
}

.quantity-selector {
    margin-bottom: 25px;
}

.quantity-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 12px;
    display: block;
}

.quantity-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-option {
    position: relative;
    border: 2px solid #dfe6e9;
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.quantity-option:hover {
    border-color: #b76e79;
    transform: translateY(-2px);
}

.quantity-option.active {
    border-color: #b76e79;
    background: linear-gradient(135deg, #b76e7915 0%, #764ba215 100%);
}

.quantity-option .qty-number {
    font-size: 24px;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 4px;
}

.quantity-option .qty-price {
    font-size: 16px;
    font-weight: 700;
    color: #b76e79;
}

.quantity-option .qty-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    white-space: nowrap;
}

.quantity-option .qty-badge.populaire {
    background: #ffa502;
}

.quantity-option .qty-badge.recommande {
    background: #2ed573;
}

.quantity-option .qty-badge.meilleur {
    background: #5f27cd;
}

.quantity-option .qty-badge.love {
    background: #F0697D;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #b76e79;
    border-radius: 50%;
    background: white;
    color: #b76e79;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover:not(:disabled) {
    background: #b76e79;
    color: white;
    transform: scale(1.1);
}

.qty-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.qty-display {
    font-size: 32px;
    font-weight: 800;
    color: #2d3436;
    min-width: 60px;
    text-align: center;
}

.delivery-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.delivery-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.delivery-row:last-child {
    margin-bottom: 0;
    padding-top: 8px;
    border-top: 2px solid #dfe6e9;
    font-weight: 700;
    font-size: 16px;
}

.delivery-label {
    color: #636e72;
}

.delivery-value {
    color: #2d3436;
    font-weight: 600;
}

.delivery-mode {
    margin-bottom: 20px;
}

.delivery-mode-label {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 10px;
    display: block;
}

.delivery-mode-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.delivery-mode-option {
    border: 2px solid #dfe6e9;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.delivery-mode-option:hover {
    border-color: #b76e79;
}

.delivery-mode-option.active {
    border-color: #b76e79;
    background: linear-gradient(135deg, #b76e7915 0%, #764ba215 100%);
}

.delivery-mode-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.delivery-mode-title {
    font-weight: 700;
    font-size: 14px;
    color: #2d3436;
    margin-bottom: 3px;
}

.delivery-mode-subtitle {
    font-size: 11px;
    color: #636e72;
}

.pickup-points {
    margin-top: 15px;
    display: none;
}

.pickup-points.active {
    display: block;
}

.pickup-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #dfe6e9;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: white;
    cursor: pointer;
}

.pickup-select:focus {
    outline: none;
    border-color: #b76e79;
}

.btn-order {
    width: 100%;
    /*background: linear-gradient(135deg, #b76e79 0%, #764ba2 100%);*/
    background: #b76e79;
    color: white;
    border: none;
    padding: 18px 7px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 14px 24px rgb(206 104 118 / 26%);
    margin-bottom: 15px;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206 104 118 / 52%);
}

.btn-order:active {
    transform: translateY(0);
}

.guarantees {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #dfe6e9;
}

.guarantee-item {
    text-align: center;
}

.guarantee-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.guarantee-text {
    font-size: 11px;
    color: #636e72;
    font-weight: 600;
}

.delivery-form {
    display: none;
    padding: 26px;
    background: #f8f9fa;
}

.delivery-form.active {
    display: block;
}

.form-title {
    font-size: 22px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #b76e79;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.btn-back {
    width: 100%;
    background: white;
    color: #b76e79;
    border: 2px solid #b76e79;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-checkout {
    width: 100%;
    background: linear-gradient(135deg, #2ed573 0%, #26de81 100%);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.4);
}

.order-summary {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.summary-row.total {
    border-top: 2px solid #dfe6e9;
    padding-top: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #b76e79;
}

@media (max-width: 480px) {
    .quantity-options {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /*.delivery-mode-options {
        grid-template-columns: 1fr;
    }
    
    .guarantees {
        grid-template-columns: 1fr;
    }*/
}
