/********************************* 
Click Shop Modal Style and Colors 
*********************************/


/* Modal Overlay */
#csQuickOrderModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
    z-index: 99999;
}

/* Modal Box */
.cs-modal-content {
    background-color: #fff;
    margin: 4% auto;
    padding: 30px 20px;
    border-radius: 8px;
    width: 90%;
    height: auto;
    max-width: 450px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease;
}

/* Close Button */
.cs-modal-content .cs-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.cs-modal-content .cs-close:hover {
    color: #333;
}

/* Form Elements */
#csQuickCheckoutForm {
    box-sizing: border-box;
}

.cs-modal-heading {
    text-align: center;
    border-bottom: 1px solid #a5a5a544;
    padding-bottom: 10px;
    color: var(--primary-color);
}

#csQuickCheckoutForm select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
}

#csApplyCouponBtn {
    padding: 11px 20px;
    border: none;
    border-radius: 0px 3px 3px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}


@keyframes PlaceOrderButtonCsShake {
    0% {
        transform: rotate(0deg);
    }

    3% {
        transform: rotate(2deg);
    }

    6% {
        transform: rotate(-2deg);
    }

    9% {
        transform: rotate(2deg);
    }

    12% {
        transform: rotate(-1deg);
    }

    15% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(0deg);
    }
} 

/*#csPlaceOrderBtn {*/
/*    margin-top: 20px;*/
/*    width: 100%;*/
/*    transition: 0.3s;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 3px;*/
/*    animation: PlaceOrderButtonCsShake 3s ease-in-out infinite;*/
/*}*/
#csPlaceOrderBtn {
    margin-top: 20px;
    width: 100%;
    font-size: 20px;
    font-weight: 700;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    gap: 3px;
    animation: PlaceOrderButtonCsShake 3s ease-in-out infinite;
}

#csPlaceOrderBtn:disabled {
    animation: none !important;
}

/* Fade-in animation */
.cs-modal-preloader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}


.cs-product-summary-cs-modal {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    margin-top: 20px;
    align-items: center;
    background: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
}

.cs-product-image-container {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.cs-product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cs-product-info {
    flex-grow: 1;
}

.cs-product-info h2 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
    color: #333;
}

.cs-product-price {
    font-size: 1.4em;
    font-weight: bold;
    color: var(--primary-color);
}

.cs-product-info-title-cs {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-single-shipping-method .cs-shipping-method-name {
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 3px;
}

.cs-shipping-container {
    padding-top: 10px;
}

.cs-product-info-quantity-cs {
    background: #ededed;
    padding: 0px 7px;
    border-radius: 50%;
    font-size: 13px;
    border: 1px solid #4f4f4f;
    color: var(--primary-color);
    margin-left: 10px;
    font-weight: 700;
    position: absolute;
    top: 5px;
    left: -5px;
}


.cs-quick-order-price-summary {
    margin: 20px 0;
    padding: 15px;
    background: #f7f7f7;
    border-radius: 5px;
}

.cs-quick-order-price-summary .cs-price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 16px;
}

.cs-quick-order-price-summary .cs-price-row.cs-total-price {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.cs-quick-order-price-summary .cs-price-label {
    color: #555;
}

.cs-quick-order-price-summary .cs-price-amount {
    color: #000;
    font-family: inherit;
}



/* Skeleton Loader Styles */
.cs-skeleton-loader {
    position: relative;
    min-height: 300px;
}

.cs-skeleton-shipping-radio {
    margin-bottom: 15px;
}

.cs-skeleton-radio-wrapper {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cs-skeleton-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 12px;
}

.cs-skeleton-radio-text {
    height: 16px;
    flex: 1;
}

.cs-skeleton-content {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cs-skeleton-placeholder {
    display: block;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.cs-skeleton-loader.loading .cs-skeleton-content {
    opacity: 0.3;
    pointer-events: none;
}

.cs-skeleton-loader.loading .cs-skeleton-placeholder {
    display: block;
    opacity: 1;
}

.cs-skeleton-loader:not(.loading) .cs-skeleton-placeholder {
    display: none;
    opacity: 0;
}

.cs-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 37%, #f0f0f0 63%);
    background-size: 400% 100%;
    animation: cs-skeleton-loading 1.4s ease infinite;
    border-radius: 4px;
}

@keyframes cs-skeleton-loading {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0 50%;
    }
}

/* Skeleton layout styles */
.cs-product-summary-skeleton {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.cs-skeleton-image-container {
    position: relative;
}

.cs-skeleton-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}

.cs-skeleton-qty {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.cs-skeleton-product-info {
    flex: 1;
}

.cs-skeleton-title {
    height: 20px;
    margin-bottom: 8px;
}

.cs-skeleton-form-group {
    margin-bottom: 15px;
}

.cs-skeleton-input {
    height: 40px;
    margin-bottom: 5px;
}

.cs-skeleton-button {
    height: 36px;
}

.cs-skeleton-shipping,
.cs-skeleton-payment {
    margin-bottom: 15px;
}

.cs-skeleton-select {
    height: 40px;
}

.cs-skeleton-price-summary {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.cs-skeleton-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cs-skeleton-price-row:last-child {
    margin-bottom: 0;
}


/* Shipping Radio Button Styles */
.cs-shipping-radio-container {
    margin-top: 10px;
}

.cs-shipping-radio-wrapper {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.cs-shipping-radio-input {
    display: none;
}

.cs-shipping-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cs-shipping-radio-input:checked+.cs-shipping-radio-label {
    background: #e8f4ff;
    border-color: var(--primary-color, #06a345ff);
    box-shadow: 0 0 0 1px var(--primary-color, #06a345ff);
}

.cs-shipping-radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.cs-shipping-radio-input:checked+.cs-shipping-radio-label .cs-shipping-radio-custom {
    border-color: var(--primary-color, #06a345ff);
    background-color: var(--primary-color, #06a345ff);
}

.cs-shipping-radio-input:checked+.cs-shipping-radio-label .cs-shipping-radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.cs-shipping-radio-text {
    font-size: 15px;
    font-weight: 500;
    color: #495057;
    flex: 1;
}

.cs-shipping-radio-input:checked+.cs-shipping-radio-label .cs-shipping-radio-text {
    color: var(--primary-color, #06a345ff);
}

.cs-shipping-radio-label:hover {
    background: #e9ecef;
    border-color: #ced4da;
}

/* Shipping Skeleton for Radio */
.cs-skeleton-shipping-radio {
    margin-bottom: 15px;
}

.cs-skeleton-radio-wrapper {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.cs-skeleton-radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 12px;
}

.cs-skeleton-radio-text {
    height: 16px;
    flex: 1;
}