/* FIXPOINT · 2026 identity homepage. Existing logo and Cairo/Poppins remain. */
:root {
    --primary-blue: #043AF5;
    --light-green: #68D425;
    --dark-navy: #040926;
    --danger-red: #B20D30;
    --white: #FEFFFF;
    --light-background: #F7F9FC;
    --border-color: #E6EAF1;
}

.fxp-home { color: #040926; font-family: "Cairo", sans-serif; isolation: isolate; }
.fxp-home *, .fxp-home *::before, .fxp-home *::after { box-sizing: border-box; }
.fxp-home a { text-decoration: none; }
.fxp-home .fxp-copy-en { display: none; }
.fxp-home.fxp-home--english .fxp-copy-en { display: inline; }
.fxp-home.fxp-home--english .fxp-copy-ar { display: none; }
.fxp-home.fxp-home--english { font-family: "Poppins", "Cairo", sans-serif; }
.fxp-home [id] { scroll-margin-top: 110px; }
.fxp-hero { position: relative; overflow: hidden; background: #FEFFFF; border-bottom: 1px solid #E8ECF4; }
.fxp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 35% 53% at 8% 18%, rgba(4, 58, 245, .075), transparent 80%), radial-gradient(ellipse 40% 64% at 97% 105%, rgba(104,212,37,.09),transparent 76%); }
.fxp-hero::after { content: ""; position: absolute; width: 480px; height: 480px; left: -250px; bottom: -320px; border: 1px solid rgba(4,58,245,.1); border-radius: 50%; box-shadow: 0 0 0 70px rgba(4,58,245,.015),0 0 0 140px rgba(4,58,245,.012); pointer-events: none; }
.fxp-hero-inner, .fxp-section-shell { position: relative; max-width: 1230px; width: calc(100% - 48px); margin-inline: auto; }
.fxp-hero-inner { padding-block: 25px 56px; }
.fxp-hero-topline { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.fxp-kicker, .fxp-section-index { font-family: "Poppins", sans-serif; color: #043AF5; font-weight: 750; font-size: 11px; letter-spacing: .13em; }
.fxp-kicker { display: inline-flex; align-items: center; gap: 10px; }
.fxp-kicker-dot { color: #AAB1C3; }
.fxp-signal { width: 7px; height: 7px; background: #68D425; border-radius: 50%; box-shadow: 0 0 0 5px rgba(104, 212, 37, .15); }
.fxp-lang-switch { display: flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 8px; padding: 8px 13px; min-width: 95px; border: 1px solid #DCE3EF; border-radius: 100px; background: #FFF; color: #040926; font-family: "Poppins", "Cairo", sans-serif; font-weight: 700; font-size: 12px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.fxp-lang-switch svg { width: 16px; height: 16px; }
.fxp-lang-switch:hover, .fxp-lang-switch:focus-visible { border-color: #043AF5; background: #F0F4FF; }
.fxp-lang-switch .fxp-copy-en { display: none; }
.fxp-home--english .fxp-lang-switch .fxp-copy-en { display: inline; }
.fxp-home--english .fxp-lang-switch .fxp-copy-ar { display: none; }
.fxp-hero-copy { max-width: 880px; margin: 67px auto 38px; text-align: center; }
.fxp-hero h1 { margin: 0; color: #040926; font-size: clamp(31px, 4.65vw, 65px); line-height: 1.45; font-weight: 800; letter-spacing: -.018em; }
.fxp-hero h1 em { font-style: normal; color: #043AF5; white-space: nowrap; }
.fxp-hero-description { margin: 13px auto 0; color: #586278; font-size: clamp(15px, 1.55vw, 19px); line-height: 2; font-weight: 500; }
.fxp-hero-description strong { font-weight: 900; color: #040926; position: relative; }
.fxp-hero-description strong::after { content: ""; position: absolute; bottom: 1px; right: 0; left: 0; height: 5px; border-radius: 10px; background: rgba(104,212,37,.45); z-index: -1; }
.fxp-departments { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.fxp-department { display: flex; align-items: center; gap: 16px; min-width: 0; min-height: 115px; padding: 20px 23px; border-radius: 19px; border: 1px solid #E2E8F0; background: #FEFFFF; color: #040926; box-shadow: 0 10px 32px rgba(4,9,38,.035); transition: transform .2s,border-color .2s,box-shadow .2s; }
.fxp-department:hover, .fxp-department:focus-visible { transform: translateY(-4px); border-color: #043AF5; box-shadow: 0 14px 35px rgba(4,58,245,.1); }
.fxp-department--electronics { border-color: rgba(4,58,245,.26); }
.fxp-department--electronics .fxp-dept-icon { background: rgba(4,58,245,.08); color: #043AF5; }
.fxp-department--appliances .fxp-dept-icon { background: rgba(104,212,37,.16); color: #28630B; }
.fxp-dept-icon { display: grid; place-items: center; width: 68px; height: 68px; min-width: 68px; border-radius: 16px; }
.fxp-dept-icon svg { width: 36px; height: 36px; }
.fxp-dept-copy { flex: 1; display: grid; align-content: center; gap: 2px; min-width: 0; }
.fxp-dept-copy strong { font-weight: 900; font-size: clamp(14px, 1.4vw, 18px); line-height: 1.6; }
.fxp-dept-copy small { font: 600 10px/1.5 "Poppins", sans-serif; color: #8490A0; }
.fxp-dept-arrow { color: #043AF5; font: 700 25px/1 "Poppins", sans-serif; align-self: center; }
.fxp-hero-bottom { max-width: 980px; display: flex; align-items: center; gap: 14px; margin: 27px auto 0; color: #9CA8BD; font: 600 10px/1.4 "Poppins", sans-serif; letter-spacing: .14em; }
.fxp-hero-rule { flex: 1; height: 1px; background: #E5EAF2; }
.fxp-section { padding: 70px 0 75px; background: #FEFFFF; }
.fxp-section:nth-of-type(odd) { background: #F8FAFE; }
.fxp-section--appliances { background: #F7FAF8; }
.fxp-section--electronics { background: #FEFFFF; }
.fxp-section--reviews { background: #F8FAFE; }
.fxp-section--offers { background: #FEFFFF; }
.fxp-section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.fxp-section-index { display: block; margin-bottom: 9px; color: #8390A6; }
.fxp-section-index span { color: #68D425; }
.fxp-section h2 { margin: 0; font-weight: 900; color: #040926; line-height: 1.5; font-size: clamp(23px, 2.4vw, 33px); }
.fxp-highlight { color: #043AF5; }
.fxp-section-link { display: inline-flex; gap: 10px; align-items: center; flex-shrink: 0; font-size: 13px; color: #043AF5; font-weight: 800; padding: 7px 0; }
.fxp-section-link:hover, .fxp-section-link:focus-visible { text-decoration: underline; }
.fxp-section-link > span:last-child { font: 800 18px/1 "Poppins", sans-serif; }
.fxp-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 17px; }
.fxp-category-card { min-width: 0; border: 1px solid #E8EDF3; border-radius: 15px; background: #FFF; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.fxp-category-card:hover, .fxp-category-card:focus-visible { transform: translateY(-3px); border-color: rgba(4,58,245,.4); box-shadow: 0 16px 34px rgba(4,9,38,.075); }
.fxp-category-image { min-height: 158px; aspect-ratio: 1.52; display: grid; place-items: center; background: #F2F6FB; overflow: hidden; }
.fxp-category-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.fxp-category-card:hover img { transform: scale(1.035); }
.fxp-category-placeholder { display: grid; place-items: center; width: 70px; height: 70px; border: 1px solid #D8E2EF; border-radius: 18px; background: #FEFFFF; color: #043AF5; font: 800 24px/1 "Poppins", sans-serif; }
.fxp-category-info { min-height: 68px; display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.fxp-category-info strong { flex: 1; font-size: 14px; font-weight: 800; line-height: 1.65; }
.fxp-card-arrow { color: #043AF5; font: 800 19px/1 "Poppins", sans-serif; }
.fxp-section-empty { grid-column: 1/-1; min-height: 150px; border: 1px dashed #CCD7E4; border-radius: 15px; display: grid; place-content: center; gap: 10px; background: rgba(255,255,255,.65); color: #8290A1; font-weight: 700; font-size: 14px; text-align: center; }
.fxp-empty-line { width: 40px; height: 3px; border-radius: 5px; margin-inline: auto; background: #68D425; }
.fxp-reviews-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.fxp-review-card { background: #FFF; border: 1px solid #E9EDF4; border-radius: 16px; padding: 19px; min-width: 0; }
.fxp-review-card header { display: flex; align-items: center; gap: 10px; }
.fxp-review-avatar { flex: 0 0 41px; height: 41px; display: grid; place-items: center; border-radius: 12px; color: #043AF5; background: #EDF2FF; font-weight: 900; }
.fxp-review-head { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.fxp-review-head strong { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fxp-review-head small { font-size: 10px; color: #9AA5B4; }
.fxp-review-stars { display: flex; gap: 2px; flex-shrink: 0; font-size: 13px; color: #CBD2E0; }
.fxp-review-stars .is-filled, .fxp-stars { color: #68AB16; }
.fxp-review-card p { font-size: 13px; line-height: 1.9; color: #5E6678; min-height: 48px; margin: 17px 0 12px; }
.fxp-review-card > a { font-size: 11px; color: #043AF5; font-weight: 800; }
.fxp-verified { display: block; color: #527530; font-size: 10px; margin-top: 9px; }
.fxp-review-score { font: 800 21px/1.4 "Poppins",sans-serif; color: #040926; white-space: nowrap; }
.fxp-review-score small { font-size: 11px; color: #8995A9; }
.fxp-offers-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.fxp-offers-grid > .empty-message { grid-column: 1 / -1; }
.fxp-home--english .fxp-category-info, .fxp-home--english .fxp-review-card { text-align: left; }
.fxp-home--english .fxp-review-card header { direction: ltr; }
.fxp-home--english .fxp-offers-grid { direction: rtl; }
@media (max-width: 1024px) {
    .fxp-category-grid,.fxp-offers-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .fxp-reviews-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .fxp-dept-icon { width: 58px; height: 58px; min-width: 58px; }
}
@media (max-width: 740px) {
    .fxp-hero-inner,.fxp-section-shell { width: calc(100% - 32px); }
    .fxp-hero-inner { padding-block: 19px 40px; }
    .fxp-hero-copy { margin: 49px auto 32px; }
    .fxp-hero h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.5; }
    .fxp-hero-description { font-size: 15px; }
    .fxp-departments { grid-template-columns: 1fr; gap: 10px; }
    .fxp-department { min-height: 92px; padding: 15px 17px; border-radius: 15px; }
    .fxp-dept-icon { width: 55px; height: 55px; min-width: 55px; border-radius: 12px; }
    .fxp-dept-icon svg { width: 31px; height: 31px; }
    .fxp-dept-copy strong { font-size: 16px; }
    .fxp-hero-bottom { margin-top: 18px; }
    .fxp-section { padding-block: 47px 51px; }
    .fxp-section-head { align-items: start; }
    .fxp-section h2 { font-size: clamp(22px,5vw,28px); }
    .fxp-section-link { font-size: 11px; }
    .fxp-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
    .fxp-category-info { min-height: 60px; padding: 10px 11px; }
    .fxp-category-info strong { font-size: 12px; }
    .fxp-category-image { min-height: 110px; }
    .fxp-reviews-grid { grid-template-columns: 1fr; }
    .fxp-offers-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
}
@media (max-width: 420px) {
    .fxp-hero h1 em { white-space: normal; }
    .fxp-hero-topline { gap: 12px; }
    .fxp-kicker { font-size: 10px; }
    .fxp-section-head { flex-wrap: wrap; }
    .fxp-section-link { margin-top: -10px; }
    .fxp-category-image { min-height: 96px; }
    .fxp-review-score { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .fxp-home *, .fxp-home *::before, .fxp-home *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* V2 · Appliance-category vector icons */
.fxp-section--appliances .fxp-category-image {
    background: linear-gradient(145deg, #f0f6ff 0%, #f7fbf3 100%);
}
.fxp-appliance-icon {
    width: 88px;
    height: 88px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(4, 58, 245, .13);
    border-radius: 22px;
    color: #043AF5;
    background: #FEFFFF;
    box-shadow: 0 12px 28px rgba(4, 9, 38, .055);
}
.fxp-appliance-icon svg { width: 60px; height: 60px; }
.fxp-category-card:hover .fxp-appliance-icon {
    color: #040926;
    border-color: rgba(104, 212, 37, .55);
}
@media (max-width: 740px) {
    .fxp-appliance-icon { width: 72px; height: 72px; border-radius: 18px; }
    .fxp-appliance-icon svg { width: 50px; height: 50px; }
}

/* V3: Electronics category icons shown only where no original category image exists. */
.fxp-section--electronics .fxp-category-image { background:linear-gradient(145deg,#f5f8ff,#f9fbfd); }
.fxp-electronics-icon { width:88px;height:88px;display:grid;place-items:center;flex:none;border:1px solid #043af51a;border-radius:21px;background:#FEFFFF;color:#043AF5;box-shadow:0 12px 28px #04092609; }
.fxp-electronics-icon svg { width:59px;height:59px; }
.fxp-category-card:hover .fxp-electronics-icon { color:#040926; border-color:#68d42580; }
@media(max-width:740px){ .fxp-electronics-icon{width:72px;height:72px;border-radius:18px;} .fxp-electronics-icon svg{width:50px;height:50px;} }
