﻿/*   Custome Page CSS start  */

@import url('https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css');


.mini_cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 360px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow-y: auto;
    transition: right 0.4s ease-in-out;
}
 
.mini_cart.show {
        right: 0;
}

.custom-toast {
    background-color: #fff;
    border: 1px solid #C70909;
    border-left: 5px solid #C70909;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    overflow: hidden;
    min-width: 300px;
    opacity: 1 !important;
}

.custom-toast-header {
    background-color: #C70909;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 16px;
}

.custom-toast-body {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

.custom-toast-footer {
    padding: 8px 15px;
    text-align: right;
    background-color: #f9f9f9;
}

.custom-toast-close {
    background-color: #C70909;
    color: white;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
}

.custom-toast-progress {
    height: 3px;
    background-color: #C70909;
    width: 100%;
    transition: width linear;
}

.clamp-two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.3em;
    max-height: 2.6em;
}

.pagination .page-item .page-link:hover i, .pagination .page-item .page-link span {
    color: #171717;
}

.custom-col-5 {
    flex: 0 0 20%;
    max-width: 20%;
}

.small-card {
    font-size: 0.875rem;
    max-width: 220px;
    margin: 0 auto;
}

.product_name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .product_name a {
        transition: color 0.2s ease;
    }

        .product_name a:hover {
            color: darkred;
        }

.faq-area .accordion-button {
    font-weight: 500;
    font-size: 1rem;
    background-color: #fff;
    border-radius: 0;
    color: #212529;
}

    .faq-area .accordion-button:focus {
        box-shadow: none;
        background-color: #f8f9fa;
    }

.faq-area .accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
}

/*    Cart page css  start  */

.quantity-wrapper.d-flex.align-items-center.add-minus {
    margin-left: 43px;
}

.otp-box {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    border-radius: 10px;
}

    .otp-box:focus {
        border-color: #198754;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
    }

    /* Check in console or stylesheet */
    .otp-box[disabled] {
        pointer-events: none;
        opacity: 0.6;
    }

.select2-container--default .select2-selection--single {
    border: 1px solid #000;
    height: 38px;
}

.cart_subtotal select {
    max-width: 20%;
    min-width: 250px;
}

.cart_subtotal span.cart_amount {
    font-weight: 600;
    font-size: 16px;
}

/*    Cart page css end   */

/*    Contact us css start   */

.contact-us-area input, .contact-us-area textarea {
    border: 1px solid #ced4da;
    transition: border-color 0.3s;
}

    .contact-us-area input:focus, .contact-us-area textarea:focus {
        border-color: #dc3545;
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }
/*    Contact us css end   */

/*    Search result css start   */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }

.badge.bg-secondary {
    background-color: #6c757d !important;
    color: white;
}

/*.input-group .form-control:focus {
    box-shadow: none;
}*/

.search-heading {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 0.5rem;
}

.search-subtext {
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/*.w-100 {
    width: 92% !important;
}*/

/*.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: 25px;
}*/

.card-footer .add-to-cart-btn {
    display: none;
    transition: all 0.3s ease;
}

.product-card:hover .add-to-cart-btn {
    display: block;
}
/*    Search result css end   */

/*    OrderHistory css start   */
.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15) !important;
    transition: box-shadow 0.3s ease-in-out;
}
/*    OrderHistory css end   */

/*    ProceedToPayment css start   */

/*@media only screen and (min-width: 500px) {
    .paypal-button.paypal-button-shape-rect {
        border-radius: 4px;
        width: 309px;
        height: 43px;
        display: flex;
        justify-content: center;
        margin-left: 43%;
    }
}*/

.btn-red {
    background-color: #C70909;
    color: white;
    border: none;
    width: 154px;
    height: 47px;
}

    .btn-red:hover {
        background-color: #a00707;
    }

.form-check-input-radio {
    width: 21px;
    height: 1em;
    margin-top: .25em;
    vertical-align: top;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid rgba(0, 0, 0, .25);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-print-color-adjust: exact;
    color-adjust: exact;
    print-color-adjust: exact;
}

#paypalModal .modal-content {
    background-color: #fdfdfd;
    font-size: 0.92rem;
}

#paypalModal .modal-title {
    font-size: 1rem;
}

.exit-modal-content {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    height: 420px;
    transition: transform 0.3s ease;
}

.exit-modal-content:hover {
    transform: scale(1.01);
}

.exit-modal-header {
    background-color: #f8f9fa;
    padding: 0;
}

.exit-modal-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

/* Button hover with subtle shadow pop */
.shadow-hover {
    transition: all 0.3s ease;
}

    .shadow-hover:hover {
        box-shadow: 0 6px 14px rgba(0, 128, 0, 0.4);
        transform: scale(1.05);
    }

@keyframes dropIn {
    0% {
        transform: translate(-50%, -100%);
    }

    100% {
        transform: translate(-50%, 0);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(6deg);
    }
}

@media (max-width: 576px) {
    .hanging-offer-banner {
        flex-direction: column;
        text-align: center;
    }

        .hanging-offer-banner a {
            margin-left: 0;
            margin-top: 0.5rem;
        }
}

/*    ProceedToPayment css end   */

/*   Custome Page CSS end  */