/* Shared storefront palette. Keep validation and payment-brand colors semantic. */
:root {
    --primary-color: #850c09;
    --secondary-color: #850c09;
    --theme-hover: #850c09;
    --theme-soft: #faf2f2;
    --bs-primary: #850c09;
    --bs-primary-rgb: 133, 12, 9;
    --bs-link-color: #850c09;
    --bs-link-hover-color: #850c09;
}
body { background-color: #fff; color: #222; }
body .product_item_inner .discount {
    top: 3px;
    left: 3px;
    padding: 2px 10px;
    background: #850c09;
    border-radius: 0;
    font-family: "Poppins", "Hind Siliguri", sans-serif;
}
body .product_item_inner .discount p {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
}
body .product_item_inner .shipping {
    top: 3px;
    right: 3px;
    padding: 2px 7px;
    background: #850c09;
    border-radius: 0;
}
body .product_item_inner .shipping p { line-height: 18px; }
@media (max-width: 767px) {
    body .product_item .pro_img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        aspect-ratio: 1 / 1;
    }
    body .product_item .pro_img > a {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
    body .product_item .pro_img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    body .product_item .pro_name {
        height: 48px;
        line-height: 24px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    body .product_item_inner .discount { padding: 2px 5px; }
    body .product_item_inner .discount p { font-size: 11px; line-height: 16px; }
    body .product_item_inner .shipping { top: 26px; padding: 2px 5px; }
}
body .homeproduct + .homeproduct { padding-top: 32px; }
@media (max-width: 767px) {
    body .homeproduct + .homeproduct { padding-top: 24px; }
}
body .market-hero__slider .main_slider .owl-nav {
    display: block;
    position: absolute;
    inset: 0;
    margin: 0;
    pointer-events: none;
}
body .market-hero__slider .main_slider .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 50px;
    margin: 0;
    padding: 0 !important;
    border: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    color: #111;
    font-size: 14px;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transition: all .35s;
}
body .market-hero__slider .main_slider .owl-nav button i { font-size: 14px; line-height: 1; color: inherit; }
body .market-hero__slider .main_slider .owl-nav .owl-prev { left: -10px; }
body .market-hero__slider .main_slider .owl-nav .owl-next { right: -10px; background: #f1f1f1; color: #111; }
body .market-hero__slider .main_slider:hover .owl-nav .owl-prev,
body .market-hero__slider .main_slider:focus-within .owl-nav .owl-prev { left: 10px; opacity: 1; visibility: visible; }
body .market-hero__slider .main_slider:hover .owl-nav .owl-next,
body .market-hero__slider .main_slider:focus-within .owl-nav .owl-next { right: 10px; opacity: 1; visibility: visible; }
body .market-hero__slider .main_slider .owl-nav button:hover { background: #850c09; color: #fff; }
body .market-hero__slider .main_slider .owl-nav button:focus-visible { outline: 2px solid #650907 !important; outline-offset: 3px; }
@media (hover: none) {
    body .market-hero__slider .main_slider .owl-nav .owl-prev { left: 10px; opacity: 1; visibility: visible; }
    body .market-hero__slider .main_slider .owl-nav .owl-next { right: 10px; opacity: 1; visibility: visible; }
}
.pro_img { position: relative; }
.product-hover-actions { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: center; gap: 6px; padding: 12px; background: rgba(30,35,38,.65); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s ease; }
.product_item:hover .product-hover-actions, .product_item:focus-within .product-hover-actions { opacity: 1; visibility: visible; transform: none; }
.product-hover-actions button { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #fff; color: #111; }
.product-hover-actions button:hover { background: #850c09; color: #fff; }
.product-hover-actions button:focus-visible { outline: 2px solid #111 !important; outline-offset: 3px; }
.product-hover-actions button:disabled { opacity: .5; }
.product-list-dialog { width: min(1000px, calc(100% - 32px)); max-height: 90vh; margin: auto; padding: 30px; border: 1px solid #ddd; border-radius: 5px; background: #fff; color: #222; overflow-y: auto; font-family: "Poppins", "Hind Siliguri", sans-serif; }
.product-list-dialog::backdrop { background: rgba(0,0,0,.5); }
.product-list-dialog h2 { font-size: 20px; font-weight: 600; text-align: center; padding: 5px 25px 16px; border-bottom: 1px solid #ddd; margin-bottom: 15px; }
.product-list-close { position: absolute; top: 8px; right: 8px; width: 35px; height: 35px; border-radius: 50%; border: 0; background: #ddd; font-size: 24px; }
.product-list-preview:not([hidden]) { display: grid; grid-template-columns: 40% 1fr; gap: 20px; }
.product-list-image { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f5f6f7; }
.product-list-name { display: block; font-size: 17px; margin-top: 24px; }
.product-list-price { color: #e53935; font-size: 18px; }
.product-list-qty { color: #777; margin: 15px 0; }
.product-list-footer { display: flex; gap: 15px; margin-top: 15px; }
.product-list-footer > * { flex: 1; border: 0; border-radius: 4px; padding: 12px; text-align: center; text-transform: uppercase; font-size: 13px; font-weight: 600; background: #ddd; color: #555; }
.product-list-footer .product-list-link { background: #850c09; color: #fff; }
.saved-products { padding-top: 16px; padding-bottom: 30px; }
.saved-breadcrumb { margin-bottom: 12px; }
.saved-products-panel { background: #f5f7f9; border-radius: 5px; padding: 25px; }
.saved-products-panel h1 { font-size: 25px; text-align: center; margin-bottom: 15px; }
.saved-products-panel table { min-width: 620px; }
.saved-products-panel th { color: #666; font-size: 14px; }
.saved-products-panel td { background: transparent; }
.saved-products-panel img { border-radius: 50%; object-fit: cover; }
.saved-cart, .saved-remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: #850c09; color: #fff !important; }
.saved-remove { background: #efbf34; font-size: 24px; }
.header-saved-link { position: relative; }
#navbar_top .header-saved-link [data-list-count] { background: #850c09; }
@media (hover: none) { .product-hover-actions { opacity: 1; visibility: visible; transform: none; padding: 7px; } }
@media (max-width: 600px) { .product-list-dialog { padding: 20px 15px; } .product-list-preview:not([hidden]) { grid-template-columns: 1fr; } .product-list-image { max-height: 230px; } .product-list-name { margin-top: 0; } .product-list-footer { gap: 8px; } .saved-products-panel { padding: 15px; } }
/* Align every storefront section with the hero container. */
@media (min-width: 992px) {
    body .container { max-width: 1200px; }
    body .product_slider,
    body .category-product,
    body .product-inner.related_slider {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }
}
.btn-primary, .btn-success {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--theme-hover);
    --bs-btn-hover-border-color: var(--theme-hover);
    --bs-btn-active-bg: var(--theme-hover);
    --bs-btn-active-border-color: var(--theme-hover);
    --bs-btn-disabled-bg: var(--primary-color);
    --bs-btn-disabled-border-color: var(--primary-color);
}
.page-link { color: var(--theme-hover); }
.active > .page-link, .page-link.active, .form-check-input:checked { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 .2rem rgba(133, 12, 9,.15); }
body .market-hero, body .market-hero__content { background: #fff; }
body .add_cart_btn { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
body .add_cart_btn:hover { background: var(--theme-hover) !important; color: #fff !important; }
body .dark-footer, body .dark-footer .footer-top { background: #f7f7f7; color: #222; }
body .dark-footer { border-top: 1px solid #e5e5e5; }
body .dark-footer .footer-contact-strip { background: #faf2f2; border: 1px solid #faf2f2; }
body .dark-footer .footer-about, body .dark-footer .footer-menu { background: transparent; }
body .dark-footer .footer-contact-card strong, body .dark-footer .footer-info-item strong,
body .dark-footer .footer-menu .title, body .dark-footer .footer-menu .title a { color: #222; }
body .dark-footer .footer-contact-card a, body .dark-footer .footer-info-item small,
body .dark-footer .footer-menu ul li a, body .dark-footer .social__media a { color: #555; }
body .dark-footer .footer-info-icon, body .dark-footer .footer-menu ul li a:hover { color: var(--theme-hover); }
body .dark-footer .footer-bottom { background: #efefef; border-top: 1px solid #e0e0e0; }
body .dark-footer .copyright p { color: #666; }
body .dark-footer .copyright a { color: var(--theme-hover); }
body .market-hero__slider .main_slider button.owl-dot.active span { background: var(--primary-color) !important; border-color: var(--primary-color) !important; }
body .main-details-page .call_now_btn { background: var(--theme-hover); }
body .order_now_btn:hover, body .go_cart:hover { background: var(--theme-hover); color: #fff; }
