.post-container {
    max-width: 100%;
}

.post-title {
    text-align: center;
    margin-top: unset;
    margin-bottom: 14px;
}

.product-item {
    display: flex;
    margin-bottom: 20px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 2%;
}

.product-image {
    width: 40%;
    height: 40%;
    margin-right: 20px;
    border-radius: 2%;
}

.product-details {
    flex-grow: 1;
}

.product-title {
  margin: auto;
}



.post-description {
    margin-top: 20px;
}
.full-description {
    margin-top: 20px;
    display: none;
}

.actual_amount{
text-decoration: line-through;
}
.discount_amount{
 font-weight: bold;
}


.button-container {
    margin-top: 10px;
}

.accept-offer {
    background-color: green;
    font-size: var(--wp--preset--font-size--small);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

.skip, .skip-all, .skip-remaining {
    background-color: red;
    font-size: var(--wp--preset--font-size--small);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    margin-right: 10px;
}

 .skip-remaining {
    display: none;
 }

.button-container button:hover {
  background-color: #d32f2f;
  transform: scale(1.05); /* Scale up the button slightly on hover */
  border-color: red; /* Change border color on hover */
}

.button-container .accept-offer:hover {
  background-color: #105c10;
  transform: scale(1.05); /* Scale up the button slightly on hover */
  border-color: red; /* Change border color on hover */
}

.button-container button:active {
  background-color: #d32f2f;
  transform: scale(0.95); /* Scale down the button slightly when clicked */
  border-color: red; /* Change border color when clicked */
}

.button-container .accept-offer:active {
  background-color: #105c10;
  transform: scale(0.95); /* Scale down the button slightly when clicked */
  border-color: red; /* Change border color when clicked */
}



/*For pop up icons on cart item process start*/

.processing-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.loading-spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid #fff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -86px;
    margin-left: -20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-message {
   color: #d9cfcf;
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -21px;
    margin-left: -55px;
}
/*For pop up icons on cart item process end*/


/* Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

/* Modal */
.modal {
    width: 90%;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0);
/*    border-radius: 10px;*/
    z-index: 1001;
    padding: 30px;
    
    max-width: 90%;
    max-height: 90%;
   
}
.modal-body{
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    
}
.post-content{
    max-height: 80vh; /* Set the maximum height */
    overflow: auto; /* Show scrollbar when content overflows */
}



/* Close Button */
.close-btn {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: large;
    background-color: #f44336;
    color: white;
    padding: 2px 10px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}


.close-btn:hover {
    background-color: #d32f2f;
}


/*For quantity stock start*/
.woocommerce_stock_fields_custom {
    margin-top: 10px; 
    margin-bottom: 10px;
    display:none;
}



.woocommerce_stock_fields_custom input {
    width: 70px; /* Set the width of the input field */
    padding: 8px 14px; /* Add padding inside the input field */
    font-size: 15px; /* Set the font size of the input field */
    line-height: 1.8; /* Set the line height of the input field */
    color: #555; /* Set the text color of the input field */
    background-color: #fff; /* Set the background color of the input field */
    background-image: none; /* Remove any background image */
    border: 1px solid #ccc; /* Add a border around the input field */
/*    border-radius: 4px; /* Add border radius to round the corners */*/
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075); /* Add a box shadow to give a 3D effect */
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s; /* Add transition effect for border color and box shadow */
}

.woocommerce_stock_fields_custom input:focus {
    border-color: black; /* Change border color on focus */
    outline: 0; /* Remove outline */
    
}
.stock{
font-size: 15px; 
}
.product-info-inline{
    display: flex;
    gap: 10px;
    font-size: 15px;
}



.woocommerce-error{
    color: #515151 !important;
    background-color: #f6f5f8 !important;
    border-top: 3px solid #b81c23 !important;
    margin: none !important;
    margin-bottom: 8px !important;
}

/*For quantity stock end*/

@media only screen and (max-width: 600px) {
    .product-item {
        flex-direction: column;
    }

    .product-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        border-radius: 0;
    }
    .modal {
     width: 75%;
    }
    .button-container {
    display: flex;
    flex-direction: column;
}
.button-container button {
    margin-bottom: 10px; /* Adjust the spacing as needed */
}
}