:root {
    --vgm-primary: #15803d;
    --vgm-primary-600: #16a34a;
    --vgm-primary-50: #ecfdf3;
    --vgm-primary-100: #dcfce7;
    --vgm-primary-dark: #14532d;
    --vgm-accent: #f59e0b;
    --vgm-accent-50: #fffbeb;
    --vgm-danger: #dc2626;
    --vgm-info: #0891b2;
    --vgm-slate: #0f172a;
    --vgm-muted: #000;
    --vgm-border: #e2e8f0;
    --vgm-soft: #f8fafc;
    --vgm-card-shadow: 0 14px 34px rgba(15, 23, 42, .08);
    --vgm-royal: #0f172a;
    --vgm-royal-green: #047857;
    --vgm-royal-gold: #f6c453;
    --main-600: var(--vgm-primary-600);
    --main-500: var(--vgm-primary);
    --main-50: var(--vgm-primary-50);
}

body {
    color: var(--vgm-slate);
    background-color: #f8fafc;
}

a,
.text-main-600,
.link:hover {
    color: var(--vgm-primary) !important;
}

.bg-main-600,
.btn-main,
.btn-primary,
.mobile-bottom-nav .is-active,
.mobile-bottom-nav a.active {
    background: linear-gradient(135deg, var(--vgm-primary-600), #176534) !important;
    border-color: var(--vgm-primary) !important;
    color: #ffffff !important;
}

.btn-main:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #166534, var(--vgm-primary-dark)) !important;
    border-color: #166534 !important;
}

.btn-outline-main,
.btn-outline-primary {
    border-color: var(--vgm-primary) !important;
    color: var(--vgm-primary) !important;
}

.btn-outline-main:hover,
.btn-outline-primary:hover {
    background: var(--vgm-primary) !important;
    color: #ffffff !important;
}

.btn,
.auth-primary-btn,
.auth-social-btn,
.product-card__cart,
.product-card__buy-now,
.smart-recommendation-card__button,
.cart-action-link,
.cart-delete-btn,
.coupon-remove-btn,
.edit-address-btn,
.shop-clear-link,
.shop-filter-heading a,
.advanced-search-empty a,
.advanced-search-section__head button,
.logout-link-button {
    align-items: center;
    border-radius: 8px !important;
    display: inline-flex;
    gap: 7px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1.1;
    text-decoration: none !important;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease, transform .18s ease;
}

.btn:not(.btn-sm),
.auth-primary-btn,
.auth-social-btn {
    min-height: 38px;
    padding: 8px 14px !important;
}

.btn-sm,
.cart-action-link,
.cart-delete-btn,
.coupon-remove-btn,
.edit-address-btn,
.shop-clear-link,
.shop-filter-heading a,
.advanced-search-section__head button,
.logout-link-button {
    min-height: 32px;
    padding: 7px 11px !important;
}

.btn i,
.auth-primary-btn i,
.auth-social-btn i,
.cart-action-link i,
.cart-delete-btn i,
.coupon-remove-btn i,
.edit-address-btn i,
.shop-clear-link i,
.shop-filter-heading a i,
.advanced-search-empty a i {
    color: inherit !important;
    flex: 0 0 auto;
}

.btn-main,
.btn-primary,
.auth-primary-btn,
.checkout-mobile-place-btn,
.advanced-search-submit,
.mobile-search-submit {
    background: linear-gradient(135deg, #0f5132 0%, var(--vgm-royal-green) 58%, var(--vgm-royal) 100%) !important;
    border: 0 !important;
    box-shadow: 0 12px 22px rgba(4, 120, 87, .2), inset 0 1px 0 rgba(255, 255, 255, .18) !important;
    color: #ffffff !important;
    overflow: hidden;
    position: relative;
}

.btn-main::before,
.btn-primary::before,
.auth-primary-btn::before,
.checkout-mobile-place-btn::before,
.advanced-search-submit::before,
.mobile-search-submit::before {
    background: linear-gradient(90deg, transparent, rgba(246, 196, 83, .72), transparent);
    content: "";
    height: 1px;
    left: 12px;
    position: absolute;
    right: 12px;
    top: 0;
}

.btn-main:hover,
.btn-primary:hover,
.auth-primary-btn:hover,
.checkout-mobile-place-btn:hover,
.advanced-search-submit:hover,
.mobile-search-submit:hover {
    background: linear-gradient(135deg, #0b3b25 0%, #065f46 58%, #111827 100%) !important;
    box-shadow: 0 14px 26px rgba(15, 23, 42, .24), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-success,
.is-added-to-cart {
    background: linear-gradient(135deg, #166534, #047857) !important;
    border: 0 !important;
    box-shadow: 0 10px 18px rgba(22, 101, 52, .18) !important;
    color: #ffffff !important;
}

.btn-outline-main,
.btn-outline-primary,
.btn-outline-success,
.btn-light,
.auth-social-btn {
    background: linear-gradient(135deg, #172033, #0f172a) !important;
    border: 0 !important;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .16), inset 0 1px 0 rgba(255, 255, 255, .14) !important;
    color: #ffffff !important;
}

.btn-outline-main:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-light:hover,
.auth-social-btn:hover {
    background: linear-gradient(135deg, #1f2937, #064e3b) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn-danger,
.btn-outline-danger,
.cart-delete-btn,
.coupon-remove-btn,
.wishlist-remove {
    background: linear-gradient(135deg, #be123c, #dc2626) !important;
    border: 0 !important;
    box-shadow: 0 10px 18px rgba(220, 38, 38, .18) !important;
    color: #ffffff !important;
}

.btn-danger:hover,
.btn-outline-danger:hover,
.cart-delete-btn:hover,
.coupon-remove-btn:hover,
.wishlist-remove:hover {
    background: linear-gradient(135deg, #991b1b, #be123c) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.cart-action-link,
.edit-address-btn,
.shop-clear-link,
.shop-filter-heading a,
.advanced-search-empty a,
.advanced-search-section__head button,
.logout-link-button {
    background: linear-gradient(135deg, #1f2937, #0f172a) !important;
    border: 0 !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, .12) !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 850;
}

.cart-action-link:hover,
.edit-address-btn:hover,
.shop-clear-link:hover,
.shop-filter-heading a:hover,
.advanced-search-empty a:hover,
.advanced-search-section__head button:hover,
.logout-link-button:hover {
    background: linear-gradient(135deg, #0f5132, #0f172a) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.btn:disabled,
.btn.disabled,
button:disabled,
.checkout-mobile-place-btn:disabled {
    box-shadow: none !important;
    cursor: not-allowed;
    opacity: .62;
    transform: none !important;
}

.bg-main-50,
.badge.bg-success-50,
.text-success-700.bg-success-50 {
    background: var(--vgm-primary-50) !important;
    color: var(--vgm-primary) !important;
}

.product-card__cart.add-to-cart-btn:not(.is-added-to-cart),
.product-card__cart.bg-main-50.add-to-cart-btn:not(.is-added-to-cart) {
    background: linear-gradient(135deg, #0f5132 0%, var(--vgm-royal-green) 60%, var(--vgm-royal) 100%) !important;
    border: 0 !important;
    box-shadow: 0 10px 20px rgba(4, 120, 87, .2), inset 0 1px 0 rgba(255, 255, 255, .16);
    color: #ffffff !important;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-card__cart.add-to-cart-btn:not(.is-added-to-cart) i {
    color: inherit !important;
}

.product-card__cart.add-to-cart-btn:not(.is-added-to-cart):hover,
.product-card__cart.bg-main-50.add-to-cart-btn:not(.is-added-to-cart):hover {
    background: linear-gradient(-135deg, var(--vgm-primary-600), #095626) !important;
    border-color: #0f172a !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .22);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.product-card__buy-now,
.product-card .product-card__buy-now.btn-main {
    background: linear-gradient(135deg, #1f2937 0%, var(--vgm-royal) 64%, #064e3b 100%) !important;
    border: 0 !important;
    box-shadow: 0 10px 20px rgba(15, 23, 42, .2), inset 0 1px 0 rgba(246, 196, 83, .24) !important;
    color: #ffffff !important;
}

.product-card__buy-now:hover,
.product-card .product-card__buy-now.btn-main:hover {
    background: linear-gradient(135deg, #111827 0%, #065f46 100%) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .24) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.product-card__cart.is-added-to-cart {
    background: linear-gradient(135deg, #166534, #047857) !important;
    border: 0 !important;
    color: #ffffff !important;
}

.smart-recommendation-card__button {
    border-radius: 8px !important;
    color: #ffffff !important;
}

.smart-recommendation-card__buy {
    background: linear-gradient(135deg, #1f2937, var(--vgm-royal) 64%, #064e3b) !important;
    box-shadow: 0 10px 18px rgba(15, 23, 42, .18), inset 0 1px 0 rgba(246, 196, 83, .2) !important;
}

.smart-recommendation-card__actions .add-to-cart-btn {
    background: linear-gradient(135deg, #0f5132, var(--vgm-royal-green) 58%, var(--vgm-royal)) !important;
    box-shadow: 0 10px 18px rgba(4, 120, 87, .18), inset 0 1px 0 rgba(255, 255, 255, .14) !important;
}

.smart-recommendation-card__button.is-added-to-cart {
    background: linear-gradient(135deg, #166534, #047857) !important;
}

.smart-recommendation-card__button.is-disabled {
    background: linear-gradient(135deg, #64748b, #334155) !important;
    box-shadow: none !important;
}

.border-main-600,
.hover-border-main-600:hover,
.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--vgm-primary-600) !important;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, .12) !important;
}

.header-top,
.header-middle,
.header-bottom,
.mobile-sticky-search,
.mobile-search-sticky,
.sticky-search {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
}

.header-top {
    background: linear-gradient(90deg, var(--vgm-primary-dark), var(--vgm-primary)) !important;
    color: #ffffff;
}

.header-top a,
.header-top span {
    color: #ffffff !important;
}

.browse-category,
.category-button,
.browse-categories,
.mobile-search-submit {
    background: var(--vgm-primary) !important;
    border-color: var(--vgm-primary) !important;
    color: #ffffff !important;
}

.product-card,
.cart-card,
.checkout-card,
.customer-card,
.order-card,
.blog-card,
.demo-trust-item,
.category-item {
    border-color: var(--vgm-border) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .06);
}

.product-card:hover,
.cart-card:hover,
.order-card:hover,
.category-item:hover {
    border-color: rgba(22, 163, 74, .35) !important;
    box-shadow: var(--vgm-card-shadow);
}

.badge-success,
.bg-success,
.text-bg-success {
    background-color: var(--vgm-primary-600) !important;
}

.badge-warning,
.bg-warning,
.text-bg-warning {
    background-color: var(--vgm-accent) !important;
    color: #111827 !important;
}

.badge-info,
.bg-info,
.text-bg-info {
    background-color: var(--vgm-info) !important;
}

.deal-discount-ribbon,
.discount-badge,
.offer-badge {
    background: linear-gradient(135deg, #f97316, #e11d48) !important;
    color: #ffffff !important;
}

.swiper-pagination-bullet-active,
.slick-dots li.slick-active button {
    background: var(--vgm-primary-600) !important;
}

.mobile-bottom-nav,
.customer-bottom-nav,
.vendor-bottom-nav {
    border-color: var(--vgm-border);
    box-shadow: 0 -14px 32px rgba(15, 23, 42, .10);
}

.mobile-bottom-nav a,
.customer-bottom-nav a,
.vendor-bottom-nav a {
    color: var(--vgm-muted);
}

.mobile-bottom-nav a.active,
.customer-bottom-nav a.active,
.vendor-bottom-nav a.active {
    color: var(--vgm-primary) !important;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        background: linear-gradient(180deg, var(--vgm-primary-600), var(--vgm-primary-dark)) !important;
        border-top: 1px solid rgba(255, 255, 255, .18) !important;
        box-shadow: 0 -18px 36px rgba(4, 120, 87, .28) !important;
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    .mobile-bottom-nav a,
    .mobile-bottom-nav button {
        color: #ffffff !important;
    }

    .mobile-bottom-nav i,
    .mobile-bottom-nav span:last-child {
        color: #ffffff !important;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav button.is-active {
        background: rgba(255, 255, 255, .14);
        color: #ffffff !important;
    }

    .mobile-bottom-nav .mobile-bottom-count {
        background: #ffffff !important;
        color: var(--vgm-primary-dark) !important;
        box-shadow: 0 4px 10px rgba(15, 23, 42, .18);
    }

    .mobile-category-sheet {
        inset: 0;
        opacity: 0;
        pointer-events: none;
        position: fixed;
        transition: opacity .2s ease;
        z-index: 1000;
    }

    .mobile-category-sheet.is-open {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-category-sheet__backdrop {
        background: rgba(15, 23, 42, .46);
        inset: 0;
        position: absolute;
    }

    .mobile-category-sheet__panel {
        background: #ffffff;
        border-radius: 22px 22px 0 0;
        bottom: 0;
        box-shadow: 0 -24px 70px rgba(15, 23, 42, .28);
        left: 0;
        max-height: min(78vh, 620px);
        overflow: hidden;
        padding: 8px 14px calc(84px + env(safe-area-inset-bottom));
        position: absolute;
        right: 0;
        transform: translateY(104%);
        transition: transform .24s ease;
    }

    .mobile-category-sheet.is-open .mobile-category-sheet__panel {
        transform: translateY(0);
    }

    .mobile-category-sheet__handle {
        background: #d1d5db;
        border-radius: 999px;
        height: 4px;
        margin: 2px auto 12px;
        width: 42px;
    }

    .mobile-category-sheet__head {
        align-items: center;
        display: flex;
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .mobile-category-sheet__head span {
        color: var(--vgm-primary);
        display: block;
        font-size: 11px;
        font-weight: 900;
        line-height: 1;
        text-transform: uppercase;
    }

    .mobile-category-sheet__head h6 {
        color: #0f172a;
        font-size: 18px;
        font-weight: 950;
        line-height: 1.15;
        margin: 4px 0 0;
    }

    .mobile-category-sheet__head button {
        align-items: center;
        background: #f1f5f9;
        border: 0;
        border-radius: 50%;
        color: #334155;
        display: inline-flex;
        height: 36px;
        justify-content: center;
        width: 36px;
    }

    .mobile-category-sheet__grid {
        display: grid;
        gap: 12px 10px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: calc(min(78vh, 620px) - 92px);
        overflow-y: auto;
        padding: 2px 0 10px;
    }

    .mobile-category-sheet__item {
        align-items: center;
        color: #0f172a;
        display: flex;
        flex-direction: column;
        gap: 7px;
        min-width: 0;
        text-align: center;
        text-decoration: none;
    }

    .mobile-category-sheet__media {
        align-items: center;
        background: #ecfdf5;
        border: 1px solid #dcfce7;
        border-radius: 50%;
        display: inline-flex;
        height: 64px;
        justify-content: center;
        overflow: hidden;
        width: 64px;
    }

    .mobile-category-sheet__media img {
        height: 100%;
        object-fit: cover;
        width: 100%;
    }

    .mobile-category-sheet__title {
        color: #0f172a;
        display: -webkit-box;
        font-size: 11px;
        font-weight: 850;
        line-height: 1.18;
        max-width: 100%;
        min-height: 26px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    body.mobile-category-sheet-open {
        overflow: hidden;
    }
}
