@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* ===================== THEME VARIABLES ===================== */
:root {
    --primary: #1a1a2e;
    --accent: #e74c3c;
    --accent-hover: #c0392b;
    --light-bg: #f5f6fa;
    --card-bg: #ffffff;
    --border: #eaeef5;
    --text-dark: #1a1a2e;
    --text-mid: #555;
    --text-light: #999;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --radius: 8px;
    --radius-lg: 12px;
}

body {
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    overflow-x: hidden;
    line-height: 1.6;
    background: var(--light-bg);
    color: var(--text-dark);
}

/* ===================== COMMON ===================== */
@font-face {
    font-family: "Potro Sans Bangla";
    src: url("../fonts/Potro-Sans-Bangla-Regular.ttf");
    src: url("../fonts/Potro-Sans-Bangla-Regular.ttf?#iefix") format("embedded-opentype"), url("../fonts/Potro-Sans-Bangla-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Alinur Banglaborno";
    src: url("../fonts/Li-Alinur-Banglaborno-Unicode.ttf");
    src: url("../fonts/Li-Alinur-Banglaborno-Unicode.ttf?#iefix") format("embedded-opentype"), url("../fonts/Li-Alinur-Banglaborno-Unicode.ttf") format("truetype");
}

p { text-align: left; margin: 0; color: var(--text-dark); padding: 0; }
.alinur { font-family: "Alinur Banglaborno", sans-serif; }
button, button:focus, button:active { outline: none !important; box-shadow: 0 0 !important; }
form input::placeholder { font-size: 15px; color: #aaa; text-align: left !important; }
ul, ol { margin: 0; padding: 0; }
li { display: inline-block; list-style: none; }
a, a:hover, a:focus { color: var(--text-dark); text-decoration: none; outline: 0; }
button, button:focus, button:active { text-decoration: none; border: 0; outline: 0; }
.form-control, .form-control:focus, input, input:focus { outline: 0; border: 0; box-shadow: 0 0 !important; }
.parsley-errors-list { color: var(--accent); }
.parsley-error { border: 1px solid var(--accent) !important; }
img { max-width: 100%; height: 100%; }
button { padding: 0; border: 0; }
h1, h2, h3, h4, h5, h6 { font-family: "Lato", sans-serif; margin: 0; }
.potro_font { font-family: Potro Sans Bangla; }
svg { height: 16px; width: 16px; }
.cursor { cursor: pointer; }
.float-left { float: left; }
.float-right { float: right; }
.container { max-width: 1380px; }
footer { padding: 0; }

/* ===================== HEADER ===================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(26,26,46,0.10);
}

.top_header {
    background: var(--primary) !important;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.logo-area { padding: 8px 0; }

.logo-header {
    display: grid;
    grid-template-columns: 30% 40% 30%;
    grid-gap: 0;
}

.main-logo {
    height: 55px;
    text-align: center;
}

.main-logo a { display: block; width: 100%; height: 100%; }
.main-logo img { width: auto; height: 100%; margin-top: 0; }

/* Search */
.main-search { margin: 8px 8px 8px 16px; position: relative; }
.search_result { position: relative; }
.search_product {
    position: absolute;
    width: 100%;
    background: #fff;
    z-index: 999999;
    border: 1px solid var(--border);
    top: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.search_product img { width: 50px; height: 50px; margin-top: 6px; border-radius: 50px; }
.search_product li {
    width: 100%;
    display: grid;
    grid-template-columns: 65px auto;
    grid-gap: 15px;
    padding: 8px 15px;
    border-bottom: 1px solid var(--border);
    transition: 0.25s all;
}
.search_product ul li:hover { background: var(--light-bg); }
.search_content .price { color: var(--accent); font-weight: 600; }

.main-search form {
    border: 1.5px solid var(--primary);
    height: 39px;
    background: #f8f9fc;
    width: 100%;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    transition: 0.2s all;
}
.main-search form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(231,76,60,0.10);
}
.main-search form input {
    height: 100%;
    padding: 0 10px;
    font-size: 13px !important;
    background: #f8f9fc;
    width: 90%;
    float: left;
    border: none;
    outline: none;
}
.main-search form button {
    height: 100%;
    outline: 0;
    background: var(--primary);
    width: 11%;
    float: left;
    transition: 0.2s all;
}
.main-search form button:hover { background: var(--accent); }
.main-search form button svg { height: 20px; width: 35px; color: #fff; }

/* Header List Items */
.header-list-items { text-align: center; margin: 5px 0; }
.header-list-items ul { margin-top: 7px; }
.header-list-items ul li {
    text-align: center;
    padding: 0;
    margin-left: 12px;
    font-weight: 600;
}
.header-list-items ul li:first-child { margin-left: 0; }
.for_order a i { font-size: 16px !important; }
.header-list-items ul li a { display: inline-block; }
.header-list-items ul li p {
    display: inline-block;
    text-align: center;
    position: relative;
    font-size: 15px;
    font-weight: normal;
}
.margin-shopping { margin-right: 10px; }
.header-list-items ul li i { font-size: 20px; }
.cart-svg { height: 22px; width: 22px; }
.header-list-items ul li span {
    position: absolute;
    top: -8px;
    right: -12px;
    background: var(--accent);
    color: #fff;
    height: 18px;
    width: 18px;
    line-height: 18px;
    font-size: 12px;
    border-radius: 50px;
}

/* Cart Summary */
#cart-qty { position: relative; }
.cshort-summary {
    position: absolute;
    top: 55px;
    width: 390px;
    right: 0;
    max-height: 500px;
    z-index: 999;
    background: #fff;
    padding: 10px;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s all;
    border: 1px solid var(--border);
}
.go_cart, .go_cart:hover {
    background: var(--accent);
    width: 100%;
    color: #fff;
    border-radius: var(--radius);
    padding: 10px 0;
    margin-top: 5px;
    display: block;
    text-align: center;
}
#cart-qty:hover .cshort-summary { top: 45px; opacity: 1; visibility: visible; }
.cshort-summary ul li p { font-size: 15px; font-weight: 600; display: block; text-align: left; }
.cshort-summary img { width: 45px; height: 45px; border: 1px solid var(--border); border-radius: 50px; padding: 5px; }
.cshort-summary ul { display: grid; grid-template-columns: 15% 45% 20% 20%; margin: 5px 0; }
.cshort-summary .cart_remove { margin-left: 5px; }
.cshort-summary ul li { display: block; text-align: left; margin: 5px 0; border-bottom: 1px solid var(--border); padding: 10px 0; }
.cshort-summary .remove-cart, .cshort-summary .remove-cart:focus { height: 20px; width: 20px; line-height: 20px; }
.cshort-summary p strong { font-size: 15px; display: block; margin: 8px 0; }

/* ===================== NAV MENU ===================== */
.menu-area {
    background: var(--primary);
    border-top: none;
    border-bottom: none;
}

.catagory_menu { padding: 0; }
.catagory_menu ul li a {
    color: #fff;
    margin: 0;
    display: block;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.3px;
}

li.cat_bar > a {
    padding: 13px 14px;
    display: flex;
    width: 100%;
    height: 50px;
    font-size: 14px;
    background-color: transparent;
    margin-left: 0 !important;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-weight: 500;
    transition: 0.2s all;
    border-bottom: 2px solid transparent;
}

li.cat_bar > a:hover {
    background: rgba(255,255,255,0.08);
    border-bottom: 2px solid var(--accent);
}

li.cat_bar { position: relative; margin-right: 0; }

.cat_down { font-size: 10px !important; position: absolute; top: 20px; right: 0; }
.cat_bar i { padding-right: 5px; font-size: 16px; }
.cat_head { color: #fff; }

.menu-area .Cat_menu {
    position: absolute;
    background-color: #fff;
    top: 100%;
    transition: 0.25s all;
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    width: 230px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-md);
}
.catagory_menu li:hover .Cat_menu { visibility: visible; opacity: 1; }
ul.Cat_menu li a i { position: absolute; top: 15px; right: 5px; color: var(--text-mid); }
.Cat_list { display: block !important; }
ul.Cat_menu li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border) !important;
    width: 100%;
    transition: 0.2s all;
    position: relative;
}
ul.Cat_menu li:hover { background: var(--light-bg); }
ul.Cat_menu li a span { color: var(--text-dark); font-weight: 600; }

.child_menu {
    position: absolute;
    left: 100%;
    background: white;
    width: 230px;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
    top: 0;
    border-left: 3px solid var(--accent);
    transition: 0.2s all;
    box-shadow: var(--shadow-md);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.cat_list_hover:hover .child_menu { overflow: visible; visibility: visible; opacity: 1; z-index: 1; }

ul.child_menu li {
    background: none;
    width: 100%;
    border-bottom: 0 !important;
    padding: 7px 0;
    border-bottom: 1px solid var(--border) !important;
}
li.child_main { width: 33.33%; }
ul.child_menu li a { background: none; color: var(--accent); }
.child_main > a { font-size: 14px; color: #444 !important; text-transform: capitalize !important; position: relative; height: 100%; }
li.child_main > a { font-size: 14px; font-weight: 500; color: var(--text-dark) !important; text-transform: uppercase; font-weight: 600; padding-bottom: 6px; }

/* Mobile Menu */
.mobile-menu { display: none; }
.mobile-header { display: none; }
.mobile-show { display: none !important; }
.mobile-search input { width: 86% !important; text-align: center; }
.mobile-search button { width: 13% !important; }

/* ===================== SLIDER ===================== */
section.slider-section { margin-bottom: 10px; margin-top: 10px; }
.home-slider-container { padding: 0; }
.slider-item { width: 100%; height: 400px; }
.slider-item img { width: 100%; }
.main_slider .owl-prev {
    width: 41px; height: 40px; z-index: 9999; position: absolute;
    left: -4px; top: 50%; cursor: pointer !important;
    z-index: 99999999; transform: translateY(-50%);
}
.main_slider .owl-next {
    width: 41px; height: 40px; z-index: 9999; position: absolute;
    right: -4px; top: 50%; cursor: pointer !important;
    transform: translateY(-50%);
}
.main_slider .owl-next i:hover, .main_slider .owl-prev i:hover { color: var(--accent); }

/* ===================== HOME PRODUCTS ===================== */
.homeproduct {
    padding: 12px 0;
    background: #fff;
    margin-bottom: 10px;
}

.sec_title { margin-bottom: 10px; }
.section-title-header {
    border-bottom: 2px solid var(--light-bg);
    padding-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-title-header .section-title-name {
    font-size: 18px;
    font-weight: 700;
    font-family: "Lato", sans-serif;
    padding-bottom: 6px;
    position: relative;
    bottom: -2px;
    text-transform: capitalize;
    color: var(--text-dark);
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

/* ===================== PRODUCT CARDS ===================== */
.main_product_inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 12px;
    overflow: hidden;
}
.category-product {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.product_sliders {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 12px;
}

.product_item {
    margin-bottom: 0;
    position: relative;
    border: 1px solid var(--border);
    transition: 0.25s all;
    background: #fff;
    padding: 6px;
    border-radius: var(--radius);
}
.product_item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(231,76,60,0.12);
    transform: translateY(-2px);
}

.product_item_inner { border-bottom: 0; transition: 0.25s all; }
.product_item_inner .sale-badge { position: absolute; top: 10px; right: 6px; z-index: 1; }
.product_item_inner .sale-badge-inner { --sale-badge-width: 42px; width: var(--sale-badge-width); height: var(--sale-badge-width); }
.product_item_inner .sale-badge-box {
    background-color: var(--accent);
    border-radius: 50%;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.product_item_inner span.sale-badge-text { color: #fff; font-size: 9px; font-weight: 700; font-family: "Lato", sans-serif; }
span.sale-badge-text p { font-size: 10px; color: #fff; line-height: 11px; }

.wist_item { position: relative; }

.pro_img { height: 200px; position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.pro_img > a { display: block; height: 100%; }
.pro_img img { height: 100%; width: 100%; object-fit: contain; transition: 0.35s all; }
.product_item_inner:hover .pro_img img { transform: scale(1.06); }

.pro_name {
    height: 50px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    display: block;
    margin-top: 6px;
    padding: 0 5px;
}
.pro_name a { color: var(--text-dark); font-size: 14px; text-transform: capitalize; }
.pro_name a:hover { color: var(--accent); text-decoration: none; }

.pro_des { text-align: center; }
.pro_price { margin-bottom: 5px; }
.pro_price p { color: var(--accent); font-weight: 600; margin-top: 5px; text-align: center; font-size: 15px; }
.pro_price del { color: #aaa; margin-right: 4px; font-size: 12px; font-weight: 400; }

.pro_btn { display: grid; grid-template-columns: 1fr; grid-gap: 4px; }
.pro_btn form { text-align: center; }
.pro_btn button {
    background: var(--primary);
    color: #fff;
    width: 100%;
    padding: 7px 0;
    font-size: 14px;
    display: block;
    transition: all 0.25s ease;
    border-radius: var(--radius);
    font-weight: 600;
    letter-spacing: 0.3px;
}
.pro_btn button:hover { background: var(--accent); }

.cart_btn a {
    background: var(--primary);
    width: 100%;
    display: block;
    height: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 7px 0;
    border-radius: var(--radius);
    font-weight: 600;
}
.cart_btn a:hover { background: var(--accent); }
.cart_btn.order_button a { background: var(--primary); color: #fff; width: 100%; padding: 7px 0; font-size: 14px; display: block; width: 100%; transition: all .25s ease; border-radius: var(--radius); }
.cart_btn.order_button a:hover { background: var(--accent); }

.discount { position: absolute; top: 5px; background: var(--accent); padding: 2px 7px; border-radius: 20px; right: 6px; }
.discount p { color: #fff; font-size: 11px; }

/* Quick View */
.quick_view_hard {
    position: absolute;
    opacity: 0;
    z-index: 0;
    visibility: hidden;
    transition: 0.3s all;
    top: 0;
    right: 5px;
}
.wist_item:hover .quick_view_hard { opacity: 1; overflow: visible; z-index: 1; visibility: visible; }
.quick_view_hard a {
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 18px;
    height: 36px;
    width: 36px;
    z-index: 1;
    transition: 0.25s all;
    color: #999;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}
.quick_view_hard a:hover { background: var(--accent); color: #fff; border: 2px solid var(--accent); }

/* View More Button */
a.view_more_btn {
    text-align: right;
    float: right;
    background: var(--primary);
    text-transform: capitalize;
    font-size: 14px;
    padding: 10px 20px;
    color: #fff;
    font-family: "Lato", sans-serif;
    border-radius: var(--radius);
    transition: 0.2s all;
    display: inline-block;
}
a.view_more_btn:hover { background: var(--accent); }

.show_more_btn { text-align: center; margin-bottom: 12px; }
.show_more_btn a.view_more_btn { float: inherit; }

/* ===================== STOCK OUT ===================== */
.stock-out-overlay {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    background-color: rgba(26,26,46,0.85);
    color: #fff;
    font-size: 0.9em;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    letter-spacing: 1px;
}

/* ===================== SECTION TITLE ===================== */
.sec_title h2 {
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
}

.timer_inner { display: flex; justify-content: space-between; align-items: center; }
.timer_inner .syotimer__body { display: flex; grid-gap: 5px; }
.timer_inner .syotimer-cell {
    width: 38px;
    text-align: center;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    padding: 10px;
    font-weight: 700;
}
.syotimer-cell__unit { display: none; }

/* ===================== CATEGORY PAGE ===================== */
.page_title p { color: var(--text-dark); font-weight: 600; font-size: 18px; }
.page_title { margin-bottom: 25px; }
.sorting-section { margin-bottom: 20px; }
.showing-data { height: 100%; display: flex; justify-content: flex-end; align-items: center; }
.showing-data span { font-size: 16px; display: block; text-align: right; }
.category-breadcrumb { column-gap: 8px; }
.category-breadcrumb a { font-size: 15px; color: var(--text-light); font-weight: 400; }
.category-breadcrumb strong { font-size: 15px; }
form.sort-form .form-select, form.sort-form .form-select:focus { border: 1px solid var(--border); border-radius: var(--radius); }

.subcategory-filter-label {
    display: flex;
    column-gap: 10px;
    padding: 5px 16px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.subcategory-filter-label:hover { background-color: #fff3f3; color: var(--accent); }
.subcategory-filter-label input {
    position: relative;
    border: 2px solid var(--accent);
    border-radius: 2px;
    background: none;
    cursor: pointer;
    height: 18px;
    width: 18px;
    -webkit-appearance: none;
    opacity: .5;
    margin-top: 3px;
}
.subcategory-filter-label input[type=checkbox]:checked { background-color: var(--accent); opacity: 1; }
.subcategory-filter-label input[type=checkbox]:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 50%;
    width: 5px;
    height: 10px;
    border: solid #FFF;
    border-width: 0 2px 2px 0;
    margin: -1px -2px 0 0;
    transform: rotate(45deg) translate(-50%, -50%);
    z-index: 2;
}

/* Sidebar */
.sidebar_item { margin-bottom: 16px; }
.sidebar_item h2.accordion-header button.accordion-button {
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0;
    padding: 10px 20px;
}
.sidebar_item .accordion-header .accordion-button::after { content: '\f078'; font-family: 'FontAwesome'; background: none; font-size: 16px; }
.accordion-item:last-of-type .accordion-button.collapsed { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.accordion-item:last-of-type .accordion-collapse { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
.accordion-item .accordion-collapse { border-radius: 0; }
.accordion-item { border-radius: 0; }
.cust_according_body { padding: 10px 0; }
.cust_according_body ul li { display: block; }
.cust_according_body ul li a { display: block; padding: 5px 16px; font-size: 14px; font-weight: 600; color: #444; }
.cust_according_body ul li:hover a { background-color: #fff3f3; color: var(--accent); }

/* Filter */
.filter_btn, .filter_close { display: none; }

/* ===================== PRODUCT DETAILS ===================== */
.product-section {
    padding: 25px 0;
    background: #fff;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: var(--radius-lg);
}

.product-cart .name { font-size: 22px; font-weight: 700; text-transform: capitalize; color: var(--text-dark); }

.details-price { font-size: 26px; font-weight: 700; color: var(--accent); margin: 10px 0; }
.details-price del { color: #bbb; margin: 5px 0; font-size: 18px; font-weight: 400; }

.product-code p {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 0 10px;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    line-height: 0;
    margin-bottom: 10px;
}

.qty-cart { width: auto; display: flex; align-items: center; column-gap: 20px; }
.qty-cart .quantity {
    position: relative;
    border: 1.5px solid var(--primary);
    height: 42px;
    overflow: hidden;
    width: 130px;
    margin-top: 10px;
    border-radius: var(--radius);
}
.quantity input { position: relative; text-align: center; font-size: 16px; height: 100%; width: 100%; pointer-events: none; font-weight: 600; }
.quantity .minus { position: absolute; left: 0; bottom: 0; z-index: 1; height: 42px; line-height: 42px; width: 40px; border-right: 1.5px solid var(--primary); text-align: center; font-size: 40px; cursor: pointer; }
.quantity .plus { position: absolute; right: 0; bottom: 0; z-index: 1; height: 42px; line-height: 42px; width: 40px; border-left: 1.5px solid var(--primary); text-align: center; font-size: 26px; cursor: pointer; }

.order_now_btn {
    font-size: 16px;
    color: #fff;
    background-color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    width: 50%;
    margin-left: 5px;
    font-family: "Potro Sans Bangla";
    height: 45px;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    transition: 0.25s all;
}
.order_now_btn:hover, .order_now_btn:active { color: #fff !important; background-color: var(--accent-hover) !important; border-color: var(--accent-hover) !important; }

.add_cart_btn {
    color: #fff;
    background-color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    width: 50%;
    height: 45px;
    margin-top: 10px;
    font-weight: 600;
    transition: 0.25s all;
}
.add_cart_btn:hover, .add_cart_btn:active { color: #fff !important; background-color: var(--accent) !important; border-color: var(--accent) !important; }

.call_now_btn { height: 45px; display: flex; justify-content: center; align-items: center; }
.call_now_btn i { margin-right: 10px; }

.details_slider { position: relative; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.indicator_thumb { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 5px; margin: 10px 0; }
.indicator-item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: 0.2s; }
.indicator-item:hover { border-color: var(--accent); }
.indicator-item img { height: 80px !important; width: 100%; object-fit: contain; }
.dimage_item img { height: 500px !important; object-fit: contain; }

/* Color/Size Selector */
.selector {
    position: relative;
    width: 100%;
    background-color: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
}
.size-container { margin-bottom: 12px; }
.selector-item { position: relative; height: 100%; display: flex; justify-content: center; align-items: center; }
.selector-item_radio { appearance: none; display: none; }
.color_inner .selector .selector-item label { width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: 2px solid var(--border); transition: 0.2s all; }
.color_inner .selector .selector-item label:hover { border-color: var(--accent); transform: scale(1.1); }
.color_inner .selector-item input[type="radio"]:checked + label { border: 3px solid var(--primary); box-shadow: 0 0 0 2px var(--accent); transform: scale(1.1); }
.selector-item label { border: 1px solid var(--border); }
.selector-item_label {
    position: relative;
    height: 100%;
    width: 100%;
    text-align: center;
    border-radius: var(--radius);
    line-height: 30px;
    font-weight: 600;
    transition-duration: .3s;
    transition-property: transform, color, box-shadow;
    transform: none;
    margin: 0;
    padding: 0 10px;
    color: var(--text-dark);
    font-size: 13px;
}
.selector-item_radio:checked + .selector-item_label, .selector-item_label:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    cursor: pointer;
}

.color_inner { display: flex; margin-top: 10px; }
.color_inner p { margin-right: 10px; margin-top: 6px; font-weight: 600; }
.size_inner { display: flex; }
.size_inner p { margin-right: 10px; margin-top: 6px; font-weight: 600; }

/* Description */
.description { margin-top: 22px; background: var(--light-bg); padding: 15px; border-radius: var(--radius); }
.description h2 { font-size: 17px; color: var(--text-dark); border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 15px; font-weight: 700; }
.description ul li { display: block; display: list-item; list-style-position: inside; list-style-type: square; font-size: 15px; line-height: 30px; }
.tab-content { padding: 25px 15px; margin-top: 20px; background-color: #fff; border-radius: var(--radius); margin-left: 12px; }

/* Related Products */
section.related-product-section { background: #fff; margin-top: 15px; padding-top: 10px; margin-bottom: 10px; border-radius: var(--radius-lg); }
section.related-product-section .related-title { margin-bottom: 15px; }
section.related-product-section .related-title h5 { font-weight: 700; font-size: 18px; border-left: 4px solid var(--accent); padding-left: 10px; }

/* Reviews */
.review-card { background: var(--light-bg); padding: 15px; border-radius: var(--radius); position: relative; margin: 10px 0; border: 1px solid var(--border); }
.review_star { color: #f39c12; margin-bottom: 7px; }
button.details-review-button { min-width: 126px; background: var(--primary); margin-top: 10px; padding: 8px; color: #fff; font-size: 14px; text-align: center; border-radius: var(--radius); transition: 0.2s; }
button.details-review-button:hover { background: var(--accent); }

/* Pro Details */
.pro_vide { border: 1px solid var(--border); padding: 15px; margin-top: 25px; position: sticky; top: 140px; border-radius: var(--radius); }
.pro_vide h2 { font-size: 17px; margin-bottom: 15px; font-weight: 700; }
.pro_brand { margin-bottom: 7px; margin-top: 2px; }
.pro_brand p { font-weight: 600; }
.pro_unig label { font-weight: 600; margin-bottom: 10px; }
.hightlight_cont ul li { display: block; line-height: 28px; }
.hightlight_cont ul li i { margin-right: 5px; color: var(--accent); }
.hightlight_cont p { font-weight: 600; text-align: center; }
.hightlight_cont p i { margin-right: 5px; }
.details-ratting-wrapper { margin-bottom: 10px; }
.details-ratting-wrapper i { color: #f39c12; }
.details-ratting-wrapper i.far.fa-star { color: #ddd; }

/* Features Box */
.features { border: 1px solid var(--border); border-top: 3px solid var(--primary); padding: 10px 10px 20px 10px; border-radius: 0 0 var(--radius) var(--radius); }
.features .icon { width: 35px; font-size: 22px; height: 45px; }
.features .text { font-size: 14px; }

/* ===================== CART / CHECKOUT ===================== */
.chheckout-section { padding: 35px 0; }
.checkout-shipping .card-header { background: var(--light-bg); padding: 15px; border-radius: var(--radius) var(--radius) 0 0; }
.checkout-shipping h5, .cart_details h5 { font-size: 16px; text-transform: uppercase; font-weight: 700; color: var(--text-dark); }
.cartlist img { height: 30px; width: 30px; }
.cartlist span { height: 20px; width: 20px; border-radius: 50px; }
.cartlist .text-left { text-align: left; }
.checkout-shipping label { margin-bottom: 5px; font-size: 16px; font-family: Potro Sans Bangla; font-weight: 600; }
.checkout-shipping input, .checkout-shipping input:focus, .checkout-shipping select, .checkout-shipping select:focus { border: 1px solid var(--border); height: 40px; border-radius: var(--radius); }
.select2-container--default .select2-selection--single { border: 1px solid var(--border) !important; border-radius: var(--radius) !important; height: 40px !important; }
#select2-district-container { line-height: 40px; }
.select2-results li { display: block; }
.checkout-shipping .form-check-input { height: 14px !important; }
.order_place { background: var(--accent); display: block; width: 100%; border-radius: var(--radius); padding: 12px 0; color: #fff; text-transform: uppercase; font-weight: 700; font-size: 16px; margin-top: 15px; transition: 0.25s all; letter-spacing: 0.5px; }
.order_place:hover { background: var(--accent-hover); }
.cart-summary { background: var(--light-bg); padding: 15px; border-radius: var(--radius); border: 1px solid var(--border); }
.cart-summary h5 { text-transform: uppercase; font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--border); padding-bottom: 5px; }
.cart-summary table td { padding: 10px 0 !important; text-transform: capitalize; font-size: 15px; }
.cart-summary table td:last-child { text-align: right; }
.payment_option { display: grid; grid-template-columns: 1fr 1fr 1fr !important; }
.bkashform, .nagadform, .rocketform { display: none; background: var(--light-bg); padding: 20px; margin: 15px 0; border-radius: var(--radius); border: 1px solid var(--border); }

/* Remove Cart */
.remove-cart, .remove-cart:focus { background: var(--accent); border-radius: 50px; height: 30px; width: 30px; text-align: center; outline: 0; }
.remove-cart .feather { color: #fff; }

/* ===================== QUICK VIEW ===================== */
#page-overlay { display: none; position: fixed; height: 100%; width: 100%; background: rgba(0,0,0,0.5); left: 0; top: 0; z-index: 9999; }
#custom-modal { display: none; }
.modal-view { position: fixed; width: 1000px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; z-index: 99999; padding: 30px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.close-modal { position: absolute; right: -10px; top: -13px; background: #ddd; height: 35px; width: 35px; border-radius: 50px; font-size: 18px; }
.quick-view-inner { overflow: hidden; }
.quick-product .name { text-transform: capitalize; font-size: 24px; font-weight: 600; color: var(--text-dark); margin-bottom: 5px; }
.quick-product-img { width: 40%; float: left; }
.quick-product-content { width: 60%; float: left; padding: 0 20px; }
#custom-modal .title { font-weight: 700; font-size: 20px; color: var(--text-mid); text-align: center; margin-bottom: 15px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }

/* ===================== FOOTER ===================== */
.footer-top { padding: 50px 0; background: var(--primary); }
.footer-about { text-align: center; padding-right: 40px; }
.footer-about p { text-align: center; margin: 5px 0; color: #aab; font-size: 14px; }
.footer-about a { display: block; color: #fff; }
.footer-about a img { height: auto; width: 110px; object-fit: contain; }
.footer-hotlint { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 8px; display: block; }
.footer-menu .title { text-transform: uppercase; font-weight: 700; color: #fff; margin-bottom: 12px; font-size: 13px; letter-spacing: 0.5px; }
.footer-menu ul li { display: block; }
.footer-menu ul li a { color: #aab; margin: 6px 0 !important; display: block; font-size: 13px; transition: 0.2s; }
.footer-menu ul li a:hover { color: #fff; margin-left: 4px !important; }
.footer-bottom { background: #0d0d1a; padding: 12px 0; }
.copyright p { text-align: center; color: #667; font-size: 12px; }
.copyright p a { color: #aab; }

/* Social Icons */
ul.social_link { text-align: center; margin-top: -6px; }
ul.social_link li { display: inline-block; margin-right: 8px; font-size: 20px; }
ul.social_link li:last-child { margin-right: 0; }
.social_list .fa-facebook-f { padding: 5px 8px; color: #fff; background-color: #3b5998; border-radius: 4px; }
.social_list .fa-instagram { padding: 5px 8px; color: #fff; background-color: #e4405f; border-radius: 4px; }
.social_list .fa-whatsapp { padding: 5px 8px; color: #fff; background-color: #25d366; border-radius: 4px; }
.social_list .fa-youtube { padding: 5px 8px; color: #fff; background-color: #ff0000; border-radius: 4px; }
.social_list .fa-twitter { padding: 5px 8px; color: #fff; background-color: #1da1f2; border-radius: 4px; }
.social_list .fa-linkedin { padding: 5px 8px; color: #fff; background-color: #0077b5; border-radius: 4px; }

/* ===================== MOBILE FOOTER NAV ===================== */
.footer_nav { display: none; text-align: center; padding: 10px 0; position: fixed; bottom: 0; width: 100%; background: #fff; z-index: 99; border-top: 1px solid var(--border); }
.footer_nav ul { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; }
.footer_nav ul li a span { display: block; }
.footer_nav ul li { position: relative; }
.footer_nav ul li i { font-size: 16px; }
.item_count { position: absolute; top: -5px; right: 25px; background: var(--accent); width: 15px; height: 15px; font-size: 12px; color: #fff; line-height: 15px; border-radius: 50px; }

/* ===================== LOADING SPINNER ===================== */
#loading { position: fixed; left: 50%; top: 0; z-index: 9999; display: none; background: rgba(255,255,255,0.6); height: 100%; width: 100%; transform: translate(-50%); text-align: center; }
.custom-loader { width: 50px; height: 50px; --c: radial-gradient(farthest-side, var(--accent) 92%, #0000); background: var(--c) 50% 0, var(--c) 50% 100%, var(--c) 100% 50%, var(--c) 0 50%; background-size: 12px 12px; background-repeat: no-repeat; animation: s7 0.5s infinite; position: fixed; top: 50%; left: 50%; }
@keyframes s7 { to { transform: rotate(0.5turn); } }

/* ===================== LOGIN / AUTH ===================== */
.form-content { background: #fff; border-radius: var(--radius-lg); margin: 25px 0; border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm); }
.form-content form { padding: 0 15px; }
.auth-title { font-size: 17px; border-bottom: 1px solid var(--border); font-weight: 700; text-align: left; margin-bottom: 7px; color: var(--text-dark); text-transform: uppercase; padding: 12px 15px; background: var(--light-bg); }
.auth-section input, .auth-section input:focus { border: 1px solid var(--border); border-radius: var(--radius); }
.submit-btn { background: var(--primary) !important; display: block; width: 100%; border: 0; border-radius: var(--radius); padding: 9px 0; text-transform: uppercase; margin: 6px 0; color: #fff; font-size: 15px; font-weight: 700; transition: 0.2s; }
.submit-btn:hover { background: var(--accent) !important; }
.forget-link { margin-bottom: 12px; margin-top: 4px; color: var(--accent); text-transform: uppercase; font-weight: 500; display: block; font-size: 12px; text-align: center; }
.register-now a { border: 1px solid var(--border); width: 100%; padding: 7px 0; border-radius: var(--radius); transition: 0.25s all; display: block; text-align: center; }
.register-now a:hover { background: var(--primary); color: #fff; }
.login-dialog { position: relative; }
.login-box { position: absolute; top: 45px; width: 260px; padding: 15px; background: #fff; z-index: 9; box-shadow: var(--shadow-md); left: 50%; transform: translateX(-50%); border-radius: var(--radius-lg); visibility: hidden; opacity: 0; transition: 0.25s all; border: 1px solid var(--border); }
.login-box:after { content: " "; bottom: 100%; left: 50%; border: solid transparent; height: 0; width: 0; position: absolute; pointer-events: none; border-color: rgba(255,255,255,0); border-bottom-color: #fff; border-width: 8px; margin-left: -8px; }
.login-dialog:hover .login-box { top: 27px; visibility: visible; opacity: 1; }
.login-box .form-control { margin: 10px 0; background-color: #fff !important; height: 40px; border: 1px solid var(--border); border-radius: var(--radius); }

/* ===================== PROFILE ===================== */
.customer-auth { display: grid; grid-template-columns: 60px auto; grid-gap: 10px; background: var(--light-bg); padding: 10px; border-radius: var(--radius); }
.customer-section { padding: 20px 0; }
.sidebar-menu { background: #fff; margin: 0; border-radius: var(--radius); border: 1px solid var(--border); }
.sidebar-menu ul li { display: block; position: relative; }
.sidebar-menu li a { padding: 10px 15px; display: block; font-size: 14px; line-height: 18px; position: relative; text-transform: capitalize; font-weight: 500; }
.sidebar-menu ul li:hover > a { background-color: #fff3f3; color: var(--accent); }
.sidebar-menu li a.active { color: var(--accent); }
.sidebar-menu li a i { position: absolute; right: 12px; font-size: 12px; top: 18px; }
.customer-content { background: var(--light-bg); padding: 15px; border-radius: var(--radius); }
.account-title { margin-bottom: 15px; font-size: 16px; border-bottom: 1px solid var(--border); padding-bottom: 8px; text-align: left; font-weight: 700; }
.invoice_btn, .invoice_btn:focus { background: var(--accent); color: #fff; font-size: 12px; padding: 5px 10px; border-radius: var(--radius); }
.customer-sidebar { background-color: var(--light-bg); padding: 10px; height: 100%; border-radius: var(--radius); }

/* ===================== CONTACT ===================== */
.contact-section { padding: 15px 0; background: #fff; margin-bottom: 10px; border-radius: var(--radius-lg); }
.contact-form { background: var(--light-bg); padding: 15px; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-form input, .contact-form input:focus, .contact-form textarea, .contact-form textarea:focus { border: 1px solid var(--border); border-radius: var(--radius); }
.contact-form label { margin-bottom: 5px; font-weight: 600; font-size: 14px; }

/* ===================== SCROLL TOP ===================== */
.scrolltop { position: fixed; right: 20px !important; bottom: 60px !important; width: 40px !important; background: var(--primary) !important; height: 40px !important; line-height: 40px !important; border-radius: 50% !important; text-align: center !important; color: #fff !important; font-size: 20px !important; cursor: pointer; z-index: 99; transition: 0.2s; box-shadow: var(--shadow-md); }
.scrolltop:hover { background: var(--accent) !important; }

/* ===================== PAGE / SUCCESS ===================== */
section.createpage-section { padding: 50px 0; background: #fff; margin-bottom: 10px; border-radius: var(--radius-lg); }
.success-img { text-align: center; }
.success-img img { width: 320px; }
.success-title h2 { color: var(--text-dark); text-align: center; font-weight: 700; font-size: 26px; margin-bottom: 45px; }
.success-table { background: var(--light-bg); padding: 15px; border-radius: var(--radius); border: 1px solid var(--border); }

/* ===================== TRACK ORDER ===================== */
.tracktable thead { background: var(--primary); color: #fff; }
td.tfoot_bg { background: var(--light-bg); text-align: right; }
.track_info ul li { display: block; line-height: 30px; }
.track_info ul li span { width: 80px; display: inline-block; text-align: right; margin-right: 12px; font-weight: 600; }

/* ===================== TOP CATEGORY ===================== */
.topcategory { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 10px; }

/* ===================== #CONTENT ===================== */
#content { width: 100%; padding-top: 145px; }

/* ===================== RATING ===================== */
.rating { unicode-bidi: bidi-override; direction: rtl; text-align: left; }
.rating > label { display: inline-block; position: relative; width: 28px; font-weight: 600; color: var(--primary); }
.rating label { font-size: 20px !important; cursor: pointer !important; }
.rating > label.active:before, .rating > label.active ~ label:before, .rating > label:hover:before, .rating > label:hover ~ label:before { content: "\2605"; position: absolute; color: var(--primary); }
.rating input { display: none; }
textarea#message-text { border: 2px solid var(--border); max-width: 450px; border-radius: var(--radius); }

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
    .mobile-header { display: block; background: var(--primary); padding: 10px 15px; position: sticky; top: 0; z-index: 9999; }
    .mobile-logo { display: flex; justify-content: space-between; align-items: center; }
    .mobile-search { padding: 8px 15px; background: #fff; border-bottom: 1px solid var(--border); }
    .mobile-search form { border: 1.5px solid var(--primary); height: 38px; background: #f8f9fc; width: 100%; border-radius: 6px; overflow: hidden; display: flex; }
    .mobile-search form input { height: 100%; padding: 0 10px; font-size: 13px; background: #f8f9fc; width: 86%; border: none; outline: none; }
    .mobile-search form button { height: 100%; background: var(--primary); width: 13%; }
    .main-header { display: none; }
    #content { padding-top: 100px; }
    .footer_nav { display: block; }
    .main_product_inner { grid-template-columns: 1fr 1fr 1fr; }
    .product_sliders { grid-template-columns: repeat(3, 1fr); }
    .mobile-menu { display: block; position: fixed; top: 0; left: -100%; width: 80%; height: 100%; background: #fff; z-index: 99999; transition: 0.3s all; overflow-y: auto; }
    .mobile-menu.active { left: 0; }
    .mobile-menu-logo { display: flex; justify-content: space-between; align-items: center; padding: 15px; background: var(--primary); }
    .mobile-menu-close { color: #fff; font-size: 20px; cursor: pointer; }
    ul.first-nav li { display: block; }
    .menu-category-name { display: flex; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--border); color: var(--text-dark); font-weight: 600; }
    .menu-category-toggle { padding: 12px; border-bottom: 1px solid var(--border); cursor: pointer; }
    .filter_btn, .filter_close { display: block; }
    .feature-products { display: none; }
    .feature-products.active { display: block; position: fixed; top: 0; left: 0; background: #fff; z-index: 99999; width: 85%; height: 100%; overflow-y: auto; padding-top: 50px; }
    .filter_close { position: absolute; top: 10px; right: 15px; }
    .topcategory { grid-template-columns: repeat(3, 1fr); }
    .modal-view { width: 95%; }
}

@media (max-width: 480px) {
    .main_product_inner { grid-template-columns: 1fr 1fr; }
    .product_sliders { grid-template-columns: repeat(2, 1fr); }
    .slider-item { height: 200px; }
}

/* ===== DETAILS PAGE FIXES ===== */

/* ছাড় badge - image এর ভিতরে রাখুন */
.details_slider {
    position: relative !important;
}
.product-details-discount-badge {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 9 !important;
    left: auto !important;
}

/* Color checkmark - default এ লুকান */
.color_inner .selector-item label img {
    display: none !important;
}

/* Selected color এ ring দেখান */
.color_inner .selector-item input[type="radio"]:checked + label {
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 3px #1a1a2e !important;
    transform: scale(1.15) !important;
}

/* White color এ visible border */
.color_inner .selector-item label {
    border: 1.5px solid #ccc !important;
}
