@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
    --theme-primary: #970c0c;
    --theme-secondary: #970c0c;
    --theme-ink: #12231a;
    --theme-muted: #5d6b63;
    --theme-line: #e4ebe4;
    --theme-soft: #f4f8f3;
    --theme-card: #ffffff;
    --theme-shadow: 0 10px 30px rgba(18, 35, 26, 0.08);
    --theme-shadow-lg: 0 18px 40px rgba(18, 35, 26, 0.12);
    --theme-radius: 16px;
    --theme-radius-sm: 12px;
    --header-offset: 175px;
}

html {
    scroll-behavior: smooth;
}

body.gotop,
body {
    background: linear-gradient(180deg, #f7faf6 0%, #eef5ec 48%, #f7faf6 100%) !important;
    color: var(--theme-ink);
    font-family: "Plus Jakarta Sans", "Poppins", "Roboto", sans-serif;
}

#content {
    padding-top: var(--header-offset, 175px);
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    #content {
        padding-top: 0;
    }
}

a {
    transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}

/* ===== Header ===== */
header#navbar_top,
header {
    box-shadow: 0 8px 28px rgba(18, 35, 26, 0.08) !important;
    background: #fff;
}

.top_header {
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.top_header a.fw-bold {
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    font-size: 16px !important;
}

.logo-area {
    background: #fff;
}

/* Keep input borders visible on focus */
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="reset"]),
textarea,
select,
.form-control,
.form-control-custom,
.custom-input,
.modern-input {
    border: 1px solid var(--theme-line) !important;
    box-shadow: none;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="reset"]):focus,
input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="reset"]):focus-visible,
textarea:focus,
textarea:focus-visible,
select:focus,
select:focus-visible,
.form-control:focus,
.form-control-custom:focus,
.custom-input:focus,
.modern-input:focus,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
    outline: none !important;
    border-color: var(--theme-primary) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-primary) 18%, transparent) !important;
}

.main-search form input,
.main-search form input:focus,
.newsletter-input,
.newsletter-input:focus,
.qty-cart input,
.quantity input,
input[type="checkbox"],
input[type="radio"] {
    border: none !important;
    box-shadow: none !important;
}

.main-search form {
    border: 1.5px solid var(--theme-line) !important;
    background: var(--theme-soft) !important;
    border-radius: 999px !important;
    height: 46px !important;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px transparent;
    transition: .25s ease;
}

.main-search form:focus-within {
    border-color: var(--theme-primary) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-primary) 16%, transparent);
}

.main-search form input {
    background: transparent !important;
    font-size: 14px !important;
    padding-left: 16px !important;
}

.main-search form button {
    border-radius: 0 999px 999px 0 !important;
    width: 52px !important;
}

.header-list-items ul li a,
.track_btn a,
.for_order a {
    color: var(--theme-ink) !important;
}

.header-list-items ul li a:hover,
.track_btn a:hover,
.for_order a:hover {
    color: var(--theme-primary) !important;
}

.header-list-items ul li span,
.mobilecart-qty {
    background: var(--theme-primary) !important;
    box-shadow: 0 0 0 2px #fff;
}

.menu-area {
    background: linear-gradient(90deg, var(--theme-primary), color-mix(in srgb, var(--theme-primary) 78%, #111)) !important;
    border: 0 !important;
}

.catagory_menu {
    text-align: left;
}

.catagory_menu > ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin: 0;
    padding: 0;
}

.catagory_menu ul li a {
    font-weight: 600;
    letter-spacing: .01em;
    padding: 11px 4px;
}

.catagory_menu ul li a:hover,
.cat_bar:hover > a {
    opacity: .92;
}

.Cat_menu,
.child_menu {
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: var(--theme-shadow-lg) !important;
    border: 1px solid var(--theme-line);
}

.search_product {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--theme-shadow-lg);
    border-color: var(--theme-line) !important;
}

/* ===== Slider / sections ===== */
.slider-section {
    margin-top: 18px !important;
    position: relative;
    z-index: 1;
}

.home-slider-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--theme-shadow);
    background: #fff;
}

.main_slider .owl-stage-outer,
.slider-item {
    border-radius: 18px;
    overflow: hidden;
}

.slider-item {
    height: auto !important;
    background: #f4f8f3;
}

.slider-item img {
    width: 100%;
    height: auto !important;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.main_slider .owl-prev,
.main_slider .owl-next {
    z-index: 3 !important;
    width: 42px !important;
    height: 42px !important;
    background: #fff !important;
    color: var(--theme-ink) !important;
    border-radius: 50% !important;
    box-shadow: var(--theme-shadow);
}

@media (max-width: 767px) {
    .slider-section {
        margin-top: 10px !important;
    }
    .slider-item,
    .slider-item img {
        max-height: 180px;
    }
}

.homeproduct {
    background: transparent !important;
    margin-bottom: 8px;
    padding: 22px 0 10px !important;
}

.sec_title {
    margin-bottom: 16px !important;
}

.section-title-header {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-title-name {
    font-family: "Plus Jakarta Sans", "Poppins", sans-serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    color: var(--theme-ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px !important;
}

.section-title-name:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--theme-primary), #ffb703);
}

.timer_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.offer_timer {
    background: #fff;
    border: 1px solid var(--theme-line);
    border-radius: 999px;
    padding: 4px 8px;
    box-shadow: var(--theme-shadow);
}

/* ===== Home categories ===== */
.home-cat-card {
    display: block;
    text-align: center;
    padding: 8px 6px 4px;
}

.home-cat-card img {
    width: 92px !important;
    height: 92px !important;
    object-fit: cover;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 8px 20px rgba(45, 106, 79, .16);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.home-cat-card:hover img {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 28px rgba(45, 106, 79, .22);
}

.home-cat-card .home-cat-name {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--theme-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== Brands ===== */
.brand-item {
    display: block;
    background: #fff;
    border: 1px solid var(--theme-line);
    border-radius: var(--theme-radius);
    padding: 16px 10px;
    box-shadow: var(--theme-shadow);
    transition: .25s ease;
}

.brand-item:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--theme-primary) 45%, #fff);
    box-shadow: var(--theme-shadow-lg);
}

.brand-img {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-img img {
    max-height: 64px;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.brand-name {
    margin-top: 8px;
    font-weight: 700;
    font-size: 13px;
    color: var(--theme-ink);
}

/* ===== Product cards ===== */
.product_item,
.wist_item.product_item,
.search-item {
    border: 1px solid var(--theme-line) !important;
    border-radius: 16px !important;
    background: #fff !important;
    padding: 8px !important;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(18, 35, 26, .05);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 12px !important;
}

.homeproduct .owl-carousel .product_item {
    margin-bottom: 0 !important;
}

.homeproduct .owl-carousel .owl-item {
    display: flex;
}

.homeproduct .owl-stage-outer {
    padding-bottom: 6px;
}

.product_item_inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.product_item .pro_btn {
    margin-top: auto;
}

.product_item:hover,
.wist_item.product_item:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--theme-primary) 50%, #fff) !important;
    box-shadow: var(--theme-shadow-lg) !important;
}

.pro_name {
    height: auto !important;
    min-height: 40px;
    max-height: 42px;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro_img {
    background: linear-gradient(180deg, #f8fbf7, #eef5ec);
    border-radius: 14px;
}

.pro_name a {
    font-size: 14px !important;
    font-weight: 650;
    line-height: 1.35;
    color: var(--theme-ink) !important;
}

.pro_name a:hover {
    color: var(--theme-primary) !important;
}

.pro_price p {
    font-size: 16px;
    font-weight: 800;
}

.pro_price del {
    color: #8a958e;
    font-weight: 500;
    font-size: 13px;
}

.product_item_inner .sale-badge-box {
    background: linear-gradient(135deg, #ff4d6d, #c9184a) !important;
    box-shadow: 0 8px 16px rgba(201, 24, 74, .28);
}

.stock-out-overlay {
    background: rgba(18, 35, 26, .72) !important;
    color: #fff !important;
    font-weight: 800;
    letter-spacing: .06em;
}

.product_item .order-btn,
.product_item .order-btn-link,
.product-section .order-btn,
.product-section .order-btn-link,
.search-item .order-btn-link {
    border-radius: 10px !important;
    font-weight: 700 !important;
}

.product_item .cart-icon-btn,
.product_item .cart-icon-link,
.product-section .cart-icon-btn,
.product-section .cart-icon-link {
    border-radius: 10px !important;
}

/* ===== Listing / filters ===== */
.product-section,
.breadcrumb-section,
.vcart-section,
.checkout-section {
    background: transparent;
}

.category-breadcrumb,
.custom-breadcrumb,
.details_right .breadcrumb {
    background: #fff;
    border: 1px solid var(--theme-line);
    border-radius: 999px;
    padding: 8px 14px;
    box-shadow: var(--theme-shadow);
}

.sorting-section,
.filter_sidebar,
.sidebar_item,
.wraper__item {
    background: #fff;
    border: 1px solid var(--theme-line);
    border-radius: var(--theme-radius);
    box-shadow: var(--theme-shadow);
}

.sorting-section {
    padding: 14px 16px;
    margin-bottom: 18px;
}

.page-sort .form-control,
.page-sort .form-select,
.filter_sidebar .form-control,
.filter_sidebar select {
    border: 1px solid var(--theme-line) !important;
    border-radius: 10px !important;
    height: 42px;
    background: #fff;
}

.show_more_btn a.view_more_btn,
.view_more_btn {
    background: var(--theme-primary) !important;
    color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 22px !important;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--theme-primary) 30%, transparent);
}

/* ===== Product details ===== */
.main-details-page,
.pro_details_area {
    background: transparent !important;
}

.details_slider,
.dimage_item,
.dimage_item img,
.block__pic {
    border-radius: 18px;
    background: #fff;
}

.indicator-item {
    border: 2px solid var(--theme-line) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.indicator-item.active,
.indicator-item:hover {
    border-color: var(--theme-primary) !important;
}

.details_right {
    background: #fff;
    border: 1px solid var(--theme-line);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--theme-shadow);
}

.details_right .product .name,
.product-cart .name {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.3;
    color: var(--theme-ink);
}

.details-price,
.details-price span,
#newPrice {
    color: var(--theme-primary) !important;
    font-weight: 800;
}

.order_now_btn,
.add_cart_btn,
.call_now_btn {
    border-radius: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .01em;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.order_now_btn {
    background: linear-gradient(135deg, #ef233c, #d90429) !important;
    border-color: transparent !important;
}

.add_cart_btn {
    background: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
}

.add_cart_btn:hover,
.add_cart_btn:active {
    background: var(--theme-secondary) !important;
    border-color: var(--theme-secondary) !important;
}

.features {
    border: 1px solid var(--theme-line) !important;
    border-top: 4px solid var(--theme-primary) !important;
    border-radius: 16px;
    background: #fff;
}

/* ===== Cart ===== */
.vcart-inner,
.cart_details,
.checkout-shipping,
.checkout-card {
    border-radius: 18px !important;
    border: 1px solid var(--theme-line) !important;
    box-shadow: var(--theme-shadow) !important;
    overflow: visible;
}

.cart-title h4,
.vcart-inner h4 {
    font-weight: 800;
}

.vcart-content table thead th {
    background: var(--theme-soft);
    color: var(--theme-ink);
    font-weight: 700;
    border-bottom: 1px solid var(--theme-line) !important;
}

.vcart-qty .quantity {
    border: 1px solid var(--theme-line);
    border-radius: 999px;
    overflow: hidden;
}

.go_cart,
.place-order-btn,
.checkout-section .btn-primary,
.modern-login-section .submit-btn,
.account-card .submit-btn {
    background: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
}

/* ===== Auth / account / contact / blog ===== */
.modern-login-section,
.contact-wrapper {
    background: transparent !important;
}

.login-container,
.contact-main-card,
.account-card,
.dashboard,
.blog-card {
    border-radius: 20px !important;
    box-shadow: var(--theme-shadow-lg) !important;
    border: 1px solid var(--theme-line) !important;
}

.blog-title a:hover,
.read-more-btn {
    color: var(--theme-primary) !important;
}

.menu a.active,
.menu a:hover {
    background: color-mix(in srgb, var(--theme-primary) 12%, #fff) !important;
    color: var(--theme-primary) !important;
}

/* ===== Footer ===== */
.site-footer,
footer.site-footer,
.site-footer .footer-top {
    border-top: 0;
    color: rgba(255,255,255,.88);
}

.site-footer .footer-top {
    padding: 48px 0 28px !important;
}

.site-footer .footer-about {
    text-align: left !important;
    padding-right: 0 !important;
}

.site-footer .footer-logo {
    display: inline-block;
    margin-bottom: 14px;
}

.site-footer .footer-about a img,
.site-footer .footer-logo img {
    width: auto !important;
    max-width: 160px;
    height: 48px !important;
    object-fit: contain;
    background: #fff;
    border-radius: 10px;
    padding: 6px 10px;
}

.site-footer .footer-about p,
.site-footer .footer-subscribe-text {
    text-align: left !important;
    color: rgba(255,255,255,.78) !important;
    font-size: 14px !important;
    line-height: 1.65;
    margin: 0 0 12px !important;
}

.site-footer .footer-hotlint {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    background: color-mix(in srgb, var(--theme-primary) 80%, #000);
    border-radius: 999px;
    padding: 8px 14px;
    margin: 4px 0 14px !important;
    font-size: 15px;
}

.site-footer .app-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.site-footer .app-badge-btn img {
    height: 36px !important;
    max-height: 36px !important;
    width: auto !important;
    max-width: 140px !important;
    background: transparent !important;
    padding: 0 !important;
}

.site-footer .footer-menu .title,
.site-footer .footer-menu .title a,
.site-footer .footer-menu .title span,
.site-footer .stay_conn,
.site-footer .stay_conn a {
    color: #fff !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 12px !important;
    display: block;
}

.site-footer .footer-menu ul li a {
    color: rgba(255,255,255,.78) !important;
    margin: 0 0 8px !important;
    font-size: 14px;
}

.site-footer .footer-menu ul li a:hover {
    color: #fff !important;
    padding-left: 4px;
}

.site-footer .newsletter-input-group {
    display: flex;
    gap: 8px;
    background: transparent !important;
    border: 0 !important;
    margin-bottom: 16px;
}

.site-footer .newsletter-input {
    flex: 1;
    height: 46px;
    border: 0 !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #12231a !important;
    padding: 0 14px;
}

.site-footer .newsletter-input::placeholder {
    color: #7a8a80 !important;
}

.site-footer .newsletter-btn {
    width: 46px;
    height: 46px;
    border: 0 !important;
    border-radius: 12px !important;
    background: var(--theme-primary) !important;
    color: #fff !important;
}

.site-footer ul.social_link {
    text-align: left !important;
    margin: 0 !important;
}

.site-footer ul.social_link li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff !important;
    font-size: 15px;
}

.site-footer ul.social_link li a:hover {
    background: var(--theme-primary);
    color: #fff !important;
}

.site-footer .footer-bottom {
    padding: 14px 0 !important;
    border-top: 1px solid rgba(255,255,255,.08);
}

.site-footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
}

.site-footer .copyright p,
.site-footer .copyright-copy {
    margin: 0 !important;
    color: rgba(255,255,255,.78) !important;
    font-size: 13px;
    text-align: left;
}

.site-footer .developer-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    white-space: nowrap;
}

.site-footer .developer-credit img {
    height: 28px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 3px 8px;
}

.site-footer .developer-credit:hover {
    opacity: .88;
}

.site-footer.footer-light,
.site-footer.footer-light .footer-top {
    color: #12231a;
}

.site-footer.footer-light .footer-about p,
.site-footer.footer-light .footer-subscribe-text {
    color: #3d4a43 !important;
}

.site-footer.footer-light .footer-menu .title,
.site-footer.footer-light .footer-menu .title span,
.site-footer.footer-light .stay_conn,
.site-footer.footer-light .stay_conn a {
    color: #12231a !important;
}

.site-footer.footer-light .footer-menu ul li a {
    color: #3d4a43 !important;
}

.site-footer.footer-light .footer-menu ul li a:hover {
    color: var(--theme-primary) !important;
}

.site-footer.footer-light .footer-logo img {
    background: #f4f8f3;
}

.site-footer.footer-light ul.social_link li a {
    background: #eef5ec;
    color: #12231a !important;
}

.site-footer.footer-light ul.social_link li a:hover {
    background: var(--theme-primary);
    color: #fff !important;
}

/* ===== Owl / misc ===== */
.owl-nav button,
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    background: #fff !important;
    color: var(--theme-ink) !important;
    border: 1px solid var(--theme-line) !important;
    box-shadow: var(--theme-shadow);
    border-radius: 50% !important;
}

.pagination .page-link,
.pagination li a {
    border-radius: 10px !important;
    color: var(--theme-ink);
}

.pagination .active .page-link,
.pagination li.active a {
    background: var(--theme-primary) !important;
    border-color: var(--theme-primary) !important;
    color: #fff !important;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
    .section-title-name {
        font-size: 18px !important;
    }

    .home-cat-card img {
        width: 68px !important;
        height: 68px !important;
    }

    .details_right {
        margin-top: 16px;
        padding: 16px;
    }

    .product_item,
    .wist_item.product_item {
        border-radius: 14px !important;
    }

    .main-details-page .details_right .product .name,
    .product-cart .name {
        font-size: 20px !important;
    }

    .site-footer .footer-top {
        padding: 32px 0 18px !important;
    }

    .site-footer .footer-about,
    .site-footer .footer-about p,
    .site-footer .footer-subscribe-text,
    .site-footer ul.social_link {
        text-align: center !important;
    }

    .site-footer .footer-hotlint,
    .site-footer .app-badges {
        justify-content: center;
    }

    .site-footer .footer-menu .title,
    .site-footer .stay_conn {
        text-align: left;
    }

    .site-footer .copyright {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .site-footer .copyright-copy {
        text-align: center !important;
    }

    .site-footer .footer-bottom {
        padding: 16px 12px calc(118px + env(safe-area-inset-bottom, 0px)) !important;
        margin-bottom: 0 !important;
    }

    body.gotop,
    body {
        padding-bottom: 0;
    }
}
