.mobix-security-check{position:fixed;z-index:10000;inset:auto 8px max(16px,env(safe-area-inset-bottom));box-sizing:border-box;margin:auto;max-width:420px;max-height:85vh;overflow-y:auto;padding:16px;background:#fff;color:#17324d;color-scheme:light;border:1px solid #cbd8e8;border-radius:16px;box-shadow:0 8px 48px #0004;text-align:center;overscroll-behavior:contain}
.mobix-security-check p{color:#17324d;line-height:1.7;overflow-wrap:anywhere;font-size:16px}
.mobix-security-check p[role=status]{padding:10px;border:1px solid #e2a120;border-radius:10px;background:#fff3c4;color:#542d00;font-weight:700}
.mobix-security-check button{margin:8px 4px 0;max-width:100%;min-height:44px;padding:10px 16px;border:1px solid #91a4bd;border-radius:8px;background:#f1f5f9;color:#17324d;font:inherit;cursor:pointer}
.mobix-security-check .mobix-security-help{font-size:14px}
.mobix-security-check [hidden]{display:none}
.mobix-security-check button:focus-visible{outline:3px solid #2563eb;outline-offset:2px}

/* MOBIX ARENA — shared Modern Tech UI
   1 Tokens/base  2 Navigation  3 Hero  4 Cards  5 Forms/pages  6 Dialogs  7 Responsive */
@font-face{font-family:Tajawal;src:url("/assets/tajawal-regular.woff?v=f1e94e85fda1490c") format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Tajawal;src:url("/assets/tajawal-bold.woff?v=25766906f6c4c5b7") format('woff');font-weight:700 900;font-style:normal;font-display:swap}
:root{
 --page-surface:#F2F6FC;--card-surface:#FFFFFF;--blue:#0874F9;--ink:#080E29;--muted:#6B7280;--line:#E5E7EB;
 --card-radius:14px;--card-gap:8px;--card-shadow:0 2px 8px rgba(17,24,39,.045);
 --ice:#EFF6FF;--danger:#B42332;--max-width:1100px;--nav-height:66px;color-scheme:light;
 --raised-radius:20px;--raised-shadow:0 7px 18px rgba(17,24,39,.07),0 0 14px rgba(22,119,242,.055);--hero-shadow:0 12px 26px rgba(17,24,39,.09),0 0 22px rgba(22,119,242,.09);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;background:var(--page-surface);color:var(--ink);font-family:Tajawal,Tahoma,Arial,sans-serif;font-size:16px;line-height:1.65;padding-bottom:calc(var(--nav-height) + env(safe-area-inset-bottom))}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
img{max-width:100%;display:block}
h1,h2,h3,p{overflow-wrap:anywhere}
h1,h2,h3{line-height:1.4;font-weight:700}
svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.icon-defs{position:absolute;width:0;height:0;overflow:hidden}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
.button,:where(button:not(.icon-button):not(.hero-controls button):not(.bottom-nav button):not(.dialog-head button):not(.menu-links button):not(.cart-row button)){
 display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:var(--card-surface);color:var(--blue);font-weight:700;line-height:1.5;
}
.button.primary,button.primary{background:var(--blue);border-color:var(--blue);color:#fff}
.button.outline{background:var(--card-surface);border-color:var(--blue);color:var(--blue)}
button:disabled,.button:disabled{opacity:.5;cursor:not-allowed}
.button:active,button:active{filter:brightness(.96)}
/* Navigation: logo and all destinations preserved. */
.header{height:64px;display:flex;align-items:center;gap:8px;max-width:var(--max-width);margin:auto;padding:8px 9px;direction:ltr;background:transparent}
.brand{font-family:Arial,sans-serif;font-size:24px;font-weight:900;letter-spacing:-1.2px;white-space:nowrap}
.brand span{color:var(--blue)}
.header-left{position:absolute;left:18px;display:flex;gap:14px}
.icon-button{border:0;background:none;min-width:36px;min-height:40px;padding:5px;display:flex;align-items:center;justify-content:center;color:var(--ink);position:relative}
.header-cart{position:relative;right:auto;flex:0 0 28px}
.cart-count{position:absolute;top:0;right:-2px;min-width:18px;height:18px;padding:0 4px;display:grid;place-items:center;border-radius:20px;background:var(--blue);color:#fff;font:700 11px Arial;line-height:1;white-space:nowrap}
.top-categories{display:flex;direction:ltr;gap:5px;max-width:var(--max-width);margin:auto;padding:4px 8px 10px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;background:transparent}
.top-categories::-webkit-scrollbar{display:none}
.top-categories a{flex:1 0 52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:52px;padding:4px 2px;background:var(--card-surface);border:1px solid transparent;border-radius:9px;font-size:10px;font-weight:700;white-space:nowrap;scroll-snap-align:start;transition:transform .15s}
.top-categories a[aria-current=true]{background:#E5F1FF;border-color:#66A9F0;box-shadow:0 3px 10px #0874F90A}
.top-categories svg{color:var(--ink);width:19px;height:19px}.category-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:linear-gradient(135deg,#F7F9FC,#E4EAF2)}.top-categories a[aria-current=true] .category-icon{background:#CDE3FF}.top-categories a[aria-current=true] svg{color:var(--blue)}
.top-categories a:active{transform:scale(.97);background:var(--ice)}
.bottom-nav{position:fixed;left:6px;right:6px;bottom:calc(6px + env(safe-area-inset-bottom));z-index:20;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--card-surface);border:1px solid #fff;border-radius:32px;box-shadow:0 5px 20px #233B6D10;padding:6px 12px;transition:transform .2s ease-out}.bottom-nav.nav-hidden{transform:translateY(calc(100% + 20px + env(safe-area-inset-bottom)))}
.bottom-nav a,.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;line-height:1.3;color:var(--muted);background:none;border:0;padding:0;min-height:52px;justify-content:center}
.bottom-nav .active{color:var(--blue)}
.bottom-nav svg{width:23px;height:23px}
.bottom-nav .active svg{fill:var(--blue);stroke:var(--blue)}
.bottom-cart-icon{position:relative;display:flex;align-items:center;justify-content:center}
.bottom-cart-icon .cart-count{top:-5px;right:-9px}
/* Hero: preserve three slides, swipe and rotation; images are never stretched/cropped. */
.hero{position:relative;width:calc(100% - 10px);max-width:1100px;aspect-ratio:2.2/1;height:auto;margin:0 auto 12px;background:#030D25;border:1px solid #164976;border-radius:12px;box-shadow:var(--hero-shadow);overflow:hidden;direction:ltr;touch-action:pan-y pinch-zoom}
.hero-slide{position:absolute;inset:0;background:#030D25;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .8s ease-in-out}
.hero-slide[aria-hidden=false]{opacity:1;pointer-events:auto;z-index:1}
.hero-photo{width:100%;height:100%;object-fit:contain;object-position:center}
.hero-slide picture{display:block;width:100%;height:100%}
.hero-copy{position:absolute;left:7%;top:50%;transform:translateY(-50%);width:43%;direction:rtl;text-align:right;color:#fff}
.hero h1{font-size:clamp(26px,3.8vw,44px);line-height:1.3;margin:0 0 12px;letter-spacing:0}
.hero h1 span{color:var(--blue)}
.hero-copy p{font-size:18px;color:#fff;margin:0 0 20px;line-height:1.6}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}
.hero-actions .button{font-size:15px;min-height:44px;padding:10px 16px}
.play-small{font-size:15px}
.accessories-slide .hero-photo{width:100%;height:100%;object-fit:contain;object-position:center}
.hero-controls{position:absolute;bottom:9px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:7px;direction:ltr;z-index:2;background:var(--card-surface);border:1px solid var(--line);border-radius:24px;padding:3px 8px}
.hero-controls button{width:9px;height:9px;border:0;border-radius:50%;padding:0;background:#CBD5E1;position:relative}
.hero-controls button::before{content:"";position:absolute;inset:-8px -4px}
.hero-controls button[aria-pressed=true]{background:var(--blue);width:19px;border-radius:8px}
.hero-controls .hero-pause{width:25px;height:24px;background:transparent;color:var(--muted);font-size:13px}
@keyframes hero-reveal{from{opacity:.5}to{opacity:1}}
/* Shared cards and content. */
.content{max-width:var(--max-width);margin:auto;padding:24px 16px;background:var(--page-surface)}
.content>section{margin:0 0 28px}
.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.section-head h2{display:flex;align-items:center;gap:8px;font-size:24px;margin:0}
.section-head h2 svg{color:var(--blue)}
.section-head>a,.text-button{display:flex;align-items:center;gap:4px;color:var(--blue);font-size:14px;white-space:nowrap;background:none;border:0;padding:0}
.section-head>a svg{width:18px;height:18px}
.video-grid,.product-grid,.phones-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--card-gap);align-items:stretch}

.product,.phone-card,.video-card,.order-card,.article-page article{background:var(--card-surface);border:1px solid var(--line);border-radius:var(--card-radius);box-shadow:var(--card-shadow);min-width:0}
.product,.phone-card{padding:12px;overflow:hidden}
.product{display:flex;flex-direction:column;padding:0;cursor:pointer}
.product h3,.product>.price,.product>.stock-note,.product-details-hint{padding:0 9px}
.product-details-hint{font-size:12px;color:var(--blue);margin:3px 0 6px}
.phone-card{text-align:center}
.product h3,.phone-card h3{font-size:18px;line-height:1.45;margin:10px 0 4px}
.price{font-size:23px;line-height:1.5;color:var(--blue);font-weight:700;margin:4px 0 10px}
.product h3{font-size:16px;margin:6px 0 3px}
.product>.price{font-size:20px;margin:2px 0 4px}
.product>.stock-note{font-size:13px;margin:2px 0 4px}
.product .button{width:calc(100% - 18px);margin:auto 9px 9px;font-size:13px;min-height:44px;padding:8px 6px}
.product .store-gallery{aspect-ratio:1/1}
.product .store-gallery img{object-fit:contain}
.stock-note,.phone-card p{font-size:14px;color:var(--muted);margin:4px 0 8px}
.store-gallery{display:flex;direction:ltr;aspect-ratio:4/5;width:100%;height:auto;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;border-radius:13px 13px 0 0;background:var(--card-surface);overscroll-behavior-x:contain;scrollbar-width:none}
.store-gallery::-webkit-scrollbar{display:none}
.store-gallery img,.store-gallery .phone-placeholder{flex:0 0 100%;width:100%;height:100%;object-fit:cover;scroll-snap-align:start}
.store-gallery img{cursor:zoom-in;border-radius:0;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
.gallery-dots{display:flex;direction:ltr;gap:6px;justify-content:center;align-items:center;padding:8px 0 0}
.gallery-dots .gallery-dot{position:relative;min-height:7px;width:7px;height:7px;border:0;border-radius:50%;padding:0;background:#CBD5E1}
.gallery-dot::before{content:'';position:absolute;inset:-7px -3px}
.gallery-dots .gallery-dot[aria-pressed=true]{background:var(--blue)}
.product-detail-dialog{width:min(620px,calc(100% - 24px))}
.product-detail-gallery{aspect-ratio:4/3;max-height:350px;border-radius:14px}
.product-detail-gallery img{object-fit:contain;cursor:default}
.product-detail-dialog .button{width:100%}
.product-touch-zoom{position:fixed;z-index:60;pointer-events:none;object-fit:cover;border-radius:16px;box-shadow:0 10px 24px #11182726;transform-origin:center;background:var(--card-surface);transition:transform .18s ease-out,box-shadow .18s ease-out;will-change:transform}
.product-carousel{display:flex;direction:rtl;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;align-items:stretch;padding:6px 0 12px}
.product-carousel::-webkit-scrollbar{display:none}
.product-carousel>.product,.product-carousel>.phone-card{flex:0 0 clamp(220px,24vw,270px);direction:rtl;scroll-snap-align:start;border-radius:16px;min-width:0}
.product-carousel>.product{flex-basis:clamp(165px,18vw,203px)}
.product-carousel .store-gallery{border-radius:15px 15px 0 0;overscroll-behavior-x:auto}
.product-carousel h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.9em}
.product-carousel-controls{display:flex;direction:ltr;gap:12px;justify-content:center;align-items:center;margin:0 0 12px}
.product-carousel-dots{display:flex;gap:7px}
.product-carousel-controls .carousel-dot{position:relative;width:7px;height:7px;min-height:7px;padding:0;border:0;border-radius:50%;background:#CBD5E1}
.carousel-dot::before{content:'';position:absolute;inset:-7px -3px}
.product-carousel-controls .carousel-dot[aria-pressed=true]{background:var(--blue)}
.product-carousel-controls .carousel-pause{min-height:28px;width:28px;padding:0;border:0;background:var(--card-surface);border-radius:50%;font-size:13px;color:var(--muted)}
.product-image{height:200px;background:var(--card-surface);overflow:hidden;border-radius:10px}
.product-image img,.product-image .phone-product{width:100%;height:100%;object-fit:contain;object-position:center}
.phone-card img,.phone-placeholder{width:100%;height:200px;object-fit:contain}
.phone-placeholder{display:grid;place-items:center;background:var(--page-surface);color:var(--muted);font-size:13px;border-radius:10px}
.product details{margin:10px 0;font-size:14px}
.product details p{max-height:260px;overflow:auto}
.product details summary{color:var(--blue);cursor:pointer}
.video-card{display:block;flex:0 0 clamp(190px,52vw,220px);min-width:0;max-width:none;overflow:hidden;padding:0 0 7px;border-radius:10px;border-color:#E9EEF6;box-shadow:0 4px 12px #233B6D08;transition:transform .16s ease-out;direction:rtl}
.video-card:active{transform:translateY(2px) scale(.99)}
.video-card:focus-visible,.top-categories a:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.thumbnail{position:relative;aspect-ratio:16/9;overflow:hidden;background:var(--ice);border-radius:13px 13px 0 0}
.thumbnail img,.comparison img{width:100%;height:100%;object-fit:cover;object-position:center;transform:none}
.play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:46px;height:46px;padding-left:3px;font-size:20px;line-height:1;background:rgba(17,24,39,.7);color:#fff;border:2px solid rgba(255,255,255,.95);border-radius:50%;box-shadow:0 2px 10px #0002}
.video-card h3{font-size:15px;line-height:1.4;margin:8px 10px 4px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.video-card p{font-size:12px;line-height:1.4;color:var(--muted);margin:0 10px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.preview-note{font-size:13px;line-height:1.6;color:var(--muted);margin:12px 0}
#phones-more,#videos-more,#store-more{display:flex;margin:18px auto 0}
.benefits{max-width:var(--max-width);margin:auto;background:var(--card-surface);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:20px 16px;border-top:1px solid var(--line)}
.benefits>div{display:flex;justify-content:center;align-items:center;gap:12px;border-left:1px solid var(--line);min-width:0}
.benefits>div:last-child{border:0}
.benefits svg{width:30px;height:30px;color:var(--blue)}
.benefits p{margin:0;line-height:1.5}
.benefits strong{display:block;font-size:17px}
.benefits span{display:block;font-size:12px;color:var(--muted)}
footer{text-align:center;padding:20px 16px;background:var(--card-surface)}
footer .brand{font-size:25px}
footer p{font-size:13px;color:var(--muted);margin:2px 0 12px}
.socials{display:flex;direction:ltr;justify-content:center;gap:18px}
.socials a{width:26px;height:26px;border-radius:6px;color:#fff;font:700 19px/26px Arial}
.youtube{background:#FF001D}.instagram{background:linear-gradient(35deg,#FFB827,#DF247D,#663CB5)}.tiktok{background:var(--ink)}
/* All secondary pages, admin editors and checkout share the same controls. */
.content-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px;max-width:1000px;margin:auto;background:var(--card-surface);border-bottom:1px solid var(--line)}
.content-header>a:last-child{color:var(--blue)}
.article-page,.admin-page{max-width:900px;margin:auto;padding:24px 20px;background:var(--page-surface)}
.article-page h1,.admin-page h1{font-size:30px;margin:0 0 16px}
.article-page article{padding:24px}
.article-page img{width:100%;max-height:420px;object-fit:contain;background:var(--card-surface);border-radius:12px}
.article-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.9}
#article-name,#article-date{color:var(--muted)}
.admin-page form{display:grid;gap:14px;background:var(--card-surface);border:1px solid var(--line);border-radius:var(--card-radius);padding:20px;margin:20px 0;box-shadow:var(--card-shadow)}
.admin-page label{display:block;font-weight:700}
.admin-page label[hidden]{display:none}
.password-control{position:relative;display:block;min-width:0}
.password-control input{padding-inline-end:76px}
.password-toggle{position:absolute;inset-inline-end:8px;top:50%;transform:translateY(-42%);padding:6px 8px;border:0;background:transparent;color:var(--blue);font:inherit;font-size:14px;cursor:pointer}
.password-toggle:focus-visible{outline:2px solid var(--blue);outline-offset:2px;border-radius:6px}
input,select,textarea{width:100%;min-width:0;max-width:100%;font-size:16px;background:var(--card-surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px;margin:6px 0 0;line-height:1.5}
textarea{resize:vertical}
input[type=file]{font-size:14px;overflow:hidden}
input[type=checkbox]{width:auto;min-width:18px;min-height:18px;accent-color:var(--blue)}
.check-label{display:flex!important;align-items:center;gap:10px;font-weight:400!important}
.admin-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.admin-tabs a{padding:10px 14px;background:var(--card-surface);border:1px solid var(--line);border-radius:var(--card-radius);font-weight:700}
.admin-tabs [aria-current]{background:var(--blue);color:#fff;border-color:var(--blue)}
.admin-row{display:flex;align-items:center;gap:10px;background:var(--card-surface);border:1px solid var(--line);border-radius:var(--card-radius);margin:8px 0;padding:14px;min-width:0;flex-wrap:wrap}
.admin-row span,.admin-row>a{flex:1;min-width:100px;overflow-wrap:anywhere}
.admin-images{display:flex;gap:8px;flex-wrap:wrap}
.admin-images img{width:100px;height:100px;object-fit:contain;border-radius:10px;border:1px solid var(--line)}
.video-preview,.banner-preview{display:block;width:100%;max-height:300px;object-fit:contain;border:1px solid var(--line);border-radius:var(--card-radius);background:var(--card-surface);margin:12px 0}
.video-preview{max-width:420px}
#admin-status,#banner-status,#order-status{white-space:pre-wrap;color:var(--blue)}
.order-card{padding:20px;margin:12px 0;overflow-wrap:anywhere}
.order-card button{margin:4px;max-width:100%}
.order-card a{display:block;margin:12px 0;color:var(--blue)}
.google-login{width:100%;background:var(--card-surface);color:var(--ink)!important;border-color:var(--line);min-height:48px}
/* Dialogs: cart, menu and search. */
dialog{border:1px solid var(--line);border-radius:var(--card-radius);padding:20px;width:min(480px,calc(100% - 24px));max-height:80dvh;overflow:auto;background:var(--card-surface);color:var(--ink);box-shadow:0 16px 60px #11182726}
dialog::backdrop{background:#11182780}
.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.dialog-head h2{font-size:22px;margin:0}
.dialog-head button{background:var(--page-surface);color:var(--muted);border:0;border-radius:50%;width:36px;height:36px;font-size:25px;padding:0}
.menu-links{display:grid;gap:8px}
.menu-links a,.menu-links button{display:block;text-align:right;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--card-surface);color:var(--ink)}
.demo-alert{background:var(--ice);color:var(--muted);font-size:14px;line-height:1.7;padding:12px;border-radius:12px}
#search-results a{display:block;padding:12px;margin-top:8px;color:var(--blue);border:1px solid var(--line);border-radius:12px}
.cart-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 0;border-bottom:1px solid var(--line);font-size:15px}
.cart-row span{min-width:0;overflow-wrap:anywhere}
.cart-row button{background:none;color:var(--danger);border:0;padding:8px;flex-shrink:0}
#cart-total{font-size:20px;font-weight:700}
#cart-checkout{width:100%}
#toast{position:fixed;bottom:calc(var(--nav-height) + 18px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);background:var(--ink);color:#fff;border-radius:12px;padding:10px 16px;z-index:40;font-size:14px;display:none;text-align:center}
/* Responsive breakpoints, collected here to avoid cascade conflicts. */
@media(min-width:700px){
 .product-grid,.phones-grid,.video-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .top-categories a{flex:1}
}
@media(min-width:1000px){
 .product-grid,.phones-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .content{padding:28px 20px}
 .phone-card img,.phone-placeholder,.product-image{height:220px}
}
@media(max-width:550px){
 .header{height:58px;padding:0 12px}.brand{font-size:22px}.header-left{left:8px;gap:6px}.header-cart{right:8px}.icon-button svg{width:22px;height:22px}
 .top-categories{padding:4px 8px 10px}.top-categories a{font-size:9px;min-height:52px;padding:4px 2px}
 .hero-copy{width:47%;left:2%;transform:translateY(-58%)}.hero h1{font-size:17px;margin-bottom:4px;line-height:1.2}.hero-copy p{font-size:10px;margin-bottom:5px;line-height:1.3}
 .hero-actions .button{font-size:10px;padding:4px 6px;min-height:28px;gap:3px}.hero-actions{gap:4px}.hero-actions svg{width:14px;height:14px}.hero-controls{bottom:3px;padding:1px 6px;gap:5px}.hero-controls .hero-pause{height:20px;width:22px}
 .content{padding:20px 12px}.content>section{margin-bottom:24px}.section-head h2{font-size:21px}.section-head>a{font-size:13px}
 .phone-card{padding:10px}.product h3{font-size:15px}.phone-card h3{font-size:16px}.price{font-size:21px}.product>.price{font-size:18px}.product .button{font-size:12px;padding:8px 6px}
 .phone-card img,.phone-placeholder,.product-image{height:160px}
 .play{width:36px;height:36px;font-size:16px}
 .benefits{padding:16px 8px}.benefits>div{gap:6px}.benefits svg{width:24px;height:24px}.benefits strong{font-size:13px}.benefits span{font-size:10px}
 .content-header{padding:16px 12px}.content-header .brand{font-size:22px}
 .article-page,.admin-page{padding:20px 12px}.article-page h1,.admin-page h1{font-size:25px}.article-page article,.admin-page form,.order-card{padding:16px}
 .admin-tabs a{font-size:14px;padding:8px 10px}.bottom-nav a,.bottom-nav button{font-size:11px}
}
@media(max-width:360px){
 .brand{font-size:19px}.header-left{gap:1px}.hero h1{font-size:15px}.hero-copy p{font-size:9px}.hero-actions .button{font-size:9px}
 .section-head h2{font-size:19px}.benefits svg{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-slide{animation:none;transition:none}.top-categories a,.product-touch-zoom,.video-card{transition:none}.video-card:active{transform:none}}

/* Reference layout shared components. Hero artwork awaits the original source file. */
.header-search{display:flex;flex:1;min-width:0;align-items:center;justify-content:space-between;gap:6px;direction:ltr;border:1px solid #fff;border-radius:24px;background:#FFFFFFC9;height:30px;min-height:30px;padding:4px 9px;color:#778194;font-size:10px}.header-search span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;direction:rtl}.header-search svg{width:16px;height:16px}.menu-trigger{background:#fff;border-radius:50%;min-height:34px;min-width:34px}.header .brand{font-size:20px}.header .icon-button svg{width:20px;height:20px}

.thumbnail-unavailable{background:linear-gradient(135deg,#EAF2FC,#DCE9FA)}.thumbnail-label{position:absolute;bottom:7px;left:4px;right:4px;text-align:center;color:#62758D;font-size:10px;line-height:1.3}
.content{padding:16px 12px 24px}.section-head{margin-bottom:10px}.section-head h2{font-size:18px}.section-head>a{font-size:12px}.content>section{margin-bottom:28px}
.content p[role=status]:empty{display:none}
.product,.phone-card{position:relative}.favorite-button{position:absolute!important;top:4px;right:4px;z-index:2;border:0;background:#FFFFFFB3;color:#7D8797;width:24px;min-height:24px;padding:0;border-radius:50%;font-size:23px;line-height:1}.favorite-button[aria-pressed=true]{color:var(--blue)}.product .button svg{pointer-events:none}
@media(min-width:551px){.header .brand{font-size:28px}.header-search{height:38px;font-size:14px}.top-categories a{font-size:13px;min-height:74px}.category-icon{width:42px;height:42px}.top-categories svg{width:26px;height:26px}}



@media(max-width:550px){html{scrollbar-width:none}html::-webkit-scrollbar{display:none}}
.hero-eyebrow{font:700 11px Arial,sans-serif;color:#3AAAE8;letter-spacing:.4px;margin-bottom:8px;direction:ltr;text-align:left}.hero-actions{justify-content:flex-end}.hero-actions .primary{background:#fff;color:var(--blue);border-radius:28px;border-color:#fff;padding:8px 18px}.hero h1 span{color:#36A5FF}
@media(max-width:550px){.header-cart{right:auto}.hero-copy{left:7%;width:43%;transform:translateY(-50%)}.hero-eyebrow{font-size:8px;margin-bottom:8px}.hero h1{font-size:21px;line-height:1.2;margin-bottom:7px}.hero-copy p{font-size:11px;line-height:1.4;margin-bottom:8px}.hero-actions .primary{font-size:10px;min-height:28px;padding:5px 12px}.hero-actions .outline{display:none}}
@media(max-width:360px){.hero h1{font-size:18px}.hero-copy p{font-size:10px}.hero-eyebrow{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.bottom-nav{transition:none}}

/* Responsive sizing: shared rails work before and after carousel initialization. */
:root{--rail-gap:12px;--section-gap:28px;--nav-height:66px}
body{padding-bottom:calc(16px + env(safe-area-inset-bottom,0px));padding-left:env(safe-area-inset-left,0px);padding-right:env(safe-area-inset-right,0px)}
body.with-bottom-nav{padding-bottom:calc(var(--nav-height) + 24px + env(safe-area-inset-bottom,0px))}
main,.content,.content>section{min-width:0;max-width:100%}
.content{display:grid;gap:var(--section-gap);max-width:var(--max-width);padding:16px 12px 24px}
.content>section{margin:0}
.section-head{direction:rtl;margin-bottom:10px}
.section-head h2{min-width:0}
#videos-grid,#phones-grid,#store-grid{
 display:flex;direction:rtl;justify-content:flex-start;align-items:stretch;
 width:100%;min-width:0;gap:var(--rail-gap);overflow-x:auto;
 overscroll-behavior-x:contain;scroll-snap-type:x proximity;
 scroll-padding-inline:0;scrollbar-width:none;padding:2px 0 8px;
}
#videos-grid::-webkit-scrollbar,#phones-grid::-webkit-scrollbar,#store-grid::-webkit-scrollbar{display:none}
#videos-grid>.video-card{flex:0 0 clamp(260px,28vw,320px);scroll-snap-align:start;scroll-snap-stop:normal}
#phones-grid>.phone-card,#store-grid>.product{flex:0 0 clamp(180px,22vw,230px);max-width:none;scroll-snap-align:start;scroll-snap-stop:normal}
.product-carousel-controls{margin:4px 0 0;min-width:0}
.product-carousel .phone-card{display:flex;flex-direction:column;padding:8px}
.product-carousel .phone-card img,.product-carousel .phone-placeholder{height:auto;aspect-ratio:1;object-fit:contain}
.product-carousel .phone-card h3{margin:6px 0 3px;min-height:2.8em}
.product-carousel .phone-card p{margin:3px 0 6px}
#videos-grid .video-card h3{min-height:2.8em}
.product .store-gallery img{object-fit:contain;object-position:center}
.top-categories{overscroll-behavior-x:contain}
.top-categories a{scroll-snap-align:start}
.bottom-nav{width:calc(100% - 12px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-width:560px;left:env(safe-area-inset-left,0px);right:env(safe-area-inset-right,0px);margin-inline:auto;height:var(--nav-height);padding:6px 12px}
.bottom-nav a,.bottom-nav button{min-width:0;min-height:52px}
/* Mobile proportions measured from IMG_4262(3), normalized to viewport width.
   Latest reference supersedes the earlier 190–220 / 145–165px card brief. */
@media(max-width:699px){
 :root{--rail-gap:6px;--section-gap:12px;--nav-height:48px}
 .header{height:48px;padding:4px 9px;gap:7px}
 .header .brand{font-size:clamp(14px,4.6vw,24px);letter-spacing:-.9px;flex-shrink:0}
 .header-search{height:30px;min-height:30px;padding:4px 10px;font-size:clamp(8px,1.85vw,12px)}
 .header-search svg{width:16px;height:16px}
 .menu-trigger{min-width:34px;min-height:30px;padding:6px}
 .header-cart{right:auto;min-width:28px;min-height:34px;flex:0 0 28px;padding:4px}
 .header .icon-button svg{width:20px;height:20px}
 .cart-count{min-width:14px;height:14px;font-size:9px}
 .top-categories{gap:5px;padding:3px 9px 11px}
 .top-categories a{flex:1 0 0;min-width:0;min-height:52px;padding:3px 1px;gap:3px;font-size:clamp(8px,1.95vw,12px);border-radius:8px}
 .category-icon{width:30px;height:30px}
 .top-categories svg{width:19px;height:19px}
 .hero{width:calc(100% - 10px);aspect-ratio:2.2/1;margin-bottom:0;border-radius:11px}
 .hero-copy{left:7%;width:43%;transform:translateY(-50%)}
 .hero-eyebrow{font-size:clamp(8px,2vw,12px);margin-bottom:8px}
 .hero h1{font-size:clamp(18px,5.15vw,30px);line-height:1.3;margin-bottom:7px}
 .hero-copy p{font-size:clamp(10px,2.7vw,16px);line-height:1.4;margin-bottom:10px}
 .hero-actions{justify-content:flex-end}
 .hero-actions .primary{font-size:clamp(9px,2.25vw,13px);min-height:26px;padding:5px 11px;gap:6px}
 .hero-actions .outline{display:none}
 .content{padding:14px 9px 20px}
 .section-head{margin-bottom:5px;gap:8px;min-height:20px}
 .section-head h2{font-size:clamp(13px,3.1vw,20px);gap:5px}
 .section-head h2 svg{width:16px;height:16px}
 .section-head>a{font-size:clamp(10px,2.35vw,14px);gap:2px}
 #videos-grid,#phones-grid,#store-grid{padding:1px 0 4px}
 #videos-grid>.video-card{flex-basis:clamp(96px,29.5vw,190px);border-radius:8px;padding-bottom:7px}
 #videos-grid .thumbnail{aspect-ratio:4/3;border-radius:8px 8px 0 0}
 #videos-grid .video-card h3{font-size:clamp(9px,2.2vw,14px);line-height:1.4;min-height:2.8em;margin:5px 6px 3px}
 #videos-grid .video-card p{font-size:clamp(8px,1.9vw,12px);line-height:1.4;min-height:2.8em;margin:0 6px}
 .play{width:28px;height:28px;font-size:12px;border-width:1px}
 #phones-grid>.phone-card,#store-grid>.product{flex:0 0 calc((100% - 18px)/4);border-radius:9px}
 .product-carousel .phone-card{padding:5px;text-align:left;direction:ltr}
 .product-carousel .phone-card img,.product-carousel .phone-placeholder{aspect-ratio:1;height:auto;width:100%;object-fit:contain}
 .product-carousel .phone-card h3{font-size:clamp(8px,2.05vw,13px);line-height:1.35;min-height:1.35em;margin:4px 1px 2px;-webkit-line-clamp:1}
 .product-carousel .phone-card p{position:relative;font-size:clamp(7px,1.7vw,11px);line-height:1.4;margin:1px 1px 2px;padding-right:13px;min-height:1.4em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left}
 .product-carousel .phone-card p::after{content:'→';position:absolute;right:0;top:-3px;font:700 18px/1 Arial;color:var(--blue)}
 .favorite-button{width:20px;min-height:20px;font-size:20px;top:3px;right:3px}
 .product-carousel .product h3{font-size:clamp(8px,2vw,13px);line-height:1.35;min-height:1.35em;padding:0 6px;margin:4px 0 2px;-webkit-line-clamp:1;direction:ltr;text-align:left}
 .product .store-gallery{aspect-ratio:1.13;border-radius:8px 8px 0 0}
 .product>.price{font-size:clamp(9px,2.2vw,14px);line-height:1.4;margin:1px 0 7px;padding:0 28px 0 6px;min-height:26px;direction:ltr;text-align:left;overflow-wrap:normal}
 .product .stock-note,.product-details-hint{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .product .button{position:absolute;right:6px;bottom:6px;width:24px;height:24px;min-height:24px;padding:4px;margin:0;border-radius:7px}
 .product .button svg{width:16px;height:16px}
 .product .gallery-dots{position:absolute;top:4px;left:4px;padding:0;gap:3px;max-width:calc(100% - 30px)}
 .gallery-dots .gallery-dot{width:4px;min-height:4px;height:4px}
 .bottom-nav{width:calc(100% - 12px - env(safe-area-inset-left,0px) - env(safe-area-inset-right,0px));max-width:560px;border-radius:28px;padding:4px 10px}
 .bottom-nav a,.bottom-nav button{font-size:clamp(9px,2.1vw,12px);min-height:38px;gap:1px;position:relative}
 .bottom-nav svg{width:20px;height:20px}
 .bottom-nav .active::after{content:'';position:absolute;bottom:0;left:25%;right:25%;height:2px;border-radius:3px;background:var(--blue)}
 .menu-trigger::before,.header-cart::before,.header-search::before{content:'';position:absolute;inset:-6px 0}
 .header-search{position:relative}
 .product .button::before{content:'';position:absolute;inset:-7px -4px}
}
@media(max-width:360px){
 .header{gap:5px;padding-inline:7px}
 .header .brand{font-size:14px}
 .header-search{padding:4px 6px;font-size:7px}
 .header-search span{font-size:7px}
 .header-search svg{width:14px;height:14px}
 .top-categories a{font-size:7px}
 .hero-eyebrow{margin-bottom:4px}
}

/* Secondary pages use their own available width, without homepage nav clearance. */
.content-header,.article-page,.admin-page{width:100%;min-width:0}
.content-header{gap:8px;flex-wrap:wrap}
.content-header>a{min-width:0;max-width:100%;overflow-wrap:anywhere}
.content-header .brand{font-size:clamp(18px,5vw,25px)}
.article-page article,.admin-page form,.admin-page section,.admin-tabs,.order-card{min-width:0;max-width:100%}
.admin-page form{grid-template-columns:minmax(0,1fr)}
.admin-page label,.admin-page form>*,.order-card>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
.admin-tabs a,.admin-tabs button{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.article-text{min-width:0;max-width:100%}
.product-detail-gallery{max-width:100%;min-width:0}
#product-page-add{max-width:100%;white-space:normal}

/* Optional product promotions; existing card surfaces and colors stay intact. */
.product[role="link"]{cursor:pointer}
.product[role="link"]:focus-visible{outline:2px solid #0878F9;outline-offset:3px}
.product-discount-badge{position:absolute;top:10px;left:10px;z-index:1;background:#dc2626;color:#fff;padding:4px 8px;border-radius:8px;font-size:clamp(10px,2.2vw,13px);font-weight:800;line-height:1.35;pointer-events:none}
.product-old-price{display:block;color:#8A9AB8;font-size:.72em;font-weight:400;margin-block-end:3px;text-decoration:line-through}
.product-new-price{display:block;font-weight:800}
#product-page-discount{position:static;display:inline-block;margin-block-end:10px}
#product-page-discount[hidden]{display:none}

/* Compact footer: wrap links without increasing the mobile page width. */
.site-footer{background:var(--blue,#0878F9);color:#fff;padding:8px 12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;text-align:center;line-height:1.4;margin:0}
.site-footer>div{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:4px 10px}
.site-footer .footer-brand{font-size:16px;font-weight:800;line-height:1.2;white-space:nowrap;color:#fff}
.site-footer .footer-brand span{color:inherit}
.site-footer p{font-size:11px;line-height:1.4;color:rgba(255,255,255,.85);margin:0}
.site-footer nav{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 12px;max-width:100%;font-size:12px;line-height:1.4}
.site-footer nav a{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:3px 0;min-height:24px;color:#fff;white-space:normal}
.site-footer a:focus-visible{outline:2px solid #fff;outline-offset:2px;border-radius:3px}
.site-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.site-footer svg,.site-footer img{width:16px;height:16px;object-fit:contain;flex:none;margin:0}
.site-footer .copyright{flex-basis:100%;font-size:10px;line-height:1.3;margin:0}
@media(max-width:480px){.site-footer{padding:6px 10px;gap:3px 8px}.site-footer>div{gap:3px 8px}.site-footer .footer-brand{font-size:14px}.site-footer nav{font-size:11px;gap:1px 10px}.site-footer p{font-size:10px}}

/* Provider logos sit below the email/password form with accessible labels. */
.auth-social-hint{text-align:center;font-size:13px;color:var(--muted);margin:12px 0 0}
.auth-social-buttons{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin:0}
.auth-social-buttons .auth-provider{display:inline-flex;align-items:center;justify-content:center;width:56px;height:46px;min-height:46px;padding:10px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#000;flex:none}
.auth-provider svg{display:block;width:24px;height:24px;fill:none;stroke:none}
.auth-provider-apple svg{width:26px;height:26px}
.auth-provider:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.auth-provider:disabled{opacity:.5;cursor:wait}


/* Home section totals and clearer navigation, preserving existing blue. */
.reference-home:not(.catalog-page) .section-head>a{font-weight:600}
.reference-home .section-count{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:.72em;font-weight:600;line-height:1.5;padding:1px 6px;border-radius:999px;background:var(--ice);color:var(--blue);white-space:nowrap;font-variant-numeric:tabular-nums}
.reference-home:not(.catalog-page) #news-grid.row-motion-active{scroll-snap-type:none!important;scroll-behavior:auto!important}

/* Product condition: compact overlay, independent of discount and favorites. */
.product{position:relative}
.product .product-condition-badge{position:absolute;z-index:4;top:8px;left:8px;right:auto;display:inline-flex;align-items:center;padding:2px 9px;border-radius:9px;background:#0878F9;color:#fff;font-size:12px;line-height:1.6;font-weight:700;pointer-events:none}
.product .product-condition-badge.is-used{background:#5B6475}
.product:has(.product-discount-badge) .product-condition-badge{top:42px}

/* Contact shortcut aligns with the existing Google sign-in control. */
#order-login .order-contact-social{align-items:flex-end;gap:18px;margin-top:10px}
.order-whatsapp-option{display:flex;flex-direction:column;align-items:center;gap:8px}
.order-whatsapp-label{font-size:15px;line-height:1.5;font-weight:700;color:var(--ink);white-space:nowrap}
.auth-social-buttons .order-whatsapp-link{color:#148c45;background:#fff;border-color:#b8dfc9;text-decoration:none}
.auth-social-buttons .order-whatsapp-link svg{width:26px;height:26px;display:block}
.order-whatsapp-link:focus-visible{outline:3px solid var(--blue);outline-offset:3px}

/* Compact internal details only; home, listings and cards retain their geometry. */
.article-page:has(> #product-page-content),
.article-page.news-article-page,
.article-page:has(> #contest-detail:not([hidden])){padding:16px 14px}
#product-page-content,#news-article{padding:18px}
#product-page-name,#news-title,#contest-detail #contest-title{font-size:clamp(22px,3vw,28px);line-height:1.4;margin:0 0 10px;overflow-wrap:anywhere}
#product-page-gallery{aspect-ratio:16/9;max-height:255px;border-radius:12px}
#product-page-gallery img{height:100%;max-height:255px}
#product-page-dots{padding-block:6px}
#product-page-price{font-size:clamp(22px,3vw,28px);line-height:1.35;margin:8px 0 4px}
#product-page-stock{margin:4px 0 10px}
#product-page-content>h2,#contest-detail>h3,#contest-overview>h3{font-size:clamp(18px,2.5vw,22px);line-height:1.4;margin:14px 0 6px}
#product-page-specs,#product-page-description{font-size:16px;line-height:1.7}
#product-page-add{margin-top:14px;min-height:44px}
#news-article #news-summary{margin:10px 0;line-height:1.65}
#news-article #news-image{display:block;width:72%;height:auto;max-height:400px;margin:10px auto;border-radius:12px}
#news-article #news-image[hidden]{display:none}
#news-article #news-body{font-size:17px;line-height:1.75;margin-top:14px}
#news-article #news-body p{margin-block:10px}
#news-article #news-body h2,#news-article #news-body h3{line-height:1.4;margin-block:16px 8px}
#news-article .news-inline-image,#news-article .news-inline-video{margin-block:14px}
#contest-detail:not([hidden]){font-size:16px;line-height:1.7}
#contest-detail>a{display:inline-block;margin-bottom:8px}
#contest-detail #contest-images{gap:8px}
#contest-detail #contest-images img{flex:0 0 62%;width:62%;height:clamp(180px,30vw,320px);max-height:320px}
#contest-detail>.contest-rules,#contest-overview>.contest-rules{margin:6px 0 12px}
#contest-detail>.contest-countdown{margin-block:8px}
#contest-detail .contest-form{padding:16px;margin-block:14px}
@media(max-width:550px){
 .article-page:has(> #product-page-content),.article-page.news-article-page,
 .article-page:has(> #contest-detail:not([hidden])){padding:12px 10px}
 #product-page-content,#news-article{padding:12px}
 #product-page-name,#news-title,#contest-detail #contest-title{font-size:22px;line-height:1.4;margin-bottom:8px}
 #product-page-gallery{aspect-ratio:16/9;max-height:240px}
 #news-article #news-image{width:72%;max-height:300px}
 #news-article #news-body{font-size:16px;line-height:1.75;margin-top:12px}
 #contest-detail #contest-images img{height:clamp(120px,36vw,220px);max-height:220px}
}

#contest-overview>.contest-price{margin:8px 0;font-size:17px;line-height:1.5}

/* Compact secondary reading pages. Existing compact detail sizes are not scaled twice.
   The homepage, section listings, card components and horizontal rails are excluded. */
body:has(main.article-page > article, #contest-detail:not([hidden])) .content-header{padding:12px 16px;gap:8px}
body:has(main.article-page > article, #contest-detail:not([hidden])) .content-header .brand{font-size:clamp(18px,4.5vw,23px)}
.article-page:has(> #article),.news-article-page:has(> article:not(#news-article)){padding:16px 14px}
#article,.news-article-page>article:not(#news-article){padding:18px}
#article h1,.news-article-page>article:not(#news-article)>h1{font-size:clamp(22px,3vw,28px);line-height:1.4;margin:0 0 10px}
#article>h2,.news-article-page>article:not(#news-article)>h2{font-size:clamp(18px,2.5vw,22px);line-height:1.4;margin:14px 0 6px}
#article>p,.news-article-page>article:not(#news-article)>p{margin-block:8px}
#article .article-text,.news-article-page>article:not(#news-article) .article-text{font-size:16px;line-height:1.7}
#article #article-image,.news-article-page>article:not(#news-article)>img{width:72%;height:auto;max-height:315px;margin:10px auto;object-fit:contain}
#article #article-price{font-size:clamp(22px,3vw,28px);line-height:1.35;margin:8px 0 4px}
#contest-detail :is(#contest-roster,#contest-replay){padding:12px;margin-block:14px}
#contest-detail .contest-form>h3{font-size:20px;margin:0 0 10px}
body:has(main.article-page > article, #contest-detail:not([hidden])) :is(.article-page .button,.contest-form button){font-size:15px;min-height:44px;padding:8px 12px}
@media(max-width:550px){
 body:has(main.article-page > article, #contest-detail:not([hidden])) .content-header{padding:10px 12px}
 .article-page:has(> #article),.news-article-page:has(> article:not(#news-article)){padding:12px 10px}
 #article,.news-article-page>article:not(#news-article){padding:12px}
 #article #article-image,.news-article-page>article:not(#news-article)>img{max-height:300px}
}

/* Compact, mobile-first WhatsApp checkout. Scoped to the order page. */
.orders-page .admin-page{max-width:760px;padding:20px 16px 32px}
.orders-page .admin-page>h1{font-size:24px;line-height:1.4;margin-bottom:12px}
.orders-page #order-status:empty{display:none}
.orders-page #order-status{font-size:14px;line-height:1.6}
.orders-page #order-area>.admin-tabs{margin-bottom:12px}
.orders-page #order-area>.admin-tabs a{font-size:13px;padding:8px 12px}
.orders-page #checkout{gap:14px;padding:24px;margin:12px 0;border-radius:20px;box-shadow:0 8px 30px rgba(15,23,42,.05)}
.orders-page #checkout h2{font-size:19px;line-height:1.4;margin:0}
.orders-page #checkout .checkout-intro{font-size:13px;line-height:1.6;margin:0;color:var(--muted)}
.orders-page #checkout-items{display:grid;gap:10px}
.orders-page #checkout .checkout-product{display:flex;align-items:center;gap:12px;padding:12px;background:var(--page-surface);border:1px solid var(--line);border-radius:14px;min-width:0}
.orders-page #checkout .checkout-product-image{display:flex;align-items:center;justify-content:center;flex:0 0 72px;width:72px;height:72px;border-radius:10px;overflow:hidden;background:#fff;color:#6b7280;font-size:11px;text-align:center}
.orders-page #checkout .checkout-product-image img{width:100%;height:100%;object-fit:contain}
.orders-page #checkout .checkout-product-details{min-width:0;flex:1}
.orders-page #checkout .checkout-product h3{font-size:14px;font-weight:700;line-height:1.5;margin:0 0 3px;overflow-wrap:anywhere}
.orders-page #checkout .checkout-product-meta{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 4px}
.orders-page #checkout .checkout-product-price{display:inline-block;font-size:14px;line-height:1.5;color:var(--ink)}
.orders-page #checkout .checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding-top:6px}
.orders-page #checkout .checkout-fields h3{grid-column:1/-1;font-size:16px;line-height:1.5;margin:0}
.orders-page #checkout .checkout-fields label{font-size:13px;line-height:1.6}
.orders-page #checkout .checkout-address{grid-column:1/-1}
.orders-page #checkout .checkout-hint{font-weight:400;color:var(--muted);font-size:12px}
.orders-page #checkout :is(input:not([type=checkbox]):not([type=hidden]),textarea){font-size:16px;line-height:1.5;padding:10px 12px;margin-top:5px;border-radius:11px;min-height:44px}
.orders-page #checkout textarea{min-height:76px}
.orders-page #checkout .checkout-payment{font-size:13px;font-weight:700;color:#15803d;background:#f0fdf4;border:1px solid #dcfce7;border-radius:10px;line-height:1.6;padding:10px 12px;margin:0}
.orders-page #checkout .checkout-payment span{margin-inline-end:5px}
.orders-page #checkout-estimate{margin:0;font-size:15px;line-height:1.7;font-weight:700;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.orders-page #checkout .checkout-note{font-size:12px;line-height:1.8;color:var(--muted);margin:0}
.orders-page #checkout .check-label{font-size:13px;line-height:1.6;gap:8px;min-height:36px}
.orders-page #checkout .check-label input{margin:0;width:18px;height:18px;min-width:18px;padding:0;accent-color:#15803d}
.orders-page #checkout .check-label a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.orders-page #checkout-submit{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:48px;padding:12px;font-size:14px;font-weight:700;line-height:1.5;white-space:normal;border:1px solid #15803d;border-radius:12px;background:#15803d;color:#fff;box-shadow:0 4px 12px rgba(21,128,61,.14)}
.orders-page #checkout-submit svg{flex:0 0 21px}
.orders-page #checkout-submit:hover:not(:disabled){background:#166534;border-color:#166534}
.orders-page #checkout-submit:disabled{opacity:.55;cursor:wait}
html[data-theme=dark] .orders-page #checkout .checkout-payment{color:#86efac;background:#102c23;border-color:#24513b}
@media(max-width:600px){
 .orders-page .admin-page{padding:16px 12px 24px}
 .orders-page .admin-page>h1{font-size:22px}
 .orders-page #checkout{padding:16px;gap:12px;border-radius:16px}
 .orders-page #checkout .checkout-fields{grid-template-columns:minmax(0,1fr);gap:11px}
 .orders-page #checkout .checkout-product{padding:10px;gap:10px}
 .orders-page #checkout .checkout-product-image{flex-basis:64px;width:64px;height:64px}
 .orders-page #checkout-estimate{font-size:14px}
}


/* One light sweep for arrival, used-condition and active discount badges. */
:is(.product-arrival-badge,.product-discount-badge){overflow:hidden;isolation:isolate}
#product-page-discount{position:relative;top:auto;left:auto}
:is(.product-arrival-badge,.product-discount-badge)::after{content:'';position:absolute;top:-30%;bottom:-30%;left:-60%;width:45%;background:linear-gradient(100deg,transparent,#ffffff9c,transparent);transform:translateX(0) skewX(-18deg);pointer-events:none;animation:product-arrival-shine 3s linear infinite}
@keyframes product-arrival-shine{0%,62%{transform:translateX(0) skewX(-18deg);opacity:0}63%{opacity:.85}83%{transform:translateX(410%) skewX(-18deg);opacity:.85}84%,100%{transform:translateX(410%) skewX(-18deg);opacity:0}}
@media(prefers-reduced-motion:reduce){:is(.product-arrival-badge,.product-discount-badge)::after{animation:none;opacity:0}}

/* Reference 594C6E76: scoped storefront rules, independent from admin layouts. */
.reference-home{--page-surface:#F1F4F9;--blue:#0878F9;--ink:#081640;--muted:#8A9AB8;--line:#E4E9F2;background:#F1F4F9;color:#081640;padding-bottom:0;overflow-x:clip}
.reference-home .header{width:100%;max-width:1200px;height:clamp(49px,12.63vw,98px);padding:5px 3.125%;display:flex;direction:ltr;gap:clamp(7px,2.2vw,18px);background:#fff}
.reference-home .icon-button{position:relative;border:0;padding:0;background:transparent;color:#081640;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:0;width:clamp(24px,4.4vw,36px);height:clamp(28px,5.5vw,44px);flex:none}
.reference-home .icon-button::before{content:'';position:absolute;inset:-6px -3px}
.reference-home .icon-button svg{width:clamp(18px,4.35vw,34px);height:clamp(18px,4.35vw,34px);stroke-width:1.7}
.reference-home .menu-trigger{background:#F1F4F9;border-radius:50%;width:clamp(28px,7.8vw,60px);height:clamp(28px,7.8vw,60px);padding:7px}
.reference-home .menu-trigger::after{display:none}
.reference-home .reference-brand{display:flex;gap:clamp(5px,1.3vw,10px);align-items:center;letter-spacing:0;margin:0;flex:0 1 auto;min-width:0;font-size:clamp(12px,3.5vw,27px)}
.reference-home .brand-mark{width:clamp(29px,9vw,70px);height:clamp(24px,7.3vw,56px);stroke:none;fill:none;flex-shrink:0}
.reference-home .brand-text{display:flex;flex-direction:column;line-height:1.2;white-space:nowrap;color:#081640}
.reference-home .brand-text strong{font-family:Arial,sans-serif;font-size:inherit;letter-spacing:-.35px;font-weight:900}
.reference-home .brand-text em{font-style:normal;color:#0878F9}
.reference-home .brand-text small{font-family:Tajawal,Tahoma,sans-serif;font-weight:700;font-size:clamp(7px,1.95vw,15px);color:#8A9AB8;line-height:1.7;text-align:left}
.reference-home .header-actions{display:flex;align-items:center;gap:clamp(4px,2.4vw,20px);margin-left:auto;flex:none}
.reference-home .header-search{border:0;box-shadow:none;background:none;flex:none}
.reference-home .header-cart{position:relative;right:auto;top:auto}
.reference-home :is(.cart-count,.favorites-count){position:absolute;right:-2px;top:-3px;min-width:clamp(12px,3vw,24px);height:clamp(12px,3vw,24px);padding:0 3px;border-radius:50%;background:#0878F9;color:#fff;font:700 clamp(8px,1.8vw,14px)/1.6 Arial;display:grid;place-items:center}
.reference-home main{width:100%;max-width:1200px;margin-inline:auto}
.reference-home .hero{position:relative;width:93.75%;max-width:none;aspect-ratio:720/299;margin:0 auto;border-radius:clamp(12px,2.85vw,22px);box-shadow:none;overflow:hidden;background:#D9E4EF;transform:none;border:0}
.reference-home .hero-slide{position:absolute;inset:0;height:100%;opacity:1;transform:none;transition:none}
.reference-home .reference-banner{background-image:url("/assets/reference-artwork.webp?v=56959bfe517fd4c0");background-repeat:no-repeat;background-size:106.666667% 513.712375%;background-position:50% 7.841552%;}
.reference-home .reference-banner-link{position:absolute;inset:0;display:block}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.reference-home .custom-banner .hero-photo{width:100%;height:100%;object-fit:cover;filter:none;opacity:1}
.reference-home .custom-banner .hero-copy{left:6.5%;right:auto;width:44%;top:50%;transform:translateY(-50%);text-align:left;color:#081640}
.reference-home .custom-banner h1{font-size:clamp(18px,4.6vw,36px);line-height:1.2;margin:0 0 8px}
.reference-home .custom-banner p{font-size:clamp(10px,2.3vw,18px);margin:0 0 10px}
.reference-home .custom-banner .hero-actions{justify-content:flex-start}
.reference-home .content{width:100%;max-width:none;padding:clamp(12px,3.6vw,28px) 3.125% 16px;display:block}
.reference-home .content>section{margin:0 0 clamp(18px,4.6vw,36px);min-width:0}
.reference-home .section-head{display:flex;direction:rtl;align-items:center;justify-content:space-between;gap:10px;min-height:0;margin:0 0 clamp(8px,1.7vw,13px)}
.reference-home .section-head h2,.reference-home .section-head h1{position:relative;padding-right:clamp(9px,2vw,16px);font-size:clamp(15px,3.65vw,28px);line-height:1.3;margin:0;font-weight:700;color:#081640}
.reference-home .section-head h2::before,.reference-home .section-head h1::before{content:'';position:absolute;right:0;top:10%;height:80%;width:clamp(3px,.7vw,5px);background:#0878F9;border-radius:3px}
.reference-home .section-head>a{display:flex;align-items:center;gap:4px;font-size:clamp(12px,2.8vw,22px);font-weight:400;color:#0878F9;white-space:nowrap}
.reference-home .section-head>a svg{width:clamp(12px,2.1vw,17px);height:clamp(12px,2.1vw,17px)}
.reference-home .top-categories{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));direction:rtl;padding:0;gap:clamp(7px,2vw,16px);margin:0;border:0;background:none;width:100%;overflow:visible;box-shadow:none}
.reference-home .top-categories a{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;padding:0;min-width:0;min-height:0;border:0;background:none;border-radius:0;color:#081640;font-size:clamp(8px,1.9vw,15px);line-height:1.35;font-weight:700;text-align:center}
.reference-home .top-categories a::after{display:none}
.reference-home .top-categories a[aria-current]{background:none;box-shadow:none}
.reference-home .category-photo{display:block;width:100%;aspect-ratio:1;border-radius:50%;box-shadow:0 2px 7px #08164012;border:1px solid #E4E9F2;background-image:url("/assets/reference-artwork.webp?v=56959bfe517fd4c0");background-repeat:no-repeat;background-size:738.46154% 1476.9231%;}
.reference-home .category-0{background-position:3.46386% 32.5419%}
.reference-home .category-1{background-position:21.68675% 32.5419%}
.reference-home .category-2{background-position:40.21084% 32.5419%}
.reference-home .category-3{background-position:58.73494% 32.5419%}
.reference-home .category-4{background-position:77.25904% 32.5419%}
.reference-home .category-5{background-position:95.78313% 32.5419%}
.reference-home #videos-grid{display:flex;direction:ltr;justify-content:flex-start;align-items:stretch;gap:clamp(5px,1.2vw,10px);width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 0 3px}
.reference-home #videos-grid::-webkit-scrollbar{display:none}
.reference-home #videos-grid>.video-card{flex:0 0 calc((100% - 3 * clamp(5px,1.2vw,10px))/3.7);max-width:none;min-width:0;background:none;border:0;border-radius:0;box-shadow:none;padding:0;scroll-snap-align:start}
.reference-home #videos-grid .thumbnail{aspect-ratio:16/9;border-radius:clamp(6px,1.3vw,10px);overflow:hidden;position:relative;width:100%;height:auto;background:#DDE4EE}
.reference-home #videos-grid .thumbnail img{width:100%;height:100%;object-fit:cover}
.reference-home #videos-grid .play{position:absolute;left:5px;right:auto;bottom:5px;top:auto;transform:none;border:0;box-shadow:none;width:clamp(19px,4.1vw,32px);height:clamp(19px,4.1vw,32px);border-radius:50%;background:#0009;color:#fff;font-size:clamp(9px,1.8vw,14px);display:grid;place-items:center}
.reference-home #videos-grid h3{font-size:clamp(10px,2.05vw,16px);line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0;padding:0;text-align:center}
.reference-home #videos-grid .video-card p{display:none}
.reference-home #store{max-width:none;position:relative;background:#E4E9F2;margin-inline:-3.333333%;padding:clamp(10px,2vw,16px) 3.125% 16px;margin-bottom:0}
.reference-home #store-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));direction:ltr;gap:clamp(8px,1.9vw,15px);padding:0;overflow:visible;width:100%;min-width:0}
.reference-home #store-grid>.product{position:relative;display:flex;flex-direction:column;flex:none;max-width:none;min-width:0;padding:clamp(8px,2vw,16px);border:1px solid #E1E6EE;border-radius:22px;background:#fff;box-shadow:0 7px 15px #08164016;overflow:hidden;text-align:left;direction:ltr}
.reference-home .product .store-gallery{display:flex;align-items:center;justify-content:center;aspect-ratio:2;width:100%;height:auto;overflow:hidden;border-radius:0;background:#fff;margin:0}
.reference-home .product .store-gallery img{display:block;flex:none;width:100%;height:100%;aspect-ratio:2;object-fit:contain;object-position:center;background:#fff;padding:0}
.reference-home .product .phone-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:12px;color:#8A9AB8;background:#fff;aspect-ratio:auto}
.reference-home .product h3{padding:0;margin:3px 0 2px;font-family:Arial,Tajawal,sans-serif;font-size:clamp(11px,2.3vw,18px);line-height:1.2;min-height:1.2em;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-weight:700;color:#101418}
.reference-home .product h3 a{display:block}
.reference-home .product .product-specs{color:#8A9AB8;font-family:Arial,Tajawal,sans-serif;font-weight:700;font-size:clamp(9px,1.95vw,15px);line-height:1.3;height:1.3em;margin:0 0 2px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.reference-home .product>.price{color:#0878F9;font-size:clamp(12px,2.8vw,22px);font-weight:700;line-height:1.2;margin:auto 0 0;padding:5px clamp(36px,9vw,68px) 0 0;min-height:clamp(24px,6.2vw,48px);display:flex;align-items:center;direction:ltr;text-align:left;white-space:normal}
.reference-home .favorite-button{position:absolute;top:clamp(6px,1.7vw,13px);left:clamp(6px,1.7vw,13px);right:auto;bottom:auto;display:grid;place-items:center;width:clamp(26px,6.4vw,49px);height:clamp(26px,6.4vw,49px);min-height:0;margin:0;padding:6px;border:1px solid #EEF0F4;border-radius:50%;background:#fff;color:#081640;box-shadow:0 3px 7px #0816401c;line-height:1}
.reference-home .favorite-button svg{width:100%;height:100%;stroke-width:1.8;fill:none}
.reference-home .favorite-button[aria-pressed=true] svg{fill:#0878F9;stroke:#0878F9}
.reference-home .product>.button.primary{position:absolute;right:clamp(8px,2vw,16px);bottom:clamp(8px,2vw,16px);display:grid;place-items:center;width:clamp(32px,8.6vw,66px);height:clamp(32px,8.6vw,66px);min-height:0;padding:clamp(7px,2vw,15px);border-radius:50%;background:#0878F9;border:0;box-shadow:0 3px 8px #0878F929;margin:0}
.reference-home .product>.button.primary svg{width:100%;height:100%;stroke:#fff;stroke-width:1.3}
.reference-home .product>.button::before{display:none}
.reference-home #store-status:empty,.reference-home #videos-status:empty,.reference-home #favorites-status:empty{display:none}
.reference-home #store-more,.reference-home #videos-more{margin-top:14px}
.reference-home .cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px 0;border-bottom:1px solid #E4E9F2}
.reference-home .cart-row a{font-size:14px}
.reference-home .quantity-controls{display:flex;align-items:center;gap:10px;direction:ltr}
.reference-home .quantity-controls button{border:1px solid #E4E9F2;border-radius:50%;background:#F1F4F9;color:#081640;width:32px;height:32px;min-height:0;padding:0}
.reference-home .quantity-controls span{min-width:16px;text-align:center}
.reference-home input,.reference-home select,.reference-home textarea{font-size:16px;max-width:100%}
.reference-home #catalog-search{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;direction:rtl}
.reference-home #catalog-search label{flex-basis:100%;font-size:14px}
.reference-home #catalog-search input{flex:1;min-width:120px;background:#fff;border:1px solid #D9E0ED;border-radius:12px;padding:8px 12px}
.reference-home .catalog-back{display:inline-block;margin-bottom:12px;color:#0878F9}
.catalog-page #store{border-radius:16px}
.catalog-page #videos-grid{flex-wrap:wrap;overflow:visible;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.catalog-page #videos .section-head>a{display:none}
.catalog-page #phones-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.catalog-page #phones-grid img{aspect-ratio:1;object-fit:contain;max-height:200px}
@media(min-width:700px){.reference-home #store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.reference-home .header{padding-inline:3.125%}.reference-home .hero{margin-top:8px}.reference-home .product .store-gallery{aspect-ratio:1.4}.reference-home .product .store-gallery img{aspect-ratio:1.4}.reference-home .product h3{font-size:18px}.reference-home .product .product-specs{font-size:14px}.reference-home #store-grid .product>.price{font-size:20px}.catalog-page #videos-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1000px){.reference-home #store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.reference-home #videos-grid>.video-card{flex-basis:calc((100% - 30px)/4)}.reference-home .product>.button.primary{width:44px;height:44px;padding:10px}.reference-home .favorite-button{width:34px;height:34px}.reference-home .product>.price{padding-right:44px;min-height:42px;font-size:18px}}
@media(prefers-reduced-motion:reduce){.reference-home *{scroll-behavior:auto!important}}

/* Final reference review: compact section rhythm and a centered single item.
   :only-child automatically releases the normal grid when another item loads. */
.reference-home #store-grid>.product:only-child{grid-column:1 / -1;justify-self:center;width:calc((100% - clamp(8px,1.9vw,15px))/2)}
.reference-home #store-grid>.product{background:#FFFFFF;box-shadow:0 5px 12px rgba(8,22,64,.10)}
.reference-home #categories .section-head{margin-bottom:4px}
.reference-home #categories{margin-bottom:clamp(14px,3.65vw,28px)}
.reference-home #videos .section-head{margin-bottom:6px}
.reference-home #videos{margin-bottom:clamp(8px,2.1vw,16px)}
.reference-home #videos-grid .thumbnail{aspect-ratio:8/5}
.reference-home #videos-grid h3{font-size:clamp(8px,2.05vw,16px)}
.reference-home #store{background:#E4E9F2;padding-bottom:clamp(12px,2vw,20px)}
@media(min-width:700px){.reference-home #store-grid>.product:only-child{width:calc((100% - 2 * clamp(8px,1.9vw,15px))/3)}}
@media(min-width:1000px){.reference-home #store-grid>.product:only-child{width:calc((100% - 3 * clamp(8px,1.9vw,15px))/4)}}

/* Product-section-only refinement: a modestly wider single card and softer seam. */
.reference-home #store{background-color:#E4E9F2;background-image:linear-gradient(to bottom,#F1F4F9 0,#E4E9F2 22px,#E4E9F2 100%)}
.reference-home #store-grid>.product{border-radius:23px;box-shadow:0 6px 16px rgba(8,22,64,.14),0 1px 3px rgba(8,22,64,.04)}
@media(max-width:699px){
 .reference-home #store-grid>.product:only-child{width:56%;max-width:236px}
 .reference-home #store-grid>.product .store-gallery,.reference-home #store-grid>.product .store-gallery img{aspect-ratio:1.9}
}

/* A closer reading size without scaling the viewport or losing two columns. */
.reference-home .header{height:clamp(54px,13.89vw,108px);padding-inline:2.6%;gap:clamp(6px,1.8vw,18px)}
.reference-home .reference-brand{font-size:clamp(13px,3.85vw,30px)}
.reference-home .brand-mark{width:clamp(32px,9.9vw,77px);height:clamp(27px,8vw,62px)}
.reference-home .brand-text small{font-size:clamp(7px,2.1vw,16px)}
.reference-home .icon-button{width:clamp(26px,4.84vw,40px);height:clamp(32px,6vw,48px)}
.reference-home .icon-button svg{width:clamp(20px,4.8vw,37px);height:clamp(20px,4.8vw,37px)}
.reference-home .menu-trigger{width:clamp(31px,8.58vw,66px);height:clamp(31px,8.58vw,66px)}
.reference-home .header-actions{gap:clamp(5px,2.7vw,22px)}
.reference-home .hero{width:94.8%}
.reference-home .content{padding-inline:2.6%}
.reference-home .section-head h2,.reference-home .section-head h1{font-size:clamp(16.5px,4vw,31px)}
.reference-home .section-head>a{font-size:clamp(13px,3.08vw,24px)}
.reference-home .top-categories{gap:clamp(5px,1.4vw,12px)}
.reference-home .top-categories a{font-size:clamp(8.5px,2.1vw,16px)}
.reference-home #videos-grid>.video-card{flex-basis:calc((100% - 3 * clamp(5px,1.2vw,10px))/3.4)}
.reference-home #videos-grid h3{font-size:clamp(9px,2.25vw,18px)}
.reference-home #store{margin-inline:-2.742616%;padding-inline:2.6%}
.reference-home #store-grid{gap:clamp(8px,1.7vw,14px)}
.reference-home #store-grid>.product:only-child{width:61.6%;max-width:260px}
.reference-home .product h3{font-size:clamp(12px,2.53vw,20px)}
.reference-home .product .product-specs{font-size:clamp(10px,2.15vw,16.5px)}
.reference-home .product>.price{font-size:clamp(13px,3.08vw,24px)}
.reference-home .product .store-gallery,.reference-home .product .store-gallery img{aspect-ratio:1.7}
.reference-home #store-grid>.product .store-gallery,.reference-home #store-grid>.product .store-gallery img{aspect-ratio:1.7}
.reference-home .product>.button.primary{width:clamp(35px,9.46vw,73px);height:clamp(35px,9.46vw,73px)}
.reference-home .favorite-button{width:clamp(28px,7vw,54px);height:clamp(28px,7vw,54px)}
.reference-home #news{padding-top:24px;margin-bottom:0}
@media(min-width:700px){.reference-home #store-grid>.product:only-child{width:calc((100% - 28px)/3);max-width:350px}.reference-home .product>.price{min-height:54px;padding-right:76px}}
@media(min-width:1000px){.reference-home #store-grid>.product:only-child{width:calc((100% - 42px)/4);max-width:310px}.reference-home #videos-grid>.video-card{flex-basis:calc((100% - 30px)/4)}.reference-home .product>.button.primary{width:49px;height:49px}.reference-home .favorite-button{width:38px;height:38px}.reference-home .product>.price{padding-right:53px}}
@media(max-width:350px){.reference-home .header-actions{gap:5px}.reference-home .reference-brand{font-size:12.8px}.reference-home .brand-text small{font-size:7px}.reference-home .product>.price{padding-right:38px}}

.reference-home .category-software{background:#eff5ff;display:grid;place-items:center}
.reference-home .category-software svg{display:block;width:62%;height:62%}

/* Keep mobile circle sizes; give labels room and reveal the next swipeable item. */
@media(max-width:699px){
 .reference-home .top-categories{
  --category-circle:calc((94.8vw - 6 * clamp(5px,1.4vw,12px)) / 7);
  display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;padding-block:4px;
  scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-width:none;
 }
 .reference-home .top-categories::-webkit-scrollbar{display:none}
 .reference-home .top-categories a{flex:0 0 calc((100% - 56px) / 4.35);scroll-snap-align:start}
 .reference-home .top-categories .category-photo{width:var(--category-circle);flex-shrink:0}
 .reference-home .top-categories a>span:last-child{max-width:100%;overflow-wrap:anywhere}
}

/* The reveal is masked inside a permanently reserved text slot. */
.reference-home .reference-brand{position:relative;isolation:isolate}
.reference-home .reference-brand .brand-mark{position:relative;z-index:2}
.reference-home .brand-name-window{display:block;overflow:hidden}
.reference-home .brand-name-window strong{display:block;animation:mobix-name-reveal 8s cubic-bezier(.4,0,.2,1) infinite}
.reference-home .reference-brand::before{
 content:'';position:absolute;inset-inline-start:-4px;top:50%;
 width:clamp(40px,11.5vw,88px);height:clamp(35px,10vw,77px);
 transform:translateY(-50%);pointer-events:none;z-index:-1;
 background:radial-gradient(ellipse,rgba(8,120,249,.24),rgba(8,120,249,0) 70%);
 animation:mobix-logo-glow 8s ease-in-out infinite;
}
@keyframes mobix-name-reveal{
 0%,70%,100%{transform:translateX(-105%);opacity:0}
 10%,60%{transform:translateX(0);opacity:1}
}
@keyframes mobix-logo-glow{0%,70%,100%{opacity:.15}10%,60%{opacity:.65}}
.reference-home .logo-motion-paused .brand-name-window strong,
.reference-home .logo-motion-paused::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){
 .reference-home .brand-name-window strong{animation:none;transform:none;opacity:1}
 .reference-home .reference-brand::before{animation:none;opacity:.2}
}

/* Homepage product/news rows reuse native horizontal scrolling. */
.reference-home:not(.catalog-page) #store-grid,
.reference-home:not(.catalog-page) #news-grid{
 --home-row-gap:clamp(10px,2vw,16px);
 display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;
 gap:var(--home-row-gap);width:100%;min-width:0;padding:4px 0 12px;
 overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
 scroll-snap-type:x proximity;scrollbar-width:none;
}
.reference-home:not(.catalog-page) #store-grid::-webkit-scrollbar,
.reference-home:not(.catalog-page) #news-grid::-webkit-scrollbar{display:none}
.reference-home:not(.catalog-page) #store-grid>.product,
.reference-home:not(.catalog-page) #news-grid>.news-card{
 flex:0 0 calc((100% - var(--home-row-gap)) / 2.15);
 width:auto;max-width:none;min-width:0;scroll-snap-align:start;
}
.reference-home:not(.catalog-page) #store-grid>.product:only-child{
 flex-basis:calc((100% - var(--home-row-gap)) / 2.15);
 width:auto;max-width:none;margin-inline:auto;
}
@media(min-width:700px){
 .reference-home:not(.catalog-page) #store-grid>.product,
 .reference-home:not(.catalog-page) #store-grid>.product:only-child,
 .reference-home:not(.catalog-page) #news-grid>.news-card{
  flex-basis:calc((100% - 2 * var(--home-row-gap)) / 3.15);
 }
}
@media(min-width:1000px){
 .reference-home:not(.catalog-page) #store-grid>.product,
 .reference-home:not(.catalog-page) #store-grid>.product:only-child,
 .reference-home:not(.catalog-page) #news-grid>.news-card{
  flex-basis:calc((100% - 3 * var(--home-row-gap)) / 4.15);
 }
}

/* Product promotions stay clear of the favorite and cart controls. */
.reference-home .product{
 --product-cart-size:clamp(35px,9.46vw,73px);
 --product-card-inset:clamp(8px,2vw,16px);
}
.reference-home .product>.product-discount-badge{
 left:auto;right:var(--product-card-inset);top:10px;
 max-width:calc(100% - clamp(28px,7vw,54px) - 3 * var(--product-card-inset));
 padding:4px 6px;font-size:clamp(10px,2.2vw,13px);
 line-height:1.35;white-space:nowrap;direction:rtl;
}
.reference-home .product>.price{
 flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;
 padding-right:calc(var(--product-cart-size) + 8px);
 min-width:0;max-width:100%;line-height:1.25;
}
.reference-home .product>.price .product-old-price,
.reference-home .product>.price .product-new-price{
 max-width:100%;margin:0;white-space:normal;overflow-wrap:anywhere;
 unicode-bidi:isolate;direction:rtl;text-align:left;
}
.reference-home .product>.price .product-old-price{
 font-size:.75em;line-height:1.3;text-decoration-thickness:1px;
}
.reference-home .product>.price .product-new-price{line-height:1.3}
@media(min-width:1000px){
 .reference-home .product{--product-cart-size:49px}
}

/* Matching white surfaces with a compact, deeper neutral shadow underneath. */
.reference-home:not(.catalog-page) #store-grid>.product,
.reference-home:not(.catalog-page) #news-grid>.news-card{
 background:#FFFFFF;border-radius:23px;
 box-shadow:0 8px 10px -4px rgba(50,50,50,.28),0 2px 4px rgba(50,50,50,.08);
}

/* Soft depth beneath main-category circles only. */
.reference-home #categories .top-categories .category-photo{
 box-shadow:0 5px 7px -3px rgba(60,60,60,.28),0 1px 2px rgba(60,60,60,.08);
}


/* News occupies the former video row, preserving its compact card sizing. */
.reference-home:not(.catalog-page) #news-grid{display:flex;direction:ltr;justify-content:flex-start;align-items:stretch;gap:clamp(5px,1.2vw,10px);width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:0 0 3px}
.reference-home:not(.catalog-page) #news-grid::-webkit-scrollbar{display:none}
.reference-home:not(.catalog-page) #news-grid>.news-card{flex:0 0 calc((100% - 3 * clamp(5px,1.2vw,10px))/3.7);max-width:none;min-width:0;background:none;border:0;border-radius:0;box-shadow:none;padding:0;scroll-snap-align:start}
.reference-home:not(.catalog-page) #news-grid .thumbnail{aspect-ratio:16/9;border-radius:clamp(6px,1.3vw,10px);overflow:hidden;position:relative;width:100%;height:auto;background:#DDE4EE}
.reference-home:not(.catalog-page) #news-grid .thumbnail img{width:100%;height:100%;object-fit:cover}
.reference-home:not(.catalog-page) #news-grid .play{position:absolute;left:5px;right:auto;bottom:5px;top:auto;transform:none;border:0;box-shadow:none;width:clamp(19px,4.1vw,32px);height:clamp(19px,4.1vw,32px);border-radius:50%;background:#0009;color:#fff;font-size:clamp(9px,1.8vw,14px);display:grid;place-items:center}
.reference-home:not(.catalog-page) #news-grid h3{font-size:clamp(10px,2.05vw,16px);line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:5px 0 0;padding:0;text-align:center}
.reference-home:not(.catalog-page) #news-grid .news-card p{display:none}
.reference-home:not(.catalog-page) #news-status:empty,.reference-home #favorites-status:empty{display:none}
.reference-home:not(.catalog-page) #news-more{margin-top:14px}
.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 30px)/4)}
.reference-home:not(.catalog-page) #news .section-head{margin-bottom:6px}
.reference-home:not(.catalog-page) #news{margin-bottom:clamp(8px,2.1vw,16px)}
.reference-home:not(.catalog-page) #news-grid .thumbnail{aspect-ratio:8/5}
.reference-home:not(.catalog-page) #news-grid h3{font-size:clamp(8px,2.05vw,16px)}
.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 3 * clamp(5px,1.2vw,10px))/3.4)}
.reference-home:not(.catalog-page) #news-grid h3{font-size:clamp(9px,2.25vw,18px)}
.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 30px)/4)}
.reference-home:not(.catalog-page) #news{padding-top:0;margin-bottom:clamp(8px,2.1vw,16px)}
.reference-home:not(.catalog-page) #news-grid>.news-card>div{padding:0}
.reference-home:not(.catalog-page) #news-grid>.news-card time,.reference-home:not(.catalog-page) #news-grid>.news-card p{display:none}
.reference-home:not(.catalog-page) #news-grid>.news-card .thumbnail{padding:0}
.reference-home:not(.catalog-page) #news-grid>.news-card h3{padding:0;margin:5px 0 0}

.reference-home:not(.catalog-page) #news-grid>.news-card{flex:0 0 calc((100% - 3 * clamp(5px,1.2vw,10px))/3.4);background:none;border:0;border-radius:0;box-shadow:none;padding:0}
@media(min-width:1000px){.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 30px)/4)}}

/* Keep the established category circles in a swipeable ordered row. */
.reference-home #categories .top-categories{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:4px 0 8px;gap:clamp(10px,2vw,18px)}
.reference-home #categories .top-categories::-webkit-scrollbar{display:none}
.reference-home #categories .top-categories>a{flex:0 0 clamp(70px,17vw,112px);scroll-snap-align:start}
.reference-home .category-comparisons{background:#eff5ff;display:grid;place-items:center;color:var(--blue)}
.reference-home .category-comparisons svg{width:62%;height:62%;display:block}
.reference-home #software-home{margin-top:24px;min-width:0}
.reference-home #software-home-status:empty{display:none}
.reference-home :is(#software-home-grid,#other-products-grid){display:flex;flex-wrap:nowrap;align-items:stretch;direction:ltr;gap:clamp(10px,2vw,16px);width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:4px 0 12px}
.reference-home :is(#software-home-grid,#other-products-grid)::-webkit-scrollbar{display:none}
.reference-home :is(#software-home-grid,#other-products-grid)>.software-home-card{flex:0 0 calc((100% - 2 * clamp(10px,2vw,16px))/2.5);min-width:0;max-width:none;padding:clamp(7px,1.8vw,13px);background:#fff;border:1px solid #E1E6EE;border-radius:20px;box-shadow:0 8px 10px -4px rgba(50,50,50,.28),0 2px 4px rgba(50,50,50,.08);scroll-snap-align:start;display:flex;flex-direction:column}
.reference-home .software-home-card .store-gallery{aspect-ratio:4/3;min-height:0;flex:none;margin:0}
.reference-home .software-home-card .store-gallery img{object-fit:contain;width:100%;height:100%}
.reference-home .software-home-card h3{font-size:clamp(12px,3vw,17px);line-height:1.4;margin:8px 0 4px}
.reference-home .software-home-card .product-specs{font-size:clamp(10px,2.5vw,13px);line-height:1.5;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.reference-home .software-home-card .software-home-meta{font-size:11px;color:var(--muted);margin:6px 0 0}
@media(min-width:700px){.reference-home :is(#software-home-grid,#other-products-grid)>.software-home-card{flex-basis:calc((100% - 3 * 16px)/3.5)}}
@media(min-width:1000px){.reference-home :is(#software-home-grid,#other-products-grid)>.software-home-card{flex-basis:calc((100% - 4 * 16px)/4.6)}}

/* Larger, readable homepage news cards on phones; native scrolling is retained. */
@media(max-width:699px){
 .reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 2 * clamp(5px,1.2vw,10px))/2.65)}
 .reference-home:not(.catalog-page) #news-grid>.news-card h3{font-size:clamp(12px,3.3vw,16px);line-height:1.5;min-height:3em;margin-top:7px}
}

/* Only the two transitioning slides are composited; layout dimensions stay fixed. */
.reference-home .hero-carousel{--hero-enter-x:calc(-100% - 12px);--hero-exit-x:calc(100% + 12px);touch-action:pan-y pinch-zoom}
.reference-home .hero-carousel.hero-reverse{--hero-enter-x:calc(100% + 12px);--hero-exit-x:calc(-100% - 12px)}
.reference-home .hero-slide.hero-entering{z-index:2;will-change:transform;animation:mobix-hero-enter 650ms cubic-bezier(.22,.61,.36,1) both}
.reference-home .hero-slide.hero-leaving{z-index:1;will-change:transform,opacity;pointer-events:none;animation:mobix-hero-exit 650ms cubic-bezier(.22,.61,.36,1) both}
@keyframes mobix-hero-enter{from{opacity:1;transform:translate3d(var(--hero-enter-x),0,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes mobix-hero-exit{from{opacity:1;transform:translate3d(0,0,0)}to{opacity:1;transform:translate3d(var(--hero-exit-x),0,0)}}
@media(prefers-reduced-motion:reduce){.reference-home .hero-slide.hero-entering,.reference-home .hero-slide.hero-leaving{animation:none;will-change:auto}}

/* News cards share the store's white surfaces while retaining native horizontal scrolling. */
.reference-home:not(.catalog-page) #news-grid>.news-card{background:#fff;border:1px solid #E1E6EE;border-radius:20px;box-shadow:0 7px 15px #08164016;padding:8px;overflow:hidden}
.reference-home:not(.catalog-page) #news-grid>.news-card>.news-card-info{padding:6px 2px 4px}
.reference-home:not(.catalog-page) #news-grid>.news-card h3{margin-top:3px}


/* Match homepage news card width to the existing product rows. */
.reference-home:not(.catalog-page) #news-grid{gap:var(--home-row-gap)}
.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - var(--home-row-gap))/2.15)}
.reference-home:not(.catalog-page) #news-grid>.news-card h3{font-size:clamp(12px,3.3vw,16px);line-height:1.5;min-height:3em}
@media(min-width:700px){.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 2 * var(--home-row-gap))/3.15)}}
@media(min-width:1000px){.reference-home:not(.catalog-page) #news-grid>.news-card{flex-basis:calc((100% - 3 * var(--home-row-gap))/4.15)}}

/* New Products: a reserved bottom price/cart row with no text overlap. */
.reference-home #store-grid>.product{--product-cart-size:clamp(35px,9.46vw,73px);--product-cart-inset:clamp(12px,2vw,16px);padding-inline:var(--product-cart-inset);padding-bottom:var(--product-cart-inset)}
.reference-home #store-grid>.product>.button.primary{left:auto;right:var(--product-cart-inset);bottom:var(--product-cart-inset);top:auto}
.reference-home #store-grid>.product>.price{margin:10px 0 0;min-height:var(--product-cart-size);padding:0 calc(var(--product-cart-size) + 10px) 0 0;width:100%;justify-content:flex-start;align-items:center;flex-wrap:wrap;gap:4px;text-align:left;direction:ltr;overflow-wrap:anywhere}
@media(min-width:1000px){.reference-home #store-grid>.product{--product-cart-size:49px}}

/* Catalog category shortcuts. */
.product-filters{display:flex;gap:12px;overflow-x:auto;padding:8px 2px 16px;margin:0 0 12px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.product-filters a{display:flex;flex:1 0 68px;max-width:130px;min-height:84px;flex-direction:column;align-items:center;justify-content:center;gap:7px;background:#fff;color:#081640;border:1px solid #dce4f1;border-radius:18px;text-decoration:none;font-weight:700;font-size:15px;box-shadow:0 4px 12px #0816400d}
.product-filters a svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}
.product-filters a[aria-current="page"]{background:#0878f9;color:#fff;border-color:#0878f9;box-shadow:0 5px 15px #0878f92b}
.product-filters a:focus-visible{outline:3px solid #081640;outline-offset:2px}
.product-filters[hidden]{display:none}
@media(max-width:350px){.product-filters{gap:8px}.product-filters a{font-size:14px;min-height:78px;flex-basis:60px}}


/* Favorite and cart share a reserved action row below the product text. */
.reference-home .product>.favorite-button{
 top:auto!important;left:var(--product-cart-inset,var(--product-card-inset));right:auto;
 bottom:var(--product-cart-inset,var(--product-card-inset));
 width:var(--product-cart-size);height:var(--product-cart-size);min-height:var(--product-cart-size);
 padding:clamp(8px,2vw,15px);z-index:2;
}
.reference-home .product>.price,
.reference-home #store-grid>.product>.price{
 padding:0;margin:10px 0 calc(var(--product-cart-size) + 10px);
 min-height:1.5em;align-items:flex-start;justify-content:center;
}
.favorite-button[aria-pressed=true]{color:#e53935}
.favorite-button[aria-pressed=true] svg,
.reference-home .favorite-button[aria-pressed=true] svg{fill:#e53935;stroke:#e53935}

/* Homepage products open the full catalog through the section heading. */
.reference-home:not(.catalog-page) #store-more{display:none!important}

@media(max-width:699px){.reference-home .reference-banner,.reference-home .category-photo{background-image:url("/assets/reference-artwork-mobile.webp?v=96d5a8680819f290");}}

/* Adjacent banners slide past each other with a small clean gutter. */
.reference-home .hero-carousel{background:transparent}
.reference-home .hero-carousel .hero-slide{border-radius:12px}

.reference-home:not(.catalog-page) #store-grid>.product.retail-product-card{flex-basis:calc((100% - 2 * var(--home-row-gap))/3)}
@media(min-width:700px){.reference-home:not(.catalog-page) #store-grid>.product.retail-product-card{flex-basis:calc((100% - 2 * var(--home-row-gap))/3.5)}}
@media(min-width:1000px){.reference-home:not(.catalog-page) #store-grid>.product.retail-product-card{flex-basis:calc((100% - 3 * var(--home-row-gap))/4.75)}}

@media(max-width:699px){
 .reference-home.catalog-page #store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(8px,2vw,12px)}
 .reference-home #other-products-grid>.product.retail-product-card{flex-basis:calc((100% - 2 * clamp(10px,2vw,16px))/3)}
}

/* Compact best-sellers heading and a swipeable category strip. */
.home-refresh #store .section-head{margin-bottom:12px;gap:12px}
.home-refresh #store .section-head h2{font-size:clamp(16px,3.6vw,21px);line-height:1.4}
.home-refresh #store .home-section-title{min-height:32px}
.store-filter-tabs{display:flex;direction:rtl;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 0 14px;padding:2px 0;overscroll-behavior-x:contain}
.store-filter-tabs::-webkit-scrollbar{display:none}
.store-filter-tabs button{flex:0 0 auto;min-width:72px;min-height:34px;padding:8px 14px;border:1px solid #ddd;border-radius:9px;background:#eee;color:#62666b;box-shadow:none;font:inherit;font-size:clamp(11px,2.7vw,14px);font-weight:600;line-height:1.3;white-space:nowrap}
.store-filter-tabs button[aria-pressed=true]{background:#2e7daf;border-color:#2e7daf;color:#fff}
html[data-theme=dark] .store-filter-tabs button{background:var(--card-surface);border-color:var(--line);color:var(--muted)}
html[data-theme=dark] .store-filter-tabs button[aria-pressed=true]{background:#2e7daf;border-color:#2e7daf;color:#fff}

/* Compact single-row manufacturer strip with a swipe position indicator. */
.catalog-page .catalog-brand-grid{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(58px,15vw,100px);grid-template-rows:auto;gap:10px;padding:8px 10px;background:#f5f5f5;margin:0 0 8px;border-radius:10px;direction:rtl;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.catalog-page .catalog-brand-grid::-webkit-scrollbar{display:none}
.catalog-page .catalog-brand-grid a{display:flex;align-items:center;justify-content:center;min-width:0;height:clamp(32px,7vw,44px);padding:5px 7px;background:#fff;border:1px solid transparent;border-radius:8px;text-decoration:none}
.catalog-page .catalog-brand-grid svg{stroke:none;stroke-width:0;display:block;width:100%;height:100%;max-width:76px;max-height:28px}
.catalog-page .catalog-brand-grid a[aria-current=page]{border-color:#0878f9;box-shadow:inset 0 0 0 1px #0878f9}
.catalog-page .catalog-brand-grid a:focus-visible{outline:2px solid #0878f9;outline-offset:-2px}
.catalog-page .catalog-brand-grid[hidden],#catalog-brand-indicator[hidden]{display:none!important}
#catalog-brand-indicator{position:relative;width:90px;height:4px;margin:12px auto 20px;background:#ddd;border-radius:4px;overflow:hidden}
#catalog-brand-indicator span{position:absolute;top:0;right:0;width:40px;height:100%;background:#969696;border-radius:4px;will-change:transform}
html[data-theme=dark] .catalog-page .catalog-brand-grid{background:var(--page-surface)}

.mobix-cart-feedback{position:fixed;z-index:55;inset-inline:16px;bottom:calc(118px + env(safe-area-inset-bottom,0px));display:flex;justify-content:space-between;align-items:center;gap:12px;max-width:540px;margin:auto;padding:12px 16px;border:1px solid var(--line,#e1e6ee);border-radius:12px;background:var(--card-surface,#fff);color:var(--ink,#10213c);box-shadow:0 5px 24px #08164026;font-size:14px}
.mobix-cart-feedback[hidden]{display:none}
.mobix-cart-feedback button{flex:none;border:0;background:var(--blue,#0878f9);color:#fff;border-radius:8px;min-height:40px;padding:8px 12px;font:inherit;cursor:pointer}
#cart-dialog .cart-row{flex-wrap:wrap}#cart-dialog .cart-row small{color:#b42318;font-size:12px}#cart-dialog #cart-checkout:disabled{opacity:.5}

.viewer-open{overflow:hidden}
dialog.image-viewer{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;padding:12px;margin:0;border:0;border-radius:0;background:#081640;color:#fff;box-sizing:border-box}
dialog.image-viewer[open]{display:flex;flex-direction:column;gap:12px}
.image-viewer::backdrop{background:#081640e8}
.viewer-toolbar,.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none;direction:rtl}
.viewer-toolbar strong{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0;flex:1;font-size:16px}
.viewer-toolbar span{white-space:nowrap;font-size:14px;direction:ltr}
.image-viewer button{background:#fff;color:#081640;border:0;border-radius:12px;padding:10px 12px;min-height:44px;cursor:pointer;font-size:14px;white-space:nowrap}
.image-viewer button:disabled{opacity:.35}
.viewer-stage{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;overflow:hidden;touch-action:none;direction:ltr;border-radius:14px;background:#030b20}
.viewer-stage img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;user-select:none;will-change:transform}
.viewer-controls p{margin:0;text-align:center;font-size:12px;color:#b9c6dc}
@media(max-width:430px){.viewer-toolbar{flex-wrap:wrap}.viewer-toolbar strong{flex-basis:65%}.viewer-controls p{font-size:10px}.image-viewer button{padding:9px 10px}}
@media(prefers-reduced-motion:reduce){.viewer-stage img{transition:none}}

/* Product photos fill a clean white lightbox, including in dark mode. */
.viewer-pagination{display:none}
dialog.image-viewer.product-photo-viewer{background:#fff;color:#222;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);gap:0}
.image-viewer.product-photo-viewer::backdrop{background:#fff}
.product-photo-viewer .viewer-toolbar{height:60px;position:relative;flex:none;direction:ltr}
.product-photo-viewer .viewer-toolbar strong,.product-photo-viewer .viewer-toolbar span{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.product-photo-viewer .viewer-stage{border-radius:0;background:#fff;padding:8px 44px}
.product-photo-viewer .viewer-stage img{object-fit:contain}
.product-photo-viewer .viewer-controls{position:absolute;left:14px;right:14px;top:50%;transform:translateY(-50%);pointer-events:none;direction:ltr}
.product-photo-viewer .viewer-controls p{display:none}
.image-viewer.product-photo-viewer button{color:#333;background:#fff;box-shadow:none;border:1px solid #e7e7e7;min-width:44px;min-height:44px;width:44px;height:44px;padding:0;border-radius:50%;pointer-events:auto}
.product-photo-viewer .viewer-controls button,.product-photo-viewer .viewer-close,.product-photo-viewer .viewer-zoom{font-size:0}
.product-photo-viewer .viewer-previous::after{content:'‹';font:30px/1 Arial}
.product-photo-viewer .viewer-next::after{content:'›';font:30px/1 Arial}
.image-viewer.product-photo-viewer .viewer-close{position:absolute;top:8px;left:10px;border:0;border-radius:6px}
.product-photo-viewer .viewer-close::after{content:'×';font:27px/1 Arial}
.image-viewer.product-photo-viewer .viewer-zoom{position:absolute;top:8px;right:10px;border:0;border-radius:6px}
.product-photo-viewer .viewer-zoom::after{content:'+';font:26px/1 Arial}
.product-photo-viewer .viewer-zoom[aria-pressed=true]::after{content:'−'}
.product-photo-viewer .viewer-pagination{display:flex;align-items:center;justify-content:center;direction:ltr;min-height:58px;padding:6px 16px 10px;flex:none}
.image-viewer.product-photo-viewer .viewer-photo-dot{display:grid;place-items:center;width:24px;min-width:24px;border:0;border-radius:0;background:transparent}
.product-photo-viewer .viewer-photo-dot::after{content:'';width:7px;height:7px;border-radius:8px;background:#d5d5d5}
.product-photo-viewer .viewer-photo-dot[aria-pressed=true]::after{width:21px;background:#414141}
@media(min-width:768px){.product-photo-viewer .viewer-stage{padding:16px 80px}.product-photo-viewer .viewer-controls{left:28px;right:28px}}

/* Related products are scoped to the product page. */
.product-recommendations{margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.product-recommendations>h2{margin:0 0 16px;font-size:24px}
.product-recommendations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.product-recommendation-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;background:var(--card-surface);border:1px solid var(--line);border-radius:14px}
.product-recommendation-image{display:grid;place-items:center;aspect-ratio:1;background:#fff;color:#6b7280}
.product-recommendation-image img{width:100%;height:100%;object-fit:contain;padding:10px}
.product-recommendation-card h3{font-size:16px;line-height:1.5;margin:12px 10px 6px;overflow-wrap:anywhere}
.product-recommendation-card .price{font-size:18px;margin:auto 10px 12px;overflow-wrap:anywhere}
@media(max-width:600px){.product-recommendations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-recommendations>h2{font-size:22px}}

/* Compact product presentation, scoped away from articles and listings. */
.product-detail-page .article-page:has(> #product-page-content){max-width:820px;margin:0 auto;padding:16px 20px 28px}
.product-detail-page #product-page-content{padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--card-surface);box-shadow:0 4px 18px #10234205}
.product-detail-page #product-page-name{font-size:22px;line-height:1.4;margin:0 0 12px;letter-spacing:0}
.product-detail-page #product-page-gallery{height:260px;max-height:260px;aspect-ratio:auto;border-radius:12px;background:#fff}
.product-detail-page #product-page-gallery img{height:260px;max-height:260px;padding:10px;object-fit:contain}
.product-detail-page #product-page-dots{padding:10px 0 4px;gap:8px}
.product-detail-page #product-page-dots .gallery-dot{width:6px;height:6px;min-height:6px}
.product-detail-page #product-page-dots .gallery-dot[aria-pressed=true]{width:16px;border-radius:8px}
.product-detail-page #product-page-price{font-size:25px;line-height:1.4;margin:10px 0 2px}
.product-detail-page #product-page-stock{font-size:13px;margin:0 0 12px;color:#168549}
.product-detail-page #product-page-content>h2{font-size:17px;line-height:1.5;margin:16px 0 7px;padding-top:12px;border-top:1px solid var(--line)}
.product-detail-page #product-page-specs,.product-detail-page #product-page-description{font-size:14px;line-height:1.85;white-space:pre-line;overflow-wrap:anywhere;color:var(--muted)}
.product-detail-page #product-page-add{width:100%;margin-top:18px;min-height:44px;border-radius:10px;font-size:15px}
.product-detail-page .whatsapp-purchase{display:flex;margin-top:14px;font-size:13px}
.product-detail-page .product-recommendations{margin-top:22px;padding-top:18px}
.product-detail-page .product-recommendations>h2{font-size:19px;margin-bottom:12px}
.product-detail-page .product-recommendation-card h3{font-size:14px;margin:8px 10px 6px}
.product-detail-page .product-recommendation-card .price{font-size:16px}
@media(max-width:600px){
 .product-detail-page .article-page:has(> #product-page-content){padding:8px 12px 24px}
 .product-detail-page #product-page-content{padding:14px;border-radius:14px}
 .product-detail-page #product-page-name{font-size:20px;margin-bottom:8px}
 .product-detail-page #product-page-gallery,.product-detail-page #product-page-gallery img{height:190px;max-height:190px}
 .product-detail-page #product-page-price{font-size:23px}
 .product-detail-page #product-page-content>h2{margin-top:12px;padding-top:10px;font-size:16px}
 .product-detail-page #product-page-specs,.product-detail-page #product-page-description{font-size:14px;line-height:1.75}
 .product-detail-page .product-recommendations-grid{gap:8px}
}

/* Small related-product cards in one horizontally scrollable row. */
.product-detail-page .product-recommendations-grid{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:164px;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:3px 3px 12px;scrollbar-width:thin}
.product-detail-page .product-recommendation-card{scroll-snap-align:start;border-radius:11px}
.product-detail-page .product-recommendation-image{height:132px;aspect-ratio:auto;overflow:hidden}
.product-detail-page .product-recommendation-image img{height:132px;padding:8px}
.product-detail-page .product-recommendation-card h3{font-size:13px;line-height:1.4;margin:7px 8px 5px;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-detail-page .product-recommendation-card .price{font-size:14px;line-height:1.5;margin:auto 8px 9px}
@media(max-width:600px){
 .product-detail-page .product-recommendations-grid{grid-auto-columns:128px;gap:8px}
 .product-detail-page .product-recommendation-image,.product-detail-page .product-recommendation-image img{height:108px}
 .product-detail-page .product-recommendations>h2{font-size:18px;margin-bottom:9px}
}

/* Refined product hierarchy, compact information and balanced purchase actions. */
.product-detail-page #product-page-content{border-radius:20px;padding:20px;background:var(--card-surface);box-shadow:0 8px 32px #10234206}
.product-detail-page #product-page-name{font-size:22px;font-weight:700;margin-bottom:14px}
.product-detail-page #product-page-gallery{border:1px solid #f1f3f6;border-radius:16px;background:#fff}
.product-detail-page #product-page-gallery img{padding:16px}
.product-detail-page .product-price-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0 16px;flex-wrap:wrap}
.product-detail-page .product-price-row #product-page-price{margin:0;font-size:26px;letter-spacing:-.4px}
.product-detail-page .product-price-row #product-page-stock{display:inline-flex;align-items:center;gap:6px;margin:0;padding:4px 10px;border-radius:20px;background:var(--ice);color:var(--ink);font-size:12px;white-space:nowrap}
.product-detail-page .product-price-row #product-page-stock::before{content:'';width:6px;height:6px;border-radius:50%;background:#168549}
.product-detail-page .product-info-block{padding:14px 0;border-top:1px solid var(--line)}
.product-detail-page .product-info-block h2{font-size:15px;font-weight:700;margin:0 0 7px;line-height:1.5}
.product-detail-page #product-page-description,.product-detail-page #product-page-specs{font-size:14px;line-height:1.8;color:var(--muted)}
.product-detail-page .product-purchase-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0 0}
.product-detail-page .product-purchase-actions>#product-page-add,.product-detail-page .product-purchase-actions>.whatsapp-purchase{width:100%;min-width:0;margin:0}
.product-detail-page .product-purchase-actions>#product-page-add{min-height:48px;font-size:14px;padding:10px 8px;border-radius:12px}
.product-detail-page .product-purchase-actions .product-whatsapp-button{min-height:48px;padding:10px 8px!important;font-size:13px;gap:6px;border-radius:12px}
.product-detail-page .product-purchase-actions .product-whatsapp-button svg{width:20px;height:20px}
.product-detail-page .product-recommendations{border-top:0;padding-top:0;margin-top:24px}
body.product-detail-page.has-mobix-mobile-nav{padding-bottom:calc(115px + env(safe-area-inset-bottom,0px))!important}
@media(max-width:600px){.product-detail-page #product-page-content{padding:16px;border-radius:18px}.product-detail-page #product-page-name{font-size:20px}.product-detail-page .product-price-row #product-page-price{font-size:24px}.product-detail-page .product-info-block{padding:12px 0}}
@media(min-width:768px){.product-detail-page .article-page:has(> #product-page-content){max-width:860px}.product-detail-page #product-page-content{padding:26px 32px}.product-detail-page #product-page-gallery{height:240px;max-height:240px}.product-detail-page #product-page-gallery img{height:240px;max-height:240px}}

.news-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.news-card{display:flex;flex-direction:column;background:#fff;border:1px solid #E4E9F2;border-radius:20px;overflow:hidden;box-shadow:0 5px 15px #08164012;color:#081640;min-width:0}
.news-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#E4E9F2}
.news-card>div{padding:12px}
.news-card time{font-size:12px;color:#8A9AB8}
.news-card h3{font-size:16px;line-height:1.5;margin:6px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-card p{font-size:13px;line-height:1.6;margin:0;color:#657698;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-listing{max-width:1200px;margin:24px auto;padding:0 16px}
#news-status:empty{display:none}
.news-article-page{color:#081640}
#news-date{color:#8A9AB8;font-size:14px}
#news-summary{font-weight:700;line-height:1.7}
#news-image{width:100%;height:auto;max-height:580px;object-fit:contain;border-radius:20px;background:#E4E9F2}
#news-body{overflow-wrap:anywhere;line-height:1.9;font-size:18px;margin-top:24px}
.news-admin-image{max-width:260px;width:100%;max-height:180px;object-fit:contain}







@media(min-width:700px){.news-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1000px){.news-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:430px){.news-card>div{padding:10px}.news-card h3{font-size:14px}.news-card p{font-size:12px}}

.news-card .news-brand-logo{display:inline-block;width:32px!important;height:18px!important;min-width:32px;aspect-ratio:auto;object-fit:contain;background:transparent;border-radius:0;margin:0 5px 0 0;vertical-align:middle}
.news-inline-video{width:100%;aspect-ratio:16/9;min-height:200px;margin:20px 0;overflow:hidden;border-radius:12px;white-space:normal}
.news-inline-video iframe{width:100%;height:100%;min-height:200px;border:0;display:block}
.news-text-block{white-space:pre-wrap;overflow-wrap:anywhere}
.news-text-block:empty{display:none}
.news-youtube-editor{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px}

.news-card .news-card-gallery{touch-action:pan-y pinch-zoom;position:relative;aspect-ratio:8/5;overflow:hidden;border-radius:12px;background:#E4E9F2;--news-enter-x:12px;--news-exit-x:-10px}
.news-card .news-card-gallery.news-gallery-reverse{--news-enter-x:-12px;--news-exit-x:10px}
.news-card .news-card-gallery .news-gallery-image{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;opacity:0;pointer-events:none}
.news-card .news-card-gallery .news-gallery-image.is-current{opacity:1}
.news-card .news-card-gallery .news-image-enter{z-index:2;will-change:transform,opacity;animation:mobix-news-enter 650ms cubic-bezier(.22,.61,.36,1) both}
.news-card .news-card-gallery .news-image-exit{z-index:1;will-change:transform,opacity;animation:mobix-news-exit 650ms cubic-bezier(.22,.61,.36,1) both}
.news-gallery-count{position:absolute;z-index:3;bottom:6px;right:6px;background:#081640b3;color:#fff;font-size:11px;border-radius:10px;padding:2px 7px;direction:ltr;pointer-events:none}
@keyframes mobix-news-enter{from{opacity:0;transform:translate3d(var(--news-enter-x),0,0) scale(1.018)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes mobix-news-exit{from{opacity:1;transform:translate3d(0,0,0) scale(1)}to{opacity:0;transform:translate3d(var(--news-exit-x),0,0) scale(1.012)}}
.news-inline-image{margin:20px 0;white-space:normal}
.news-inline-image img{display:block;width:100%;height:auto;max-height:720px;object-fit:contain;border-radius:12px}
.news-image-editor{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px}
.news-image-previews{display:flex;flex-wrap:wrap;gap:12px}
.news-image-previews>div{display:grid;gap:6px;max-width:180px}
.news-image-previews .news-admin-image{height:110px;object-fit:contain}
@media(prefers-reduced-motion:reduce){.news-card .news-card-gallery .news-image-enter,.news-card .news-card-gallery .news-image-exit{animation:none;will-change:auto}}

/* Product galleries reuse the same compositor-only fade/slide as news. */
.store-gallery{position:relative}
.store-gallery>.news-card-gallery{--news-enter-x:12px;--news-exit-x:-10px;touch-action:pan-y pinch-zoom;position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:inherit;background:transparent}
.store-gallery .news-card-gallery.news-gallery-reverse{--news-enter-x:-12px;--news-exit-x:10px}
.store-gallery .news-card-gallery .news-gallery-image{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;pointer-events:none}
.store-gallery .news-card-gallery .is-current{opacity:1}
.store-gallery .news-card-gallery .news-image-enter{z-index:2;will-change:transform,opacity;animation:mobix-news-enter 650ms cubic-bezier(.22,.61,.36,1) both}
.store-gallery .news-card-gallery .news-image-exit{z-index:1;will-change:transform,opacity;animation:mobix-news-exit 650ms cubic-bezier(.22,.61,.36,1) both}
.row-motion-active{scroll-snap-type:none!important}
.news-order-section{display:none}
.news-order-section[hidden]{display:none}
@media(max-width:699px) and (pointer:coarse){
 .news-order-section:not([hidden]){display:block;margin:24px 0}
 .news-order-grid .news-card{touch-action:pan-y;-webkit-touch-callout:none;user-select:none;-webkit-user-select:none}
 .news-order-grid .news-card.is-dragging{opacity:.3}
 .news-order-grid.is-reordering{touch-action:none}
 .news-order-ghost{position:fixed!important;z-index:10000;pointer-events:none!important;opacity:.94;box-shadow:0 10px 25px #08164040;transform:scale(1.03)}
}
@media(prefers-reduced-motion:reduce){.store-gallery .news-card-gallery .news-image-enter,.store-gallery .news-card-gallery .news-image-exit{animation:none;will-change:auto}}


.news-brand-filters{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding:4px 2px 14px;margin:0 0 12px;scrollbar-width:thin}
.news-brand-filter{display:flex;flex:0 0 84px;min-height:82px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:10px 8px;background:#fff;border:1px solid #dce3ef;border-radius:16px;color:#344563;text-decoration:none;font-size:12px;font-weight:700;box-sizing:border-box}
.news-brand-filter img{width:48px;height:28px;object-fit:contain}
.news-brand-filter.is-active{border-color:#087cff;background:#edf5ff;color:#075cc2;box-shadow:0 0 0 1px #087cff}
.news-brand-filter:focus-visible{outline:3px solid #087cff;outline-offset:2px}
.news-brand-all{height:28px;font-size:25px;line-height:28px}


.news-compare-button:not([hidden]){display:flex;align-items:center;justify-content:center;gap:10px;width:100%;box-sizing:border-box;background:#087cff;color:#fff;padding:15px 18px;margin:16px 0 20px;border-radius:14px;font-size:18px;font-weight:800;text-decoration:none;box-shadow:0 5px 15px #087cff35}
.news-compare-button>span{font-size:26px;line-height:1}
.news-compare-button:focus-visible{outline:3px solid #081640;outline-offset:3px}


/* News search: 16px input avoids focus zoom on iOS. */
.news-search{margin:0 0 22px;max-width:680px}
.news-search>label{display:block;font-weight:700;font-size:15px;color:var(--ink,#081640);margin-bottom:9px}
.news-search-field{display:flex;align-items:center;gap:10px;min-height:56px;padding:4px 14px;background:var(--card-surface,#fff);border:1px solid var(--line,#dce3ef);border-radius:18px;box-shadow:0 4px 16px #08164008;transition:border-color .18s,box-shadow .18s}
.news-search-field:focus-within{border-color:var(--blue,#0878f9);box-shadow:0 0 0 3px #0878f91a}
.news-search-field>svg{width:23px;height:23px;flex:none;color:var(--blue,#0878f9)}
.news-search-field input{flex:1;min-width:0;width:100%;height:44px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink,#081640);font:inherit;font-size:16px;outline:none;box-shadow:none}
.news-search-field input::placeholder{color:var(--muted,#8a9ab8);opacity:1}
.news-search-field input::-webkit-search-cancel-button{-webkit-appearance:none}
.news-search-field button{flex:none;width:36px;height:36px;min-height:36px;padding:0;border:0;border-radius:50%;background:var(--ice,#f1f4f9);color:var(--muted,#657698);font-size:25px;line-height:1;cursor:pointer}
.news-search-field button[hidden]{display:none}
.news-search-field button:focus-visible{outline:2px solid var(--blue,#0878f9);outline-offset:2px}
.news-search>p{font-size:12px;color:var(--muted,#657698);margin:8px 4px 0}
#news-status{color:var(--muted,#657698);font-size:14px;line-height:1.7}
@media(prefers-reduced-motion:reduce){.news-search-field{transition:none}}


/* Keep watermarks and source names inside the existing image frames. */
.news-card .news-card-gallery .news-gallery-image,#news-image,.news-inline-image img{object-fit:contain}

.news-illustration-label{position:absolute;z-index:3;top:8px;left:8px;padding:3px 8px;border-radius:12px;background:#081640d9;color:#fff;font-size:11px;line-height:1.5;pointer-events:none}


/* Six-section phone reviews: shared SSR/client markup; legacy news is unchanged. */
.news-article-page:has(.phone-review){max-width:1000px;color:var(--ink,#081640)}
#news-article:has(.phone-review){border:0;box-shadow:none;background:var(--card-surface,#fff);padding:clamp(14px,4vw,38px)}
#news-article:has(.phone-review) #news-title{font-size:clamp(25px,4vw,38px);line-height:1.5;letter-spacing:-.5px;margin-bottom:14px}
#news-article:has(.phone-review) #news-summary{font-size:16px;font-weight:400;color:var(--muted,#657698);line-height:1.9;margin:14px 0 22px}
/* Lead with the product photo, before the title and all review sections. */
#news-article:has(.phone-review)>#news-image:not([hidden]){display:block;background:#fff;aspect-ratio:16/11;max-height:420px;object-fit:contain;margin:0 0 24px}
#news-article:has(.phone-review)>#news-compare{margin-top:28px}
.phone-overview dt{display:flex;align-items:center;gap:8px}
.phone-overview-icon{display:inline-flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;color:var(--blue,#087cff);background:var(--card-surface,#fff);box-shadow:0 2px 10px #087cff14}
.phone-overview-icon svg{display:block;width:20px;height:20px}
#news-body:has(.phone-review){margin-top:0;white-space:normal;font-size:16px;color:var(--ink,#081640)}
.phone-review-nav{display:flex;flex-wrap:wrap;gap:8px;padding:0 0 24px;margin-bottom:4px;white-space:normal}
.phone-review-nav a{display:block;border-radius:12px;padding:9px 13px;background:var(--card-surface,#fff);color:var(--blue,#087cff);box-shadow:0 2px 12px #0816400d;border:1px solid var(--line,#e5eaf2);font-size:13px;font-weight:700;text-decoration:none}
.phone-review-nav a:hover,.phone-review-nav a:focus-visible{background:var(--blue,#087cff);color:#fff;outline-offset:3px}
.phone-review-section{margin:0 0 32px;scroll-margin-top:100px}
.phone-review-section h2{display:flex;align-items:center;gap:12px;font-size:clamp(20px,3vw,25px);line-height:1.65;margin:0 0 18px;color:var(--ink,#081640);white-space:normal}
.phone-section-number{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:11px;background:var(--blue,#087cff);color:white;font:700 13px system-ui;letter-spacing:1px}
.phone-review p{line-height:1.95;margin:0 0 16px;white-space:pre-line}
.phone-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 20px}
.phone-overview>div{min-width:0;border-radius:16px;padding:16px;background:var(--card-surface,#fff);box-shadow:0 4px 20px #0816400c;border:1px solid var(--line,#e5eaf2)}
.phone-overview dt{color:var(--muted,#657698);font-size:12px;margin-bottom:5px}
.phone-overview dd{margin:0;font-weight:700;font-size:15px;line-height:1.8}
.phone-specs-wrap{border:1px solid var(--line,#e5eaf2);border-radius:16px;overflow:hidden;margin-bottom:16px}
.phone-specs{width:100%;table-layout:fixed;border-collapse:collapse;white-space:normal;font-size:14px}
.phone-specs th,.phone-specs td{padding:14px 16px;text-align:start;vertical-align:top;line-height:1.9;border-bottom:1px solid var(--line,#e5eaf2);overflow-wrap:anywhere}
.phone-specs th{width:30%;font-weight:700;color:var(--muted,#657698);background:var(--card-surface,#fff)}
.phone-specs tr:last-child th,.phone-specs tr:last-child td{border-bottom:0}
.phone-review-list{padding-inline-start:22px;margin:0 0 20px;display:grid;gap:10px;white-space:normal}
.phone-review-list li{padding-inline-start:4px;line-height:1.9}
.phone-section-3 .phone-review-list li::marker{color:#ce4242}
.phone-section-4 .phone-review-list li::marker{color:#149a72}
.phone-review .news-inline-image{margin:24px 0 0;padding:12px;background:#fff;border-radius:20px;box-shadow:0 5px 24px #0816400c;overflow:hidden}
.phone-review .news-inline-image img{background:#fff;border-radius:12px;max-height:480px;width:100%;height:auto;aspect-ratio:16/11;object-fit:contain}
.phone-review .news-text-block:empty{display:none}
.phone-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:430px){.phone-overview{gap:8px}.phone-overview>div{padding:12px}.phone-overview dd{font-size:13px}.phone-specs th,.phone-specs td{padding:12px 10px}.phone-review-nav{gap:6px}.phone-review-nav a{font-size:12px;padding:8px 10px}.phone-review-section{margin-bottom:26px}}



.phone-price-card{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 22px;margin:0 0 22px;padding:20px;border-radius:18px;background:var(--card-surface,#fff);border:1px solid var(--line,#e5eaf2);box-shadow:0 5px 22px #087cff12;white-space:normal}
.phone-price-label{display:block;font-size:13px;color:var(--muted,#657698);margin-bottom:5px}
.phone-price-value{display:block;font-size:clamp(24px,5vw,32px);font-weight:800;line-height:1.5;color:var(--blue,#087cff)}
.phone-price-date{font-size:13px;color:var(--muted,#657698);line-height:1.8}
.phone-price-date time{font-weight:700;color:var(--ink,#081640)}
@media(max-width:430px){.phone-price-card{padding:16px;gap:10px}.phone-price-date{font-size:12px}}


/* All markets and capacities share one dated price container. */
.phone-market-prices{display:block;padding:22px}
.phone-market-header{display:flex;align-items:center;justify-content:space-between;gap:10px 20px;flex-wrap:wrap;margin-bottom:22px}
.phone-market-header>strong{font-size:20px;color:var(--ink,#081640)}
.phone-market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 28px}
.phone-market-group{min-width:0}
.phone-market-group h3{margin:0 0 12px;color:var(--blue,#087cff);font-size:17px}
.phone-market-group dl{margin:0;display:grid;gap:10px}
.phone-market-group dl>div{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px;line-height:1.7}
.phone-market-group dt{color:var(--muted,#657698)}
.phone-market-group dd{margin:0;color:var(--ink,#081640);font-weight:800;text-align:end}
@media(max-width:600px){.phone-market-prices{padding:16px}.phone-market-grid{grid-template-columns:minmax(0,1fr);gap:24px}.phone-market-header{margin-bottom:20px}.phone-market-header>strong{font-size:18px}}

/* Keep card photo cycling without a numeric overlay. */
.news-card-gallery .news-gallery-count{display:none}

/* A compact language control beside search; existing icon sizes stay intact. */
.language-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;border:0;background:transparent;color:var(--ink,#081640);font:700 12px/1 Arial,sans-serif;padding:0;width:24px;min-width:24px;height:32px;min-height:32px;cursor:pointer;position:relative;direction:ltr}
.language-toggle::before{content:'';position:absolute;inset:-4px 0}
.language-toggle:focus-visible{outline:2px solid var(--blue,#0878F9);outline-offset:2px;border-radius:6px}
.reference-home .header-actions{gap:clamp(3px,1.4vw,12px)}
.content-header .language-toggle{margin-inline-start:auto}
html[lang=en] .reference-home .section-head,html[lang=en] .reference-home .top-categories,html[lang=en] .reference-home #catalog-search{direction:ltr}
html[lang=en] .reference-home .section-head h2,html[lang=en] .reference-home .section-head h1{padding-right:0;padding-left:clamp(9px,2vw,16px)}
html[lang=en] .reference-home .section-head h2::before,html[lang=en] .reference-home .section-head h1::before{right:auto;left:0}
html[lang=en] .menu-links a,html[lang=en] .menu-links button{text-align:left}
html[lang=en] .reference-home .product>.price .product-old-price,html[lang=en] .reference-home .product>.price .product-new-price{direction:ltr}
@media(max-width:350px){.reference-home .header{gap:4px}.reference-home .header-actions{gap:3px}.reference-home .language-toggle{width:22px;min-width:22px;font-size:11px}}

.contest-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:18px}.contest-home-grid{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x proximity;padding:8px 2px 18px}.contest-home-grid .contest-card{flex:0 0 280px;scroll-snap-align:start}.contest-card{display:block;background:#fff;color:#10162c;border-radius:18px;box-shadow:0 4px 18px #12234b12;overflow:hidden;text-decoration:none}.contest-media{position:relative;aspect-ratio:4/3;background:#fff;overflow:hidden}.contest-media img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;opacity:0;transform:translateX(12px) scale(1.015);transition:opacity .65s ease,transform .65s ease}.contest-media img.is-current{opacity:1;transform:translateX(0) scale(1)}.contest-info{padding:14px}.contest-info h3{margin:0 0 8px;font-size:19px}.contest-countdown{color:#d81930;font-weight:800;font-variant-numeric:tabular-nums;direction:ltr;display:inline-block}.contest-winner{position:absolute;inset:auto 0 0;background:#0878f9ee;color:#fff;padding:12px;text-align:center;font-weight:700;z-index:2}.contest-detail-gallery{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory}.contest-detail-gallery img{flex:0 0 85%;width:85%;max-height:440px;object-fit:contain;background:#fff;border-radius:16px;scroll-snap-align:center}.contest-rules{white-space:pre-wrap}.contest-form{background:#fff;padding:20px;border-radius:18px;margin:20px 0}.contest-form{position:relative}.contest-trap{position:absolute;inset:0 auto auto 0;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;pointer-events:none}.contest-admin-images{display:flex;flex-wrap:wrap;gap:12px}.contest-admin-images img{width:90px;height:80px;object-fit:contain}.contest-admin-table{overflow-x:auto}.contest-admin-table table{width:100%;border-collapse:collapse;min-width:650px}.contest-admin-table th,.contest-admin-table td{padding:10px;border-bottom:1px solid #e4e8f0;text-align:start}.contest-admin-row{background:#fff;border-radius:14px;padding:16px;margin:12px 0}.contest-admin-actions{display:flex;flex-wrap:wrap;gap:8px}.contest-note{background:#fff5dc;padding:14px;border-radius:12px}.contest-link{color:#0878f9}@media(max-width:430px){.contest-home-grid .contest-card{flex-basis:270px}.contest-grid{grid-template-columns:1fr}.contest-info h3{font-size:20px}}@media(prefers-reduced-motion:reduce){.contest-media img{transition:none;transform:none}}

.contest-receipt{background:#edf7ff;color:#10162c;border:1px solid #0878f9;border-radius:14px;padding:18px;margin:16px 0;font-weight:700}.contest-receipt[hidden]{display:none}

/* Match the new-products row sizing at each breakpoint. */
.reference-home .contest-home-grid{--home-row-gap:clamp(10px,2vw,16px);gap:var(--home-row-gap);align-items:stretch;padding:4px 0 12px;scrollbar-width:none}
.reference-home .contest-home-grid .contest-card{flex:0 0 calc((100% - var(--home-row-gap))/2.15);min-width:0;border:1px solid #e1e6ee;border-radius:23px;box-shadow:0 8px 10px -4px #32323247,0 2px 4px #32323214}
.reference-home .contest-card .contest-media{aspect-ratio:1.7;margin:8px 8px 0}
.reference-home .contest-card .contest-info{padding:8px}
.reference-home .contest-card .contest-info h3{font-size:clamp(12px,2.53vw,20px);line-height:1.3;margin:0 0 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.reference-home .contest-card .contest-info p{font-size:clamp(11px,2.5vw,14px);line-height:1.4;margin:4px 0}
.contest-countdown,.reference-home .contest-card .contest-info .contest-countdown{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(15px,4vw,22px);font-weight:900;line-height:1.35;letter-spacing:.3px;color:#c8102e;background:#fff0f2;border:1px solid #f7c5cd;border-bottom:3px solid #d81930;border-radius:9px;padding:6px 8px;margin:6px 0;max-width:100%;box-sizing:border-box;text-align:center}
@media(min-width:700px){.reference-home .contest-home-grid .contest-card{flex-basis:calc((100% - 2 * var(--home-row-gap))/3.15)}}
@media(min-width:1000px){.reference-home .contest-home-grid .contest-card{flex-basis:calc((100% - 3 * var(--home-row-gap))/4.15)}}

/* Blue countdown badge matches the site accent. */
.contest-countdown,.reference-home .contest-card .contest-info .contest-countdown{font-family:Arial,Tajawal,sans-serif;font-size:clamp(14px,3.7vw,19px);font-weight:700;line-height:1.4;letter-spacing:0;color:#fff;background:#0878f9;border:0;border-radius:10px;padding:6px 10px;margin:6px 0;box-shadow:none;white-space:nowrap}

#contest-replay{margin-top:24px;background:#fff;border:1px solid #e1e6ee;border-radius:18px;padding:18px}#contest-replay[hidden]{display:none}.draw-note{font-size:14px;color:#536079;line-height:1.6}.draw-result{font-weight:700;background:#edf7ff;padding:12px;border-radius:10px;overflow-wrap:anywhere}.draw-history-row{border-top:1px solid #e1e6ee;margin-top:12px;padding:12px 0}.draw-history-row p{margin:6px 0}.draw-hash{font-family:monospace;overflow-wrap:anywhere;font-size:12px}#contest-replay details{margin-top:18px}#contest-replay summary{cursor:pointer;font-weight:700}


.contest-card-result{background:#edf7ff;color:#133b67;border-radius:10px;padding:8px;margin:6px 0;text-align:center}.contest-card-result>strong{display:block;font-size:12px;color:#536079}.contest-card-winner,.reference-home .contest-card .contest-info .contest-card-winner{font-weight:700;font-size:clamp(12px,2.8vw,16px);margin:4px 0;line-height:1.5;overflow-wrap:anywhere}.contest-card-winner span{display:block;font-size:12px;font-weight:400}#contest-roster{background:#fff;border:1px solid #e1e6ee;border-radius:16px;padding:16px;margin:18px 0}#contest-roster[hidden]{display:none}.contest-roster-list{list-style:none;margin:12px 0;padding:0;max-height:320px;overflow-y:auto}.contest-roster-list li{display:flex;gap:12px;justify-content:space-between;align-items:center;padding:10px 4px;border-bottom:1px solid #e9edf3}.contest-roster-list strong{overflow-wrap:anywhere;min-width:0}.contest-roster-list span{color:#536079;white-space:nowrap}.contest-roster-nav{display:flex;gap:8px;flex-wrap:wrap}

.contest-roster-list{min-height:96px;max-height:320px;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}.contest-roster-list:focus-visible{outline:2px solid #0878f9;outline-offset:4px}
/* Full-roster replay: fixed pointer and seven recycled cards. */
.draw-reel-stage{position:relative;width:100%;height:150px;margin:22px auto;overflow:hidden;direction:ltr;border:1px solid #dbe6f3;border-radius:16px;background:#f4f8fe;contain:layout paint}
.draw-reel-stage::after{content:"";position:absolute;top:32px;bottom:12px;left:50%;width:160px;transform:translateX(-50%);border:2px solid #0878f9;border-radius:12px;pointer-events:none;box-sizing:border-box}
.draw-reel-pointer{position:absolute;top:2px;left:50%;transform:translateX(-50%);z-index:2;font-size:30px;line-height:1;color:#0878f9}
.draw-reel-track{position:absolute;top:34px;left:50%;display:flex;width:1120px;will-change:transform}
.draw-reel-card{flex:0 0 160px;width:160px;height:100px;box-sizing:border-box;padding:10px 8px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;text-align:center;direction:rtl;border-inline:4px solid transparent;background:#fff;background-clip:padding-box;border-radius:12px;color:#10162c}
.draw-reel-card strong{max-width:100%;font-size:14px;line-height:1.35;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.draw-reel-card span{font-size:12px;color:#536079;white-space:nowrap}.draw-reel-card.is-winner{background-color:#edf7ff;color:#0878f9}
@media(prefers-reduced-motion:reduce){.draw-reel-track{will-change:auto}}

.contest-admin-actions .contest-delete-button{color:#b42318;border:1px solid #f3b8b4;background:#fff1f0;min-height:44px}.contest-admin-actions .contest-delete-button:hover{background:#ffe2df}.contest-admin-actions .contest-delete-button:focus-visible{outline:2px solid #b42318;outline-offset:3px}

.contest-form .check-label{display:flex;align-items:flex-start;gap:10px}.contest-form .check-label>input{flex:0 0 auto;width:22px;height:22px;margin:4px 0}.contest-form .check-label>span{flex:1;min-width:0;line-height:1.8}#contest-entry-status{color:#17324d;font-weight:600;line-height:1.7}#contest-entry-status:empty{display:none}


/* Persistent confirmation beside the private registration receipt. */
.contest-success{margin:12px 0 20px;padding:18px;border:2px solid #22c55e;border-radius:14px;background:#dcfce7;color:#14532d;font-size:20px;font-weight:800;line-height:1.6;text-align:center;scroll-margin-block:110px;animation:contest-success-appear .35s ease-out}
.contest-success span{display:block;margin-top:5px;font-size:15px;font-weight:500}.contest-success[hidden]{display:none}
@keyframes contest-success-appear{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.contest-success{animation:none}}


/* Scope changes to the duplicate warning and the administration roster. */
.contest-duplicate{background:#fff5dc;color:#714400;border:2px solid #e5a521;border-radius:14px;padding:16px;font-weight:700;line-height:1.6}
.contest-duplicate[hidden]{display:none}
#contest-participant-total{line-height:1.9;overflow-wrap:anywhere}
.contest-admin-table table{background:var(--card-surface);color:var(--ink)}
.contest-admin-table th,.contest-admin-table td{color:var(--ink);border-color:var(--line)}
.contest-admin-table td{overflow-wrap:anywhere}
@media(max-width:600px){
 .contest-admin-table{overflow:visible}
 .contest-admin-table table{min-width:0;display:block}
 .contest-admin-table table>tr:first-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .contest-admin-table tr:not(:first-child){display:block;background:var(--card-surface);color:var(--ink);border:1px solid var(--line);border-radius:14px;padding:8px 12px;margin:12px 0}
 .contest-admin-table td{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;align-items:start;padding:9px 0;min-width:0}
 .contest-admin-table td::before{content:attr(data-label);font-weight:700;color:var(--muted);direction:rtl;text-align:right}
 .contest-admin-table td[dir=ltr]{direction:rtl;text-align:left;unicode-bidi:plaintext}
 .contest-admin-table td:last-child{border:0}
 .contest-admin-table button{min-height:44px;max-width:100%}
}

/* Registration notices keep explicit foreground/background pairs in both themes. */
#contest-entry-status:not(:empty),#contest-status:not(:empty),#contest-duplicate{
 box-sizing:border-box;max-width:100%;margin:12px 0;padding:14px 16px;
 border:2px solid #2563eb;border-radius:14px;background:#eff6ff;color:#17324d;
 font-size:16px;font-weight:700;line-height:1.8;overflow-wrap:anywhere;
 scroll-margin-block:110px;text-align:start;
}
#contest-entry-status[data-kind=error],#contest-status[data-kind=error]{background:#fff1f2;color:#881337;border-color:#be123c}
#contest-status[data-kind=success]{background:#dcfce7;color:#14532d;border-color:#15803d}
#contest-duplicate{background:#fff3c4;color:#542d00;border-color:#c77700;font-weight:800}
#contest-entry-status:empty,#contest-status:empty,#contest-duplicate[hidden]{display:none}
#contest-entry-status:focus-visible,#contest-duplicate:focus-visible{outline:3px solid #2563eb;outline-offset:3px}
#contest-entry button[type=submit]:disabled{opacity:1;background:#e2e8f0;color:#334155;border-color:#94a3b8;cursor:not-allowed}

/* Gift overview precedes registration; queue appears only for a server-assigned future slot. */
.contest-start,.contest-admission{background:var(--card-surface,#fff);color:var(--ink,#10162c);border:1px solid var(--line,#dce6f3);border-radius:18px;padding:20px;margin:20px 0;line-height:1.8}
.contest-start .button{min-height:48px;max-width:100%}
.contest-admission{border-inline-start:4px solid #0878f9}
.contest-price{font-weight:700;line-height:1.8}
#contest-start[hidden],#contest-admission[hidden],#contest-back[hidden],#contest-overview[hidden],#contest-entry[hidden]{display:none}
#contest-start-status:empty{display:none}
#contest-start-status[data-kind=error]{background:#fff1f2;color:#881337;padding:12px;border-radius:10px}
#contest-start-button:disabled{opacity:.7;cursor:wait}
#contest-back{margin-block:12px}
#contest-entry,#contest-register-title{scroll-margin-block:110px}

/* Compact countdown only: preserve the previous badge's height and margins. */
.contest-countdown.contest-clock,.reference-home .contest-card .contest-info .contest-countdown.contest-clock{
 --clock-accent:#0878f9;--clock-text:#075fc9;--clock-muted:#435874;--clock-surface:#edf3fc;--clock-track:#d2dfef;
 position:relative;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
 width:100%;height:calc(1.4em + 12px);padding:1px 8px 8px;overflow:hidden;
 color:var(--clock-text);background:var(--clock-surface);border:0;border-radius:10px;
 box-shadow:inset 0 1px 1px #ffffffb3;direction:ltr;white-space:nowrap;
}
.contest-clock-face{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;width:100%;gap:4px}
.contest-clock-unit{display:flex;flex-direction:column;align-items:center;min-width:0;gap:0}
.contest-clock-unit b{font-family:ui-rounded,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.9em;line-height:1;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:0}
.contest-clock-unit small{font-family:Arial,Tajawal,sans-serif;font-size:9px;line-height:1;color:var(--clock-muted);font-weight:800;direction:rtl}
.contest-clock-track{position:absolute;left:8px;right:8px;bottom:2px;height:6px;background:var(--clock-track);border-radius:9px;overflow:hidden}
.contest-clock-fill{display:block;width:100%;height:100%;background:var(--clock-accent);border-radius:inherit;transform-origin:right center;transition:transform 1s linear,background-color .2s}
.contest-clock-message{display:none;font-size:.76em;direction:rtl}
.contest-clock.is-ended .contest-clock-face{display:none}
.contest-clock.is-ended .contest-clock-message{display:block}
.contest-clock.is-ended .contest-clock-fill{transition:none}
.contest-countdown.contest-clock.is-urgent,.reference-home .contest-card .contest-info .contest-countdown.contest-clock.is-urgent{--clock-accent:#d92d43}
html[data-theme=dark] .contest-countdown.contest-clock,html[data-theme=dark] .reference-home .contest-card .contest-info .contest-countdown.contest-clock{--clock-text:#edf3ff;--clock-muted:#b8c8df;--clock-surface:#1d2e48;--clock-track:#344a67;--clock-accent:#63a9ff;box-shadow:inset 0 1px 1px #ffffff0d}
html[data-theme=dark] .contest-countdown.contest-clock.is-urgent,html[data-theme=dark] .reference-home .contest-card .contest-info .contest-countdown.contest-clock.is-urgent{--clock-accent:#ff7586}
@media(prefers-reduced-motion:reduce){.contest-clock-fill{transition:none}}

/* Keep the draw notice distinct and readable above the countdown. */
.contest-draw-notice,.reference-home .contest-card .contest-info .contest-draw-notice{color:#c43f52}
.contest-draw-notice strong{color:inherit}

/* Optional sharing: local browser APIs only; no registration or database calls. */
.contest-card-link{display:block;color:inherit;text-decoration:none}
.contest-card-link:focus-visible{outline:3px solid #1673ea;outline-offset:-3px;border-radius:inherit}
.contest-share-actions{padding:0 12px 12px}
.contest-share-button{display:block;width:100%;min-height:44px;padding:8px 10px;border:1px solid #1673ea;border-radius:10px;background:#edf5ff;color:#125dbd;font:700 13px/1.5 Arial,Tajawal,sans-serif;cursor:pointer;white-space:normal}
.contest-share-button:focus-visible{outline:3px solid #1673ea;outline-offset:2px}
.contest-share-button:disabled{opacity:.6;cursor:wait}
.contest-share-status{font-size:12px;line-height:1.5;margin:6px 0 0;color:#125dbd}
.contest-share-link{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:8px;border:1px solid #b8cbe5;border-radius:8px;direction:ltr;font-size:12px}
.contest-share-status[hidden],.contest-share-link[hidden]{display:none}
html[data-theme=dark] .contest-share-button{background:#172b46;border-color:#63a9ff;color:#cce5ff}
html[data-theme=dark] .contest-share-status{color:#cce5ff}
html[data-theme=dark] .contest-share-link{background:#172238;color:#edf3ff;border-color:#52647d}

/* Upcoming giveaway: compact swipeable original photos, no registration. */
.contest-teaser-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;background:#fff;aspect-ratio:4/3;direction:ltr}
.contest-teaser-gallery img{display:block;flex:0 0 100%;width:100%;min-width:0;height:100%;object-fit:contain;scroll-snap-align:center}
.reference-home .contest-teaser-gallery{aspect-ratio:1.7;margin:8px 8px 0}
.contest-teaser .contest-soon-label{color:#df172b;font-weight:800}


/* Contest listings use the same photo/text split as retail product cards. */
.reference-home #contests-home[hidden]{display:none!important}
.contest-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));gap:clamp(10px,2vw,16px);align-items:stretch}
.contest-grid>.contest-card{display:flex;flex-direction:column;min-width:0;padding:0;background:#f7f7f7;border:1px solid #e5e5e5;border-radius:12px;box-shadow:none;color:var(--ink,#10162c);overflow:hidden}
.contest-grid .contest-card-link{display:flex;flex-direction:column;flex:1;min-width:0}
.contest-grid .contest-media{flex:none;aspect-ratio:1.5;margin:0;background:#fff;border-radius:0}
.contest-grid .contest-media img{max-height:none;padding:8px;border-radius:0;background:#fff;object-fit:contain}
.contest-grid .contest-info{flex:1;padding:9px;background:#f7f7f7;min-width:0}
.contest-grid .contest-info h3{margin:0 0 8px;min-height:2.9em;font-size:clamp(12px,3.1vw,16px);font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.contest-grid .contest-info p:not(.contest-countdown){font-size:clamp(11px,2.7vw,14px);line-height:1.5;overflow-wrap:anywhere}
.contest-grid .contest-share-actions{padding:0 9px 9px;background:#f7f7f7}
.contest-grid .contest-share-button{font-size:clamp(12px,3vw,15px)}
html[data-theme=dark] .contest-grid>.contest-card,html[data-theme=dark] .contest-grid .contest-info,html[data-theme=dark] .contest-grid .contest-share-actions{background:var(--card-surface);border-color:var(--line);color:var(--ink)}
@media(max-width:600px){.contest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.contest-grid>.contest-card{border-radius:7px}.contest-grid .contest-media{aspect-ratio:1.25}.contest-grid .contest-media img{padding:6px}.contest-grid .contest-info{padding:7px}.contest-grid .contest-share-actions{padding:0 7px 7px}.contest-grid .contest-share-button{padding:8px 6px;min-height:44px}}

/* Compact contest listing: three cards per mobile row, matching store cards. */
#contest-grid.contest-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
#contest-grid[hidden]{display:none}
#contest-grid .contest-card{
 min-width:0;display:flex;flex-direction:column;border:1px solid #e2e2e2;
 border-radius:8px;box-shadow:none;
}
#contest-grid .contest-media{aspect-ratio:4/3;margin:0;flex-shrink:0}
#contest-grid .contest-info{
 flex:1;min-width:0;padding:6px;background:#f7f7f7;overflow-wrap:anywhere;
}
#contest-grid .contest-info h3{font-size:12px;line-height:1.45;margin:0 0 6px}
#contest-grid .contest-info p{font-size:11px;line-height:1.5;margin:6px 0}
#contest-grid .contest-card-result{padding:5px;margin:6px 0;border-radius:6px}
#contest-grid .contest-card-result>strong,
#contest-grid .contest-card-winner span{font-size:10px;line-height:1.5}
#contest-grid .contest-info .contest-card-winner{font-size:11px;line-height:1.5;margin:4px 0}
#contest-grid .contest-countdown.contest-clock{
 font-size:14px;min-height:36px;height:auto;padding:4px 3px 8px;margin:6px 0;border-radius:6px;
}
#contest-grid .contest-clock-face{gap:1px}
#contest-grid .contest-clock-unit b{font-size:12px}
#contest-grid .contest-clock-unit small{font-size:8px}
#contest-grid .contest-clock-track{left:4px;right:4px}
html[data-theme=dark] #contest-grid .contest-info{background:var(--card-surface,#172238)}
@media(min-width:700px){
 #contest-grid.contest-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 #contest-grid .contest-info{padding:10px}
 #contest-grid .contest-info h3{font-size:16px}
 #contest-grid .contest-info p,#contest-grid .contest-info .contest-card-winner{font-size:13px}
}

#contest-grid .contest-share-actions{padding:0 6px 6px}
#contest-grid .contest-share-button{font-size:11px;padding:6px 4px;min-height:44px;border-radius:6px}
#contest-grid .contest-teaser-gallery{aspect-ratio:4/3}

/* Homepage presentation only; catalog, data loading and slider controls stay independent. */
.home-refresh{--home-blue:#0878f9;--home-muted:#60718c}
.home-refresh .content>section{margin-block:28px 36px}
.home-refresh .section-head{gap:12px;align-items:center;margin-bottom:16px}
.home-refresh .home-heading{display:flex;align-items:center;gap:12px;min-width:0}
.home-refresh .home-heading>div{min-width:0}
.home-refresh .section-head h2{padding:0;font-size:clamp(17px,3.6vw,26px);line-height:1.5}
.home-refresh .section-head h2::before{display:none}
.home-refresh .home-section-description{color:var(--home-muted);font-size:clamp(11px,2.5vw,14px);line-height:1.7;margin:3px 0 0}
.home-refresh .home-section-icon,.home-refresh #categories .top-categories .category-photo{display:grid;place-items:center;color:#1169d3;background:linear-gradient(145deg,#f5faff,#dcecff);border:1px solid #d6e7fc;box-shadow:inset 2px 2px 3px #fff,inset -2px -3px 5px #b4d3fa66,0 5px 12px #126bce12;border-radius:20px}
.home-refresh .home-section-icon{width:46px;height:46px;flex:0 0 46px;border-radius:15px}
.home-refresh .home-section-icon svg,.home-refresh #categories .category-photo svg{width:55%;height:55%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(1px 3px 1px #4487d43b)}
.home-refresh #categories .top-categories .category-photo{background-image:linear-gradient(145deg,#f5faff,#dcecff);background-size:auto;background-position:center}
.home-refresh .top-categories>a{gap:10px}
.home-refresh .section-head>a{font-size:clamp(11px,2.7vw,14px);font-weight:600;padding:8px 11px;min-height:40px;border:1px solid #dceafd;border-radius:12px;background:#f0f6ff;flex-shrink:0;transition:background-color .18s ease,color .18s ease}
.home-refresh .section-head>a:focus-visible,.home-refresh .top-categories>a:focus-visible{outline:3px solid #0878f9;outline-offset:4px}
.home-refresh .section-head .section-count{display:inline-block;border-radius:8px;background:#edf4ff;color:#2864a9;padding:2px 6px;font-size:.65em;vertical-align:middle;font-weight:500}
.home-refresh .section-head .section-count[hidden]{display:none}
.home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid)>:not(.row-sentinel){border-radius:18px;box-shadow:0 4px 12px #193c6b0d;border-color:#e4ebf4}
.home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid){padding-block:6px 14px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
.home-refresh .top-categories .category-photo{transition:transform .18s ease}
.home-refresh .top-categories>a:hover .category-photo{transform:translateY(-3px)}
.home-refresh .section-head>a:hover{background:#e1eeff;color:#064fae}
}
@media(max-width:380px){.home-refresh .home-heading{gap:8px}.home-refresh .home-section-icon{width:36px;height:36px;flex-basis:36px}.home-refresh .section-head>a{padding:7px}.home-refresh .home-section-description{font-size:10px}.home-refresh .section-head{gap:8px}}
@media(prefers-reduced-motion:reduce){.home-refresh .section-head>a,.home-refresh .top-categories .category-photo{transition:none;transform:none}}

/* Visual-only alignment to the supplied reference: preserve existing sizing, grids and scrolling. */

.home-refresh #categories .top-categories .category-photo{
  background-image:url("/assets/reference-artwork.webp?v=56959bfe517fd4c0");
  background-repeat:no-repeat;
  background-size:738.46154% 1476.9231%;
  border-radius:clamp(13px,2.7vw,22px);
  border:1px solid #e0eafa;
  box-shadow:inset 0 1px 2px #ffffffd9,0 4px 11px #1456a51c;
}
.home-refresh #categories .category-0{background-position:3.46386% 32.5419%}
.home-refresh #categories .category-1{background-position:21.68675% 32.5419%}
.home-refresh #categories .category-2{background-position:40.21084% 32.5419%}
.home-refresh #categories .category-3{background-position:58.73494% 32.5419%}
.home-refresh #categories .category-4{background-position:77.25904% 32.5419%}
.home-refresh #categories .category-5{background-position:95.78313% 32.5419%}
.home-refresh #categories :is(.category-0,.category-1,.category-2,.category-3,.category-4,.category-5)>svg{display:none}
.home-refresh #categories :is(.category-contests,.category-software,.category-comparisons){background-image:linear-gradient(145deg,#f8fbff,#dbeaff);background-size:auto}
.home-refresh .section-head{margin-bottom:clamp(8px,1.7vw,13px)}
.home-refresh .home-section-icon{background:linear-gradient(145deg,#f8fbff,#cde3ff);border-color:#d3e5fa;box-shadow:inset 1px 2px 3px #fff,0 3px 8px #1564c31b}
.home-refresh .section-head>a{border-radius:999px;background:linear-gradient(145deg,#fff,#edf5ff);box-shadow:0 2px 7px #123b7312}
.home-refresh #store,.home-refresh #news,.home-refresh #contests-home,.home-refresh #other-products{border-radius:clamp(12px,2.2vw,20px)}

/* Keep original page geometry and swipe/card measurements untouched. */
.home-refresh .content>section{margin:0 0 clamp(18px,4.6vw,36px)}
.home-refresh #categories{margin-bottom:clamp(14px,3.65vw,28px)}
.home-refresh .top-categories>a{gap:4px}
.home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid){padding-block:0}

/* Reference-inspired icon and section polish: no geometry or slider changes. */
.home-refresh #categories .top-categories .category-photo{
  position:relative;overflow:hidden;
  background-color:#eaf3ff;
  border-color:#dce8f8;
  box-shadow:inset 0 2px 3px #ffffff, inset 0 -3px 7px #9abde53d, 0 3px 9px #174c8a20;
}
.home-refresh #categories :is(.category-contests,.category-software,.category-comparisons){
  background-image:linear-gradient(150deg,#f9fcff 0%,#e7f1ff 56%,#d5e8ff 100%);
}
.home-refresh #categories :is(.category-contests,.category-software,.category-comparisons) svg{
  width:52%;height:52%;stroke:#086fe5;stroke-width:2.3;
  filter:drop-shadow(0 3px 2px #2874b93b);
}
.home-refresh #categories .category-contests svg{stroke:#d19a06;fill:#ffcc3b36}
.home-refresh #categories .category-software svg{stroke:#1680ef;fill:#2587f51c}
.home-refresh #categories .category-comparisons svg{stroke:#0875e7;fill:#1680ef16}
.home-refresh #categories .top-categories a{transition:color .18s ease}
.home-refresh #categories .top-categories a:focus-visible .category-photo{outline:2px solid #0878f9;outline-offset:2px}
.home-refresh .section-head .home-section-icon{
  background:linear-gradient(145deg,#f7fbff,#d7eaff);
  border:1px solid #d4e5fb;
  box-shadow:inset 0 2px 2px #fff,0 3px 8px #1b65b51c;
}
.home-refresh .section-head .home-section-icon svg{stroke:#0878f9;stroke-width:2.1}
.home-refresh :is(#store,#news,#contests-home,#other-products){
  background-image:linear-gradient(155deg,#f4f8ff55,#e7effa38);
  box-shadow:inset 0 1px 0 #ffffff8c;
}
.home-refresh .section-head>a{color:#0878f9;border-color:#dce9fa}
@media(prefers-reduced-motion:reduce){.home-refresh #categories .top-categories a{transition:none}}

/* Approved visual mockup: blue depth, clean section panels, pill links.
   Deliberately no widths, grid columns, card sizing or scroll behavior changes. */
.home-refresh{--home-blue:#086fff;--home-muted:#657ba2}
.home-refresh .content :is(#store,#news,#contests-home,#other-products){
  background-color:#f0f7ff;
  background-image:linear-gradient(125deg,#f8fbff 0%,#eaf4ff 100%);
  border:1px solid #e1edfc;
  box-shadow:inset 0 1px 0 #fff,0 5px 20px #2263a10b;
}
.home-refresh .section-head .home-section-icon{
  color:#0878f9;background:linear-gradient(145deg,#f2f9ff,#cfe5ff);
  box-shadow:inset 0 2px 2px #fff,0 4px 12px #086fff24;
}
.home-refresh .section-head>a{
  color:#086fff;background:linear-gradient(145deg,#fff,#edf6ff);
  border:1px solid #d7e8ff;box-shadow:0 3px 10px #0c61c817;
  font-weight:700;
}
.home-refresh .section-head .section-count:not([hidden]){
  background:#e5f2ff;color:#086fff;border:1px solid #d8eaff;
  border-radius:999px;
}
.home-refresh #categories .top-categories .category-photo{
  background-color:#dceeff;
  border:1px solid #d4e8ff;
  box-shadow:inset 0 2px 3px #fff,0 5px 14px #1675e122;
}
.home-refresh #categories .top-categories a[aria-current] .category-photo{
  outline:2px solid #0878f9;outline-offset:2px;
}
.home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid)>:not(.row-sentinel){
  border-color:#e5eefb;box-shadow:0 5px 15px #183c6b12;
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
  .home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid)>:not(.row-sentinel){
    transition:box-shadow .2s ease;
  }
  .home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid)>:not(.row-sentinel):hover{
    box-shadow:0 8px 22px #165cb71e;
  }
}
@media(prefers-reduced-motion:reduce){
  .home-refresh :is(#store-grid,#news-grid,#contest-home-grid,#other-products-grid)>:not(.row-sentinel){transition:none}
}

/* Fix: never crop the hero/reference sprite into category icons.
   Render each category's own vector pictogram instead. */
.home-refresh #categories .top-categories .category-photo,
.home-refresh #categories .top-categories :is(.category-0,.category-1,.category-2,.category-3,.category-4,.category-5,.category-software,.category-contests,.category-comparisons){
  background-image:linear-gradient(145deg,#fafdff 0%,#eaf4ff 48%,#cfe5ff 100%);
  background-size:auto;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
}
.home-refresh #categories .top-categories .category-photo svg,
.home-refresh #categories :is(.category-0,.category-1,.category-2,.category-3,.category-4,.category-5)>svg{
  display:block;
  width:55%;
  height:55%;
  stroke:#0878f9;
  stroke-width:2.1;
  fill:none;
  filter:drop-shadow(0 2px 2px #2374cf38);
}
.home-refresh #categories .top-categories .category-contests svg{stroke:#c28b00;fill:#f7c44e35}
.home-refresh #categories .top-categories a{min-width:0}
.home-refresh #categories .top-categories a>span:last-child{overflow-wrap:normal}

/* Independent full-color objects: preserve category tiles and swipe geometry. */
.home-refresh #categories .top-categories .category-photo svg.category-object-3d{
 display:block;width:78%;height:78%;fill:none;stroke:none;stroke-width:0;
 filter:drop-shadow(0 3px 2px #2365a31c);
}

/* Photo-led category navigation with compact two-row browsing. */
.home-refresh #categories .top-categories{display:grid;grid-template-columns:none;grid-template-rows:repeat(2,auto);grid-auto-flow:column;grid-auto-columns:88px;gap:18px 14px;overflow-x:auto;overflow-y:hidden;padding:8px 2px 14px;scroll-snap-type:x proximity}
.home-refresh #categories .top-categories>a{width:88px;min-width:0;gap:7px;scroll-snap-align:start;font-size:12px;line-height:1.4;color:var(--ink)}
.home-refresh #categories .top-categories .category-photo{display:flex;align-items:center;justify-content:center;width:68px;height:68px;aspect-ratio:1;background:none;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.home-refresh #categories .top-categories .category-photo .category-product-image{display:block;width:100%;height:100%;object-fit:contain;border-radius:8px;background:#fff;padding:3px}
.home-refresh #categories .top-categories .category-photo svg.category-object-3d{width:85%;height:85%;filter:none}
@media(max-width:600px){.home-refresh #categories .top-categories{grid-auto-columns:72px;gap:16px 10px}.home-refresh #categories .top-categories>a{width:72px;font-size:11px}.home-refresh #categories .top-categories .category-photo{width:58px;height:58px}}

/* Owner-supplied transparent category artwork, in the requested order. */
.home-refresh #categories .top-categories.uploaded-category-icons{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;gap:14px;overflow-x:auto;overflow-y:hidden;padding:6px 2px 14px;direction:rtl;scroll-snap-type:x proximity;scroll-padding-inline:2px}
.home-refresh #categories .uploaded-category-icons>a{display:flex;flex-direction:column;align-items:center;flex:0 0 96px;width:96px;min-width:96px;gap:8px;scroll-snap-align:start;font-size:12px;line-height:1.5}
.home-refresh #categories .uploaded-category-icons .category-photo{width:82px;height:82px;display:flex;align-items:center;justify-content:center;background:none!important;border:0;border-radius:0;box-shadow:none;overflow:visible}
.home-refresh #categories .uploaded-category-icons .category-uploaded-image{display:block;width:85%;height:85%;object-fit:contain;background:none;border:0;border-radius:0;padding:0;filter:none}
.home-refresh #categories .uploaded-category-icons>a>span:last-child{width:100%;min-height:36px;white-space:normal;overflow-wrap:normal;word-break:normal;text-align:center}
@media(min-width:768px){.home-refresh #categories .top-categories.uploaded-category-icons{justify-content:space-between}}
@media(max-width:600px){.home-refresh #categories .uploaded-category-icons>a{flex-basis:84px;min-width:84px;width:84px;font-size:11px}.home-refresh #categories .uploaded-category-icons .category-photo{width:72px;height:72px}.home-refresh #categories .top-categories.uploaded-category-icons{gap:12px}}
/* Theme rules must not reintroduce tiles behind transparent artwork. */
html .home-refresh #categories .top-categories.uploaded-category-icons .category-photo{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important}

/* Quiet, clickable section headings replace decorative header controls. */
.home-refresh .section-head .home-section-icon,.home-refresh .section-head>a{display:none}
.home-refresh .section-head{margin-bottom:12px;gap:0}
.home-refresh .section-head .home-heading{gap:0;flex:1}
.home-refresh .section-head h2{font-family:Tajawal,Tahoma,sans-serif;font-size:clamp(19px,2.6vw,24px);font-weight:700;line-height:1.5;letter-spacing:0;margin:0}
.home-refresh .home-section-title{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);text-decoration:none}
.home-refresh .home-section-title:hover{color:var(--blue)}
.home-refresh .home-section-title:focus-visible{outline:2px solid var(--blue);outline-offset:4px;border-radius:4px}
.home-refresh .home-section-description{font-size:12px;line-height:1.6;font-weight:400;margin-top:0;color:var(--muted)}
.home-refresh .product h3{font-family:Tajawal,Tahoma,sans-serif;font-weight:700;letter-spacing:0}

/* Subtle position track below the rotating banner. */
.hero-slide-indicator{width:92px;height:3px;margin:9px auto 14px;background:var(--line,#e5e7eb);border-radius:10px;overflow:hidden;direction:ltr}
.hero-slide-indicator>span{display:block;height:100%;border-radius:inherit;background:var(--muted,#7c8797);transition:transform .35s ease}
@media(prefers-reduced-motion:reduce){.hero-slide-indicator>span{transition:none}}

/* Native snapping must not interrupt smooth automatic motion or touch browsing. */
.reference-home:not(.catalog-page) :is(#store-grid,#other-products-grid,#news-grid,#contest-home-grid){scroll-snap-type:none;scroll-behavior:auto}

/* Centered installment campaign above the best-seller filters. */
.home-refresh .installment-promo{display:block;position:relative;isolation:isolate;overflow:hidden;width:100%;max-width:1180px;margin:0 auto clamp(12px,3vw,24px);border-radius:clamp(12px,2.2vw,24px);line-height:0}
.home-refresh .installment-promo img{display:block;width:100%;height:auto;aspect-ratio:1662/946;object-fit:contain}
.home-refresh .installment-promo::after{content:'';position:absolute;top:-25%;bottom:-25%;left:-45%;width:30%;background:linear-gradient(105deg,transparent,#ffffff70,transparent);transform:translateX(0) skewX(-16deg);pointer-events:none;animation:mobix-installment-shine 6s ease-in-out infinite;opacity:0}
@keyframes mobix-installment-shine{0%,54%{transform:translateX(0) skewX(-16deg);opacity:0}59%{opacity:.7}85%{transform:translateX(520%) skewX(-16deg);opacity:.7}86%,100%{transform:translateX(520%) skewX(-16deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.home-refresh .installment-promo::after{animation:none;opacity:0}}

/* Independent offer slider: preserve complete artwork in a stable frame. */
.home-refresh .offers-banner{width:100%;max-width:1180px;margin:0 auto clamp(12px,3vw,24px)}
.home-refresh .offers-carousel{position:relative;isolation:isolate;overflow:hidden;width:100%;height:auto;aspect-ratio:1662/946;border-radius:clamp(12px,2.2vw,24px);background:#f3f3f3;touch-action:pan-y pinch-zoom;--hero-enter-x:calc(-100% - 12px);--hero-exit-x:calc(100% + 12px)}
.home-refresh .offers-carousel>.hero-slide{position:absolute;inset:0;width:100%;height:100%;margin:0;border-radius:0}
.home-refresh .offers-carousel .hero-slide img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;filter:none;opacity:1;background:#f3f3f3}
.home-refresh .offers-carousel .hero-slide picture{display:block;width:100%;height:100%}
.home-refresh .offers-carousel .hero-copy{position:absolute;inset:auto 16px 14px;width:auto;transform:none;text-align:center;color:#111}
.home-refresh .offers-carousel .hero-copy :is(h2,p){margin:4px 0;font-size:clamp(12px,2.5vw,20px)}
.home-refresh .offers-banner>.hero-slide-indicator{margin-bottom:0}
.home-refresh .offers-carousel:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
html[data-theme=dark] .home-refresh .offers-carousel{background:#f3f3f3}
.home-refresh .offers-banner:has(>.offers-carousel[hidden]){display:none}

/* Compact category icons with an indicator following the swipe position. */
.home-refresh #categories .top-categories.uploaded-category-icons{gap:12px;padding-bottom:8px}
.home-refresh #categories .uploaded-category-icons>a{flex-basis:80px;min-width:80px;width:80px;gap:6px}
.home-refresh #categories .uploaded-category-icons .category-photo{width:62px;height:62px}
.home-refresh #categories .category-row-indicator{margin:4px auto 0}
.home-refresh #categories .category-row-indicator>span{width:33.333333%;transition:none}
.home-refresh #category-row.row-motion-active{scroll-snap-type:none!important;scroll-behavior:auto!important}
@media(max-width:600px){.home-refresh #categories .top-categories.uploaded-category-icons{gap:10px}.home-refresh #categories .uploaded-category-icons>a{flex-basis:68px;min-width:68px;width:68px}.home-refresh #categories .uploaded-category-icons .category-photo{width:54px;height:54px}}

/* Retail cards: product photo, name, price and in-store finance. */
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card{padding:0;border:1px solid #e5e5e5;border-radius:12px;background:#f7f7f7;box-shadow:none;direction:rtl;text-align:right;overflow:hidden}
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card .store-gallery{aspect-ratio:1.5;margin:0;border-radius:0;background:#fff;flex:none}
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card .store-gallery img{padding:8px;aspect-ratio:auto;object-fit:contain;background:#fff}
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card h3{padding:7px 9px 0;margin:0;min-height:3em;font-family:inherit;font-size:clamp(12px,3.1vw,16px);font-weight:700;line-height:1.45;direction:rtl;text-align:right;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:2}
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card .product-specs,.retail-product-card .content-view-counter{display:none}
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card>.price{display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;gap:4px;width:100%;margin:auto 0 0;padding:8px 9px 5px;min-height:43px;direction:ltr;text-align:right;font-size:clamp(16px,4.2vw,22px);font-weight:800;line-height:1.35;color:#111}
:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card .product-new-price{direction:ltr;display:inline-flex;align-items:baseline;gap:6px;font-weight:800;white-space:nowrap}
.retail-product-card .product-new-price small{font-size:.6em;font-weight:700}
.retail-product-card .product-old-price{font-size:12px;margin:0}
.retail-product-card .product-arrival-badge{top:0;right:0;left:auto;z-index:4;padding:3px 8px;border-radius:0 10px 0 8px;font-size:clamp(11px,2.7vw,13px);line-height:1.5;box-shadow:0 4px 9px #1f639536;background:linear-gradient(110deg,#2c7bac,#18517f);color:#fff}
.retail-product-card .product-arrival-badge:not(.is-used)::before{content:'•';margin-inline-end:5px;color:#d9eaf6}
.retail-product-card .product-arrival-badge.is-used{background:#dc2626;color:#fff}
.retail-product-card>.product-discount-badge{top:32px;right:6px;left:auto}
.retail-product-card .product-instore-finance{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:2px 9px 8px;margin:0;min-height:36px;direction:rtl;color:#555;font-size:clamp(10px,2.6vw,13px);font-weight:700;line-height:1.5}
.retail-product-card .product-instore-finance .valu-wordmark{display:block;width:55px;height:22px;flex:none;background:linear-gradient(to right,#13b9a4 0 82%,#ef7c43 82% 100%);-webkit-mask:url("/assets/valu-wordmark.svg?v=a211524baa306aa9") center/contain no-repeat;mask:url("/assets/valu-wordmark.svg?v=a211524baa306aa9") center/contain no-repeat}
html[data-theme=dark] :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card{background:var(--card-surface);border-color:var(--line)}
html[data-theme=dark] :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card>.price{color:#edf3ff}
html[data-theme=dark] .retail-product-card .product-instore-finance{color:#b9c6dc}
@media(min-width:700px){.retail-product-card .product-instore-finance .valu-wordmark{width:66px;height:26px}.retail-product-card .product-instore-finance{padding:2px 10px 9px}:is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card h3{padding-inline:10px}}

/* A short light sweep and a vertical, four-message benefits loop. */
.retail-product-card .product-instore-finance{display:block}
.product-perks-viewport{display:block;height:2.7em;overflow:hidden}
.product-perks-track{display:block;animation:product-perk-cycle 16s cubic-bezier(.4,0,.2,1) infinite}
.product-perk{display:flex;align-items:center;justify-content:space-between;gap:4px;height:2.7em;direction:rtl}
.product-perk-label{display:-webkit-box;flex:1;min-width:0;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;text-align:center;line-height:1.35}
.product-perk-icon{display:block;flex:none;width:14px;height:14px;color:var(--blue,#0878f9)}
@keyframes product-perk-cycle{0%,20%{transform:translateY(0)}25%,45%{transform:translateY(-20%)}50%,70%{transform:translateY(-40%)}75%,95%{transform:translateY(-60%)}100%{transform:translateY(-80%)}}
@media(min-width:700px){.product-perk-icon{width:20px;height:20px}}
@media(prefers-reduced-motion:reduce){.product-perks-track{animation:none}}

/* Three complete mobile cards, sized like the supplied store reference. */
@media(max-width:699px){
 :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card{border-radius:7px}
 :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card .store-gallery{aspect-ratio:1.25}
 :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card .store-gallery img{padding:6px}
 :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card h3{padding:5px 6px 0;min-height:3.1em;font-size:clamp(10px,2.8vw,12px);line-height:1.4}
 :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card>.price{padding:4px 6px 3px;min-height:32px;font-size:clamp(12px,3.5vw,16px);gap:2px}
 .retail-product-card .product-new-price{gap:3px}
 .retail-product-card .product-old-price{font-size:9px}
 .retail-product-card .product-arrival-badge{padding:2px 5px;font-size:clamp(9px,2.4vw,11px);border-radius:0 6px 0 6px}
 .retail-product-card>.product-discount-badge{top:25px;right:4px;font-size:9px;padding:2px 4px}
 .retail-product-card .product-instore-finance{padding:2px 6px 6px;min-height:28px;gap:4px;font-size:clamp(8px,2.1vw,10px);line-height:1.35}
 .retail-product-card .product-instore-finance .valu-wordmark{width:38px;height:18px}
}

.retail-product-card:not(:has(.product-condition-badge))>.product-discount-badge{top:0;right:0;border-radius:0 6px 0 6px}

/* Related products keep the same compact three-card mobile proportions. */
.product-detail-page #product-recommendations-grid{display:flex;direction:rtl;align-items:stretch;justify-content:flex-start;gap:clamp(10px,2vw,16px);overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;padding:0 0 3px;scrollbar-width:none}
.product-detail-page #product-recommendations-grid::-webkit-scrollbar{display:none}
.product-detail-page #product-recommendations-grid>.product.retail-product-card{flex:0 0 calc((100% - 2 * clamp(10px,2vw,16px))/3);min-width:0;max-width:none;scroll-snap-align:start}
.retail-product-card .store-gallery img{cursor:pointer}
@media(min-width:700px){.product-detail-page #product-recommendations-grid>.product.retail-product-card{flex-basis:calc((100% - 2 * clamp(10px,2vw,16px))/3.5)}}
@media(min-width:1000px){.product-detail-page #product-recommendations-grid>.product.retail-product-card{flex-basis:calc((100% - 3 * clamp(10px,2vw,16px))/4.75)}}

/* Compact, keyboard-accessible color choices inside a product family card. */
.retail-product-card .product-card-options{display:flex;align-items:center;justify-content:space-between;gap:2px;min-height:28px;padding:0 6px 3px;direction:rtl}
.retail-product-card .product-card-colors{display:flex;align-items:center;gap:2px;min-width:0;overflow-x:auto;scrollbar-width:none}
.retail-product-card .product-card-colors::-webkit-scrollbar{display:none}
.retail-product-card .product-card-color{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;min-height:24px;padding:3px;border:1px solid transparent;border-radius:50%;background:transparent;box-shadow:none;cursor:pointer}
.retail-product-card .product-card-color::before{content:'';display:block;width:16px;height:16px;border:1px solid #0002;border-radius:50%;background:var(--variant-color)}
.retail-product-card .product-card-color[aria-pressed=true]{border-color:var(--blue,#0878f9)}
.retail-product-card .product-card-color:focus-visible{outline:2px solid var(--blue,#0878f9);outline-offset:1px}
.retail-product-card .product-card-capacity{flex-shrink:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:9px;font-weight:600;color:var(--muted,#6b7280);white-space:nowrap}

/* A product photo is one native link, not a nested swipe surface. */
.retail-product-card .store-gallery{overflow:hidden;scroll-snap-type:none;touch-action:manipulation;-webkit-tap-highlight-color:rgba(8,120,249,.15)}
.retail-product-card .store-gallery>img{pointer-events:none}

#contest-promo[hidden],#contest-promo-join[hidden]{display:none!important}
#contest-promo{position:relative;container-type:inline-size;width:100%;margin:24px auto;max-width:1280px;aspect-ratio:2/1;font-family:inherit;overflow:hidden}
.contest-promo-canvas{position:relative;width:100%;height:100%;}
#contest-promo-image{display:block;width:100%;height:100%;object-fit:fill}
.contest-promo-browse{position:absolute;inset:0;z-index:1}
.contest-promo-browse:focus-visible{outline:3px solid #fff;outline-offset:-5px;border-radius:12px}
.contest-promo-controls{position:absolute;z-index:2;pointer-events:none;top:43%;right:5.5%;width:34%;display:flex;align-items:center;flex-direction:column;gap:1.2cqw;color:#fff;text-align:center}
#contest-promo-timer{width:100%;margin:0;font-size:2cqw;color:#fff}
#contest-promo-timer .contest-clock-face{display:flex;gap:.6cqw;justify-content:center}
#contest-promo-timer .contest-clock-unit{min-width:0;flex:1;padding:.4cqw;border-radius:.8cqw;background:linear-gradient(145deg,#087cd9,#04306e);border:1px solid #49d4ff;box-shadow:0 0 1cqw #008eff80}
#contest-promo-timer b{display:block;font-size:2.5cqw;font-variant-numeric:tabular-nums;line-height:1.1;color:#fff}
#contest-promo-timer small{display:block;font-size:1.25cqw;line-height:1.4;color:#fff}
#contest-promo-timer .contest-clock-track{display:none}
#contest-promo-timer .contest-clock-message{display:none}
#contest-promo-timer.is-ended .contest-clock-face{display:none}
#contest-promo-timer.is-ended .contest-clock-message{display:block;font-weight:800}
#contest-promo-join{pointer-events:auto;display:block;padding:.55cqw 3cqw;border:1px solid #6ee9ff;border-radius:1.1cqw;background:linear-gradient(135deg,#23dafa,#0569f8 70%);color:white;font-size:2cqw;line-height:1.3;font-weight:800;text-decoration:none;box-shadow:0 0 1.2cqw #00baff90;text-shadow:0 1px 2px #003776}
#contest-promo-join:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:600px){#contest-promo{margin:18px auto;aspect-ratio:16/9}#contest-promo-join{min-height:24px;display:flex;align-items:center;justify-content:center;padding:.5cqw 2cqw;font-size:2.8cqw}#contest-promo-timer b{font-size:3cqw}#contest-promo-timer small{font-size:2cqw}.contest-promo-controls{gap:1cqw}}

.home-refresh #home-brands{background:#f7f7f7;padding:18px 0 8px;border-radius:12px}
.home-refresh #home-brands .section-head{padding-inline:12px}
.home-refresh .home-brand-row{display:grid;grid-template-rows:repeat(2,clamp(32px,7vw,44px));grid-auto-columns:clamp(58px,15vw,100px);grid-auto-flow:column;gap:8px;overflow-x:auto;padding:8px 0 12px;scrollbar-width:none;overscroll-behavior-inline:contain;direction:rtl;scroll-snap-type:x proximity}
.home-brand-row::-webkit-scrollbar{display:none}
.home-refresh .home-brand-row>a{display:grid;place-items:center;background:#fff;border-radius:8px;padding:5px 7px;scroll-snap-align:start;min-width:0}
.home-refresh .home-brand-row svg{stroke:none;stroke-width:0;display:block;width:100%;height:100%;max-height:28px;max-width:100%}
.home-refresh .home-brand-indicator{margin:10px auto 14px;width:124px;height:4px;background:#dedede}
.home-refresh .home-brand-indicator>span{display:block;width:33.333333%;height:100%;border-radius:inherit;background:#999;transition:none}
.home-refresh #home-brand-row.row-motion-active{scroll-snap-type:none;scroll-behavior:auto}
.home-refresh .home-apple-tabs{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
.home-apple-tabs>button{flex:0 0 auto;min-width:72px;min-height:34px;padding:8px 14px;background:#eee;color:#555;border:1px solid #dedede;border-radius:9px;font-family:inherit;font-size:clamp(11px,2.7vw,14px);font-weight:600;line-height:1.3;white-space:nowrap;cursor:pointer}
.home-apple-tabs>button[aria-pressed=true]{background:#2e83ae;border-color:#2e83ae;color:#fff}
.home-refresh #home-apple-grid{display:flex;flex-wrap:nowrap;gap:var(--home-row-gap,12px);overflow-x:auto;padding:6px 0 14px;scrollbar-width:none;scroll-snap-type:x proximity;direction:rtl}
.home-refresh #home-apple-grid>.product{display:flex;flex-direction:column;position:relative;flex:0 0 calc((100% - 2 * var(--home-row-gap,12px))/3);min-width:0;scroll-snap-align:start;min-height:0}
.home-refresh #home-apple-grid.row-motion-active{scroll-snap-type:none}
.home-refresh #home-apple-grid .store-gallery{display:block}
.home-refresh #home-apple-grid .store-gallery img{display:block;width:100%;height:100%}
.home-refresh #home-apple-grid .product-instore-finance{margin-top:0}
.home-refresh #categories .category-photo.category-news{background:#f1f7ff;border-radius:16px}
.home-refresh #categories .category-photo.category-news svg{display:block;width:34px;height:34px;fill:none;stroke:#1673c9;stroke-width:1.7}
.home-brand-row>a:focus-visible,.home-apple-tabs>button:focus-visible{outline:2px solid #0878f9;outline-offset:-3px}
html[data-theme=dark] .home-refresh #home-brands{background:var(--card-surface)}
html[data-theme=dark] .home-apple-tabs>button:not([aria-pressed=true]){background:var(--card-surface);color:var(--ink);border-color:var(--line)}
@media(min-width:700px){.home-refresh #home-apple-grid>.product{flex-basis:calc((100% - 2 * var(--home-row-gap,12px))/3.5)}}
@media(min-width:1000px){.home-refresh #home-apple-grid>.product{flex-basis:calc((100% - 3 * var(--home-row-gap,12px))/4.75)}}

html body.home-refresh #home-apple .section-head>#home-apple-all{display:inline-flex;align-items:center;padding:0;min-height:32px;border:0;background:transparent!important;box-shadow:none!important;color:#2e7daf;font-size:13px;white-space:nowrap}
html:not([data-theme=dark]) body.home-refresh #home-brands{background:#f7f7f7!important}

.home-refresh #home-brands .section-head #home-brands-title{font-size:clamp(13px,2.5vw,17px);font-weight:600;line-height:1.5}

.home-refresh .content>#home-store-photo{padding:0;margin-block:12px 28px;background:transparent}
.home-refresh #home-store-photo>img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:var(--store-media-corners)}

html body.home-refresh .content>#home-contact{padding:22px 20px;margin-block:16px 28px;border-radius:12px;background:linear-gradient(100deg,#dcebf5,#edf6fb)!important;color:#222;box-shadow:none;text-align:right}
.home-refresh #home-contact h2{margin:0 0 10px;padding:0;font-size:clamp(17px,3.5vw,23px);line-height:1.5;font-weight:700;color:#161616}
.home-refresh #home-contact h2::before{display:none}
.home-refresh #home-contact p{margin:0 0 20px;font-size:clamp(14px,2.9vw,18px);line-height:1.7;color:#6c7075}
.home-refresh #home-contact .home-contact-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:40px;padding:9px 16px;border:0;border-radius:999px;background:#2f80b9;color:#fff;font-size:clamp(14px,2.9vw,18px);line-height:1.4;text-decoration:none;font-weight:400}
.home-refresh #home-contact .home-contact-button:focus-visible{outline:3px solid #125b94;outline-offset:3px}
@media(hover:hover){.home-refresh #home-contact .home-contact-button:hover{background:#246fa6}}

.home-refresh #home-store-photo{--store-media-corners:clamp(18px,3vw,32px) clamp(72px,12vw,150px) clamp(18px,3vw,32px) clamp(18px,3vw,32px);text-align:center}
.home-refresh #home-store-photo .home-store-map{margin-top:24px;text-align:right}
.home-refresh #home-store-photo .home-store-map h2{padding:0;margin:0 0 12px;font-size:18px;line-height:1.5}
.home-refresh #home-store-photo .home-store-map h2::before{display:none}
.home-refresh #home-store-photo .home-store-location{display:block;overflow:hidden;border:0;background:transparent;color:#2e7daf;font-size:15px;font-weight:700;text-decoration:none}
.home-refresh #home-store-photo .home-google-map-frame{width:100%;aspect-ratio:16/9;overflow:hidden;border:0;border-radius:var(--store-media-corners);background:#edf6fb}
.home-refresh #home-store-photo .home-google-map{display:block;width:100%;height:100%;border:0}
.home-refresh #home-store-photo .home-store-map-caption{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;min-height:44px}
.home-refresh #home-store-photo .home-store-location svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8}
.home-refresh #home-store-photo .home-store-location:focus-visible{outline:3px solid #0878f9;outline-offset:3px}

/* Exact supplied artwork, split so only the wordmark moves. Space is reserved. */
.brand .mobix-lockup,.footer-brand .mobix-lockup{display:flex;align-items:center;gap:3%;direction:ltr;width:clamp(126px,33vw,255px);aspect-ratio:3.83;flex:none}
.mobix-lockup .mobix-mark{display:block;width:31%;height:auto;flex:none;object-fit:contain}
.mobix-lockup .mobix-word-window{display:block;width:66%;overflow:hidden;color:inherit}
.mobix-lockup .mobix-word{display:block;width:100%;height:auto;object-fit:contain;max-width:100%}
.content-header .brand .mobix-lockup{width:clamp(94.5px,28.5vw,138.75px)}
.site-footer .footer-brand .mobix-lockup{width:150px}
.reference-home .reference-brand::before{content:none;animation:none}
/* Repeat the original masked reveal while keeping the mark and layout fixed. */
header .mobix-word{animation:mobix-blue-word-reveal 8s cubic-bezier(.4,0,.2,1) infinite}
@keyframes mobix-blue-word-reveal{0%,70%,100%{transform:translateX(-105%);opacity:0}10%,60%{transform:translateX(0);opacity:1}}
html[data-theme="dark"] .mobix-word{filter:invert(1)}
.site-footer .mobix-word{filter:invert(1)}
@media(max-width:350px){.brand .mobix-lockup{width:118px}}
@media(prefers-reduced-motion:reduce){header .mobix-word{animation:none;transform:none;opacity:1}}

/* Reduce the header artwork by 25%; footer branding is unchanged. */
body header.mobix-shared-header .brand .mobix-lockup{width:clamp(80px,21vw,160px)}
@media(max-width:350px){body header.mobix-shared-header .brand .mobix-lockup{width:80px}}

.mobix-auto-more{display:none!important}
.mobix-auto-sentinel{height:1px;width:100%;pointer-events:none}

/* Account navigation uses the existing native modal and auth service. */
.has-account-menu [data-language-toggle]{display:none}
.header.has-account-menu .header-actions{gap:12px;flex-shrink:0}
.header-favorites{position:relative}.favorites-count{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:1px 4px;border-radius:12px;background:#1673ea;color:#fff;font-size:10px;line-height:15px;text-align:center}
dialog.account-menu{position:fixed;inset-block:0;inset-inline-start:0;inset-inline-end:auto;margin:0;box-sizing:border-box;width:min(370px,90vw);max-width:90vw;height:100dvh;max-height:100dvh;border:0;border-radius:0 0 0 24px;padding:22px 20px max(24px,env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior:contain;background:var(--card-surface,#fff);color:var(--ink,#15233b);box-shadow:0 0 48px #071c3d33}
html[dir=ltr] dialog.account-menu{border-radius:0 24px 24px 0}
.account-menu[open]{animation:menu-enter .22s ease-out}
.account-menu::backdrop{background:#08172b70;backdrop-filter:blur(4px);animation:menu-fade .22s ease-out}
.account-menu.menu-closing{animation:menu-leave .18s ease-in forwards}
.account-menu.menu-closing::backdrop{animation:menu-fade .18s reverse forwards}
.menu-profile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:13px;padding:14px 0 22px;border-bottom:1px solid var(--line,#e5eaf2)}
.menu-avatar{position:relative;display:grid;place-items:center;flex:none;width:76px;height:76px;border-radius:50%;border:2px solid #1673ea55;background:var(--ice,#edf5ff);color:var(--blue,#1673ea);overflow:hidden;box-shadow:0 0 0 5px #1673ea0a}
.menu-avatar svg{width:38px;height:38px}.menu-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:50%}
.menu-user-name{font-size:18px;overflow-wrap:anywhere;max-width:100%}
.menu-account-button{display:block;width:100%;box-sizing:border-box;padding:13px 10px;background:#1673ea;color:white!important;border-radius:13px;text-decoration:none;font-weight:700;font-size:16px}
.menu-logout{background:transparent;color:var(--muted,#5a6980);border:0;padding:10px 18px;font:inherit;min-height:44px;cursor:pointer}
.menu-languages{padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line,#e5eaf2)}
.menu-language-choices{display:flex;gap:5px;padding:4px;border-radius:13px;background:var(--ice,#edf5ff)}
.menu-language-choices button{font:inherit;padding:8px 12px;min-height:44px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ink,#15233b);cursor:pointer}
.menu-language-choices button[aria-pressed=true]{background:#1673ea;color:white;border-color:#1673ea;font-weight:700}
.account-menu .menu-links{padding-top:12px}.account-menu :is(a,button):focus-visible{outline:3px solid var(--blue,#1673ea);outline-offset:3px}
@keyframes menu-enter{from{opacity:0;transform:translateX(30px)}to{opacity:1;transform:translateX(0)}}
@keyframes menu-leave{to{opacity:0;transform:translateX(30px)}}
@keyframes menu-fade{from{opacity:0}to{opacity:1}}
html[dir=ltr] .account-menu{--menu-side:-1}
@media(max-width:600px){.reference-home .header.has-account-menu{grid-template-columns:40px minmax(90px,1fr) auto;gap:8px;padding-inline:12px}.header.has-account-menu .header-actions{gap:8px}.header.has-account-menu .icon-button{width:36px;height:40px;min-width:36px}.header.has-account-menu .reference-brand{min-width:0}.header.has-account-menu .brand-text{min-width:0}.header.has-account-menu .brand-mark{width:38px}.header.has-account-menu .brand-name-window{max-width:110px}.header.has-account-menu .brand-text small{font-size:9px}}
@media(max-width:360px){.header.has-account-menu .brand-text{display:none}.header.has-account-menu .header-actions{gap:6px}}
@media(prefers-reduced-motion:reduce){.account-menu[open],.account-menu::backdrop,.account-menu.menu-closing{animation:none!important}}

/* Shared header: physical left-to-right order in both interface languages. */
body header.mobix-shared-header:is(.header,.content-header).has-account-menu{
 display:flex;flex-wrap:nowrap;align-items:center;justify-content:flex-start;direction:ltr;
 width:100%;max-width:1200px;height:clamp(54px,13.89vw,108px);min-height:76px;
 padding:5px var(--shared-header-padding,2.6%)!important;margin:0 auto;gap:var(--shared-header-gap,clamp(6px,1.8vw,18px))!important;
 background:var(--card-surface,#fff);border:0;
}
body header.mobix-shared-header:is(.header,.content-header)>.menu-trigger{order:0;flex:none}
body header.mobix-shared-header:is(.header,.content-header)>.brand{order:1;display:flex;align-items:center;flex:none;min-width:0;margin:0;letter-spacing:0}
body header.mobix-shared-header:is(.header,.content-header)>.header-actions{order:2;display:flex;align-items:center;direction:ltr;margin-left:auto;flex:none;gap:12px}
body header.mobix-shared-header:is(.header,.content-header) .theme-search-stack{display:flex;flex-direction:row-reverse;align-items:center;gap:8px;flex:none}
body header.mobix-shared-header:is(.header,.content-header) .icon-button{
 display:inline-flex;align-items:center;justify-content:center;position:relative;
 width:36px;height:44px;min-width:36px;min-height:44px;padding:0;flex:none;
 color:var(--ink,#081640);background:transparent;border:0;box-shadow:none;
}
body header.mobix-shared-header:is(.header,.content-header) .icon-button svg{width:clamp(18px,4.35vw,34px);height:clamp(18px,4.35vw,34px)}
body header.mobix-shared-header:is(.header,.content-header) .menu-trigger{width:clamp(36px,7.8vw,60px);height:clamp(40px,7.8vw,60px);padding:7px;border-radius:50%;background:var(--ice,#F1F4F9)}
body header.mobix-shared-header:is(.header,.content-header) .header-cart{top:auto;right:auto}
body header.mobix-shared-header:is(.header,.content-header) .icon-button::before{content:'';position:absolute;inset:0}
@media(max-width:600px){
 body header.mobix-shared-header:is(.header,.content-header).has-account-menu{--shared-header-padding:12px;--shared-header-gap:8px}
 body header.mobix-shared-header:is(.header,.content-header)>.header-actions{gap:8px}
}
@media(max-width:360px){
 body header.mobix-shared-header:is(.header,.content-header).has-account-menu{--shared-header-gap:6px}
 body header.mobix-shared-header:is(.header,.content-header)>.header-actions{gap:4px}
 body header.mobix-shared-header:is(.header,.content-header) .theme-search-stack{gap:4px}
 body header.mobix-shared-header:is(.header,.content-header) .icon-button{width:32px;min-width:32px}
 body header.mobix-shared-header:is(.header,.content-header) .menu-trigger{width:32px}
}

/* Compact navigation everywhere; keep 44px minimum interactive row heights. */
dialog.account-menu{width:min(270px,67.5vw);max-width:67.5vw;padding:16px 14px max(18px,env(safe-area-inset-bottom))}
.account-menu .dialog-head{margin-bottom:12px;direction:rtl}
html[dir=ltr] .account-menu .dialog-head{direction:ltr}
.account-menu .dialog-head h2{font-size:16.5px;margin:0}
.account-menu .dialog-head button{width:44px;height:44px;min-height:44px;flex:none}
.account-menu .menu-profile{gap:9px;padding:10px 0 16px}
.account-menu .menu-avatar{width:55px;height:55px}
.account-menu .menu-avatar svg{width:28px;height:28px}
.account-menu .menu-user-name{font-size:13.5px}
.account-menu .menu-account-button{font-size:12px;padding:9px 7px;min-height:44px;display:flex;align-items:center;justify-content:center}
.account-menu .menu-logout{font-size:12px;padding:7px 12px}
.account-menu .menu-languages{padding:13px 0;gap:6px;font-size:12px}
.account-menu .menu-language-choices{padding:3px;gap:3px}
.account-menu .menu-language-choices button{font-size:12px;padding:6px;min-height:44px}
.account-menu .menu-links{gap:6px;padding-top:9px}
.account-menu .menu-links :is(a,button){font-size:12px;line-height:1.5;padding:8px 9px;min-height:44px;overflow-wrap:anywhere;text-align:start}

/* Reference-style circular search and flag language picker. */
body header.mobix-shared-header:is(.header,.content-header)>.brand{flex:1 1 auto;min-width:0;overflow:hidden}
body header.mobix-shared-header:is(.header,.content-header) .header-cart{display:none!important}
body header.mobix-shared-header:is(.header,.content-header) .header-search{width:32px;min-width:32px;height:32px;min-height:32px;border:1px solid var(--line,#e6e6e6);border-radius:50%;background:var(--card-surface,#fff);color:var(--ink,#111)}
body header.mobix-shared-header:is(.header,.content-header) .header-search svg{width:20px;height:20px;stroke-width:1.5}
.header-language{position:relative;flex:none;direction:ltr;color:var(--ink,#111);font-family:Arial,sans-serif}
.header-language-trigger{display:flex;align-items:center;justify-content:center;gap:5px;width:46px;height:32px;min-height:32px;padding:4px 6px;border:1px solid var(--line,#e6e6e6);border-radius:20px;background:var(--card-surface,#fff);color:var(--muted,#999);cursor:pointer}
.header-language .language-flag{display:flex;align-items:center;justify-content:center;flex:none;width:17px;height:17px;border-radius:50%;overflow:hidden;background:#fff}
.header-language .language-flag svg{display:block;flex:none;width:26px;height:17px;stroke:none}
.header-language .language-chevron{width:10px;height:10px;fill:none;stroke:currentColor;stroke-width:1.2;transition:transform .15s}
.header-language-trigger[aria-expanded=true] .language-chevron{transform:rotate(180deg)}
.header-language-options{position:absolute;top:calc(100% + 8px);right:0;z-index:60;width:136px;padding:6px;border:1px solid var(--line,#f1f1f1);border-radius:15px;background:var(--card-surface,#fff);box-shadow:0 8px 24px #162b4920}
.header-language-options[hidden]{display:none!important}
.header-language-options button{display:flex;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px 9px;border:0;border-radius:11px;background:transparent;color:var(--ink,#555);font:400 11px/1.4 Arial,sans-serif;text-align:left;white-space:nowrap;cursor:pointer}
.header-language-options button[aria-checked=true]{background:var(--ice,#e8f3fb);color:var(--blue,#3687b6)}
.header-language .language-check{width:12px;height:12px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.5;visibility:hidden}
.header-language-options button[aria-checked=true] .language-check{visibility:visible}
.header-language :is(button):focus-visible{outline:2px solid var(--blue,#0878f9);outline-offset:2px}
@media(max-width:360px){body header.mobix-shared-header:is(.header,.content-header) .theme-search-stack{gap:4px}.header-language-trigger{width:42px}}
@media(prefers-reduced-motion:reduce){.header-language .language-chevron{transition:none}}

body.mobix-search-open{overflow:hidden}
#search-dialog.mobix-search-screen{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:46px 12px max(20px,env(safe-area-inset-bottom));border:0;border-radius:0;background:var(--card-surface,#fff);color:var(--ink,#555);overflow-y:auto;overscroll-behavior:contain;box-shadow:none}
#search-dialog.mobix-search-screen::backdrop{background:var(--card-surface,#fff);backdrop-filter:none}
#search-dialog .mobix-search-close{position:absolute;top:8px;left:10px;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:7px;border:0;background:transparent;color:#616876;cursor:pointer}
#search-dialog .mobix-search-close svg,#search-dialog .mobix-search-submit svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}
#search-dialog .mobix-search-form{display:flex;align-items:center;height:40px;margin:0;padding:0;border:0;border-radius:24px;background:#f5f5f7;overflow:hidden;box-shadow:none}
#search-dialog #search-input{box-sizing:border-box;flex:1;min-width:0;width:auto;height:40px;min-height:40px;margin:0;padding:8px 12px;border:0;border-radius:0;background:transparent;box-shadow:none;outline:0;font:400 13px/1.4 Arial,sans-serif;color:#555;text-align:start;appearance:none;-webkit-appearance:none}
#search-dialog #search-input::placeholder{color:#969ba4;opacity:1}
#search-dialog #search-input::-webkit-search-cancel-button{-webkit-appearance:none}
#search-dialog .mobix-search-submit{display:grid;place-items:center;flex:none;width:32px;height:40px;min-height:40px;padding:8px;border:0;background:transparent;color:#979ba2;cursor:pointer}
#search-dialog #search-category{box-sizing:border-box;flex:none;width:80px;height:40px;min-height:40px;margin:0;padding:5px 6px;border:0;border-inline-start:1px solid #d8dbe0;border-radius:0;background:transparent;color:#66707b;font:400 11px/1.4 Arial,sans-serif;outline:0}
#search-dialog .mobix-search-status{margin:32px 0 0;padding:0;text-align:center;color:#999da5;font:400 12px/1.6 Arial,sans-serif}
#search-dialog .mobix-search-status[hidden]{display:none}
#search-dialog #search-results{margin-top:20px}
#search-dialog #search-results .mobix-search-result{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 4px;margin:0;border:0;border-bottom:1px solid var(--line,#eee);border-radius:0;color:var(--ink,#555);text-decoration:none;font-size:14px;line-height:1.6}
#search-dialog .mobix-search-price{flex:none;color:var(--muted,#777);font-size:12px}
#search-dialog #search-results .mobix-search-all{display:block;width:fit-content;margin:20px auto;padding:10px 18px;border:1px solid var(--line,#eee);border-radius:20px;color:var(--blue,#0878f9);font-size:13px;text-decoration:none}
#search-dialog :is(button,select):focus-visible{outline:2px solid var(--blue,#0878f9);outline-offset:-2px}
html[data-theme=dark] #search-dialog .mobix-search-form{background:var(--page-surface)}
html[data-theme=dark] #search-dialog #search-input{color:var(--ink)}

/* Shared theme, loaded after page styles. Product photography stays unchanged. */
.theme-search-stack{display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:8px;flex:none}
.header.has-theme-toggle{min-height:76px}
button.theme-toggle{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;min-width:32px;min-height:32px;padding:5px;border:1px solid var(--line);border-radius:50%;background:var(--ice);color:var(--blue);line-height:1;flex:none}
.theme-toggle svg{width:20px;height:20px}
.theme-search-stack .header-search{flex:none}
html[data-theme=dark],html[data-theme=dark] body{--page-surface:#0B1120;--card-surface:#172238;--blue:#63a9ff;--ink:#edf3ff;--muted:#a6b5ce;--line:#30415e;--ice:#1c3151;--danger:#ff8d9b;--card-shadow:0 10px 14px -6px #0009,0 3px 6px #0004;--raised-shadow:0 12px 20px -8px #0009;color-scheme:dark;background:var(--page-surface);color:var(--ink)}
html[data-theme=dark] :is(.header,.content-header,.news-card,.contest-card,.contest-form,.contest-admin-row,#contest-replay,#contest-roster,.draw-reel-card){background:var(--card-surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .reference-home :is(#store-grid>.product,#news-grid>.news-card,#software-home-grid>.software-home-card,#other-products-grid>.software-home-card){background:var(--card-surface);border-color:var(--line);box-shadow:var(--card-shadow)}
html[data-theme=dark] .reference-home :is(.brand-text,.icon-button,.section-head h1,.section-head h2,.top-categories a,.product h3){color:var(--ink)}
html[data-theme=dark] .reference-home #store{background:var(--page-surface)}
html[data-theme=dark] :is(.news-article-page,.news-card h3){color:var(--ink)}
html[data-theme=dark] :is(.news-card p,.news-card time,.draw-note,.draw-reel-card span,.contest-card-result>strong,.contest-roster-list span){color:var(--muted)}
html[data-theme=dark] .reference-home :is(.menu-trigger,.quantity-controls button,.favorite-button){background:var(--ice);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .favorite-button[aria-pressed=true]{color:#ff7586}
html[data-theme=dark] .reference-home :is(.section-head>a,.product>.price,.catalog-back){color:var(--blue)}
html[data-theme=dark] .reference-home :is(#catalog-search input){background:var(--card-surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] :is(.category-software,.category-comparisons,.contest-receipt,.contest-card-result,.draw-result,.draw-reel-stage){background:var(--ice);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .contest-note{background:#3b301b;color:#ffe0a1}
html[data-theme=dark] :is(.button.primary,button.primary,.site-footer){background:#1673ea;color:#fff;border-color:#1673ea}
html[data-theme=dark] #toast{background:var(--ice);color:var(--ink);border:1px solid var(--line)}
html[data-theme=dark] .mobix-mobile-nav{background:linear-gradient(145deg,#162238ed,#0c1424cc);border-color:#52709b80;box-shadow:0 8px 28px #0005,inset 0 1px 0 #adc9ff33}
html[data-theme=dark] .mobix-mobile-nav .mobix-liquid-marker{background:linear-gradient(135deg,#629de940,#629de910);border-color:#8cb9f355;box-shadow:inset 0 1px 0 #adc9ff33}
html[data-theme=dark] .mobix-mobile-nav :is(a,button){color:var(--muted)}
html[data-theme=dark] .mobix-mobile-nav .is-active{color:var(--blue)}
html[data-theme=dark] .mobix-mobile-nav .mobix-whatsapp{color:#69e6a0}

/* Pure-white light canvas on every page; keep the existing dark-mode choice.
   Presentation only: no dimensions, spacing, typography or scrolling changes. */
html:not([data-theme=dark]),
html:not([data-theme=dark]) body{
 --page-surface:#FFFFFF;
 background:#FFFFFF;
}
html:not([data-theme=dark]) body :is(main,.content,.article-page,.admin-page),
html:not([data-theme=dark]) body main section:not(.hero),
html:not([data-theme=dark]) .reference-home .content :is(#store,#news,#contests-home,#other-products){
 background:#FFFFFF;
}
/* Neutral water-glass tiles keep the independent colored 3D vector artwork. */
html:not([data-theme=dark]) .home-refresh .section-head .home-section-icon,
html:not([data-theme=dark]) .home-refresh #categories .top-categories .category-photo{
 background-color:#FFFFFF;
 background-image:radial-gradient(ellipse at 28% 16%,#FFFFFF 0%,#FFFFFF00 62%),linear-gradient(145deg,#FFFFFFE6,#FFFFFF66);
 background-size:auto;
 background-position:center;
 border-color:rgba(120,130,140,.16);
 box-shadow:inset 0 2px 3px #FFFFFF,inset 0 -3px 7px rgba(80,90,100,.08),0 4px 12px rgba(30,40,50,.10);
}

/* Neutral floating sections and cards. Keep border widths for identical geometry.
   Scoped to light mode; accent controls, artwork and focus outlines retain their colors.
   Important paint rules resolve legacy page/id selectors and their hover shadows. */
html:not([data-theme=dark]) body main section:not(.hero){
 background:#FFFFFF!important;
 border-color:transparent!important;
 box-shadow:0 2px 10px rgba(0,0,0,.025)!important;
}
html:not([data-theme=dark]) body :is(
 .product,.phone-card,.video-card,.news-card,.software-home-card,.contest-card,
 .comparison,.order-card,.article-page article,.contest-form,
 .contest-start,.contest-admission,#contest-replay,#contest-roster
){
 background:#FFFFFF!important;
 border-color:transparent!important;
 box-shadow:0 2px 8px rgba(0,0,0,.045)!important;
}

/* More visible neutral depth under display cards, without changing card geometry. */
html:not([data-theme=dark]) body :is(.product,.phone-card,.video-card,.news-card,.software-home-card,.contest-card){
 box-shadow:0 8px 16px -5px rgba(0,0,0,.18),0 2px 5px rgba(0,0,0,.07)!important;
}
/* Paint the row shadow after scroll clipping, without changing layout or spacing. */
html:not([data-theme=dark]) .reference-home:not(.catalog-page) :is(#store-grid,#news-grid,#other-products-grid,#contest-home-grid){
 filter:drop-shadow(0 5px 5px rgba(0,0,0,.10));
}

/* Match section navigation pills to the white cards, including hover paint.
   Keep the existing button geometry, blue label/arrow and keyboard focus ring. */
html:not([data-theme=dark]) body .section-head>a{
 background:#FFFFFF!important;
 border-color:transparent!important;
 box-shadow:0 8px 16px -5px rgba(0,0,0,.18),0 2px 5px rgba(0,0,0,.07)!important;
}

/* Dark surfaces only. Transparent borders retain the existing card geometry.
   Keep keyboard outlines and photograph pixels intact. */
html[data-theme=dark] :is(.content,.content>section,.home-news,.benefits,footer){
 background:var(--page-surface);border-color:transparent;box-shadow:none;
}
html[data-theme=dark] .reference-home :is(#store,#news,#categories,#videos,#contests-home,#software-home,#other-products){
 background:var(--page-surface);border-color:transparent;box-shadow:none;
}
html[data-theme=dark] :is(.product,.phone-card,.video-card,.news-card,.software-home-card,.contest-card,.order-card,.article-page article,.contest-form,.contest-admin-row,#contest-replay,#contest-roster,.draw-reel-card){
 background:var(--card-surface);color:var(--ink);border-color:transparent;box-shadow:var(--card-shadow);
}
html[data-theme=dark] .reference-home :is(#store-grid>.product,#news-grid>.news-card,#videos-grid>.video-card,#phones-grid>.phone-card,#software-home-grid>.software-home-card,#other-products-grid>.software-home-card,.contest-home-grid>.contest-card){
 background:var(--card-surface);color:var(--ink);border-color:transparent;box-shadow:var(--card-shadow);
}
html[data-theme=dark] :is(.header,.content-header,.section-head,.benefits>div,.hero,.category-photo,.contest-receipt,.contest-card-result,.draw-result,.draw-reel-stage,.draw-history-row,.contest-roster-list li){
 border-color:transparent;
}
html[data-theme=dark] .reference-home :is(.section-head,.category-photo){border-color:transparent}
html[data-theme=dark] :is(.news-card img,.news-card .news-card-gallery,#news-image,.thumbnail,.contest-media,.contest-detail-gallery img){
 background-color:var(--card-surface);
}
html[data-theme=dark] .reference-home :is(.product .store-gallery,.product .store-gallery img,.product .phone-placeholder,#news-grid .thumbnail,#videos-grid .thumbnail){
 background-color:var(--card-surface);
}
html[data-theme=dark] :is(.news-card h3,.software-home-card h3,.contest-info h3,.phone-card h3,.video-card h3){color:var(--ink)}
html[data-theme=dark] .reference-home :is(.brand-text small,.product .product-specs,.product .phone-placeholder,.software-home-card .product-specs,.product-old-price),
html[data-theme=dark] :is(#news-date,.news-card p,.news-card time){color:var(--muted)}
html[data-theme=dark] :is(.category-icon,.category-software,.category-comparisons,button.theme-toggle,.section-count),
html[data-theme=dark] .reference-home :is(.category-software,.category-comparisons,.menu-trigger,.favorite-button,.section-head>a){
 background:linear-gradient(145deg,#284467,#1a2b46);color:var(--blue);border-color:transparent;
 box-shadow:inset 0 1px 2px #ffffff0d,0 4px 8px -4px #0008;
}
html[data-theme=dark] .reference-home .favorite-button[aria-pressed=true]{color:#ff7586}
html[data-theme=dark] :is(.button.primary,button.primary){background:linear-gradient(155deg,#2584fb,#1265d5);color:#fff;border-color:transparent;box-shadow:0 5px 10px -5px #0008}
html[data-theme=dark] .site-footer{background:var(--page-surface);border-color:transparent}
html[data-theme=dark] :is(.mobix-mobile-nav,.mobix-mobile-nav .mobix-liquid-marker,.bottom-nav){border-color:transparent}

/* Production homepage skin: dark paint wins over the light glass artwork layers.
   Keep all measurements, focus rings and colored object illustrations. */
html[data-theme=dark] .home-refresh{--home-muted:var(--muted)}
html[data-theme=dark] .home-refresh .content>section:not(.hero){
 background:var(--page-surface)!important;border-color:transparent!important;box-shadow:none!important;
}
html[data-theme=dark] .home-refresh .section-head .home-section-icon,
html[data-theme=dark] .home-refresh #categories .top-categories .category-photo,
html[data-theme=dark] .home-refresh .section-head>a,
html[data-theme=dark] .home-refresh .section-head .section-count:not([hidden]){
 background:linear-gradient(145deg,#284467,#1a2b46);border-color:transparent;color:var(--blue);
 box-shadow:inset 0 1px 2px #ffffff0d,0 4px 8px -4px #0008;
}
html[data-theme=dark] .home-refresh :is(#store-grid,#news-grid,#other-products-grid,#contest-home-grid){
 filter:drop-shadow(0 5px 5px #0006);
}
html[data-theme=dark] :is(.comparison,.contest-start,.contest-admission){background:var(--card-surface);color:var(--ink);border-color:transparent;box-shadow:var(--card-shadow)}

/* Clear, bold pricing across product cards and details. */
html:not([data-theme=dark]) body :is(.price,#product-page-price){color:#111;font-weight:800}
html[data-theme=dark] body :is(.price,#product-page-price){color:#edf3ff;font-weight:800}
html body .price .product-new-price{color:inherit;font-weight:800}

/* Keep product photos white and the information panel softly gray. */
html:not([data-theme=dark]) :is(.reference-home,.product-detail-page) :is(#store-grid,#home-apple-grid,#other-products-grid,#product-recommendations-grid)>.product.retail-product-card{background:#f7f7f7!important;border-color:#e5e5e5!important;box-shadow:none!important}
html:not([data-theme=dark]) .reference-home:not(.catalog-page) :is(#store-grid,#other-products-grid){filter:none}
html body.home-refresh #store .section-head>.store-show-all{display:inline-flex;align-items:center;flex:none;min-height:32px;padding:0;background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;color:#2e7daf;font-size:13px;font-weight:700;white-space:nowrap}
html[data-theme=dark] body.home-refresh #store .section-head>.store-show-all{color:var(--blue)}

/* Extend the gray news information panel through the card's existing padding. */
html:not([data-theme=dark]) .reference-home:not(.catalog-page) #news-grid>.news-card>div:last-child{background:#f7f7f7;box-shadow:0 8px 0 8px #f7f7f7}

.whatsapp-purchase{display:inline-flex;flex-direction:column;align-items:center;gap:8px;font-size:15px;font-weight:700}.whatsapp-button{color:#fff!important;background:#128c4a!important;display:inline-flex;align-items:center;justify-content:center;width:52px!important;height:52px!important;min-width:52px;padding:12px!important;border-radius:14px}.whatsapp-button svg{width:28px;height:28px}.auth-social-buttons{display:flex;align-items:flex-end;justify-content:center;gap:20px;flex-wrap:wrap}#order-login .auth-provider-google{width:52px;height:52px;min-width:52px;padding:12px;border-radius:14px}.whatsapp-settings-input{direction:ltr;text-align:left}
#order-login .order-whatsapp-link{width:52px;height:52px;min-width:52px;padding:12px;border-radius:14px}

/* Product actions share a responsive row; the login provider layout stays separate. */
.product-purchase-actions{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin-top:24px}
.product-purchase-actions>#product-page-add,.product-purchase-actions>.whatsapp-purchase{flex:1 1 180px;min-width:0;margin:0}
.product-purchase-actions>#product-page-add{display:flex;align-items:center;justify-content:center;min-height:52px;padding:14px 16px;line-height:1.4}
.product-purchase-actions>.whatsapp-purchase{display:flex;align-items:stretch}
.product-purchase-actions .product-whatsapp-button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;width:100%!important;height:auto!important;min-width:0;min-height:52px;padding:14px 16px!important;border-radius:14px;text-decoration:none;font-size:16px;font-weight:700;line-height:1.4;box-sizing:border-box}
.product-purchase-actions .product-whatsapp-button svg{width:26px;height:26px;flex:none}
.product-purchase-actions .product-whatsapp-button span{white-space:normal;text-align:center}
@media(max-width:480px){.product-purchase-actions>#product-page-add,.product-purchase-actions>.whatsapp-purchase{flex-basis:100%}}

/* Lightweight glass, scoped to the mobile visitor navigation. */
.mobix-mobile-nav{display:none}
@media(max-width:767px){
 body.has-mobix-mobile-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
 .mobix-mobile-nav{box-sizing:border-box;--active-x:0px;--active-width:20%;position:fixed;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));direction:rtl;align-items:stretch;left:max(10px,env(safe-area-inset-left,0px));right:max(10px,env(safe-area-inset-right,0px));bottom:calc(10px + env(safe-area-inset-bottom,0px));max-width:560px;margin:auto;padding:3px;height:52px;border:1px solid rgba(255,255,255,.75);border-radius:20px;background:linear-gradient(145deg,rgba(255,255,255,.68),rgba(238,246,255,.38));-webkit-backdrop-filter:blur(12px) saturate(145%);backdrop-filter:blur(12px) saturate(145%);box-shadow:0 8px 28px rgba(8,22,64,.13),inset 0 1px 0 rgba(255,255,255,.9);transition:transform .3s ease,opacity .3s ease;isolation:isolate}
 .mobix-mobile-nav.is-hidden,.mobix-mobile-nav.is-editing{transform:translate3d(0,calc(100% + 24px + env(safe-area-inset-bottom,0px)),0);opacity:0;pointer-events:none}
 .mobix-mobile-nav .mobix-liquid-marker{position:absolute;box-sizing:border-box;z-index:0;top:3px;left:0;width:var(--active-width);height:44px;border-radius:16px;transform:translate3d(var(--active-x),0,0);background:linear-gradient(135deg,rgba(255,255,255,.65),rgba(255,255,255,.08) 48%,rgba(200,228,255,.25));border:1px solid rgba(255,255,255,.78);box-shadow:inset 1px 1px 2px rgba(255,255,255,.95),inset -1px -1px 4px rgba(87,157,217,.18),0 3px 7px rgba(8,22,64,.07);transition:transform .42s cubic-bezier(.22,1,.36,1),width .35s ease;pointer-events:none}
 .mobix-mobile-nav .mobix-liquid-marker::after{content:'';position:absolute;inset:2px;border-radius:inherit;border-top:1px solid rgba(255,255,255,.8);border-left:1px solid rgba(255,255,255,.5)}
 .mobix-mobile-nav a,.mobix-mobile-nav button{box-sizing:border-box;position:relative;z-index:1;min-width:0;min-height:44px;padding:3px 0;margin:0;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;border:0;border-radius:16px;background:transparent;color:#42536A;font-size:clamp(9px,2.5vw,10px);font-weight:500;line-height:1.3;text-decoration:none;box-shadow:none;-webkit-tap-highlight-color:transparent}
 .mobix-mobile-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
 .mobix-mobile-nav .is-active{color:#0878F9;font-weight:700}
 .mobix-mobile-nav .mobix-whatsapp{color:#147A3B}
 .mobix-mobile-nav .wa-mark{fill:currentColor;stroke:none}
 .mobix-mobile-nav .mobix-nav-icon{position:relative;display:block;height:20px}
 .mobix-mobile-nav .cart-count{position:absolute;top:-6px;right:-8px;left:auto;min-width:14px;height:14px;padding:0 4px;line-height:14px;font:700 9px/14px Arial;border-radius:12px;background:#0878F9;color:#fff}
 .mobix-mobile-nav .is-active::after{display:none}
 .mobix-more-dialog{max-height:80dvh;overflow:auto}
}
@media(prefers-reduced-motion:reduce){.mobix-mobile-nav,.mobix-mobile-nav .mobix-liquid-marker{transition:none}}
@media(prefers-reduced-transparency:reduce){.mobix-mobile-nav{background:#F4F8FD;-webkit-backdrop-filter:none;backdrop-filter:none}}

.content-view-counter{display:flex;align-items:center;gap:4px;min-height:16px;max-width:100%;margin-top:5px;color:var(--muted,#657698);font-size:12px;font-weight:400;line-height:1.3;white-space:nowrap;direction:ltr;font-variant-numeric:tabular-nums}
.content-view-eye{display:inline-flex;flex:0 0 16px;width:16px;height:16px;line-height:1}.content-view-eye svg{display:block;width:100%;height:100%}
.product>.price>.content-view-counter{flex:0 0 100%;font-size:clamp(10px,2.2vw,12px);margin-top:2px}
.news-card .content-view-counter{margin-top:8px}

.contest-card .content-view-counter{margin-top:8px}

/* Fail closed: no counter flash for visitors or ordinary customer accounts. */
html:not(.mobix-view-admin) .content-view-counter{display:none!important}

#announcement-ticker.announcement-ticker{box-sizing:border-box;display:flex;align-items:center;gap:12px;position:relative;width:100%;height:36px;min-height:36px;margin:0;padding:0 12px;border:0;border-radius:0;background:linear-gradient(100deg,#092450,#12396c);color:#fff;box-shadow:none;overflow:hidden;text-align:start;font:700 13px/36px Tajawal,Arial,sans-serif;cursor:pointer;direction:rtl;touch-action:manipulation}
#announcement-ticker .ticker-badge{flex-shrink:0;max-width:128px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 9px;border-radius:6px;background:#ff9e39;color:#241305;font:700 12px/24px Tajawal,Arial,sans-serif}
#announcement-ticker .ticker-window{flex:1;min-width:0;height:36px;overflow:hidden;direction:ltr}
#announcement-ticker .ticker-track{display:flex;width:max-content;height:36px;animation:mobix-ticker-scroll 40s linear infinite}
#announcement-ticker .ticker-group{display:flex;align-items:center;justify-content:space-around;gap:26px;flex-shrink:0;min-width:100vw;height:36px;padding-inline:13px;direction:rtl;white-space:nowrap}
#announcement-ticker .ticker-message{white-space:nowrap}
#announcement-ticker .ticker-star{color:#ffb45d;font-size:11px}
#announcement-ticker.is-paused .ticker-track{animation-play-state:paused}
@media(hover:hover) and (pointer:fine){#announcement-ticker .ticker-window:hover .ticker-track{animation-play-state:paused}}
#announcement-ticker:focus-visible{outline:3px solid #ffb45d;outline-offset:-3px}
@keyframes mobix-ticker-scroll{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){#announcement-ticker .ticker-track{animation:none}#announcement-ticker .ticker-window{overflow-x:auto;scrollbar-width:thin}#announcement-ticker .ticker-group[aria-hidden=true]{display:none}#announcement-ticker{cursor:default}}
