/* Tradelink Express — brand color tokens only (layout from Wolmart demo1.min.css) */

:root {
    --tl-primary: #1E4D9D;
    --tl-secondary: #00BAE1;
    --tl-accent: #FFD200;
    --tl-green: #00A651;
    --tl-red: #ED1C24;
    --tl-container-max: 1472px;
}

/* Wider content area — ~15% beyond Wolmart’s 1280px container */
.container {
    max-width: var(--tl-container-max);
}

@media (min-width: 992px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Sharp edges — buttons, inputs, cards (keep intentional circles: chat bubble, slider dots) */
.btn,
.form-control,
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.input-wrapper,
.product-wrap,
.product,
.product-media,
.product-category,
.banner,
.card,
.dropdown-box,
.cart-dropdown,
.minicart,
.search-suggestions,
.tl-hero-slider,
.product-label,
.header-search .form-control,
.header-search .btn,
.page-link,
.alert,
.hs-round .form-control,
.hs-round .btn,
.hs-expanded .form-control,
.hs-expanded .btn,
.quantity-plus-minus input,
.quantity-plus-minus .quantity-minus,
.quantity-plus-minus .quantity-plus,
.tl-qty-stepper,
.tl-qty-stepper .tl-qty-btn,
.tl-qty-stepper .tl-cart-qty-input,
.toolbox select,
.nav-tabs .nav-link,
.dropdown-menu,
.post,
.widget,
.coupon,
.order-summary,
.shop-table,
.login-popup,
.mfp-content,
.vendor-widget,
.product-form select,
.product-variations select,
.filter-toggle,
.product-filters select,
.sidebar-content,
.tag,
.onsale,
.product-action .btn,
.product-action-vertical .btn,
.swiper-button-prev,
.swiper-button-next {
    border-radius: 0 !important;
}

/* Topbar — refined green strip (Wolmart defaults assume gray bg + dark text) */
.header-top {
    background-color: var(--tl-green);
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 0;
    text-transform: none;
}

.header-top .welcome-msg {
    margin: 0;
    padding: 0.7rem 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 36rem;
}

.header-top a,
.header-top .header-right .delimiter {
    color: #fff;
}

.header-top .header-right a {
    font-weight: 500;
}

.header-top .header-right a:hover {
    color: rgba(255, 255, 255, 0.85);
}

.header-top .header-right .delimiter {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.header-top .header-right .divider {
    background-color: rgba(255, 255, 255, 0.35);
}

.header-top .login .w-icon-account {
    width: auto;
    height: auto;
    margin-right: 0.45rem;
    font-size: 1.45rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
    border: 0;
    background: transparent;
}

.header-top .login:hover,
.header-top .login:hover .w-icon-account {
    color: #fff;
    opacity: 1;
}

@media (max-width: 1199px) {
    .header-top .welcome-msg {
        max-width: 22rem;
    }
}

@media (max-width: 991px) {
    .header-top .welcome-msg {
        display: none;
    }
}

/* Mobile header — tighter spacing, smaller icons, brand colors */
@media (max-width: 991px) {
    .header-middle {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .header-middle .logo img {
        max-height: 3.8rem;
        max-width: 11rem;
    }

    .mobile-menu-toggle {
        font-size: 2rem;
        margin-right: 0.5rem;
        color: #333;
    }

    .header-middle .header-right .wishlist,
    .header-middle .header-right .cart-toggle,
    .header-middle .header-right .header-call {
        margin-right: 0.75rem;
    }

    .header-middle .header-right .wishlist i,
    .header-middle .header-right .cart-toggle i,
    .header-middle .header-right .w-icon-call {
        font-size: 2.1rem !important;
        line-height: 1;
        color: #333;
    }

    .header-middle .header-right .cart-count {
        min-width: 1.6rem;
        height: 1.6rem;
        font-size: 1rem;
        line-height: 1.6rem;
        background: var(--tl-green);
    }

    .header-middle .header-right .wishlist:hover,
    .header-middle .header-right .cart-toggle:hover,
    .header-middle .header-right .header-call:hover {
        color: var(--tl-green);
    }
}

@media (max-width: 479px) {
    .header-middle {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .header-middle .logo img {
        max-height: 3.4rem;
        max-width: 9.5rem;
    }

    .mobile-menu-toggle {
        font-size: 1.85rem;
    }

    .header-middle .header-right .wishlist i,
    .header-middle .header-right .cart-toggle i,
    .header-middle .header-right .w-icon-call {
        font-size: 1.9rem !important;
    }
}

/* Trust bar — brand green icons (not Wolmart blue) */
.tl-trust-item .icon-box-icon i {
    color: var(--tl-green) !important;
}

.tl-trust-bar .swiper-wrapper {
    align-items: stretch;
}

.tl-trust-bar .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

/* Scroll-to-top — theme green */
#scroll-top {
    color: var(--tl-green);
    border-color: var(--tl-green);
}

#scroll-top:hover,
#scroll-top:focus {
    color: #fff;
    background: var(--tl-green);
}

#scroll-top #progress-indicator {
    stroke: var(--tl-green);
}

/* Login / register modal — spacious popup with brand tabs */
.mfp-login-popup.mfp-wrap .mfp-content {
    max-width: 56rem;
    width: calc(100% - 3rem);
}

.mfp-login-popup .mfp-content > .login-popup {
    width: 100%;
    max-width: none;
}

.mfp-login-popup .login-popup {
    padding: 3.5rem 4.5rem 3rem;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: min(90vh, 80rem);
    box-sizing: border-box;
}

.mfp-login-popup .login-popup .nav.nav-tabs .nav-item {
    width: calc(50% - 0.5rem);
    margin: 0 !important;
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

.mfp-login-popup .login-popup .nav.nav-tabs .nav-item:first-child {
    margin-right: 1rem !important;
}

.mfp-login-popup .login-popup .nav-item .nav-link {
    padding: 1.2rem 0;
    font-size: 1.5rem;
}

.mfp-login-popup .login-popup .tab-content {
    padding-top: 0;
}

.mfp-login-popup .login-popup .tab-pane {
    padding-top: 2.5rem;
    padding-bottom: 0.5rem;
}

.mfp-login-popup .login-popup .form-group {
    margin-bottom: 2rem;
}

.mfp-login-popup .login-popup .form-control {
    min-height: 4.4rem;
}

.mfp-login-popup .login-popup .form-checkbox {
    margin-top: 1.75rem;
    margin-bottom: 2rem;
}

.mfp-login-popup .login-popup .btn-primary {
    width: 100%;
    min-height: 4.6rem;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}

.mfp-login-popup .login-popup .nav-tabs .nav-link.active,
.mfp-login-popup .login-popup .nav-tabs .nav-item:hover .nav-link {
    color: var(--tl-green);
}

.mfp-login-popup .login-popup .tab-nav-underline .nav-link.active::after,
.mfp-login-popup .login-popup .tab-nav-underline .nav-item:hover .nav-link::after {
    border-color: var(--tl-green);
}

@media (max-width: 767px) {
    .mfp-login-popup .login-popup {
        padding: 2.5rem 2rem 2rem;
    }

    .mfp-login-popup .login-popup .nav-item .nav-link {
        font-size: 1.35rem;
    }
}

.header-middle .wishlist:hover,
.header-middle .cart-toggle:hover {
    color: var(--tl-green);
}

/* Horizontal category megamenu */
.header-bottom .header-left {
    flex: 1;
    min-width: 0;
}

.header-bottom .main-nav {
    position: relative;
    margin-left: 0;
    width: 100%;
}

.tl-category-nav {
    flex-wrap: nowrap;
    position: relative;
}

.tl-category-nav > li {
    position: static;
}

.tl-category-nav > li > a {
    white-space: nowrap;
    font-weight: 600;
    font-size: 1.35rem;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #333;
    padding-top: 1.15rem !important;
    padding-bottom: 1.1rem !important;
    transition: color 0.2s ease;
}

.tl-category-nav > li:hover > a,
.tl-category-nav > li.active > a,
.tl-category-nav.menu > li:hover > a:not(.menu-title),
.tl-category-nav.menu > li.active > a:not(.menu-title) {
    color: var(--tl-green) !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
}

.tl-category-nav.active-underline > li.active > a::before,
.tl-category-nav.active-underline > li:hover > a::before {
    border-color: var(--tl-green) !important;
}

/* Full-width mega panel — spans entire nav (Home → Solars) */
.tl-category-nav > li > .megamenu.tl-mega-panel {
    left: 0 !important;
    right: 0;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100%;
    padding: 0 !important;
    margin: 0;
    border-radius: 0 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tl-category-nav > li:hover > .megamenu.tl-mega-panel,
.tl-category-nav > li.show > .megamenu.tl-mega-panel {
    top: 100% !important;
    transform: none !important;
}

.tl-mega-panel .tl-mega-shell {
    flex: 1 1 100%;
    width: 100%;
    padding: 0 !important;
    margin: 0;
    list-style: none;
}

.tl-mega-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 2rem;
    background: #fff;
}

.tl-mega-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    letter-spacing: -0.01em;
}

.tl-mega-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.tl-mega-all i {
    font-size: 1.1rem;
    line-height: 1;
}

.tl-mega-all:hover {
    color: var(--tl-green);
}

.tl-mega-panel a:hover {
    color: inherit;
}

.tl-mega-columns {
    display: flex;
    width: 100%;
    background: #fff;
}

.tl-mega-col {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 2rem 1.4rem;
    border-right: 1px solid #e5e7eb;
}

.tl-mega-col:last-child {
    border-right: none;
}

.tl-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl-mega-list > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.45rem 0;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.35;
    color: #444;
    transition: color 0.2s ease;
}

.tl-mega-list > li > a span {
    flex: 1;
    min-width: 0;
}

.tl-mega-list > li > a i {
    flex-shrink: 0;
    font-size: 1rem;
    color: #333;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.tl-mega-list > li > a:hover {
    color: #111 !important;
    font-weight: 500;
    padding-left: 0;
}

.tl-mega-list > li > a:hover i {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1199px) {
    .tl-category-nav > li > a,
    .tl-category-nav > li:hover > a,
    .tl-category-nav > li.active > a {
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .tl-mega-col {
        padding: 0.5rem 1.4rem 1.2rem;
    }

    .tl-mega-list > li > a {
        font-size: 1.2rem;
    }

    .tl-mega-head {
        padding: 0.75rem 1.6rem;
    }
}

@media (max-width: 991px) {
    .header-bottom .main-nav {
        display: none;
    }
}

/* Homepage trust bar — compact auto-rotating carousel on mobile/tablet */
@media (max-width: 991px) {
    .tl-trust-bar.icon-box-wrapper {
        padding: 0.65rem 0.85rem 0.25rem;
        margin-top: 0.85rem !important;
        margin-bottom: 0.85rem !important;
    }

    .tl-trust-bar .swiper-slide {
        height: auto;
    }

    .tl-trust-bar .icon-box-side {
        align-items: center;
        padding: 0.1rem 0.35rem;
        min-height: 0;
    }

    .tl-trust-bar .icon-box-icon {
        margin-right: 0.75rem !important;
        margin-bottom: 0 !important;
        line-height: 1;
    }

    .tl-trust-bar .icon-box-icon i {
        font-size: 2.2rem !important;
    }

    .tl-trust-bar .icon-box-icon i.w-icon-truck {
        font-size: 2.4rem !important;
    }

    .tl-trust-bar .icon-box-title {
        font-size: 1.15rem;
        line-height: 1.25;
        margin-bottom: 0.05rem !important;
        font-weight: 600;
    }

    .tl-trust-bar .icon-box-content p {
        font-size: 1.05rem;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .tl-trust-bar .tl-trust-pagination {
        position: relative;
        bottom: auto !important;
        margin-top: 0.35rem;
        line-height: 1;
    }

    .tl-trust-bar .tl-trust-pagination .swiper-pagination-bullet {
        width: 0.4rem;
        height: 0.4rem;
        margin: 0 0.22rem;
        opacity: 0.35;
        background: #bbb;
    }

    .tl-trust-bar .tl-trust-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: var(--tl-green);
    }
}

@media (min-width: 992px) {
    .tl-trust-bar .tl-trust-pagination {
        display: none;
    }
}

/* Mobile drawer — clean white panel (overrides Wolmart #222 defaults) */
.tl-mobile-menu-wrapper .mobile-menu-container {
    max-width: 31rem;
    width: min(31rem, 88vw);
    padding: 0;
    background: #fff;
    border-left: none;
    box-shadow: 2px 0 18px rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
}

.mmenu-active .tl-mobile-menu-wrapper .mobile-menu-container {
    transform: translateX(0);
}

.tl-mobile-menu-head {
    padding: 1.2rem 1.4rem 1rem;
    border-bottom: 1px dotted #ddd;
    background: #fff;
}

.tl-mobile-menu-brand {
    margin-bottom: 0.85rem;
    text-align: left;
}

.tl-mobile-menu-brand img {
    max-height: 4.2rem;
    width: auto;
    display: block;
}

.tl-mobile-menu-wrapper .mobile-menu-container .input-wrapper {
    display: flex;
    align-items: stretch;
    margin: 0;
    height: 4rem;
    border: 1px solid #ddd;
    background: #fff;
    overflow: hidden;
}

.tl-mobile-menu-wrapper .mobile-menu-container .input-wrapper .form-control {
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    padding: 0 1rem;
    border: none;
    background: #fff;
    color: #333;
    font-size: 1.3rem;
    line-height: 1.4;
    box-sizing: border-box;
}

.tl-mobile-menu-wrapper .mobile-menu-container .input-wrapper .form-control::placeholder {
    color: #999;
}

.tl-mobile-menu-wrapper .mobile-menu-container .input-wrapper .btn-search {
    flex: 0 0 4.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 4.2rem;
    height: 100%;
    padding: 0;
    margin: 0;
    border: none;
    border-left: 1px solid #ddd;
    background: var(--tl-green);
    color: #fff;
    font-size: 1.8rem;
    align-self: stretch;
    box-sizing: border-box;
}

.tl-mobile-menu-wrapper .mobile-menu-container .input-wrapper .btn-search i {
    margin: 0;
    line-height: 1;
}

.tl-mobile-menu-wrapper .mobile-menu-container .input-wrapper .btn-search:hover {
    background: #008f47;
    color: #fff;
}

.tl-mobile-menu-wrapper .mobile-menu-container .mobile-menu {
    margin: 0;
    padding: 0;
    background: #fff !important;
    color: #333;
    font-size: 1.3rem;
    font-weight: 400;
}

.tl-mobile-menu-wrapper .mobile-menu > li:not(:last-child) {
    border-bottom: 1px dotted #ddd;
}

.tl-mobile-menu-wrapper .mobile-menu > li {
    border-bottom: none;
}

.tl-mobile-menu.tl-mobile-menu {
    padding: 0 0 1.5rem;
}

.tl-mobile-menu > li {
    border-bottom: none;
}

.tl-mobile-menu > li > a {
    color: #333;
    font-weight: 400;
    padding: 0.95rem 1.4rem;
}

.tl-mobile-menu > li > a:hover,
.tl-mobile-menu > li.show > a,
.tl-mobile-menu-wrapper .mobile-menu > li.show > a,
.tl-mobile-menu-wrapper .mobile-menu > li:hover > a {
    color: var(--tl-green);
    background: #f7faf8;
}

.tl-mobile-menu li a {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    padding-left: 1.4rem;
    padding-right: 3.2rem;
    font-weight: 400;
}

.tl-mobile-menu li li a {
    color: #555;
    padding-left: 2.2rem;
    font-size: 1.25rem;
    font-weight: 400;
}

.tl-mobile-menu li li {
    border-bottom: 1px dotted #e5e5e5;
}

.tl-mobile-menu li li:last-child {
    border-bottom: none;
}

.tl-mobile-menu li li a:hover,
.tl-mobile-menu-wrapper .mobile-menu li li a:hover {
    color: #111;
    background: #f5f5f5;
}

.tl-mobile-menu li.show > ul {
    background: #fafafa;
    border-top: 1px dotted #ddd;
}

.tl-mobile-menu li li a.tl-mobile-view-all {
    color: var(--tl-green);
    font-weight: 500;
    border-bottom: 1px dotted #ddd;
    background: #f7faf8;
}

.tl-mobile-menu li li a.tl-mobile-view-all:hover {
    color: #008f47;
    background: #eef6f1;
}

.tl-mobile-menu .toggle-btn {
    right: 0.6rem;
    opacity: 0.45;
}

.tl-mobile-menu .toggle-btn::before {
    color: #666;
}

.tl-mobile-menu > li.show > a .toggle-btn::before {
    color: var(--tl-green);
}

.tl-mobile-menu-wrapper .mobile-menu-container.scrollable::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

/* Shared swiper controls — always-visible arrows, swipe-friendly */
.tl-swiper-wrap {
    position: relative;
}

.tl-swiper-wrap .swiper-container,
.tl-hero-slider {
    overflow: hidden;
}

.tl-swiper-wrap .tl-swiper-arrow,
.tl-hero-slider .tl-swiper-arrow {
    opacity: 1 !important;
    visibility: visible !important;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: var(--tl-green);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.25s ease, opacity 0.25s ease;
    z-index: 4;
}

.tl-swiper-wrap .tl-swiper-arrow::after,
.tl-hero-slider .tl-swiper-arrow::after {
    font-size: 1.15rem;
    font-weight: 700;
}

.tl-swiper-wrap .tl-swiper-arrow:hover,
.tl-hero-slider .tl-swiper-arrow:hover {
    background: #fff;
    color: var(--tl-green);
    border-color: rgba(0, 166, 81, 0.25);
    box-shadow: 0 2px 12px rgba(0, 166, 81, 0.2);
}

.tl-swiper-wrap .swiper-button-prev {
    left: 0.4rem;
}

.tl-swiper-wrap .swiper-button-next {
    right: 0.4rem;
}

.tl-swiper-wrap .swiper-button-disabled {
    opacity: 0.35 !important;
    pointer-events: none;
}

.tl-product-slider-wrap {
    padding: 0 0.5rem;
}

.tl-product-slider .swiper-slide {
    height: auto;
    display: flex;
}

.tl-product-slider .swiper-slide > .product {
    width: 100%;
}

.tl-product-slider .product {
    margin-bottom: 0;
}

/* Uniform product card images — shop grids, carousels, related products */
.row.product-wrapper .product,
.tl-product-slider .product {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
}

.row.product-wrapper .product-media,
.tl-product-slider .product-media {
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 1.2rem;
}

.row.product-wrapper .product-media > a,
.tl-product-slider .product-media > a {
    display: block;
    aspect-ratio: 295 / 335;
    overflow: hidden;
    background-color: #f8f8f8;
}

.row.product-wrapper .product-media img,
.tl-product-slider .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: static !important;
    opacity: 1 !important;
}

.row.product-wrapper > [class*="col-"] {
    display: flex;
    margin-bottom: 2rem;
}

.row.product-wrapper > [class*="col-"] > .product {
    width: 100%;
}

.row.product-wrapper .product-details,
.tl-product-slider .product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.row.product-wrapper .product-name,
.tl-product-slider .product-name,
.tl-product-grid .product-name {
    flex: none;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    min-height: 3.6rem;
}

.row.product-wrapper .product-name a,
.tl-product-slider .product-name a,
.tl-product-grid .product-name a {
    color: inherit;
}

.tl-product-grid > [class*="col-"] {
    display: flex;
    margin-bottom: 2rem;
}

.tl-product-grid > [class*="col-"] > .product {
    width: 100%;
}

/* Section headings & links — brand green (override Wolmart blue) */
.title.title-link::before {
    background-color: var(--tl-green);
}

.title-link-wrapper a,
.title-link-wrapper a.tl-more-link,
.tl-more-link {
    color: var(--tl-green) !important;
}

.title-link-wrapper a:hover,
.tl-more-link:hover {
    color: #008c45 !important;
}

/* Product prices — brand green */
.product-price ins,
.product-price .new-price {
    color: var(--tl-green);
}

.product-name a:hover {
    color: var(--tl-green);
}

.product:hover .btn-product-icon:hover,
.btn-product-icon.w-icon-cart:hover,
.btn-product-icon.w-icon-search:hover {
    border-color: var(--tl-green);
    background-color: var(--tl-green);
}

.text-primary {
    color: var(--tl-green) !important;
}

/* Card hover actions — Wolmart defaults (hidden until hover) */
.row.product-wrapper .product-action-vertical .tl-btn-cart,
.tl-product-slider .product-action-vertical .tl-btn-cart {
    font-size: 1.6em;
    margin-bottom: 0.2rem;
}

/* Image zoom inside fixed aspect box */
.row.product-wrapper .product-media > a.overlay-zoom,
.tl-product-slider .product-media > a.overlay-zoom {
    display: block;
    aspect-ratio: 295 / 335;
    overflow: hidden;
    background-color: #f8f8f8;
}

.row.product-wrapper .product-media > a.overlay-zoom img,
.tl-product-slider .product-media > a.overlay-zoom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.row.product-wrapper .product-media > a.overlay-zoom:hover img,
.tl-product-slider .product-media > a.overlay-zoom:hover img {
    transform: scale(1.04);
}

/* Quick view popup — layout, typography, no inner scroll */
.mfp-product .product-popup .product-details,
.mfp-product .product-details,
.mfp-product .tl-quickview-details {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
}

.mfp-product .product-popup .col-md-6.overflow-hidden {
    overflow: visible !important;
}

.mfp-product .product-single.product-popup .product-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.mfp-product .product-single.product-popup .product-price {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.mfp-product .product-single.product-popup .product-price .new-price {
    font-size: 1.85rem;
}

.mfp-product .product-single.product-popup .product-price .old-price {
    font-size: 1.4rem;
}

.mfp-product .product-single.product-popup .product-divider {
    margin: 0.9rem 0 1.1rem;
}

.mfp-product .product-single.product-popup .product-short-desc {
    font-size: 1.3rem;
    line-height: 1.55;
}

.mfp-product .product-single.product-popup .product-meta,
.mfp-product .product-single.product-popup .product-categories,
.mfp-product .product-single.product-popup .product-sku {
    font-size: 1.25rem;
}

@media (max-width: 767px) {
    .mfp-product .product-single.product-popup .product-title {
        font-size: 1.55rem;
    }

    .mfp-product .product-single.product-popup .product-price,
    .mfp-product .product-single.product-popup .product-price .new-price {
        font-size: 1.65rem;
    }

    .mfp-product .tl-quickview-gallery--single .product-image img {
        max-height: 24rem;
    }

    .mfp-product .mfp-container {
        padding: 3rem 1.5rem 1.5rem;
    }
}

.mfp-product .tl-quickview-gallery--single .product-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 22rem;
    object-fit: contain;
    margin: 0 auto;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mfp-product .tl-quickview-gallery--single:hover .product-image img {
    transform: scale(1.03);
}

.mfp-product .tl-quickview-gallery--single .product-image {
    overflow: hidden;
}

/* Quick view popup — social icons & add to cart button */
.mfp-product .social-icon.social-whatsapp,
.mfp-product .social-icon.social-linkedin {
    font-family: "Font Awesome 5 Brands";
    font-size: 1.4rem;
    line-height: 3.4rem;
}

.mfp-product .tl-popup-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 0.85em 1.75em;
    font-size: 1.3rem;
    margin-bottom: 0;
}

.mfp-product .tl-popup-add-cart.tl-cart-pending {
    opacity: 0.75;
    pointer-events: none;
}

.mfp-product .product-single.product-popup .product-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.mfp-product .tl-quickview-gallery--single {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
}

.mfp-product .tl-quickview-gallery--single .product-image {
    margin: 0;
    padding: 1.75rem 2rem;
    background: #fff;
    overflow: hidden;
}

.mfp-product .product-thumbs-wrap .product-thumb {
    width: 10.3rem;
    height: 11.6rem;
    flex-shrink: 0;
}

.mfp-product .product-thumbs-wrap .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfp-product .product-bm-wrapper .brand img {
    max-height: 4.8rem;
    width: auto;
    object-fit: contain;
}

/* Shop by Category — small thumbnails, label below image, Shop Now on hover */
.top-category .tl-category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem 2rem;
    padding: 0 0.5rem;
}

.top-category .tl-category-card {
    width: 16rem;
    flex: 0 0 auto;
    background: transparent;
    text-align: center;
}

.top-category .tl-category-card__media {
    display: block;
    width: 16rem;
    height: 16rem;
    margin: 0 auto;
    background: #f4f4f4;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.top-category .tl-category-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    margin: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-category .tl-category-card__media.overlay-zoom:hover img {
    transform: scale(1.04);
}

.top-category .tl-category-card__label {
    position: relative;
    height: 4.2rem;
    margin-top: 1.15rem;
    padding: 0 0.35rem;
    overflow: hidden;
    text-align: center;
}

.top-category .tl-category-card__name {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    text-transform: capitalize;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.top-category .tl-category-card__shop {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tl-green);
    text-decoration: underline;
    text-underline-offset: 0.22em;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.top-category .tl-category-card__shop:hover {
    color: #008c45;
}

.top-category .tl-category-card:hover .tl-category-card__media {
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.07);
}

.top-category .tl-category-card:hover .tl-category-card__name {
    opacity: 0;
    visibility: hidden;
}

.top-category .tl-category-card:hover .tl-category-card__shop {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 575px) {
    .top-category .tl-category-grid {
        gap: 1.25rem 1rem;
    }

    .top-category .tl-category-card,
    .top-category .tl-category-card__media {
        width: 13rem;
        height: 13rem;
    }

    .top-category .tl-category-card__label {
        margin-top: 0.95rem;
        height: 3.8rem;
    }

    .top-category .tl-category-card__name,
    .top-category .tl-category-card__shop {
        font-size: 1.05rem;
    }
}

/* Homepage hero — contained on desktop, edge-to-edge on mobile */
.tl-hero-section {
    padding: 1.6rem 0 0;
    background: #fff;
}

.tl-hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1280 / 460;
    background: #f5f5f5;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.tl-hero-slider .swiper-wrapper,
.tl-hero-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.tl-hero-slider .swiper-slide {
    background: #f5f5f5;
}

.tl-hero-slide {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    overflow: hidden;
}

.tl-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.tl-hero-slider.swiper-theme > .swiper-button-prev,
.tl-hero-slider.swiper-theme > .swiper-button-next {
    margin-top: 0;
    transform: translateY(-50%);
}

.tl-hero-slider.swiper-theme > .swiper-button-prev {
    left: 0.75rem !important;
    right: auto !important;
}

.tl-hero-slider.swiper-theme > .swiper-button-next {
    left: auto !important;
    right: 0.75rem !important;
}

/* Swiper dots — brand green (override Wolmart #336699) */
.swiper-pagination .swiper-pagination-bullet-active,
.swiper-theme > .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--tl-green) !important;
    border-color: var(--tl-green) !important;
}

@media (max-width: 991px) {
    /* Full-width section shells; inner content keeps side padding */
    body.home .tl-hero-section {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.home .tl-hero-section .container {
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }

    body.home .tl-hero-slider {
        box-shadow: none;
    }

    body.home .category-section.top-category {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    body.home .category-section.top-category > .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    body.home .category-section.top-category > .container > .title {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    body.home .top-category .tl-category-grid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Hide slider arrows on mobile */
    .tl-hero-slider .tl-swiper-arrow,
    .tl-swiper-wrap .tl-swiper-arrow {
        display: none !important;
    }

    .tl-hero-slider {
        aspect-ratio: 16 / 11;
    }

    .tl-hero-slide img {
        object-position: center center;
    }
}

@media (max-width: 767px) {
    body.home .category-section.top-category > .container > .title,
    body.home .top-category .tl-category-grid {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

.bg-primary,
.footer-newsletter.bg-primary {
    background-color: var(--tl-primary) !important;
}

.btn-primary {
    background-color: var(--tl-primary);
    border-color: var(--tl-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #163d7d;
    border-color: #163d7d;
}

.text-primary {
    color: var(--tl-green) !important;
}

.text-secondary,
.banner .text-secondary {
    color: var(--tl-secondary) !important;
}

a:hover {
    color: var(--tl-green);
}

.label-new,
.product-label.label-new {
    background-color: #787878;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.4em 0.7em;
    line-height: 1.2;
}

.intro-slide .btn-dark:hover {
    background-color: var(--tl-primary);
    border-color: var(--tl-primary);
}

.footer-newsletter .btn-dark {
    background-color: var(--tl-primary);
    border-color: var(--tl-primary);
}

.page-header {
    background: linear-gradient(135deg, var(--tl-primary) 0%, #1a6b8a 45%, var(--tl-green) 100%);
    color: #fff;
}

.page-header .page-title {
    color: #fff;
}

.category-classic .category-name {
    text-transform: capitalize;
}

.header-middle .logo img,
.logo-footer img {
    height: auto;
    max-height: 5.6rem;
    width: auto;
    max-width: 14rem;
}

/* Header search — flush input + button, sharp edges */
.header-search.input-wrapper {
    align-items: stretch;
}

.header-search .form-control,
.header-search .btn-search {
    box-sizing: border-box;
}

/* Product detail page + quickview buy panel (shared styling) */
.tl-product-buy-panel .product-title,
.tl-product-detail-page .product-title {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
}

.tl-product-buy-panel .product-bm-wrapper .brand img,
.tl-product-detail-page .product-bm-wrapper .brand img {
    max-height: 4.8rem;
    width: auto;
    object-fit: contain;
}

.tl-product-buy-panel .product-divider,
.tl-product-detail-page .product-divider {
    margin: 0.9rem 0 1.1rem;
}

.tl-product-buy-panel .product-price,
.tl-product-detail-page .product-price {
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.85rem;
}

.tl-product-buy-panel .product-price .new-price,
.tl-product-detail-page .product-price .new-price {
    font-size: 1.85rem;
}

.tl-product-buy-panel .product-price .old-price,
.tl-product-detail-page .product-price .old-price {
    font-size: 1.4rem;
}

.tl-product-buy-panel .product-meta,
.tl-product-buy-panel .product-categories,
.tl-product-buy-panel .product-sku,
.tl-product-detail-page .product-meta,
.tl-product-detail-page .product-categories,
.tl-product-detail-page .product-sku {
    font-size: 1.25rem;
}

.tl-product-buy-panel .product-short-desc,
.tl-product-detail-page .product-short-desc {
    font-size: 1.3rem;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.tl-product-buy-panel .product-form,
.tl-product-detail-page .product-form,
.tl-product-buy-panel .tl-product-cart-form,
.tl-product-detail-page .tl-product-cart-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-bottom: 0.85rem;
}

.tl-product-buy-panel .product-form .product-qty-form,
.tl-product-detail-page .product-form .product-qty-form,
.tl-product-buy-panel .tl-product-cart-form .product-qty-form,
.tl-product-detail-page .tl-product-cart-form .product-qty-form {
    flex: 0 0 auto;
    max-width: none;
    margin-right: 0;
    margin-bottom: 0;
}

.tl-product-buy-panel .product-form .btn-cart,
.tl-product-detail-page .product-form .btn-cart,
.tl-product-detail-page .product-single .btn-cart,
.tl-product-buy-panel .product-form .tl-product-add-cart,
.tl-product-detail-page .product-form .tl-product-add-cart,
.tl-product-detail-page .product-single .tl-product-add-cart,
.tl-product-detail-page .tl-product-cart-form .tl-product-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    max-width: none;
    padding: 0.85em 1.75em;
    font-size: 1.3rem;
    margin-bottom: 0;
}

.tl-product-buy-panel .product-form .btn-cart i,
.tl-product-detail-page .product-form .btn-cart i,
.tl-product-buy-panel .product-form .tl-product-add-cart i,
.tl-product-detail-page .product-form .tl-product-add-cart i,
.tl-product-detail-page .tl-product-cart-form .tl-product-add-cart i {
    margin: 0;
    font-size: 1.5rem;
}

.tl-product-payment {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 1.25rem;
    line-height: 1.45;
    color: #555;
}

.tl-product-payment__line {
    margin-bottom: 0.35rem;
}

.tl-product-payment__line strong {
    color: #333;
    font-weight: 600;
}

.mfp-product .tl-product-payment {
    margin-top: 1rem;
}

.tl-product-detail-page {
    padding-top: 0.5rem;
}

.tl-product-detail-page .product-single {
    align-items: flex-start;
}

.tl-product-page-row {
    align-items: flex-start;
}

.tl-product-page-row > .main-content {
    min-width: 0;
}

.tl-product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 38rem) minmax(0, 1fr);
    gap: 1.75rem 2.5rem;
    align-items: start;
}

.tl-product-detail-media {
    min-width: 0;
}

.tl-product-detail-gallery {
    position: relative;
    width: 100%;
    max-width: 38rem;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 4px;
    overflow: hidden;
}

.tl-product-detail-gallery .product-image {
    margin: 0;
    min-height: 40rem;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.tl-product-detail-gallery .product-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 38rem;
    object-fit: contain;
    margin: 0 auto;
}

.tl-product-detail-info {
    min-width: 0;
}

.tl-product-detail-info .product-details {
    padding-top: 0;
    padding-left: 0;
    max-width: none;
}

/* Product page sidebar — Wolmart widget design, always visible */
.tl-product-sidebar.sidebar-fixed .sidebar-toggle,
.tl-product-sidebar.sidebar-fixed .sidebar-overlay,
.tl-product-sidebar .sidebar-close {
    display: none;
}

.tl-product-sidebar .sidebar-content {
    position: relative;
    transform: none;
    left: auto;
    right: auto;
    width: 100%;
    padding: 0;
    opacity: 1;
    overflow: visible;
}

.tl-product-sidebar .widget-banner .banner img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.tl-product-sidebar .widget-banner a.banner {
    text-decoration: none;
}

.tl-product-detail-page .product-name {
    white-space: normal;
}

.tl-product-availability {
    font-size: 1.25rem;
    color: #666;
}

@media (max-width: 991px) {
    .tl-product-detail-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .tl-product-detail-gallery {
        max-width: none;
    }

    .tl-product-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
        order: 3;
        margin-top: 1rem;
    }

    .tl-product-sidebar .widget-icon-box {
        padding: 0 1.5rem;
    }
}

@media (max-width: 767px) {
    .tl-product-buy-panel .product-title,
    .tl-product-detail-page .product-title {
        font-size: 1.55rem;
    }

    .tl-product-buy-panel .product-price,
    .tl-product-buy-panel .product-price .new-price,
    .tl-product-detail-page .product-price,
    .tl-product-detail-page .product-price .new-price {
        font-size: 1.65rem;
    }

    .tl-product-detail-gallery .product-image {
        min-height: 30rem;
        padding: 0.65rem 0.75rem;
    }

    .tl-product-detail-gallery .product-image img {
        max-height: 28rem;
    }

    .tl-product-detail-info .product-details {
        max-width: none;
    }
}

.header-search .btn-search i {
    margin: 0;
    line-height: 1;
}

/* Header search autocomplete (Laravel feature — not from legacy site) */
.header-search {
    position: relative;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-height: 24rem;
    overflow-y: auto;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.search-suggestion-item:hover {
    background: #f5f5f5;
    color: var(--tl-primary);
}

.search-suggestion-item img {
    object-fit: cover;
}

.search-suggestion-item span {
    flex: 1;
}

/* Shopping cart offcanvas — scrollable items, pinned footer */
.cart-dropdown.cart-offcanvas .dropdown-box {
    display: flex;
    flex-direction: column;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    padding-bottom: 2rem;
}

.cart-dropdown .cart-header {
    flex-shrink: 0;
}

.cart-dropdown .products {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    margin-bottom: 0;
}

.cart-dropdown .cart-total,
.cart-dropdown .cart-action {
    flex-shrink: 0;
}

.cart-dropdown .cart-total {
    margin-top: 0.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.cart-dropdown .product.product-cart {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 2rem 0 0;
    margin-bottom: 0.5rem;
}

.cart-dropdown .product.product-cart .product-detail {
    flex: 1;
    min-width: 0;
    order: 1;
}

.cart-dropdown .product.product-cart .product-media {
    flex: 0 0 7.5rem;
    max-width: 7.5rem;
    margin-bottom: 0;
    order: 2;
}

.cart-dropdown .product.product-cart .product-media > a {
    display: block;
    aspect-ratio: auto;
    background: #f8f8f8;
    overflow: hidden;
}

.cart-dropdown .product.product-cart .product-media img {
    width: 100%;
    height: auto;
    max-height: 9rem;
    object-fit: contain;
    position: static !important;
    opacity: 1 !important;
}

.cart-dropdown .product.product-cart .product-name {
    min-height: 0;
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-dropdown .product.product-cart .product-name:hover {
    color: var(--tl-primary);
}

.cart-dropdown .product.product-cart .price-box {
    flex-wrap: wrap;
}

.cart-dropdown .product.product-cart form {
    position: absolute;
    top: 0.75rem;
    right: 0;
    margin: 0;
    z-index: 1;
}

.cart-dropdown .product.product-cart form .btn-close {
    position: static;
    top: auto;
    right: auto;
}

.cart-dropdown .cart-action .btn {
    min-height: 4.2rem;
}

/* Cart page — quantity stepper (minus | qty | plus) */
.shop-table.cart-table .product-quantity .tl-qty-stepper {
    display: inline-flex;
    align-items: stretch;
    width: 14rem;
    max-width: 100%;
    height: 4.6rem;
    border: 2px solid var(--tl-primary);
    background: #fff;
    vertical-align: middle;
}

.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-cart-qty-input {
    flex: 1 1 0;
    width: 100%;
    min-width: 3.2rem;
    height: 100%;
    margin: 0;
    padding: 0 0.4rem;
    border: 0;
    border-left: 1px solid #c5d4e8;
    border-right: 1px solid #c5d4e8;
    background: #fff;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    -moz-appearance: textfield;
    appearance: textfield;
    box-shadow: none;
}

.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-cart-qty-input::-webkit-outer-spin-button,
.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-qty-btn {
    position: static;
    top: auto;
    right: auto;
    transform: none;
    flex: 0 0 4.2rem;
    width: 4.2rem;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #eef3fa;
    color: var(--tl-primary);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
}

.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-qty-btn span {
    display: block;
    margin-top: -0.15rem;
}

.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-qty-btn:hover,
.shop-table.cart-table .product-quantity .tl-qty-stepper .tl-qty-btn:focus {
    background: var(--tl-primary);
    color: #fff;
    outline: none;
}

.shop-table.cart-table .product-quantity .tl-qty-stepper.is-updating {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 767px) {
    .shop-table.cart-table .product-quantity .tl-qty-stepper {
        width: 12rem;
    }

    .shop-table.cart-table .product-quantity .tl-qty-stepper .tl-qty-btn {
        flex-basis: 3.6rem;
        width: 3.6rem;
        font-size: 1.8rem;
    }

    .shop-table.cart-table .product-quantity .tl-qty-stepper .tl-cart-qty-input {
        font-size: 1.6rem;
    }
}

/* Cart summary panel */
.tl-cart-summary {
    padding: 2rem 2.4rem;
    background: #f8faf9;
    border: 1px solid #e3ebe6;
    border-top: 3px solid var(--tl-primary);
}

.tl-cart-coupon {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #e3ebe6;
}

.tl-cart-coupon__label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.35rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tl-cart-coupon__input {
    display: block;
    width: 100%;
    max-width: 32rem;
    margin-bottom: 1rem;
    min-height: 4.4rem;
}

.tl-cart-coupon__btn {
    min-width: 14rem;
    min-height: 4.4rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

.tl-cart-coupon-applied .tl-badge-green {
    background: rgba(0, 166, 81, 0.12);
    color: var(--tl-green);
    font-weight: 600;
    padding: 0.45rem 0.85rem;
    margin-right: 0.5rem;
}

.tl-cart-totals {
    padding-top: 0.25rem;
}

.tl-cart-totals__grand {
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid #e3ebe6;
}

.tl-cart-totals__amount {
    color: var(--tl-primary);
}

.tl-btn-green {
    background-color: var(--tl-green);
    border-color: var(--tl-green);
    color: #fff;
}

.tl-btn-green:hover,
.tl-btn-green:focus {
    background-color: #008c45;
    border-color: #008c45;
    color: #fff;
}

/* Order confirmation */
.tl-order-success {
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, rgba(0, 166, 81, 0.08) 0%, rgba(0, 166, 81, 0.02) 100%);
    border: 1px solid #dceee4;
    border-left: 4px solid var(--tl-green);
}

.tl-order-success__title {
    color: var(--tl-green);
    font-weight: 600;
}

.tl-order-email-notice {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #dceee4;
    color: #444;
    font-size: 1.35rem;
    line-height: 1.55;
}

.tl-section-title {
    color: var(--tl-primary);
    font-weight: 600;
}

.tl-payment-card {
    border: 1px solid #dce8e0;
    background: #fff;
    overflow: hidden;
}

.tl-payment-card__header {
    background: var(--tl-green);
    color: #fff;
    padding: 1.35rem 1.75rem;
}

.tl-payment-card__header h4 {
    color: #fff;
    font-weight: 600;
}

.tl-payment-card__body {
    padding: 1.75rem 2rem;
    background: #f8faf9;
    color: #444;
    font-size: 1.35rem;
    line-height: 1.65;
}

.tl-payment-card__lead {
    margin-bottom: 1.25rem;
    color: #333;
}

.tl-payment-card__steps {
    margin: 0;
    padding-left: 1.35rem;
}

.tl-payment-card__steps li {
    margin-bottom: 0.65rem;
}

.tl-payment-card__steps li:last-child {
    margin-bottom: 0;
}

.tl-order-delivery {
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e3ebe6;
    border-left: 3px solid var(--tl-primary);
}

/* Checkout page */
.tl-checkout-panel {
    padding: 2rem 2.4rem;
    background: #fff;
    border: 1px solid #e3ebe6;
    border-left: 3px solid var(--tl-primary);
}

.tl-checkout-panel__intro {
    color: #666;
    font-size: 1.35rem;
    line-height: 1.5;
}

.tl-checkout-panel__intro a {
    color: var(--tl-primary);
    font-weight: 600;
    text-decoration: underline;
}

.tl-checkout-form label {
    font-weight: 600;
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.tl-checkout-form .form-control {
    min-height: 4.4rem;
    font-size: 1.35rem;
}

.tl-checkout-form textarea.form-control {
    min-height: auto;
}

.tl-checkout-submit {
    min-width: 16rem;
    min-height: 4.6rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.tl-checkout-summary {
    background: #fff;
    border: 1px solid #e3ebe6;
    border-top: 3px solid var(--tl-green);
    overflow: hidden;
}

@media (min-width: 992px) {
    .tl-checkout-summary {
        position: sticky;
        top: 10rem;
    }
}

.tl-checkout-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.75rem;
    background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
    border-bottom: 1px solid #e3ebe6;
}

.tl-checkout-summary__title {
    color: var(--tl-primary);
    font-weight: 600;
}

.tl-checkout-summary__count {
    flex-shrink: 0;
    padding: 0.35rem 0.85rem;
    background: rgba(30, 77, 157, 0.1);
    color: var(--tl-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.tl-checkout-summary__items {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 22rem;
    overflow-x: hidden;
    overflow-y: auto;
}

.tl-checkout-summary__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.75rem;
    border-bottom: 1px solid #eef2f0;
    background: #fff;
}

.tl-checkout-summary__item:last-child {
    border-bottom: none;
}

.tl-checkout-summary__thumb {
    flex-shrink: 0;
    width: 5.6rem;
    height: 5.6rem;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    background: #fafafa;
}

.tl-checkout-summary__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tl-checkout-summary__item-info {
    flex: 1;
    min-width: 0;
}

.tl-checkout-summary__item-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-bottom: 0.35rem;
    font-size: 1.3rem;
    line-height: 1.4;
    color: #333;
}

.tl-checkout-summary__item-qty {
    font-size: 1.2rem;
    color: #777;
}

.tl-checkout-summary__item-price {
    flex-shrink: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
}

.tl-checkout-summary__totals {
    padding: 1.35rem 1.75rem;
    background: #f8faf9;
    border-top: 1px solid #e3ebe6;
}

.tl-checkout-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    font-size: 1.35rem;
    color: #444;
}

.tl-checkout-summary__row:last-child {
    margin-bottom: 0;
}

.tl-checkout-summary__row--discount {
    color: var(--tl-green);
}

.tl-checkout-summary__row--discount .tl-checkout-summary__value {
    color: var(--tl-green);
    font-weight: 600;
}

.tl-checkout-summary__row--grand {
    margin-top: 0.85rem;
    padding-top: 1rem;
    border-top: 2px solid #dce8e0;
    font-size: 1.55rem;
    font-weight: 700;
    color: #222;
}

.tl-checkout-summary__row--grand .tl-checkout-summary__value {
    color: var(--tl-green);
    font-size: 1.65rem;
}

.tl-checkout-summary__payment {
    padding: 0 1.75rem 1.75rem;
    background: #f8faf9;
}

.tl-payment-card--compact .tl-payment-card__header {
    padding: 1rem 1.35rem;
}

.tl-payment-card--compact .tl-payment-card__header h5 {
    color: #fff;
    font-weight: 600;
    font-size: 1.35rem;
}

.tl-payment-card--compact .tl-payment-card__body {
    padding: 1.25rem 1.35rem;
    font-size: 1.3rem;
}

.tl-payment-card__line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #444;
}

.tl-payment-card__line span {
    color: #666;
}

.tl-payment-card__line strong {
    color: #222;
    font-size: 1.4rem;
}

.tl-payment-card__note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #d5e0d8;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #666;
}

@media (max-width: 991px) {
    .tl-checkout-panel {
        padding: 1.5rem;
    }

    .tl-checkout-summary__header,
    .tl-checkout-summary__item,
    .tl-checkout-summary__totals,
    .tl-checkout-summary__payment {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .tl-checkout-summary__payment {
        padding-bottom: 1.25rem;
    }
}

/* Add-to-cart minipopup — bottom-left on desktop and mobile */
.minipopup-area {
    z-index: 3100;
}

@media (max-width: 767px) {
    .minipopup-area {
        left: 12px;
        bottom: 80px;
        right: auto;
    }

    .minipopup-box {
        width: min(300px, calc(100vw - 24px));
    }
}

/* Floating WhatsApp button */
.tl-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tl-whatsapp-float:hover {
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .tl-whatsapp-float {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }
}
