/* Your Custome CSS */

/*body {
    background-color: grey;
}*/

body {
    /* font-family: 'Poppins', sans-serif; */
    /* font-family: 'Lato', sans-serif; */
    font-family: 'Quicksand', sans-serif;
}

.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}


.mt-pagination a {
    padding: 8px 14px;
    border: 1px solid #ddd;
    margin-right: 5px;
    text-decoration: none;
    color: #333;
    display: inline-block;
}

.mt-pagination a.active {
    background-color: #000;
    /* Change to your theme color */
    color: #fff;
    border-color: #000;
}

.mt-pagination a.button {
    font-weight: 500;
}

.mt-pagination a.disabled {
    pointer-events: none;
    opacity: 0.5;
}



.mt-shop-grid-img {
    border-radius: 10px !important;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e1e1e;
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-actions button {
    margin-left: 10px;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
}

.btn-accept {
    background: #28a745;
    color: #fff;
}

.btn-reject {
    background: #dc3545;
    color: #fff;
}


/* Modal CSS */
/* Modal overlay */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

/* Centered content */
.modal-content {
    background: #fff;
    margin: 10% auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: slideIn 0.3s;
}

/* Close button */
.modal-content .close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

.modal-content .close:hover {
    color: #ff4d4d;
}

/* Title */
.modal-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

/* Search form */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    transition: all 0.2s;
}

.search-form input:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.search-form button {
    padding: 12px 20px;
    background: #007bff;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-form button:hover {
    background: #0056b3;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.mtheader__midel-card-value p {
    left: 23px !important;
    top: 12px !important;
    background-color: #3f0404;
}

/* Buttons & Primary Actions */
.mt-btn-3,
.mt-btn-3:hover,
.mt-btn-2:hover,
.mt-btn:hover {
    background-color: #3f0404 !important;
    color: white !important;
}

/* Product Cart Buttons */
.mt-shop-grid-content .mtfeature__product-cart a,
.mtpopular__product-2 .mthot__product-cart a {
    background-color: #3f0404 !important;
}

/* Wishlist Hover */
.mtheader__midel-wishlist:hover,
.mthot__product-wishlist a:hover {
    background-color: #3f0404 !important;
}

/* Shop List Hover */
.mt-shop-list-btn a:hover {
    background-color: #3f0404 !important;
}

/* Active Nav Link */
.pro-details-nav-btn li .nav-links.active {
    background-color: #3f0404 !important;
}

/* Back to Top */
#back-to-top {
    background-color: #3f0404 !important;
}


/* New Search Layout CSS */
.search-box {
    position: relative;
    width: 44px;
}

.search-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn i {
    color: #000;
}

.search-btn i:hover,
.search-btn::placeholder {
    color: #000;
}

input.search-input {
    position: absolute !important;
    right: 5px;
    top: 0;
    width: 0;
    height: 44px;
    padding: 0 15px;
    border-radius: 22px;
    border: none;
    outline: none;
    opacity: 0;
    background: #ffffff;
    transition: width 0.3s ease, opacity 0.2s ease;
    transform-origin: right;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px, rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.search-box.activee .search-input {
    width: 400px;
    opacity: 1;
}

.mtheader__bottom-menu ul li .mt-submenu {
    z-index: 99999999999;
}



/* Login Modal CSS */
.login-left {
    /* background: #000; */
    min-height: 300px;
    padding-right: 7px;
}

.login-right {
    border-radius: 10px;
}

.modal-content {
    border-radius: 12px;
    overflow: hidden;
}

.nav-tabs .nav-link {
    border: none;
    color: #555;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    border-bottom: 2px solid #000;
    color: #000;
    background: transparent;
}

.input-group-text {
    background: #f5f5f5;
    border-right: none;
}

.form-control {
    border-left: none;
}

.btn-dark {
    background: #000;
    border: none;
}

.btn-dark:hover {
    background: #333;
}


.mt-whislist-bg {
    padding-bottom: 50px !important;
}

.modal {
    z-index: 99999 !important;
}

.modal-backdrop {
    z-index: 99998 !important;
}



.order-container {
    width: 100%;
    /* max-width: 300px; */
    margin-top: 16px;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    background: #e3e3e3;
    padding: 0 10px;
    border-radius: 5px;
}

/* .order-grid {
        display: flex;
        gap: 10px;
    } */
.order-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.order-card {
    width: 150px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    margin: auto;
}

.order-card img {
    width: 100%;
    height: 125px;
    object-fit: cover;
}

.order-info {
    padding: 8px;
    text-align: left;
}

.title {
    font-size: 14px;
    font-weight: 600;
}

.status {
    font-size: 12px;
    color: #666;
}

.order-header {
    display: flex;
    justify-content: space-between;
    /* LEFT + RIGHT */
    align-items: center;
}

.order-header h5 {
    margin: 0;
    font-size: 16px;
}

.order-header a {
    font-size: 13px;
    color: #3f0404;
    text-decoration: none;
}

.list-group-item.active {
    z-index: 2;
    color: #fff;
    font-weight: 500;
    background-color: #3f0404;
    border-color: #3f0404;
}

.rounded-circle {
    color: #fff;
    font-weight: 600;
    background-color: #3f0404 !important;

}

/* .user-info-card {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.user-row {
    display: flex;
    justify-content: stat;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px dashed #ddd;
}

.user-inner-card {
    padding: 5px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
}

.user-inner-card:not(:last-child) {
    border-bottom: 1px solid #c7c7c7;
}

.user-row {
    border: none;
}

.user-row:last-child {
    border-bottom: none;
} */
.user-info-card {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.user-inner-card {
    padding: 10px 5px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
}

.user-inner-card:not(:last-child) {
    border-bottom: 1px solid #c7c7c7;
}

.user-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    word-break: break-word;
}

.label {
    font-weight: 600;
    min-width: 120px;
    color: #333;
}

.value {
    flex: 1;
    color: #555;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .user-inner-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .user-row {
        flex-direction: column;
        gap: 2px;
        padding-bottom: 10px;
        border-bottom: 1px dashed #ddd;
    }

    .user-row:last-child {
        border-bottom: none;
    }

    .label {
        min-width: auto;
        font-size: 14px;
    }

    .value {
        font-size: 14px;
    }
}

.label {
    font-weight: 600;
    color: #555;
}

.value {
    color: #222;
}

.mtfeature__product-img img {
    height: 120px;
}

.mt-shop-grid-img img {
    height: 120px;
}

.mthot__product-img img {
    height: 120px;
}

.avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.box-icon,
.location-icon {
    width: 80px;
    height: 80px;
    background: #eaeaea;
    border-radius: 10px;
}

.mt-checkout-input select {
    height: 52px;
}

#state {
    height: 52px;
}

.product-img {
    width: 80px;
    /* desktop size */
    height: auto;
}

/* Mobile view */
@media (max-width: 768px) {
    .product-img {
        width: 120px;
        /* bigger on mobile */
    }
}


/* Address CSS */
/* .checkout-address-box {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 6px;
    background: #fff;
} */

.name {
    font-weight: 600;
    margin-bottom: 5px;
}

.details {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.address {
    font-size: 14px;
    color: #333;
}

.change-btn {
    color: #2874f0;
    font-weight: 600;
    text-decoration: none;
}


.address-left {
    width: 100%;
}

@media (max-width: 768px) {
    .address-left {
        width: 100%;
        display: block;
    }

    .address-left .details,
    .address-left .address {
        display: block;
        width: 100%;
        word-break: break-word;
        /* long text wrap ho jayega */
    }
}



.product-img {
    width: 80px;
}

/* MOBILE CARD */
.cart-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cart-card-inner {
    display: flex;
    gap: 10px;
}

.cart-img img {
    width: 90px;
    border-radius: 6px;
}

.cart-info h6 {
    font-size: 14px;
    margin-bottom: 4px;
}

.variant {
    font-size: 12px;
    color: #777;
}

.price {
    font-weight: 600;
}

.qty-box {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.qty-box button {
    width: 28px;
    height: 28px;
    border: none;
    background: #ddd;
    border-radius: 4px;
}

.qty-box span {
    margin: 0 10px;
}

.total {
    font-weight: bold;
}

.remove-btn {
    color: red;
    border: none;
    background: none;
    font-size: 12px;
}



.cart-img {
    /* width: 80px;
        height: 80px; */
    /* object-fit: cover; */
    border-radius: 8px;
    flex-shrink: 0;
}

/* MOBILE FIX */
@media (max-width: 576px) {
    .cart-img {
        width: 120px;
        height: 120px;
    }
}


.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .cart-summary-gap {
        margin-top: 25px;
    }

    .cart-coupon-box {
        margin-bottom: 20px;
    }
}


/* Mobile Search CSS */
.d-block-mobile {
    display: none;
}

@media (max-width: 768px) {

    /* Hide desktop version on mobile */
    .d-none-mobile {
        display: none !important;
    }

    /* Show mobile version */
    .d-block-mobile {
        display: block !important;
    }

    .mobile-search-group {
        display: flex;
        padding: 10px;
        background: #f8f8f8;
    }

    .mobile-input {
        flex: 1;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px 0 0 4px;
    }

    .mobile-btn {
        padding: 8px 15px;
        background: #333;
        color: #fff;
        border: none;
        border-radius: 0 4px 4px 0;
    }
}

@media (max-width: 767px) {
    .mtfeature__product-arrow {
        top: -5px !important;
    }
}

.mthot__product-wishlist a {
    transition: all 0.3s ease;
}

.mthot__product-wishlist a:hover i {
    transform: scale(1.2);
}

/* .fa-solid {
      color: #ff4444 !important;
   } */


/* ---- Hero ---- */
.banner-hero {
    width: 100%;
    overflow: clip;
}

/* Make the image fully cover the area */
.banner-hero picture,
.banner-hero .hero__img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Maintain a clean, responsive height */
.banner-hero {
    height: auto;
}

.banner-hero .hero__img {
    object-fit: cover;
    object-position: center;
}

/* Desktop / laptop breakpoint */
@media (min-width: 768px) {
    .banner-hero {
        height: var(--hero-desktop-h);
    }
}

.banner-hero .swiper-slide {
    width: 100%;
    height: 100%;
}

.banner-hero .hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.variant-btn.active {
    /* background-color: #28a745 !important;
      color: white !important; */
}

.cart-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
}

.go-to-cart-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.go-to-cart-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-empty-form{
   position: absolute;
   right: 15px;
   top: 50%;
   transform: translateY(-50%);
}

/* 📱 Mobile view */
@media (max-width: 576px){
   .cart-empty-form{
      position: static;
      transform: none;
      margin-top: 10px;
      width: 100%;
      text-align: center;
   }

   .cart-empty-form button{
      /* width: 100%; */
   }
}

.mt-order-info-list-subtotal{
    padding: 15px 0 !important;
}



/* New CSS for Checkout Page */
.order-item-wrap {
    gap: 12px;
}

.mt-order-info-list-img img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
}

.mt-order-info-list-content {
    min-width: 0;
}

.mt-order-info-list-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.product-variant {
    font-size: 13px;
    color: #777;
}

.product-right-box {
    min-width: 80px;
    white-space: nowrap;
}

.product-price {
    font-size: 15px;
    font-weight: 600;
    color: #222;
}

.product-qty {
    font-size: 13px;
    color: #666;
}

/* Mobile */
@media (max-width: 768px) {

    .mt-order-info-list-img img {
        width: 65px;
        height: 65px;
    }

    .mt-order-info-list-title {
        font-size: 14px;
    }

    .product-price {
        font-size: 14px;
    }

    .product-qty,
    .product-variant {
        font-size: 12px;
    }

    .product-right-box {
        min-width: 65px;
    }
}

/* Neww CSS for Address section on Checkout Page */
.checkout-address-box {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
}

/* TOP ROW */
.top-user-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.name {
    font-size: 18px;
    font-weight: 600;
    color: #222;
}

.address-right {
    margin-left: auto;
}

.address-right select {
    min-width: 170px;
}

/* DETAILS */
.details {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    word-break: break-word;
}

/* ADDRESS */
.address {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    word-break: break-word;
}

/* MOBILE */
@media (max-width: 768px) {
    .top-user-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .name {
        font-size: 16px;
        flex: 1;
        min-width: 0;
    }

    .address-right {
        margin-left: auto;
        flex-shrink: 0;
        width: auto;
    }

    .address-right select {
        width: 130px;
        font-size: 13px;
        padding: 4px 8px;
    }

    .details,
    .address {
        font-size: 14px;
        line-height: 1.6;
    }
}

.mt-btn-address-checkout {
    height: 40px;
    line-height: 40px;
    position: relative;
    background-color: var(--mt-theme-2);
    color: var(--mt-common-black);
    border: 1px solid var(--mt-common-black);
    padding: 0 21px;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 600;
    overflow: hidden;
    display: inline-block;
    z-index: 1;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

.w-35 {
    width: 33% !important;
}

#loginModal .modal-dialog {
   margin: 10px auto;
}

#loginModal .modal-content {
   overflow-x: hidden;
   border-radius: 10px;
}

#loginModal .row {
   margin-left: 0 !important;
   margin-right: 0 !important;
}

#loginModal .login-right {
   overflow-x: hidden;
}

#loginModal .otp-input {
   min-width: 0;
}

#loginModal input {
   font-size: 16px !important;
}

#modalOtpBox .d-flex {
   width: 100%;
   overflow: hidden;
}

body.modal-open {
   overflow-x: hidden;
}

@media (min-width: 992px) {
   #loginModal .modal-dialog {
      max-width: 1100px;
   }
}

/* CSS for Tooltip Popup */
.custom-tooltip .tooltip-inner {
    background-color: #222 !important;
    color: #fff;
    max-width: 300px !important;
    width: 300px;
    text-align: left;
    padding: 15px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.6;
}

/* Arrow color */
.custom-tooltip.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: #222 !important;
}

.custom-tooltip.bs-tooltip-bottom .tooltip-arrow::before {
    border-bottom-color: #222 !important;
}

.custom-tooltip.bs-tooltip-start .tooltip-arrow::before {
    border-left-color: #222 !important;
}

.custom-tooltip.bs-tooltip-end .tooltip-arrow::before {
    border-right-color: #222 !important;
}


/* CSS for 100% secure payments */
.secure-checkout-text{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:14px;
    font-weight:500;
    color:#198754;
    background:#eefaf3;
    border:1px solid #cdebd8;
    padding:10px;
    border-radius:8px;
}

.secure-checkout-text i{
    font-size:16px;
}


/* CSS for show image as small on product details page */
.mt-shop-details__tab-btn-box button img {
    width: 70px !important;
    height: 20px !important;
}


/* CSS for Zoom Image */
.image-zoom-container {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
    border-radius: 10px;
}

.image-zoom-container img {
    width: 100%;
    transition: transform 0.15s ease;
    transform-origin: center center;
}

.image-lens {
    position: absolute;
    border: 1px solid #ccc;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.2);
    display: none;
    pointer-events: none;
    border-radius: 50%;
    backdrop-filter: blur(2px);
}

