:root {
    --main-font: "Inter", sans-serif;
    --title-font: "Playfair Display", serif;
}

body {
    font-family: var(--main-font);
    background-color: #000;
    margin: 0;
    padding: 0;
}

.custom-nav {
    /* Jab image navbar ke peeche nahi hai, toh background solid hona chahiye */
    background: #000 !important;
}

.custom-nav.nav-scrolled {
    padding: 0.75rem 0;
    background: rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.nav-shell {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-nav .navbar-brand,
.custom-nav .nav-icon,
.custom-nav .navbar-toggler {
    color: #fff !important;
}

.brand-wrap {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.logo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 4px;
    padding: 6px 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.nav-logo {
    height: 26px;
    width: auto;
    display: block;
}

.custom-nav.nav-scrolled .logo-badge {
    background: rgba(255, 255, 255, 0.96);
    transform: scale(0.96);
}

.custom-nav .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    transition: color 0.3s ease;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link.active {
    color: #fff !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

.nav-icon,
.menu-btn {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.nav-icon {
    color: #fff;
    font-size: 22px;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-icon:hover {
    transform: translateY(-1px);
}

.cart-btn {
    background: rgba(255, 255, 255, 0.06);
}

.cart-badge {
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    color: #111 !important;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar-toggler {
    padding: 0;
    background: transparent;
    box-shadow: none !important;
}

.menu-btn {
    border: 0;
    background: rgba(255, 255, 255, 0.06);
}

.custom-toggler-icon {
    width: 24px;
    height: 18px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-toggler-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #fff;
    border-radius: 999px;
    transition: all 0.3s ease;
}

/* MOBILE PREMIUM DRAWER */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}

.mobile-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 380px);
    height: 100%;
    background: #111;
    color: #fff;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    padding: 24px 22px 30px;
}

.mobile-drawer.open {
    pointer-events: auto;
}

.mobile-drawer.open .mobile-drawer-backdrop {
    opacity: 1;
}

.mobile-drawer.open .mobile-drawer-panel {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-brand {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
}

.mobile-drawer-close {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: transparent;
    color: #fff;
    border-radius: 999px;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-body {
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-drawer-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer-nav a {
    display: block;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
    color: #fff;
    transform: translateX(4px);
}

.mobile-drawer-social {
    margin-top: auto;
    padding-top: 28px;
}

.mobile-drawer-social h6 {
    font-size: 1rem;
    margin-bottom: 14px;
    font-weight: 700;
}

.mobile-social-icons {
    display: flex;
    gap: 12px;
}

.mobile-social-icons a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

/* MOBILE BALANCE */
@media (max-width: 991.98px) {
    .custom-nav {
        padding: 0.75rem 0;
    }

    .nav-shell {
        min-height: 64px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .logo-badge {
        padding: 5px 7px;
        border-radius: 3px;
    }

    .nav-logo {
        height: 22px;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-icon,
    .menu-btn {
        width: 40px;
        height: 40px;
    }

    .nav-icon {
        font-size: 20px;
    }

    .custom-toggler-icon {
        width: 22px;
        height: 16px;
    }
}

@media (min-width: 992px) {

    .mobile-drawer,
    .navbar-toggler {
        display: none !important;
    }

    .nav-logo {
        height: 30px;
    }

    .logo-badge {
        padding: 7px 10px;
    }

    .nav-actions {
        min-width: 110px;
    }
}

/* --- DESKTOP VIEW --- */
.hero-section {
    position: relative;
    height: calc(100vh - 80px);
    margin-top: 80px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
}

.hero-slide {
    height: calc(100vh - 80px);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    z-index: 10;
    padding: 20px;
}

@media (max-width: 768px) {

    /* 1. Hero Section ko Navbar se niche push karein */
    .hero-section {
        margin-top: 65px !important;
        /* Navbar ki height ke mutabiq adjust karein */
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        overflow: hidden;
    }

    /* 2. Image Container ka ratio 16:9 set karein (Zero Cut) */
    .hero-slide {
        aspect-ratio: 16 / 9 !important;
        /* Yeh image ko katne nahi dega */
        height: auto !important;
        min-height: 250px;
        /* Bohat chota na ho jaye isliye */
        background-size: cover !important;
        /* Ya '100% 100%' agar stretch karna ho */
        background-position: center top !important;
        position: relative !important;
    }

    /* 3. Text ko Wapis Image ke Upar Layein (Overlay) */
    .hero-overlay {
        position: absolute !important;
        /* Relative se wapis Absolute kiya */
        inset: 0 !important;
        /* Top, Left, Right, Bottom sab 0 */
        background: rgba(0, 0, 0, 0.4) !important;
        /* Image ke upar halka dark layer taake text dikhe */
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 15px !important;
    }

    /* 4. Text sizes ko mobile ke liye chota karein */
    .display-1 {
        font-size: 1.8rem !important;
        /* Size chota kiya taake image ke andar fit aaye */
        margin-bottom: 8px !important;
    }

    .hero-content p.lead {
        font-size: 0.85rem !important;
        max-width: 90% !important;
        margin-bottom: 15px !important;
    }

    .hero-content .btn {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
    }
}

/* Typography for Section */
.section-title {
    font-family: "Playfair Display", serif;
    color: #000;
}

/* Product Card Styling */
.product-card {
    transition: transform 0.3s ease;
}

.product-img-container {
    background-color: #f8f9fa;
    /* Matches the clean white/grey background in image */
    overflow: hidden;
}

.product-img-container img {
    mix-blend-mode: multiply;
    /* Helps blend product backgrounds if they aren't pure white */
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Discount Badge */
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    z-index: 2;
}

/* Product Details */
.product-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    letter-spacing: -0.2px;
}

.new-price {
    font-size: 1rem;
    color: #000;
}

.stock-status {
    font-size: 0.75rem;
    color: #999 !important;
}

/* View All Button Styling */
.view-all-btn {
    border-width: 1px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background-color: #000;
    color: #fff;
}

.all-products-section {
    padding-top: 120px !important;
    /* Desktop ke liye safe margin */
    padding-bottom: 60px;
    background-color: #fff;
}

/* Mobile Adjustments (Final Refined Version) */
@media (max-width: 576px) {
    .all-products-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Product Title: Isay 2 lines tak fix rakhega */
    .product-name {
        font-size: 0.75rem !important;
        /* Thora chota taake space mile */
        min-height: 35px;
        line-height: 1.2;
        margin-bottom: 5px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .product-info .d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0px !important;
        /* Gap khatam kar ke manual spacing denge */
        min-height: 50px;
        /* Sab cards ka price area ek jitna bada hoga */
    }

    .new-price {
        font-size: 0.9rem !important;
        font-weight: 700;
        display: block;
        margin-bottom: -2px;
        /* Stock ke sath gap kam karne ke liye */
    }

    .old-price {
        font-size: 0.65rem !important;
        display: block;
    }

    .stock-status {
        font-size: 0.6rem !important;
        color: #999 !important;
        margin-top: 2px;
        display: block;
    }

    /* Filter Wrapper settings sahi hain, bas padding-top add kar dein agar title se chipak raha ho */
    .filter-wrapper {
        display: flex;
        overflow-x: auto;
        white-space: nowrap;
        gap: 8px;
        padding-bottom: 12px;
        padding-top: 5px;
        scrollbar-width: none;
    }
}


/* Category Card Base */
.category-card {
    aspect-ratio: 1 / 1;
    /* Keeps them perfectly square like the image */
    text-decoration: none;
    color: white;
}

.category-card img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Darkened overlay to make white text pop */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

/* Text Placement */
.category-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.category-label h3 {
    font-family: var(--main-font);
    /* Clean sans-serif like the image */
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Hover Effects */
.category-card:hover img {
    transform: scale(1.1);
}

.category-card:hover .category-label {
    transform: translateX(5px);
}

/* Mobile responsive font sizing */
@media (max-width: 576px) {
    .category-label {
        bottom: 10px;
        left: 10px;
    }

    .category-label h3 {
        font-size: 1.1rem;
    }
}


.footer {
    /* Subtle top border like image reference */
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Footer Headings - using the Serif font from your reference */
.footer-logo {
    font-family: "Playfair Display", serif;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.footer-heading {
    font-family: "Playfair Display", serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

/* Link Styling */
.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #6c757d;
    font-size: 0.85rem;
    transition: 0.3s;
}

.footer-list a:hover {
    color: #000;
    padding-left: 5px;
    /* Subtle hover effect */
}

.social-circle {
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: 0.3s all ease;
}

.social-circle:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.copyright-text {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.5px;
}

/* Desktop View Spacing Fix */
@media (min-width: 992px) {
    .footer {
        padding-top: 60px;
        padding-bottom: 40px;
    }
}

/* Mobile View Alignment Fix */
@media (max-width: 768px) {
    .footer-heading {
        margin-top: 10px;
    }

    .footer-list a {
        font-size: 0.95rem;
        /* Better readability on mobile */
    }
}

/* --- SHOP PAGE GLOBAL STYLES --- */

.section-title {
    font-family: var(--title-font);
    letter-spacing: -0.5px;
}

/* Filter Button Styling */
.btn-outline-secondary {
    border-color: #e0e0e0;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #adadad;
}

.btn-dark {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* --- PRODUCT CARD & IMAGE GRID --- */

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.product-img-container {
    background-color: #f6f6f6;
    /* Greyish tint from reference */
    border-radius: 2px;
    position: relative;
    width: 100%;
    padding-top: 133.33%;
    /* 3:4 Aspect Ratio - Best for Fashion */
    overflow: hidden;
}

.product-img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Puri image box mein fit aayegi */
    object-position: center;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-container img {
    transform: scale(1.05);
}

/* --- PRODUCT INFO & TYPOGRAPHY --- */

.product-info {
    padding-top: 12px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-weight: 500;
    font-size: 0.85rem;
    color: #000;
    /* Is se saare cards ka naam 2 lines jitni jagah lega, alignment nahi bigregi */
    min-height: 2.5em;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.new-price {
    font-size: 0.9rem;
    font-weight: bold;
}

.old-price {
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: line-through;
}

.stock-status {
    font-size: 0.65rem;
    color: #6c757d;
}

/* --- PAGINATION (Premium Minimalist) --- */

.shop-pagination nav div:first-child {
    display: none !important;
    /* Hides "Showing 1 to 12" */
}

.shop-pagination .pagination {
    justify-content: center;
    margin-top: 30px;
}

.shop-pagination .page-link {
    border: 1px solid #e0e0e0;
    color: #000 !important;
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 0 !important;
    /* Sharp premium corners */
    margin: 0 2px;
    text-decoration: none !important;
    background-color: #fff;
}

.shop-pagination .page-item.active .page-link {
    background-color: #000 !important;
    border-color: #000 !important;
    color: #fff !important;
}

.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff3e3e;
    /* Ya jo bhi aapka brand color hai */
    color: white;
    padding: 4px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 5;
    text-transform: uppercase;
}

/* --- MOBILE RESPONSIVE --- */

@media (max-width: 768px) {
    .product-name {
        font-size: 0.8rem;
        min-height: 2.4em;
    }
}

/* Contact Details Styling */
.contact-icon-box {
    width: 45px;
    height: 45px;
    background-color: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
}

/* Form Card Styling */
.contact-form-card {
    background-color: #fff;
    border-color: #eee !important;
}

.form-label {
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: #000;
    box-shadow: none;
}

/* Submit Button */
.btn-dark {
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-dark:hover {
    background-color: #333;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .contact-form-card {
        padding: 2rem !important;
    }
}

/* Empty Cart Styling */
.cart-empty-section {
    min-height: 70vh;
    /* Ensures it fills most of the screen */
}

.cart-title {
    font-family: var(--title-font);
    /* Using Playfair Display for the serif look */
    color: #000;
}

.ls-1 {
    letter-spacing: 1px;
}

/* Button Styling to match the 'Start Shopping' design */
.btn-dark.ls-1 {
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: 1px solid #000;
}

.btn-dark.ls-1:hover {
    background-color: transparent;
    color: #000;
}

/* Icon Color adjustment */
.bi-bag-x {
    opacity: 0.6;
}

/* Cart Item Styling */
.cart-item {
    background-color: #fff;
    border-color: #eee !important;
    transition: all 0.3s ease;
}

.cart-img-box {
    width: 100px;
    height: 100px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-group .btn {
    background-color: #fff;
    font-weight: bold;
}

/* Summary Card Styling */
.summary-card {
    background-color: #fff;
    border-color: #eee !important;
}

.summary-card h4 {
    font-family: var(--title-font);
}

.text-success {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Checkout Button */
.ls-1 {
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        text-align: center;
        padding-bottom: 3rem !important;
    }

    .cart-img-box {
        margin-right: 0 !important;
        margin-bottom: 1rem;
    }

    .cart-item .btn-trash {
        top: auto;
        bottom: 10px;
        right: 50%;
        transform: translateX(50%);
    }
}

/* Product Detail Specifics */
.smaller {
    font-size: 0.75rem;
}

.size-box {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0.8rem;
    font-weight: 500;
    border-color: #eee;
}

.size-box:hover {
    border-color: #000;
    background: #fff;
    color: #000;
}

.btn-dark.size-box {
    border-color: #000 !important;
}

/* Quantity Selector styling */
.quantity-selector button {
    font-size: 1.2rem;
    color: #333;
}

.quantity-selector button:hover {
    background-color: #f8f9fa;
}

/* Badge for detail page */
.product-main-img .badge-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}

/* Styling the section title to match serif look if needed */
.product-detail-section h1 {
    font-family: var(--title-font);
}

.checkout-card {
    background: #fff;
}

.checkout-summary {
    position: sticky;
    top: 110px;
}

/* works great if navbar is fixed */

/* Payment pills */
.pay-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #111;
    padding: 10px 14px;
    border-radius: 0;
    cursor: pointer;
    user-select: none;
}

.pay-pill input {
    display: none;
}

.pay-pill span {
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.pay-pill:has(input:checked) {
    background: #111;
    color: #fff;
}

/* Manual box */
.manual-box {
    background: #fafafa;
}

/* Make form fields match the clean UI */
.form-control:focus {
    box-shadow: none;
    border-color: #111;
}

/* Thank You Page Styling */
.thank-you-section {
    min-height: 80vh;
    /* Centers the content vertically on the screen */
}

/* Styled Success Circle */
.success-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #000;
    /* Black circle as per reference */
    color: #fff;
    border-radius: 50%;
    font-size: 2.5rem;
}

/* Title using the brand's Serif font */
.thank-you-section .section-title {
    font-family: var(--title-font);
    color: #000;
}

/* Button refinement */
.ls-1 {
    letter-spacing: 1.5px;
    font-size: 0.85rem;
}

/* Subtle fade-in animation for the whole section */
.thank-you-section {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#cartCountBadge {
    animation: badgePop 0.25s ease;
}

@keyframes badgePop {
    0% {
        transform: scale(0.6);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================
   Scroll Reveal Animations (Smoother)
   ========================================= */

:root {
    --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
    /* natural ease-out */
    --reveal-duration: 900ms;
    --reveal-distance: 12px;
    --stagger-step: 85ms;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale,
    .reveal-stagger>* {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* Base hidden state */
.reveal {
    opacity: 0;
    transform: translate3d(0, var(--reveal-distance), 0);
    transition:
        opacity var(--reveal-duration) var(--reveal-ease),
        transform var(--reveal-duration) var(--reveal-ease);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

/* Variants */
.reveal-up {
    transform: translate3d(0, var(--reveal-distance), 0);
}

.reveal-left {
    transform: translate3d(calc(var(--reveal-distance) * -1), 0, 0);
}

.reveal-right {
    transform: translate3d(var(--reveal-distance), 0, 0);
}

.reveal-scale {
    transform: translate3d(0, var(--reveal-distance), 0) scale(0.985);
}

/* Visible */
.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

/* Stagger children */
.reveal-stagger>* {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    transition:
        opacity 850ms var(--reveal-ease),
        transform 850ms var(--reveal-ease);
    will-change: opacity, transform;
    backface-visibility: hidden;
}

.reveal-stagger.is-visible>* {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: calc(var(--i) * var(--stagger-step));
}

/* Faster / smoother on mobile */
@media (max-width: 768px) {
    :root {
        --reveal-duration: 800ms;
        --reveal-distance: 10px;
        --stagger-step: 65ms;
    }
}

/* =========================================
   Mobile Responsiveness Enhancements
   ========================================= */

/* Prevent horizontal scroll on small screens */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Navbar spacing on mobile */
@media (max-width: 991px) {
    .custom-nav {
        padding: 1rem 0;
    }
}

/* Product detail image height on mobile */
@media (max-width: 768px) {

    .product-main-img img,
    .carousel-inner img {
        height: 360px !important;
    }
}

/* Cart: improve spacing & alignment */
@media (max-width: 768px) {
    .cart-item {
        gap: 12px;
    }

    .cart-details h5 {
        font-size: 1rem;
    }

    .quantity-group span,
    #qtyDisplay {
        min-width: 34px;
        text-align: center;
    }
}

/* Checkout: disable sticky summary on mobile to avoid awkward scrolling */
@media (max-width: 991px) {
    .checkout-summary {
        position: static;
        top: auto;
    }
}

/* Category cards: ensure consistent square look */
@media (max-width: 576px) {
    .category-card {
        aspect-ratio: 1 / 1;
    }
}


/* Mobile Par Elements Takrayein Nahi */
@media (max-width: 576px) {
    .nav-actions {
        gap: 6px;
        /* Buttons ke darmiyan fasla kam kiya */
    }

    .nav-icon,
    .menu-btn {
        width: 35px;
        /* Buttons thode chhote kiye */
        height: 35px;
    }

    .brand-wrap {
        max-width: 40%;
        /* Logo ko 40% se zyada jagah lene se roka */
    }
}


.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 90px;
    /* chatbot ke upar */
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }
}


.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination-wrapper>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.pagination-wrapper>div>div:first-child {
    margin-bottom: 14px;
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
}

.pagination-wrapper nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.pagination {
    gap: 6px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination .page-item .page-link {
    color: #000;
    border: 1px solid #dee2e6;
    border-radius: 0;
    padding: 10px 16px;
    font-weight: 600;
    min-width: 44px;
    text-align: center;
    transition: all 0.25s ease;
}

.pagination .page-item.active .page-link {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.pagination .page-item .page-link:hover {
    background-color: #f8f9fa;
    color: #000;
    border-color: #000;
}

.pagination .page-item.disabled .page-link {
    color: #999;
    background-color: #fff;
    border-color: #dee2e6;
}