/* صفحه اصلی لوماکس — منتقل‌شده از اسنیپت، بدون تغییر طراحی */
body.home .entry-header,
        body.home .page-title,
        body.home .breadcrumb,
        body.home .breadcrumbs,
        body.home .woocommerce-breadcrumb{display:none!important}

        .lomax-home{direction:rtl;font-family:inherit;max-width:1320px;margin:0 auto;padding:0 12px 36px;color:#181818}
        .lx-section{margin:26px 0}
        .lx-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:12px}
        .lx-title{font-size:20px;font-weight:900;margin:0}
        .lx-more{font-size:12px;color:#777;text-decoration:none;border:1px solid #eee;border-radius:999px;padding:7px 13px;background:#fff;white-space:nowrap}

        .lx-hero-slider{position:relative;overflow:hidden;border-radius:18px;height:310px;background:#080b0e;margin-top:14px}
        .lx-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .45s ease}
        .lx-slide.active{opacity:1;visibility:visible}
        .lx-slide img{width:100%;height:100%;object-fit:cover;display:block}
        .lx-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(5,8,12,.55) 48%,#05080c);z-index:1}
        .lx-hero-content{position:absolute;z-index:2;top:50%;right:48px;transform:translateY(-50%);max-width:460px;color:#fff}
        .lx-eyebrow{color:#fbab18;font-size:17px;font-weight:900;margin-bottom:5px}
        .lx-hero-content h1{font-size:32px;line-height:1.45;margin:0 0 8px;font-weight:900}
        .lx-hero-content p{font-size:14px;color:#eee;margin:0 0 16px}
        .lx-actions{display:flex;gap:10px;flex-wrap:wrap}
        .lx-btn{border-radius:10px;padding:10px 18px;text-decoration:none;font-weight:800;display:inline-block;font-size:13px}
        .lx-btn-primary{background:#fbab18;color:#1a1a1a}
        .lx-hero-slider .lx-btn-outline{border:1px solid rgba(255,255,255,.65);color:#fff;background:transparent}
        .lx-btn-outline-dark{border:1px solid rgba(255,255,255,.35);color:#fff;background:transparent}
        .lx-hero-features{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:20px}
        .lx-hero-features span{font-size:11px;color:#fff;text-align:center;border-left:1px solid rgba(255,255,255,.18);padding-left:8px}
        .lx-hero-features span:last-child{border-left:0}
        .lx-slider-dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px;z-index:5}
        .lx-slider-dots button{width:9px;height:9px;border-radius:50%;border:0;background:#fff;opacity:.45;padding:0;cursor:pointer}
        .lx-slider-dots button.active{background:#fbab18;opacity:1;width:22px;border-radius:999px}

        .lx-grid-cat,.lx-brand-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}
        .lx-cat,.lx-brand,.lx-product,.lx-post{background:#fff;border:1px solid #eee;border-radius:14px;text-decoration:none;color:#222;box-shadow:0 6px 18px rgba(0,0,0,.035);transition:.2s}
        .lx-cat:hover,.lx-brand:hover,.lx-product:hover,.lx-post:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.065)}

        .lx-cat{padding:12px 8px;text-align:center;min-height:118px;display:flex;flex-direction:column;align-items:center;justify-content:center}
        .lx-cat img{width:68px!important;height:68px!important;object-fit:contain!important;border-radius:10px;background:#fafafa;margin:0 auto;display:block}
        .lx-cat strong{display:block;margin-top:8px;font-size:11.5px;line-height:1.6}

        .lx-brand{padding:10px 8px;text-align:center;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center}
        .lx-brand img{height:44px;max-width:100%;object-fit:contain;display:block;margin:0 auto}
        .lx-brand-placeholder{height:44px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;color:#222;background:#fafafa;border-radius:10px;padding:0 10px}
        .lx-brand span{display:block;margin-top:8px;font-size:12px;line-height:1.5}

        .lx-benefits{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid #eee;border-radius:16px;padding:14px}
        .lx-benefit{display:flex;align-items:center;justify-content:center;gap:10px;border-left:1px solid #eee;text-align:right}
        .lx-benefit:last-child{border-left:0}
        .lx-icon{font-size:22px;color:#8a6200}
        .lx-benefit strong{display:block;font-size:13px}
        .lx-benefit small{display:block;color:#777;font-size:11px;margin-top:3px}

        .lx-products{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
        .lx-product{padding:12px;position:relative}
        .lx-product-img{height:180px;display:flex;align-items:center;justify-content:center;background:#fafafa;border-radius:12px;margin-bottom:10px}
        .lx-product-img img{max-height:165px;width:auto;object-fit:contain}
        .lx-product h3{font-size:14px;line-height:1.8;min-height:50px;margin:0 0 8px}
        .lx-price{font-weight:900;color:#111}
        .lx-price del{color:#aaa;font-size:12px;margin-left:5px}
        .lx-price ins{text-decoration:none;color:#e60023}
        .lx-badge-wrap{position:absolute;top:10px;right:10px;left:10px;display:flex;justify-content:space-between;z-index:2}
        .lx-sale,.lx-new{color:#fff;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800}
        .lx-sale{background:#ef233c}
        .lx-new{background:#16a05d}

        .lx-installment{background:linear-gradient(135deg,#06090d,#111820 58%,#070a0e);border-radius:18px;padding:22px 28px;color:#fff;box-shadow:0 12px 36px rgba(0,0,0,.14);position:relative;overflow:hidden}
        .lx-installment:before,.lx-installment:after{content:"";position:absolute;height:1px;background:linear-gradient(90deg,transparent,#fbab18,transparent);opacity:.55}
        .lx-installment:before{top:18px;right:28px;width:220px}
        .lx-installment:after{bottom:18px;left:28px;width:220px}
        .lx-installment-content{display:grid;grid-template-columns:1.1fr 1.7fr auto;align-items:center;gap:18px}
        .lx-installment-badge{display:block;color:#fbab18;font-weight:900;font-size:13px;margin-bottom:4px}
        .lx-installment-content h2{color:#fff;font-size:24px;line-height:1.5;font-weight:900;margin:0}
        .lx-installment-content p{color:#d7d7d7;font-size:13px;margin:4px 0 0}
        .lx-installment-features{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
        .lx-installment-features div{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.09);border-radius:12px;padding:10px 8px;text-align:center}
        .lx-installment-features i{display:block;color:#fbab18;font-style:normal;font-size:17px;line-height:1;margin-bottom:6px}
        .lx-installment-features strong{display:block;color:#fff;margin-bottom:3px;font-size:12px}
        .lx-installment-features span{color:#bcbcbc;font-size:10.5px;line-height:1.6}
        .lx-installment-actions{display:flex;align-items:center;gap:10px;white-space:nowrap}

        .lx-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
        .lx-post{overflow:hidden}
        .lx-post img{width:100%;height:180px;object-fit:cover}
        .lx-post-content{padding:13px}
        .lx-post h3{font-size:15px;line-height:1.8;margin:0 0 8px}
        .lx-post small{color:#777}

        @media(max-width:992px){
            .lx-hero-slider{height:280px}
            .lx-hero-content{right:28px;max-width:400px}
            .lx-hero-content h1{font-size:27px}
            .lx-grid-cat,.lx-brand-grid{grid-template-columns:repeat(auto-fit,minmax(112px,1fr))}
            .lx-products{grid-template-columns:repeat(2,1fr)}
            .lx-benefits{grid-template-columns:repeat(2,1fr);gap:10px}
            .lx-benefit{border-left:0;border:1px solid #f0f0f0;border-radius:12px;padding:10px}
            .lx-installment-content{grid-template-columns:1fr;text-align:center}
            .lx-installment-features{grid-template-columns:repeat(2,1fr)}
            .lx-installment-actions{justify-content:center}
            .lx-posts{grid-template-columns:1fr}
        }

        @media(max-width:576px){
            .lomax-home{padding:0 14px 30px;background:#fff}
            .lx-hero-slider{height:260px;border-radius:14px}
            .lx-hero-content{right:16px;left:16px;max-width:none}
            .lx-eyebrow{font-size:14px}
            .lx-hero-content h1{font-size:21px}
            .lx-hero-content p{font-size:12.5px}
            .lx-btn{padding:8px 12px;font-size:11.5px}
            .lx-hero-features{grid-template-columns:repeat(2,1fr);gap:7px;margin-top:12px}
            .lx-hero-features span{text-align:center;border:0;background:rgba(255,255,255,.08);border-radius:8px;padding:6px}
            .lx-grid-cat{display:flex;overflow-x:auto;gap:10px;padding:2px 0 8px;scrollbar-width:none}
            .lx-grid-cat::-webkit-scrollbar{display:none}
            .lx-cat{flex:0 0 92px;min-height:96px;padding:8px 6px;border:0;box-shadow:none;background:#fff}
            .lx-cat img{width:58px!important;height:58px!important;border-radius:50%!important;background:#f5f4f1}
	            .lx-brand-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;overflow:visible!important}.lx-brand-grid>*{min-width:0;overflow:hidden}.lx-brand-grid img{display:block!important;width:100%!important;max-width:100%!important;height:58px!important;object-fit:contain!important;margin:0 auto!important}.lx-brand{min-height:105px!important;padding:10px!important}.lx-brand span{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
            .lx-products{display:flex;overflow-x:auto;gap:10px;padding:2px 0 10px;scroll-snap-type:x mandatory;scrollbar-width:none}
            .lx-products::-webkit-scrollbar{display:none}
            .lx-product{flex:0 0 72%;scroll-snap-align:start;padding:10px;border-radius:15px}
            .lx-product-img{height:150px}
            .lx-product h3{font-size:12.5px;min-height:44px}
            .lx-benefits{grid-template-columns:repeat(2,1fr);gap:8px}
            .lx-benefit{flex-direction:column;text-align:center}
            .lx-installment{padding:18px 14px}
            .lx-installment-content h2{font-size:21px}
            .lx-installment-features{grid-template-columns:1fr}
            .lx-installment-actions{flex-direction:column}
            .lx-installment-actions .lx-btn{width:100%;text-align:center}
			.lx-posts{margin-bottom:0}.lomax-home>section:last-child{margin-bottom:0!important;padding-bottom:0!important}.lomax-home{padding-bottom:8px!important}
        }

/* v3.38.0: <picture> بنر بدونِ اثر بر چیدمان */
.lx-slide picture{display:contents}
