@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

:root{
  --primary:#1769ff; --primary2:#2584ff; --ink:#102a56; --muted:#6f88ad;
  --bg:#f5f9fe; --line:#e4edf8; --card:#fff; --green:#13b879;
  --shadow:0 8px 25px rgba(28,74,130,.06); --radius:12px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Cairo,Arial,sans-serif}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
.container{width:min(1215px,calc(100% - 48px));margin:auto}
.site-header{height:68px;background:#fff;border-bottom:1px solid #edf3fa;position:sticky;top:0;z-index:50}
.header-inner{height:68px;display:flex;align-items:center;gap:25px}
.logo{display:flex;align-items:center;gap:8px;font-size:27px;font-weight:800;letter-spacing:-1px;color:#162d59;white-space:nowrap}
.logo>span:last-child>span{color:#2584ff}
.logo-phone{font-size:36px;color:#1769ff;line-height:1}
.main-nav{display:flex;align-items:center;gap:28px;margin-right:auto;margin-left:auto;height:100%;font-size:14px;font-weight:700}
.main-nav a{height:100%;display:flex;align-items:center;position:relative;color:#203b67}
.main-nav a.active{color:#1769ff}
.main-nav a.active:after{content:"";position:absolute;height:4px;border-radius:4px;bottom:0;right:0;left:0;background:#1769ff}
.main-nav b{font-size:12px;margin-right:5px}
.header-actions{display:flex;align-items:center;gap:13px;direction:ltr}
.icon-btn,.social{border:0;background:transparent;color:#183c70;display:grid;place-items:center;width:27px;height:30px;font-size:22px;cursor:pointer}
.social{font-weight:800;font-size:18px}.social.x{font-size:20px}.social.user{font-size:25px}
.mobile-toggle{display:none;position:relative;z-index:70;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.search-panel{display:none;background:#fff;border-bottom:1px solid var(--line);padding:12px 0;position:sticky;top:68px;z-index:40}
.search-panel.open{display:block}.search-box{display:flex;gap:10px}.search-box input{flex:1;border:1px solid var(--line);border-radius:10px;padding:11px 14px;outline:none}.search-box button{border:0;border-radius:10px;background:var(--primary);color:#fff;padding:0 20px;cursor:pointer}
.hero{padding:25px 0 18px}.feature-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.feature-card{height:84px;background:#fff;border:1px solid #edf3f9;border-radius:12px;box-shadow:var(--shadow);display:flex;align-items:center;padding:12px 18px;gap:15px}
.feature-card strong{display:block;font-size:16px}.feature-card small{display:block;color:#7890b4;font-size:12px;margin-top:3px}
.feature-icon{width:50px;height:50px;min-width:50px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:25px;font-weight:800}.green{background:#12c48a}.gold{background:#ffb51b}.purple{background:#9145ef}.blue{background:#2389ed}

.page-grid{display:grid;grid-template-columns:minmax(0,1fr) 272px;gap:18px;align-items:start}
.content{min-width:0}.section-card,.side-card{background:#fff;border:1px solid #e7eff8;border-radius:12px;box-shadow:var(--shadow);margin-bottom:18px}
.section-card{padding:12px}
.section-head{display:flex;align-items:center;justify-content:space-between;padding:0 8px 11px}
.section-head h2{font-size:18px;margin:0;font-weight:800}.section-symbol{color:var(--primary);margin-left:7px}
.view-all{color:var(--primary);font-size:13px;font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.product-card{border:1px solid #dfe9f5;border-radius:10px;overflow:hidden;background:#fff;position:relative;transition:.2s;min-width:0}
.product-card:hover{transform:translateY(-4px);box-shadow:0 12px 28px rgba(27,89,165,.12)}
.product-badge{position:absolute;right:8px;top:8px;color:#fff;border-radius:12px;padding:3px 9px;font-size:11px;font-weight:700;z-index:2}.badge-green{background:#12b77b}.badge-purple{background:#9145ef}.badge-gold{background:#f6a600}
.product-image{height:164px;display:grid;place-items:center;background:linear-gradient(180deg,#fbfdff,#f3f7fc);padding:12px}
.product-image img{max-width:88%;height:145px;object-fit:contain}
.product-card h3{font-size:14px;margin:4px 12px 5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:ltr;text-align:left}
.rating{display:flex;direction:ltr;align-items:center;gap:4px;padding:0 12px;font-size:12px;color:#758cac}.stars{color:#ffad08;letter-spacing:1px}
.specs{display:flex;justify-content:space-between;gap:4px;padding:9px 10px 7px;color:#6e87aa;font-size:10px;direction:ltr}.spec{display:flex;gap:3px;align-items:center;white-space:nowrap}
.price{display:block;background:linear-gradient(90deg,#1b73ff,#2d8dfc);color:#fff;text-align:center;border-radius:20px;margin:0 auto 10px;width:100px;padding:4px 0;font-size:12px;font-weight:700;direction:ltr}

.brands-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:10px}.brand-card{height:92px;border:1px solid #e2eaf5;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center;transition:.2s}.brand-card:hover{border-color:#b8d2f7;transform:translateY(-2px)}.brand-card b{height:30px;display:flex;align-items:center;font-weight:800}.brand-card strong{font-size:12px}.brand-card small{font-size:10px;color:#7c94b5}.apple{font-size:25px}.samsung{font-size:13px;color:#1735bd}.xiaomi{font-size:20px;color:#ff4b13}.google{font-size:15px}.huawei{font-size:11px;color:#d82036}.oppo{font-size:18px;color:#14955c}.oneplus{font-size:19px;color:#f33}.realme{font-size:15px;color:#f0a500}

.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.news-card{border:1px solid #e2eaf5;border-radius:10px;overflow:hidden;position:relative}.news-image{height:92px;position:relative;background:linear-gradient(135deg,#8f59e9,#202c70)}.news-image:after{content:"";position:absolute;width:95px;height:135px;border-radius:18px;right:38%;top:-14px;transform:rotate(-15deg);background:linear-gradient(145deg,#28374e,#111b30);box-shadow:0 8px 20px #1118}.blue-phone{background:linear-gradient(135deg,#e4f2ff,#6ab2f5)}.teal-phone{background:linear-gradient(135deg,#dff5ee,#65cbb4)}.comparison{background:linear-gradient(135deg,#d2a2ff,#7774ed)}.news-card h3{font-size:11px;line-height:1.6;margin:9px 10px 0}.news-card p{font-size:10px;color:#7890b0;margin:2px 10px}.news-card time{font-size:9px;color:#7187a6;display:block;padding:6px 10px 9px}.tag{position:absolute;top:8px;right:8px;color:#fff;padding:3px 8px;border-radius:10px;font-size:9px;font-weight:700;z-index:2}.tag.purple{background:#8e45ef}.tag.blue{background:#1d8bef}.tag.green{background:#13b879}

.sidebar{position:sticky;top:85px}.side-card{overflow:hidden}.side-title{padding:13px 15px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:15px}.side-title span{color:#ff4b29;font-size:21px}.categories a{display:flex;align-items:center;gap:8px;padding:10px 15px;border-bottom:1px solid #edf2f8;font-size:12px;color:#496588}.categories a>i:last-child{font-style:normal;margin-right:auto;color:#76a0d0;font-size:20px}.categories a .android{color:#28b66e}.categories a .iphone{color:#111}.samsung-dot,.xiaomi-dot,.huawei-dot,.oppo-dot,.realme-dot{font-style:normal;margin-right:auto;border-radius:7px;width:24px;height:24px;display:grid;place-items:center;font-size:10px}.samsung-dot{color:#fff;background:#153dc4}.xiaomi-dot{color:#fff;background:#ff5b16}.huawei-dot{color:#fff;background:#d9283f}.oppo-dot{color:#fff;background:#14a369}.realme-dot{color:#fff;background:#f0ad00}
.popular{padding-bottom:7px}.popular .side-title span{color:#ff4a27}.popular ol{list-style:none;margin:0;padding:3px 12px}.popular li{display:grid;grid-template-columns:31px 1fr 43px;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid #edf2f8}.popular li:last-child{border:0}.rank{width:29px;height:29px;border-radius:50%;background:#2b77ef;color:#fff;display:grid;place-items:center;font-weight:800;font-size:12px}.popular-name{font-size:11px;font-weight:700;line-height:1.5}.popular-rate{font-size:10px;color:#6d85a7}.popular-img{width:42px;height:50px;object-fit:contain}

footer{background:#142542;color:#dbe7f6;margin-top:0;padding-top:27px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:50px;padding-bottom:22px}.footer-logo{color:#fff;font-size:23px}.footer-brand p{font-size:11px;color:#bdcbe0;max-width:330px;line-height:1.9}.footer-grid h4{font-size:13px;margin:3px 0 8px;color:#fff}.footer-grid>div:not(:first-child)>a{display:block;font-size:11px;color:#bdcbe0;margin:6px 0}.footer-socials{display:flex;gap:8px;direction:ltr}.footer-socials span{width:30px;height:30px;border-radius:50%;background:#2b3c59;display:grid;place-items:center}.copyright{text-align:center;border-top:1px solid #2c3c56;padding:11px;font-size:10px;color:#9eb0c9}

@media(max-width:1050px){
  .main-nav{gap:15px}.header-actions .social{display:none}
  .page-grid{grid-template-columns:1fr 240px}.product-grid{grid-template-columns:repeat(2,1fr)}.brands-grid{grid-template-columns:repeat(4,1fr)}.news-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .container{width:min(100% - 24px,620px)}.site-header,.header-inner{height:62px}.mobile-toggle{display:grid}.header-inner{gap:10px;position:relative}.logo{font-size:21px;margin-left:auto}.logo-phone{font-size:29px}.header-actions{order:-1}.main-nav{display:none;position:absolute;top:62px;right:0;left:0;height:auto;background:#fff;flex-direction:column;align-items:stretch;padding:8px 18px;border-bottom:1px solid var(--line);box-shadow:0 12px 20px #163b6512;z-index:69;pointer-events:auto}.main-nav.open{display:flex}.main-nav a{height:42px;border-bottom:1px solid #edf2f8}.main-nav a.active:after{display:none}.feature-strip{grid-template-columns:repeat(2,1fr)}.feature-card{height:76px;padding:10px}.feature-icon{width:40px;height:40px;min-width:40px}.feature-card strong{font-size:12px}.feature-card small{font-size:9px}.page-grid{grid-template-columns:1fr}.sidebar{position:static}.product-grid{grid-template-columns:repeat(2,1fr)}.brands-grid{grid-template-columns:repeat(4,1fr)}.news-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.sidebar{order:2}
}
@media(max-width:430px){
  .hero{padding-top:14px}.feature-strip{gap:8px}.feature-card{gap:8px}.feature-card small{display:none}.product-grid{gap:7px}.product-image{height:130px}.product-image img{height:115px}.product-card h3{font-size:11px}.specs{font-size:8px}.price{width:88px}.brands-grid{grid-template-columns:repeat(4,1fr);gap:5px}.brand-card{height:80px}.brand-card strong{font-size:9px}.brand-card small{font-size:8px}.news-grid{gap:7px}.news-card h3{font-size:10px}.footer-grid{grid-template-columns:1fr}.footer-brand p{max-width:none}
}

.inner-page{padding:28px 0 45px}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.page-title h1{margin:0 0 4px;font-size:27px}.page-title p{margin:0;color:#6f88ad;font-size:13px}.primary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:9px 18px;background:linear-gradient(90deg,#1769ff,#2d8dfc);color:#fff;cursor:pointer;font-weight:700;font-size:12px}.filter-bar{display:flex;gap:10px;background:#fff;border:1px solid #e3edf8;padding:12px;border-radius:12px;margin-bottom:16px}.filter-bar input,.filter-bar select,.compare-select select,.contact-form input,.contact-form textarea{border:1px solid #e3edf8;border-radius:8px;padding:9px 12px;background:#fff;color:#102a56;outline:none}.filter-bar input{flex:1}.breadcrumbs{font-size:11px;color:#7590b4;margin-bottom:12px}.review-hero{display:grid;grid-template-columns:310px 1fr;gap:30px;padding:25px;align-items:center}.review-hero .product-image{height:310px}.review-hero .product-image img{height:270px}.review-intro h1{font-size:30px;margin:12px 0}.review-intro p,.article-body p,.text-page p,.article-full p{color:#617c9e;line-height:2;font-size:13px}.pill{display:inline-block;border-radius:20px;padding:4px 10px;font-size:10px;background:#e7faf3;color:#0e9d6b}.big{font-size:16px}.spec-table{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e4edf8;border-radius:11px;overflow:hidden;background:#fff}.spec-table div{min-height:50px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 16px;border-bottom:1px solid #edf2f8;border-left:1px solid #edf2f8;background:#fff;font-size:12px}.spec-table div:nth-child(4n+1),.spec-table div:nth-child(4n+2){background:#fbfdff}.spec-table div:nth-last-child(-n+2){border-bottom:0}.spec-table b{color:#55749d;font-weight:700;position:relative;padding-right:12px}.spec-table b:before{content:'';position:absolute;right:0;top:50%;transform:translateY(-50%);width:3px;height:16px;border-radius:3px;background:#2584ff}.spec-table span{color:#102a56;font-weight:800;text-align:left;direction:ltr;unicode-bidi:plaintext;max-width:60%;word-break:break-word}.spec-table+.spec-note{margin-top:8px}.article-body,.text-page{padding:24px}.article-full{padding:20px;position:relative}.article-cover{height:300px;border-radius:10px;margin-bottom:20px;background:linear-gradient(135deg,#8f59e9,#202c70);position:relative}.article-cover:after{content:"";position:absolute;width:95px;height:135px;border-radius:18px;right:38%;top:-14px;transform:rotate(-15deg);background:linear-gradient(145deg,#28374e,#111b30)}.article-full h1{font-size:27px}.article-meta{font-size:11px;color:#7890ae;margin-bottom:16px}.compare-select{display:grid;grid-template-columns:1fr 70px 1fr;gap:18px;align-items:end;padding:20px}.compare-select label{display:block;font-size:12px;margin-bottom:7px;font-weight:700}.compare-select select{width:100%}.vs{width:55px;height:55px;border-radius:50%;background:#1769ff;color:#fff;display:grid;place-items:center;font-weight:800}.comparison-table{border:1px solid #e3edf8;border-radius:10px;overflow:hidden}.compare-head,.compare-row{display:grid;grid-template-columns:180px 1fr 1fr}.compare-head{background:#f3f7fc}.compare-head>div{padding:15px;text-align:center;font-weight:800}.compare-row{border-top:1px solid #e3edf8}.compare-row>*{padding:13px;text-align:center;font-size:12px}.compare-row b{background:#fafcff}.contact-form{display:grid;gap:10px;max-width:700px}.contact-form textarea{resize:vertical}.review-mini{padding:18px}
@media(max-width:760px){.spec-table{grid-template-columns:1fr}.spec-table div{border-left:0}.spec-table div:nth-last-child(-n+2){border-bottom:1px solid #edf2f8}.spec-table div:last-child{border-bottom:0}.spec-table div:nth-child(4n+1),.spec-table div:nth-child(4n+2){background:#fff}.spec-table div:nth-child(odd){background:#fbfdff}.review-hero{grid-template-columns:1fr}.review-hero .product-image{height:240px}.review-intro h1{font-size:23px}.compare-select{grid-template-columns:1fr}.vs{margin:auto}.compare-head,.compare-row{grid-template-columns:100px 1fr 1fr}.article-cover{height:200px}.filter-bar{flex-wrap:wrap}.filter-bar input{flex-basis:100%}}

.pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.pros-card,.cons-card{padding:22px}.pros-card h2,.cons-card h2{font-size:18px;margin:0 0 14px}.pros-card h2{color:#08a66c}.cons-card h2{color:#e55353}.pros-card ul,.cons-card ul{list-style:none;margin:0;padding:0}.pros-card li,.cons-card li{position:relative;padding:10px 28px 10px 8px;border-bottom:1px solid #edf2f8;color:#526f94;font-size:13px;line-height:1.8}.pros-card li:before{content:'✓';position:absolute;right:0;top:9px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e5faf2;color:#08a66c;font-weight:800}.cons-card li:before{content:'×';position:absolute;right:0;top:9px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#fff0f0;color:#e55353;font-weight:800}@media(max-width:760px){.pros-cons{grid-template-columns:1fr}}

/* Keep the specifications card aligned with the site content width */
.spec-section{width:100%;max-width:100%;min-width:0;overflow:hidden}.spec-section .spec-table{width:100%;max-width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr))}.spec-section .spec-table>div{min-width:0;overflow-wrap:anywhere}.spec-section .spec-table b,.spec-section .spec-table span{min-width:0;overflow-wrap:anywhere}@media(max-width:760px){.spec-section .spec-table{grid-template-columns:minmax(0,1fr)}}

/* FIXED 13: specifications stay inside the same content container */
.spec-section{display:block;box-sizing:border-box;width:100%;max-width:100%;margin-left:0;margin-right:0;}
.spec-section .spec-table{box-sizing:border-box;width:100%;max-width:100%;}
/* FIXED 14: المواصفات الأساسية في عمود واحد، كل مواصفة في صف مستقل */
.spec-section .spec-table{grid-template-columns:minmax(0,1fr)!important;width:100%;}
.spec-section .spec-table>div{grid-column:1/-1!important;border-left:0!important;border-bottom:1px solid #edf2f8!important;}
.spec-section .spec-table>div:last-child{border-bottom:0!important;}
.spec-section .spec-table>div:nth-child(4n+1),
.spec-section .spec-table>div:nth-child(4n+2){background:#fff;}
.spec-section .spec-table>div:nth-child(even){background:#fbfdff;}
@media(max-width:760px){.spec-section .spec-table{grid-template-columns:minmax(0,1fr)!important;}.spec-section .spec-table>div{border-left:0!important;}}

/* FIXED 15: global reusable sidebar */
.global-page{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start}.global-page>.content{min-width:0}.site-sidebar{position:sticky;top:85px;min-width:0}.sidebar-widget{background:#fff;border:1px solid #e1eaf5;border-radius:12px;margin-bottom:14px;box-shadow:0 8px 22px #173b6508}.sidebar-widget ol{list-style:none;margin:0;padding:3px 12px}.sidebar-widget .popular-name{color:#173d72;text-decoration:none}.sidebar-widget .popular-name:hover{color:#1769ff}.sidebar-widget.categories{padding-bottom:0}.sidebar-widget.categories .side-title{margin-bottom:0}.sidebar-widget .side-title{background:#fff}.sidebar-widget.most_searched .side-title span{color:#ff4a27}.sidebar-widget.top_rated .side-title span{color:#f2a900}.sidebar-widget.latest .side-title span{color:#1769ff}.sidebar-widget.most_viewed .side-title span{color:#8e45ef}
@media(max-width:1050px){.global-page{grid-template-columns:minmax(0,1fr) 240px}}
@media(max-width:760px){.global-page{grid-template-columns:1fr}.site-sidebar{position:static}.global-page>.content{min-width:0}}

/* FIXED 17: keep the original site styling; only bring the specification value next to its name */
.spec-section .spec-table>div{justify-content:flex-start;gap:18px;}
.spec-section .spec-table>div b{flex:0 0 auto;}
.spec-section .spec-table>div span{flex:0 0 auto;text-align:right;}

/* FIXED 18: محاذاة قيم المواصفات الإضافية على خط رأسي واحد */
.spec-section .spec-table>div{
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  align-items:center;
  justify-content:initial;
  column-gap:18px;
  direction:rtl;
}
.spec-section .spec-table>div b{
  grid-column:1;
  width:140px;
  box-sizing:border-box;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.spec-section .spec-table>div span{
  grid-column:2;
  text-align:right;
  direction:rtl;
  unicode-bidi:plaintext;
  max-width:none;
  min-width:0;
}
@media(max-width:760px){
  .spec-section .spec-table>div{
    grid-template-columns:115px minmax(0,1fr);
    column-gap:12px;
  }
  .spec-section .spec-table>div b{width:115px;}
}


/* Stage 19: نظام تقييم الهاتف */
.phone-rating-card{margin-top:16px}.phone-rating-card .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.rating-overall{display:flex;align-items:baseline;gap:3px;color:#173d72}.rating-overall b{font-size:24px}.rating-overall small{color:#7b91ad}.rating-overall-row{display:grid;grid-template-columns:130px minmax(0,1fr);gap:24px;align-items:center}.rating-score-circle{width:112px;height:112px;border-radius:50%;background:#f5f0ff;border:8px solid #eee5ff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#6f42c1}.rating-score-circle strong{font-size:28px;line-height:1}.rating-score-circle span{font-size:11px;margin-top:5px;color:#8a77a5}.rating-bars{display:grid;gap:11px}.rating-bar-row{display:grid;grid-template-columns:125px minmax(0,1fr) 36px;gap:10px;align-items:center}.rating-label{font-size:13px;color:#526f94}.rating-bar{height:8px;background:#edf2f8;border-radius:99px;overflow:hidden}.rating-bar i{display:block;height:100%;background:#7b4bd3;border-radius:inherit}.rating-bar-row>b{font-size:13px;color:#173d72;text-align:left}.rating-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:10px}.rating-field{position:relative}.rating-field small{display:block;margin-top:4px;color:#8aa0ba;font-size:11px}.check-row{display:flex!important;align-items:center;gap:8px;margin-top:18px!important;font-size:13px;color:#526f94}.rating-note{margin-top:8px;color:#8aa0ba;font-size:12px}.rating-admin-box{padding:18px;border:1px solid #e5edf7;border-radius:12px;background:#fbfdff}@media(max-width:760px){.rating-overall-row{grid-template-columns:1fr}.rating-score-circle{margin:auto}.rating-bar-row{grid-template-columns:105px minmax(0,1fr) 32px}.rating-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.rating-grid{grid-template-columns:1fr}.rating-bar-row{grid-template-columns:95px minmax(0,1fr) 30px}.rating-label{font-size:12px}}

/* Stage 20 - Professional phone comparison */
.compare-page-title{align-items:center}.compare-swap{border:1px solid #dce8f7;background:#fff;color:#1769ff;border-radius:9px;padding:10px 14px;font-weight:800;cursor:pointer}.compare-swap:hover{background:#f5f9ff}.compare-picker{display:grid;grid-template-columns:minmax(0,1fr) 70px minmax(0,1fr);gap:18px;align-items:end;padding:20px;margin-bottom:16px}.compare-picker-item label{display:block;font-size:12px;margin-bottom:7px;font-weight:800;color:#35577f}.compare-picker-item select{width:100%;border:1px solid #dce8f7;border-radius:9px;padding:11px 12px;background:#fff;color:#102a56;outline:none}.compare-vs{width:55px;height:55px;border-radius:50%;background:linear-gradient(135deg,#1769ff,#4b9cff);color:#fff;display:grid;place-items:center;font-weight:900;box-shadow:0 8px 20px rgba(23,105,255,.18)}.professional-compare{overflow:hidden;padding:0}.compare-products-head,.compare-rating-grid,.compare-spec-grid{display:grid;grid-template-columns:190px minmax(0,1fr) minmax(0,1fr)}.compare-products-head{background:#f7faff;border-bottom:1px solid #e2ebf6}.compare-label-cell{display:flex;flex-direction:column;justify-content:center;padding:16px 18px;background:#fbfdff;border-left:1px solid #e6eef8}.compare-label-cell span{color:#52729a;font-size:12px;font-weight:700}.compare-label-cell small{color:#91a5bd;font-size:10px;margin-top:4px}.compare-product-cell{padding:22px 18px;border-left:1px solid #e6eef8}.compare-product{display:flex;align-items:center;gap:18px;min-width:0}.compare-product-image{width:110px;height:130px;display:grid;place-items:center;flex:0 0 auto}.compare-product-image img{max-width:100%;max-height:120px;object-fit:contain}.compare-brand{font-size:11px;color:#7b93b0}.compare-product h2{font-size:18px;color:#173d72;margin:5px 0 8px;line-height:1.5}.compare-main-rating{display:flex;align-items:baseline;gap:3px}.compare-main-rating strong{font-size:23px;color:#173d72}.compare-main-rating span{font-size:11px;color:#8ba0b8}.compare-main-rating i{font-style:normal;color:#ffad08;margin-right:6px}.compare-view{display:inline-block;margin-top:8px;color:#1769ff;font-size:11px;font-weight:800}.compare-section-title{padding:14px 18px;background:#f1f6fc;border-top:1px solid #e2ebf6;border-bottom:1px solid #e2ebf6;display:flex;align-items:center;justify-content:space-between;gap:10px}.compare-section-title span{font-size:14px;color:#173d72;font-weight:900}.compare-section-title small{font-size:10px;color:#8ba0b8}.compare-rating-cell,.compare-value-cell{min-width:0;padding:12px 16px;border-left:1px solid #e6eef8;border-bottom:1px solid #edf2f8;display:flex;align-items:center;justify-content:center;text-align:center;font-size:12px;color:#102a56;font-weight:800}.compare-rating-grid>.compare-label-cell:nth-child(3n+1),.compare-spec-grid>.compare-label-cell{background:#fbfdff}.mini-rating{width:100%;max-width:230px;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;column-gap:3px}.mini-rating strong{font-size:15px;color:#173d72}.mini-rating span{font-size:10px;color:#91a5bd}.mini-rating-bar{grid-column:1/-1;width:100%;height:6px;background:#edf2f8;border-radius:99px;overflow:hidden;margin-top:7px}.mini-rating-bar i{display:block;height:100%;background:#7b4bd3;border-radius:inherit}.compare-value-cell{background:#fff}.compare-value-cell:nth-child(3n){background:#fbfdff}.compare-pros-cons{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:16px;background:#fbfdff}.compare-side{border:1px solid #e4edf7;border-radius:11px;padding:16px;background:#fff;min-height:100px}.compare-side h3{margin:0 0 10px;font-size:13px;color:#173d72}.compare-side ul{margin:0;padding-right:18px;color:#5e7899;font-size:12px;line-height:2}.compare-side p{margin:0;color:#91a5bd;font-size:12px}.compare-side:nth-child(3),.compare-side:nth-child(4){border-top:2px solid #f1dede}.compare-side:nth-child(1),.compare-side:nth-child(2){border-top:2px solid #dff3ea}
@media(max-width:760px){.compare-page-title{align-items:flex-start;gap:10px}.compare-swap{padding:8px 10px;font-size:11px}.compare-picker{grid-template-columns:1fr;gap:12px}.compare-vs{margin:auto;width:45px;height:45px}.compare-products-head,.compare-rating-grid,.compare-spec-grid{grid-template-columns:95px minmax(0,1fr) minmax(0,1fr)}.compare-product-cell{padding:14px 8px}.compare-product{display:block;text-align:center}.compare-product-image{width:80px;height:95px;margin:auto}.compare-product-image img{max-height:88px}.compare-product h2{font-size:12px}.compare-brand{font-size:9px}.compare-main-rating strong{font-size:16px}.compare-main-rating{justify-content:center}.compare-view{font-size:9px}.compare-label-cell{padding:12px 8px}.compare-label-cell span{font-size:10px}.compare-rating-cell,.compare-value-cell{padding:10px 6px;font-size:10px}.mini-rating strong{font-size:13px}.compare-section-title{display:block}.compare-section-title small{display:block;margin-top:4px}.compare-pros-cons{grid-template-columns:1fr}.compare-side:nth-child(3){margin-top:0}}

/* Stage 20: ألوان المميزات والعيوب */
.compare-side.pros-box{border-top:3px solid #22a06b!important;background:#f7fffb}
.compare-side.cons-box{border-top:3px solid #e53935!important;background:#fff8f8}
.compare-side.pros-box h3{color:#15945f!important}
.compare-side.cons-box h3{color:#e53935!important}
.compare-side.pros-box li::marker{color:#22a06b}
.compare-side.cons-box li::marker{color:#e53935}
.compare-side.pros-box li{color:#3f775f}
.compare-side.cons-box li{color:#8b5a5a}


/* Stage 21: هل الهاتف مناسب لك؟ */
.phone-fit-card{padding:16px;margin-top:16px}
.phone-fit-card .section-head{padding-bottom:7px}
.fit-badge{font-size:11px;color:#1769ff;background:#eef5ff;border-radius:20px;padding:5px 10px;font-weight:800}
.fit-intro{margin:0 8px 16px;color:#7890b0;font-size:12px;line-height:1.8}
.fit-questions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.fit-question{background:#f8fbff;border:1px solid #e4edf7;border-radius:10px;padding:12px}
.fit-question label{display:block;font-size:12px;font-weight:800;color:#35577f;margin-bottom:7px}
.fit-select{width:100%;box-sizing:border-box;border:1px solid #dce8f7;background:#fff;border-radius:8px;padding:9px;color:#173d72;outline:none;font-family:inherit}
.fit-result{margin-top:14px;border:1px solid #dce8f7;border-radius:12px;background:#fbfdff;padding:15px;display:flex;align-items:center;gap:16px}
.fit-score{width:86px;height:86px;border-radius:50%;background:#eef7ff;border:7px solid #dceeff;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#1769ff;flex:0 0 auto}
.fit-score strong{font-size:20px;line-height:1}.fit-score span{font-size:9px;margin-top:4px;color:#7890b0}
.fit-message b{font-size:14px;color:#173d72}.fit-message p{margin:5px 0 0;font-size:11px;color:#7890b0;line-height:1.7}
.fit-reasons{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.fit-reasons span{font-size:10px;color:#167c55;background:#effaf5;border:1px solid #d4f1e3;border-radius:20px;padding:5px 9px}
@media(max-width:760px){.fit-questions{grid-template-columns:1fr}.fit-result{align-items:flex-start}.fit-score{width:76px;height:76px}}


/* Stage 22: User reviews */
.user-reviews-card{margin-top:18px}
.user-reviews-count{font-size:13px;color:#6f86a3;background:#f4f8fc;border:1px solid #e4edf6;border-radius:999px;padding:6px 10px}
.user-reviews-intro{color:#7187a2;margin:0 0 16px}
.user-review-form{padding:16px;border:1px solid #e5edf7;border-radius:14px;background:#fbfdff;margin-bottom:18px}
.user-review-grid{display:grid;grid-template-columns:1fr 220px;gap:14px}
.user-review-form label{display:block;color:#496b91;font-size:13px;margin-bottom:12px}
.user-review-form input,.user-review-form select,.user-review-form textarea{display:block;width:100%;margin-top:7px;border:1px solid #dce7f2;border-radius:10px;padding:11px 12px;background:#fff;color:#173d72;font:inherit;box-sizing:border-box}
.user-review-form textarea{resize:vertical;min-height:120px}
.user-review-form .primary-btn{border:0;cursor:pointer}
.user-review-note{display:block;color:#8aa0ba;margin-top:9px}
.user-review-notice{border-radius:10px;padding:10px 12px;margin-bottom:14px;font-size:13px}
.user-review-notice.success{background:#effaf2;color:#23803c;border:1px solid #cdebd4}
.user-review-notice.error{background:#fff2f2;color:#c13b3b;border:1px solid #f0cccc}
.user-review-list{display:grid;gap:12px}
.user-review-item{border:1px solid #e5edf7;border-radius:13px;padding:15px;background:#fff}
.user-review-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.user-review-top strong{color:#173d72}
.user-review-rating{color:#c88a00;font-weight:700}
.user-review-stars{margin-top:6px}
.user-review-item p{color:#526f94;line-height:1.8;margin:10px 0}
.user-review-item time{font-size:11px;color:#94a8bf}
.user-review-empty{padding:18px;border:1px dashed #dce7f2;border-radius:12px;color:#8aa0ba;text-align:center}
@media(max-width:700px){.user-review-grid{grid-template-columns:1fr}.user-review-top{align-items:flex-start;flex-direction:column}}


/* Stage 22 layout fix: keep rating and user reviews inside the main content column */
.global-page > .content > .phone-rating-card,
.global-page > .content > .user-reviews-card {
  width: 100%;
  box-sizing: border-box;
  grid-column: auto;
}
.global-page > .content > .pros-cons,
.global-page > .content > .spec-section,
.global-page > .content > .article-body {
  width: 100%;
  box-sizing: border-box;
}

/* Stage 22 SAFE SIDEBAR: preserve all existing design, explicitly place the two columns */
@media(min-width:761px){
  .global-page{display:grid!important;grid-template-columns:minmax(0,1fr) 280px!important;align-items:start!important;gap:18px!important;}
  .global-page>.content{grid-column:1!important;grid-row:1!important;min-width:0!important;}
  .global-page>.site-sidebar{grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;position:sticky!important;top:85px!important;}
}
@media(max-width:1050px) and (min-width:761px){
  .global-page{grid-template-columns:minmax(0,1fr) 240px!important;}
}
@media(max-width:760px){
  .global-page{display:grid!important;grid-template-columns:1fr!important;}
  .global-page>.content{grid-column:1!important;grid-row:1!important;}
  .global-page>.site-sidebar{grid-column:1!important;grid-row:2!important;position:static!important;}
}

/* Stage 22: عنوان الهاتف أعلى صورة الهاتف فقط */
.review-hero .product-image{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:8px;box-sizing:border-box;padding:14px 12px;}
.review-hero .product-image .phone-image-title{margin:0;text-align:center;font-size:22px;line-height:1.35;color:#173d72;font-weight:900;width:100%;}.review-hero .product-image img{height:245px;max-height:245px;object-fit:contain;}
@media(max-width:760px){.review-hero .product-image{height:240px;padding:12px 10px;gap:5px}.review-hero .product-image .phone-image-title{font-size:18px}.review-hero .product-image img{height:185px;max-height:185px}}

/* Stage 22: عنوان الهاتف بعرض كامل أعلى صورة الهاتف */
.phone-page-title{display:block;width:100%;box-sizing:border-box;margin:0 0 16px;padding:16px 20px;text-align:center;font-size:28px;line-height:1.35;font-weight:800;color:#173d72;background:#fff;border:1px solid #e5edf7;border-radius:12px;box-shadow:0 4px 14px rgba(20,55,95,.05);}
@media(max-width:760px){.phone-page-title{font-size:22px;padding:13px 14px;margin-bottom:12px;}}

/* Stage 22: جدول المواصفات بجانب صورة الهاتف */
.phone-hero-specs{align-items:stretch!important;}
.phone-hero-specs .review-image{display:flex;align-items:center;justify-content:center;}
.phone-summary-specs{padding:22px!important;}
.phone-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}
.phone-summary-head h2{margin:0;font-size:20px;color:#173d72;}
.phone-summary-table{border:1px solid #e5edf7;border-radius:12px;overflow:hidden;background:#fff;}
.phone-summary-table table{width:100%;border-collapse:collapse;table-layout:fixed;}
.phone-summary-table tr:not(:last-child){border-bottom:1px solid #edf2f8;}
.phone-summary-table th,.phone-summary-table td{padding:11px 13px;text-align:right;vertical-align:middle;}
.phone-summary-table th{width:38%;font-size:13px;color:#526f94;font-weight:700;background:#f8fbff;}
.phone-summary-table td{font-size:13px;color:#173d72;font-weight:600;word-break:break-word;}
.phone-compare-btn{white-space:nowrap;}
@media(max-width:760px){
 .phone-summary-head{align-items:flex-start;flex-direction:column;}
 .phone-summary-specs{padding:16px!important;}
 .phone-summary-table th,.phone-summary-table td{padding:10px;}
 .phone-summary-table th{width:42%;}
}
/* Stage 23: controllable hero specification table */
.phone-summary-specs{min-width:0;padding:20px 22px!important}.phone-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.phone-summary-head h2{margin:0;color:#173d72;font-size:20px;font-weight:900}.phone-compare-btn{padding:8px 13px;font-size:11px;white-space:nowrap}.phone-summary-table{border:1px solid #e1eaf5;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(31,73,125,.06)}.phone-summary-table table{width:100%;border-collapse:collapse;table-layout:fixed}.phone-summary-table tr{border-bottom:1px solid #edf2f8}.phone-summary-table tr:last-child{border-bottom:0}.phone-summary-table th,.phone-summary-table td{padding:11px 13px;font-size:12px;line-height:1.5}.phone-summary-table th{width:38%;text-align:right;color:#607c9f;font-weight:800;background:#f8fbff}.phone-summary-table td{text-align:left;direction:ltr;unicode-bidi:plaintext;color:#173d72;font-weight:900;word-break:break-word;background:#fff}.phone-summary-table tr:nth-child(even) th{background:#f3f8fe}.phone-summary-table tr:nth-child(even) td{background:#fbfdff}.phone-summary-empty{padding:28px 16px;text-align:center;border:1px dashed #d8e5f3;border-radius:12px;color:#8aa0b8;background:#f9fbfe;font-size:12px}.summary-style-compact .phone-summary-specs{padding:15px 18px!important}.summary-style-compact .phone-summary-head{margin-bottom:9px}.summary-style-compact .phone-summary-head h2{font-size:17px}.summary-style-compact .phone-summary-table th,.summary-style-compact .phone-summary-table td{padding:8px 10px;font-size:11px}@media(max-width:760px){.phone-summary-head{align-items:flex-start}.phone-summary-head h2{font-size:17px}.phone-summary-table th,.phone-summary-table td{padding:9px 10px;font-size:11px}.phone-summary-table th{width:42%}}


/* Stage 24: ربط جدول المواصفات مباشرة بمواصفات الهواتف */
.summary-source-note{margin:0 0 18px;padding:13px 15px;border:1px solid #dce9f7;border-right:4px solid #1769ff;border-radius:12px;background:#f7fbff;color:#456987;font-size:12px;line-height:1.9}.summary-source-note b{color:#173d72}.summary-source-note span{color:#7890ab}.summary-control-table .summary-key{display:inline-block;direction:ltr;color:#8aa0b8;font-size:10px;margin-top:3px}.summary-inactive{display:inline-block;margin-right:7px;padding:3px 7px;border-radius:999px;background:#fff4e5;color:#a66a00;font-size:9px;font-weight:700}.summary-control-table td{vertical-align:middle}.summary-control-table .check{white-space:nowrap}.summary-control-table input.input{min-width:150px}.summary-help{margin-top:16px;padding:14px 16px;border:1px dashed #d6e3f0;border-radius:12px;background:#fbfdff;color:#647f9d;font-size:12px;line-height:1.9}.summary-help b{color:#173d72}.summary-help ol{margin:7px 0 0;padding-right:20px}.summary-help li{margin:3px 0}@media(max-width:760px){.summary-control-table{overflow-x:auto}.summary-control-table table{min-width:720px}.summary-source-note{font-size:11px}}

/* Stage 27 - specification icons */
.spec-icon-preview{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#f3f7fc;border:1px solid #e3edf8;font-size:18px;vertical-align:middle}.phone-summary-table th{direction:rtl}.phone-summary-table th .phone-spec-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:#eef5ff;border:1px solid #dbe8f7;margin-left:9px;font-size:17px;vertical-align:middle;line-height:1}.phone-summary-table th>span:last-child{vertical-align:middle}.phone-summary-table tr:hover th{background:#f3f8ff}.phone-summary-table tr:hover .phone-spec-icon{transform:translateY(-1px)}

/* Stage 28 - modern specification icon system */
.modern-icon-picker{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:10px;margin-top:10px}
.modern-icon-option{appearance:none;border:1px solid #dfe9f4;background:#fff;border-radius:14px;padding:10px 7px;min-height:78px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#587392;font:inherit;font-size:10px;font-weight:800;cursor:pointer;transition:.18s ease}
.modern-icon-option:hover{border-color:#b9d2ee;background:#f8fbff;transform:translateY(-1px)}
.modern-icon-option.selected{border-color:#1769ff;background:#f2f7ff;color:#1769ff;box-shadow:0 0 0 2px rgba(23,105,255,.08)}
.modern-icon-box{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#f1f6fc;color:#356a9d}
.modern-icon-option.selected .modern-icon-box{background:#e4efff;color:#1769ff}
.modern-spec-icon-svg{width:21px;height:21px;display:block}
.modern-admin-icon{color:#1769ff;background:#f2f7ff!important}
.modern-admin-icon svg{width:20px;height:20px;display:block}
.phone-summary-table th .phone-spec-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#eef5ff,#f7fbff);border:1px solid #dbe8f7;margin-left:9px;color:#1769ff;vertical-align:middle;line-height:1;transition:.18s ease}
.phone-summary-table th .phone-spec-icon svg{width:18px;height:18px;display:block}
.phone-summary-table tr:hover th .phone-spec-icon{transform:translateY(-1px) scale(1.03);box-shadow:0 5px 12px rgba(23,105,255,.08)}
@media(max-width:900px){.modern-icon-picker{grid-template-columns:repeat(4,minmax(80px,1fr))}}
@media(max-width:560px){.modern-icon-picker{grid-template-columns:repeat(3,minmax(72px,1fr));gap:8px}.modern-icon-option{min-height:72px}}

/* V18: keep the existing header search on the left side on mobile only */
@media(max-width:760px){.header-inner{position:relative}.header-actions{position:absolute;left:0;top:50%;transform:translateY(-50%);z-index:72;margin:0;}.header-search-direct{margin:0}.header-search-direct input{width:115px}.header-search-direct button{width:32px;height:32px}}
@media(max-width:430px){.header-search-direct input{width:105px}.header-search-direct button{width:30px;height:30px;font-size:15px}}

/* Mobile header alignment fix: keep search, logo and menu on one row */
@media(max-width:760px){
  .header-inner{flex-wrap:nowrap;align-items:center;white-space:nowrap;}
  .mobile-toggle{flex:0 0 auto;}
  .logo{min-width:0;overflow:hidden;text-overflow:ellipsis;}
  .header-actions{flex:0 0 auto;}
}
.footer-socials a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;text-decoration:none;color:inherit;background:rgba(255,255,255,.08);margin-left:5px}.footer-socials a:hover{background:rgba(255,255,255,.16)}

.site-ad{width:100%;box-sizing:border-box;margin:14px 0;display:flex;justify-content:center;align-items:center;overflow:hidden}.site-ad-top,.site-ad-bottom{min-height:0}.site-ad-sidebar{margin:0 0 14px}.site-ad img{max-width:100%;height:auto}.site-ad iframe{max-width:100%;border:0}

.site-ad-below_header,.site-ad-content_top,.site-ad-content_bottom,.site-ad-footer_top{width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;overflow:hidden;margin:14px 0}.site-ad-phone_after_summary,.site-ad-phone_after_specs,.site-ad-phone_after_rating,.site-ad-article_after_cover{width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;overflow:hidden;margin:16px 0}.site-ad-mobile_sticky{position:fixed;left:0;right:0;bottom:0;z-index:9998;display:none;justify-content:center;align-items:center;padding:6px;background:rgba(255,255,255,.96);box-shadow:0 -4px 18px rgba(15,23,42,.12);box-sizing:border-box}.site-ad-mobile_sticky img,.site-ad-mobile_sticky iframe{max-width:100%;height:auto;border:0}@media(max-width:700px){.site-ad-mobile_sticky{display:flex}.site-ad-below_header,.site-ad-content_top,.site-ad-content_bottom,.site-ad-footer_top,.site-ad-phone_after_summary,.site-ad-phone_after_specs,.site-ad-phone_after_rating,.site-ad-article_after_cover{margin:10px 0}}

/* Affiliate purchase links */
.affiliate-box{margin:22px 0;padding:20px;border:1px solid #e8eaf2;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(30,40,80,.05)}
.affiliate-box .section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.affiliate-box .section-head h2{margin:0;font-size:20px}.affiliate-box .section-head span{font-size:13px;opacity:.65}
.affiliate-list{display:grid;gap:10px}.affiliate-item{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:13px 14px;border:1px solid #edf0f5;border-radius:14px;background:#fafbfc}
.affiliate-info{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.affiliate-info b{font-size:15px}.affiliate-info span{opacity:.72;font-size:13px}.affiliate-info strong{font-size:15px}.affiliate-btn{white-space:nowrap;text-decoration:none}
@media(max-width:700px){.affiliate-item{align-items:stretch;flex-direction:column}.affiliate-btn{text-align:center;width:100%;box-sizing:border-box}.affiliate-info{gap:7px}}

/* Modern affiliate purchase table */
.affiliate-box{margin:24px 0;padding:0;border:1px solid #e8edf5;border-radius:20px;background:#fff;box-shadow:0 10px 30px rgba(28,39,70,.07);overflow:hidden}
.affiliate-heading{display:flex;align-items:center;gap:13px;padding:18px 20px;border-bottom:1px solid #edf1f6;background:linear-gradient(180deg,#fff,#f8fafc)}
.affiliate-heading-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:#eef3ff;font-size:21px}
.affiliate-heading h2{margin:0;font-size:20px}.affiliate-heading span{display:block;margin-top:3px;font-size:12px;opacity:.62}
.affiliate-table{width:100%}.affiliate-row{display:grid;grid-template-columns:minmax(190px,1.4fr) minmax(170px,1fr) 120px 130px;align-items:center;gap:16px;padding:14px 18px;border-bottom:1px solid #eef1f5}.affiliate-row:last-child{border-bottom:0}.affiliate-row-head{background:#f8fafc;font-size:12px;font-weight:700;opacity:.65}.affiliate-store{display:flex;align-items:center;gap:11px;min-width:0}.affiliate-store img,.affiliate-store-fallback{width:44px;height:44px;border-radius:12px;object-fit:contain;border:1px solid #e7ebf1;background:#fff;flex:0 0 44px}.affiliate-store-fallback{display:grid;place-items:center;font-weight:800;font-size:16px;color:#52607a}.affiliate-store b{display:block;font-size:14px}.affiliate-store small{display:block;margin-top:3px;font-size:11px;opacity:.58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.affiliate-offer{font-size:13px;opacity:.72}.affiliate-price{font-size:15px;font-weight:800;white-space:nowrap}.affiliate-btn{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:0 15px;border-radius:11px;background:#111827;color:#fff;text-decoration:none;font-size:13px;font-weight:700;white-space:nowrap}.affiliate-btn:hover{opacity:.9}
@media(max-width:800px){.affiliate-row{grid-template-columns:1fr 1fr;gap:11px}.affiliate-row-head{display:none}.affiliate-store{grid-column:1 / -1}.affiliate-offer{grid-column:1}.affiliate-price{grid-column:2;text-align:end}.affiliate-row>div:last-child{grid-column:1 / -1}.affiliate-btn{width:100%;box-sizing:border-box}}

.affiliate-current-image{margin-top:8px}.affiliate-current-image img{width:54px;height:54px;object-fit:contain;border:1px solid #e6eaf0;border-radius:10px;background:#fff}
.affiliate-admin-store{display:flex;align-items:center;gap:9px}.affiliate-admin-store img,.affiliate-admin-store>span{width:38px;height:38px;border-radius:9px;object-fit:contain;border:1px solid #e5e9ef;background:#fff;display:grid;place-items:center;flex:0 0 38px}
