/* Warm storefront refresh */
:root{--ink:#30251f;--muted:#806f62;--line:#eadfd5;--paper:#D4D4D4;--bg:#fff;--red:#bd5035;--red2:#d97652;--gold:#eab15d;--shadow:0 14px 36px rgba(78,44,26,.09)}
body{background:var(--bg);color:var(--ink)}
.topline{background:#302722;color:#efe3d7}
.header{background:#D4D4D4;color:#392a22;box-shadow:0 8px 26px rgba(78,48,31,.09)}
.header-inner{gap:22px;min-height:86px;height:auto}
.header .brandmark,.header .icon-btn{color:#463125}
.header .cart-btn{background:#D4D4D4;border-color:#e9d8c9;color:#573a2d;border-radius:13px}
.searchbox{background:#fff;border-color:#e8d9cd;border-radius:13px;box-shadow:0 3px 12px rgba(75,43,24,.04)}
.searchbox:focus-within{border-color:#c77b5d;box-shadow:0 0 0 3px rgba(191,77,51,.1)}
.searchbox button{background:var(--red);color:#fff;border-radius:9px}
.nav{border-color:#ebddd0}.nav-inner a:hover,.nav-inner a.active{color:var(--red)}
.theme-picker{display:flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #e8d5c5;border-radius:12px;background:#fff;color:#634839;white-space:nowrap;cursor:pointer}
.theme-picker-icon{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:linear-gradient(135deg,#f1bd71 50%,#884934 50%);color:#fff;font-size:17px}
.theme-picker-label{font-size:11px;font-weight:700}
.theme-picker select{max-width:110px;border:0;outline:0;background:transparent;color:inherit;font:inherit;font-size:11px;cursor:pointer}
.theme-picker select option{color:#2d2520;background:#fff}
#app{padding-bottom:32px}
#app>.hero{padding:30px 0 21px}
#app .hero-main{min-height:365px;border-radius:26px;background:radial-gradient(circle at 76% 27%,rgba(255,205,170,.32),transparent 38%),linear-gradient(115deg,#202c46 0%,#4d3655 56%,#985f69 100%);box-shadow:0 22px 42px rgba(49,39,69,.22)}
#app .hero-main:before{content:'';position:absolute;width:390px;height:390px;left:-95px;bottom:-225px;border-radius:50%;border:1px solid rgba(255,255,255,.16);box-shadow:0 0 0 55px rgba(255,255,255,.035),0 0 0 110px rgba(255,255,255,.025);pointer-events:none}
#app .hero .eyebrow{color:#ffcf9f}#app .hero h1{color:#fff8ee;font-size:clamp(27px,3vw,40px)}
#app .hero p{color:#f4dfd3;font-size:14px;line-height:2}
#app .hero .primary-btn{background:#f1b564;color:#35251f;border-color:#f1b564;box-shadow:0 9px 25px rgba(43,26,20,.16)}
#app>.feature-strip{margin:0 0 20px;border:1px solid #ebddd0;background:#D4D4D4;border-radius:18px;box-shadow:var(--shadow);padding:18px 8px}
#app .feature-icon{background:#fff0e4;color:#b85b37;border-radius:13px}
#app>.section{position:relative;margin:22px 0;padding:27px 28px 29px;border:1px solid #ebded2;border-radius:22px;background:#D4D4D4;box-shadow:0 12px 35px rgba(78,45,27,.055)}
#app>.section:nth-of-type(even){background:#D4D4D4}
#app .section-head{gap:16px;margin-bottom:22px;padding-bottom:17px;border-bottom:1px solid #f0e5db}
#app .section-head h2{color:#30241f;font-size:21px;line-height:1.5}
#app .section-head h2:before{content:'';display:inline-block;width:6px;height:22px;margin-left:10px;vertical-align:-5px;border-radius:10px;background:linear-gradient(#e9ae63,#bd5034)}
#app .section-head p{color:#846f62;line-height:1.8}#app .text-link{color:#aa4931;white-space:nowrap}
#app .category-grid{gap:14px}
#app .category-tile{min-height:122px;padding:17px 10px;border:1px solid #eee0d4;border-radius:17px;background:#fff;box-shadow:0 5px 16px rgba(76,45,28,.04)}
#app .category-tile:hover{transform:translateY(-5px);border-color:#d9a683;box-shadow:0 13px 28px rgba(88,48,28,.13)}
#app .category-icon{background:#D4D4D4;color:#9f5539;border-radius:17px}#app .category-tile strong{color:#3d302a;font-size:12px}
#app .product-slider-wrap{gap:14px}#app .product-slider{gap:17px;padding:7px 4px 22px}
#app .product-slider>.product-card{flex:0 0 calc((100% - 68px)/5);scroll-snap-align:start}
#app .product-card{padding:12px;border:1px solid #ecded2;border-radius:17px;background:#fff;box-shadow:0 5px 17px rgba(73,43,30,.06);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
#app .product-card:hover{transform:translateY(-5px);border-color:#dcb594;box-shadow:0 15px 30px rgba(91,48,30,.14)}
#app .product-photo{height:196px;border-radius:13px;background:radial-gradient(circle at 50% 35%,#fff,#D4D4D4 72%)}
#app .product-photo img{box-sizing:border-box;display:block;width:100%;height:100%;padding:10px 12px;object-fit:contain;object-position:center;animation:product-image-float 4s ease-in-out infinite}
#app .product-card:nth-child(2n) .product-photo img{animation-delay:-2s}
@keyframes product-image-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)}}
@media(prefers-reduced-motion:reduce){#app .product-photo img{animation:none}}
#app .product-brand{color:#997b69}#app .product-title{color:#302721;line-height:1.8}#app .price{color:#8f3828}
#app .add-small{background:#fae9df;color:#a5442c}#app .add-small:hover{background:#a5442c;color:#fff}
#app .slider-arrow{background:#D4D4D4;color:#9f4c34;border-color:#e9d7c7;box-shadow:0 5px 15px rgba(91,46,25,.1)}
#app .slider-arrow:hover{background:#bd5236;color:#fff}
body[data-theme=terracotta]{--ink:#35231e;--muted:#775d52;--line:#eac9b9;--paper:#D4D4D4;--bg:#D4D4D4;--red:#a93930;--red2:#c95745;--shadow:0 14px 38px rgba(91,40,30,.12)}
body[data-theme=terracotta] .header{background:#D4D4D4}body[data-theme=terracotta] #app>.section:nth-of-type(even){background:#D4D4D4}
body[data-theme=terracotta] #app .hero-main{background:radial-gradient(circle at 77% 20%,rgba(255,195,123,.31),transparent 34%),linear-gradient(115deg,#482a29,#8f483a 63%,#c57449)}
body[data-theme=dark]{--ink:#f6ede5;--muted:#bcaaa0;--line:#58453b;--paper:#332a26;--bg:#231d1b;--red:#f09a71;--red2:#efaf82;--shadow:0 14px 38px rgba(0,0,0,.22);color:var(--ink)}
body[data-theme=dark] .topline{background:#181413}body[data-theme=dark] .header{background:#302621;color:#f6ede5}
body[data-theme=dark] .header .brandmark,body[data-theme=dark] .header .icon-btn{color:#f6ede5}
body[data-theme=dark] .nav{border-color:#59443a}
body[data-theme=dark] .theme-picker,body[data-theme=dark] .searchbox,body[data-theme=dark] .header .cart-btn{background:#45362e;color:#f9e8dc;border-color:#665044}
body[data-theme=dark] .searchbox input{color:#f9e8dc}
body[data-theme=dark] #app>.section,body[data-theme=dark] #app>.section:nth-of-type(even),body[data-theme=dark] #app>.feature-strip{background:#332a26;border-color:#554236}
body[data-theme=dark] #app .section-head{border-color:#574237}
body[data-theme=dark] #app .section-head h2,body[data-theme=dark] #app .category-tile strong,body[data-theme=dark] #app .product-title{color:#f6ede5}
body[data-theme=dark] #app .category-tile,body[data-theme=dark] #app .product-card{background:#40332c;border-color:#634d40}
body[data-theme=dark] #app .product-photo{background:radial-gradient(circle at 50% 30%,#514139,#382d27 80%)}
body[data-theme=dark] #app .price{color:#ffc08d}
@media(max-width:1100px){.header-inner{gap:13px}.theme-picker-label{display:none}#app .product-slider>.product-card{flex-basis:calc((100% - 34px)/3)}#app .category-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
.wrap{width:min(100% - 28px,1200px)}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;gap:10px;padding:10px 0}
.header-inner .mobile-menu{grid-column:1;grid-row:1}.header-inner .brandmark{grid-column:2;grid-row:1;min-width:0}
.header-inner .header-actions{grid-column:3;grid-row:1;gap:7px;margin:0}
.header-inner .searchbox{grid-column:1/-1;grid-row:2;max-width:none;width:100%}
.theme-picker{padding:3px 6px}.theme-picker-icon{display:none}.theme-picker select{max-width:72px;font-size:10px}
.header-actions .icon-btn small{display:none}
#app>.hero{padding:18px 0 14px}#app .hero-main{min-height:0;border-radius:20px;padding:27px 24px}
#app .hero h1{font-size:clamp(24px,6vw,32px)}
#app>.feature-strip{grid-template-columns:repeat(2,1fr);gap:14px 0;padding:16px 8px}
#app .feature:nth-child(2){border-left:0}
#app>.section{margin:15px 0;padding:20px 16px 18px;border-radius:18px}
#app .section-head h2{font-size:17px}#app .category-grid{grid-template-columns:repeat(3,1fr);gap:9px}
#app .product-slider-wrap{gap:5px}#app .product-slider{gap:11px}
#app .product-slider>.product-card{flex-basis:calc((100% - 11px)/2)}
#app .product-photo{height:165px}#app .slider-arrow{width:30px;height:30px;flex-basis:30px}
}
@media(max-width:480px){
.header-inner .brandmark small{display:none}.header-inner .brand-logo{max-width:40px}.theme-picker select{max-width:66px}
#app .hero-main{padding:24px 18px}#app .hero p{font-size:12px}#app .hero-phone{width:120px;height:170px}
#app .category-grid{grid-template-columns:repeat(2,1fr)}#app .category-tile{min-height:105px}
#app .product-slider>.product-card{flex-basis:78%}#app .product-photo{height:190px}#app .slider-arrow{display:none}
}
@media(max-width:760px){.header-actions .cart-btn span{display:none}.header-actions .cart-btn{gap:4px;padding:7px}.header-actions .icon-btn{padding:5px}}
@media(max-width:390px){.header-inner{gap:6px}.header-inner .brandmark span{font-size:13px}.theme-picker select{max-width:62px}}

@media(max-width:760px){.header-actions .icon-btn #accountLabel{display:block;max-width:78px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}}

/* S25 hero image: larger with a gentle tilt. */
#app .hero-phone img {
  transform: scale(1.24) rotate(-7deg);
  transform-origin: 50% 55%;
  animation: hero-phone-large-tilt 4.8s ease-in-out infinite;
}
@keyframes hero-phone-large-tilt {
  0%, 100% { transform: translateY(0) scale(1.24) rotate(-7deg); }
  50% { transform: translateY(-10px) scale(1.24) rotate(-5deg); }
}

/* Center the four homepage category cards. */
#app .category-grid:has(> .category-tile:nth-child(4):last-child) {
  width: min(100%, 960px);
  margin-inline: auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 760px) {
  #app .category-grid:has(> .category-tile:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Navy storefront palette */
:root{--ink:#1c2d49;--line:#d9e3f0;--red:#244475;--red2:#3d639b;--shadow:0 14px 36px rgba(12,35,69,.12)}
.topline,.footer{background:linear-gradient(125deg,#09182f,#122d52 55%,#213f6a);color:#edf4ff}
#app .hero-main{background:radial-gradient(circle at 76% 27%,rgba(128,169,229,.22),transparent 39%),linear-gradient(118deg,#0a1931,#17345c 59%,#2b4c7c);box-shadow:0 22px 42px rgba(12,31,60,.22)}
#app .hero .primary-btn,.primary-btn,.searchbox button,#app .add-small,#app .slider-arrow,.header .cart-btn,.header .icon-btn,.theme-picker{background:linear-gradient(130deg,#12294a,#254a7d 60%,#39649b);color:#fff;border-color:#254a7d;box-shadow:0 7px 18px rgba(15,42,79,.19)}
#app .hero .primary-btn:hover,.primary-btn:hover,.searchbox button:hover,#app .add-small:hover,#app .slider-arrow:hover{background:linear-gradient(130deg,#1a3761,#315a8c 60%,#4875a8)}
#app>.feature-strip,#app .promo-band{background:linear-gradient(115deg,#102747,#19375e 58%,#294d79);border-color:#2e4c73;color:#f3f7ff}
#app>.feature-strip strong,#app>.feature-strip span,#app .promo-band strong,#app .promo-band span{color:#f3f7ff}
#app .feature-icon,#app .category-icon{background:linear-gradient(145deg,#18365d,#36659b);color:#fff}
#app .category-tile,#app .product-card{background:linear-gradient(150deg,#122b4e,#1e3e68 66%,#294e7b);border-color:#36567e;color:#f5f8ff;box-shadow:0 9px 23px rgba(12,35,69,.16)}
#app .category-tile:hover,#app .product-card:hover{border-color:#7199c6;box-shadow:0 16px 32px rgba(13,38,77,.25)}
#app .category-tile strong,#app .product-title,#app .product-brand,#app .price{color:#f5f8ff}
#app .product-photo{background:radial-gradient(circle at 50% 29%,#fff,#dfeaf8 85%)}
body[data-theme=dark]{--ink:#f2f6ff;--muted:#b1c4df;--line:#375476;--paper:#142b49;--bg:#09192f;--red:#91b9ed;--red2:#bed6f6;--shadow:0 14px 38px rgba(0,10,29,.28);background:linear-gradient(160deg,#08172c,#10294a 52%,#091a32);color:var(--ink)}
body[data-theme=dark] .topline,body[data-theme=dark] .header,body[data-theme=dark] .footer{background:linear-gradient(125deg,#08182f,#153259 65%,#224572);color:#f1f6ff}
body[data-theme=dark] .nav{border-color:#345475}
body[data-theme=dark] .theme-picker,body[data-theme=dark] .searchbox,body[data-theme=dark] .header .cart-btn{background:linear-gradient(135deg,#17365d,#2c5485);color:#f6faff;border-color:#436894}
body[data-theme=dark] #app>.section,body[data-theme=dark] #app>.section:nth-of-type(even),body[data-theme=dark] #app>.feature-strip{background:linear-gradient(140deg,#102849,#19385f 70%,#20446e);border-color:#35567c}
body[data-theme=dark] #app .section-head{border-color:#406084}
body[data-theme=dark] #app .category-tile,body[data-theme=dark] #app .product-card{background:linear-gradient(150deg,#152f52,#21436d 70%,#2c537f);border-color:#42658d}
body[data-theme=dark] #app .product-photo{background:radial-gradient(circle at 50% 30%,#eaf3ff,#a9c2df 85%)}
body[data-theme=dark] #app .price{color:#d9e9ff}
/* Header theme control: icons only */
.theme-picker{width:40px;height:40px;min-width:40px;padding:0;display:inline-grid;place-items:center;cursor:pointer;line-height:1}
.theme-picker .theme-icon-sun,.theme-picker .theme-icon-moon{font-family:Arial,sans-serif;font-size:25px;font-weight:400}
.theme-picker .theme-icon-moon{display:none}
body[data-theme=dark] .theme-picker .theme-icon-sun{display:none}
body[data-theme=dark] .theme-picker .theme-icon-moon{display:inline}
.theme-picker:focus-visible{outline:3px solid #7ba6dc;outline-offset:3px}
/* Readable text on navy surfaces */
.topline,.topline a,.footer,.footer a,.footer p,.footer small,.footer .footer-bottom,.footer .brandmark small{color:#fff!important}
#app .hero-main,#app .hero-main .eyebrow,#app .hero-main h1,#app .hero-main p{color:#fff!important}
#app>.feature-strip,#app>.feature-strip .feature b,#app>.feature-strip .feature small,#app>.feature-strip strong,#app>.feature-strip span,#app .promo-band,#app .promo-band strong,#app .promo-band span{color:#fff!important}
#app .category-tile,#app .category-tile strong,#app .product-card,#app .product-card .product-brand,#app .product-card .product-title,#app .product-card .price,#app .product-card .old-price{color:#fff!important}
#app .primary-btn,.searchbox button,#app .add-small,#app .slider-arrow,.header .cart-btn,.header .icon-btn,.header .icon-btn small,.theme-picker{color:#fff!important}
body[data-theme=dark] #app>.section,body[data-theme=dark] #app>.section .section-head,body[data-theme=dark] #app>.section .section-head h2,body[data-theme=dark] #app>.section .section-head p,body[data-theme=dark] #app>.section .section-head .text-link,body[data-theme=dark] .header,body[data-theme=dark] .header .brandmark,body[data-theme=dark] .header .brandmark small,body[data-theme=dark] .header .nav-inner a{color:#fff!important}
/* Wider homepage product carousels */
@media (min-width:1101px){
  #app .product-slider>.product-card{flex-basis:calc((100% - 51px)/4)}
}

/* Center product card content */
#app .product-card{text-align:center}
#app .product-card .product-title{display:block;text-align:center}
#app .product-card .price-row{justify-content:center;gap:8px;text-align:center}

#app .product-card .add-small{display:block;width:100%;max-width:140px;height:38px;margin:10px auto 0;padding:0 12px;font-size:14px;font-weight:700;line-height:38px;text-align:center;cursor:pointer}

/* Transparent account and search controls in the header */
.header .searchbox,body[data-theme=dark] .header .searchbox{background:transparent;box-shadow:none}
.header .searchbox button,.header .searchbox button:hover,.header .header-actions .icon-btn{background:transparent;border-color:transparent;box-shadow:none}
.header .searchbox button,.header .header-actions .icon-btn,.header .header-actions .icon-btn small{color:#1c2d49!important}
body[data-theme=dark] .header .searchbox button,body[data-theme=dark] .header .header-actions .icon-btn,body[data-theme=dark] .header .header-actions .icon-btn small{color:#fff!important}

/* Tighter spacing inside the homepage phone hero */
#app .hero-main{min-height:0;padding:20px 4%;}
@media(max-width:760px){#app .hero-main{padding:18px 16px;}}
@media(max-width:480px){#app .hero-main{padding:16px 14px;}}


/* Lighter icon surfaces on the homepage */
#app .feature-icon {
  background:linear-gradient(145deg,#dceafb,#f5f9ff);
  color:#24466f;
  border:1px solid #bed4ed;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9);
}
#app .category-icon {
  background:linear-gradient(145deg,#e0edfb,#f8fbff);
  color:#24466f;
  border:1px solid #bfd5ed;
  box-shadow:0 5px 14px rgba(19,48,85,.1),inset 0 1px 0 rgba(255,255,255,.9);
}
#app .category-icon svg{display:block;width:39px;height:39px}

/* Slightly lighter product purchase buttons */
#app .product-card .add-small{background:linear-gradient(130deg,#294b78,#3d6799 60%,#557fb0);border-color:#3d6799;color:#fff}
#app .product-card .add-small:hover{background:linear-gradient(130deg,#365b8b,#5079a8 60%,#648fc0)}

/* Readable product card typography */
#app .product-card .product-title{font-size:14px;font-weight:500;line-height:1.75}
#app .product-card .price{font-weight:600}
#app .product-card .add-small{font-weight:600}

/* Footer type scale and compact spacing */
.footer .footer-top{gap:28px;padding:34px 0 26px}
.footer .footer-brand p{font-size:14px;line-height:1.85;margin:12px 0 0}
.footer h4{font-size:15px;margin-bottom:10px}
.footer .footer-top>div:not(:first-child) a{font-size:14px;margin:6px 0;line-height:1.7}
.footer .trust{gap:4px}
.footer .trust .enamad-seal{margin:0}
.footer .trust strong{font-size:14px}
.footer .trust small{font-size:12px;line-height:1.6}
.footer .footer-bottom{font-size:12px;padding:12px 0}
@media(max-width:640px){.footer .footer-top{gap:18px;padding:26px 0 22px}}

.header .account-avatar{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.hero-phone::after{display:none}

/* Keep the complete product image inside its card during motion and hover. */
#app .product-card .product-photo img{width:calc(100% - 16px);height:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100% - 16px);padding:0;object-fit:contain;object-position:center}
/* Lighter navy for the homepage catalog button. */
#app .hero .primary-btn{background:linear-gradient(130deg,#355f92,#4c79ab 60%,#6995c1);border-color:#4c79ab}
#app .hero .primary-btn:hover{background:linear-gradient(130deg,#416da0,#5b88b9 60%,#76a1cb)}
/* Increase only the feature glyph contrast; preserve its existing surface. */
#app>.feature-strip .feature .feature-icon{color:#12345e!important}

/* Main category links in the footer */
.footer .footer-top{grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr)) minmax(0,1.1fr);gap:22px}
.footer .footer-top>div{min-width:0}
.footer .footer-categories a:hover,.footer .footer-categories a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
@media(max-width:1000px){.footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.footer .footer-brand{grid-column:1/-1}}

/* Contact and About pages */
#app .info-page{padding:14px 0 50px;min-width:0}
#app .info-page .breadcrumbs{margin:8px 0 18px}
#app .info-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr);align-items:center;min-height:300px;padding:45px clamp(24px,5vw,64px);overflow:hidden;border:1px solid #294c79;border-radius:28px;background:linear-gradient(125deg,#102744 5%,#1b3c65 62%,#305a86);box-shadow:0 20px 45px rgba(18,42,75,.18);color:#fff}
#app .info-hero:before{content:"";position:absolute;inset:auto -65px -180px auto;width:410px;height:410px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.025),0 0 0 110px rgba(255,255,255,.018)}
#app .info-hero-copy{position:relative;z-index:1;max-width:670px}
#app .info-kicker{display:inline-flex;align-items:center;gap:8px;padding:6px 13px;border:1px solid rgba(255,255,255,.2);border-radius:100px;background:rgba(255,255,255,.09);font-size:12px;font-weight:700;color:#ffdfae}
#app .info-hero h1{margin:17px 0 13px;color:#fff;font-size:clamp(28px,3.4vw,42px);line-height:1.5;font-weight:900}
#app .info-hero h1 em{color:#ffc77e;font-style:normal}
#app .about-hero h1,#app .about-hero h1 em{color:#fff}
#app .info-hero p{max-width:580px;margin:0;color:#e0e9f3;font-size:15px;line-height:2.1}
#app .info-hero-actions,#app .info-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
#app .info-hero-actions{margin-top:25px}
#app .info-hero-actions a{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:9px 19px;border-radius:12px;background:#f5b769;color:#182c46;font-weight:800;transition:transform .2s,background .2s}
#app .info-hero-actions a:hover{background:#ffd095;transform:translateY(-2px)}
#app .info-hero-actions .info-hero-secondary{border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff}
#app .info-hero-actions .info-hero-secondary:hover{background:rgba(255,255,255,.12)}
#app .info-hero-art{position:relative;display:grid;place-items:center;min-height:235px}
#app .info-art-center{position:relative;z-index:2;display:grid;place-items:center;width:130px;height:130px;border:1px solid rgba(255,255,255,.55);border-radius:34px;background:linear-gradient(145deg,#D4D4D4,#f6d8b0);box-shadow:0 20px 45px rgba(4,17,34,.25);color:#234971;font-size:60px;transform:rotate(-10deg)}
#app .info-orbit{position:absolute;border:1px solid rgba(255,255,255,.22);border-radius:50%}
#app .info-orbit-one{width:210px;height:210px}
#app .info-orbit-two{width:285px;height:285px}
#app .info-art-dot{position:absolute;z-index:3;width:22px;height:22px;border-radius:50%;background:#ffc77e;box-shadow:0 0 0 8px rgba(255,199,126,.12)}
#app .info-art-dot-one{top:28px;right:19%}
#app .info-art-dot-two{bottom:23px;left:22%;width:13px;height:13px;background:#fff}
#app .info-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.8fr);align-items:start;gap:20px;margin-top:25px}
#app .info-sidebar{display:grid;gap:20px;min-width:0}
#app .info-card{min-width:0;padding:28px;border:1px solid #e8e1dc;border-radius:22px;background:#D4D4D4;box-shadow:0 11px 32px rgba(31,44,62,.055)}
#app .info-card-head{display:flex;align-items:center;gap:15px}
#app .info-icon{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:15px;background:#e8f0fa;color:#22548a;font-size:25px;font-weight:700}
#app .info-eyebrow{display:block;margin-bottom:5px;color:#a4572d;font-size:12px;font-weight:800}
#app .info-card h2,#app .about-intro h2,#app .about-cta h2{margin:0;color:#192f4c;font-size:clamp(20px,2vw,26px);line-height:1.5;font-weight:850}
#app .info-card h3{margin:12px 0 6px;color:#192f4c;font-size:18px}
#app .info-card p{margin:8px 0 0;color:#677382;line-height:1.95}
#app .info-card-intro{margin:13px 0 22px!important}
#app .support-form-card .field{margin-bottom:17px}
#app .support-form-card .field label{display:block;margin-bottom:7px;color:#263c57;font-weight:700}
#app .support-form-card input,#app .support-form-card textarea{display:block;width:100%;min-width:0;padding:12px 15px;border:1px solid #d8e0e8;border-radius:12px;background:#fff;color:#172c47;outline:none}
#app .support-form-card input{min-height:48px}
#app .support-form-card textarea{min-height:155px;resize:vertical}
#app .support-form-card input:focus,#app .support-form-card textarea:focus{border-color:#4477aa;box-shadow:0 0 0 3px rgba(68,119,170,.12)}
#app .support-form-card .primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:180px;min-height:47px;border-radius:12px}
#app .support-steps ol{display:grid;gap:19px;list-style:none;margin:22px 0;padding:0}
#app .support-steps li{display:flex;gap:13px}
#app .support-steps li>span{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:#e9f1fa;color:#255689;font-weight:800}
#app .support-steps strong,#app .support-steps small{display:block}
#app .support-steps strong{color:#203754;font-size:14px}
#app .support-steps small{margin-top:3px;color:#6a7786;font-size:12px;line-height:1.8}
#app .info-text-link{display:inline-flex;align-items:center;gap:8px;margin-top:12px;color:#1d548b;font-weight:800}
#app .info-text-link:hover{text-decoration:underline;text-underline-offset:5px}
#app .support-help{display:flex;gap:16px}
#app .support-help h3{margin:0}
#app .support-signin-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:320px}
#app .support-signin-card h2{margin:5px 0}
#app .support-signin-card .info-actions{margin-top:22px}
#app .info-actions .primary-btn,#app .info-actions .outline-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border-radius:11px}
#app .about-art-phone{position:relative;z-index:1;display:block;width:120px;height:210px;padding:12px 9px;border:4px solid #D4D4D4;border-radius:27px;background:#10243d;box-shadow:20px 20px 0 rgba(255,255,255,.11),0 24px 45px rgba(3,14,29,.28);transform:rotate(-12deg)}
#app .about-art-phone:before{content:"";position:absolute;z-index:2;top:5px;left:37px;width:37px;height:8px;border-radius:0 0 8px 8px;background:#10243d}
#app .about-art-screen{display:flex;flex-direction:column;justify-content:flex-end;gap:9px;width:100%;height:100%;padding:13px;border-radius:16px;background:linear-gradient(155deg,#436d9b,#e8ae70)}
#app .about-art-screen i{display:block;width:75%;height:9px;border-radius:12px;background:rgba(255,255,255,.75)}
#app .about-art-screen i:nth-child(2){width:95%}
#app .about-art-screen i:nth-child(3){width:55%}
#app .about-art-spark{position:absolute;color:#ffd394;font-size:42px}
#app .about-art-spark-one{top:5px;right:16%}
#app .about-art-spark-two{bottom:20px;left:18%}
#app .about-intro{display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:30px;margin:28px 0;padding:28px 32px;border-right:4px solid #e6a960;border-radius:18px;background:#D4D4D4}
#app .about-intro p{margin:0;color:#5d6c7b;font-size:15px;line-height:2}
#app .about-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#app .about-values .info-card{min-height:210px}
#app .about-values .info-card p{font-size:14px}
#app .about-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:26px;padding:28px 32px;border:1px solid #e7d5c4;border-radius:22px;background:linear-gradient(120deg,#D4D4D4,#D4D4D4)}
#app .about-cta p{margin:6px 0 0;color:#677382}
body[data-theme=dark] #app .info-card,body[data-theme=dark] #app .about-intro{border-color:#3c5574;background:#183354}
body[data-theme=dark] #app .info-card h2,body[data-theme=dark] #app .info-card h3,body[data-theme=dark] #app .about-intro h2,body[data-theme=dark] #app .about-cta h2,body[data-theme=dark] #app .support-steps strong{color:#f5f8ff}
body[data-theme=dark] #app .info-card p,body[data-theme=dark] #app .about-intro p,body[data-theme=dark] #app .about-cta p,body[data-theme=dark] #app .support-steps small{color:#d3dfed}
body[data-theme=dark] #app .support-form-card .field label{color:#e7f0fc}
body[data-theme=dark] #app .about-cta{border-color:#3c5574;background:linear-gradient(120deg,#173251,#244666)}
@media(max-width:800px){#app .info-hero{grid-template-columns:1fr;min-height:0;padding:32px 28px}#app .info-hero-art{position:absolute;left:-30px;bottom:-35px;width:220px;min-height:220px;opacity:.25;pointer-events:none}#app .info-layout{grid-template-columns:1fr}#app .info-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}#app .about-values{grid-template-columns:1fr 1fr}#app .about-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){#app .info-page{padding-bottom:30px}#app .info-hero{padding:27px 22px;border-radius:20px}#app .info-hero h1{font-size:28px}#app .info-hero p{font-size:14px}#app .info-hero-art{display:none}#app .info-card{padding:22px;border-radius:18px}#app .info-sidebar,#app .about-values,#app .about-intro{grid-template-columns:1fr}#app .about-intro{gap:10px;padding:22px}#app .about-cta{padding:22px}#app .info-actions .primary-btn,#app .info-actions .outline-btn{width:100%}#app .support-signin-card .info-actions{width:100%}}

#app:has(> .info-page){width:min(1260px,calc(100% - 28px))}

/* Real product photography for the About and Contact page banners */
#app .info-hero-photo{position:relative;z-index:1;justify-self:center;display:grid;place-items:center;margin:0;isolation:isolate;box-shadow:0 22px 48px rgba(3,16,34,.28)}
#app .info-hero-photo img{display:block;width:100%;height:100%;object-fit:contain}
#app .about-photo{width:204px;height:232px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;animation:about-photo-float 5.5s ease-in-out infinite}
#app .about-photo:before{content:none}
#app .about-photo img{filter:drop-shadow(0 14px 18px rgba(2,16,32,.28));transition:transform .35s ease,filter .35s ease}
#app .about-photo:hover img{transform:scale(1.035) rotate(1deg);filter:drop-shadow(0 19px 22px rgba(2,16,32,.34))}
@keyframes about-photo-float{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-6px) rotate(1deg)}}
@media(prefers-reduced-motion:reduce){#app .about-photo{animation:none}#app .about-photo img{transition:none}#app .about-photo:hover img{transform:none}}
#app .filters .price-range{min-width:0;margin:0;padding:8px 0;border:0}
#app .filters .price-range legend{padding:0;font-weight:700}
#app .filters .price-range>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:6px}
#app .support-photo{width:256px;height:256px;padding:22px;border:6px solid #f6dbc0;border-radius:48% 48% 26px 26px;background:#fff;transform:rotate(-4deg)}
#app .support-photo:before{content:"";position:absolute;z-index:-1;inset:-15px;border:1px solid rgba(255,220,174,.5);border-radius:50% 50% 37px 37px}
@media(max-width:800px){#app .info-hero-photo{margin:24px auto 0}}
@media(max-width:600px){#app .about-photo{width:162px;height:186px}#app .support-photo{width:200px;height:200px;padding:16px}}

/* Account dashboard */
#app:has(> .profile-page){width:min(1260px,calc(100% - 32px));padding-top:28px}
#app .profile-page{--profile-navy:#183453;--profile-ink:#26394a;--profile-soft:#f5f8fb;--profile-border:#dfe8ef;padding-bottom:36px;color:#34485b;font-size:14px}
#app .profile-head{position:relative;isolation:isolate;display:flex;align-items:center;gap:20px;min-height:152px;margin:0;padding:30px 36px;overflow:hidden;border:1px solid #355475;border-radius:24px;background:linear-gradient(115deg,#142b49 0%,#24466b 65%,#315c79 100%);box-shadow:0 20px 42px rgba(18,43,71,.17)}
#app .profile-head:after{content:"";position:absolute;z-index:-1;width:270px;height:270px;left:-55px;top:-135px;border:1px solid rgba(255,255,255,.13);border-radius:50%;box-shadow:0 0 0 44px rgba(255,255,255,.04),0 0 0 90px rgba(255,255,255,.025)}
#app .profile-head .avatar{flex:0 0 72px;width:72px;height:72px;border:2px solid rgba(255,255,255,.58);border-radius:22px;background:linear-gradient(145deg,#f1c38c,#e79d68);color:#27374a;font-size:30px;font-weight:800;box-shadow:0 8px 20px rgba(0,0,0,.13)}
#app .profile-identity{min-width:0}
#app .profile-eyebrow{display:block;margin-bottom:7px;color:#f4ca96;font-size:13px;font-weight:700}
#app .profile-identity h1{color:#fff;font-size:clamp(21px,2.1vw,28px);font-weight:800;line-height:1.5}
#app .profile-identity p{margin:5px 0 0;color:#e7f1fa;font-size:14px;direction:ltr;text-align:right;overflow-wrap:anywhere}
#app .profile-head #logoutButton{margin-right:auto;flex:0 0 auto;padding:10px 18px;border:1px solid rgba(255,255,255,.55);border-radius:11px;background:rgba(255,255,255,.12);color:#fff;font-size:14px;font-weight:700}
#app .profile-head #logoutButton:hover{background:rgba(255,255,255,.22)}
#app .profile-dashboard{display:grid;grid-template-columns:248px minmax(0,1fr);align-items:start;gap:22px;padding:24px 0 0}
#app .profile-sidebar{padding:17px;border:1px solid var(--profile-border);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(28,50,69,.055)}
#app .profile-sidebar-title{margin:2px 10px 15px;padding-bottom:14px;border-bottom:1px solid #e9eef2;color:#526779;font-size:13px;font-weight:700}
#app .profile-menu{display:grid;gap:6px}
#app .profile-menu a{position:relative;display:flex;align-items:center;min-height:44px;padding:10px 16px;border:1px solid transparent;border-radius:11px;color:#344b60;font-size:14px;font-weight:600;line-height:1.5;transition:background .2s,color .2s,border-color .2s}
#app .profile-menu a:hover{border-color:#e2eaf0;background:#f2f6f9;color:#183453}
#app .profile-menu a.active{border-color:#d7e4ef;background:#eaf1f7;color:#173b60;font-weight:800}
#app .profile-menu a.active:before{content:"";position:absolute;right:0;top:25%;bottom:25%;width:4px;border-radius:4px;background:#df9b5e}
#app .profile-content{min-width:0}
#app .profile-panel{padding:26px 28px;border:1px solid var(--profile-border);border-radius:20px;background:#fff;box-shadow:0 10px 28px rgba(28,50,69,.055)}
#app .profile-panel h2{margin:0 0 18px;padding-bottom:15px;border-bottom:1px solid #edf1f4;color:var(--profile-ink);font-size:20px;font-weight:800}
#app .profile-panel h2:before{content:"";display:inline-block;width:5px;height:20px;margin-left:10px;vertical-align:-4px;border-radius:5px;background:linear-gradient(#e8b877,#d28a55)}
#app .profile-panel>p{color:#465c70;font-size:15px;line-height:1.9}
#app .profile-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
#app .profile-stats article{position:relative;min-height:112px;padding:20px;border:1px solid #dfe9f1;border-radius:17px;background:linear-gradient(145deg,#fff,#f3f8fb);box-shadow:0 7px 18px rgba(26,59,83,.04)}
#app .profile-stats article:before{content:"";display:block;width:28px;height:4px;margin-bottom:15px;border-radius:4px;background:#e6ab70}
#app .profile-stats small{color:#4c6278;font-size:13px;font-weight:600}
#app .profile-stats strong{display:block;margin-top:7px;color:#1c4164;font-size:27px;font-weight:800;line-height:1}
#app .profile-shortcuts{gap:10px;margin:17px 0 22px}
#app .profile-shortcuts a{display:inline-flex;align-items:center;min-height:42px;padding:9px 15px;border:1px solid #dce8f1;border-radius:10px;background:#f3f8fb;color:#1e4b70;font-size:13px;font-weight:700}
#app .profile-shortcuts a:hover{background:#e8f2f9}
#app .profile-content .order-card{padding:17px 19px;border:1px solid #e3ebf0;border-radius:14px;background:#fbfdff}
#app .profile-content .order-card-head{gap:12px;align-items:center;font-size:14px}
#app .profile-content .order-card p{color:#40566a;font-size:14px;line-height:1.8}
#app .profile-content .status{padding:5px 10px;font-size:12px;font-weight:700}
#app .profile-content .profile-subhead{margin:25px 0 14px;color:#203a54;font-size:17px}
#app .profile-content .profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
#app .profile-content .field label{margin-bottom:8px;color:#344d64;font-size:14px;font-weight:700}
#app .profile-content .field input,#app .profile-content .field textarea,#app .profile-content .field select{border:1px solid #dce6ec;border-radius:10px;background:#fbfdff;color:#253a4d;font-size:14px}
#app .profile-content .field input:focus,#app .profile-content .field textarea:focus,#app .profile-content .field select:focus{border-color:#6595b9;box-shadow:0 0 0 3px rgba(57,113,159,.12)}
#app .profile-content .primary-btn{border-radius:10px;background:#244e75;color:#fff;box-shadow:0 8px 18px rgba(23,60,92,.14)}
#app .profile-content .primary-btn:hover{background:#31618c}
#app .profile-note{border:1px solid #f0ddc4;border-radius:11px;background:#D4D4D4;color:#79542f;font-size:13px;line-height:1.8}
body[data-theme=dark] #app .profile-page{--profile-ink:#edf5fd;--profile-border:#355371;color:#e3edf7}
body[data-theme=dark] #app .profile-sidebar,body[data-theme=dark] #app .profile-panel{background:#142b49;border-color:#355371}
body[data-theme=dark] #app .profile-sidebar-title,body[data-theme=dark] #app .profile-panel h2{border-color:#375676}
body[data-theme=dark] #app .profile-menu a{color:#c9d9e9}
body[data-theme=dark] #app .profile-menu a:hover,body[data-theme=dark] #app .profile-menu a.active{border-color:#41688c;background:#22476d;color:#fff}
body[data-theme=dark] #app .profile-stats article,body[data-theme=dark] #app .profile-content .order-card{border-color:#365779;background:linear-gradient(145deg,#1c3859,#234667)}
body[data-theme=dark] #app .profile-stats small,body[data-theme=dark] #app .profile-panel>p,body[data-theme=dark] #app .profile-content .field label{color:#c7d8e9}
body[data-theme=dark] #app .profile-stats strong,body[data-theme=dark] #app .profile-content .profile-subhead{color:#f4f8ff}
body[data-theme=dark] #app .profile-content .order-card p{color:#e3edf7}
body[data-theme=dark] #app .profile-shortcuts a{border-color:#41668a;background:#24496d;color:#e8f3ff}
body[data-theme=dark] #app .profile-content .field input,body[data-theme=dark] #app .profile-content .field textarea,body[data-theme=dark] #app .profile-content .field select{border-color:#426482;background:#10243e;color:#f4f8ff}
body[data-theme=dark] #app .profile-note{border-color:#72583c;background:#3c342d;color:#f3d3a9}
@media(max-width:900px){#app .profile-dashboard{grid-template-columns:205px minmax(0,1fr);gap:16px}#app .profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){#app:has(> .profile-page){width:min(100% - 24px,1260px);padding-top:16px}#app .profile-head{min-height:0;padding:22px;gap:13px;flex-wrap:wrap;border-radius:19px}#app .profile-head .avatar{flex-basis:54px;width:54px;height:54px;border-radius:16px;font-size:23px}#app .profile-head #logoutButton{margin-right:0;margin-top:3px;width:100%}#app .profile-dashboard{display:block;padding-top:15px}#app .profile-sidebar{padding:12px;margin-bottom:16px;border-radius:16px}#app .profile-sidebar-title{margin-bottom:8px;padding-bottom:8px}#app .profile-menu{display:flex;overflow-x:auto;gap:5px;padding-bottom:3px;scrollbar-width:thin}#app .profile-menu a{flex:0 0 auto;white-space:nowrap;min-height:38px;padding:8px 13px}#app .profile-menu a.active:before{top:auto;bottom:0;left:22%;right:22%;width:auto;height:3px}#app .profile-panel{padding:20px;border-radius:16px}}
@media(max-width:480px){#app .profile-stats{gap:9px}#app .profile-stats article{min-height:100px;padding:15px}#app .profile-stats strong{font-size:23px}#app .profile-content .profile-form-grid{grid-template-columns:1fr}#app .profile-panel h2{font-size:18px}}

/* Account form readability */
#app .auth-box h1{color:#17283f}
#app .auth-box .breadcrumbs,#app .auth-box .breadcrumbs a{color:#34465e;font-size:14px}
#app .auth-box p.subtle{color:#42536b;font-size:14px;line-height:1.8}
#app .auth-box .field label{color:#263a54;font-size:14px;font-weight:650}
#app .auth-box .field input{color:#17283f;font-size:14px}
#app .auth-box .primary-btn{font-size:14px}
#app .auth-box .auth-foot,#app .auth-box .auth-foot a{color:#42536b;font-size:14px}
#app .auth-box .auth-foot a{color:#1f4f7c}
@media(min-width:768px){#app .auth-box{max-width:500px}}

/* Slightly stronger typography across the storefront */
:root{--muted:#5c6778}
body[data-theme=dark]{--muted:#c9d8eb}
body{font-size:15px;font-weight:500}
.nav-inner,.searchbox input,.searchbox button,.header-actions .icon-btn small,.cart-btn{font-size:15px;font-weight:600}
#app .section-head p,#app .hero p,#app .feature-strip .feature small{font-size:15px;font-weight:500}
#app .category-tile strong{font-size:15px;font-weight:700}
#app .product-card .product-brand{font-size:13px;font-weight:600}
#app .product-card .product-title{font-size:15px;font-weight:600}
#app .product-card .price{font-size:15px;font-weight:700}
#app .product-card .old-price{font-size:13px;font-weight:500}
#app .product-card .add-small{font-size:15px;font-weight:700}
.footer .footer-brand p,.footer .footer-top>div:not(:first-child) a,.footer .trust strong{font-size:15px;font-weight:600}
.footer .trust small,.footer .footer-bottom{font-size:13px;font-weight:500}
#app .info-hero p,#app .info-card p,#app .about-values .info-card p,#app .support-steps small{font-size:15px;font-weight:500}
body:not([data-theme=dark]) #app .info-card p{color:#445468}
#app .info-kicker,#app .info-eyebrow{font-size:13px}
#app .auth-box .breadcrumbs,#app .auth-box .breadcrumbs a,#app .auth-box p.subtle,#app .auth-box .field label,#app .auth-box .field input,#app .auth-box .auth-foot,#app .auth-box .auth-foot a{font-size:15px}
#app .auth-box .breadcrumbs,#app .auth-box p.subtle,#app .auth-box .auth-foot{font-weight:500}
#app .auth-box .field label{font-weight:700}
#app .profile-page{font-size:15px}
#app .profile-sidebar-title,#app .profile-eyebrow,#app .profile-stats small,#app .profile-shortcuts a,#app .profile-note{font-size:14px;font-weight:600}
#app .profile-identity p,#app .profile-menu a,#app .profile-panel>p,#app .profile-content .order-card-head,#app .profile-content .order-card p,#app .profile-content .field label,#app .profile-content .field input,#app .profile-content .field textarea,#app .profile-content .field select{font-size:15px}
#app .profile-content .status{font-size:13px}
#app .detail-description,#app .spec-table,#app .variant-label,#app .variant-option,#app .cart-row h4,#app .summary-line,#app .article-body p{font-size:15px}
#app .article-body h3{font-size:16px}
#app .breadcrumbs,#app .subtle,#app .detail-brand,#app .review,#app .order-card-head{font-size:14px;font-weight:500}
#app .field label,#app .field input,#app .field textarea,#app .field select,#app .summary-line{font-size:15px}
#app .field label{font-weight:700}
body:not([data-theme=dark]) #app .breadcrumbs,body:not([data-theme=dark]) #app .subtle,body:not([data-theme=dark]) #app .summary-line{color:#4b5b70}
body[data-theme=dark] #app .breadcrumbs,body[data-theme=dark] #app .subtle,body[data-theme=dark] #app .summary-line{color:#d3e0ef}

/* Mobile layout rhythm: consistent columns and touch friendly action spacing. */
@media (max-width: 760px) {
  #app .listing-layout,
  #app .cart-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
  }
  #app .listing-layout > *,
  #app .cart-layout > * { min-width: 0; }
  #app .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  #app .sidebar .filters { column-gap: 10px; row-gap: 8px; }
  #app .detail-buy { gap: 10px; align-items: stretch; }
  #app .detail-buy > div { flex: 1 1 140px; min-width: 0; }
  #app .detail-buy > .primary-btn,
  #app .detail-buy > .add-to-cart {
    flex: 1 1 145px;
    min-height: 44px;
  }
  #app .modal-actions,
  #app .order-detail-actions {
    justify-content: center;
    gap: 10px;
  }
  #app .modal-actions > *,
  #app .order-detail-actions > * {
    flex: 1 1 135px;
    max-width: 240px;
    min-height: 42px;
  }
}
@media (max-width: 480px) {
  #app .listing-layout,
  #app .cart-layout { gap: 11px; padding: 12px 0; }
  #app .product-grid { gap: 9px; }
  #app .detail-buy { gap: 8px; }
  #app .detail-buy > div,
  #app .detail-buy > .primary-btn,
  #app .detail-buy > .add-to-cart { flex-basis: 100%; width: 100%; }
  #app .modal-actions,
  #app .order-detail-actions { gap: 8px; }
  #app .modal-actions > *,
  #app .order-detail-actions > * {
    flex: 1 1 100%;
    max-width: none;
  }
}


/* Slightly wider product cards in the store listing. */
#app .listing-layout .product-grid { gap: 12px; }
@media (max-width: 760px) {
  #app .listing-layout .content-panel { padding-left: 12px; padding-right: 12px; }
  #app .listing-layout .product-grid { gap: 7px; }
}


/* Mobile-only header dropdown and fixed bottom navigation. */
@media (max-width: 760px) {
  .topline { display: none; }
  .header { position: sticky; }
  .header-inner { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 6px; min-height: 64px; height: 64px; padding: 6px 0; }
  .header-inner .mobile-menu { grid-column: 1; grid-row: 1; justify-self: start; padding: 7px; font-size: 23px; }
  .header-inner .brandmark { grid-column: 2; grid-row: 1; justify-self: center; min-width: 0; gap: 6px; font-size: 15px; }
  .header-inner .brand-logo { width: 36px; height: 36px; }
  .header-inner .header-actions { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
  .header-inner .searchbox { display: none; }
  .header-actions .account-trigger { display: none; }
  .header-actions .cart-btn { width: 38px; height: 38px; padding: 6px; justify-content: center; gap: 0; border: 0; background: transparent; color: #fff; position: relative; }
  .header-actions .cart-btn span { display: none; }
  .header-actions .cart-btn .cart-symbol { width: 22px; height: 22px; flex: 0 0 22px; }
  .header-actions .cart-btn b { position: absolute; top: 0; right: 0; min-width: 16px; padding: 0 3px; font-size: 9px; line-height: 16px; }
  .nav { display: none; position: absolute; top: 100%; right: 0; left: 0; max-height: min(75vh, 520px); overflow-y: auto; background: #202127; border-top: 1px solid #383940; box-shadow: 0 12px 24px #0003; }
  .nav.open { display: block; }
  .nav-inner { display: flex; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 14px 16px; font-size: 14px; }
  .nav-inner > a { min-height: 45px; border-bottom: 1px solid #ffffff12; }
  .nav-inner > a.active:after { display: none; }
  .mobile-searchbox { display: block; padding: 2px 0 12px; color: #fff; }
  .mobile-searchbox label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 700; }
  .mobile-search-row { height: 42px; display: flex; align-items: center; border: 1px solid #ffffff24; border-radius: 10px; background: #fff; overflow: hidden; }
  .mobile-search-row input { flex: 1; min-width: 0; height: 100%; padding: 0 11px; border: 0; outline: 0; background: transparent; color: #202127; font-size: 12px; }
  .mobile-search-row button { width: 44px; height: 100%; display: grid; place-items: center; border: 0; background: #ed3c4d; color: #fff; }
  .mobile-search-row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .mobile-bottom-nav { position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 7px 4px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #ffffff18; background: #202127; box-shadow: 0 -5px 18px #0002; }
  .mobile-bottom-nav a, .mobile-bottom-nav button { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 0; padding: 2px 0; background: transparent; color: #c9c9ce; font-size: 10px; line-height: 1.4; }
  .mobile-bottom-nav svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-bottom-nav [data-nav].active { color: #ff5965; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .footer { margin-bottom: 0; }
}
@media (min-width: 761px) { .mobile-searchbox, .mobile-bottom-nav { display: none; } }

/* Mobile-only storefront polish. */
@media (max-width:760px) {
  html { scroll-padding-top:76px }
  body { overflow-x:clip }
  .wrap { width:calc(100% - 28px) }
  #app { min-width:0 }
  #app>.hero { padding:14px 0 12px }
  #app .hero-main { min-height:0; padding:22px 18px; border-radius:18px }
  #app .hero h1 { margin:0 0 8px; line-height:1.45 }
  #app .hero p { margin:0 0 14px; line-height:1.85 }
  #app>.feature-strip { margin:0 0 14px; padding:13px 10px; gap:10px 4px; border-radius:15px }
  #app>.feature-strip>* { min-width:0; padding-inline:5px; text-align:center }
  #app>.feature-strip strong { display:block; font-size:12px; line-height:1.6 }
  #app>.feature-strip span { font-size:11px; line-height:1.7 }
  #app>.section { min-width:0; margin:13px 0; padding:15px 13px 16px; border-radius:16px }
  #app>.section:has(>.product-slider-wrap)+.section:has(>.product-slider-wrap) { border-top:1px solid rgba(115,83,59,.12) }
  #app .section-head { min-width:0; margin-bottom:13px; padding-bottom:10px; gap:8px; align-items:center }
  #app .section-head h2 { min-width:0; margin:0; font-size:16px; line-height:1.55 }
  #app .section-head h2:before { width:4px; height:18px; margin-left:7px; vertical-align:-3px }
  #app .section-head p { margin:3px 0 0; font-size:11px; line-height:1.65 }
  #app .section-head .text-link { flex:0 0 auto; min-height:34px; display:inline-flex; align-items:center; padding:4px 9px; border-radius:9px; font-size:11px }
  #app .category-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px }
  #app .category-tile { min-width:0; min-height:96px; padding:10px 8px; border-radius:13px }
  #app .category-tile img,#app .category-tile svg { max-width:44px; max-height:44px; object-fit:contain }
  #app .category-tile strong { font-size:12px; line-height:1.6; text-align:center }
  #app .product-slider-wrap { min-width:0 }
  #app .product-slider { gap:10px; padding:2px 1px 8px; scroll-padding-inline:10px }
  #app .product-slider>.product-card { flex:0 0 min(72vw,250px); min-width:0 }
  #app .product-card { min-width:0; padding:9px; border-radius:14px }
  #app .product-photo { height:150px; margin-bottom:8px; border-radius:10px }
  #app .product-photo img { max-height:100%; object-fit:contain }
  #app .product-brand { margin-bottom:3px; font-size:10px; line-height:1.5 }
  #app .product-title { min-height:2.8em; font-size:12px; line-height:1.65 }
  #app .price-row { min-width:0; gap:4px; flex-wrap:wrap; margin:6px 0 }
  #app .price-row strong,#app .price { font-size:13px; line-height:1.6 }
  #app .price-row del,#app .old-price { font-size:10px }
  #app .add-small { width:100%; min-height:38px; padding:7px 8px; border-radius:9px; font-size:11px }
  #app .listing-layout,#app .cart-layout { grid-template-columns:minmax(0,1fr); gap:12px; padding:10px 0 14px }
  #app .listing-layout .content-panel,#app .cart-layout>* { min-width:0; padding:13px; border-radius:15px }
  #app .listing-layout .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px }
  #app .listing-layout .product-card { padding:8px; border-radius:13px }
  #app .listing-layout .product-photo { height:clamp(112px,34vw,150px) }
  #app .listing-layout .product-title { font-size:11px }
  #app .listing-layout .price-row strong,#app .listing-layout .price { font-size:12px }
  #app .breadcrumbs { display:flex; flex-wrap:wrap; gap:4px 7px; font-size:11px; line-height:1.7 }
  #app h1 { overflow-wrap:anywhere }
  #app .sidebar { min-width:0 }
  #app .sidebar .filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)) }
  .footer { padding:24px 0 calc(14px + env(safe-area-inset-bottom)) }
  .footer-top { grid-template-columns:repeat(2,minmax(0,1fr)); gap:19px 14px; align-items:start }
  .footer-top>*,.footer-brand,.footer-categories,.footer .trust { min-width:0 }
  .footer-brand,.footer .trust { grid-column:1/-1 }
  .footer-brand { padding-bottom:14px; border-bottom:1px solid rgba(255,255,255,.14) }
  .footer-brand .brandmark { gap:8px; font-size:15px }
  .footer-brand .brand-logo { width:38px; height:38px }
  .footer-brand p { max-width:38ch; margin:9px 0 0; font-size:12px; line-height:1.9 }
  .footer-top h4 { margin:0 0 8px; font-size:12px; line-height:1.7 }
  .footer-top>div:not(.footer-brand):not(.trust) { display:flex; flex-direction:column; align-items:flex-start; gap:6px }
  .footer-top>div:not(.footer-brand):not(.trust) a { font-size:11px; line-height:1.75 }
  .footer .trust { display:flex; align-items:center; justify-content:center; gap:12px; padding:12px; border:1px solid rgba(255,255,255,.14); border-radius:13px }
  .footer .trust img { width:62px!important; max-height:62px!important }
  .footer .trust strong { font-size:12px }
  .footer .trust small { display:block; max-width:24ch; font-size:10px; line-height:1.7 }
  .footer-bottom { display:flex; flex-direction:column; align-items:center; gap:5px; padding-top:13px; text-align:center; font-size:10px; line-height:1.8 }
}
@media (max-width:420px) {
  #app>.section { padding-inline:11px }
  #app .product-slider>.product-card { flex-basis:min(76vw,250px) }
  #app .product-photo { height:138px }
  #app .listing-layout .product-grid { gap:7px }
  #app .listing-layout .product-card { padding:7px }
  .footer-top { column-gap:10px }
}
/* Mobile-only user dashboard refinements */
@media(max-width:700px){
#app:has(>.profile-page){width:calc(100% - 24px);max-width:680px;padding-top:14px}
#app .profile-page{min-width:0;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px));overflow-wrap:anywhere}
#app .profile-head{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:0;padding:16px;border-radius:18px}
#app .profile-head .avatar{grid-column:1;grid-row:1;width:52px;height:52px;min-width:52px}
#app .profile-identity{grid-column:2;grid-row:1;min-width:0}
#app .profile-identity h1{margin:3px 0;font-size:clamp(17px,5vw,21px);line-height:1.45;overflow-wrap:anywhere}
#app .profile-identity p{margin:0;font-size:13px;line-height:1.65}
#app .profile-head #logoutButton{grid-column:3;grid-row:1;width:auto;min-height:42px;margin:0;padding:9px 11px;font-size:13px;white-space:nowrap}
#app .profile-dashboard{display:block;padding-top:14px}
#app .profile-sidebar{margin:0 0 13px;padding:10px;border-radius:15px}
#app .profile-sidebar-title{margin:1px 5px 8px;padding:0 0 8px;font-size:12px}
#app .profile-menu{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:0 1px 4px}
#app .profile-menu::-webkit-scrollbar{display:none}
#app .profile-menu a{flex:0 0 auto;min-height:42px;padding:9px 13px;border:1px solid #e3ebf1;border-radius:11px;background:#f8fafc;scroll-snap-align:start;font-size:13px}
#app .profile-menu a.active:before{top:auto;right:20%;bottom:0;left:20%;width:auto;height:3px}
#app .profile-content{display:grid;min-width:0;gap:12px}
#app .profile-panel{min-width:0;padding:17px 16px;border-radius:16px}
#app .profile-panel h2{margin-bottom:14px;padding-bottom:12px;font-size:18px;line-height:1.55}
#app .profile-panel>p{font-size:14px;line-height:1.85}
#app .profile-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0}
#app .profile-stats article{display:flex;min-width:0;min-height:90px;flex-direction:column;justify-content:space-between;padding:13px;border-radius:14px}
#app .profile-stats article:before{margin-bottom:9px}
#app .profile-stats small{font-size:12px;line-height:1.6}
#app .profile-stats strong{margin-top:6px;font-size:23px}
#app .profile-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 18px}
#app .profile-shortcuts a{justify-content:center;min-width:0;min-height:46px;padding:9px;text-align:center;line-height:1.6}
#app .profile-content .order-card{min-width:0;margin:10px 0;padding:14px;border-radius:13px;overflow-wrap:anywhere}
#app .profile-content .order-card-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px;line-height:1.65}
#app .profile-content .order-card-head>*{min-width:0;max-width:100%}
#app .profile-content .order-card p{margin:8px 0 0;font-size:13px;line-height:1.8;overflow-wrap:anywhere}
#app .profile-content .status{display:inline-flex;align-items:center;min-height:30px;padding:4px 9px;white-space:normal}
#app .profile-content .outline-btn,#app .profile-content .primary-btn{min-height:44px;margin-top:9px;padding:10px 14px}
#app .profile-content .profile-subhead{margin:20px 0 12px;font-size:16px;line-height:1.6}
#app .profile-content .profile-form-grid{grid-template-columns:minmax(0,1fr);gap:0}
#app .profile-content .field{min-width:0;margin-bottom:14px}
#app .profile-content .field label{display:block;margin-bottom:7px;font-size:13px}
#app .profile-content .field input,#app .profile-content .field textarea,#app .profile-content .field select{width:100%;min-width:0;min-height:46px;padding:11px 12px;font-size:15px}
#app .profile-content .field textarea{min-height:120px}
#app .profile-content form>.primary-btn{width:100%;min-height:48px}
#app .profile-wishlist-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
#app .profile-wishlist-item .text-link{min-width:0;flex:1 1 150px;line-height:1.7}
}
@media(max-width:390px){
#app:has(>.profile-page){width:calc(100% - 18px)}
#app .profile-head{grid-template-columns:46px minmax(0,1fr);gap:9px;padding:14px}
#app .profile-head .avatar{width:46px;height:46px;min-width:46px;font-size:21px}
#app .profile-head #logoutButton{grid-column:1/-1;grid-row:2;justify-self:stretch;min-height:42px}
#app .profile-panel{padding:15px 13px}
#app .profile-stats{gap:7px}
#app .profile-stats article{padding:11px}
#app .profile-shortcuts{grid-template-columns:1fr}
}
/* Mobile-only header and navigation color refinements. */
@media (max-width: 760px) {
  .header-inner .mobile-menu {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--red) !important;
    -webkit-tap-highlight-color: transparent;
  }

  .header-inner .brand-logo {
    width: 42px;
    height: 42px;
  }

  .header-actions .cart-btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--red) !important;
  }

  .header-actions .cart-btn .cart-symbol {
    color: var(--red) !important;
  }

  .nav {
    background: var(--paper) !important;
    border-top: 1px solid var(--line) !important;
    box-shadow: 0 12px 24px rgba(12, 35, 69, .12) !important;
    color: var(--ink);
  }

  .nav-inner > a {
    color: var(--ink) !important;
    border-bottom-color: var(--line) !important;
  }

  .nav-inner > a.active,
  .nav-inner > a:hover {
    color: var(--red) !important;
  }

  .mobile-searchbox { color: var(--ink) !important; }
  .mobile-searchbox label {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .mobile-search-row {
    background: var(--paper) !important;
    border-color: var(--line) !important;
  }

  .mobile-search-row input {
    background: transparent !important;
    color: var(--ink) !important;
  }

  .mobile-search-row button {
    background: var(--red) !important;
    color: #fff !important;
  }

  .mobile-bottom-nav {
    background: var(--paper) !important;
    border-top: 1px solid var(--line) !important;
    box-shadow: 0 -5px 18px rgba(12, 35, 69, .10) !important;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    color: var(--muted) !important;
  }

  .mobile-bottom-nav [data-nav].active {
    color: var(--red) !important;
  }

  .footer { display: none !important; }
}


/* Homepage product slider order is mobile-only. */
@media (max-width: 760px) {
  #app.home-mobile-slider-order { display: flex; flex-direction: column; }
  #app.home-mobile-slider-order > .home-product-section { width: 100%; }
}

/* Final mobile header and navigation palette. */
@media (max-width: 760px) {
  .header-inner .mobile-menu { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0; background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--red) !important; }
  .header-inner .mobile-menu svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; }
  .header-inner .brand-logo { width: 44px; height: 44px; max-width: 44px; }
  .header-actions .cart-btn { width: 36px; height: 36px; padding: 4px; transform: none; filter: none; background: transparent !important; border: 0 !important; box-shadow: none !important; color: var(--red) !important; }
  .header-actions .cart-btn .cart-symbol { width: 20px; height: 20px; fill: none; stroke: currentColor; filter: none; }
  .nav { background: var(--paper) !important; color: var(--ink) !important; box-shadow: 0 8px 18px rgba(0, 0, 0, .08) !important; }
  .nav-inner > a { color: var(--ink) !important; border-bottom-color: var(--line) !important; }
  .nav-inner > a.active, .nav-inner > a:hover { color: var(--red) !important; }
  .mobile-searchbox label { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
  .mobile-search-row { background: var(--paper) !important; border-color: var(--line) !important; }
  .mobile-search-row input { background: transparent !important; color: var(--ink) !important; }
  .mobile-search-row button { background: var(--red) !important; color: #fff !important; }
  .mobile-bottom-nav { background: var(--paper) !important; border-top: 1px solid var(--line) !important; box-shadow: 0 -5px 18px rgba(12, 35, 69, .10) !important; }
  .mobile-bottom-nav a, .mobile-bottom-nav button { color: var(--muted) !important; }
  .mobile-bottom-nav [data-nav].active { color: var(--red) !important; }
  .footer { display: none !important; }
}

/* Header category dropdown */
.nav-category-group { position: relative; display: flex; align-items: center; height: 100%; }
.nav-category-toggle { height: 100%; display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.nav-category-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .18s ease; }
.nav-category-group:hover .nav-category-toggle svg, .nav-category-group:focus-within .nav-category-toggle svg, .nav-category-group.expanded .nav-category-toggle svg { transform: rotate(180deg); }
.nav-category-items { position: absolute; z-index: 30; top: 100%; right: -14px; width: min(310px, 80vw); max-height: min(65vh, 440px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 32px rgba(12, 35, 69, .16); display: none; grid-template-columns: 1fr; }
.nav-category-items[hidden] { display: none !important; }
.nav-category-items a { display: flex; align-items: center; min-height: 42px; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.nav-category-items a:hover, .nav-category-items a:focus-visible { background: var(--soft, #f3f5f8); color: var(--red); }
@media (min-width: 761px) {
  .nav-category-group:hover .nav-category-items, .nav-category-group:focus-within .nav-category-items, .nav-category-group.expanded .nav-category-items { display: grid; }
}
@media (max-width: 760px) {
  .nav-category-group { display: block; height: auto; border-bottom: 1px solid var(--line); }
  .nav-category-toggle { width: 100%; min-height: 45px; justify-content: space-between; color: var(--ink); }
  .nav-category-items { position: static; width: 100%; max-height: 45vh; padding: 0 4px 8px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .nav-category-group.expanded .nav-category-items { display: grid; }
  .nav-category-items a { min-height: 42px; padding-right: 14px; border-top: 1px solid var(--line); color: var(--ink); }
}

/* Product category photo cards */
#app .category-tile { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:9px; min-width:0; }
#app .category-photo { position:relative; display:grid; place-items:center; width:100%; height:118px; overflow:hidden; border-radius:12px; background:#fff; }
#app .category-photo img { display:block; width:100%; height:100%; max-width:none!important; max-height:none!important; padding:5px; box-sizing:border-box; object-fit:contain; }
#app .category-photo .category-icon { position:absolute; inset:0; display:none; place-items:center; }
#app .category-photo.no-image .category-icon { display:grid; }
#app .category-photo.no-image img { display:none; }
#app .category-tile > strong { text-align:center; line-height:1.5; }
.nav-category-branch { display:grid; grid-template-columns:1fr; border-radius:9px; }
.nav-category-parent > a { display:flex; align-items:center; min-height:42px; padding:8px 12px; border-radius:8px; color:var(--ink); text-decoration:none; }
.nav-category-subgroup { margin:0 8px 8px; border-right:2px solid var(--line); }
.nav-category-subgroup summary { padding:7px 12px; color:var(--muted); cursor:pointer; list-style:none; }
.nav-category-subgroup summary::-webkit-details-marker { display:none; }
.nav-category-subgroup summary::before { content:"+"; display:inline-block; width:20px; color:var(--red); font-weight:700; }
.nav-category-subgroup[open] summary::before { content:"−"; }
.nav-category-children { display:grid; gap:2px; padding:0 12px 5px 0; }
.nav-category-children a { display:flex; align-items:center; min-height:36px; padding:6px 10px; border-radius:7px; color:var(--ink); text-decoration:none; }
.nav-category-branch a:hover, .nav-category-branch a:focus-visible, .nav-category-subgroup summary:hover { background:var(--soft,#f3f5f8); color:var(--red); }
@media(max-width:760px) {
  #app .category-photo { height:82px; border-radius:10px; }
  #app .category-photo-tablet, #app .category-photo-adapter, #app .category-photo-watch { height:124px; }
  #app .category-photo-tablet img, #app .category-photo-adapter img, #app .category-photo-watch img { object-fit:contain!important; object-position:center!important; padding:0; }
  #app .category-tile { gap:6px; }
  #app .category-tile > strong { font-size:12px; }
  .nav-category-parent > a { padding-right:14px; border-top:1px solid var(--line); }
  .nav-category-subgroup { margin-right:14px; }
}


/* Mobile feature cards: larger icons and balanced text layout. */
@media (max-width:760px) {
  #app>.feature-strip { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px 8px; }
  #app>.feature-strip .feature { min-width:0; min-height:122px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:12px 8px; text-align:center; }
  #app>.feature-strip .feature .feature-icon { display:grid; place-items:center; flex:0 0 48px; width:48px; height:48px; }
  #app>.feature-strip .feature .feature-icon svg { display:block; width:36px!important; height:36px!important; flex:none; }
  #app>.feature-strip .feature>div { min-width:0; }
  #app>.feature-strip .feature b { display:block; font-size:13px; line-height:1.55; }
  #app>.feature-strip .feature small { display:block; font-size:11px; line-height:1.65; }
}
/* Desktop header navigation order only; keep the mobile menu DOM order intact. */
@media (min-width: 761px) {
  .nav-inner > a[data-nav="home"] { order: 1; }
  .nav-inner > #navPhoneGroup { order: 2; }
  .nav-inner > #navAccessoryGroup { order: 3; }
  .nav-inner > a[data-nav="support"] { order: 4; }
  .nav-inner > a[data-nav="about"] { order: 5; }
  .nav-inner > a[data-nav="articles"] { order: 6; }
}


/* Phone brand shortcuts in the catalog */
.phone-brand-strip { display:flex; align-items:center; gap:10px; overflow-x:auto; padding:12px 2px 16px; margin:0 0 6px; scrollbar-width:thin; }
.phone-brand-chip { box-sizing:border-box; display:inline-flex; flex:0 0 116px; width:116px; height:46px; align-items:center; justify-content:center; overflow:hidden; border:1px solid var(--line); border-radius:14px; padding:0 8px; background:#fff; color:#171c24; font:inherit; font-size:14px; font-weight:800; line-height:1.3; white-space:nowrap; text-overflow:ellipsis; cursor:pointer; transition:background-color .18s ease,color .18s ease,border-color .18s ease; }
.phone-brand-chip:hover,.phone-brand-chip:focus-visible { border-color:var(--red); color:var(--red); outline:none; }
.phone-brand-chip.is-active { border-color:var(--red); background:var(--red); color:#fff; }
@media (max-width:760px) { .phone-brand-strip { gap:8px; margin-inline:-4px; padding:10px 4px 14px; } .phone-brand-chip { flex-basis:108px; width:108px; height:44px; font-size:13px; } }

/* Homepage category cards in the store navy and red palette. */
#app .home-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
#app .home-category-card{display:flex;min-width:0;min-height:274px;flex-direction:column;justify-content:space-between;gap:10px;padding:16px;overflow:hidden;border:1px solid #d8e3f0;border-radius:22px;background:linear-gradient(145deg,#f0f5fb,#dfe9f5 70%,#d5e2f1);box-shadow:0 7px 20px rgba(18,43,78,.12);transition:transform .2s,box-shadow .2s,border-color .2s}
#app .home-category-card:hover{transform:translateY(-4px);border-color:#9cb7d5;box-shadow:0 13px 28px rgba(18,43,78,.19)}
#app .home-category-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
#app .home-category-top strong{min-width:0;color:#17365d;font-size:15px;font-weight:800;line-height:1.6}
#app .home-category-link{flex:0 0 auto;padding:3px 11px;border:1px solid rgba(237,60,77,.16);border-radius:999px;background:rgba(255,255,255,.78);color:var(--red);font-size:11px;font-weight:700;line-height:1.8}
#app .home-category-media{position:relative;display:grid;width:100%;height:188px;place-items:center;overflow:hidden;border-radius:15px;background:rgba(255,255,255,.45)}
#app .home-category-media img{display:block;width:100%;height:100%;padding:7px;object-fit:contain}
#app .home-category-media img[alt="آداپتور و کابل شارژ"]{box-sizing:border-box;width:100%;height:100%;padding:0;object-fit:contain!important;object-position:center!important}
#app .home-category-media .category-icon{display:none}#app .home-category-media.no-image .category-icon{display:grid}
body[data-theme=dark] #app .home-category-card{border-color:#42658d;background:linear-gradient(150deg,#152f52,#21436d 70%,#2c537f)}
body[data-theme=dark] #app .home-category-top strong{color:#f5f8ff}body[data-theme=dark] #app .home-category-link{background:#fff}
@media(max-width:1050px){#app .home-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){#app .home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#app .home-category-card{min-height:226px;padding:12px;border-radius:17px}#app .home-category-top strong{font-size:13px}#app .home-category-link{padding-inline:8px;font-size:10px}#app .home-category-media{height:150px;border-radius:12px}}


/* Keep the store listing inside the viewport at every grid breakpoint. */
#app .listing-layout { width:100%; max-width:100%; min-width:0; grid-template-columns:minmax(0,240px) minmax(0,1fr); }
#app .listing-layout > *, #app .listing-layout .content-panel, #app .listing-layout .product-grid, #app .listing-layout .product-card { min-width:0; max-width:100%; }
#app .listing-layout .product-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media (max-width:900px) { #app .listing-layout .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { #app .listing-layout { grid-template-columns:minmax(0,1fr); } }
@media (max-width:640px) { #app .listing-layout .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }

#app .home-category-media img[alt="ساعت هوشمند"]{box-sizing:border-box;width:100%;height:100%;padding:0;object-fit:contain!important;object-position:center!important}

/* Category card title centered at top and view link centered at bottom */
#app .home-category-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr auto;align-items:stretch}
#app .home-category-top{display:contents}
#app .home-category-top strong{grid-row:1;width:100%;text-align:center}
#app .home-category-media{grid-row:2}
#app .home-category-link{grid-row:3;justify-self:center;align-self:end}

#app .home-category-media img[alt="تبلت"]{box-sizing:border-box;width:100%;height:100%;padding:0;object-fit:contain!important;object-position:center!important}


/* Requested button label color; existing button backgrounds remain intact. */
button,[role="button"],.primary-btn,.outline-btn,.soft-btn,.danger-btn,.cart-btn,.icon-btn{color:#D4D4D4!important}


/* Header palette: navy background with white labels and icons. */
.topline,
.header,
.nav {
  background: #12294A !important;
  color: #fff !important;
}
.topline-inner,
.header-inner { background: transparent !important; }
.header .brandmark,
.header .brandmark > span,
.header .brandmark small,
.header-actions .icon-btn,
.header-actions .icon-btn small,
.header-actions .cart-btn,
.header-actions .cart-btn span,
.header-inner .mobile-menu,
.nav-inner > a,
.nav-inner > a.active,
.nav-inner > a:hover,
.nav-category-toggle { color: #fff !important; }

/* Slightly wider homepage category cards on desktop and mobile. */
#app .home-category-grid { margin-inline: -6px; gap: 10px; }
@media (max-width: 650px) {
  #app .home-category-grid { margin-inline: -4px; gap: 8px; }
}

/* Site-wide blue, slate and warm beige palette */
:root {
  --ink: #001F3F !important;
  --muted: #3A6D8C !important;
  --line: #6A9AB0 !important;
  --paper: #EAD8B1 !important;
  --bg: #EAD8B1 !important;
  --red: #001F3F !important;
  --red2: #3A6D8C !important;
  --gold: #EAD8B1 !important;
}
body, body[data-theme="dark"] { background: #EAD8B1 !important; color: #001F3F !important; }
.topline, .header, .nav, .footer,
body[data-theme="dark"] .topline, body[data-theme="dark"] .header,
body[data-theme="dark"] .nav, body[data-theme="dark"] .footer {
  background: #001F3F !important; color: #fff !important; border-color: #3A6D8C !important;
}
.topline a, .topline-inner, .header-inner, .nav-inner,
.header .brandmark, .header .brandmark > *, .header .icon-btn,
.header .icon-btn *, .header .cart-btn, .header .cart-btn *,
.header .mobile-menu, .nav-inner a, .nav-category-toggle,
.footer, .footer a, .footer p, .footer small {
  color: #fff !important;
}
#app > .section, #app > .section:nth-of-type(even),
#app > .feature-strip, #app .home-category-card,
body[data-theme="dark"] #app > .section,
body[data-theme="dark"] #app > .section:nth-of-type(even),
body[data-theme="dark"] #app > .feature-strip {
  background: #EAD8B1 !important; border-color: #6A9AB0 !important; color: #001F3F !important;
}
#app .section-head h2, #app .section-head p, #app .section-head .text-link,
#app .home-category-top strong, #app .home-category-title,
#app .category-tile strong, #app .product-title, #app .product-brand,
#app .price, #app .info-page, #app .section p {
  color: #001F3F !important;
}
#app .text-link, #app .section-head .text-link, #app .product-brand,
#app .price, #app .home-category-link { color: #3A6D8C !important; }
#app .hero-main, #app .info-hero {
  background: linear-gradient(118deg, #001F3F 0%, #3A6D8C 58%, #6A9AB0 100%) !important;
  border-color: #3A6D8C !important;
}
#app .hero-main *, #app .info-hero, #app .info-hero h1,
#app .info-hero p, #app .info-hero .info-kicker { color: #fff !important; }
#app .hero-main .primary-btn, #app .info-hero-actions a:not(.info-hero-secondary),
.primary-btn, .searchbox button, #app .add-small, #app .slider-arrow,
.header .cart-btn, .header .icon-btn, .theme-picker {
  background: #001F3F !important; color: #EAD8B1 !important; border-color: #3A6D8C !important;
}
#app .hero-main .primary-btn:hover, .primary-btn:hover, .searchbox button:hover,
#app .add-small:hover, #app .slider-arrow:hover {
  background: #3A6D8C !important; color: #fff !important;
}
.searchbox, .theme-picker, #app .category-tile, #app .product-card,
body[data-theme="dark"] .searchbox, body[data-theme="dark"] #app .category-tile,
body[data-theme="dark"] #app .product-card {
  background: #fff !important; color: #001F3F !important; border-color: #6A9AB0 !important;
}
.searchbox input, .theme-picker select { color: #001F3F !important; }
#app .category-icon, #app .feature-icon { background: #6A9AB0 !important; color: #001F3F !important; }
#app .home-category-media { background: #fff !important; }
.header .cart-btn { background: #3A6D8C !important; color: #EAD8B1 !important; }
.header .icon-btn, .header .searchbox button { background: transparent !important; border-color: transparent !important; color: #EAD8B1 !important; }
.header .searchbox input { color: #fff !important; }
.header .searchbox input::placeholder { color: #EAD8B1 !important; }
.outline-btn, .soft-btn, .danger-btn { background: #001F3F !important; color: #EAD8B1 !important; border-color: #3A6D8C !important; }

/* Header and page background refinements requested on 2026-11-04 */
html, body, #app, #app > .section, #app > .feature-strip { background-color: #fff !important; }
@media (min-width: 761px) {
  .header-inner { position: relative; }
  .header-inner .searchbox {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: clamp(230px, 25vw, 310px); max-width: 310px; height: 38px;
    box-sizing: border-box; background: #fff !important; border: 1px solid #d4d4d4 !important;
    border-radius: 10px; box-shadow: none !important;
  }
  .header-inner .searchbox input { min-width: 0; font-size: 12px !important; color: #666 !important; }
  .header-inner .searchbox input::placeholder { color: #888 !important; opacity: 1; }
  .header-inner .searchbox > span, .header-inner .searchbox button,
  .header-inner .searchbox button svg { color: #888 !important; stroke: #888 !important; }
  .nav-inner { justify-content: center !important; }
}
.header .cart-btn, .header .cart-btn:hover {
  background: transparent !important; border-color: transparent !important;
  box-shadow: none !important; color: #fff !important;
}
.header .cart-btn .cart-symbol { stroke: currentColor !important; }
.header .header-actions .account-trigger,
.header .header-actions .account-trigger small { color: #fff !important; }
.header .header-actions .account-trigger { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
.nav-inner > a[data-nav="home"] { display: inline-flex; }
body.is-home-page .nav-inner > a[data-nav="home"] { display: none !important; }
.nav-category-items { background: #fff !important; color: #000 !important; }
.nav-category-items a, .nav-category-items .nav-category-parent > a,
.nav-category-items .nav-category-subgroup summary,
.nav-category-items .nav-category-children a { color: #000 !important; }
.nav-category-items a:hover, .nav-category-items a:focus-visible { background: #f1f3f5 !important; color: #000 !important; }
@media (max-width: 760px) {
  .mobile-searchbox { color: #fff !important; }
  .mobile-search-row { background: #fff !important; }
  .mobile-search-row input { font-size: 12px !important; color: #666 !important; }
  .mobile-search-row input::placeholder { color: #888 !important; opacity: 1; }
  .mobile-search-row button, .mobile-search-row svg { color: #888 !important; stroke: #888 !important; }
  .nav-category-items { background: #fff !important; }
  .nav-category-items a, .nav-category-subgroup summary { color: #000 !important; }
}

/* Keep the storefront canvas white in both theme modes. */
html, body, body[data-theme="dark"], #app,
#app > .section, #app > .section:nth-of-type(even),
#app > .feature-strip, #app .home-category-card {
  background: #fff !important;
}

/* Navy, warm gold, and navy-to-purple-to-white palette requested 2026-11-04 */
:root {
  --ink: #000000 !important;
  --muted: #333333 !important;
  --line: #d4d4d4 !important;
  --paper: #ffffff !important;
  --bg: #ffffff !important;
  --red: #001f3f !important;
  --red2: #eab15d !important;
  --gold: #eab15d !important;
}
html, body, body[data-theme="dark"], #app,
#app > .section, #app > .section:nth-of-type(even), #app > .feature-strip,
#app .home-category-card, #app .home-category-media,
#app .category-tile, #app .product-card {
  background: #ffffff !important;
  color: #000000 !important;
}
#app .section, #app .section h1, #app .section h2, #app .section h3,
#app .section p, #app .section a, #app .category-tile *,
#app .product-card *, #app .home-category-card *,
#app .feature-strip, #app .feature-strip * {
  color: #000000;
}
.topline, .topline-inner, .header, .header-inner, .nav, .nav-inner, .footer {
  background: #001f3f !important;
  color: #ffffff !important;
  border-color: #001f3f !important;
}
.topline *, .header *, .nav *, .footer, .footer *,
.topline a, .nav-inner a, .header .brandmark, .header .icon-btn,
.header .cart-btn, .header .header-actions .account-trigger,
.header .header-actions .account-trigger small {
  color: #ffffff !important;
}
.header svg, .nav svg, .topline svg, .footer svg {
  color: #ffffff !important;
  stroke: currentColor;
}
.header .cart-btn, .header .cart-btn:hover, .header .header-actions .account-trigger {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.nav-category-items, .nav-category-items * {
  background-color: #ffffff !important;
  color: #000000 !important;
}
.nav-category-items a:hover, .nav-category-items a:focus-visible {
  background: #f4f4f4 !important;
  color: #000000 !important;
}
#app .hero-main, #app .info-hero {
  background: linear-gradient(to left, #001f3f 0%, #4b356b 62%, #ffffff 100%) !important;
  color: #ffffff !important;
}
#app .hero-main h1, #app .hero-main h2, #app .hero-main p,
#app .hero-main .hero-copy, #app .info-hero, #app .info-hero * {
  color: #ffffff !important;
}
.primary-btn, .outline-btn, .soft-btn, .danger-btn,
#app .hero-main .primary-btn, #app .info-hero-actions a,
#app .add-small, #app .slider-arrow {
  background: #eab15d !important;
  border-color: #eab15d !important;
  color: #000000 !important;
}
.primary-btn *, .outline-btn *, .soft-btn *, .danger-btn *,
#app .hero-main .primary-btn *, #app .info-hero-actions a *,
#app .add-small *, #app .slider-arrow * {
  color: #000000 !important;
  stroke: currentColor;
}
#app .category-icon, #app .feature-icon, #app .product-badge,
#app .home-category-link {
  background: #eab15d !important;
  border-color: #eab15d !important;
  color: #000000 !important;
}
#app .category-icon *, #app .feature-icon *, #app .home-category-link * {
  color: #000000 !important;
  stroke: currentColor;
}
#app .product-price, #app .price, #app .product-brand,
#app .category-tile strong, #app .section-kicker {
  color: #001f3f !important;
}
.searchbox, .theme-picker, .searchbox input, .mobile-search-row,
.mobile-search-row input, .theme-picker select,
#app input, #app select, #app textarea {
  background: #ffffff !important;
  color: #000000 !important;
  border-color: #d4d4d4 !important;
}
.searchbox input::placeholder, .mobile-search-row input::placeholder {
  color: #777777 !important;
  opacity: 1;
}
.header-inner .searchbox > span, .header-inner .searchbox button,
.header-inner .searchbox button svg, .mobile-search-row button,
.mobile-search-row svg {
  color: #777777 !important;
  stroke: #777777 !important;
}

/* Keep dark text on the light search surface and light surfaces generally. */
#app .product-price, #app .price, #app .product-brand,
#app .category-tile strong, #app .section-kicker,
.searchbox input::placeholder, .mobile-search-row input::placeholder,
.header-inner .searchbox > span, .header-inner .searchbox button,
.header-inner .searchbox button svg, .mobile-search-row button,
.mobile-search-row svg {
  color: #000000 !important;
  stroke: #000000 !important;
}
#app .info-hero {
  background: linear-gradient(110deg, #001f3f 0%, #4b356b 100%) !important;
}

/* Header cart count: transparent badge, white number, tighter spacing */
.header .cart-btn { gap: 5px !important; }
.header .cart-btn #cartCount {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Polished hero; the phone asset and existing tilt animation remain unchanged. */
#app>.hero{padding:26px 0 20px}
#app .hero-main{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.16fr) minmax(220px,.84fr);align-items:center;min-height:386px;padding:38px 6.5%;overflow:hidden;border:1px solid rgba(255,255,255,.66);border-radius:30px;background:linear-gradient(90deg,#f4f1fa 0%,#fff 28%,#513a72 48%,#001f3f 100%)!important;box-shadow:0 24px 54px rgba(0,31,63,.18),0 4px 14px rgba(48,37,78,.08)}
#app .hero-main:before{content:"";position:absolute;z-index:-1;width:470px;height:470px;left:-105px;top:50%;transform:translateY(-50%);border:1px solid rgba(58,109,140,.13);border-radius:50%;box-shadow:0 0 0 34px rgba(58,109,140,.045),0 0 0 76px rgba(58,109,140,.035);pointer-events:none}
#app .hero-copy{max-width:570px;padding:8px 0}
#app .hero .eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 13px;border:1px solid rgba(234,177,93,.38);border-radius:999px;background:rgba(234,177,93,.13);color:#f3c477!important;font-size:12px;font-weight:700}
#app .hero .eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:#eab15d;box-shadow:0 0 0 4px rgba(234,177,93,.14)}
#app .hero h1{max-width:500px;margin:18px 0 10px;color:#fff!important;font-size:clamp(30px,3.3vw,43px);font-weight:850;line-height:1.55;letter-spacing:-.6px;text-wrap:balance}
#app .hero p{max-width:440px;margin:0 0 25px;color:rgba(255,255,255,.82)!important;font-size:14px;line-height:2.05}
#app .hero .primary-btn{min-height:47px;padding:11px 21px;border:1px solid #f0bf72!important;border-radius:12px;background:linear-gradient(135deg,#f2c477,#eab15d)!important;color:#001f3f!important;box-shadow:0 10px 24px rgba(234,177,93,.24);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
#app .hero .primary-btn:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(234,177,93,.32);filter:brightness(1.03)}
#app .hero-phone{position:relative;justify-self:center;width:clamp(220px,25vw,300px);height:clamp(290px,32vw,360px);overflow:visible;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;transform:none;isolation:isolate}
#app .hero-phone:before{content:"";position:absolute;z-index:-1;inset:13% 9%;border-radius:50%;background:radial-gradient(ellipse,#fff 0%,rgba(234,228,245,.72) 48%,transparent 74%);filter:blur(5px)}
#app .hero-phone:after{display:none}
#app .hero-phone img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:760px){
 #app>.hero{padding:16px 0 13px}
 #app .hero-main{grid-template-columns:minmax(0,1.12fr) minmax(120px,.88fr);gap:0;min-height:268px;padding:21px 15px;border-radius:23px;background:linear-gradient(90deg,#f4f1fa 0%,#fff 31%,#513a72 50%,#001f3f 100%)!important;box-shadow:0 15px 34px rgba(0,31,63,.16)}
 #app .hero-main:before{width:290px;height:290px;left:-94px;box-shadow:0 0 0 22px rgba(58,109,140,.04),0 0 0 46px rgba(58,109,140,.025)}
 #app .hero-copy{padding:3px 0}#app .hero .eyebrow{gap:7px;padding:6px 9px;font-size:10px}#app .hero .eyebrow:before{width:6px;height:6px}
 #app .hero h1{margin:12px 0 7px;font-size:clamp(21px,5.4vw,29px);line-height:1.55;letter-spacing:0}#app .hero p{margin-bottom:15px;font-size:11px;line-height:1.9}
 #app .hero .primary-btn{min-height:40px;padding:8px 13px;border-radius:10px;gap:6px;font-size:11px}#app .hero-phone{width:clamp(126px,38vw,178px);height:clamp(190px,54vw,226px)}
}
@media(max-width:390px){#app .hero-main{grid-template-columns:minmax(0,1.08fr) minmax(108px,.92fr);padding:17px 12px;min-height:246px}#app .hero .eyebrow{font-size:9px}#app .hero h1{font-size:20px}#app .hero p{font-size:10px}#app .hero-phone{width:128px;height:184px}}


/* Navy carousel slides, refined feature benefits, and palette-matched actions. */
#app>.feature-strip{display:grid;gap:12px;padding:16px;background:#f8fafc!important;border:1px solid #dce5ed!important;border-radius:20px;box-shadow:0 12px 30px rgba(0,31,63,.08)}
#app>.feature-strip .feature{min-width:0;padding:13px 15px;border:1px solid #e3eaf0;border-radius:15px;background:#fff;box-shadow:0 5px 15px rgba(0,31,63,.045);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
#app>.feature-strip .feature:hover{transform:translateY(-2px);border-color:#6a9ab0;box-shadow:0 9px 20px rgba(0,31,63,.09)}
#app>.feature-strip .feature b,#app>.feature-strip .feature small{color:#001f3f!important}
#app>.feature-strip .feature-icon{display:grid;place-items:center;flex:none;background:transparent!important;border:0!important;box-shadow:none!important;color:#3a6d8c!important}
#app>.feature-strip .feature-icon svg{stroke:currentColor}
.primary-btn,#app .hero .primary-btn,#app .add-small,#app .slider-arrow,.searchbox button{background:linear-gradient(125deg,#001f3f 0%,#244f70 62%,#3a6d8c 100%)!important;border:1px solid #6a9ab0!important;color:#fff!important;box-shadow:0 7px 18px rgba(0,31,63,.2);transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.primary-btn:hover,#app .hero .primary-btn:hover,#app .add-small:hover,#app .slider-arrow:hover,.searchbox button:hover{background:linear-gradient(125deg,#12395c,#3a6d8c 72%,#6a9ab0)!important;box-shadow:0 10px 22px rgba(0,31,63,.25);filter:brightness(1.04)}
#app .product-slider>.product-card{background:linear-gradient(145deg,#001f3f,#12395c 72%,#1c4b6c)!important;border-color:#3a6d8c!important;color:#fff!important;box-shadow:0 10px 24px rgba(0,31,63,.17)}
#app .product-slider>.product-card:hover{border-color:#ead8b1!important;box-shadow:0 15px 30px rgba(0,31,63,.24)}
#app .product-slider>.product-card .product-title{color:#fff!important}
#app .product-slider>.product-card .product-brand,#app .product-slider>.product-card .price{color:#ead8b1!important}
#app .product-slider>.product-card .old-price{color:rgba(255,255,255,.68)!important}
#app .product-slider>.product-card .product-photo{background:#fff!important;border:1px solid rgba(255,255,255,.72)}
@media(max-width:760px){#app>.feature-strip{gap:9px;padding:11px;border-radius:16px}#app>.feature-strip .feature{padding:10px 7px;border-radius:13px}}


/* Cart count: smaller and anchored to the cart icon edge. */
.header .cart-btn { position: relative !important; }
.header .cart-btn #cartCount {
  position: absolute !important;
  top: -5px !important;
  right: -4px !important;
  z-index: 2;
  min-width: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
  white-space: nowrap;
}


/* Slightly more breathing room below the desktop header menu. */
@media (min-width: 761px) {
  .nav { padding-bottom: 8px !important; }
}


/* Cart count only: compact gray dot over the icon's upper-left edge. */
.header .cart-btn #cartCount {
  top: -1px !important;
  right: 18px !important;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #59616a !important;
  color: #fff !important;
  font-size: 8px !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

/* Soft gray divider between the service strip and the main header row. */
.header {
  border-top: 1px solid #D4D4D4 !important;
}

/* Navy header treatment for homepage product slider sections. */
#app > .home-product-section .section-head {
  background: #001f3f !important;
  border: 0 !important;
  border-radius: 14px;
  padding: 12px 16px !important;
}
#app > .home-product-section .section-head h2,
#app > .home-product-section .section-head p,
#app > .home-product-section .section-head .text-link {
  color: #fff !important;
}
#app > .home-product-section .section-head h2:before {
  background: #EAD8B1 !important;
}
/* Compact 3-slide hero */
#app>.hero-carousel{padding:16px 0 12px}
#app .hero-carousel .hero-main{position:relative;height:310px;min-height:310px;padding:0;overflow:hidden;border:0;border-radius:22px;background:#001f3f;box-shadow:0 14px 32px #001f3f26}
#app .hero-slides,#app .hero-slide{position:absolute;inset:0}
#app .hero-slide{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.82fr);align-items:center;gap:12px;padding:22px 7%;opacity:0;visibility:hidden;transform:translateX(14px);transition:opacity .35s,transform .35s,visibility .35s}
#app .hero-slide.is-active{opacity:1;visibility:visible;transform:translateX(0)}
#app .hero-slide--phone{background:radial-gradient(ellipse at 78% 52%,#6a9ab066,transparent 44%),linear-gradient(112deg,#001f3f 4%,#182b58 62%,#513875)}
#app .hero-slide--accessories{background:radial-gradient(ellipse at 78% 48%,#eab15d38,transparent 46%),linear-gradient(112deg,#001f3f,#263d70 66%,#3a6d8c)}
#app .hero-slide--party{background:radial-gradient(ellipse at 78% 48%,#6a9ab055,transparent 46%),linear-gradient(112deg,#001f3f,#342b67 68%,#684782)}
#app .hero-slide-copy{position:relative;z-index:1;max-width:560px;color:white}
#app .hero-slide-copy h1,#app .hero-slide-copy h2{margin:0 0 10px;color:white;font-size:clamp(25px,3.2vw,40px);line-height:1.4;font-weight:800}
#app .hero-slide-copy p{margin:0;color:#ffffffdb;font-size:15px;line-height:1.9}
#app .hero-slide-copy .hero-kicker{display:block;margin-bottom:8px;color:#eab15d;font-size:13px;font-weight:700}
#app .hero-slide-visual{display:flex;align-items:center;justify-content:center;min-width:0;height:280px}
#app .hero-slide-visual img{display:block;width:min(100%,300px);height:280px;object-fit:contain;filter:drop-shadow(0 14px 20px #0003)}
#app .hero-controls{position:absolute;z-index:3;bottom:14px;left:50%;display:flex;align-items:center;gap:9px;transform:translateX(-50%)}
#app .hero-dots{display:flex;align-items:center;gap:7px}
#app .hero-dots button{width:8px;height:8px;padding:0;border:0;border-radius:8px;background:#ffffff80;cursor:pointer;transition:width .2s}
#app .hero-dots button.is-active{width:23px;background:#eab15d}
#app .hero-nav{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #ffffff55;border-radius:50%;background:#0002;color:white;font-size:20px;cursor:pointer}
@media(max-width:760px){#app>.hero-carousel{padding:12px 0 8px}#app .hero-carousel .hero-main{height:250px;min-height:250px;border-radius:17px}#app .hero-slide{grid-template-columns:minmax(0,1.04fr) minmax(140px,.96fr);gap:2px;padding:15px 5% 24px}#app .hero-slide-copy h1,#app .hero-slide-copy h2{font-size:clamp(20px,5vw,27px);margin-bottom:7px}#app .hero-slide-copy p{font-size:11px;line-height:1.75}#app .hero-slide-copy .hero-kicker{font-size:10px;margin-bottom:5px}#app .hero-slide-visual{height:218px}#app .hero-slide-visual img{width:min(100%,220px);height:218px}#app .hero-controls{bottom:8px;gap:7px}#app .hero-nav{width:26px;height:26px;font-size:17px}}
@media(max-width:390px){#app .hero-carousel .hero-main{height:238px;min-height:238px}#app .hero-slide{grid-template-columns:minmax(0,1fr) minmax(122px,.9fr);padding-inline:4%}#app .hero-slide-visual,#app .hero-slide-visual img{height:202px}#app .hero-slide-copy h1,#app .hero-slide-copy h2{font-size:19px}}
@media(max-width:760px){#app .hero-slide{grid-template-columns:minmax(0,.78fr) minmax(150px,1.22fr)}}
@media(max-width:390px){#app .hero-slide{grid-template-columns:minmax(0,.7fr) minmax(150px,1.3fr)}}

/* Floating back-to-top control, matching the circular reference icon. */
.back-to-top {
  position: fixed;
  z-index: 1100;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f7f7f7;
  color: #252525;
  box-shadow: 0 2px 12px #0003;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:focus-visible { outline: 3px solid #eab15d; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* Navy category view buttons with white labels. */
#app .home-category-link {
  background: #001f3f !important;
  border-color: #001f3f !important;
  color: #fff !important;
}
#app .home-category-link *,
#app .home-category-link:hover,
#app .home-category-link:focus-visible {
  color: #fff !important;
}
#app .home-category-link:hover,
#app .home-category-link:focus-visible {
  background: #3a6d8c !important;
  border-color: #3a6d8c !important;
}

/* Benefit strip: compact service guarantees inspired by the reference */
#app>.feature-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;gap:12px;margin:0 0 22px;padding:24px 14px;background:#fff!important;border:0!important;border-radius:0;box-shadow:none!important;color:#162f50}
#app>.feature-strip .feature{min-width:0;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:4px 8px;text-align:center}
#app>.feature-strip .feature .feature-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;background:transparent!important;color:#263c57!important;border-radius:0}
#app>.feature-strip .feature .feature-icon svg{display:block;width:42px!important;height:42px!important;flex:none}
#app>.feature-strip .feature b{display:block;color:#183454!important;font-size:12px;line-height:1.7;font-weight:500}
@media(max-width:900px){#app>.feature-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}}
@media(max-width:600px){#app>.feature-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;margin-bottom:16px;padding:14px 4px}#app>.feature-strip .feature{min-height:88px;gap:7px;padding:5px 3px}#app>.feature-strip .feature .feature-icon{flex-basis:38px;width:38px;height:38px}#app>.feature-strip .feature .feature-icon svg{width:36px!important;height:36px!important}#app>.feature-strip .feature b{font-size:10px;line-height:1.6}}


/* Tablet category image: preserve the full portrait artwork in a taller frame. */
#app .home-category-media:has(img[alt="تبلت"]){height:220px}
#app .home-category-media img[alt="تبلت"]{display:block;width:100%;height:100%;padding:0;object-fit:contain!important;object-position:center!important}
@media(max-width:650px){#app .home-category-media:has(img[alt="تبلت"]){height:170px}}
/* Navy and white treatment for the special offer badge on product cards. */
#app .product-tag { background: #001f3f !important; color: #fff !important; }
/* Clearer, slightly smaller back-to-top control. */
.back-to-top { width: 46px; height: 46px; border: 2.5px solid #001f3f; color: #001f3f; box-shadow: 0 2px 12px #0004; }
.back-to-top svg { width: 21px; height: 21px; stroke: #001f3f; stroke-width: 2.6; }
/* Subcategory menu links: black normally, navy on hover/focus. */
.nav-category-items a, .nav-category-branch a, .nav-category-subgroup summary { color: #000 !important; }
.nav-category-items a:hover, .nav-category-items a:focus-visible, .nav-category-branch a:hover, .nav-category-branch a:focus-visible, .nav-category-subgroup summary:hover { color: #001f3f !important; }


/* Cascading category submenus without plus/minus markers. */
@media (min-width: 761px) {
  .nav-category-items { overflow: visible; }
  .nav-category-subgroup { position: relative; margin: 0; border-right: 0; }
  .nav-category-subgroup > summary { display: flex; align-items: center; min-height: 42px; padding: 8px 12px; border-radius: 8px; }
  .nav-category-subgroup > summary::before { content: none !important; display: none !important; }
  .nav-category-subgroup > summary::marker { content: ""; }
  .nav-category-children { display: none; position: absolute; z-index: 32; top: 0; right: 100%; min-width: 210px; max-height: min(65vh, 440px); overflow-y: auto; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: #000; box-shadow: 0 12px 32px rgba(12, 35, 69, .16); }
  .nav-category-subgroup:hover > .nav-category-children,
  .nav-category-subgroup:focus-within > .nav-category-children,
  .nav-category-subgroup[open] > .nav-category-children { display: grid; }
  .nav-category-children a { min-height: 42px; padding: 8px 12px; }
}
@media (max-width: 760px) {
  .nav-category-subgroup > summary::before { content: none !important; display: none !important; }
  .nav-category-subgroup > summary::marker { content: ""; }
}

/* Restore the navy product cards and white product text across grids and sliders. */
#app .product-card {
  background: #001f3f !important;
  border-color: #3a6d8c !important;
  color: #fff !important;
}
#app .product-card .product-brand,
#app .product-card .product-title,
#app .product-card .price,
#app .product-card .product-price,
#app .product-card .old-price,
#app .product-card a,
#app .product-card small,
#app .product-card strong,
#app .product-card span {
  color: #fff !important;
}
#app .product-card .product-photo {
  background: #fff !important;
}


/* Distinct palette colors for the five store benefit icons. */
#app>.feature-strip .feature:nth-child(1) .feature-icon svg,
#app>.feature-strip .feature:nth-child(1) .feature-icon svg * { stroke: #eab15d !important; }
#app>.feature-strip .feature:nth-child(2) .feature-icon svg,
#app>.feature-strip .feature:nth-child(2) .feature-icon svg * { stroke: #3a6d8c !important; }
#app>.feature-strip .feature:nth-child(3) .feature-icon svg,
#app>.feature-strip .feature:nth-child(3) .feature-icon svg * { stroke: #7652a5 !important; }
#app>.feature-strip .feature:nth-child(4) .feature-icon svg,
#app>.feature-strip .feature:nth-child(4) .feature-icon svg * { stroke: #268567 !important; }
#app>.feature-strip .feature:nth-child(5) .feature-icon svg,
#app>.feature-strip .feature:nth-child(5) .feature-icon svg * { stroke: #df7838 !important; }

/* Compact, aligned homepage category cards; keep every image fully visible. */
#app .home-category-card{box-sizing:border-box;min-height:232px;padding:12px;gap:7px}
#app .home-category-media,#app .home-category-media:has(img[alt="تبلت"]){box-sizing:border-box;height:145px!important;min-height:145px;align-self:center}
#app .home-category-media img[alt="تبلت"]{display:block;width:100%;height:100%;padding:0;object-fit:contain!important;object-position:center!important}
@media(max-width:650px){
  #app .home-category-card{min-height:190px;padding:9px;gap:6px}
  #app .home-category-media,#app .home-category-media:has(img[alt="تبلت"]){height:112px!important;min-height:112px}
}


/* Static multi-row phone brand labels: no horizontal carousel. */
.phone-brand-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(116px,1fr));align-items:stretch;gap:10px;overflow:visible;padding:12px 2px 16px;scrollbar-width:none}
.phone-brand-chip{width:100%;min-width:0;flex:none;color:#111827;font-weight:900;text-shadow:0 0 0 currentColor}
@media(max-width:760px){.phone-brand-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-inline:0;padding:10px 0 14px}.phone-brand-chip{width:100%;height:44px;font-size:13px}}

/* Ensure every homepage category image is shown in full without cropping. */
#app .home-category-media img{box-sizing:border-box!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;padding:0!important;object-fit:contain!important;object-position:center!important}


/* Make the five benefit card borders easier to see. */
#app>.feature-strip .feature{border-color:#a7b8c8!important}


/* Consistent frames and sizing for phone brand logos. */
.phone-brand-chip{box-sizing:border-box;height:78px!important;min-height:78px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 8px!important;text-align:center}
.phone-brand-logo{box-sizing:border-box;width:82px;height:42px;flex:0 0 42px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.phone-brand-logo img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center}
.phone-brand-name{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.2}
@media(max-width:760px){.phone-brand-chip{height:74px!important;min-height:74px}.phone-brand-logo{width:68px;height:38px;flex-basis:38px}.phone-brand-name{font-size:11px}}

/* Googlekala-inspired compact category cards */
#app .home-categories-section {
  padding: 22px clamp(12px, 2vw, 28px);
  border: 1px solid #e7e9ed;
  border-radius: 18px;
  background: #fff;
}
#app .home-categories-section > h2,
#app .home-categories-section .section-title {
  margin: 0 0 16px;
  color: #001f3f;
  text-align: center;
}
#app .home-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
#app .home-category-card {
  box-sizing: border-box;
  min-width: 0;
  min-height: 208px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  border: 1px solid #e8ebf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(0,31,63,.07);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#app .home-category-card:hover {
  transform: translateY(-3px);
  border-color: #6a9ab0;
  box-shadow: 0 9px 22px rgba(0,31,63,.12);
}
#app .home-category-card h3,
#app .home-category-card .home-category-title {
  width: 100%;
  margin: 0;
  color: #001f3f;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}
#app .home-category-media {
  box-sizing: border-box;
  width: 100%;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f6f8;
}
#app .home-category-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
#app .home-category-card .btn,
#app .home-category-card a.home-category-link {
  min-width: 102px;
  min-height: 34px;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #001f3f;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
@media (max-width: 900px) {
  #app .home-categories-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #app .home-categories-section { padding: 15px 10px; border-radius: 14px; }
  #app .home-categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  #app .home-category-card { min-height: 176px; padding: 9px; gap: 8px; border-radius: 13px; }
  #app .home-category-card h3,
  #app .home-category-card .home-category-title { font-size: 13px; }
  #app .home-category-media { height: 92px; }
  #app .home-category-card .btn,
  #app .home-category-card a.home-category-link { min-height: 31px; }
}

/* Match the live category markup: title first, image, then action. */
#app .home-category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
#app .home-category-card { display: flex; }
#app .home-category-top { display: contents; }
#app .home-category-top > strong {
  order: 0;
  width: 100%;
  color: #001f3f;
  text-align: center;
  font-size: 15px;
}
#app .home-category-media { order: 1; }
#app .home-category-link {
  order: 2;
  min-width: 102px;
  min-height: 34px;
  padding: 6px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #001f3f;
  color: #fff;
  font-size: 13px;
}
@media (max-width: 900px) {
  #app .home-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #app .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  #app .home-category-top > strong { font-size: 13px; }
  #app .home-category-media { height: 92px; }
}

/* Product detail refresh */
#app .product-detail{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:clamp(20px,3vw,38px);align-items:start;padding:clamp(16px,2.4vw,30px);border:1px solid #e5e9ef;border-radius:24px;background:#fff;box-shadow:0 16px 44px rgba(0,31,63,.09)}
#app .product-detail .detail-image{position:static;min-height:460px;border:1px solid #e8edf2;border-radius:22px;background:radial-gradient(ellipse at 50% 45%,#fff 0%,#fff 42%,#f2f5f8 100%);box-shadow:inset 0 1px 0 #fff,0 8px 24px rgba(0,31,63,.055)}
#app .product-detail .detail-image img{width:100%;height:460px;padding:clamp(18px,3vw,34px);object-fit:contain;transition:transform .25s ease}
#app .product-detail .detail-image:hover img{transform:scale(1.025)}
#app .product-detail>div:last-child{min-width:0;padding:4px 2px}
#app .product-detail .detail-brand{display:inline-flex;align-items:center;min-height:30px;padding:3px 12px;border:1px solid #e8d8bd;border-radius:999px;background:#fbf7ef;color:#76552b;font-size:12px;font-weight:800}
#app .product-detail .detail-title{margin:12px 0 9px;color:#001f3f;font-size:clamp(22px,2.1vw,29px);font-weight:850;line-height:1.75}
#app .product-detail .detail-rating{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border:1px solid #f0dfbd;border-radius:999px;background:#fffaf0;color:#76552b;font-size:12px;font-weight:750}
#app .product-detail .detail-description{margin:16px 0;padding:13px 15px;border:1px solid #e8edf2;border-right:3px solid #eab15d;border-radius:12px;background:#f8fafc;color:#34465a;line-height:1.9}
#app .product-detail .variant-label{display:flex;align-items:center;gap:9px;margin:20px 0 11px;color:#001f3f;font-weight:800}
#app .product-detail .variant-label:before{width:4px;height:19px;border-radius:5px;background:#eab15d;content:""}
#app .product-detail .variant-list{gap:10px}
#app .product-detail .variant-option{min-height:68px;padding:12px 14px;border:1px solid #dfe6ed;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(0,31,63,.045);transition:.18s ease}
#app .product-detail .variant-option b{color:#001f3f}
#app .product-detail .variant-option:hover{transform:translateY(-1px);border-color:#6a9ab0;background:#f5f9fb}
#app .product-detail .variant-option.selected{border-color:#001f3f;background:#001f3f;color:#fff}
#app .product-detail .variant-option.selected b,#app .product-detail .variant-option.selected small{color:#fff}
#app .product-detail .variant-option small{display:block;margin-top:7px;font-size:14px;font-weight:750}
#app .product-detail .detail-buy{display:flex;justify-content:flex-start;margin-top:20px}
#app .product-detail .detail-buy .primary-btn{min-height:46px;padding-inline:24px;border:0;border-radius:11px;background:#001f3f;color:#fff;font-weight:800}
#app .product-detail .detail-buy .primary-btn:hover{background:#123d62}
#app .product-detail .detail-buy .primary-btn:disabled{opacity:.58}
#app .product-detail .stock-note{margin-top:10px;padding:9px 12px;border:1px solid #d8eadf;border-radius:10px;background:#f2faf5;color:#256342}
#app .product-detail .wishlist-btn{border:1px solid #dfe6ed;border-radius:11px;background:#fff;color:#001f3f}
#app .detail-specs{border:1px solid #e5e9ef;border-radius:18px;box-shadow:0 8px 24px rgba(0,31,63,.055)}
@media(max-width:760px){#app .product-detail{grid-template-columns:minmax(0,1fr);gap:18px;padding:14px;border-radius:18px}#app .product-detail .detail-image{position:static;min-height:320px;border-radius:16px}#app .product-detail .detail-image img{height:320px;padding:20px}#app .product-detail>div:last-child{padding:0 2px}#app .product-detail .detail-title{font-size:21px}#app .product-detail .detail-buy .primary-btn{width:100%}}
@media(max-width:420px){#app .product-detail .variant-list{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){#app .product-detail .detail-image img{transition:none}}

/* Phone brands: two balanced desktop rows, clearer labels, and blended logo backgrounds. */
.phone-brand-strip{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.phone-brand-chip{color:#080d18!important}
.phone-brand-logo{width:92px;height:46px;flex-basis:46px}
.phone-brand-logo img[src*="Realme.jpg"],.phone-brand-logo img[src*="Daria%20Bond.png"]{mix-blend-mode:multiply}
.phone-brand-name{color:#080d18;font-size:13px;font-weight:900}
@media(max-width:760px){.phone-brand-strip{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.phone-brand-logo{width:76px;height:40px;flex-basis:40px}.phone-brand-name{font-size:12px}}

/* Digikala mobile listing inspiration: clearer hierarchy and calmer product cards,
   adapted to Radan's existing navy, white, and warm-gold palette. */
#app .section-head {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7edf2;
}
#app .section-head h2 {
  color: #001f3f;
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 850;
}
#app .section-head p { color: #617184; }
#app .product-grid { gap: 14px; }
#app .product-slider { gap: 14px; padding: 3px 2px 12px; }
#app .product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 10px;
  border: 1px solid #3a6d8c !important;
  border-radius: 17px;
  background: linear-gradient(160deg, #001f3f 0%, #082d50 100%) !important;
  box-shadow: 0 5px 16px rgba(0,31,63,.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
#app .product-card:hover {
  transform: translateY(-3px);
  border-color: #eab15d !important;
  box-shadow: 0 12px 25px rgba(0,31,63,.2);
}
#app .product-card .product-photo {
  height: clamp(150px, 18vw, 205px);
  flex: 0 0 auto;
  margin-bottom: 11px;
  overflow: hidden;
  border: 1px solid #edf0f3;
  border-radius: 13px;
  background: #fff !important;
}
#app .product-card .product-photo img {
  width: calc(100% - 18px);
  height: calc(100% - 18px);
  object-fit: contain;
  transition: transform .22s ease;
}
#app .product-card:hover .product-photo img { transform: scale(1.035); }
#app .product-card .product-brand {
  margin: 0 2px 4px;
  color: #ead8b1 !important;
  font-size: 12px;
  font-weight: 800;
}
#app .product-card .product-title {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 2px 8px;
  overflow: hidden;
  color: #fff !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.85;
  text-align: right;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
#app .product-card .price-row {
  min-height: 34px;
  margin-top: auto;
  align-items: center;
}
#app .product-card .price,
#app .product-card .product-price {
  color: #f2c981 !important;
  font-size: 15px;
  font-weight: 850;
}
#app .product-card .old-price { color: rgba(255,255,255,.65) !important; }
#app .product-card .add-small,
#app .product-card .contact-link {
  min-height: 38px;
  margin-top: 9px;
  border: 1px solid #eab15d;
  border-radius: 10px;
  background: #eab15d;
  color: #001f3f !important;
  font-weight: 850;
  transition: background .18s ease, transform .18s ease;
}
#app .product-card .add-small:hover,
#app .product-card .contact-link:hover {
  transform: translateY(-1px);
  background: #f2c981;
}
#app .product-card .product-tag {
  border-radius: 999px;
  background: #eab15d;
  color: #001f3f;
  font-weight: 850;
}
@media (max-width: 760px) {
  #app .product-grid { gap: 9px; }
  #app .product-slider { gap: 10px; }
  #app .product-card { padding: 8px; border-radius: 14px; }
  #app .product-card .product-photo { height: clamp(132px, 42vw, 174px); margin-bottom: 8px; }
  #app .product-card .product-title { min-height: 44px; font-size: 12px; }
  #app .product-card .price, #app .product-card .product-price { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #app .product-card, #app .product-card .product-photo img { transition: none; }
}

/* Unified full-image frames for homepage product categories. */
#app .home-category-grid { align-items: stretch; }
#app .home-category-card { box-sizing: border-box; min-width: 0; min-height: 218px; }
#app .home-category-media {
  box-sizing: border-box;
  width: 100%;
  height: 122px !important;
  min-height: 122px;
  flex: 0 0 122px;
  align-self: stretch;
  display: grid;
  place-items: center;
  overflow: hidden;
}
#app .home-category-media img {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}
@media (max-width: 600px) {
  #app .home-category-card { min-height: 190px; }
  #app .home-category-media {
    height: 102px !important;
    min-height: 102px;
    flex-basis: 102px;
  }
}

/* Brand chips: keep selected label readable and blend logo backgrounds into the chip. */
.phone-brand-chip.is-active,
.phone-brand-chip.is-active .phone-brand-name { color: #fff !important; }
.phone-brand-logo { background: transparent !important; }
.phone-brand-logo img { mix-blend-mode: multiply; }

/* Requested beige button palette. */
#app .primary-btn,
#app .outline-btn,
#app .soft-btn,
#app .danger-btn,
#app .remove-btn,
#app .add-small,
#app .slider-arrow,
#app .product-card .contact-link {
  background: #EAD8B1 !important;
  border-color: #EAD8B1 !important;
  color: #fff !important;
}
#app .primary-btn *,
#app .outline-btn *,
#app .soft-btn *,
#app .danger-btn *,
#app .remove-btn *,
#app .add-small *,
#app .slider-arrow *,
#app .product-card .contact-link * {
  color: #fff !important;
}
#app .primary-btn:hover,
#app .outline-btn:hover,
#app .soft-btn:hover,
#app .danger-btn:hover,
#app .remove-btn:hover,
#app .add-small:hover,
#app .slider-arrow:hover,
#app .product-card .contact-link:hover {
  background: #d8c28f !important;
  border-color: #d8c28f !important;
  color: #fff !important;
}



/* Requested selected-brand contrast, white prices and phone card specifications. */
.phone-brand-chip.is-active {
  background: #3a6d8c !important;
  border-color: #3a6d8c !important;
  color: #fff !important;
}
.phone-brand-chip.is-active .phone-brand-name { color: #fff !important; }
#app .product-card .price,
#app .product-card .product-price { color: #fff !important; }
#app .product-card .product-card-specs {
  display: grid;
  gap: 5px;
  margin: 2px 2px 8px;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 11px;
  line-height: 1.5;
}
#app .product-card .product-card-spec-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  color: #fff !important;
}
#app .product-card .product-card-spec-item b {
  flex: 0 0 auto;
  color: #fff !important;
  font-weight: 500;
}
#app .product-card .product-card-spec-item span {
  min-width: 0;
  color: #fff !important;
  font-weight: 700;
  text-align: left;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  #app .product-card .product-card-specs { gap: 4px; font-size: 10px; }
  #app .product-card .product-card-spec-item { gap: 5px; }
}

/* Product card information text: use white for readable contrast. */
#app .product-card .product-brand,
#app .product-card .product-title,
#app .product-card .price,
#app .product-card .product-price,
#app .product-card .old-price,
#app .product-card .product-card-specs,
#app .product-card .product-card-spec-item,
#app .product-card .product-card-spec-item b,
#app .product-card .product-card-spec-item span {
  color: #fff !important;
}


/* Product card controls and slider arrows: white foreground on site blue. */
#app .product-card .add-small,
#app .product-card .contact-link,
#app .product-card .product-tag,
#app .slider-arrow,
#app .hero-nav {
  background: #3a6d8c !important;
  border-color: #6a9ab0 !important;
  color: #fff !important;
}
#app .product-card .add-small:hover,
#app .product-card .contact-link:hover,
#app .slider-arrow:hover,
#app .hero-nav:hover {
  background: #244f70 !important;
  border-color: #6a9ab0 !important;
  color: #fff !important;
}
#app .product-card .add-small *,
#app .product-card .contact-link *,
#app .product-card .product-tag *,
#app .slider-arrow *,
#app .hero-nav *,
#app .product-card .product-brand,
#app .product-slider > .product-card .product-brand {
  color: #fff !important;
}

/* Show full category art and center the action at each card's bottom. */
#app .home-category-card .home-category-media,
#app .home-category-card .home-category-media:has(img[alt="????"]) {
  position: relative;
  height: 122px !important;
  min-height: 122px !important;
  flex: 0 0 122px !important;
  align-self: stretch !important;
}
#app .home-category-card .home-category-media img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
}
#app .home-category-card .home-category-link {
  align-self: center !important;
  margin-top: auto;
}
@media (max-width: 600px) {
  #app .home-category-card .home-category-media,
  #app .home-category-card .home-category-media:has(img[alt="????"]) {
    height: 102px !important;
    min-height: 102px !important;
    flex-basis: 102px !important;
  }
}

/* Six homepage category cards */
@media (min-width: 1051px) {
  #app .home-category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Center product names in homepage sliders. */
#app .home-product-section .product-card .product-title { text-align: center; width: calc(100% - 4px); }

/* Hide the support-hours benefit card on mobile. */
@media (max-width: 760px) {
  #app > .feature-strip .feature:nth-child(3) { display: none !important; }
}

/* Slightly smaller home slider headings and responsive view link. */
#app .home-product-section .section-head h2 { font-size: clamp(15px, 1.35vw, 18px); }
#app .section-head .view-all-mobile { display: none; }

/* Center phone card details, including color names without a label. */
#app .product-card .product-card-specs { text-align: center; }
#app .product-card .product-card-spec-item { justify-content: center; flex-wrap: wrap; text-align: center; }
#app .product-card .product-card-spec-item span { text-align: center; }
@media (max-width: 760px) {
  #app .home-product-section .section-head h2 { font-size: 15px; }
  #app .section-head .view-all-desktop { display: none; }
  #app .section-head .view-all-mobile { display: inline; }
}

/* Keep current and previous prices white on every product card. */
#app .product-card .price-row,
#app .product-card .price-row .price,
#app .product-card .price-row .product-price,
#app .product-card .price-row .old-price { color: #fff !important; }

/* Keep the back-to-top button clear of the mobile bottom navigation. */
@media (max-width: 760px) {
  .back-to-top { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* Soften typography in the newest-products section only. */
#app .home-newest-section .section-head h2 { font-weight: 750; }
#app .home-newest-section .section-head p { font-weight: 450; }
#app .home-newest-section .product-card .product-title { font-weight: 600; }
#app .home-newest-section .product-card .product-card-spec-item span { font-weight: 600; }
#app .home-newest-section .product-card .price,
#app .home-newest-section .product-card .product-price { font-weight: 750; }

/* First homepage slide: layered product spotlight. */
#app .hero-carousel .hero-main:before,#app .hero-carousel .hero-main:after{display:none}
#app .hero-slide--phone{
  isolation:isolate;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:0;
  padding:28px 6.4% 38px;overflow:hidden;
  background:radial-gradient(circle at 75% 46%,rgba(87,103,171,.46),transparent 35%),radial-gradient(circle at 13% 100%,rgba(59,113,148,.36),transparent 39%),linear-gradient(112deg,#00152c 0%,#001f3f 49%,#302956 100%);
}
#app .hero-slide--phone:before{
  content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.08) 0 1px,transparent 1px 36%) top right/58% 100% no-repeat,linear-gradient(105deg,transparent 52%,rgba(255,255,255,.025) 52% 55%,transparent 55%);
}
#app .hero-slide--phone:after{
  content:"";position:absolute;z-index:-1;width:410px;height:410px;left:6.5%;top:50%;border:1px solid rgba(255,255,255,.12);border-radius:50%;transform:translateY(-51%);box-shadow:0 0 0 40px rgba(255,255,255,.025),0 0 0 92px rgba(255,255,255,.018);pointer-events:none;
}
#app .hero-slide--phone .hero-slide-copy{max-width:510px;padding:0 1% 9px 0;text-align:right}
#app .hero-slide--phone .hero-kicker{
  display:inline-flex;align-items:center;gap:10px;margin-bottom:17px;padding:7px 12px;
  border:1px solid rgba(234,177,93,.42);border-radius:100px;background:rgba(234,177,93,.09);
  color:#f2c983;font-size:12px;font-weight:650;letter-spacing:.1px;
}
#app .hero-slide--phone .hero-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:#eab15d;box-shadow:0 0 0 4px rgba(234,177,93,.13)}
#app .hero-slide--phone .hero-slide-copy h1{
  max-width:500px;margin:0 0 13px;color:#fff;font-size:clamp(38px,4vw,56px);font-weight:780;line-height:1.25;letter-spacing:-.7px;text-shadow:0 7px 25px rgba(0,8,25,.18);
}
#app .hero-slide--phone .hero-slide-copy h1:after{display:block;content:"";position:static;width:54px;height:3px;margin-top:16px;border-radius:2px;background:linear-gradient(90deg,#eab15d,rgba(234,177,93,.15))}
#app .hero-slide--phone .hero-slide-copy p{max-width:410px;margin:0 0 21px;color:rgba(255,255,255,.88);font-size:16px;line-height:1.85;font-weight:450}
#app .hero-slide--phone .hero-shop-link{
  display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:0 19px;border:1px solid #f3d29d;border-radius:12px;
  background:linear-gradient(125deg,#eab15d,#f2ce96);color:#001f3f;font-size:14px;font-weight:750;text-decoration:none;box-shadow:0 10px 25px rgba(0,0,0,.15);transition:transform .2s,box-shadow .2s;
}
#app .hero-slide--phone .hero-shop-link:hover,#app .hero-slide--phone .hero-shop-link:focus-visible{transform:translateY(-2px);box-shadow:0 14px 28px rgba(0,0,0,.24)}
#app .hero-slide--phone .hero-shop-link span:last-child{font-size:20px;line-height:1}
#app .hero-slide--phone .hero-slide-visual{
  position:relative;height:284px;min-width:0;overflow:visible;background:none;border:0;border-radius:0;box-shadow:none;
}
#app .hero-slide--phone .hero-slide-visual:before{
  content:"";position:absolute;inset:11% 8% 8%;border-radius:50%;background:radial-gradient(circle,rgba(183,199,240,.38) 0%,rgba(117,135,204,.15) 40%,transparent 70%);filter:blur(8px);pointer-events:none;
}
#app .hero-slide--phone .hero-slide-visual:after{
  content:"";position:absolute;left:17%;right:17%;bottom:0;height:25px;border-radius:50%;background:rgba(0,0,0,.35);filter:blur(14px);pointer-events:none;
}
#app .hero-slide--phone .hero-slide-visual img{
  position:relative;z-index:1;width:min(100%,395px);max-width:none;height:300px;object-fit:contain;transform:translateY(-7px) rotate(-3deg);filter:drop-shadow(0 20px 18px rgba(0,8,30,.45));
}
@media(min-width:761px){#app .hero-carousel .hero-main{height:346px;min-height:346px}}
@media(max-width:760px){
  #app .hero-carousel .hero-main{height:265px;min-height:265px}
  #app .hero-slide--phone{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:0;padding:17px 4% 31px}
  #app .hero-slide--phone:after{width:245px;height:245px;left:-4%;box-shadow:0 0 0 24px rgba(255,255,255,.02),0 0 0 55px rgba(255,255,255,.015)}
  #app .hero-slide--phone .hero-slide-copy{padding:0}
  #app .hero-slide--phone .hero-kicker{gap:7px;margin-bottom:10px;padding:5px 8px;font-size:10px}
  #app .hero-slide--phone .hero-slide-copy h1{font-size:clamp(23px,6vw,31px);line-height:1.32;margin-bottom:8px;letter-spacing:0}
  #app .hero-slide--phone .hero-slide-copy h1:after{width:35px;height:2px;margin-top:9px}
  #app .hero-slide--phone .hero-slide-copy p{font-size:11px;line-height:1.65;margin-bottom:11px}
  #app .hero-slide--phone .hero-shop-link{min-height:35px;gap:7px;padding:0 10px;border-radius:9px;font-size:10px}
  #app .hero-slide--phone .hero-shop-link span:last-child{font-size:15px}
  #app .hero-slide--phone .hero-slide-visual{height:214px}
  #app .hero-slide--phone .hero-slide-visual img{width:100%;height:225px;max-width:none;transform:translateY(-3px) rotate(-3deg)}
}
@media(max-width:390px){
  #app .hero-carousel .hero-main{height:248px;min-height:248px}
  #app .hero-slide--phone{grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);padding-inline:3%}
  #app .hero-slide--phone .hero-slide-copy h1{font-size:22px}
  #app .hero-slide--phone .hero-slide-visual{height:195px}
  #app .hero-slide--phone .hero-slide-visual img{height:208px}
}
@media(prefers-reduced-motion:no-preference){
  #app .hero-slide--phone.is-active .hero-slide-visual img{animation:heroPhoneFloat 5.5s ease-in-out infinite}
  @keyframes heroPhoneFloat{0%,100%{transform:translateY(-3px) rotate(-3deg)}50%{transform:translateY(-10px) rotate(-2deg)}}
}

/* Align contact actions with purchase buttons in homepage product sliders. */
#app .home-product-section .product-card > .contact-price-link.add-small { margin-top: auto; }


/* Cart purchase buttons: navy with white labels. */
#app .product-card button.add-small[data-add],
#app #addDetail {
  background: #001f3f !important;
  border-color: #001f3f !important;
  color: #fff !important;
}
#app .product-card button.add-small[data-add]:hover,
#app #addDetail:hover {
  background: #12395c !important;
  border-color: #12395c !important;
  color: #fff !important;
}

/* Wider desktop product cards on the mobile phones category page. */
@media (min-width: 901px) { #app .listing-layout--mobile-phones .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }


/* Sitewide navy buttons and white prices */
#app .primary-btn,
#app .outline-btn,
#app .soft-btn,
#app .danger-btn,
#app .add-small,
#app .contact-detail-link,
#app .contact-price-link,
#app .slider-arrow,
#app .hero-nav,
#app .remove-btn,
#app #applyCoupon,
#app #addDetail {
  background: #001f3f !important;
  background-image: none !important;
  border-color: #001f3f !important;
  color: #fff !important;
}
#app .primary-btn:hover,
#app .outline-btn:hover,
#app .soft-btn:hover,
#app .danger-btn:hover,
#app .add-small:hover,
#app .contact-detail-link:hover,
#app .contact-price-link:hover,
#app .slider-arrow:hover,
#app .hero-nav:hover,
#app .remove-btn:hover,
#app #applyCoupon:hover,
#app #addDetail:hover {
  background: #12395c !important;
  background-image: none !important;
  border-color: #12395c !important;
  color: #fff !important;
}
#app .price,
#app .old-price,
#app .detail-price,
#app .cart-row > strong,
#app .summary-line b,
#app .summary-box .summary-line b,
#app .order-detail-price,
#app .order-summary .summary-line b,
#app #checkoutAmounts .summary-line b {
  color: #fff !important;
}

/* Product card photos: one shared frame size and complete, uncropped images. */
#app .product-card .product-photo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 190px !important;
  min-height: 190px !important;
  max-height: 190px !important;
  flex: 0 0 190px !important;
  overflow: hidden !important;
  background: #fff !important;
}
#app .product-card .product-photo img {
  display: block !important;
  box-sizing: border-box !important;
  width: calc(100% - 20px) !important;
  height: calc(100% - 20px) !important;
  max-width: calc(100% - 20px) !important;
  max-height: calc(100% - 20px) !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  animation: none !important;
  transform: none !important;
}
@media (max-width: 760px) {
  #app .product-card .product-photo {
    height: 154px !important;
    min-height: 154px !important;
    max-height: 154px !important;
    flex-basis: 154px !important;
  }
}
/* Navy background for contact actions */
#app .contact-price-link,
#app .contact-detail-link,
#app #detailCall,
#app .contact-price-link:hover,
#app .contact-detail-link:hover,
#app #detailCall:hover {
  background: #001f3f !important;
  border-color: #001f3f !important;
}


/* Center phone model names on product cards */
#app .product-card.phone-product-card .product-title{display:-webkit-box;text-align:center!important;margin-inline:auto}

/* Collapsible catalog filters on narrow screens */
.catalog-filter-toggle{display:none}
@media (max-width:760px){
  #app .catalog-filter-sidebar .catalog-filter-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;border:1px solid #3a6d8c;border-radius:10px;background:#001f3f;color:#fff;padding:12px 16px;font:inherit;cursor:pointer}
  #app .catalog-filter-sidebar .catalog-filter-toggle span{font-size:24px;line-height:16px;transition:transform .2s}
  #app .catalog-filter-sidebar.is-open .catalog-filter-toggle span{transform:rotate(180deg)}
  #app .catalog-filter-sidebar>h3{display:none}
  #app .catalog-filter-sidebar .filters{display:none!important;margin-top:12px}
  #app .catalog-filter-sidebar.is-open .filters{display:grid!important}
}

/* Compact and align phone cards on mobile without cropping product photos. */
@media (max-width: 760px) {
  #app .product-card.phone-product-card { min-width: 0; padding: 7px; }
  #app .product-card.phone-product-card .product-photo {
    height: 126px !important; min-height: 126px !important;
    max-height: 126px !important; flex: 0 0 126px !important;
    margin-bottom: 6px;
  }
  #app .product-card.phone-product-card .product-title {
    min-height: 38px; max-height: 38px; margin: 0 0 4px;
    font-size: 11px; line-height: 1.7;
  }
  #app .product-card.phone-product-card .product-card-specs {
    gap: 2px; margin: 0 0 5px; padding-top: 5px;
    font-size: 10px; line-height: 1.45;
  }
  #app .product-card.phone-product-card .product-card-spec-item {
    min-width: 0; gap: 4px; white-space: nowrap;
  }
  #app .product-card.phone-product-card .product-card-spec-item b { flex: 0 0 auto; }
  #app .product-card.phone-product-card .product-card-spec-item span {
    flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis;
    overflow-wrap: normal; white-space: nowrap;
  }
  #app .product-card.phone-product-card .price-row { min-height: 26px; }
  #app .product-card.phone-product-card .add-small { min-height: 34px; margin-top: 5px; }
}

.nav-category-group.category-dismissed .nav-category-items { display: none !important; }

/* Preview-inspired layout for three selected phone pages; site colors stay intact. */
/* Product sample pages: reference-like gallery, details, and compact options. */
#app .product-detail.preview-inspired {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
  width: calc(100% - 32px);
  max-width: 1240px;
  margin: 24px auto 30px;
  padding: clamp(16px, 2.4vw, 30px);
  direction: rtl;
  background: #fff;
  border: 1px solid #e1e7ec;
  border-radius: 24px;
  box-shadow: 0 10px 32px rgba(0, 31, 63, .07);
}
#app .preview-inspired .preview-gallery-wrap,
#app .preview-inspired .preview-info { min-width: 0; }
#app .preview-inspired .preview-kicker {
  margin: 0 0 10px;
  color: #3a6d8c;
  font-size: 13px;
  font-weight: 600;
}
#app .preview-inspired .detail-gallery { min-width: 0; }
#app .preview-inspired .detail-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: clamp(360px, 42vw, 520px);
  min-height: 0;
  overflow: hidden;
  background: #f5f6f8;
  border: 1px solid #e1e7ec;
  border-radius: 22px;
}
#app .preview-inspired .detail-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 18px;
  object-fit: contain;
}
#app .preview-inspired .detail-thumbnails {
  display: flex;
  gap: 10px;
  max-width: 100%;
  margin-top: 12px;
  padding: 2px 1px 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}
#app .preview-inspired .detail-thumb {
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dbe4ea;
  border-radius: 12px;
}
#app .preview-inspired .detail-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}
#app .preview-inspired .detail-thumb.selected {
  border: 2px solid #001f3f;
}
#app .preview-inspired .preview-info { padding: 4px 0; }
#app .preview-inspired .preview-info h1,
#app .preview-inspired .preview-info .detail-title {
  margin: 4px 0 12px;
  color: #111;
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.55;
  font-weight: 650;
}
#app .preview-inspired .preview-info p { line-height: 1.9; }
#app .preview-inspired .detail-choice-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px;
  direction: rtl;
  background: #fff;
  border: 1px solid #dbe4ea;
  border-radius: 18px;
}
#app .preview-inspired .detail-choice-layout.no-colors {
  grid-template-columns: minmax(0, 1fr);
}
#app .preview-inspired .detail-choice-color,
#app .preview-inspired .detail-choice-variants,
#app .preview-inspired .detail-color-picker { min-width: 0; margin: 0; padding: 0; }
#app .preview-inspired .detail-color-picker { border: 0; background: transparent; }
#app .preview-inspired .variant-label {
  margin: 0 0 9px;
  color: #001f3f;
  font-size: 13px;
  line-height: 1.7;
  font-weight: 600;
}
#app .preview-inspired .detail-color-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}
#app .preview-inspired .detail-color-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  max-width: 100%;
  padding: 6px 10px;
  color: #001f3f;
  background: #fff;
  border: 1px solid #cbd7df;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}
#app .preview-inspired .detail-color-option.selected {
  color: #fff;
  background: #3a6d8c;
  border-color: #3a6d8c;
}
#app .preview-inspired .variant-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
#app .preview-inspired .variant-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 9px 11px;
  color: #001f3f;
  text-align: right;
  background: #fff;
  border: 1px solid #d4dfe6;
  border-radius: 11px;
  cursor: pointer;
}
#app .preview-inspired .variant-option b { font-size: 13px; font-weight: 600; }
#app .preview-inspired .variant-option small { margin-top: 3px; font-size: 11px; opacity: .88; }
#app .preview-inspired .variant-option.selected {
  color: #fff;
  background: #001f3f;
  border-color: #001f3f;
}
#app .preview-inspired .preview-buy-panel {
  margin-top: 16px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
#app .preview-inspired .detail-buy .primary-btn {
  color: #fff;
  background: #001f3f;
  border-color: #001f3f;
}
#app .preview-spec-section,
#app .preview-inspired + .preview-spec-section,
#app .detail-similar {
  width: calc(100% - 32px);
  max-width: 1240px;
  margin-right: auto;
  margin-left: auto;
}
#app .preview-spec-section .detail-specs {
  background: #fff;
  border: 1px solid #e1e7ec;
  border-radius: 18px;
}
@media (max-width: 760px) {
  #app .product-detail.preview-inspired {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: calc(100% - 20px);
    margin: 12px auto 22px;
    padding: 14px;
    border-radius: 18px;
  }
  #app .preview-inspired .detail-image { height: min(88vw, 390px); min-height: 280px; border-radius: 16px; }
  #app .preview-inspired .detail-image img { padding: 12px; }
  #app .preview-inspired .detail-thumb { flex-basis: 62px; width: 62px; height: 62px; }
  #app .preview-inspired .preview-info { padding: 0 2px; }
  #app .preview-inspired .detail-choice-layout {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 10px;
    margin-top: 14px;
    padding: 11px;
    border-radius: 14px;
  }
  #app .preview-inspired .detail-choice-layout.no-colors { grid-template-columns: minmax(0, 1fr); }
  #app .preview-inspired .variant-list { gap: 7px; }
  #app .preview-inspired .variant-option { padding: 8px 9px; }
  #app .preview-spec-section,
  #app .preview-inspired + .preview-spec-section,
  #app .detail-similar { width: calc(100% - 20px); }
}
@media (max-width: 390px) {
  #app .preview-inspired .detail-choice-layout {
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    gap: 8px;
    padding: 9px;
  }
  #app .preview-inspired .variant-option { padding: 8px; }
  #app .preview-inspired .detail-color-option { padding: 5px 8px; }
}
/* Three sample phone pages: reference layout, live site palette. */
#app .product-detail.preview-inspired {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 54px);
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
#app .preview-inspired .preview-kicker { display: none; }
#app .preview-inspired .detail-image {
  height: clamp(470px, 46vw, 580px);
  background: #f5f6f8;
  border: 1px solid #e1e7ec;
  border-radius: 26px;
}
#app .preview-inspired .detail-image img { padding: clamp(22px, 3vw, 42px); }
#app .preview-inspired .detail-thumbnails { gap: 12px; margin-top: 15px; }
#app .preview-inspired .detail-thumb {
  flex-basis: 78px;
  width: 78px;
  height: 78px;
  border-radius: 13px;
}
#app .preview-inspired .preview-info { padding: 8px 0; }
#app .preview-inspired .preview-info .detail-title {
  margin: 8px 0 12px;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.45;
  font-weight: 650;
}
#app .preview-inspired .detail-description {
  margin: 0;
  padding: 0 0 24px;
  color: #263a4d;
  border-bottom: 1px solid #dbe4ea;
}
#app .preview-inspired .detail-choice-layout {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: 16px;
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}
#app .preview-inspired .detail-choice-layout.no-colors { grid-template-columns: minmax(0, 1fr); }
#app .preview-inspired .detail-choice-color,
#app .preview-inspired .detail-choice-variants {
  padding: 16px;
  background: #f7f9fa;
  border: 1px solid #e1e7ec;
  border-radius: 17px;
}
#app .preview-inspired .variant-label { margin-bottom: 12px; font-size: 14px; }
#app .preview-inspired .detail-color-option { min-height: 40px; padding: 7px 11px; }
#app .preview-inspired .variant-option {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
}
#app .preview-inspired .variant-option b,
#app .preview-inspired .variant-option small { min-width: 0; margin: 0; }
#app .preview-inspired .variant-option small { text-align: left; white-space: nowrap; }
#app .preview-inspired .preview-buy-panel {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid #dbe4ea;
}
#app .preview-inspired .detail-buy { padding: 0; background: transparent; border: 0; box-shadow: none; }
#app .preview-inspired .detail-buy .primary-btn { min-height: 48px; padding-inline: 30px; }
#app .preview-spec-section .detail-specs {
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: 22px;
}
@media (max-width: 760px) {
  #app .product-detail.preview-inspired {
    width: calc(100% - 20px);
    gap: 20px;
    padding: 0;
    margin-top: 14px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  #app .preview-inspired .detail-image { height: min(100vw, 450px); min-height: 300px; border-radius: 20px; }
  #app .preview-inspired .detail-image img { padding: 16px; }
  #app .preview-inspired .detail-thumb { flex-basis: 64px; width: 64px; height: 64px; }
  #app .preview-inspired .preview-info { padding: 0; }
  #app .preview-inspired .preview-info .detail-title { font-size: clamp(23px, 5vw, 30px); }
  #app .preview-inspired .detail-choice-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    border: 0;
  }
  #app .preview-inspired .detail-choice-color,
  #app .preview-inspired .detail-choice-variants { padding: 11px; border-radius: 13px; }
  #app .preview-inspired .variant-option { min-height: 44px; padding: 8px; }
  #app .preview-inspired .variant-option small { white-space: normal; }
}
@media (max-width: 390px) {
  #app .preview-inspired .detail-choice-layout {
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    gap: 8px;
    padding: 0;
  }
  #app .preview-inspired .detail-choice-color,
  #app .preview-inspired .detail-choice-variants { padding: 8px; }
  #app .preview-inspired .variant-option { flex-wrap: wrap; }
}
/* Three product preview pages: compact option cards and full product photos. */
#app .preview-inspired .variant-option[hidden] { display: none !important; }
#app .preview-inspired .detail-gallery img { object-fit: contain; }
#app .preview-inspired .variant-option { min-height: 46px; padding: 8px 10px; gap: 4px 10px; }
#app .preview-inspired .variant-option b { font-size: 13px; line-height: 1.4; }
#app .preview-inspired .variant-option small { font-size: 12px; line-height: 1.4; }
@media (max-width: 600px) {
  #app .preview-inspired .detail-choice-layout { grid-template-columns: minmax(0, 1fr); }
  #app .preview-inspired .detail-color-list { display: flex; flex-wrap: wrap; gap: 6px; }
  #app .preview-inspired .variant-option { min-height: 42px; }
}

/* Three phone previews: complete gallery and compact side-by-side selectors. */
#app .preview-inspired .detail-thumbnails { display:grid; grid-template-columns:repeat(auto-fit,minmax(92px,1fr)); gap:10px; overflow:visible; margin-top:14px; }
#app .preview-inspired .detail-thumb { box-sizing:border-box; width:100%; min-width:0; height:112px; padding:7px; border:1px solid #d4dfe7; border-radius:14px; background:#f7f9fa; }
#app .preview-inspired .detail-thumb.selected { border:2px solid #002b61; }
#app .preview-inspired .detail-thumb img { width:100%; height:100%; object-fit:contain; }
@media(max-width:600px) {
  #app .preview-inspired .detail-thumbnails { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #app .preview-inspired .detail-thumb { height:104px; }
  #app .preview-inspired .detail-choice-layout { grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr); gap:8px; }
  #app .preview-inspired .detail-choice-color, #app .preview-inspired .detail-choice-variants { min-width:0; padding:8px; }
  #app .preview-inspired .variant-option { flex-direction:column; align-items:stretch; gap:4px; }
  #app .preview-inspired .variant-option small { text-align:right; }
}
