:root {
    --primary-blue: #1877F2;
    --primary-blue-hover: #0b5ed7;
    --secondary-yellow: #FFB900;
    --secondary-yellow-hover: #e0a100;
    --bg-light: #f4f6fa;
    --neutral-dark: #0f172a;
    --neutral-grey: #64748b;
    --border-color: #cbd5e1;
    --accent-red: #ef4444;
    --accent-green: #22c55e;
    --accent-orange: #ff5b00;
    --accent-brown: #381e10;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-cursive: 'Dancing Script', cursive;
}

/* Custom Scrollbar to eliminate browser zoom scrollbar track corner gaps */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

::-webkit-scrollbar-corner {
    background: #fcfbf0;
}

html {
    background-color: #fcfbf0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--neutral-dark);
    zoom: 0.8;
    overflow-x: hidden;
}

@supports not (zoom: 0.8) {
    body {
        transform: scale(0.8);
        transform-origin: top center;
        width: 125%;
    }
}

/* Disable zoom scaling on mobile — it causes right-side cropping */
@media (max-width: 768px) {
    body {
        zoom: 1 !important;
        width: 100% !important;
        transform: none !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* Navbar Logo custom emblem */
.logo-emblem {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: var(--secondary-yellow);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px rgba(255, 183, 0, 0.3);
}

.logo-emblem svg {
    width: 22px;
    height: 22px;
    fill: #0c1c45;
}

/* Navbar */
.navbar-custom {
    background-color: #0d6efd !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.10) !important;
    min-height: 60px !important;
    padding: 0 2rem !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1030 !important;
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.navbar-custom .nav-link {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: color 0.2s ease, opacity 0.2s ease;
    padding: 0.5rem 1.8rem !important;
    font-size: 1.05rem;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #ffffff !important;
    opacity: 1 !important;
}

.navbar-custom .btn-cart,
.header-cart-btn {
    background-color: #ffffff !important;
    color: #0d6efd !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    position: relative !important;
    /* relative for absolute badge positioning */
}

.header-cart-btn::after {
    content: "Cart" !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    color: #0d6efd !important;
}

#cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    width: 20px !important;
    height: 20px !important;
    display: flex;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    margin-left: 0 !important;
    /* reset default margin */
}

.header-wishlist-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px !important;
    transition: all 0.2s ease !important;
}

#wishlist-count {
    position: absolute !important;
    top: -4px !important;
    right: -4px !important;
    background-color: #ef4444 !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    width: 17px !important;
    height: 17px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    border: 1.5px solid #0d6efd !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    margin-left: 0 !important;
    /* reset default margin */
}

.navbar-custom .btn-cart:hover,
.header-cart-btn:hover {
    background-color: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.02);
}

.navbar-custom .btn-signin,
.header-signin-btn {
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none !important;
    background-color: transparent !important;
    white-space: nowrap !important;
}

.navbar-custom .btn-signin:hover,
.header-signin-btn:hover {
    opacity: 0.85 !important;
    transform: scale(1.02);
}

.header-signin-btn-mobile,
.header-dashboard-btn-mobile,
.header-signout-btn-mobile {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7) !important;
    transition: color 0.2s ease, opacity 0.2s ease;
    padding-left: 1.8rem !important;
    /* Matches alignment of standard menu links */
    text-decoration: none !important;
}

.header-signin-btn-mobile:hover,
.header-signin-btn-mobile:active,
.header-dashboard-btn-mobile:hover,
.header-dashboard-btn-mobile:active,
.header-signout-btn-mobile:hover,
.header-signout-btn-mobile:active {
    color: #ffffff !important;
    opacity: 1 !important;
}

.header-wishlist-btn {
    color: #8faeff !important;
    /* Periwinkle blue matching mockup */
    font-size: 1.5rem !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.header-wishlist-btn:hover {
    color: #ffffff !important;
    transform: scale(1.15);
}

/* Ticker styling */
.ticker-container {
    background-color: #FFFDE7 !important;
    border-bottom: 1px solid #ebdcb9;
    padding: 4px 0 !important;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.ticker-wrap {
    display: inline-flex;
    animation: ticker-slide 60s linear infinite;
    gap: 4rem;
    padding-left: 100%;
    color: #4a3e1b;
    font-size: 0.75rem;
    font-weight: 600;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--accent-orange);
    font-size: 0.95rem;
}

@keyframes ticker-slide {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('hero_bg.jpg') no-repeat center center;
    background-size: cover;
    height: 600px;
    color: #ffffff;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section>.container {
    position: relative;
    z-index: 2;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.hero-wave .shape-fill {
    fill: #ffffff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    color: #ffffff;
    padding: 8px 28px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-family: var(--font-cursive), 'Caveat', cursive;
    font-size: 4.8rem !important;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.max-w-600 {
    max-width: 600px;
}

.cp {
    cursor: pointer;
}

.btn-custom-primary {
    background-color: var(--primary-blue) !important;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-custom-primary:hover {
    background-color: var(--primary-blue) !important;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.hero-dot.active {
    background-color: #ffffff;
    width: 24px;
    border-radius: 4px;
}

/* About Section overlapping images */
.about-images-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: 0;
    padding-bottom: 72%;
    /* Fluid aspect ratio scaling */
    margin: 0 auto;
}

.about-img-large {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 78%;
    height: 78%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-img-circle {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 48%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 8px solid #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.about-title-underline {
    width: 80px;
    height: 3px;
    background-color: var(--primary-blue);
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Category cards grid overlays */
.collection-card {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.collection-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.collection-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    display: none;
    z-index: 1;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.collection-card:hover::after {
    display: none;
}

.collection-card .card-img-overlay {
    z-index: 2;
    transition: text-shadow 0.3s ease;
}

.collection-card:hover .card-img-overlay {
    text-shadow: 2px 2px 5px rgba(0, 74, 173, 0.95), 0 0 8px rgba(0, 74, 173, 0.8), 0 0 12px rgba(0, 74, 173, 0.5);
}

/* Product Cards */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.product-card img,
.card-img-top {
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
    display: block !important;
    background-color: #f1f5f9 !important;
}

.badge-bestseller {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: #FFC000;
    color: #000000;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.btn-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    color: var(--neutral-grey);
    transition: all 0.2s ease;
}

.btn-wishlist:hover {
    color: var(--accent-red);
    transform: scale(1.1);
}

.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--neutral-dark);
}

.product-rating {
    color: #ffc107;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--neutral-dark);
}

.product-price-strike {
    font-size: 0.9rem;
    text-decoration: line-through;
    color: #ef4444 !important;
    margin-left: 0.4rem;
}

.size-select-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0.6rem 0 1rem;
}

.size-btn {
    border: 1.5px solid var(--primary-blue);
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    color: var(--primary-blue);
    transition: all 0.2s ease;
    width: 90.7px;
    height: 43.48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.product-card .size-select-group {
    flex-wrap: wrap !important;
    /* Allow natural wraps if screens are extremely tiny, but fit by default */
    align-items: center;
    gap: 3px;
}

.product-card .size-btn {
    width: 55px !important;
    height: 24px !important;
    padding: 0 !important;
    font-size: 0.65rem !important;
    flex: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.size-btn.active {
    background-color: var(--primary-blue) !important;
    color: white !important;
    border-color: var(--primary-blue) !important;
}

.size-btn:hover {
    background-color: rgba(0, 74, 173, 0.08);
    color: var(--primary-blue);
}

.size-btn.active:hover {
    background-color: var(--primary-blue-hover) !important;
    color: white !important;
}

/* ── Out-of-Stock Variant Styles ─────────────────────────────────── */

/* Size button that belongs to an out-of-stock variant */
.size-btn.size-btn-oos {
    border-color: #d1d5db !important;
    color: #9ca3af !important;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 4px,
            rgba(156, 163, 175, 0.25) 4px,
            rgba(156, 163, 175, 0.25) 5px) !important;
    cursor: default;
    filter: blur(0.2px);
    opacity: 0.9;
}

.size-btn.size-btn-oos:hover {
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 4px,
            rgba(156, 163, 175, 0.3) 4px,
            rgba(156, 163, 175, 0.3) 5px) !important;
    color: #9ca3af !important;
}

/* Only the product IMAGE blurs when selected variant is OOS — rest of card stays visible */
.product-card.variant-out-of-stock img,
.card.product-card.variant-out-of-stock img {
    opacity: 0.28 !important;
    filter: grayscale(80%) blur(3px) !important;
    transition: opacity 0.35s ease, filter 0.35s ease;
}

/* Detail page: blur only the main product image */
#detail-img-card.variant-out-of-stock img {
    opacity: 0.28 !important;
    filter: grayscale(80%) blur(3px) !important;
    transition: opacity 0.35s ease, filter 0.35s ease;
}

/* Overlay — hidden, no text shown */
.out-of-stock-overlay {
    display: none !important;
}



/* Responsive dividers for highlight card wrapper */
@media (min-width: 768px) {
    .highlight-col-divider {
        border-right: 1.5px solid #fceadc !important;
    }
}

@media (max-width: 767.98px) {
    .highlight-col-divider {
        border-bottom: 1.5px solid #fceadc !important;
        padding-bottom: 1rem;
    }
}

.btn-add-to-cart {
    background: #1877F2;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    padding: 0.7rem 1.6rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.btn-add-to-cart:hover {
    background: #1877F2;
    color: white;
    border: none;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Feature highlight strip */
.feature-badge-row {
    background-color: #0d6efd;
    color: white;
    padding: 0.8rem 1rem;
}

@media (min-width: 768px) {
    .feature-badge-row {
        height: 75px !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }
}

.feature-badge-row .container {
    max-width: 1728px !important;
    width: 100%;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem !important;
}

.feature-badge svg {
    width: 48px !important;
    height: 48px !important;
    vertical-align: middle;
}

.feature-badge i {
    font-size: 2.2rem !important;
    color: var(--secondary-yellow);
}

.feature-badge-title {
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

.feature-badge-desc {
    font-size: 0.65rem !important;
    opacity: 0.85 !important;
    line-height: 1.35 !important;
    margin-top: 3px !important;
    white-space: nowrap !important;
}

/* Why Choose Us Section */
.why-choose-us-bg {
    background: linear-gradient(rgba(12, 28, 69, 0.75), rgba(12, 28, 69, 0.75)), url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?w=1600&auto=format&fit=crop&q=80') center center;
    background-size: cover;
    color: white;
    padding: 6rem 0 6rem;
    position: relative;
}

.why-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.why-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

.why-wave .shape-fill {
    fill: #ffffff;
}

.why-choose-container {
    max-width: 1522px !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.why-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: center;
    width: 476px;
    max-width: 100%;
    height: 139px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.why-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

.why-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.why-card-content {
    width: 100%;
    max-width: 319px;
    height: 101px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    flex-shrink: 1;
}

.why-card-content h5 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.why-card-content p {
    font-size: 0.98rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
}

/* Gallery Page – Edge-to-Edge Masonry Collage */
.gallery-page-wrapper {
    padding: 0;
    margin: 0;
    width: 100%;
}

.gallery-page-header {
    padding: 2.5rem 1rem 1.5rem;
    background: #fafbfc;
}

.gallery-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #3a3a3a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 0.3rem;
}

.gallery-page-subtitle {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.gallery-masonry {
    column-count: 5;
    column-gap: 6px;
    padding: 6px;
    background: #f0f0f0;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 6px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-masonry-item:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 2;
}

.gallery-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-masonry-item:hover img {
    transform: scale(1.05);
}

.gallery-masonry-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 12px 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.gallery-masonry-item:hover .gallery-masonry-overlay {
    opacity: 1;
}

.gallery-masonry-label {
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* Gallery responsive breakpoints */
@media (max-width: 1200px) {
    .gallery-masonry {
        column-count: 4;
    }
}

@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 4px;
        padding: 4px;
    }

    .gallery-masonry-item {
        margin-bottom: 4px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        column-count: 2;
        column-gap: 3px;
        padding: 3px;
    }

    .gallery-masonry-item {
        margin-bottom: 3px;
        border-radius: 4px;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 85%;
    position: relative;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    background: #ffffff;
    border: none;
    color: #0d6efd;
    padding: 0.6rem 3rem;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.lightbox-close:hover {
    transform: scale(1.05);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    background-color: #ffffff;
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    color: #a0a0a0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s;
    z-index: 1060;
}

.lightbox-btn-prev {
    left: 0;
    transform: translate(-50%, -50%);
}

.lightbox-btn-prev:hover {
    background-color: #f1f5f9;
    transform: translate(-50%, -50%) scale(1.1);
}

.lightbox-btn-next {
    right: 0;
    transform: translate(50%, -50%);
}

.lightbox-btn-next:hover {
    background-color: #f1f5f9;
    transform: translate(50%, -50%) scale(1.1);
}

/* Detail page tags */
.detail-tag {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: 0.02em;
}

.tag-handcrafted {
    background-color: #ffa51d;
    color: white;
}

.tag-natural {
    background-color: var(--primary-blue);
    color: white;
}

.tag-polished {
    background-color: var(--accent-brown);
    color: white;
}

.btn-add-cart-detail {
    background: #ffa51d !important;
    color: #000000 !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-radius: 6px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    width: 100% !important;
    max-width: 473px !important;
    height: 53px !important;
    transition: all 0.25s ease !important;
    font-size: 1.05rem !important;
}

.btn-add-cart-detail:hover {
    background: #e59416 !important;
    color: #000000 !important;
    transform: translateY(-1px);
}

.btn-buy-now-detail {
    background-color: #0d6efd !important;
    color: white !important;
    font-weight: 700 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border: none !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 619px !important;
    height: 53px !important;
    transition: all 0.2s ease !important;
    font-size: 1.05rem !important;
    text-transform: none !important;
}

.btn-buy-now-detail:hover {
    background-color: #0b5ed7 !important;
    transform: translateY(-1px);
}

/* Delivery checking */
.check-pincode-btn {
    background-color: var(--accent-brown);
    color: white;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    transition: opacity 0.2s;
}

.check-pincode-btn:hover {
    opacity: 0.9;
}

/* Checkout payment active highlighting */
.payment-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.payment-option:hover {
    border-color: #cbd5e1;
}

.payment-option.active {
    border-color: var(--accent-orange);
    background-color: rgba(255, 91, 0, 0.04);
}

.payment-option .radio-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}

.payment-option.active .radio-btn {
    border-color: var(--accent-orange);
}

.payment-option .radio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.2s;
}

.payment-option.active .radio-dot {
    background-color: var(--accent-orange);
}

.payment-icon-box {
    display: inline-flex;
    padding: 0.6rem;
    border-radius: 8px;
    background-color: #f1f5f9;
    color: var(--neutral-grey);
    margin-right: 0.8rem;
    transition: all 0.2s;
}

.payment-option.active .payment-icon-box {
    background-color: rgba(255, 91, 0, 0.15);
    color: var(--accent-orange);
}

/* Category Filter active card */
.shop-filter-sidebar {
    background-color: #ffffff !important;
}

@media (min-width: 992px) {
    .container-fluid.py-5.px-lg-4>.row.g-4 {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 2rem !important;
        align-items: flex-start !important;
    }

    .container-fluid.py-5.px-lg-4>.row.g-4>aside.col-lg-3 {
        width: 361px !important;
        flex: 0 0 361px !important;
        max-width: 361px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: sticky !important;
        top: 100px !important;
        align-self: start !important;
    }

    @media (max-height: 850px) {
        .container-fluid.py-5.px-lg-4>.row.g-4>aside.col-lg-3 {
            top: calc(100vh - 728px - 20px) !important;
        }
    }

    .container-fluid.py-5.px-lg-4>.row.g-4>main.col-lg-9 {
        flex: 1 1 0% !important;
        max-width: none !important;
        width: auto !important;
    }

    .shop-filter-sidebar {
        width: 361px !important;
        height: 728px !important;
        max-width: 361px !important;
        min-height: 728px !important;
        box-sizing: border-box;
        padding: 2rem !important;
    }
}

.shop-filter-sidebar h4 {
    font-size: 1.35rem !important;
}

.shop-filter-sidebar .bi-sliders {
    font-size: 1.35rem !important;
}

.shop-filter-sidebar #shop-search-input {
    height: 40px !important;
    font-size: 0.88rem !important;
}

.shop-filter-sidebar h6 {
    font-size: 0.82rem !important;
    margin-bottom: 0.8rem !important;
}

.filter-category-btn {
    background: none;
    border: none;
    text-align: left;
    width: 100%;
    padding: 3px 1rem 0 1rem !important;
    font-weight: 500;
    font-size: 0.88rem !important;
    border-radius: 50px;
    color: #556272;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    height: 38px;
}

.filter-category-btn:hover {
    background-color: rgba(0, 74, 173, 0.05);
    color: var(--primary-blue);
}

.filter-category-btn.active {
    background-color: #0d6efd !important;
    color: white !important;
    font-weight: 700;
}

#shop-category-list {
    max-height: 380px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Custom sleek scrollbar for categories list */
#shop-category-list::-webkit-scrollbar {
    width: 5px;
}

#shop-category-list::-webkit-scrollbar-track {
    background: transparent;
}

#shop-category-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

#shop-category-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.page-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('shop_banner.png') center center;
    background-size: cover;
    min-height: 441px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.page-header-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-header-banner p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}

.contact-page-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('Contact.jpg') center center;
    background-size: cover;
    min-height: 441px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.contact-page-header-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.contact-page-header-banner p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}


.shop-page-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('shop.jpg') center center;
    background-size: cover;
    min-height: 441px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.shop-page-header-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.shop-page-header-banner p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}


.gallery-page-header-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('Gallery.jpg') center center;
    background-size: cover;
    min-height: 441px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.gallery-page-header-banner h1 {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.gallery-page-header-banner p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0;
}


/* Footer Styling */
footer {
    background: #0d6efd !important;
    color: #ffffff !important;
    padding: 4rem 2rem 2rem;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
}

footer h3,
footer h2 {
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.5px;
}

footer h5 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

footer a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}

footer a:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Newsletter row */
.newsletter-banner {
    background-color: #e6eefc;
    border-top: 1px solid #cbd5e1;
    padding: 2.5rem 1rem;
}

/* Responsive Media Queries */
@media (max-width: 991.98px) {
    .navbar-custom {
        padding: 0.5rem 0.75rem !important;
        min-height: 56px !important;
    }

    /* Scale down the logo text on mobile instead of hiding it */
    .navbar-brand img[alt="VSI MART"] {
        display: inline-block !important;
        height: 18px !important;
    }

    .navbar-custom .navbar-brand img:first-child {
        height: 32px !important;
        margin-right: 6px !important;
    }

    /* Make header cart button compact on mobile */
    .header-cart-btn {
        padding: 6px 12px !important;
        font-size: 0.85rem !important;
        gap: 0.25rem !important;
    }

    .header-cart-btn svg {
        width: 18px !important;
        height: 18px !important;
    }

    /* Mobile menu custom items styling */
    .btn-cart-mobile,
    .header-signin-btn-mobile {
        color: rgba(255, 255, 255, 0.75) !important;
        transition: color 0.2s ease, background-color 0.2s ease;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        border-radius: 8px;
    }

    .btn-cart-mobile:hover,
    .header-signin-btn-mobile:hover {
        color: #ffffff !important;
        background-color: rgba(255, 255, 255, 0.08);
    }

    .navbar-collapse {
        background-color: var(--primary-blue);
        padding: 1rem 0;
    }

    .navbar-collapse .d-flex {
        justify-content: center;
        margin-top: 1rem;
    }

    .hero-section {
        min-height: 380px;
        height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .about-images-wrapper {
        margin-bottom: 3rem;
        max-width: 480px;
    }
}

@media (max-width: 768px) {

    .hero-wave svg,
    .why-wave svg {
        height: 35px !important;
    }

    .hero-title {
        font-size: 2.8rem !important;
    }

    .about-title-underline {
        margin: 10px auto 20px;
    }

    .about-images-wrapper {
        max-width: 380px;
        padding-bottom: 80%;
    }

    .why-card {
        height: auto;
        min-height: 110px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2rem !important;
    }

    .hero-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .feature-badge {
        flex-direction: column;
        text-align: center;
    }
}

/* Custom Pagination styling to match mockup */
.custom-pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
}

.custom-pagination .page-item {
    margin: 0;
}

.custom-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px !important;
    border: none !important;
    background-color: #f3f4f6;
    color: #000000;
    font-weight: 800;
    font-size: 1.25rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: none;
}

.custom-pagination .page-item.active .page-link {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

.custom-pagination .page-link:hover {
    background-color: #e5e7eb;
    color: #000000;
}

.custom-pagination .page-item.active .page-link:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
}

.custom-pagination .page-item.arrow-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-pagination .page-item.arrow-item .page-link {
    background-color: transparent !important;
    color: #0d6efd !important;
    font-size: 1.5rem;
    width: auto;
    height: auto;
    padding: 0 10px;
    font-weight: 900;
}

.custom-pagination .page-item.arrow-item .page-link i {
    -webkit-text-stroke: 1.2px #0d6efd;
    display: inline-block;
}

.custom-pagination .page-item.arrow-item .page-link:hover {
    background-color: transparent !important;
    color: #2563eb !important;
}

/* Yellow Action Button styling for Cart summary actions */
.btn-yellow-custom {
    background-color: #ffb700 !important;
    color: #000000 !important;
    font-weight: 700;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.85rem 2rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    text-align: center;
}

.btn-yellow-custom:hover {
    background-color: #e0a100 !important;
    color: #000000 !important;
    transform: translateY(-1px);
}

/* Buy It Now Button Override */
.btn-buy-now-detail {
    background-color: #0052cc !important;
    color: #ffffff !important;
    font-weight: 700;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.85rem 2rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.2s ease !important;
    width: 100%;
    display: inline-block;
    text-align: center;
}

.btn-buy-now-detail:hover {
    background-color: #0045a5 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Cart Toast Notification */
@keyframes slideInToast {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* Price Details Card Styling matching mockup */
.price-details-card {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.price-details-header {
    background-color: #381e10 !important;
    /* Dark brown accent */
    padding: 16px 24px !important;
}

.price-details-header h5 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.price-details-header .items-count {
    color: #FFB900 !important;
    /* Warm gold/yellow */
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    font-family: 'Inter', sans-serif !important;
}

.price-details-body {
    padding: 24px !important;
    background-color: #ffffff !important;
}

.price-details-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
    font-size: 1.05rem !important;
}

.price-details-row .label {
    color: #718096 !important;
    /* Grey text */
    font-weight: 500 !important;
}

.price-details-row .val {
    color: #1a202c !important;
    /* Black/dark value */
    font-weight: 700 !important;
}

.price-details-row .val.green-text {
    color: #0d6efd !important;
    /* Blue for FREE */
}

.price-details-free-note {
    color: #0d6efd !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.price-details-total-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
    margin-bottom: 24px !important;
}

.price-details-total-row .total-label {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #000000 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.price-details-total-row .total-val {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #ff5b00 !important;
    /* Accent orange */
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.btn-proceed-checkout {
    background-color: #ffa51d !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    border: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    text-decoration: none !important;
}

.btn-proceed-checkout:hover {
    background-color: #e59416 !important;
    color: #000000 !important;
    transform: scale(1.01);
}

.btn-buy-now {
    background-color: #0d6efd !important;
    /* Theme blue / deep royal blue */
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    border-radius: 6px !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.95rem !important;
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    border: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    text-decoration: none !important;
}

.btn-buy-now:hover {
    background-color: #0b5ed7 !important;
    color: #ffffff !important;
    transform: scale(1.01);
}

/* Shop sorting/filter header options bar matching mockup */
.shop-header-options-bar {
    background-color: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
}

.shop-header-options-bar .results-text {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #111827 !important;
}

.shop-header-options-bar .label-sort {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    color: #9ca3af !important;
    /* Soft grey/brown label */
    margin-right: 4px !important;
}

.shop-header-options-bar .select-sort {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    border: none !important;
    background: transparent !important;
    cursor: pointer !important;
    box-shadow: none !important;
    padding-right: 20px !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23111827' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right center !important;
    background-size: 12px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.shop-header-options-bar .icon-toggle-grid,
.shop-header-options-bar .icon-toggle-list {
    width: 36px !important;
    height: 36px !important;
    border-radius: 6px !important;
    background-color: transparent !important;
    color: #94a3b8 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.shop-header-options-bar .icon-toggle-grid.active,
.shop-header-options-bar .icon-toggle-list.active {
    background-color: #cbd5e1 !important;
    /* selected bg */
    color: #1e293b !important;
}

/* Checkout Form styling matching mockup */
.checkout-card {
    border: 1px solid #e5e7eb !important;
    border-radius: 16px !important;
    padding: 32px !important;
    background-color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.checkout-card-title {
    font-family: var(--font-heading) !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 28px !important;
}

.checkout-form-label {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #3f3f46 !important;
    /* Dark slate/brownish label */
    margin-bottom: 8px !important;
}

.checkout-form-control {
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    border: 1.5px solid #ebdcb9 !important;
    /* Warm light brown/gold border */
    background-color: #ffffff !important;
    color: #18181b !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.checkout-form-control:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 3px rgba(48, 92, 222, 0.15) !important;
    outline: none !important;
}

.checkout-form-control::placeholder {
    color: #a1a1aa !important;
    /* zinc-400 */
}

/* Place Order button style matching exactly 53px height */
.btn-place-order {
    background-color: #0d6efd !important;
    /* Theme standard blue */
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px !important;
    height: 53px !important;
    border-radius: 6px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.btn-place-order:hover {
    background-color: #0b5ed7 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 74, 173, 0.2) !important;
}

/* Range slider custom styling to prevent drag-drop block cursor */
.form-range {
    cursor: pointer !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

.form-range::-webkit-slider-thumb {
    cursor: grab !important;
}

.form-range::-webkit-slider-thumb:active {
    cursor: grabbing !important;
}

.form-range::-moz-range-thumb {
    cursor: grab !important;
}

.form-range::-moz-range-thumb:active {
    cursor: grabbing !important;
}

.form-range::-ms-thumb {
    cursor: grab !important;
}

.form-range::-ms-thumb:active {
    cursor: grabbing !important;
}

/* Footer layout padding matching fluid header/body layout alignment */
footer {
    padding: 4rem 0 2rem !important;
}

footer .container {
    max-width: 100% !important;
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Grid/List View Toggles */
.icon-toggle-grid,
.icon-toggle-list {
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: #9ca3af;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-toggle-grid:hover,
.icon-toggle-list:hover {
    color: #4b5563;
    background-color: #f3f4f6;
}

.icon-toggle-grid.active,
.icon-toggle-list.active {
    color: #0d6efd !important;
    background-color: #eff6ff;
}

/* List View layout toggle */
.list-view-active #shop-product-grid>div {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.list-view-active .product-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    text-align: left !important;
    gap: 1.5rem;
    padding: 1.2rem;
}

.list-view-active .product-card>a {
    display: block !important;
    flex: 0 0 220px !important;
    width: 220px !important;
    height: 220px !important;
}

.list-view-active .product-card img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: 8px;
}

.list-view-active .product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.list-view-active .size-select-group {
    justify-content: flex-start !important;
}

/* Custom Premium Select Dropdowns */
.label-sort {
    font-size: 0.88rem !important;
    color: #9ca3af !important;
    font-weight: 500 !important;
    margin-right: 6px !important;
}

.select-sort {
    border: 1px solid #bfdbfe !important;
    background-color: #eff6ff !important;
    font-weight: 700 !important;
    color: #1e40af !important;
    font-size: 0.85rem !important;
    padding: 6px 30px 6px 14px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    outline: none !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231e40af' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 10px 10px !important;
    transition: all 0.2s ease;
}

.select-sort:hover,
.select-sort:focus {
    background-color: #dbeafe !important;
    border-color: #93c5fd !important;
    color: #1d4ed8 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231d4ed8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

@media (max-width: 767.98px) {
    .shop-header-options-bar {
        flex-direction: column !important;
        gap: 0.8rem !important;
        align-items: center !important;
        text-align: center !important;
        padding: 12px 6px !important;
    }

    .shop-header-options-bar>.d-flex {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 0.4rem !important;
    }

    .shop-header-options-bar .select-sort {
        font-size: 0.76rem !important;
        padding: 5px 22px 5px 10px !important;
        background-position: right 8px center !important;
        background-size: 8px 8px !important;
    }

    .shop-header-options-bar .label-sort {
        font-size: 0.76rem !important;
        margin-right: 3px !important;
    }

    /* List View Responsive overrides */
    .list-view-active .product-card {
        flex-direction: row !important;
        gap: 0.8rem !important;
        padding: 0.8rem !important;
        align-items: center !important;
    }

    .list-view-active .product-card>a {
        flex: 0 0 110px !important;
        width: 110px !important;
        height: 110px !important;
    }

    .list-view-active .product-title {
        font-size: 0.9rem !important;
    }

    .list-view-active .product-price {
        font-size: 0.95rem !important;
    }

    .list-view-active .btn-add-to-cart {
        padding: 6px 10px !important;
        font-size: 0.72rem !important;
        margin-top: 8px !important;
        width: max-content !important;
    }

    .list-view-active .size-select-group {
        display: none !important;
        /* Hide sizes in compact mobile list mode to save space */
    }
}

/* Dynamic Masonry Gallery Styles */
.gallery-page-content .gallery-grid {
    column-count: 4;
    column-gap: 1.5rem;
    margin-bottom: 3rem;
    display: block !important;
}

.gallery-page-content .gallery-item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gallery-page-content .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gallery-page-content .gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-page-content .gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Breakpoints */
@media (max-width: 1200px) {
    .gallery-page-content .gallery-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .gallery-page-content .gallery-grid {
        column-count: 2;
        column-gap: 1rem;
    }

    .gallery-page-content .gallery-item {
        margin-bottom: 1rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .gallery-page-content .gallery-grid {
        column-count: 1;
    }
}

/* Premium Sign In / Sign Up Styles */
.login-page-wrapper {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    position: relative;
    background: #f8fafc;
    overflow: hidden;
}

.login-bg-decor {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(48, 92, 222, 0.08) 0%, rgba(48, 92, 222, 0) 70%);
    top: -150px;
    right: -150px;
    z-index: 1;
    pointer-events: none;
}

.login-bg-decor-left {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.05) 0%, rgba(244, 63, 94, 0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: 1;
    pointer-events: none;
}

.login-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(15, 23, 42, 0.04);
    width: 100%;
    max-width: 480px;
    padding: 2.5rem;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.login-tabs-header {
    display: flex;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 2rem;
    position: relative;
}

.login-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0 16px 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    outline: none;
}

.login-tab-btn.active {
    color: #0d6efd;
}

.login-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: #0d6efd;
    border-radius: 4px;
    animation: slideTabUnderline 0.3s ease forwards;
}

@keyframes slideTabUnderline {
    from {
        transform: scaleX(0.4);
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

.login-form-panel {
    display: none;
}

.login-form-panel.active {
    display: block;
    animation: fadeInPanel 0.35s ease forwards;
}

@keyframes fadeInPanel {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.login-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.login-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.15rem;
    transition: color 0.2s ease;
    pointer-events: none;
}

.login-control {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1e293b;
    transition: all 0.2s ease;
    outline: none;
}

.login-control:focus {
    background: #ffffff;
    border-color: #0d6efd;
    box-shadow: 0 0 0 4px rgba(48, 92, 222, 0.08);
}

.login-control:focus+.login-input-icon {
    color: #0d6efd;
}

.btn-login-submit {
    background: #0d6efd;
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(48, 92, 222, 0.3);
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.btn-login-submit:hover {
    background: #1e40af;
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    transform: translateY(-1px);
}

.login-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.login-checkbox-container input {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #0d6efd;
}

.password-toggle-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    outline: none;
    font-size: 1.1rem;
    padding: 0;
    transition: color 0.2s ease;
}

.password-toggle-btn:hover {
    color: #475569;
}

.demo-credentials-badge {
    background: #eff6ff;
    border: 1px dashed #bfdbfe;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 0.8rem;
    color: #1e40af;
    margin-bottom: 1.5rem;
}

@media (max-width: 576px) {
    .login-card {
        padding: 1.75rem;
    }
}

/* ── Login Page Layout ─────────────────────────────────────────────────────── */
.login-page-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 50%, #faf5ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.login-bg-decor {
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(48, 92, 222, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-bg-decor-left {
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.login-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem 2.25rem;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10), 0 4px 16px rgba(15, 23, 42, 0.06);
    position: relative;
    z-index: 2;
}

.login-tabs-header {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 1.75rem;
    gap: 0;
}

/* Force Slide Transition Effect on Banner Carousel */
.carousel.slide .carousel-item {
    transition: transform 0.6s ease-in-out !important;
}

@media (prefers-reduced-motion: reduce) {
    .carousel.slide .carousel-item {
        transition: transform 0.6s ease-in-out !important;
    }
}

/* Responsive Mobile Hero Banner Adjustments */
@media (max-width: 767.98px) {
    #heroImageCarousel .carousel-item img:not(.mobile-banner-img) {
        height: 280px !important;
        object-fit: cover !important;
        object-position: left center !important;
    }

    #heroImageCarousel .carousel-item img.mobile-banner-img {
        height: auto !important;
    }
}

/* Custom Pillayar Suzhi Top Bar Styling */
.top-suzhi-bar {
    height: 76px !important;
    /* Increased to accommodate 60px image height */
}

.top-suzhi-bar img {
    height: 60px !important;
    /* Matches the VSI Mart logo height (60px) */
}

@media (max-width: 768px) {
    .top-suzhi-bar {
        height: 48px !important;
    }

    .top-suzhi-bar img {
        height: 36px !important;
    }

    .navbar-custom {
        padding: 0 0.5rem !important;
        min-height: 56px !important;
    }

    .navbar-custom .container-fluid {
        display: flex !important;
        flex-wrap: wrap !important;
        /* Allow wrapping so expanded menu slides below */
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding-left: 0.25rem !important;
        padding-right: 0.25rem !important;
    }

    .navbar-custom .navbar-collapse {
        flex-basis: 100% !important;
        /* Forces the menu options to wrap to a new line when expanded */
    }

    .navbar-custom .navbar-brand {
        margin-right: 0.25rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .navbar-custom .navbar-brand img {
        height: 32px !important;
        /* Scaled down logo text to fit perfectly on one line */
        margin-top: 0 !important;
    }

    /* Header actions container containing wishlist and cart */
    .navbar-custom .d-flex.align-items-center.gap-3 {
        gap: 0.4rem !important;
        margin-left: auto !important;
        margin-right: 0.4rem !important;
    }

    .header-wishlist-btn {
        font-size: 1.3rem !important;
        padding: 4px !important;
        color: #8faeff !important;
    }

    #wishlist-count {
        top: -4px !important;
        right: -4px !important;
        width: 15px !important;
        height: 15px !important;
        font-size: 0.6rem !important;
        border: 1px solid #0d6efd !important;
    }

    .header-cart-btn {
        background-color: #ffffff !important;
        color: #0d6efd !important;
        padding: 6px 12px !important;
        /* Tighter padding to fit 'Cart' text */
        font-size: 0.85rem !important;
        gap: 0.25rem !important;
        border-radius: 50px !important;
        width: auto !important;
        height: 32px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .header-cart-btn svg {
        width: 16px !important;
        height: 16px !important;
    }

    .header-cart-btn::after {
        content: "Cart" !important;
        /* Ensure 'Cart' text remains visible */
        font-size: 0.85rem !important;
        font-weight: 700 !important;
        color: #0d6efd !important;
    }

    #cart-count {
        top: -6px !important;
        right: -4px !important;
        width: 16px !important;
        height: 16px !important;
        font-size: 0.62rem !important;
    }

    .navbar-custom .navbar-toggler {
        padding: 4px 6px !important;
        font-size: 0.95rem !important;
        border-color: rgba(255, 255, 255, 0.15) !important;
    }

    /* Compact mobile navigation links */
    .navbar-custom .nav-link {
        font-size: 0.92rem !important;
        padding: 0.4rem 0.5rem !important;
    }

    .navbar-collapse {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .header-signin-btn-mobile,
    .header-dashboard-btn-mobile,
    .header-signout-btn-mobile {
        font-size: 0.92rem !important;
        padding-left: 0.5rem !important;
        padding-top: 0.4rem !important;
        padding-bottom: 0.4rem !important;
    }

    .navbar-collapse .d-flex.d-lg-none.flex-column {
        gap: 0.85rem !important;
        /* Increase gap between Profile, Logout, and other elements */
    }

    /* Force quantity and buttons to stack vertically on mobile even if HTML is cached */
    .mb-3>h6+.d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }

    .mb-3>h6+.d-flex>div {
        width: 100% !important;
    }
}

/* ===== Product Detail Page - Add to Cart Button ===== */
.btn-add-cart-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    letter-spacing: 0.3px;
    height: 53px;
    white-space: nowrap;
}

.btn-add-cart-detail:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a4fc4 100%);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-add-cart-detail:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.3);
}

.btn-add-cart-detail:disabled {
    background: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ===== Product Detail Page - Buy Now Button ===== */
.btn-buy-now-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 15px 32px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
    letter-spacing: 0.3px;
    width: 100%;
    text-align: center;
}

.btn-buy-now-detail:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a4fc4 100%);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
}

.btn-buy-now-detail:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.3);
}

/* Added to Cart Feedback State */
.btn-added-feedback {
    background: #ff33aa !important;
    background-color: #ff33aa !important;
    border-color: #ff33aa !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 51, 170, 0.45) !important;
}