* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --background-color: #f8f9fa;
    --border-color: #ddd;
    --font-family: 'Poppins', sans-serif;
    --main-bg-color: #ffffff;
}

body{
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background: var(--main-bg-color) !important;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    /* position: fixed; */
    /* top: 0; */
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #eee;
    height: auto;
}

.nav {
    padding: 10px 0;
    display: block;
    z-index: 1000;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.logo h1 a {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu .nav-menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 0;
    flex-direction: row;
    z-index: 1000;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
    z-index: 1000;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: flex-end;
}
.nav-menu {
    width: 100%;
    background: white;
    padding: 5px 0rem;
    border-top: 1px solid #eee;
}
.nav-menu ul li {
    padding: 8px 25px;
    border-right: 1px solid #eee;
}
.nav-menu ul li:last-child {
    border-right: none;
}

/* Hotline Section in Navigation */

.hotline-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.hotline-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.hotline-link i {
    color: #0066cc;
    font-size: 20px;
    flex-shrink: 0;
}

.hotline-link:hover i {
    color: #fff;
}

.hotline-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.hotline-text span {
    color: #333;
    font-size: 13px;
    display: block;
}

.hotline-link:hover .hotline-text span {
    color: #fff;
}

.hotline-text strong {
    color: #333;
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.hotline-link:hover .hotline-text strong {
    color: #fff;
}

.nav-menu ul li.nav-hotline {
    border-right: none;
    padding: 8px 10px;
}
.nav-menu ul li .submenu li {
    padding: 0px;
    display: block;
}
.nav-menu ul li a:hover:after {
    width: 100%;
    left: 0;
}

/* Submenu */
.has-submenu {
    position: relative;
    z-index: 1000;
}
.submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--secondary-color);
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    gap: 5px;
    z-index: 1000;
}
.submenu-toggle:hover {
  color: var(--primary-color);
  z-index: 1000;
}
.sub.has-submenu .submenu-toggle {
    padding: 0;
    border: 0;
    z-index: 1000;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.submenu {
    display: none !important;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
    position: absolute;
    min-width: 300px;
    left: 0 !important;
    top: 43px;
    border-radius: 0;
    border: 1px solid #eee;
    z-index: 1000;
}
.has-submenu .sub.submenu {
    top: -1%;
    left: -101% !important;
    z-index: 1000;
}
.submenu li a {
    padding: 10px 15px;
    display: block;
    color: var(--secondary-color);
    transition: all ease-in-out 0.1s;
    border-bottom: 1px solid #eee;
}
.submenu li:last-child a {
    border-bottom: none;
    z-index: 1000;
}
.submenu li a:hover{
    color: var(--primary-color);
    z-index: 1000;
}
.submenu li a:hover, .submenu .submenu-toggle:hover {
    background-color: #e1e1e170;
}
.arrow {
    transition: transform 0.3s;
    font-size: 12px;
    color: #777;
}
.has-submenu.open > .submenu {
  display: block !important;
}
li.sub.has-submenu ul li{
    padding:0px;
    border: 0px;
}
li.sub.has-submenu ul li a{
    padding: 10px 15px;
    display: block;
    border-bottom:1px solid #eee;
}
.search-box {
    position: relative;

}

.search-box input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 2px solid #000;
    border-radius: 10px;
    outline: none;
    width: 90%;
    outline:  solid transparent;
}

.search-box i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 999999;
}

.user-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 26px;
}
.user-menu {
    position: relative;
}
.user-submenu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #ddd;
    z-index: 1001;
    width: 280px;
    text-align: center;
    align-items: center;
    padding: 15px;
}

.login-link {
    background: #22c55e;
    display: block; 
    padding: 8px 16px; 
    color: var(--background-color); 
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}
.login-link:hover{
    background: #4B0082; /* Darker purple */
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.25);
    color: #fff;
}
.register-link{
    display: block; 
    padding: 8px 16px; 
    color: var(--secondary-color); 
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}
.register-link:hover{
    color: var(--primary-color);
}
.join-link {
    background: var(--secondary-color);
    display: block; 
    padding: 8px 16px; 
    color: var(--background-color); 
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}
.join-link:hover{
    background: #4B0082; /* Darker purple */
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.25);
    color: #fff;
}

/* Container */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Form */
.order-tracking-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    padding: 8px 16px; 
    max-width: 480px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Input Field */
.order-number-track {
    border: 2px solid #000;
    outline: none;
    padding: 8px 16px; 
    font-size: 16px; 
    color: #333;
    transition: all 0.3s ease;
    margin: 10px 0px 0px 0px;
}

.order-number-track:focus {
    background: #fff;
    border: 1px solid #6A0DAD; /* Purple brand color */
    box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.15);
}

/* Track Button */
.order-number-track-button {
    background: #000; /* Primary Purple */
    color: #fff;
    border: none;
    outline: none;
    padding: 8px 16px; 
    border-radius: 0px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.order-number-track-button:hover {
    background: #4B0082; /* Darker purple */
    box-shadow: 0 4px 12px rgba(106, 13, 173, 0.25);
}

.order-number-track-button:active {
    transform: scale(0.96);
}
/* Hero Section */
.hero {
    width: 100%;
    height: 450px;
    position: relative;
    display: block;
    align-items: center;
    justify-content: center;
    overflow: auto;
    margin: 0;
    padding: 0;

}

.hero-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix image fit */
.hero-content img {
    max-width: 100% !important;
    max-height: 500px;
    object-fit: cover;   /* ensures image fills area without distortion */
    object-position: center; /* keeps focus centered */
    display: block;
}

/* top category starts */
.top-categories-section{
    background: #fff !important; 
    margin-top: 0 !important;
}

.top-categories-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100% !important;
    padding: 0;
    margin: 0;
}
.section-title {
    position: relative;
    text-align: center;
    margin: 20px 0;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 0;
}

.related-product-title{
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.5rem;
    line-height: 2rem;
}

.section-title::before,
.section-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.section-title::before {
    left: 0;
}

.section-title::after {
    right: 0;
}

.section-title h3 {   
    padding: 0 15px;
    color: var(--secondary-color);
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 500;
}

.top-sales-category-section {
    border-radius: 12px;
    text-align: center;
    transition: all ease-in-out 0.3s;
    overflow: hidden;
    padding: 0.5rem;
    margin: 0;
    position: relative;
}

.featured-category-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.featured-category-image {
    object-fit: cover;
    transition: all ease-in-out 0.3s;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    display: block;
}

.top-sales-category-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-sales-category-section:hover .featured-category-image {
    transform: scale(1.05);
}

/* Ensure 8 columns on desktop */
@media (min-width: 992px) {
    .row-cols-lg-8 > * {
        flex: 0 0 auto;
        width: 12.5%;
    }
    
    .top-sales-category-section {
        padding: 0.5rem;
    }
}
/* top category end */

/* Products Section */

.discount-bagde {
    background: var(--primary-color);
    color: var(--main-bg-color);
    font-size: .75rem;
    line-height: 1rem;
    padding: .25rem 0rem;
    border-radius: 9999px;
    width: 25%;
    z-index: 2;
}
.products-section {   
    margin-top: 0rem;
    margin-bottom: 1rem;
}
.price_wrapper {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: 600;
}
.old-price{
    text-decoration: line-through;
    color: #999;
}
.sale-price{
    color: var(--primary-color);
    font-weight: bold;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Category-wise layout */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.category-section {
    display: block;
}

.category-section.hidden {
    display: none;
}

.category-header {
    text-align: center;
    margin-bottom: 1rem;
}

.category-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--secondary-color);
    text-transform: capitalize;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
    line-height: 2rem;
}
.category-header .btn {
  font-size: 0.85rem;
  font-weight: 500;
}


.category-container {
    display: flex;
    flex-direction: column;
    gap: 0rem;
}
.product-card {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    width: 100%;
    border: 1px solid var(--primary-color);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.product-info {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0px;
}
.related-products .product-info {
    min-height: auto;
}
.product-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.product-title {
     display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    min-height: 68px;
    line-height: 28px;
    text-align: center;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* product detail page */

.product-details-right-container{
    border: 1px solid var(--border-color);
}
.single-product-page .product-detail-title {
    text-align: left;  
}

.product-detail-title{
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 2rem;
    padding-top: .75rem;
}
.single-product-page .product-info {
    width: 100%;  
}

.product-meta-extra{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.social-icons {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ccc;
    color: #000;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    font-size: 1.2rem;
}

.social-icon i {
    color: #000;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #b3b3b3;
    color: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.product-details-sale-price{
    color: red;
}
.whatsapp-app-button, .messenger-app-button {
    padding: 8px 12px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    font-weight: 500;
    margin-bottom: 0px !important;
   
}

.add-to-cart-btn:hover {
    background: #c0392b;
}

/* Product slider start */

/* ----------------------
   Container & Layout
----------------------- */
.zoom-container {
    position: relative;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: auto;
    z-index: 1;
    padding: 10px;
    width: 100%;
    border: 1px solid #eee;
}

.main-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ----------------------
   Zoom Viewer
----------------------- */
.zoom-result {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 20px;
    width: 400px;
    height: 400px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size: 200% 200%;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ----------------------
   Slider Container
----------------------- */
.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 10px;
    overflow: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

.slider-track::-webkit-scrollbar {
    display: none;
}

/* ----------------------
   Thumbnail Images
----------------------- */

.thumbnail:hover {
    border-color: var(--primary-color);
}

.thumbnail.active {
    border-color: var(--primary-color);
}

/* ----------------------
   Slider Buttons
----------------------- */
.slider-btn {
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    width: 40px;
    height: 35px;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.2s;
    display: inline-block;
}

.slider-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #fff;
}

.slider-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
    background: #f9f9f9;
}

/* product detail page */

/* Product slider End */
/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 1001;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.cart-items {
    flex: 1;
    overflow-y: auto; 
}

.cart-item img
{
    border: none !important;

}
.card-items-header{
    border-bottom: 2px dashed #cccccc;
    font-size: 12px;
}
 
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.3s ease-out;
}
.cart-item:first-child {
    padding-top: 0px;
}
.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 500;
    margin-bottom: 0px;
    font-size: 16px;
    line-height: 26px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: bold;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 3px;
}

.quantity-btn:hover {
    background: #f0f0f0;
}

.quantity {
    padding: 0.2rem 0.5rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 50px;
    height: 30px;
    text-align: center;
}

.remove-item {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.3rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    width: 126px;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
}
.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.checkout-btn:hover {
    background: #219a52;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 0px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1003;
}

.modal-body {
    padding: 2rem;
}

.modal-product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #766f6f;
}
.contact-buttons{
    margin-top: 20px;
    display: flex; 
    gap: 10px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}
.contact-buttons a{
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
}

.contact-buttons i{
    font-size: 1.5rem;
}
/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--background-color);
}
.powerd_by_text {
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease-in-out;
    color: #fff;
}
.powerd_by_text:hover{
    color: #ffc107;
}
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0px;
    
}
.footer-content h3, p a{
    color: var(--main-bg-color) !important;   
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 16px;
    color: var(--main-bg-color);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--main-bg-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--border-color);
}

.footer-bottom {
    text-align: center;
    padding: 15px 0px;
    background: var(--primary-color);
    color: #fff;
    margin: 0;
}
.footer-bottom p{
    margin: 0;
}
.product-button-price {
    color: white;
}

/* For the product details page */
.product-details-section {
    padding: 20px 0px 30px;
    background: var(--main-bg-color);
}
.breadcrumb {
    margin-bottom: 0px;
    color: #000;
    align-items: center;
    padding: 1rem 0px;
}
.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: .875rem;
}
.breadcrumb span {
    font-size: .875rem;
    font-weight: 600;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

.page-tabs {
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: space-around;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
.page-tabs .tab {
  position: relative;
  padding-bottom: 5px;
  cursor: pointer;
}

.page-tabs .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: black;
}
/* 
.instruction {
    text-align: center;
    margin: 10px 0px;
}
.instruction span{
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
}
.instruction-text {
    position: relative;
    display: inline-block;
    text-align: center;
    border-bottom: 5px dashed var(--primary-color);
    padding-bottom: 8px;
    font-size: 18px;
    margin-bottom: 20px;
} */



.instruction {
  text-align: center; /* চাইলে text center রাখো */
  position: relative;
  padding: 20px;
}

.instruction span{
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color:#000
}

.instruction-text {
  position: relative;
  display: inline-block; 
}

.instruction-text::after {
  content: "";
  position: absolute;
  bottom: -5px; /* টেক্সটের নিচ থেকে কতটা gap থাকবে */
  left: -70px;  /* টেক্সটের বাম দিকের বাইরে বাড়তি */
  right: -70px; /* টেক্সটের ডান দিকের বাইরে বাড়তি */
  border-bottom: 4px dashed #555; /* dashed border style */
}

.product-details-container {
    background: white;  
    /* padding: 30px; */

}

.product-gallery {
    flex: 1;
    max-width: 600px;
}
.main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #ffffff;
    border: 0;
}
.thumbnail-container {
    display: flex;
    gap: 10px;
}
.thumbnail {
    border: 1px solid #ddd;
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 0px;
    border-radius: 0px;
    cursor: pointer;
}
.thumbnail:hover {
    border-color: var(--primary-color);
}

/* Use more specific selectors to avoid index page conflicts */
.product-details-section .product-title {
    font-size: 35px;
    margin-bottom: 10px;
    color: var(--secondary-color);
    line-height: 40px;
    min-height: auto;
}
.product-title{
    text-align: center;
    padding: 20px;
}
.product-details-section .product-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0px 20px;
}
.product-details-section .product-info {
    padding: 0px 0px 0px;
    justify-content: flex-start;
}
.product-meta {
    margin-bottom: 2rem;
}
.meta-item {
    display: flex;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}
.meta-label {
    font-weight: bold;
    min-width: 42px;
    color: var(--primary-color);
}

.meta-value {
    color: var(--secondary-color);
    margin-left: 10px;
}
.product-details-section .product-description {
    margin-bottom: 2rem;
    line-height: 1.7;
    color: #555;
}
.quantity-control {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}
.quantity-label {
    margin-right: 1rem;
    font-weight: bold;
}
.quantity-input {
    width: 70px;
    height: 30px;
    padding: 0.5rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}
.action-buttons {
    display: flex;
    gap: 15px;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
.product-details-section .add-to-cart-btn, .product-details-section .buy-now-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 50%;
    text-decoration: none;
    background: var(--primary-color) !important;
}
.product-details-section .add-to-cart-btn {
    background: var(--primary-color);
    color: white;
}
.product-details-section .add-to-cart-btn:hover {
    background: #c0392b;
}
.product-details-section .buy-now-btn {
    background: var(--secondary-color);
    color: white;
}
.product-details-section .buy-now-btn:hover {
    background: #111;
}

/* Product Tabs */
.product-tabs {
    margin-top: 50px;
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.tabs-header {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}
.tab-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.tab-btn.active {
    border-bottom-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: bold;
}
.tab-content {
    display: none;
    padding: 1rem 0;
    line-height: 1.7;
    color: #555;
}
.tab-content.active {
    display: block;
}

/* Related Products */
.related-products {
    margin: 60px 0px;
}
.related-products .section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    letter-spacing: .1rem;
    font-weight: 800;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.related-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.related-info {
    padding: 1.5rem;
}
.related-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}
.related-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .product-details-container {
        flex-direction: column;
    }
    .product-gallery {
        max-width: 100%;
    }
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .main-image {
        height: 400px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .action-buttons {
        flex-direction: column;
    }
    .product-details-section .add-to-cart-btn,
    .product-details-section .buy-now-btn {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .main-image {
        height: 300px;
    }
    .product-details-section .product-title {
        font-size: 1.3rem;
    }
    .product-details-section .product-price {
        font-size: 1.5rem;
    }
    .related-grid {
        grid-template-columns: 1fr;
    }
    .tabs-header {
        flex-wrap: wrap;
    }
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}
/* End of Product Details Page Styles */

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu .nav-menu-wrapper{
        display: block !important;
    }
    .nav-hotline{
        display: none !important;
    }
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu ul {
        gap: 1rem;
    }
    .hero-content h2 {
        font-size: 2rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .category-filter {
        flex-wrap: wrap;
    }

    .category-header h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-menu .nav-menu-wrapper{
        display: block !important;
    }
    .nav-hotline{
        display: none !important;
    }
    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
    .category-header h3 {
        font-size: 1.3rem;
    }
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInNotification {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutNotification {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Site Content */
/* Product Details */
.attribute-group {
    margin-bottom: 8px;
    margin-left:-10px;
}
.attribute-item {
    display: inline-block;
    background: var(--background-color);
    border: 1px solid var(--primary-color);
    padding: 3px 10px;
    margin: 2px 4px 2px 0;
    font-size: 0.95em;
    color: var(--secondary-color);
    transition: box-shadow 0.2s;
    width: 60px;
}
.attribute-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
    cursor: pointer;
}
.attribute-item.selected {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(231,76,60,0.15);
}
/* Product */
.demo-products-grid{
    display: flex; 
    flex-wrap: wrap; 
    gap: 24px; 
    justify-content: center; 
    margin-top: 100px;
}
.demo-product-card{
    border:1px solid #eee;
    border-radius:8px; 
    padding:24px; 
    width:180px; 
    text-align:center;
}
.box-open-icon{
    font-size:48px; 
    color:#888;
}
/* Empty Product */
.empty-products-container{
    text-align: center;
    padding: 50px 20px; 
    width: 100%;
}
.empty-products-content{
    max-width: 500px; 
    margin: 0 auto;
}
.empty-icon{
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 20px;
}
/* Newsletter */
.newsletter-section {
    background: #eee;
    padding: 3rem 0;
}
.newsletter-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--secondary-color);
}
.newsletter-description {
    color: var(--secondary-color);
    margin: 0;
    font-size: 18px;
}
.newsletter-form {
    display: flex;
    gap: 8px;
    flex: 1 1 300px;
    justify-content: flex-end;
}
.newsletter_inp {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    flex: 1;
    outline: none !important;
    box-shadow: none !important;
}
.newsletter-btn {
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Checkout Page  */
#checkout {
    padding: 0px 0px;
    background: rgb(229, 231, 235) !important;
}

.billing-container, .product-container {
    background: var(--main-bg-color);
    width: 49%;
}

.product-container{
    margin-left: 15px;
}

.checkout-section{
    padding: 20px 0px;
}
.page-title {
    font-size: 2rem;
    color: var(--secondary-color);
    text-transform: capitalize;
    position: relative;
    padding-bottom: 0.5rem;
    line-height: 1rem;
    text-align: center;
    margin-top: 1rem;
}
.checkout-flex {
    margin: 15px 0px 0px;
    border-radius: 10px;
    padding: 18px;
}

.checkout-form-inner input, select, textarea {
    width: 100%;
    padding: 9px 15px !important;
    border: 1px solid #b4b4b4 !important;
    border-radius: 4px;
    font-size: 14px !important;
}

.checkout-form-inner .form-group { 
    margin-bottom: 8px !important; 
}

.checkout-form-inner .form-group label {
    display: block;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}


.checkout-form-inner .form-group input::placeholder {
    font-size: 14px !important;
}
.checkout-form-inner .form-group select::placeholder {
    font-size: 14px !important;
}
.checkout-form-inner .form-group textarea::placeholder {
    font-size: 14px !important;
}

.checkout-form-inner .form-group select::placeholder {
    font-size: 14px !important;
}

/* নিচের vendor prefixes গুলো optional কিন্তু helpful */
.checkout-form-inner .form-group input::-webkit-input-placeholder {
    font-size: 14px !important;
}

.checkout-form-inner .form-group input::-moz-placeholder {
    font-size: 14px !important;
}

.checkout-form-inner .form-group input:-ms-input-placeholder {
    font-size: 14px !important;
}

.checkout-form-inner .form-group input::-ms-input-placeholder {
    font-size: 14px !important;
}

.checkout-sub-title-2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    margin-bottom: 15px;
    margin: 10px 0px;
    border-bottom: 1px dotted #ddd; 
    margin-left: 20px;
}

.checkout-sub-title{
    font-size: 19px;
    font-weight: 600;
    line-height: 30px;
    margin: 10px 0px;
    border-bottom: 4px dashed rgb(209 213 219);
    width: 172px;
    margin-left: 20px;
    margin-bottom:5px;
}
.checkout-summary, .checkout-form {
    padding: 15px;
    border-radius: 5px;
    /* background: #f8f9fa; */
    min-height: 580px;
}
.checkout-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.checkout-item-image img{
    width:80px;height:100px;object-fit:cover;
}
.cart-list {
    font-family: "Noto Sans Bengali", Arial, sans-serif;
}
.cart-item button {
    background: none;
}
.cart-item input {
    width: 36px;
    text-align: center;
}
.cart-item img {
    border: 1px solid #ddd;
}

.cart-items {
    background: #fff;
    border-radius: 5px;
    /* padding: 15px; */
    min-height: 120px;
    max-height: 500px;
    overflow-y: auto;
}
.cart-item-title {
    font-weight: 500;
    margin-bottom: 0px;
    font-size: 16px;
    line-height: 26px;
}
.cart-total {
    font-size: 18px;
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 500;
    margin: 0;

}
.cart-total .cart-total-item-flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 3px dotted #ddd;
}
.cart-total .total {
    color: var(--primary-color);
    font-weight: 600;
}
.promo-message{
    margin-top: 8px;
    font-size: 0.9rem;
}
.promo-code {
    position: relative;
}
.promo-code input {
    line-height: 44px;
    height: 44px;
    border-radius: 5px;
    border: 1px solid #ddd;
    outline: none;
    box-shadow: none !important;
    margin: 0;
}
.promo-btn {
    position: absolute;
    top: 0;
    height: 44px;
    right: 0;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
    padding: 0px 25px;
    border-radius: 0px 5px 5px 0px;
    font-weight: 600;
    font-size: 16px;
    outline: none;
    box-shadow: none;
}
.promo-code input:focus{
    border: 1px solid var(--primary-color);
}
.empty-cart-message{
    text-align: center;
    color: #666;
    padding: 2rem;
}
.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 18px;
}
.payment-methods .payment-method-label {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.payment-methods .payment-method-label:hover {
    border-color: var(--primary-color);
}
.custom-radio-btn {
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}
.custom-radio-btn .form-check-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2; /* Place input on top */
}
.custom-radio-btn .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    background-color: #fff;
    border: 2px solid #adb5bd;
    border-radius: 50%;
    pointer-events: none;
}
.custom-radio-btn .form-check-input:checked ~ .checkmark {
    border: 5px solid var(--primary-color); /* Use your theme's primary color */
}
.payment-icon-wrapper {
    width: 30px;
    height: 30px;
}
.payment-icon-wrapper img,
.payment-icon-wrapper i {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.cursor-pointer {
    cursor: pointer;
}
.payment-method-label input:checked + .payment-method-label {
    border-color: var(--primary-color) !important;
}
.payment-method-label:hover,.payment-method-label:focus {
    border-color: var(--primary-color);
}
.order-place-btn {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-weight: 600;
    transition: all ease-in-out 0.2s;
}
.order-place-btn:hover {
    opacity: 0.8;
}
.checkout-form-inner {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
}

.separator{
    color: #5c5a5a;
}


/* showroom list page  */
.showroom-list-section{
    padding: 20px 0px;
    background: var(--main-bg-color);
}

.showroom-card{
    border:1px solid #eee;
    border-radius:8px; 
    padding:24px; 
    width:100%; 
    text-align:center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border-top: none
}
/* showroom list page  */

/* about us */
 .about-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 20px;

}

.about-heading {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
}

.about-text {
    font-size: 16px;
    color: #555;
    max-width: 100%;
    text-align: justify;
}
/* about us */

/* Mobile Footer Fixed Bar */
.mobile-footer-bar {
    display: none;
}

@media (max-width: 991px) {
    .mobile-footer-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #f5f5f5;
        border-top: 1px solid #ddd;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        padding: 8px 0;
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-footer-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
        padding: 8px 12px;
        flex: 1;
        text-decoration: none;
        color: var(--secondary-color);
        transition: color 0.3s ease;
        position: relative;
        min-width: 0;
        border: none;
        background: none;
    }
    
    /* Make div look like link */
    div.mobile-footer-item {
        text-decoration: none;
    }
    
    .mobile-footer-item:hover,
    .mobile-footer-item:active {
        color: var(--primary-color);
    }
    
    .mobile-footer-item i {
        font-size: 20px;
        display: block;
    }
    
    .mobile-footer-item svg {
        width: 20px;
        height: 20px;
        display: block;
        stroke: var(--secondary-color);
    }
    
    .mobile-footer-item svg path,
    .mobile-footer-item svg rect,
    .mobile-footer-item svg circle {
        stroke: var(--secondary-color);
    }
    
    .mobile-footer-item svg text {
        fill: var(--secondary-color);
    }
    
    .mobile-footer-item span:not(.wishlist-icon-container):not(.mobile-wishlist-badge):not(.cart-icon-container):not(.mobile-cart-badge) {
        font-size: 11px;
        text-align: center;
        line-height: 1.2;
        display: block;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        color: var(--secondary-color);
    }
    
    .cart-icon-container {
        position: relative;
        display: inline-block;
    }
    
    .mobile-cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background-color: var(--primary-color);
        color: #fff;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: bold;
        line-height: 1;
        min-width: 16px;
        padding: 2px;
    }
    
    .mobile-cart-badge:empty,
    .mobile-cart-badge[style*="display: none"] {
        display: none !important;
    }
    
    /* Add padding to body to prevent content from being hidden behind fixed footer */
    body {
        padding-bottom: 70px;
    }
}