﻿/* --- BASIC SETTINGS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}




/* [cite: 2026-02-13] - Fixed Banner Height CSS */
/* [cite: 2026-02-13] - Focus on bottom of the image */
.hero-container img {
    display: block;
    width: 100%;
    height: 500px !important; /* Aapka pasandeeda size */
    object-fit: cover;
    object-position: bottom; /* Is se image neeche se nahi kategi, upar se kategi */
}

/* Header aur Banner ke beech ka gap khatam */
.main-banner-container { margin-top: -15px !important; }

/* Sharp corners ke liye */
.slider-wrapper, .slide img { border-radius: 0 !important; }

/* Laptop aur Tablet ke liye height control */
@media (min-width: 768px) {
    .hero-container img {
        height: 500px !important; /* Laptop par ab height fix rahegi */
    }
}

/* --- Banner Specific Styling (Products se alag) --- */

/* Sirf Banner ki images ko target karne ke liye class specify ki hai */
.main-banner-container .slide img {
    transition: transform 0.5s ease;
    width: 100% !important;
    height: 500px !important; /* Desktop Height */
    object-fit: cover !important;
    display: block;
}

/* Hover effect bhi sirf banner par */
.main-banner-container .slide img:hover {
    transform: scale(1.02);
}

/* Dots Styling (Sirf Banner Slider ke liye) */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 25px; 
    border-radius: 10px;
    background-color: #ffffff;
}

/* --- Mobile Screen Adjustment --- */
@media (max-width: 768px) {
    /* Sirf Banner image ki height change hogi */
    .main-banner-container .slide img {
        height: 550px !important; 
        border-radius: 0px;
    }
    
    /* Niche wale Products (mainGrid) ko original halat mein rakha hai */
    #mainGrid img, 
    .product-slider img { /* Agar product slider ki alag class hai toh yahan add hogi */
        height: auto !important; 
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        transform: none !important; /* Product par zoom nahi chahiye */
    }

    .section-header h2 {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
}
/* Slider ko control karne ke liye main settings */
.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Ye bahar wali image ko chhupayega */
    border-radius: 0px;
}

.slides {
    display: flex; /* Is se dono images side-by-side aa jayengi */
    width: 100%;
    transition: transform 0.5s ease-in-out; /* Slide hone ka animation */
}

.slide {
    min-width: 100%; /* Har slide poori screen cover karegi */
}

/* Dots ki position set karne ke liye */
.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}




/* Touch karte waqt halka sa effect dene ke liye (Optional) */
button:active, .size-box:active {
    opacity: 0.7;
    transform: scale(0.98); /* Chota sa dabne wala effect */
}

body {
    background: #fff;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    /* [cite: 2026-01-24, 2026-01-29] 
   Mobile touch blue highlight ko khatam karne ke liye */

    * {
        -webkit-tap-highlight-color: transparent !important;
        outline: none !important;
    }
}

/* --- TOP BAR --- */
.top-bar {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
}

/* --- HEADER & NAVIGATION --- */
header {
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
    padding: 0 5%;
    align-items: center;
}

.menu-btn {
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: black !important;
    -webkit-text-fill-color: black;
    /* Standard property pehle likho, phir vendor wali */
    appearance: none; 
    -webkit-appearance: none;
}

/* [cite: 2026-02-21] - Logo Container & Image Styling */
.logo {
    text-align: center;
    padding: 10px 0;      /* Logo ke upar niche thodi jagah */
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-img {
    height: 200px;         /* Desktop par logo ki height */
    width: auto;          /* Width khud set ho jayegi */
    max-width: 80%;       /* Mobile par screen se bahar na jaye */
    object-fit: contain;  /* Image ki shape kharab nahi hogi */
}

/* Mobile ke liye settings */
/* [cite: 2026-02-21] - Mobile Logo & Header Fix */
@media (max-width: 600px) {
    /* 1. Header ki height thodi barhao taake logo ko jagah mile */
    header, .header-container { 
        height: 80px !important; /* Agar header chota hai toh isay barha do */
    }

    /* 2. Logo ka size mobile par double kar do */
    .header-img {
        height: 130px !important; /* 50px se barha kar 65px kar diya */
        max-width: 180px;        /* Width ko thoda khulla rakha */
        margin-top: 5px;         /* Alignment set karne ke liye */
    }
}
.nav-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}


.cart-icon {
    position: relative;
    cursor: pointer;
}

#badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #000;
    color: #fff;
    font-size: 9px;
    padding: 2px 5px;
    border-radius: 50%;
}

/* --- MENU DRAWER --- */
.menu-drawer {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 3000;
    transition: 0.4s;
    padding: 40px;
    box-shadow: 10px 0 30px rgba(0,0,0,0.05);
}

    .menu-drawer.open {
        left: 0;
    }

    .menu-drawer a {
        display: block;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        margin-bottom: 25px;
        letter-spacing: 2px;
        text-transform: uppercase;
        font-weight: 300;
    }

/* --- CART DRAWER DESIGN --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    z-index: 5000;
    transition: 0.4s;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

    .cart-drawer.open {
        right: 0;
    }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

    .cart-header h3 {
        font-size: 13px;
        letter-spacing: 2px;
        font-weight: 500;
        text-transform: uppercase;
    }

/* --- CART ITEM LAYOUT --- */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
}

    .cart-item img {
        width: 70px;
        height: 90px;
        object-fit: cover;
        background: #f9f9f9;
    }

.cart-item-details {
    flex: 1;
}

    .cart-item-details h5 {
        font-size: 12px;
        font-weight: 500;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    .cart-item-details .item-size {
        font-size: 11px;
        color: #888;
        margin-bottom: 4px;
    }

    .cart-item-details .item-price {
        font-size: 12px;
        font-weight: 400;
        margin-bottom: 10px;
    }

/* --- QTY SELECTOR IN CART --- */
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e2e2e2;
    width: fit-content;
}

    .qty-selector button {
        background: none;
        border: none;
        padding: 5px 12px;
        cursor: pointer;
        font-size: 14px;
    }

    .qty-selector span {
        font-size: 12px;
        padding: 0 5px;
        min-width: 20px;
        text-align: center;
    }

.remove-cross {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    color: #ccc;
    font-size: 16px;
    transition: 0.2s;
}

    .remove-cross:hover {
        color: #000;
    }

.cart-footer {
    border-top: 1px solid #f2f2f2;
    padding-top: 20px;
    margin-top: auto;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* --- PRODUCT PAGE DESIGN --- */
#productPage {
    display: none;
    padding: 20px 5%;
    max-width: 1400px;
    margin: auto;
}

.breadcrumbs {
    font-size: 11px;
    color: #888;
    margin-bottom: 30px;
}

.product-flex {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.product-media {
    flex: 1.5;
    min-width: 300px;
}

    .product-media img {
        width: 100%;
        object-fit: cover;
    }

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.new-price {
    font-size: 20px;
    font-weight: 600;
}

.discount-badge {
    background: #28a745;
    color: #fff;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.size-btn {
    border: 1px solid #ddd;
    padding: 10px 18px;
    font-size: 12px;
    cursor: pointer;
    background: #fff;
    margin-right: 10px;
}

    .size-btn.selected {
        background: #000;
        color: #fff;
        border-color: #000
    }

.add-to-cart-btn {
    width: 100%;
    background: #fff;
    color: #000;
    border: 1px solid black;
    padding: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
    border-radius: 5px;
    letter-spacing: 1px;
}


.checkout-btn-main {
    background-color: #000;
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 11px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* [cite: 2026-02-11] - Button ke upar single line (Cross) */
.size-btn.out-of-stock {
    position: relative;
    color: #a0a0a0; /* Text halka kar diya */
    background-color: #f9f9f9;
    cursor: not-allowed;
    pointer-events: none; /* Select nahi ho sakega [cite: 2026-02-11] */
    border: 1px dashed #ccc;
}

/* Ye hai wo single line jo aap ne mangi thi */
.size-btn.out-of-stock::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: #000; /* Red line */
    transform: rotate(-45deg); /* Tirchi line [cite: 2026-02-11] */
}




/* --- HERO & GRID --- */
.hero {
    background: #dfdbd8;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    padding: 50px 5%;
    max-width: 1300px;
    margin: auto;
}

.item {
    text-align: center;
    cursor: pointer;
}

    .item img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
    }

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 1500;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .product-flex {
        flex-direction: column;
    }

    .cart-drawer {
        width: 100%;
        right: -100%;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}







/* --- CHECKOUT SECTION STYLING (Only for Checkout Page) --- */


/* [cite: 2026-01-24] - FINAL CLEAN CHECKOUT (TRIBE) */

/* 1. Base Layout (Laptop & Mobile common) */
#checkoutSection .checkout-container {
    display: flex;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
}

#checkoutSection .checkout-left {
    flex: 1.2;
}

#checkoutSection .checkout-right {
    flex: 0.8;
    background: #fafafa;
    padding: 30px;
    border-radius: 4px;
    height: fit-content;
}

/* 2. Text Boxes & Titles (Professional Small Fonts) [cite: 2026-01-31] */
#checkoutSection .sec-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#checkoutSection .check-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 12px;
    background: #fff;
}

/* 3. Payment Method (Payfast & COD) - Solid Alignment [cite: 2026-01-31] */
.method-row {
    border: 1px solid #d9d9d9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.radio-label-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.payment-logos {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

    .payment-logos img {
        height: 15px;
        width: auto;
        object-fit: contain;
    }

/* 4. Complete Order Button */
.complete-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 18px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    text-transform: uppercase;
    margin-top: 20px;
}

/* 5. Mobile Specific Fixes (Everything in One Row) [cite: 2026-01-31] */
@media (max-width: 768px) {
    #checkoutSection .checkout-container {
        flex-direction: column;
        padding: 10px;
    }

    #checkoutSection .checkout-right {
        order: -1;
        width: 100%;
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Payfast Row Fix: Sab kuch ek line mein [cite: 2026-01-31] */
    .method-row {
        flex-direction: row !important; /* Forces row on mobile */
        flex-wrap: nowrap !important;
        padding: 12px 8px !important;
    }

    .radio-label-group label {
        font-size: 11px !important;
        line-height: 1.2;
    }

    .payment-logos img {
        height: 13px !important;
    }

    /* Inputs ko ek ke niche ek karna [cite: 2026-01-31] */
    .form-row {
        display: flex;
        flex-direction: column;
    }

    .check-input {
        width: 100% !important;
        font-size: 14px !important;
    }
}

/* 6. Cart Item Size Display [cite: 2026-01-23] */
.cart-item-details .item-size {
    font-size: 11px;
    color: #888;
    font-weight: 500;
}



























/* [cite: 2026-01-29] Mobile Toggle Layout */
@media (max-width: 768px) {
    #fullSummaryContent {
        display: none; /* Default band rahega */
        padding-top: 20px;
    }

    /* [cite: 2026-01-23] Item details styling */
    #checkoutItemsList .summary-item {
        display: flex !important;
        gap: 15px;
        margin-bottom: 15px;
    }
}



/* --- Base Grid Settings (Mobile & Laptop) --- */
#mainGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Mobile par 2 items */
    gap: 10px;
    padding: 10px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Bari screen (Laptop) par 4 items [cite: 2026-01-25] */
@media (min-width: 768px) {
    #mainGrid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Product Card & Image */
.item {
    text-align: center;
    position: relative;
    background: #fff;
}

    .item img {
        width: 100%;
        aspect-ratio: 3/4;
        object-fit: cover;
        border-radius: 4px;
    }

    /* Heading Style */
    .item h4 {
        font-size: 11px;
        text-transform: uppercase;
        margin: 10px 0 5px;
        font-weight: 600;
    }

/* --- Price Styling (Ye sab se zaroori hai) --- */
.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

/* Aapki di hui class: Old Price [cite: 2026-01-25] */
.old-price {
    text-decoration: line-through !important;
    color: #b0b0b0 !important; /* Light Gray */
    font-size: 11px !important;
    display: inline-block !important;
}

/* Real Price */
.current-price {
    font-size: 13px;
    font-weight: 700;
    color: #000;
}






















/* [cite: 2026-01-26] - Screenshot Style Shopping Bag */
.modern-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s ease;
}

.icon-box {
    position: relative;
    display: inline-block;
}

/* Bag Icon Style */
.icon-box i {
    font-size: 28px; /* Size screenshot jaisa */
    color: #000; /* Solid Black Outline look */
    -webkit-text-stroke: 1px white; /* Agar outline zyada sharp karni ho */
}

/* Red Round Badge (Waisa hi jaisa screenshot mein hai) */
#badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #e63946; /* Screenshot wala Red color */
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff; /* White border for pop-out effect */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Hover Effect */
.modern-cart-wrapper:hover i {
    transform: scale(1.1);
    color: #333;
}



/* Slick dots styling */
.slick-dots { bottom: 10px; }
.slick-dots li button:before { font-size: 10px; color: black; }
/* - Layout & Accordion Styling */
.size-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.size-guide-link {
    font-size: 11px;
    color: #333;
    text-decoration: underline;
    cursor: pointer;
}

.stock-text {
    font-size: 11px;
    color: #28a745;
    margin: 10px 0;
}

/* Accordion Design */
.details-accordion {
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.acc-header {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-align: left;
}

/* --- Accordion Design Fix [cite: 2026-02-17] --- */
.acc-body {
    max-height: 0;
    overflow: hidden;
    /* transition ko thora slow aur 'cubic-bezier' kia hai taake smooth khule */
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); 
    color: #666;
    font-size: 13px;
    line-height: 1.6;
}

.accordion-item.active .acc-body {
    /* [cite: 2026-02-17] - Isay 1000px kar do taake description kabhi kate nahi */
    max-height: 1000px; 
    padding-bottom: 15px;
    transition: max-height 1s ease-in-out; /* Khulne waqt zyada smooth */
}
/* Buy Now Button */
.buy-now-btn {
     width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 20px;
    border-radius: 5px;
    letter-spacing: 1px;
}



/* - Cut-off Price Styling */
.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    margin-right: 8px;
}

/* [cite: 2026-01-26] - Modal Popup Styling */
.modal {
    display: none; /* Default pe hide rahega */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 25px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

    .size-table th, .size-table td {
        border: 1px solid #eee;
        padding: 10px;
        font-size: 14px;
    }

    .size-table th {
        background-color: #f9f9f9;
    }






















/* [cite: 2026-01-27] - Responsive Grid CSS */
#relatedGrid {
    display: grid !important;
    gap: 10px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile ke liye (2 products) */
@media (max-width: 768px) {
    #relatedGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Laptop/Desktop ke liye (4 products) */
@media (min-width: 769px) {
    #relatedGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}


/* [cite: 2026-01-27] - Responsive Grid Styling */
#relatedGrid {
    display: grid;
    gap: 12px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile: Ek line mein 2 products */
@media (max-width: 767px) {
    #relatedGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Laptop/Desktop: Ek line mein 4 products */
@media (min-width: 768px) {
    #relatedGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Item Styling */
.related-item {
    text-align: left;
    cursor: pointer;
    width: 100%;
}

.related-img-box {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f5f5;
    position: relative;
}

    .related-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
    }

.related-info h4 {
    font-size: 11px;
    margin: 8px 0 3px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-prices {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .related-prices .new {
        font-weight: bold;
        font-size: 12px;
        color: #000;
    }

    .related-prices .old {
        text-decoration: line-through;
        color: #b0b0b0;
        font-size: 10px;
    }





/* [cite: 2026-01-27] - Related Products Responsive Fix */
#relatedGrid {
    display: grid !important;
    gap: 12px !important;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile: Ek line mein sirf 2 products */
@media (max-width: 767px) {
    #relatedGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Laptop: Ek line mein 4 products */
@media (min-width: 768px) {
    #relatedGrid {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Images ko barabar height dene ke liye [cite: 2026-01-27] */
.rel-img-wrap {
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    background: #f9f9f9;
}

    .rel-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }





/* [cite: 2026-01-27] - Force 2 Columns on Mobile */
@media (max-width: 767px) {
    #relatedGrid {
        grid-template-columns: 1fr 1fr !important; /* 2 barabar columns */
        gap: 15px !important;
        padding: 15px !important;
    }
}

/* Force 4 Columns on Laptop */
@media (min-width: 768px) {
    #relatedGrid {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
        gap: 20px !important;
    }
}








/* [cite: 2026-01-27] - Grid ko active rakhne ke liye */
#productGrid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr); /* Mobile par 2 */
    gap: 15px;
    padding: 10px;
}

@media (min-width: 768px) {
    #productGrid {
        grid-template-columns: repeat(4, 1fr); /* Laptop par 4 */
    }
}






/* - Updated Styles for TRIBE Footer */
.main-footer {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 60px 20px 30px;
    font-family: 'Inter', sans-serif;
}

/* [cite: 2026-01-31] - Desktop par columns ko line mein rakhne ke liye */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row; /* Ye line laptop par columns ko side-by-side rakhegi */
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* [cite: 2026-01-31] - Laptop screen par 4 columns setup */
@media (min-width: 992px) {
    .footer-col {
        flex: 1; /* Har column barabar jagah le ga */
        min-width: 200px;
        max-width: 25%; /* 4 columns ke liye */
    }
}

    .footer-col h3 {
        font-size: 13px;
        letter-spacing: 2px;
        margin-bottom: 25px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .footer-col p {
        font-size: 13px;
        color: #ccc;
        line-height: 1.6;
        margin-bottom: 20px;
    }

/* Same Email Box Design */
.newsletter-box {
    display: flex;
    border: 1px solid #333; /* Darker border for clean look */
    padding: 2px 15px;
    max-width: 260px;
    background: transparent;
}

    .newsletter-box input {
        background: transparent;
        border: none;
        color: white;
        padding: 12px 0;
        width: 100%;
        outline: none;
        font-size: 13px;
    }

    .newsletter-box button {
        background: transparent;
        border: none;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }

.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li, .social-links-list a {
        color: #ccc;
        text-decoration: none;
        margin-bottom: 12px;
        font-size: 13px;
        cursor: pointer;
        display: block;
    }

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 12px;
    color: #555;
}

/* Shutter Logic */
@media (max-width: 768px) {
    .footer-col {
        flex: 100%;
        border-bottom: 1px solid #222;
        padding-bottom: 10px;
    }

    .shutter-item h3 {
        display: flex;
        justify-content: space-between;
        cursor: pointer;
    }

    .footer-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .shutter-item.active .footer-content {
        max-height: 300px;
        margin-top: 15px;
    }

    .shutter-item h3 span {
        display: inline-block;
    }
}

@media (min-width: 769px) {
    .shutter-item h3 span {
        display: none;
    }
}

/* [cite: 2026-01-24, 2026-01-29] 
   Social Media & Copyright Final Fix */

/* 1. Social Links ko line mein laane ke liye */
.footer-col ul li {
    display: flex !important;
    align-items: center;
    margin-bottom: 12px;
}

    .footer-col ul li a {
        display: flex !important;
        align-items: center;
        color: #ccc !important;
        text-decoration: none !important;
    }

        /* 2. White Icons ki setting */
        .footer-col ul li a i {
            color: #ffffff !important; /* Pure white logo */
            margin-right: 10px;
            font-size: 16px;
            width: 20px;
            text-align: center;
        }

/* 3. Copyright ko zabardasti neeche center mein lane ke liye */
.footer-bottom {
    clear: both !important; /* Barabar wali cheezon ko hata dega */
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 40px !important;
}


/* [cite: 2026-01-24] Global container for payment */
.payment-methods-container {
    border: 1px solid #d9d9d9;
    border-radius: 6px; /* Chota border radius as per screenshot */
    background: #fff;
    overflow: hidden;
    margin-top: 15px;
}
/* [cite: 2026-01-30] Black border for the selected box only */
.payment-method-box.active {
    border: 1.5px solid #000 !important;
    position: relative;
    z-index: 5;
    margin: -0.5px;
    
    /* --- YE DO LINES ADD KARO --- */
    border-radius: 6px; 
    overflow: hidden; 
}

    /* [cite: 2026-01-30] Black border for the selected box only */
    .payment-method-box.active {
        border: 1.5px solid #000 !important;
        position: relative;
        z-index: 5;
        margin: -0.5px;
    }

/* [cite: 2026-01-30] Radio Button Design (Exact Screenshot) */
.radio-wrapper {
    position: relative;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
}

    .radio-wrapper input {
        position: absolute;
        opacity: 0;
        z-index: 2;
    }

.radio-checkmark {
    height: 18px;
    width: 18px;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    border-radius: 50%;
    display: inline-block;
}

/* Checked State: Black background with white center dot */
.radio-wrapper input:checked ~ .radio-checkmark {
    background-color: #000;
    border-color: #000;
}

/* [cite: 2026-01-24] - Sirf ye hissa update karein purane code mein */
.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    /* In 3 lines se nukta bilkul beech mein aye ga */
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 5px !important;
    height: 5px !important;
    border-radius: 50%;
    background: white;
}

.radio-wrapper input:checked ~ .radio-checkmark:after {
    display: block;
}

/* [cite: 2026-01-30] Small Font Sizes for cleaner look */
.radio-label label {
    font-size: 13px; /* Screenshot jaisa chota font */
    font-weight: 400;
    color: #333;
    cursor: pointer;
}

.method-header {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.p-icon {
    border: 1px solid #f0f0f0;
    padding: 2px 4px;
    border-radius: 3px;
    background: #fff;
    margin-left: 4px;
    display: inline-flex;
}

/* [cite: 2026-01-30] Grey expanded detail box */
.method-detail {
    padding: 18px;
    background: #f9f9f9;
    border-top: 1px solid #e6e6e6;
    text-align: center;
    font-size: 13px;
    color: #555;
    line-height: 1.4;
}


/* [cite: 2026-01-30] Chota subtitle font */
.payment-subtitle-small {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.payment-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

/* Detail box fix [cite: 2026-01-30] */
.method-detail {
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

























@media (max-width: 991px) {
    .tribe-mobile-summary {
        border-top: 1px solid #e1e1e1;
        margin-top: 20px;
        font-family: -apple-system, sans-serif;
    }

    .tribe-toggle-bar {
        display: flex;
        justify-content: space-between;
        padding: 15px 0;
        cursor: pointer;
    }

    .label {
        font-size: 16px;
        font-weight: 500;
        color: #333;
    }

    .pkr-tag {
        font-size: 10px;
        color: #707070;
        margin-right: 5px;
    }

    .item-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
    }

    .img-wrap {
        position: relative;
        width: 60px;
        height: 60px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

        .img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

    .badge-qty {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #000;
        color: #fff;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        text-align: center;
        font-size: 11px;
        line-height: 20px;
        font-weight: bold;
    }

    .t-row {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 14px;
        color: #535353;
    }

    .total-final {
        border-top: 1px solid #e1e1e1;
        margin-top: 15px;
        padding-top: 15px;
        color: #000;
    }

    .big-txt {
        font-size: 20px;
        font-weight: 600;
    }

    .big-price {
        font-size: 20px;
        font-weight: 600;
    }

    .t-savings {
        color: #535353;
        font-size: 13px;
        font-weight: 500;
        margin-top: 5px;
    }
}





/* [cite: 2026-01-24] - Specific Font & Mobile Width Fix (TRIBE) */

/* 1. Laptop aur Mobile dono ke liye Font chota karne ke liye */
#checkoutSection .sec-title {
    font-size: 13px !important;
    letter-spacing: 1px;
}


#checkoutSection .check-input {
    font-size: 12px !important;
    padding: 10px !important;
}

#checkoutItemsList .summary-item h5 {
    font-size: 11px !important;
}

#checkoutSection .total-line {
    font-size: 11px !important;
}

/* 2. Mobile screen par side space (left/right) khatam karne ke liye */
@media (max-width: 768px) {
    #checkoutSection {
        padding: 0 !important;
    }
        /* Pure section se space khatam */

        #checkoutSection .checkout-left,
        #checkoutSection .checkout-right {
            padding-left: 15px !important; /* Halka sa gap taake text chipke nahi */
            padding-right: 15px !important;
            width: 100% !important;
            box-sizing: border-box; /* Width ko control mein rakhne ke liye */
        }

        /* Input boxes ko line-wise stack karna */
        #checkoutSection .check-input {
            display: block !important;
            width: 100% !important;
        }
}





/* [cite: 2026-02-01] - Payment Radio Alignment Fix (No Design Change) */

/* 1. Radio aur Text ko aik line (row) mein laane ke liye */
#checkoutSection .radio-label {
    display: flex !important;
    flex-direction: row !important; /* Forces horizontal line */
    align-items: center !important; /* Vertically center the dot with text */
    gap: 12px !important; /* Space between dot and text */
}

/* 2. Radio Button ka nukta center karne ke liye [cite: 2026-01-24] */
#checkoutSection .radio-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
}

/* 3. Nukta (Inner Dot) ki perfect positioning [cite: 2026-02-01] */
.radio-checkmark:after {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important; /* Absolute center alignment */
    width: 8px !important;
    height: 8px !important;
}

/* 4. Payment Box ki height halki si barhane ke liye [cite: 2026-02-01] */
.payment-method-box .method-header {
    padding: 18px 16px !important; /* Pehle se thora behtar look */
}










/* [cite: 2026-02-01] - Payment Logos Row Fix */

/* 1. Header ko force karna ke sab kuch aik hi line mein rahe */
#checkoutSection .method-header {
    display: flex !important;
    flex-direction: row !important; /* Ek line mein rakhne ke liye */
    flex-wrap: nowrap !important; /* Kisi bhi cheez ko neeche girne se rokne ke liye */
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 5px !important;
}

/* 2. Logos wale container ko aik line mein lock karna */
#checkoutSection .payment-icons,
#checkoutSection .payment-logos {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important; /* Logos ko ek doosre ke niche jane se rokega */
    align-items: center !important;
    gap: 4px !important; /* Logos ke darmiyan halka sa gap */
    flex-shrink: 0 !important; /* Logos ko dabne ya chota hone se rokega */
}

/* 3. Mobile par agar text lamba ho to usay adjust karna */
@media (max-width: 768px) {
    #checkoutSection .radio-label label {
        font-size: 10px !important; /* Choti screen par text thora chota taake logos ki jagah bane */
        max-width: 160px; /* Text ko limit dena taake logos right par rahein */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #checkoutSection .payment-icons img {
        height: 12px !important; /* Mobile par logos ka size halka sa kam */
    }
}








/* [cite: 2026-02-02] - Master Layout Fix */

/* LAPTOP FIX: Sab kuch apni asli jagah wapas lane ke liye */
@media (min-width: 992px) {
    /* Mobile wali extra bar ko display se bilkul nikal do */
    .tribe-mobile-summary {
        display: none !important;
        height: 0;
        overflow: hidden;
    }

    /* Checkout container ko wapas flex karo taake Right side pe summary aaye */
    .checkout-container {
        display: flex !important;
        align-items: flex-start;
        gap: 40px;
    }

    /* Complete Order button ko hamesha dikhao */
    .complete-btn {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* MOBILE FIX: Summary top par aur savings price ke niche */
@media (max-width: 991px) {
    .tribe-mobile-summary {
        display: block;
        margin-bottom: 15px;
    }

    /* Price ke niche Savings ki setting */
    #tribe-closed-total {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    #dynamic-savings-bar {
        font-size: 11px;
        font-weight: 700;
        color: #000;
        margin-top: 2px;
        text-transform: uppercase;
    }
}










/* 2. Expandable box ki default settings */
#tribe-expandable {
    display: none; /* JS isay block karegi */
    overflow: visible !important; /* Hidden height ko block kar deta hai */
    max-height: none !important; /* Agar height fix hai to khatam karo */
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

/* 3. Items list ka container (Andar ka maal) */
#tribe-items-list {
    display: block !important;
    min-height: 50px; /* Taake khali na dikhe */
    width: 100%;
}



/* Spinner Animation */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    animation: rotation 1s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* [cite: 2026-02-19] - NEW SMOOTH SLIDER (OSTRICH STYLE) */

/* [cite: 2026-02-19] - Height Lock Fix */
#smoothSlider {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    /* Mobile par height choti rakhne ke liye */
    height: 450px !important; 
    aspect-ratio: 3/4;
    background: #f9f9f9;
    scrollbar-width: none;
}

/* Laptop/Desktop par thori bari height */
@media (min-width: 768px) {
    #smoothSlider {
        height: 700px !important;
    }
}

#smoothSlider::-webkit-scrollbar { display: none; }

/* 2. Har Slide ki Setting */
.slider-slide {
    flex: 0 0 100% !important;
    width: 100%;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Taake drag smooth ho */
}

/* 3. Navigation (Counter & Buttons) */
.slider-navigation-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.nav-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.slider-pagination {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
}



/* [cite: 2026-02-20] - Modern Zoom Icon & Modal */

/* Icon ki styling */
.zoom-trigger-wrapper {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.zoom-trigger-wrapper:hover {
    transform: scale(1.1);
    background: #fff;
}

.zoom-trigger-wrapper i {
    font-size: 18px;
    color: #333;
}

/* Full Screen Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff; /* Ostrich style clean white zoom */
    overflow-y: auto;
}

.zoom-modal-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zoom-modal-content img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.close-zoom {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 25px;
    color: #000;
    cursor: pointer;
    z-index: 10001;
    background: #f5f5f5;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}














/* [cite: 2026-02-19] - Fixing Slider Container & Zoom Icon Position */

/* 1. Slider ke main box ko define kar rahe hain */
.main-slider-container {
    position: relative !important; /* Ye icon ko apne andar qaid rakhega */
    width: 100%;
    background: #f9f9f9;
    line-height: 0; /* Extra space khatam karne ke liye */
}

/* 2. Zoom Icon ki setting */
.zoom-trigger-wrapper {
    position: absolute !important; /* Slider ke relative rehte hue move karega */
    top: 15px !important;
    right: 15px !important;
    z-index: 50; /* Slider image se upar dikhne ke liye */
    background: rgba(255, 255, 255, 0.85); /* Modern glass look */
    backdrop-filter: blur(4px);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.zoom-trigger-wrapper i {
    color: #000;
    font-size: 16px;
}

/* 3. Slider ki height aur look (Agar pehle nahi ki) */
#smoothSlider {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    height: auto;
    aspect-ratio: 3/4; /* TRIBE/Ostrich look */
}



/* [cite: 2026-02-19] - Force Footer Visibility */

/* Jab homeSection ya productPage "block" ho, toh footer ko block rakho */
#homeSection[style*="block"] ~ .main-footer,
#productPage[style*="block"] ~ .main-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Checkout page par hamesha chupao (Safety ke liye) */
#checkoutSection[style*="block"] ~ .main-footer {
    display: none !important;
}











.category-container {
    padding: 20px 10px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.category-header h2 { font-size: 18px; letter-spacing: 1px; margin-bottom: 5px; }

.category-tabs { margin-bottom: 15px; }
.category-tabs span { margin: 0 10px; font-size: 12px; color: gray; cursor: pointer; }
.category-tabs span.active { color: black; border-bottom: 2px solid brown; padding-bottom: 2px; }

.view-all { 
    background: #f0f0f0; border: none; padding: 8px 20px; 
    font-size: 10px; font-weight: bold; cursor: pointer; border-radius: 4px;
}





.slider-track {
    display: flex !important;
    overflow-x: auto !important;
    gap: 15px;
    padding: 10px;
    scrollbar-width: none;
}
/* [cite: 2026-02-20] - Mobile Slider: Image Focus & Big Product Fix */
@media (max-width: 767px) {
    .slider-track {
        /* Padding kam karne se card ko mazeed jagah milegi phailne ki */
        gap: 10px !important;
        padding: 10px 5px !important; 
        width: 100% !important;
        display: flex !important;
        overflow-x: auto !important;
    }

   /* [cite: 2026-02-20] - Mobile Slider: Full Image Fit Fix */
@media (max-width: 767px) {
    
    .slider-item {
        flex: 0 0 100% !important; 
        min-width: 100% !important;
        padding: 0 5px !important;
    }

    /* 1. Image ke dabbe ko define karein */
    .slider-item .img-box {
        width: 100% !important;
        aspect-ratio: 3 / 4 !important; /* Agar lamba look chahiye, varna 1/1 kar dein */
        overflow: hidden !important;   /* Taake image bahar na nikle */
        display: block !important;
    }

    /* 2. Image ko poora fit karne ka asli code */
    .slider-item .img-box img {
        width: 100% !important;   /* Width poori */
        height: 100% !important;  /* Height bhi ab poori dabbe tak jayegi */
        object-fit: cover !important; /* Isse image dabba bhar degi bina kharab hue */
        object-position: top !important; /* T-shirt ka gala (top) hamesha nazar ayega */
        display: block !important;
    }
}

    /* Text, Price aur Cut-off price ko waisa hi rakha hai jaisa pehle tha */
    .slider-item .info h4 {
        font-size: 12px !important; 
        margin-top: 10px;
    }
}

/* --- PC/DESKTOP SLIDER FIX --- */
@media (min-width: 1024px) {
    /* Track ko poori jagah dene ke liye */
    .slider-track {
        display: flex !important;
        gap: 20px !important;
        padding: 20px 0 !important;
        width: 100% !important;
        overflow-x: auto !important;
    }

    /* Har product box (slider-item) ka size PC par */
    .slider-item {
        flex: 0 0 23.5% !important; /* Ek line mein 4 dikhayega */
        min-width: 23.5% !important;
        max-width: 23.5% !important;
    }

    /* Images ko frame mein fit rakhne ke liye */
    .slider-item .img-box {
        width: 100% !important;
        aspect-ratio: 3 / 4 !important;
        border-radius: 8px;
        overflow: hidden;
    }

    .slider-item .img-box img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top !important;
    }
}

/* Scrollbar hide karne ke liye (Optional but Recommended for Clean Look) */
.slider-track::-webkit-scrollbar {
    display: none;
}
.slider-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}




/* [cite: 2026-02-19] - Elo Style Smooth Slider */

/* Container jo har category ko cover karega */


/* --- ASLI ENGINE YAHAN HAI --- */
.slider-track {
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    gap: 12px;
    padding: 0 15px 15px 15px; /* Side padding taake pehla product chipke na */
    
    /* Smooth Scroll Settings */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS par makhkhan chalega */
    
    /* Scroll Snap - Isse product beech mein rukega */
    scroll-snap-type: x mandatory;
    
    /* Scrollbar chhupao */
    scrollbar-width: none; 
}

.slider-track::-webkit-scrollbar {
    display: none;
}

.slider-item {
    flex: 0 0 45% !important; /* Mobile pe 2 products (thora gap ke saath) */
    min-width: 45% !important;
    scroll-snap-align: start; /* Har product snap hoga */
    cursor: pointer;
}

/* Product Card Design */
.img-box {
    width: 100%;
    aspect-ratio: 3/4; /* Elo style portrait look */
    border-radius: 8px; /* Halki si roundness */
    overflow: hidden;
    background: #f7f7f7;
    margin-bottom: 8px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.info h4 {
    font-size: 12px;
    font-weight: 500;
    margin: 0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Lambe naam kat jayenge */
}

.info p {
    font-size: 13px;
    font-weight: 700;
    margin: 4px 0 0 0;
    color: #000;
}
/* [cite: 2026-02-20] - Layout for 4 products on Desktop */
@media (min-width: 1024px) {
    .slider-item {
        /* 100% / 4.2 taake 5th card thoda sa nazar aaye aur side khali na lage */
        flex: 0 0 23.5% !important; 
        min-width: 23.5% !important;
    }

    .slider-wrapper {
        position: relative;
        width: 100% !important; /* Isay 100% rakho */
        max-width: 100% !important; /* 1400px hata kar 100% kar diya */
        margin: 0;
    }
    
    .category-block {
        width: 100% !important;
        padding: 0 !important; /* Side se extra space khatam */
    }

    .category-header h2 {
        font-size: 22px;
    }
    
    /* Buttons ko thora bahar nikal dete hain taake cards ke upar na aayein */
    .slide-btn.left { left: -20px; }
    .slide-btn.right { right: -20px; }
}

/* Taake buttons overflow na karein parent container ko */
.slider-wrapper {
    position: relative;
    max-width: 1400px; /* Ya jo bhi teri site ki width hai */
    margin: 0 auto;
}


/* [cite: 2026-02-20] - iPad & Tablets (e.g. 768px to 1024px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .slider-item {
        /* 100% / 3 = 33%, gap nikaal kar 31% fit rahega */
        flex: 0 0 31% !important; 
        min-width: 31% !important;
        scroll-snap-align: start;
    }

    .slide-btn {
        display: flex; /* iPad pe bhi buttons dikhao kyunki wahan space hoti hai */
        width: 30px;
        height: 30px;
    }
}

/* Laptop (1024px and above) - Jo humne pehle set kiya tha */
@media (min-width: 1024px) {
    .slider-item {
        flex: 0 0 24% !important; /* Laptop pe 4 products */
        min-width: 24% !important;
    }
    .slide-btn { display: flex; }
}

















/* [cite: 2026-02-20] - Button Styling for Desktop Slider */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 50%;
    z-index: 100;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none; /* Mobile pe hide */
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* PC pe show karne ke liye */
@media (min-width: 1024px) {
    .slide-btn { display: flex; }
}

.slide-btn:hover { background: #000; color: #fff; border-color: #000; }
.slide-btn.left { left: 5px; }
.slide-btn.right { right: 5px; }

/* Taake images side pe chipke na */
.slider-track {
    scroll-behavior: smooth; /* Ye button click pe smooth chalaayega */
    padding: 10px 15px;
}








/* [cite: 2026-02-20] - Section Spacing Fix for Mobile */

/* 1. Category Sections ke darmiyan gap barhao */
.category-block {
    margin-bottom: 40px !important; /* Ek section se dusre ka fasla barha diya */
    padding-top: 10px !important;
}

/* 2. Heading aur "VIEW ALL" button ke beech space */
.category-header {
    margin-bottom: 15px !important; 
    padding: 0 20px !important;
    text-align: center;
}

/* 3. Slider Wrapper (Cards) ke upar thodi jagah do */
.slider-wrapper {
    margin-top: 15px !important;
    position: relative;
}

/* 4. Tabs (MEN FITS / CO-ORD) ke neeche space */
.category-tabs {
    margin-bottom: 20px !important;
    padding-top: 10px;
}

/* Mobile specific adjustment taake chipka hua na lage */
@media (max-width: 767px) {
    .category-block {
        margin-bottom: 35px !important;
    }
    
    /* "VIEW ALL" button ke neeche halki space */
    .view-all-btn {
        margin-bottom: 10px !important;
        display: inline-block;
    }
}











/* [cite: 2026-02-20] - Trust Bar 2x2 Grid for Mobile */

/* 1. Main Container */
.trust-bar {
    display: grid; /* Flex ki jagah Grid use karenge */
    grid-template-columns: repeat(4, 1fr); /* Desktop pe 4 columns */
    gap: 20px;
    background-color: #f8f8f8;
    padding: 40px 20px;
    margin-top: 50px;
    border-top: 1px solid #eee;
}

.trust-item {
    text-align: center;
    padding: 10px;
}

.trust-item i {
    font-size: 30px;
    color: #333;
    margin-bottom: 12px;
    display: block;
}

.trust-text h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 4px 0;
    color: #000;
}

.trust-text p {
    font-size: 11px;
    color: #777;
    margin: 0;
}

/* --- MOBILE RESPONSIVE (2x2 Grid) --- */
@media (max-width: 767px) {
    .trust-bar {
        /* Mobile pe ek line mein 2 items (2 columns) */
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px; /* Items ke darmiyan gap */
        padding: 30px 10px;
    }

    .trust-item {
        min-width: unset; /* Purana min-width hata diya */
        border-bottom: none; /* Line ki zaroorat nahi grid mein */
    }

    .trust-item i {
        font-size: 25px; /* Mobile pe icon thoda chota */
    }

    .trust-text h4 {
        font-size: 11px; /* Mobile pe text size adjust */
    }

    .trust-text p {
        font-size: 10px;
    }
}





/* [cite: 2026-02-22] - Hard Hide Logic */
body.product-page-active .trust-bar {
    display: none !important;
}




/* [cite: 2026-02-23] - Forced Left Alignment for Logo */

.tribexc-footer-logo {
    max-width: 170px; 
    height: auto;
    display: block !important;
    
    /* --- ZABARDASTI LEFT KARNE KE LIYE YE 2 LINES --- */
    margin-left: -30px !important; /* Isse logo mazeed left sarak jayega */
    padding-left: 0 !important;
    
    /* Baki teri purani setting */
    transform: translateY(-5px); 
}

/* Isay bhi check karlo ke koi gap na ho */
.footer-logo-box {
    margin-top: -30px !important; 
    margin-bottom: 25px !important;
    display: block !important;
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}





/* [2026-03-05] - WhatsApp Button: Updated Sleek Size for Laptop & Mobile */

.whatsapp-float {
    position: fixed;
    width: 50px;      /* Laptop par size thora chota kar diya (Pehle 60px tha) */
    height: 50px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* WhatsApp Icon inside the button */
.whatsapp-float img {
    width: 28px;      /* Icon size bhi chota kar diya */
    height: 28px;
}

/* --- Pulse Animation (Shuaein Effect) --- */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50px;
    z-index: -1;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Mobile Responsive Fix --- */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 48px;        /* Thora aur sleek size */
        height: 48px;
        bottom: 10px;      /* Isay neeche se thora upar kar diya taake mobile bar se door rahe */
        right: 15px;       /* Side se thora gap kam kiya */
        box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* Mobile par shadow thori gehri */
    }

    .whatsapp-float img {
        width: 26px;       /* Icon size perfect fit */
        height: 26px;
    }
}




/* --- iPhone Safari Blue Text Fix (Pro Version) --- */

/* 1. iPhone ko blue karne se rokein lekin color wahi rahe jo humne set kiya hai */
a, span, p, div {
    -webkit-text-fill-color: inherit; /* Ye sabse zaroori hai, ye aapki selection ka color nahi bigarega */
}

/* 2. Specific links ka blue color khatam karne ke liye */
a[href] {
    color: inherit !important;
    text-decoration: none !important;
}

/* 3. HTML ke header mein ye meta tag lazmi check karein */
/* <meta name="format-detection" content="telephone=no"> */