/* ============================================================
   «المظهر الفاخر» لصفحة المتجر (2026-11-13) — سلايدر المختارات + الشريط المتحرك + صف المميزة المتحرك + فواصل ذهبية
   بيتحمّل بس لما المظهر مفعّل (shop.php: $mbkLux) وكل القواعد تحت body.lux-on
   الألوان: نفس ألوان المتجر + ذهبي للزخرفة بس. فاتح وغامق. الحركة بتقف مع prefers-reduced-motion.
   ============================================================ */
body.lux-on { --lux-gold: #f2c66d; --lux-gold-2: #c9973a; --lux-ink: #05060b; --lux-play: 6500ms; }
[data-theme="light"] body.lux-on, body.lux-on[data-theme="light"] { --lux-gold: #b7791f; --lux-gold-2: #92600f; }

/* ---------- سلايدر المختارات ---------- */
.lux-spot { position: relative; padding: 26px 0 10px; }
.lux-spot .lux-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lux-spot-frame { position: relative; border-radius: 28px; padding: 1px; background: linear-gradient(135deg, rgba(242, 198, 109, .75), rgba(0, 212, 255, .35) 45%, rgba(139, 92, 246, .45) 75%, rgba(242, 198, 109, .6)); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .03) inset; }
.lux-spot-inner { position: relative; overflow: hidden; border-radius: 27px; background:
    radial-gradient(700px 320px at 88% 0%, rgba(242, 198, 109, .13), transparent 62%),
    radial-gradient(620px 380px at 6% 100%, rgba(0, 212, 255, .14), transparent 60%),
    linear-gradient(160deg, #0c0f1a 0%, #0a0a12 55%, #100c1c 100%); }
.lux-spot-inner::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%); }
.lux-spot-track { position: relative; display: grid; }
.lux-slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 34px; padding: 40px 54px 30px; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility 0s linear .55s; }
.lux-slide.is-active { opacity: 1; visibility: visible; transition: opacity .55s ease, visibility 0s; }
.lux-slide-copy { position: relative; z-index: 2; text-align: start; min-width: 0; }
.lux-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(242, 198, 109, .45); border-radius: 999px; background: rgba(242, 198, 109, .08); color: var(--lux-gold); font-size: .82rem; font-weight: 800; }
.lux-slide-title { margin: 16px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.35rem); font-weight: 900; line-height: 1.35; color: #fff; text-wrap: balance; }
.lux-slide-title a { color: inherit; text-decoration: none; }
.lux-slide-title a:hover { color: var(--lux-gold); }
.lux-slide-desc { margin: 0 0 18px; max-width: 46ch; color: #b6c0d4; font-size: 1rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lux-slide-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.lux-slide-price .now { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 900; color: #fff; }
.lux-slide-price .from { font-size: .9rem; font-weight: 700; color: #94a3b8; }
.lux-slide-price .old { font-size: 1.05rem; color: #7c879b; text-decoration: line-through; }
.lux-slide-price .off { padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #ef4444, #f97316); color: #fff; font-size: .82rem; font-weight: 900; }
.lux-slide-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lux-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border-radius: 14px; background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-2)); color: #1a1204; font-weight: 900; font-size: 1rem; text-decoration: none; box-shadow: 0 12px 30px rgba(201, 151, 58, .35); transition: transform .2s ease, box-shadow .2s ease; }
.lux-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(201, 151, 58, .5); color: #1a1204; }
.lux-btn:focus-visible, .lux-arrow:focus-visible, .lux-dot:focus-visible, .lux-row-arrow:focus-visible { outline: 2px solid var(--lux-gold); outline-offset: 3px; }
.lux-trustline { display: inline-flex; align-items: center; gap: 8px; color: #94a3b8; font-size: .86rem; font-weight: 700; }
.lux-trustline i { color: #34d399; }
.lux-slide-media { position: relative; z-index: 1; display: block; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; }
.lux-slide-media::before { content: ''; position: absolute; inset: 8% 6% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 212, 255, .35), rgba(139, 92, 246, .18) 55%, transparent 75%); filter: blur(26px); }
.lux-slide-media img { position: relative; width: 100%; height: 100%; object-fit: cover; border-radius: 26px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 26px 60px rgba(0, 0, 0, .6); transform: rotate(-2.5deg); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.lux-slide.is-active .lux-slide-media img { transform: rotate(0deg); }
/* دخول النص بالتتابع — مرة مع كل شريحة */
.lux-slide .lux-slide-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.lux-slide.is-active .lux-slide-copy > * { opacity: 1; transform: none; }
.lux-slide.is-active .lux-slide-copy > *:nth-child(2) { transition-delay: .07s; }
.lux-slide.is-active .lux-slide-copy > *:nth-child(3) { transition-delay: .14s; }
.lux-slide.is-active .lux-slide-copy > *:nth-child(4) { transition-delay: .21s; }
.lux-slide.is-active .lux-slide-copy > *:nth-child(5) { transition-delay: .28s; }
/* التحكم */
.lux-spot-nav { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 0 20px 22px; }
.lux-arrow, .lux-row-arrow { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #e2e8f0; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.lux-arrow:hover, .lux-row-arrow:hover { background: rgba(242, 198, 109, .14); border-color: rgba(242, 198, 109, .6); color: var(--lux-gold); }
.lux-dots { display: flex; align-items: center; gap: 8px; direction: ltr; }
.lux-dot { position: relative; width: 26px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .18); cursor: pointer; overflow: hidden; transition: width .35s ease, background .2s; }
.lux-dot::before { content: ''; position: absolute; inset: -19px -4px; } /* مساحة لمس 44px */
.lux-dot.is-active { width: 58px; background: rgba(255, 255, 255, .22); }
.lux-dot.is-active::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lux-gold-2), var(--lux-gold)); transform-origin: left center; transform: scaleX(1); }
.lux-spot.is-playing .lux-dot.is-active::after { animation: luxFill var(--lux-play) linear both; }
@keyframes luxFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- شريط المميزات — بستايل شريط الأخبار (2026-11-13 v2) ----------
   علامة ذهبية ثابتة على اليمين (بحافة مايلة مزدوجة + نقطة «مباشر») والنص بيتحرك يمين (اتجاه القراءة العربي)
   وبيختفي تحت العلامة. كل مجموعة فيها العناصر مرتين علشان الشريط مايفضاش على الشاشات العريضة. */
.lux-ticker { position: relative; display: flex; align-items: stretch; height: 50px; margin: 14px 0 6px; border-radius: 12px; overflow: hidden; background: linear-gradient(180deg, #121c31 0%, #0a1120 100%); box-shadow: 0 0 0 1px rgba(242, 198, 109, .2), 0 16px 38px rgba(0, 0, 0, .38); isolation: isolate; }
.lux-ticker::before { content: ''; position: absolute; inset: 0 0 auto; height: 2px; z-index: 3; background: linear-gradient(270deg, var(--lux-gold) 0%, var(--lux-gold-2) 35%, rgba(242, 198, 109, .1) 100%); }
.lux-ticker::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255, 255, 255, .06); }
.lux-ticker-label { position: relative; z-index: 2; flex: 0 0 auto; display: flex; padding-left: 7px; background: #7a5a1c; clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%); }
.lux-ticker-tag { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px 0 32px; background: linear-gradient(135deg, #f7d58b 0%, #f2c66d 45%, #c9973a 100%); color: #1a1204; font-size: 1rem; font-weight: 900; white-space: nowrap; clip-path: polygon(0 0, 100% 0, 100% 100%, 18px 100%); }
.lux-ticker-dot { position: relative; flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; background: #b91c1c; box-shadow: 0 0 0 2px rgba(255, 255, 255, .6); }
.lux-ticker-dot::after { content: ''; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #b91c1c; animation: luxLive 1.6s ease-out infinite; }
@keyframes luxLive { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.lux-ticker .lux-marquee { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; overflow: hidden; direction: ltr; margin-right: -18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%); mask-image: linear-gradient(90deg, transparent, #000 7%); }
.lux-marquee-track { display: flex; direction: rtl; width: max-content; animation: luxTicker 84s linear infinite; will-change: transform; }
.lux-ticker:hover .lux-marquee-track { animation-play-state: paused; }
.lux-marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.lux-marquee-item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; color: #f1f5f9; font-size: .97rem; font-weight: 700; }
.lux-marquee-item i { color: var(--lux-gold); font-size: .92em; }
.lux-marquee-item::after { content: ''; flex-shrink: 0; width: 24px; height: 18px; margin: 0 20px; background: url(/assets/images/bk-icon-on-dark.svg?v=20261114v2) center / contain no-repeat; filter: drop-shadow(0 0 6px rgba(255, 78, 0, .35)); } /* الفاصل = أيقونة شعار Bakry Keys */
@keyframes luxTicker { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- صفوف المنتجات (المميزة + كل قسم) بتتحرك بالأسهم والسحب بدل الشبكة الطويلة ---------- */
body.lux-on .featured-products-section .featured-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lux-row-nav { display: inline-flex; gap: 10px; flex-shrink: 0; }
.lux-row-arrow[disabled] { opacity: .35; cursor: default; }
/* على الموبايل .shop-main-layout بيبقى عمود (flex column): من غير الحد ده عمود المنتجات بيتمدد بعرض كل كروت الصف (كان 2677px والكارت 1329px — 2026-11-13) */
body.lux-home .shop-products-wrapper { min-width: 0; max-width: 100%; width: 100%; }
body.lux-home :is(.featured-products-section, .category-section) { min-width: 0; max-width: 100%; }
/* القسم بقى صف واحد بيتحرك — الطول التقريبي قبل ما يترسم (shop-page.css: content-visibility) لازم يبقى صف واحد مش عدد المنتجات÷2،
   وإلا الصفحة على الموبايل بتطول آلاف البكسلات وبتتنطط وانت بتنزل (2026-11-13) */
body.lux-home .category-section { --mbk-rows: 1 !important; }
body.lux-home :is(.featured-products-section, .category-section) .products-grid { display: flex; justify-content: flex-start; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 4px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
body.lux-home :is(.featured-products-section, .category-section) .products-grid::-webkit-scrollbar { display: none; }
body.lux-home :is(.featured-products-section, .category-section) .products-grid > * { flex: 0 0 calc((100% - 54px) / 4); max-width: none; scroll-snap-align: start; }
body.lux-on .featured-products-section .featured-title .featured-icon { background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-2)); color: #1a1204; box-shadow: 0 8px 22px rgba(201, 151, 58, .4); }
body.lux-on .category-section-header .lux-row-nav { position: absolute; left: 160px; top: 50%; transform: translateY(-50%); z-index: 3; margin: 0; } /* جنب «عرض الكل» (هو absolute على الشمال) */
body.lux-on .category-section-header .lux-row-arrow { width: 40px; height: 40px; }

/* ---------- عنوان قسم فاخر + سلايدر آراء العملاء ---------- */
.lux-reviews { position: relative; padding: 34px 0 26px; }
.lux-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.lux-sec-title { display: flex; align-items: center; gap: 14px; min-width: 0; }
.lux-sec-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; flex-shrink: 0; border-radius: 16px; background: linear-gradient(135deg, var(--lux-gold), var(--lux-gold-2)); color: #1a1204; font-size: 1.2rem; box-shadow: 0 10px 26px rgba(201, 151, 58, .35); }
.lux-sec-title h2 { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 900; color: var(--text-primary); }
.lux-sec-title p { margin: 4px 0 0; color: var(--text-secondary); font-size: .92rem; }
.lux-sec-actions { display: inline-flex; align-items: center; gap: 12px; }
.lux-sec-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(242, 198, 109, .45); border-radius: 999px; color: var(--lux-gold); font-weight: 800; font-size: .9rem; text-decoration: none; transition: background .2s, color .2s; }
.lux-sec-link:hover { background: rgba(242, 198, 109, .12); color: var(--lux-gold); }
.lux-sec-link:focus-visible { outline: 2px solid var(--lux-gold); outline-offset: 3px; }
.lux-rev-row { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.lux-rev-row::-webkit-scrollbar { display: none; }
.lux-rev { position: relative; flex: 0 0 calc((100% - 36px) / 3); margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 18px; scroll-snap-align: start; border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.lux-rev::before { content: '\201D'; position: absolute; top: 6px; inset-inline-end: 18px; font-family: Georgia, serif; font-size: 4.2rem; line-height: 1; color: rgba(242, 198, 109, .22); pointer-events: none; }
.lux-rev-stars { display: flex; gap: 4px; color: var(--lux-gold); font-size: .95rem; }
.lux-rev blockquote { flex: 1; margin: 0; padding: 0; border: 0; background: none; color: var(--text-primary); font-size: .98rem; line-height: 1.95; unicode-bidi: plaintext; text-align: start; }
.lux-rev figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); }
.lux-rev-avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, #00d4ff, #6366f1); color: #fff; font-weight: 900; }
.lux-rev-who { display: flex; flex-direction: column; min-width: 0; }
.lux-rev-who b { color: var(--text-primary); font-size: .95rem; }
.lux-rev-who small { color: var(--text-secondary); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lux-rev-who small i { color: #34d399; }
.lux-rev-who small a { color: inherit; text-decoration: underline; text-decoration-color: rgba(148, 163, 184, .5); text-underline-offset: 3px; }
.lux-rev-who small a:hover { color: var(--lux-gold); }

/* ---------- الفواصل بين الأقسام: لمسة ذهبية ---------- */
body.lux-on .section-divider::before { background: linear-gradient(90deg, transparent 0%, rgba(242, 198, 109, .12) 15%, rgba(242, 198, 109, .5) 38%, rgba(0, 212, 255, .85) 50%, rgba(242, 198, 109, .5) 62%, rgba(242, 198, 109, .12) 85%, transparent 100%); }
body.lux-on .divider-icon::before { background: conic-gradient(from 0deg, var(--lux-gold), #00d4ff, #8b5cf6, var(--lux-gold-2), var(--lux-gold)); }
body.lux-on .divider-icon i { color: var(--lux-gold); text-shadow: 0 0 18px rgba(242, 198, 109, .7); }

/* ---------- الفاتح ---------- */
[data-theme="light"] .lux-spot-frame { box-shadow: 0 24px 60px rgba(15, 23, 42, .18); }
[data-theme="light"] .lux-ticker { background: linear-gradient(180deg, #ffffff, #f8fafc); box-shadow: 0 0 0 1px #f1d9a4, 0 12px 28px rgba(15, 23, 42, .08); }
[data-theme="light"] .lux-ticker::after { background: #e2e8f0; }
[data-theme="light"] .lux-ticker-label { background: #92600f; }
[data-theme="light"] .lux-marquee-item { color: #0f172a; }
[data-theme="light"] .lux-marquee-item::after { background-image: url(/assets/images/bk-icon-color.svg?v=20261114v2); filter: none; }
[data-theme="light"] .lux-row-arrow { border-color: #cbd5e1; background: #fff; color: #334155; }
[data-theme="light"] .lux-row-arrow:hover { background: #fffbeb; border-color: #f59e0b; color: #92400e; }
[data-theme="light"] .lux-rev { border-color: #e2e8f0; background: #fff; box-shadow: 0 10px 26px rgba(15, 23, 42, .08); }
[data-theme="light"] .lux-rev figcaption { border-top-color: #e2e8f0; }
[data-theme="light"] .lux-sec-link { border-color: #f59e0b; }
[data-theme="light"] .lux-sec-link:hover { background: #fffbeb; }
/* السلايدر نفسه بيفضل غامق في الوضعين (كارت عرض) — النص عليه أبيض دايماً */

/* ---------- الموبايل ---------- */
@media (max-width: 992px) {
    body.lux-home :is(.featured-products-section, .category-section) .products-grid > * { flex-basis: calc((100% - 36px) / 3); }
    .lux-rev { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 768px) {
    .lux-spot { padding: 16px 0 6px; }
    .lux-spot-frame { border-radius: 22px; }
    .lux-spot-inner { border-radius: 21px; }
    .lux-slide { grid-template-columns: 1fr; gap: 16px; padding: 22px 18px 16px; text-align: center; }
    .lux-slide-media { order: -1; width: min(54%, 200px); }
    .lux-slide-title { margin-top: 12px; }
    .lux-trustline { width: 100%; justify-content: center; }
    .lux-slide-copy { text-align: center; }
    .lux-slide-desc { margin-inline: auto; }
    .lux-slide-price, .lux-slide-cta { justify-content: center; }
    .lux-btn { width: 100%; }
    .lux-spot-nav { gap: 10px; padding-bottom: 16px; }
    .lux-ticker { height: 44px; margin: 12px 0 4px; border-radius: 10px; }
    .lux-ticker-tag { gap: 8px; padding: 0 12px 0 26px; font-size: .86rem; }
    .lux-marquee-item { font-size: .88rem; }
    .lux-marquee-item::after { margin: 0 16px; }
    body.lux-home :is(.featured-products-section, .category-section) .products-grid { gap: 12px; }
    body.lux-home :is(.featured-products-section, .category-section) .products-grid > * { flex-basis: calc((100% - 12px) / 2); }
    .lux-row-nav { display: none; } /* السحب بالإصبع */
    .lux-reviews { padding: 24px 0 18px; }
    .lux-rev-row { gap: 12px; }
    .lux-rev { flex-basis: 86%; padding: 18px 16px 14px; }
}

/* ---------- من غير حركة ---------- */
@media (prefers-reduced-motion: reduce) {
    .lux-slide, .lux-slide .lux-slide-copy > *, .lux-slide-media img, .lux-btn, .lux-dot { transition: none; }
    .lux-slide-media img { transform: none; }
    .lux-spot.is-playing .lux-dot.is-active::after { animation: none; }
    .lux-ticker .lux-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; direction: rtl; scrollbar-width: none; }
    .lux-marquee-track { animation: none; }
    .lux-marquee-group.is-copy, .lux-marquee-item.lux-dup { display: none; }
    .lux-ticker-dot::after { animation: none; }
    body.lux-home :is(.featured-products-section, .category-section) .products-grid, .lux-rev-row { scroll-behavior: auto; }
}

/* ===== صف الهيرو (2026-11-14): سلايدر «مختارات المتجر» + عمود جنبه (إعلان «فوق البحث» مضغوط + كروت ويندوز/أوفيس) ===== */
.lux-hero { padding-top: 26px; padding-bottom: 10px; }
.lux-hero > .lux-spot { padding: 0; }
.lux-hero.has-side { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(300px, 1fr); gap: 18px; align-items: stretch; }
.lux-hero.has-side .lux-spot { display: flex; flex-direction: column; min-width: 0; }
.lux-hero.has-side .lux-spot-frame { flex: 1; display: flex; }
.lux-hero.has-side .lux-spot-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.lux-hero.has-side .lux-slide { padding: 34px 40px 24px; gap: 26px; }
.lux-hero.has-side .lux-slide-media { width: min(100%, 320px); }
.lux-hero.has-side .lux-slide-title { font-size: clamp(1.4rem, 2vw, 2.1rem); }
.lux-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lux-side .mbk-ads { margin: 0; }
.lux-side .mbk-ads.mbk-ads-side .mbk-ad.mbk-ad-hero, .lux-side .mbk-ads.mbk-ads-side .mbk-ad.mbk-ad-hero:not(.no-img) { grid-template-columns: 1fr; align-items: stretch; min-height: 0; border-radius: 22px; }
.lux-side .mbk-ads.mbk-ads-side .mbk-ad-hero .mbk-ad-media { aspect-ratio: 2 / 1; }
.lux-side .mbk-ads.mbk-ads-side .mbk-ad-hero .mbk-ad-media img { width: 100%; height: 100%; object-fit: cover; }
.lux-side .mbk-ads-side .mbk-ad-body { padding: 14px 16px 16px; }
.lux-side .mbk-ads-side .mbk-ad-actions { justify-content: center; flex-wrap: wrap; margin: 0; }
.lux-side-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 11px; }
.lux-sidecat { position: relative; display: flex; align-items: center; gap: 12px; padding: 20px 14px 14px; border-radius: 20px; border: 1px solid var(--border-color); text-decoration: none; color: var(--text-primary); background: var(--bg-card); transition: transform .25s ease, border-color .25s ease; }
.lux-sidecat:hover { transform: translateY(-3px); }
.lux-sidecat:focus-visible { outline: 2px solid var(--lux-sc-c, var(--primary)); outline-offset: 3px; }
.lux-sidecat-ico { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 255, 255, .06); display: inline-flex; align-items: center; justify-content: center; }
.lux-sidecat-ico img { width: 34px; height: 34px; object-fit: contain; }
.lux-sidecat-ico i { font-size: 1.6rem; color: var(--lux-sc-c, var(--primary)); }
.lux-sidecat-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.lux-sidecat b { position: absolute; top: -11px; inset-inline-start: 14px; max-width: calc(100% - 28px); padding: 0 8px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .84rem; font-weight: 800; line-height: 1.6; color: var(--lux-sc-c, var(--primary)); background: linear-gradient(to bottom, transparent calc(50% - 1px), var(--bg-card) calc(50% - 1px)); border-radius: 8px; }
.lux-sidecat small { color: var(--text-secondary); font-size: .78rem; line-height: 1.6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lux-sidecat em { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-size: .8rem; font-weight: 800; color: var(--primary); }
.lux-sidecat:hover em i { transform: translateX(-3px); }
.lux-sidecat em i { transition: transform .2s ease; }
.lux-sc-blue { --lux-sc-c: #3ea6ff; background: linear-gradient(20deg, rgba(0, 120, 212, .22), var(--bg-card) 70%); }
.lux-sc-blue:hover { border-color: #0078d4; }
.lux-sc-orange { --lux-sc-c: #ff7a45; background: linear-gradient(20deg, rgba(235, 60, 0, .22), var(--bg-card) 70%); }
.lux-sc-orange:hover { border-color: #eb3c00; }
[data-theme="light"] .lux-sc-blue { --lux-sc-c: #0067b8; }
[data-theme="light"] .lux-sc-orange { --lux-sc-c: #c2410c; }
[data-theme="light"] .lux-sidecat-ico { background: rgba(15, 23, 42, .05); }
@media (max-width: 1099px) {
    .lux-hero.has-side { grid-template-columns: 1fr; }
    .lux-side { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 16px; }
    .lux-side-cats { grid-template-columns: 1fr; margin-top: 0; row-gap: 22px; }
}
@media (max-width: 700px) {
    .lux-hero { padding-top: 16px; padding-bottom: 6px; }
    .lux-hero.has-side .lux-slide { padding: 22px 18px 16px; }
    .lux-side { grid-template-columns: 1fr; gap: 20px; }
    .lux-side-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
}
@media (max-width: 420px) {
    .lux-sidecat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 12px 12px; }
    .lux-sidecat-ico { width: 44px; height: 44px; border-radius: 13px; }
    .lux-sidecat-ico img { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .lux-sidecat, .lux-sidecat em i { transition: none; } }
