/* France Only Products - Styles */

/* Commercial Banner - Top of Product Page */
.france-commercial-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #002395 0%, #0035b8 50%, #ED2939 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 35, 149, 0.3);
    animation: slideInDown 0.5s ease-out;
}

.france-flag-large {
    font-size: 32px;
    margin-right: 15px;
    animation: wave 2s infinite;
    display: inline-block;
}

.commercial-text {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wave {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

/* France Badge on Product Page */
.france-only-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #002395 0%, #ED2939 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    margin: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 35, 149, 0.3);
}

.france-only-badge::before {
    content: "🇫🇷";
    margin-right: 8px;
    font-size: 18px;
}

/* Product Warning Message */
.france-only-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    color: #856404;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.france-only-warning::before {
    content: "⚠️";
    margin-right: 12px;
    font-size: 20px;
}

/* Description in product footer */
.france-only-description {
    background: #f8f9fa;
    border-left: 4px solid #136a81;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
}

.france-only-description h4 {
    margin: 0 0 10px 0;
    color: #136a81;
    font-size: 16px;
    font-weight: 600;
}

.france-only-description p {
    margin: 0;
    color: #ee0404;
    font-size: 14px;
    line-height: 1.6;
}
.france-only-description_buttoms img {
    width: 50px !important;
    height: 50px !important;
    margin-right: 20px;
}

/* Disabled Add to Cart Button */
.product-add-to-cart .add-to-cart.disabled,
.product-add-to-cart .add-to-cart:disabled,
.product-add-to-cart .add-to-cart.france-only-disabled,
.add-to-cart.disabled,
.add-to-cart:disabled,
.add-to-cart.france-only-disabled,
button[data-button-action="add-to-cart"].disabled,
button[data-button-action="add-to-cart"]:disabled,
button[data-button-action="add-to-cart"].france-only-disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
    pointer-events: none !important;
}

.product-add-to-cart .add-to-cart.france-only-disabled:hover,
.add-to-cart.france-only-disabled:hover,
button[data-button-action="add-to-cart"].france-only-disabled:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

/* Cart Warning Messages */
.cart-france-warning,
.checkout-france-warning {
    background: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
    color: #721c24;
    font-weight: 500;
}

/*.cart-france-warning::before,
.checkout-france-warning::before {
    content: "⚠️";
    margin-right: 12px;
    font-size: 20px;
}*/

.cart-france-warning {
    animation: pulseWarning 2s infinite;
}

@keyframes pulseWarning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(220, 53, 69, 0);
    }
}

/* Checkout page specific warning */
.checkout-france-warning {
    font-size: 15px;
    text-align: center;
}

/* Right sidebar cart warning */
.blockcart .cart-france-warning {
    font-size: 13px;
    padding: 12px 15px;
    margin: 10px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .france-commercial-banner {
        padding: 12px 20px;
    }
    
    .france-flag-large {
        font-size: 24px;
        margin-right: 10px;
    }
    
    .commercial-text {
        font-size: 14px;
    }
    
    .france-only-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .france-only-warning,
    .cart-france-warning,
    .checkout-france-warning {
        font-size: 13px;
        padding: 12px 15px;
    }
}

/* Icon styling for better visual */
.france-flag-icon {
    display: inline-block;
    width: 24px;
    height: 16px;
    background: linear-gradient(to right, #002395 33.33%, white 33.33%, white 66.66%, #ED2939 66.66%);
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.product-actions .france-only-warning {
    display: none !important;
}


.zone-warning {
    background: #f8d7da;
    /*border: 3px solid #dc3545;*/
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    color: #721c24;
    font-weight: 500;
    /*animation: slideInAlert 0.5s ease-out;*/
}

.zone-warning .warning-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.zone-warning .material-icons {
    font-size: 32px;
    color: #dc3545;
    flex-shrink: 0;
}

.zone-warning .warning-text {
    flex: 1;
}

.zone-warning strong {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #721c24;
}

.product-flag.france-only-flag {
    position: absolute;
    bottom: 0px;
    right: 0px;
    color: white;
    z-index: 10;
}

.product-flag.france-only-flag img {
	display: inline-block;
    max-width: 100%;
    max-height: 100%;
    background: transparent !important;
    box-shadow: none;
    margin-left: 0 !important;
    height: auto !important;
    margin: 0;
}
 body#checkout .js-warning-modal .modal-content{
	background: #fff;
	 font-size: 16px;
   
}

body#checkout .js-warning-modal ul.js-modal-products li {
    color: red;
    font-weight: bold;
}
body#checkout .js-warning-modal .warning-text {margin-bottom: 15px;}
body#checkout .js-warning-modal .modal-header .close {
    margin-top: -30px;
  
}
#checkout-addresses-step .modal-dialog
{
	max-width: 650px;

}

#checkout-addresses-step .modal-dialog .warning-text,#checkout-addresses-step .modal-dialog .js-modal-products
{
	text-align: center;
}

 #checkout-addresses-step .modal-dialog .modal-body a:hover {
    color: #ffffff !important;
}
 #checkout-addresses-step .modal-dialog .modal-body a {
   text-transform: initial;
}

 #checkout-addresses-step  .js-warning-modal .modal-content {
    overflow: hidden;
    padding: 15px;
}
 #checkout-addresses-step  .js-warning-modal .modal-footer {
  text-align: left;
	 
   padding: 15px 0;
}

/* Responsive */
@media (max-width: 768px) {
	.product-flag.france-only-flag {
   
    right: -15px;
   
}
   .product-flag.france-only-flag img {
	
    max-width: 80%;
    max-height: 80%;
   
}
}


/* Responsive */
@media (max-width: 767px) {
    #checkout-addresses-step .js-warning-modal .modal-footer {    text-align: center;   }
	#checkout-addresses-step .modal-dialog .modal-body a{margin-bottom: 10px;float: initial !important;}
}
@media (max-width: 768px) {
    .zone-warning {
        padding: 15px;
    }
    
    .zone-warning .material-icons {
        font-size: 24px;
    }
    
    .zone-warning strong {
        font-size: 16px;
    }
    
    .zone-warning p {
        font-size: 14px;
    }
	
}

/* Alternative icon if material-icons not available */
.zone-warning .material-icons:empty::before {
    content: "??";
    font-size: 28px;
}
