/* Impersonation banner */
.header {
    position: relative !important;
    top: 0 !important;
}

.alert-warning {
    height: 60px;
    display: flex;
    align-items: center;
}

/* Product cart button */
.product-cart-btn {
    position: relative;
    border: none;
    background: #396333 !important; /* Siya Green */
    color: #ffffff !important;
    border-radius: 50% !important;
    text-align: center;
    font-size: 13px !important;
    width: 34px !important;
    height: 34px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(57, 99, 51, 0.15) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.product-cart-btn:hover {
    color: #ffffff !important;
    background: #2b4c26 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(57, 99, 51, 0.25) !important;
}

.product-cart-btn i {
    line-height: 1;
    margin: 0;
}

@media all and (min-width: 992px) and (max-width: 1399px) {
    .product-cart-btn {
        width: 37px;
        height: 37px;
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .product-cart-btn {
        width: 40px;
        height: 40px;
    }
}

/* Product Buy Now button */
.product-buy-now-btn {
    position: relative;
    border: none !important;
    background: #396333 !important; /* Siya Green */
    color: #ffffff !important;
    border-radius: 30px !important; /* Pill shaped */
    text-align: center;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(57, 99, 51, 0.15) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none !important;
}

.product-buy-now-btn:hover {
    color: #ffffff !important;
    background: #2b4c26 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(57, 99, 51, 0.25) !important;
}

.product-buy-now-btn.disabled {
    background: #396333 !important;
    opacity: 0.65;
    cursor: not-allowed;
    pointer-events: none;
}

@media all and (min-width: 992px) and (max-width: 1399px) {
    .product-buy-now-btn {
        font-size: 12px;
        padding: 5px 12px;
        height: 37px;
    }
}

@media (max-width: 576px) {
    .product-buy-now-btn {
        font-size: 12px;
        padding: 5px 11px;
        height: 40px;
    }
}

/* Product buttons group */
.product-btns-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-btns-group .product-buy-now-btn,
.product-btns-group .product-cart-btn {
    margin: 0 !important;
}

/* Fix header scroll transparency and overlap */
.navbar.fixed-top {
    background-color: #ffffff !important;
    background: #ffffff !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    z-index: 9999 !important;
    transition: all 0.3s ease-in-out !important;
}

/* Fix scrolled navbar text colors (make them readable on green background) */
    .navbar.fixed-top .nav-item .nav-link {
        color: #396333 !important;
    }

.navbar.fixed-top .nav-item .nav-link.active,
.navbar.fixed-top .nav-item:hover .nav-link,
.navbar.fixed-top .nav-item .nav-link:hover {
    color: #FFD873 !important;
    /* Gold highlight */
}

.navbar.fixed-top .nav-right-link {
    color: #396333 !important;
}

.navbar.fixed-top .nav-right-link:hover {
    color: #FFD873 !important;
}

/* Style scrolled navbar search, wishlist and cart icons/badges */
.navbar.fixed-top .list-link i,
.navbar.fixed-top .nav-right-link i {
    color: #396333 !important;
}

.navbar.fixed-top .list-link i.text-danger,
.navbar.fixed-top .nav-right-link i.text-danger {
    color: #dc3545 !important;
}

.navbar.fixed-top .list-link span.bg-danger,
.navbar.fixed-top .nav-right-link span.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.navbar.fixed-top .list-link i.text-primary,
.navbar.fixed-top .nav-right-link i.text-primary {
    color: #0d6efd !important;
}

.navbar.fixed-top .list-link span.bg-primary,
.navbar.fixed-top .nav-right-link span.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

/* ============================================
   PRODUCT CARD — Price & Layout Improvements
   ============================================ */

/* Card base */
.product-item {
    border-radius: 12px !important;
    padding: 12px !important;
    background: #fff;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-5px) !important;
    border-color: #cbd5e1 !important;
}

/* Image container — fixed aspect ratio box */
.product-item .product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1.15 / 1 !important;
    overflow: hidden;
    border-radius: 8px !important;
    background: #f8fafc !important;
    margin-bottom: 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9 !important;
}

.product-item .product-img a {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.product-item .product-img img.main-img,
.product-item .product-img img:not(.hover-img) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    transition: opacity 0.4s ease, transform 0.5s ease !important;
    position: relative;
    z-index: 1;
}

.product-item .product-img img.hover-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    opacity: 0 !important;
    z-index: 2 !important;
    transition: opacity 0.4s ease, transform 0.5s ease !important;
    transform: scale(1.05) !important;
    pointer-events: none !important;
}

.product-item:hover .product-img.has-hover img.main-img,
.product-item:hover .product-img.has-hover img:not(.hover-img),
.product-img.has-hover:hover img.main-img,
.product-img.has-hover:hover img:not(.hover-img) {
    opacity: 0 !important;
}

.product-item:hover .product-img.has-hover img.hover-img,
.product-img.has-hover:hover img.hover-img {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.product-item:hover .product-img:not(.has-hover) img {
    transform: scale(1.04) !important;
}

/* Badge */
.product-item .type {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 50px;
    z-index: 2;
}

/* Product title */
.product-item .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 4px !important;
}

.product-item .product-title {
    margin-bottom: 6px !important;
    font-size: 15px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px !important;
    max-height: 38px !important;
}

.product-item .product-title a {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.product-item .product-title a:hover {
    color: #396333 !important;
}

/* Rating */
.product-item .product-rate {
    font-size: 12px !important;
    color: #f59e0b !important;
    margin-bottom: 8px !important;
    display: flex;
    align-items: center;
    gap: 3px !important;
    height: 18px !important;
    min-height: 18px !important;
}

.product-item .product-rate .rating-text {
    font-size: 11px !important;
    color: #64748b !important;
    margin-left: 2px !important;
    font-weight: 500 !important;
}

/* product-bottom — price + buttons layout */
.product-item .product-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
    margin-top: auto !important;
}

/* Price container */
.product-price-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 3px;
    width: 100%;
    margin-bottom: 8px;
}

/* MRP line */
.mrp-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}

.mrp-label {
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 500;
}

.mrp-price {
    font-size: 11px !important;
    color: #64748b !important;
    text-decoration: line-through;
}

/* Selling price row */
.selling-price-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.selling-price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #dc2626 !important;
    line-height: 1.2 !important;
}

.discount-badge {
    display: inline-flex;
    align-items: center;
    background: #22c55e !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Savings line */
.savings-info {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.savings-text {
    font-size: 11px !important;
    color: #16a34a !important;
    font-weight: 600 !important;
}

/* Price on request */
.price-on-request {
    font-size: 13px !important;
    color: #64748b !important;
    font-style: italic;
}

/* Buttons group — right side of bottom row */
.product-btns-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Align standalone Buy Now + cart when not in group */
.product-bottom>.product-buy-now-btn,
.product-bottom>.theme-btn.theme-btn2 {
    flex-shrink: 0;
}

/* Hover action buttons */
.product-item:hover .product-action-wrap {
    bottom: 10px !important;
}

.product-action-wrap {
    bottom: 0 !important;
}

/* Product hover action buttons color overrides */
.product-action a {
    background: #396333 !important;
}

.product-action a:hover {
    background: #2d4e28 !important;
}

.tooltip-inner {
    background: #396333 !important;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before {
    border-top-color: #396333 !important;
}

.bs-tooltip-auto[data-popper-placement^=bottom] .tooltip-arrow::before {
    border-bottom-color: #396333 !important;
}

.bs-tooltip-auto[data-popper-placement^=left] .tooltip-arrow::before {
    border-left-color: #396333 !important;
}

.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
    border-right-color: #396333 !important;
}

/* Grid column equal height */
.product-item-col {
    display: flex;
    flex-direction: column;
}

/* Ensure row cards equal height */
.product-area .row>[class*="col-"] {
    display: flex;
}

.product-area .row>[class*="col-"] .product-item {
    width: 100%;
}

@media (max-width: 767px) {
    .selling-price {
        font-size: 14px !important;
    }

    .product-item .product-title {
        font-size: 13px;
    }

    .product-item {
        padding: 10px !important;
    }
}

/* ============================================
   PREMIUM BREADCRUMB UPGRADES (Global)
   ============================================ */
.site-breadcrumb {
    padding: 30px 0 !important;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%) !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-bottom: 3px solid #396333;
}

.site-breadcrumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.site-breadcrumb-bg {
    opacity: 0.12 !important;
    mix-blend-mode: overlay;
    filter: grayscale(100%) blur(4px);
}

.site-breadcrumb .breadcrumb-title {
    font-size: 25px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.site-breadcrumb .breadcrumb-title {
    .site-breadcrumb .breadcrumb-menu {
        background: rgba(255, 255, 255, 0.06) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        display: inline-flex !important;

        .site-breadcrumb .breadcrumb-menu {
            background: rgba(255, 255, 255, 0.06) !important;
            backdrop-filter: blur(10px) !important;
            -webkit-backdrop-filter: blur(10px) !important;
            display: inline-flex !important;
            padding: 0px 10px !important;


            .site-breadcrumb .breadcrumb-menu li {
                font-size: 14px !important;
                font-weight: 500 !important;
                color: rgba(255, 255, 255, 0.7) !important;
                margin-left: 20px !important;
            }

            .site-breadcrumb .breadcrumb-menu li a {
                color: rgba(255, 255, 255, 0.9) !important;
                display: inline-flex;
                align-items: center;
                gap: 5px;
                font-weight: 500 !important;
            }

            .site-breadcrumb .breadcrumb-menu li a i {
                font-size: 13px;
                opacity: 0.8;
            }

            .site-breadcrumb .breadcrumb-menu li a:hover {
                color: #FFD873 !important;
                text-shadow: 0 0 10px rgba(255, 216, 115, 0.3);
            }

            .site-breadcrumb .breadcrumb-menu li::before {
                content: "\f105" !important;
                font-family: 'Font Awesome 6 Pro' !important;
                right: -15px !important;
                color: rgba(255, 255, 255, 0.4) !important;
                font-size: 12px !important;
                top: 2.5px !important;
            }

            .site-breadcrumb .breadcrumb-menu li.active {
                color: #FFD873 !important;
                font-weight: 600 !important;
            }

/* ============================================
   HEADER NAVIGATION USER DROPDOWN & LOGIN
   ============================================ */
.header-user-trigger {
    background: #396333 !important;
    color: #fff !important;
    border-color: #396333 !important;
    box-shadow: 0 4px 10px rgba(57, 99, 51, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.header-user-trigger:hover,
.header-user-trigger[aria-expanded="true"] {
    background: #203d20 !important;
    border-color: #203d20 !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(57, 99, 51, 0.35);
}

.header-user-trigger .user-avatar-icon {
    font-size: 22px !important;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
}

.header-user-trigger .user-name-text {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-user-trigger .chevron-arrow {
    margin-left: 6px;
    font-size: 9px;
    display: inline-flex;
    align-items: center;
}

.header-login-btn,
.login-btn-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #FFD873 !important;
    color: #0f172a !important;
    border: 1px solid #FFD873 !important;
    box-shadow: 0 3px 10px rgba(255, 216, 115, 0.35) !important;
    border-radius: 50px !important;
    padding: 7px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.header-login-btn i,
.login-btn-link i {
    font-size: 15px !important;
}

.header-login-btn:hover,
.login-btn-link:hover {
    background: #f7c948 !important;
    border-color: #f7c948 !important;
    color: #0f172a !important;
    box-shadow: 0 6px 14px rgba(247, 201, 72, 0.45) !important;
    transform: translateY(-2px) !important;
}

/* Premium Infinite Announcement Marquee Bar */
.top-announcement-bar {
    background: #1c3319 !important; /* Rich Dark Theme Green */
    color: #ffffff !important;
    overflow: hidden !important;
    position: relative !important;
    width: 100% !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    user-select: none !important;
    z-index: 1002 !important;
    white-space: nowrap !important;
}

.top-announcement-bar:hover .announcement-marquee-track {
    animation-play-state: paused !important;
}

.announcement-marquee-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content !important;
    animation: topMarqueeSlide 22s linear infinite !important;
    will-change: transform !important;
}

.announcement-marquee-content {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.announcement-item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 24px !important;
    color: #ffffff !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.ticker-star {
    margin-left: 24px !important;
    color: #ffd873 !important; /* Premium Theme Gold Accent */
    font-style: normal !important;
    font-size: 12px !important;
    display: inline-block !important;
}

@keyframes topMarqueeSlide {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@-webkit-keyframes topMarqueeSlide {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
    }
}

/* Compact In-Header Ticker Marquee */
.header-ticker-container {
    overflow: hidden !important;
    white-space: nowrap !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

.header-ticker-track {
    display: flex !important;
    width: max-content !important;
    animation: topMarqueeSlide 22s linear infinite !important;
    will-change: transform !important;
}

.header-ticker-text {
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 16px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #FFD873 !important;
    text-decoration: none !important;
}

.header-ticker-text:hover {
    cursor: default !important;
}

/* ============================================
   VARIANT THUMBNAILS SCROLLER STYLES
   ============================================ */
.pvc-variant-section, .plp-variant-section {
    width: 100%;
    margin-top: 4px;
    margin-bottom: 8px;
}

.pvc-thumbnails-outer, .plp-thumbnails-outer {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    width: 100%;
}

.pvc-thumbnails-viewport, .plp-thumbnails-viewport {
    overflow: hidden;
    width: 135px;
    max-width: 100%;
}

.pvc-thumbnails-container, .plp-thumbnails-container {
    display: flex;
    gap: 4px;
    transition: transform 0.3s ease;
}

.pvc-thumb-item, .plp-thumb-item {
    width: 28px;
    height: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.pvc-thumb-item img, .plp-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.pvc-thumb-item.active, .plp-thumb-item.active {
    border-color: #396333 !important;
    border-width: 2px !important;
    box-shadow: 0 2px 6px rgba(57, 99, 51, 0.25) !important;
}

.pvc-thumb-item:hover, .plp-thumb-item:hover {
    border-color: #396333;
    transform: scale(1.05);
}

.pvc-nav-group, .plp-nav-group {
    display: flex;
    gap: 3px;
    margin-left: auto;
    flex-shrink: 0;
}

.pvc-nav-btn, .plp-nav-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    padding: 0;
    color: #475569;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pvc-nav-btn:hover, .plp-nav-btn:hover {
    background: #396333;
    border-color: #396333;
    color: #ffffff;
    transform: scale(1.1);
}