/*
 * Shop by Mahmud Mahdi - visual refresh (2026-10-30).
 * Loaded by the child theme after the parent theme's styles.
 * Header and footer rules apply site-wide; homepage rules are scoped to body.home.
 */

:root {
    --mm-red: #f62135;
    --mm-red-dark: #d81428;
    --mm-red-soft: #fff1f2;
    --mm-yellow: #ffc21a;
    --mm-ink: #111418;
    --mm-ink-2: #3a4047;
    --mm-muted: #6b7280;
    --mm-line: #e8eaee;
    --mm-surface: #f6f7f9;
    --mm-radius: 16px;
    --mm-radius-sm: 10px;
    --mm-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .07);
    --mm-shadow-hover: 0 14px 28px -10px rgba(16, 24, 40, .22);
    --mm-ease: cubic-bezier(.2, .7, .2, 1);
    --mm-page: #fff;
    --mm-card: #fff;
    --mm-red-line: #ffd3d7;
}

/* The theme's Dark Theme switch sets data-theme="dark" on <body>. */
body[data-theme="dark"] {
    --mm-red-soft: rgba(246, 33, 53, .12);
    --mm-red-line: rgba(246, 33, 53, .35);
    --mm-ink: #f3f4f6;
    --mm-ink-2: #d1d5db;
    --mm-muted: #9ca3af;
    --mm-line: rgba(255, 255, 255, .1);
    --mm-surface: #1c2024;
    --mm-page: #121417;
    --mm-card: #181b1f;
    --mm-shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --mm-shadow-hover: 0 14px 28px -10px rgba(0, 0, 0, .6);
}

/* ---------- Header: white navigation bar instead of a solid red band ---------- */

body[data-theme] .site-header.header-type2 .header-bottom.color-layout-custom {
    background-color: var(--mm-page) !important;
    border-bottom: 1px solid var(--mm-line) !important;
}
.site-header .header-bottom .klb-menu > li > a {
    color: var(--mm-ink) !important;
    font-weight: 600;
    position: relative;
}
.site-header .header-bottom .klb-menu > li > a::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 12px;
    height: 2px;
    border-radius: 2px;
    background: var(--mm-red);
    transform: scaleX(0);
    transition: transform .25s var(--mm-ease);
}
.site-header .header-bottom .klb-menu > li:hover > a::after,
.site-header .header-bottom .klb-menu > li.current-menu-item > a::after {
    transform: scaleX(1);
}
.site-header .header-bottom .klb-menu > li:hover > a,
.site-header .header-bottom .klb-menu > li.current-menu-item > a {
    color: var(--mm-red) !important;
}
.site-header .header-bottom .klb-menu > li > a i,
.site-header .header-bottom .klb-menu > li > a::before {
    color: inherit !important;
}
.site-header .header-bottom .custom-link.help-center {
    background: var(--mm-red);
    border-radius: 999px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 6px 16px -6px rgba(246, 33, 53, .55);
    transition: background .2s, transform .2s var(--mm-ease);
}
.site-header .header-bottom .custom-link.help-center,
.site-header .header-bottom .custom-link.help-center a {
    color: #fff !important;
}
.site-header .header-bottom .custom-link.help-center:hover {
    background: var(--mm-red-dark);
    transform: translateY(-1px);
}

/* ---------- Homepage: hero ---------- */

.home .elementor-widget-blonwe-home-slider .custom-background {
    background:
        radial-gradient(900px 480px at 82% 45%, var(--mm-red-soft) 0%, rgba(255, 241, 242, 0) 65%),
        var(--mm-page);
    padding-top: 48px !important;
    padding-bottom: 72px !important;
}
.home .elementor-widget-blonwe-home-slider .custom-decorative {
    color: var(--mm-page) !important; /* theme hard-codes white, which shows in dark mode */
}
.home .elementor-widget-blonwe-home-slider .entry-subtitle.badge:not(:empty) {
    display: inline-block !important; /* the theme hides it on desktop */
    background: var(--mm-card) !important;
    color: var(--mm-red) !important;
    border: 1px solid var(--mm-red-line);
    border-radius: 999px !important;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 18px;
}
/* The theme lifts the text block 40px; give the slider room so the badge isn't clipped. */
@media (min-width: 768px) {
    .home .elementor-widget-blonwe-home-slider .custom-background {
        padding-top: 32px !important;
    }
    .home .elementor-widget-blonwe-home-slider .slick-list {
        padding-top: 44px !important;
    }
}
.home .elementor-widget-blonwe-home-slider .entry-subtitle.badge:empty {
    display: none;
}
.home .elementor-widget-blonwe-home-slider .entry-title {
    font-size: clamp(34px, 4.2vw, 58px) !important;
    line-height: 1.06 !important;
    font-weight: 800 !important;
    letter-spacing: -.025em;
    color: var(--mm-ink) !important;
}
.home .elementor-widget-blonwe-home-slider .entry-excerpt,
.home .elementor-widget-blonwe-home-slider .entry-excerpt p {
    max-width: 520px;
    font-size: 17px !important;
    line-height: 1.65;
    color: var(--mm-ink-2) !important;
}
.home .elementor-widget-blonwe-home-slider .btn.primary {
    padding: 15px 26px !important;
    font-size: 15px !important;
    font-weight: 600;
    border-radius: 999px !important;
    box-shadow: 0 10px 24px -10px rgba(246, 33, 53, .7);
    transition: transform .2s var(--mm-ease), box-shadow .2s;
}
.home .elementor-widget-blonwe-home-slider .btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px -12px rgba(246, 33, 53, .75);
}
.home .elementor-widget-blonwe-home-slider .entry-media img[src=""] {
    display: none;
}
.home .elementor-widget-blonwe-home-slider .entry-media img {
    width: 100%;
    height: auto !important; /* the theme stretches slider images to the slide height */
    aspect-ratio: 1200 / 740;
    object-fit: contain !important;
    max-width: 640px;
}

/* ---------- Homepage: category cards ---------- */

.home .elementor-widget-blonwe-product-categories2 .slick-track {
    display: flex !important;
}
.home .elementor-widget-blonwe-product-categories2 .slick-slide {
    height: auto !important;
}
.home .elementor-widget-blonwe-product-categories2 .slick-slide > div,
.home .elementor-widget-blonwe-product-categories2 .slider-item {
    height: 100%;
}
.home .klb-category-block.style-8 {
    height: 100%;
    background: var(--mm-card);
    border: 1px solid var(--mm-line) !important;
    border-radius: var(--mm-radius) !important;
    overflow: hidden;
    box-shadow: var(--mm-shadow);
    transition: transform .25s var(--mm-ease), box-shadow .25s var(--mm-ease);
}
.home .klb-category-block.style-8:hover {
    transform: translateY(-4px);
    box-shadow: var(--mm-shadow-hover);
}
.home .klb-category-block.style-8 .category-thumbnail {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--mm-surface);
}
.home .klb-category-block.style-8 .category-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s var(--mm-ease);
}
.home .klb-category-block.style-8:hover .category-thumbnail img {
    transform: scale(1.05);
}
.home .klb-category-block.style-8 .category-detail {
    padding: 14px 16px 16px !important;
    text-align: left;
}
.home .klb-category-block.style-8 .entry-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 4px;
    color: var(--mm-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home .klb-category-block.style-8 .category-count {
    font-size: 13px;
    color: var(--mm-muted);
    text-align: left;
}

/* ---------- Homepage: section headings ---------- */

.home .module-header .entry-title,
.home .klb-text-block .entry-title,
.home .custom-block-text .entry-title {
    font-size: clamp(24px, 2.4vw, 32px) !important;
    font-weight: 800 !important;
    letter-spacing: -.02em;
    color: var(--mm-ink);
}
.home .module-header .entry-description,
.home .module-header p {
    color: var(--mm-muted);
}

/* ---------- Homepage: category tabs as one scrollable row of pills ---------- */

.home .module-header-inner {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center;
}
.home .module-header.centered .module-header-inner > .column.order-1 {
    order: 1 !important;
    flex: 1 1 100%;
    text-align: center;
}
.home .module-header.centered .module-header-inner > .column.sub-column {
    order: 3 !important;
}
.home .module-header-inner > .column.sub-column {
    flex: 1 1 100%;
    min-width: 0;
    max-width: 100%;
    order: 3 !important;
    margin-top: 20px;
}
.home .module-header-tab.style-1 {
    max-width: 100%;
    min-width: 0;
}
.home .module-header-tab.style-1 ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 2px 8px;
    margin: 0;
    justify-content: flex-start;
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
    mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.home .module-header-tab.style-1 ul::-webkit-scrollbar {
    display: none;
}
.home .module-header-tab.style-1 .tab-item {
    flex: 0 0 auto;
    margin: 0 !important;
}
/* Centred while the pills fit, scrollable from the first pill once they don't. */
.home .module-header-tab.style-1 .tab-item:first-child {
    margin-left: auto !important;
}
.home .module-header-tab.style-1 .tab-item:last-child {
    margin-right: auto !important;
}
.home .module-header .module-header-tab.style-1 ul li a.tab-link {
    display: inline-block;
    padding: 8px 16px !important;
    border: 1px solid var(--mm-line);
    border-radius: 999px;
    background: var(--mm-card);
    color: var(--mm-ink-2) !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all .2s;
}
.home .module-header-tab.style-1 .tab-link::after,
.home .module-header-tab.style-1 .tab-link::before {
    display: none !important;
}
.home .module-header .module-header-tab.style-1 ul li a.tab-link:hover {
    border-color: var(--mm-ink);
    color: var(--mm-ink) !important;
}
.home .module-header .module-header-tab.style-1 ul li.active a.tab-link,
.home .module-header .module-header-tab.style-1 ul li a.tab-link.active {
    background: var(--mm-ink);
    border-color: var(--mm-ink);
    color: var(--mm-page) !important;
}

/* ---------- Product cards (homepage carousels and grid) ---------- */

.home .product-wrapper .thumbnail-wrapper {
    border-radius: var(--mm-radius);
    overflow: hidden;
    background: transparent !important;
    padding: 0 !important;
}

.home .product-wrapper .thumbnail-wrapper img {
    transition: transform .45s var(--mm-ease);
}
.home .product-wrapper:hover .thumbnail-wrapper img {
    transform: scale(1.04);
}
.home .product-wrapper .product-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: var(--mm-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}
.home .product-wrapper .price {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--mm-ink) !important;
}
.home .product-wrapper .product-buttons .button {
    background: var(--mm-red-soft) !important;
    color: var(--mm-red) !important;
    border-radius: 999px !important;
    transition: background .2s, color .2s;
}
.home .product-wrapper .product-buttons .button:hover {
    background: var(--mm-red) !important;
    color: #fff !important;
}
.home .product-wrapper .stock {
    font-size: 12px;
    font-weight: 600;
}
.home .product-wrapper .stock.in-stock::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 6px;
    vertical-align: middle;
}
.home .product-wrapper .wishlist-button {
    box-shadow: var(--mm-shadow);
}

/* Product grid: 5 columns on wide screens, so 10 products form two full rows. */
@media (min-width: 1200px) {
    .home .module-products-grid .products.column-3 {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 32px 24px;
        margin: 0 !important;
    }
    .home .module-products-grid .products.column-3 > .product {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .home .module-products-grid .products.column-3 {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 28px 20px;
        margin: 0 !important;
    }
    .home .module-products-grid .products.column-3 > .product {
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* ---------- Homepage: booster pack banner ---------- */

.home .custom-block-area {
    overflow: visible;
}
.home .custom-block-area .custom-block-text {
    border-radius: 24px;
    background: linear-gradient(120deg, #111418 0%, #2a1013 100%) !important;
    color: #fff;
    padding: 36px 40px !important;
}
.home .custom-block-area .custom-block-text .entry-subtitle {
    color: var(--mm-yellow) !important;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 700 !important;
}
.home .custom-block-area .custom-block-text .entry-title {
    color: #fff !important;
}
.home .custom-block-area .custom-block-text .entry-description,
.home .custom-block-area .custom-block-text .entry-description p {
    color: rgba(255, 255, 255, .72) !important;
}
.home .custom-block-area .custom-block-text .btn {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    border-radius: 0 !important;
    padding: 0 0 2px !important;
}
.home .custom-block-area .custom-carousel {
    background: transparent !important;
    padding: 16px 0 0;
}
.home .custom-block-area {
    background: transparent !important;
}
.home .custom-block-area .custom-carousel .slider-item {
    padding: 0 8px;
}
.home .custom-block-area .custom-carousel img {
    border-radius: var(--mm-radius);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

/* ---------- Homepage: "How to order" title as a callout ---------- */

.home .elementor-widget-blonwe-custom-title .klb-text-block {
    background: var(--mm-red-soft);
    border: 1px solid var(--mm-red-line);
    border-radius: var(--mm-radius);
    padding: 22px 28px 22px 84px;
    position: relative;
}
.home .elementor-widget-blonwe-custom-title .klb-text-block::before {
    content: "\e886"; /* Messenger icon from the theme's social icon font */
    font-family: "klbtheme-social";
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--mm-red);
    color: #fff;
    font-size: 22px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home .elementor-widget-blonwe-custom-title .entry-subtitle {
    color: var(--mm-red) !important;
    font-size: 13px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 4px;
}
.home .elementor-widget-blonwe-custom-title .entry-title {
    font-size: clamp(18px, 1.8vw, 22px) !important;
    font-weight: 700 !important;
    letter-spacing: -.01em;
    margin: 0;
}

/* ---------- Homepage: trust features ---------- */

.home .elementor-widget-blonwe-icon-box .module-iconbox {
    background: var(--mm-surface);
    border-radius: var(--mm-radius);
    padding: 20px 22px;
    height: 100%;
    transition: background .2s;
}
.home .elementor-widget-blonwe-icon-box .module-body {
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 14px;
}
.home .elementor-widget-blonwe-icon-box .iconbox-content {
    min-width: 0;
}
.home .elementor-widget-blonwe-icon-box .module-iconbox:hover {
    background: var(--mm-red-soft);
}
.home .elementor-widget-blonwe-icon-box .iconbox-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    border-radius: 14px;
    background: var(--mm-card);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--mm-shadow);
}
.home .elementor-widget-blonwe-icon-box .iconbox-icon i {
    font-size: 26px !important;
    color: var(--mm-red);
    margin: 0;
}
.home .elementor-widget-blonwe-icon-box .entry-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--mm-ink);
}
.home .elementor-widget-blonwe-icon-box p {
    font-size: 13px;
    color: var(--mm-muted);
    margin: 0;
}

/* ---------- Footer (site-wide) ---------- */

.site-footer .footer-row {
    background-color: #0f1114 !important;
}
.site-footer .footer-widgets {
    padding-top: 56px !important;
    padding-bottom: 32px !important;
}
.site-footer .footer-widgets > .container,
.site-footer .footer-widgets .footer-inner {
    padding-top: 0 !important;
    margin-top: 0 !important;
}
.site-footer .footer-widgets .column-brand {
    border-right: 0 !important;
}
.site-footer .footer-widgets .column-brand::after,
.site-footer .footer-widgets .column-brand::before,
.site-footer .footer-widgets .column-widgets::before {
    display: none !important;
}
.site-footer .widget-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff !important;
    margin-bottom: 18px !important;
}
.site-footer .widget,
.site-footer .widget p,
.site-footer .textwidget {
    color: rgba(255, 255, 255, .68) !important;
    font-size: 14px;
    line-height: 1.7;
}
.site-footer .company-details {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
}
.site-footer .company-phone a {
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 700;
    letter-spacing: .01em;
}
.site-footer .company-phone a::before {
    content: "☎";
    color: var(--mm-red);
    margin-right: 8px;
    font-size: 18px;
}
.site-footer .company-details p {
    margin: 0 0 6px !important;
    font-size: 13px;
}
.site-footer .company-hours strong {
    color: #fff;
}
.site-footer .widget_search input[type="search"],
.site-footer .widget_search input[type="text"] {
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    border-radius: 999px !important;
}
.site-footer .widget_search button,
.site-footer .widget_search i {
    color: #fff !important;
}
.site-footer .wp-video,
.site-footer .wp-video .mejs-container,
.site-footer .widget_media_video iframe {
    border-radius: 12px;
    overflow: hidden;
}
.site-footer .footer-social {
    padding: 22px 0 !important;
}
.site-footer .footer-social .footer-inner {
    border-top-color: rgba(255, 255, 255, .1) !important;
}
.site-footer .site-social .social-label,
.site-footer .site-application .app-label {
    color: rgba(255, 255, 255, .7) !important;
    font-size: 14px;
}
.site-footer .site-social ul li a {
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .08) !important;
    color: #fff !important;
    transition: background .2s, transform .2s var(--mm-ease);
}
.site-footer .site-social ul li a:hover {
    background: var(--mm-red) !important;
    transform: translateY(-2px);
}
.site-footer .site-application img,
.site-footer .payment-cards img {
    border-radius: 8px;
}
.site-footer .payment-cards img {
    height: 32px !important;
    width: auto !important;
    max-width: none;
}
.site-footer .footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, .08);
}
.site-footer .footer-copyright p,
.site-footer .footer-copyright .payment-cards-label {
    color: rgba(255, 255, 255, .5) !important;
    font-size: 13px;
}

/* ---------- Small screens ---------- */

@media (max-width: 767px) {
    .home .elementor-widget-blonwe-home-slider .custom-background {
        padding-top: 28px !important;
        padding-bottom: 40px !important;
    }
    .home .elementor-widget-blonwe-home-slider .entry-media img {
        max-width: 100%;
        margin-top: 8px;
    }
    .home .elementor-widget-blonwe-custom-title .klb-text-block {
        padding: 18px 18px 18px 74px;
    }
    .home .klb-category-block.style-8 .category-detail {
        padding: 10px 10px 12px !important;
    }
    .home .klb-category-block.style-8 .entry-title {
        font-size: 13px !important;
    }
    .home .klb-category-block.style-8 .category-count {
        font-size: 11px;
    }
    .home .custom-block-area .custom-block-text {
        padding: 26px 22px !important;
    }
    .site-footer .footer-widgets {
        padding-top: 48px !important;
    }
}
