:root{
      --bg:#f7f7f8;
      --card:#ffffff;
      --text:#111827;
      --muted:#6b7280;
      --line:#e5e7eb;
      --soft:#f2f4f7;
      --accent:#ff5a1f;
      --accent2:#ff7a45;
      --dark:#17181c;
      --shadow:0 14px 40px rgba(17,24,39,.08);
      --radius:20px;
      --radius-sm:14px;
      --container:1120px;
    }

    *{box-sizing:border-box;margin:0;padding:0}
    html{scroll-behavior:smooth}
    body{
      font-family:"Manrope",system-ui,-apple-system,Segoe UI,sans-serif;
      background:var(--bg);
      color:var(--text);
      line-height:1.5;
      padding-bottom:0;
    }
    a{text-decoration:none;color:inherit}
    button,input{font:inherit}
    img{max-width:100%;display:block}

    .container{
      width:min(var(--container), calc(100% - 24px));
      margin:auto;
    }

    /* top strip */
    .top-strip{
      background:#fff;
      border-bottom:1px solid var(--line);
      font-size:12px;
    }
    .top-strip .inner{
      height:36px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:20px;
      color:var(--muted);
    }
    .top-links{display:flex;gap:18px;align-items:center}
    .top-links a:hover{color:var(--accent)}

    /* Header */
    header{
      background:#fff;
      position:sticky;
      top:0;
      z-index:50;
      box-shadow:0 6px 20px rgba(17,24,39,.04);
    }
    .main-head{
      min-height:84px;
      display:grid;
      grid-template-columns:auto minmax(280px,1fr) auto;
      align-items:center;
      gap:24px;
    }
    .brand{
      font-weight:800;
      font-size:29px;
      letter-spacing:-1.2px;
      white-space:nowrap;
    }
    .brand span{color:var(--accent)}
    .brand small{
      display:block;
      font-size:8px;
      letter-spacing:4px;
      color:var(--muted);
      margin-top:-5px;
    }

    .search-wrap{
      height:50px;
      border:1px solid #dfe3e8;
      border-radius:14px;
      display:flex;
      align-items:center;
      background:#fff;
      overflow:hidden;
      box-shadow:0 3px 10px rgba(0,0,0,.03);
    }
    .search-wrap i{margin-left:18px;color:#9ca3af}
    .search-wrap input{
      flex:1;border:0;outline:0;padding:0 14px;color:var(--text);min-width:0;
    }
    .search-category{
      border-left:1px solid var(--line);
      padding:0 16px;
      font-size:13px;
      color:var(--muted);
      white-space:nowrap;
    }
    .search-btn{
      width:58px;height:100%;border:0;background:var(--accent);color:#fff;cursor:pointer;
      font-size:18px;
    }

    .head-actions{
      display:flex;align-items:center;gap:18px;
    }
    .head-action{
      display:flex;align-items:center;gap:8px;font-size:12px;color:#4b5563;
      cursor:pointer;position:relative;
    }
    .head-action i{font-size:19px;color:#111827}
    .head-action strong{display:block;color:#111827;font-size:12px}
    .badge{
      position:absolute;top:-8px;left:13px;background:var(--accent);color:#fff;
      border-radius:999px;font-size:9px;padding:2px 5px;font-weight:800;
    }

    .nav-wrap{border-top:1px solid #f0f1f3}
    .nav{
      height:56px;display:flex;align-items:center;gap:28px;
    }
    .all-cats{
      min-width:208px;background:var(--dark);color:#fff;height:40px;border-radius:10px;
      display:flex;align-items:center;gap:12px;padding:0 16px;font-weight:700;font-size:13px;
    }
    .nav-links{display:flex;align-items:center;gap:28px;font-weight:700;font-size:13px}
    .nav-links a{position:relative}
    .nav-links a.active,.nav-links a:hover{color:var(--accent)}
    .nav-links a.active:after{
      content:"";position:absolute;height:3px;background:var(--accent);left:0;right:0;bottom:-19px;border-radius:4px;
    }
    .flash-pill{
      margin-left:auto;background:#fff3ec;color:var(--accent);padding:10px 14px;border-radius:10px;
      font-size:12px;font-weight:800;
    }
    .mobile-menu-btn{display:none;border:0;background:transparent;font-size:22px}

    /* Hero */
    .hero{
      margin:12px auto 0;
      display:grid;
      grid-template-columns:1fr;
      min-height:390px;
      border-radius:26px;
      overflow:hidden;
      position:relative;
      background:
        linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.84) 35%, rgba(255,255,255,.15) 68%),
        url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=1800&q=85")
        center/cover no-repeat;
      box-shadow:var(--shadow);
    }
    .hero-content{
      width:54%;padding:50px 58px;display:flex;flex-direction:column;justify-content:center;
      position:relative;z-index:2;
    }
    .eyebrow{
      color:var(--accent);font-weight:800;text-transform:uppercase;letter-spacing:.12em;font-size:12px;
      display:flex;align-items:center;gap:9px;
    }
    .eyebrow:before{content:"";width:2px;height:22px;background:var(--accent)}
    .hero h1{
      font-size:48px;line-height:1.02;letter-spacing:-2.3px;margin:14px 0 18px;
      max-width:620px;
    }
    .hero h1 span{color:var(--accent)}
    .hero p{color:#4b5563;max-width:540px;font-size:15px}
    .hero-actions{display:flex;gap:12px;margin-top:28px}
    .btn{
      border:0;border-radius:12px;padding:13px 20px;font-weight:800;cursor:pointer;display:inline-flex;
      align-items:center;gap:8px;justify-content:center;
    }
    .btn-primary{background:var(--accent);color:#fff}
    .btn-primary:hover{background:#ea4b14}
    .btn-light{background:#fff;border:1px solid #ddd;color:#111827}
    .offer-bubble{
      position:absolute;right:55px;top:38px;width:125px;height:125px;border-radius:38px;
      background:#fff0df;display:flex;flex-direction:column;align-items:center;justify-content:center;
      font-weight:800;color:var(--accent);box-shadow:0 18px 40px rgba(255,90,31,.18);transform:rotate(2deg);
      z-index:3;
    }
    .offer-bubble strong{font-size:34px;line-height:1}
    .hero-dots{
      position:absolute;bottom:22px;left:50%;transform:translateX(-50%);
      display:flex;gap:8px;
    }
    .hero-dots span{width:9px;height:9px;border-radius:99px;background:#c7c7c7}
    .hero-dots span.active{width:24px;background:var(--accent)}

    /* category strip */
    .category-strip{
      margin-top:14px;background:#fff;border-radius:20px;padding:14px;box-shadow:0 8px 24px rgba(0,0,0,.04);
      display:grid;grid-template-columns:repeat(10,1fr);gap:12px;
    }
    .cat{
      min-width:0;text-align:center;padding:10px 6px;border-radius:14px;transition:.2s;
    }
    .cat:hover{background:#faf7f5;transform:translateY(-2px)}
    .cat-icon{
      width:58px;height:58px;border-radius:18px;margin:0 auto 9px;display:grid;place-items:center;
      font-size:24px;
      background:linear-gradient(135deg,#fff4ed,#f4f8ff);
      color:var(--accent);
    }
    .cat span{font-size:11px;font-weight:700}

    /* benefits */
    .benefits{
      margin-top:14px;background:#fff;border-radius:16px;display:grid;grid-template-columns:repeat(4,1fr);
      border:1px solid #eceff2;overflow:hidden;
    }
    .benefit{display:flex;gap:12px;align-items:center;padding:18px 24px;border-right:1px solid #eceff2}
    .benefit:last-child{border-right:0}
    .benefit i{font-size:24px}
    .benefit strong{display:block;font-size:13px}
    .benefit small{color:var(--muted);font-size:11px}

    /* sections */
    .section{padding:28px 0 0}
    .section-head{
      display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:16px;gap:16px;
    }
    .section-title{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
    .section-title h2{font-size:27px;letter-spacing:-.8px}
    .section-title h2 i{color:var(--accent);margin-right:8px}
    .subtitle{font-size:12px;color:var(--muted)}
    .view-all{font-size:12px;font-weight:800}
    .timer{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12px}
    .timer span{
      background:#1e1f23;color:#fff;padding:7px 8px;border-radius:8px;font-size:11px;font-weight:800;
      min-width:36px;text-align:center;
    }

    /* Product Grid */
    .product-grid{
      display:grid;grid-template-columns:repeat(5, minmax(0,1fr));gap:14px;
    }
    .product-card{
      background:#fff;border:1px solid #e6e8eb;border-radius:18px;overflow:hidden;position:relative;
      transition:.25s;min-width:0;
    }
    .product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:transparent}
    .product-img{
      height:205px;background:#f5f6f7;display:flex;align-items:center;justify-content:center;padding:20px;overflow:hidden;
    }
    .product-img img{width:100%;height:100%;object-fit:contain;transition:.3s}
    .product-card:hover .product-img img{transform:scale(1.04)}
    .discount{
      position:absolute;left:10px;top:10px;background:var(--accent);color:#fff;font-size:10px;font-weight:800;
      padding:5px 8px;border-radius:7px;z-index:2;
    }
    .heart{
      position:absolute;right:10px;top:10px;width:34px;height:34px;border-radius:50%;border:1px solid #e5e7eb;
      background:#fff;display:grid;place-items:center;cursor:pointer;z-index:2;
    }
    .product-info{padding:14px}
    .brand-mini{font-size:9px;color:#9ca3af;text-transform:uppercase;letter-spacing:.08em}
    .product-name{
      font-size:13px;font-weight:700;margin:5px 0 9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    }
    .price{display:flex;gap:7px;align-items:center;margin-bottom:7px}
    .price strong{font-size:15px}
    .old{font-size:11px;color:#9ca3af;text-decoration:line-through}
    .rating{font-size:10px;color:#f59e0b;margin-bottom:10px}
    .rating small{color:#9ca3af;margin-left:5px}
    .cart-btn{
      width:100%;height:38px;border-radius:10px;border:1px solid var(--accent);background:#fff;color:var(--accent);
      font-size:11px;font-weight:800;cursor:pointer;
    }
    .cart-btn:hover{background:var(--accent);color:#fff}

    /* banners */
    .promo-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:30px}
    .promo{
      min-height:220px;border-radius:22px;padding:30px;position:relative;overflow:hidden;color:#fff;
      display:flex;align-items:center;
      box-shadow:var(--shadow);
    }
    .promo.one{
      background:
        linear-gradient(90deg,rgba(13,16,20,.95),rgba(13,16,20,.42)),
        url("https://images.unsplash.com/photo-1556911220-bff31c812dba?auto=format&fit=crop&w=1000&q=85") center/cover;
    }
    .promo.two{
      color:#121212;
      background:
        linear-gradient(90deg,rgba(250,245,239,.96),rgba(250,245,239,.35)),
        url("https://images.unsplash.com/photo-1583394838336-acd977736f90?auto=format&fit=crop&w=1000&q=85") center/cover;
    }
    .promo h3{font-size:30px;line-height:1.05;max-width:300px;margin-bottom:8px;letter-spacing:-1px}
    .promo p{font-size:12px;margin-bottom:16px;opacity:.8}

    /* Newsletter */
    .newsletter{
      margin-top:38px;background:linear-gradient(135deg,#1a1d23,#242933);color:#fff;padding:28px;border-radius:22px;
      display:grid;grid-template-columns:1fr 1.2fr .6fr;align-items:center;gap:28px;
    }
    .news-left{display:flex;align-items:center;gap:14px}
    .news-left i{font-size:34px}
    .news-left strong{display:block;font-size:18px}
    .news-left small{color:#c9ced6}
    .subscribe{display:flex;background:#fff;border-radius:12px;overflow:hidden;height:48px}
    .subscribe input{flex:1;border:0;outline:0;padding:0 15px;min-width:0}
    .subscribe button{border:0;background:var(--accent);color:white;padding:0 24px;font-weight:800}
    .social{text-align:right}
    .social b{font-size:12px;display:block;margin-bottom:7px}
    .social a{
      display:inline-grid;place-items:center;width:32px;height:32px;border:1px solid rgba(255,255,255,.2);
      border-radius:50%;margin-left:5px;
    }

    /* footer */
    footer{background:#fff;margin-top:24px;border-top:1px solid var(--line)}
    .footer-main{
      display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px;padding:42px 0;
    }
    .footer-main h4{font-size:13px;margin-bottom:12px}
    .footer-main p,.footer-main a{font-size:12px;color:var(--muted)}
    .footer-main a{display:block;margin:8px 0}
    .footer-main a:hover{color:var(--accent)}
    .footer-bottom{
      border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;
      min-height:70px;font-size:11px;color:var(--muted);gap:20px;
    }
    .payments{display:flex;gap:8px;flex-wrap:wrap}
    .pay{
      border:1px solid #ddd;border-radius:7px;padding:7px 10px;background:#fff;font-weight:800;color:#4b5563;
    }

    /* Mobile drawer */
    .mobile-drawer{
      position:fixed;inset:0;z-index:100;display:none;
    }
    .mobile-drawer.show{display:block}
    .drawer-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.45)}
    .drawer{
      position:absolute;left:0;top:0;bottom:0;width:min(320px,85vw);background:#fff;padding:22px;
      box-shadow:20px 0 60px rgba(0,0,0,.2);
    }
    .drawer-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
    .drawer a{display:flex;padding:13px 0;border-bottom:1px solid #eee;font-weight:700;font-size:14px}
    .drawer-close{border:0;background:#f3f4f6;width:36px;height:36px;border-radius:50%}

    .mobile-bottom{display:none}

    /* Responsive */
    @media(max-width:1180px){
      .main-head{grid-template-columns:auto 1fr auto}
      .account-copy{display:none}
      .head-actions{gap:12px}
      .nav-links{gap:18px}
      .hero-content{width:63%;padding:50px}
      .hero h1{font-size:47px}
      .category-strip{grid-template-columns:repeat(5,1fr)}
      .product-grid{grid-template-columns:repeat(4,1fr)}
      .product-grid .product-card:nth-child(n+5){display:none}
    }

    @media(max-width:900px){
      body{padding-bottom:74px}
      .top-strip{display:none}
      header{top:0}
      .main-head{
        grid-template-columns:auto 1fr auto;
        gap:12px;min-height:68px;
      }
      .brand{font-size:23px}
      .brand small{display:none}
      .search-wrap{
        grid-column:1/-1;grid-row:2;margin-bottom:12px;height:44px;
      }
      .main-head{padding:10px 0}
      .head-actions .head-action:nth-child(1),
      .head-actions .head-action:nth-child(3){display:none}
      .search-category{display:none}
      .nav-wrap{display:none}
      .mobile-menu-btn{display:block;order:-1}
      .hero{min-height:410px}
      .hero-content{width:72%;padding:42px}
      .hero h1{font-size:42px}
      .offer-bubble{right:25px;width:104px;height:104px;border-radius:30px}
      .offer-bubble strong{font-size:28px}
      .benefits{grid-template-columns:repeat(2,1fr)}
      .benefit:nth-child(2){border-right:0}
      .benefit:nth-child(-n+2){border-bottom:1px solid #eceff2}
      .product-grid{grid-template-columns:repeat(3,1fr)}
      .product-grid .product-card:nth-child(4){display:none}
      .promo-grid{grid-template-columns:1fr}
      .newsletter{grid-template-columns:1fr}
      .social{text-align:left}
      .footer-main{grid-template-columns:1.4fr 1fr 1fr}
      .footer-main > div:last-child{display:none}
      .mobile-bottom{
        display:grid;grid-template-columns:repeat(5,1fr);
        position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;
        border-top:1px solid var(--line);height:66px;padding-bottom:env(safe-area-inset-bottom);
      }
      .mobile-bottom a{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:9px;color:#6b7280;gap:4px}
      .mobile-bottom i{font-size:18px}
      .mobile-bottom a.active{color:var(--accent)}
    }

    @media(max-width:640px){
      .container{width:min(100% - 12px, var(--container))}
      .main-head{gap:8px}
      .brand{font-size:21px}
      .head-actions{gap:8px}
      .head-action i{font-size:18px}

      .hero{
        min-height:470px;
        background:
          linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.82) 48%,rgba(255,255,255,.12) 78%),
          url("https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?auto=format&fit=crop&w=900&q=85") center/cover;
        border-radius:20px;
      }
      .hero-content{
        width:100%;padding:34px 24px;justify-content:flex-start;
      }
      .hero h1{font-size:36px;letter-spacing:-1.5px;max-width:390px}
      .hero p{font-size:13px;max-width:340px}
      .hero-actions{margin-top:20px}
      .btn{padding:12px 15px;font-size:12px}
      .offer-bubble{
        right:18px;top:auto;bottom:45px;width:94px;height:94px;border-radius:27px;
      }
      .offer-bubble strong{font-size:25px}
      .hero-dots{bottom:16px}

      .category-strip{
        display:flex;overflow-x:auto;gap:8px;padding:12px;
        scrollbar-width:none;
      }
      .category-strip::-webkit-scrollbar{display:none}
      .cat{min-width:82px}
      .cat-icon{width:50px;height:50px;border-radius:15px;font-size:21px}

      .benefits{
        display:flex;overflow-x:auto;scrollbar-width:none;
      }
      .benefits::-webkit-scrollbar{display:none}
      .benefit{
        min-width:210px;border-right:1px solid #eceff2 !important;border-bottom:0 !important;padding:15px 18px;
      }

      .section{padding-top:28px}
      .section-title h2{font-size:22px}
      .section-head{align-items:center}
      .timer{width:100%;order:3}
      .section-title{gap:10px}
      .product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
      }
      .product-grid .product-card:nth-child(4){display:block}
      .product-img{height:170px;padding:13px}
      .product-info{padding:11px}
      .product-name{font-size:12px}
      .price strong{font-size:14px}
      .rating{display:none}
      .cart-btn{height:35px}

      .promo{min-height:190px;padding:23px}
      .promo h3{font-size:25px;max-width:240px}

      .newsletter{margin-top:28px;padding:22px;border-radius:18px}
      .subscribe{height:46px}
      .subscribe button{padding:0 15px;font-size:12px}
      .footer-main{grid-template-columns:1fr 1fr;gap:28px;padding:30px 0}
      .footer-main > div:first-child{grid-column:1/-1}
      .footer-bottom{flex-direction:column;align-items:flex-start;padding:18px 0}
    }

    @media(max-width:390px){
      .hero h1{font-size:32px}
      .product-img{height:150px}
      .product-name{font-size:11px}
      .price{gap:4px}
      .old{font-size:9px}
      .cat{min-width:76px}
    }
  

    /* ===== HERO SLIDER ===== */
    .hero-slider{
      margin:12px auto 0;
      min-height:390px;
      border-radius:26px;
      overflow:hidden;
      position:relative;
      box-shadow:var(--shadow);
      background:#fff;
    }
    .hero-track{
      position:relative;
      min-height:390px;
    }
    .hero-slide{
      position:absolute;
      inset:0;
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      background-position:center;
      background-size:cover;
      background-repeat:no-repeat;
      transition:opacity .65s ease, visibility .65s ease;
    }
    .hero-slide.active{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
      z-index:2;
    }
    .hero-slide .hero-content{
      width:54%;
      min-height:390px;
      padding:50px 58px;
      display:flex;
      flex-direction:column;
      justify-content:center;
      position:relative;
      z-index:3;
    }
    .hero-slide .hero-dark,
    .hero-slide .hero-dark h1,
    .hero-slide .hero-dark p{
      color:#fff;
    }
    .hero-slide .hero-dark .btn-light{
      color:#111827;
    }
    .hero-arrow{
      position:absolute;
      top:50%;
      transform:translateY(-50%);
      width:44px;
      height:44px;
      border:1px solid rgba(17,24,39,.10);
      background:rgba(255,255,255,.94);
      color:#111827;
      border-radius:50%;
      display:grid;
      place-items:center;
      cursor:pointer;
      z-index:10;
      box-shadow:0 8px 24px rgba(17,24,39,.12);
      transition:.2s;
    }
    .hero-arrow:hover{
      background:var(--accent);
      color:#fff;
      border-color:var(--accent);
    }
    .hero-prev{left:16px}
    .hero-next{right:16px}

    .hero-slider .hero-dots{
      position:absolute;
      left:50%;
      bottom:18px;
      transform:translateX(-50%);
      display:flex;
      gap:7px;
      z-index:12;
    }
    .hero-dot{
      width:9px;
      height:9px;
      padding:0;
      border:0;
      border-radius:999px;
      background:rgba(17,24,39,.28);
      cursor:pointer;
      transition:.25s;
    }
    .hero-dot.active{
      width:24px;
      background:var(--accent);
    }

    @media(max-width:900px){
      .hero-slider,.hero-track{min-height:410px}
      .hero-slide .hero-content{width:72%;min-height:410px;padding:42px}
    }

    @media(max-width:640px){
      .hero-slider{
        min-height:470px;
        border-radius:20px;
      }
      .hero-track{min-height:470px}
      .hero-slide{
        background-position:center;
      }
      .hero-slide .hero-content{
        width:100%;
        min-height:470px;
        padding:34px 24px 125px;
        justify-content:flex-start;
      }
      .hero-slide h1{
        font-size:36px;
      }
      .hero-arrow{
        width:38px;
        height:38px;
        top:auto;
        bottom:16px;
      }
      .hero-prev{left:18px}
      .hero-next{right:18px}
      .hero-slider .hero-dots{
        bottom:29px;
      }
      .hero-slide .offer-bubble{
        right:18px;
        top:auto;
        bottom:62px;
      }
    }

    @media(max-width:390px){
      .hero-slide h1{font-size:32px}
    }

.language-select{height:38px;min-width:115px;border:1px solid var(--line,#e5e7eb);border-radius:10px;background:#fff;padding:0 10px;font-size:12px;color:#111827;outline:none}
html[dir="rtl"] body{text-align:right}
html[dir="rtl"] .main-head, html[dir="rtl"] .nav, html[dir="rtl"] .top .inner{direction:rtl}
@media(max-width:820px){.language-select{min-width:92px;height:36px;font-size:11px}}

/* ===== Compact Language Switcher ===== */
.language-select{display:none!important}
.lang-switcher{position:relative;flex:0 0 auto}
.lang-btn{
  height:40px;
  min-width:54px;
  padding:0 11px;
  border:1px solid #dfe3e8;
  background:#fff;
  color:#111827;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:12px;
  font-weight:800;
  cursor:pointer;
  transition:.2s;
}
.lang-btn:hover{
  border-color:var(--accent);
  box-shadow:0 6px 18px rgba(255,90,31,.10);
}
.lang-btn .fa-globe{font-size:14px;color:#4b5563}
.lang-caret{font-size:9px;color:#6b7280}
.lang-menu{
  position:absolute;
  right:0;
  top:48px;
  width:220px;
  max-height:360px;
  overflow:auto;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:14px;
  box-shadow:0 18px 50px rgba(17,24,39,.16);
  padding:8px;
  z-index:200;
  display:none;
}
.lang-switcher.open .lang-menu{display:block}
.lang-item{
  width:100%;
  border:0;
  background:transparent;
  padding:10px 11px;
  border-radius:9px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
  font-size:12px;
  color:#374151;
  text-align:left;
}
.lang-item:hover{background:#f7f7f8}
.lang-item.active{
  background:#fff4ee;
  color:var(--accent);
  font-weight:800;
}
.lang-item .code{
  min-width:30px;
  font-weight:800;
  color:#111827;
}
.lang-item.active .code{color:var(--accent)}
.lang-item .name{
  flex:1;
  text-align:left;
}
html[dir="rtl"] .lang-menu{right:auto;left:0}
html[dir="rtl"] .lang-item .name{text-align:right}

@media(max-width:900px){
  .lang-btn{height:38px;min-width:50px;padding:0 9px}
  .lang-btn .fa-globe{display:none}
  .lang-menu{width:200px;right:0}
}
@media(max-width:640px){
  .lang-btn{height:36px;min-width:46px;border-radius:9px}
  .lang-caret{display:none}
  .lang-menu{position:fixed;left:8px!important;right:8px!important;top:auto;bottom:76px;width:auto;max-height:55vh}
}


/* ===== FINAL COMBINED DESKTOP HEADER ===== */
@media(min-width:821px){
  .main-head{
    grid-template-columns:auto minmax(360px,1fr) auto auto !important;
    gap:14px !important;
    min-height:72px !important;
  }
  .main-head .brand{white-space:nowrap}
  .main-head .search{min-width:0}
  .main-head .head-actions{
    display:flex !important;
    align-items:center;
    gap:14px;
    white-space:nowrap;
  }
  .main-head .head-action{
    display:flex;
    align-items:center;
    gap:7px;
    color:#111827;
  }
  .main-head .head-action i{font-size:18px}
  .main-head .head-action strong,
  .main-head .head-action small{display:block}
  .main-head .head-action strong{font-size:12px}
  .main-head .head-action small{font-size:10px;color:#6b7280;font-weight:400}
  .main-head .lang-switcher{margin-left:0}
}
@media(min-width:821px) and (max-width:1100px){
  .main-head .head-action small{display:none}
  .main-head .head-actions{gap:9px}
  .main-head .head-action{gap:4px}
}


@media(max-width:640px){
  .hero-slider{min-height:276px!important;height:276px!important;margin-top:8px!important;border-radius:18px!important}
  .hero-track{min-height:276px!important;height:276px!important}
  .hero-slide{height:276px!important;background-position:center!important}
  .hero-slide .hero-content{width:74%!important;min-height:276px!important;height:276px!important;padding:18px 18px 48px 24px!important;justify-content:center!important}
  .hero-slide .eyebrow{font-size:9px!important;letter-spacing:.10em!important}
  .hero-slide .eyebrow:before{height:17px!important}
  .hero-slide h1{font-size:29px!important;line-height:1.02!important;letter-spacing:-1px!important;margin:7px 0 7px!important}
  .hero-slide p{font-size:11px!important;line-height:1.35!important;max-width:270px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .hero-slide .hero-actions{margin-top:11px!important;gap:7px!important}
  .hero-slide .btn{padding:9px 12px!important;font-size:10px!important;border-radius:9px!important}
  .hero-slide .offer-bubble{width:76px!important;height:76px!important;right:14px!important;bottom:42px!important;border-radius:23px!important;font-size:10px!important}
  .hero-slide .offer-bubble strong{font-size:21px!important}
  .hero-arrow{width:34px!important;height:34px!important;bottom:12px!important;top:auto!important}
  .hero-prev{left:12px!important}.hero-next{right:12px!important}
  .hero-slider .hero-dots{bottom:17px!important}
  .hero-dot{width:7px!important;height:7px!important}.hero-dot.active{width:20px!important}
}
@media(max-width:390px){
  .hero-slider,.hero-track,.hero-slide{min-height:260px!important;height:260px!important}
  .hero-slide .hero-content{min-height:260px!important;height:260px!important;padding:15px 15px 44px 20px!important}
  .hero-slide h1{font-size:27px!important}.hero-slide p{font-size:10.5px!important}
}

.language-select{display:none!important}
.lang-switcher{position:relative;flex:0 0 auto}
.lang-btn{height:40px;min-width:54px;padding:0 10px;border:1px solid #dfe3e8;background:#fff;color:#111827;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:12px;font-weight:800;cursor:pointer}
.lang-btn:hover{border-color:var(--accent);box-shadow:0 5px 16px rgba(255,90,31,.10)}
.lang-btn .fa-globe{font-size:13px;color:#4b5563}.lang-caret{font-size:9px;color:#6b7280}
.lang-menu{position:absolute;right:0;top:47px;width:220px;max-height:360px;overflow:auto;display:none;background:#fff;border:1px solid #e5e7eb;border-radius:14px;box-shadow:0 18px 50px rgba(17,24,39,.16);padding:8px;z-index:500}
.lang-switcher.open .lang-menu{display:block}
.lang-item{width:100%;border:0;background:transparent;padding:9px 10px;border-radius:9px;display:flex;align-items:center;gap:10px;cursor:pointer;font-size:12px;color:#374151;text-align:left}
.lang-item:hover{background:#f6f7f8}.lang-item.active{background:#fff3ec;color:var(--accent);font-weight:800}
.lang-item .code{width:34px;font-weight:800}.lang-item .name{flex:1}
html[dir="rtl"] .lang-menu{right:auto;left:0}html[dir="rtl"] .lang-item{text-align:right}
@media(max-width:820px){
 .lang-btn{height:36px;min-width:46px;padding:0 8px;border-radius:9px}
 .lang-btn .fa-globe,.lang-caret{display:none}
 .lang-menu{position:fixed;left:8px!important;right:8px!important;top:auto;bottom:74px;width:auto;max-height:55vh}
}

/* =========================================================
   FINAL MOBILE MOCKUP — APPROVED HERO / HOME LAYOUT
   ========================================================= */
@media (max-width: 640px){

  body{padding-bottom:72px}

  /* Header */
  .topbar,.desktop-only{display:none!important}
  .mobile-head{padding:10px 12px 6px!important}
  .mobile-top{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
  }
  .mobile-top .brand{font-size:23px!important}
  .mobile-top .brand small{display:none!important}
  .mobile-search{margin-top:7px!important}
  .mobile-search .search{
    height:44px!important;
    border-radius:12px!important;
  }

  /* Approved compact hero */
  .hero-slider{
    width:calc(100% - 16px)!important;
    margin:8px auto 0!important;
    height:258px!important;
    min-height:258px!important;
    border-radius:18px!important;
    overflow:hidden!important;
  }
  .hero-track,
  .hero-slide{
    height:258px!important;
    min-height:258px!important;
  }
  .hero-slide{
    background-size:cover!important;
    background-position:center center!important;
  }
  .hero-slide .hero-content{
    width:72%!important;
    height:258px!important;
    min-height:258px!important;
    padding:18px 12px 48px 24px!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .hero-slide .eyebrow{
    margin:0 0 6px!important;
    font-size:9px!important;
    line-height:1!important;
    letter-spacing:.11em!important;
  }
  .hero-slide h1{
    margin:0 0 6px!important;
    font-size:29px!important;
    line-height:1.02!important;
    letter-spacing:-1.1px!important;
  }
  .hero-slide p{
    margin:0!important;
    max-width:270px!important;
    font-size:10.5px!important;
    line-height:1.35!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }
  .hero-slide .hero-actions{
    margin-top:10px!important;
    gap:7px!important;
    display:flex!important;
    flex-wrap:nowrap!important;
  }
  .hero-slide .btn{
    min-height:35px!important;
    padding:8px 12px!important;
    border-radius:9px!important;
    font-size:10px!important;
    white-space:nowrap!important;
  }
  .hero-slide .offer-bubble{
    width:72px!important;
    height:72px!important;
    right:12px!important;
    top:auto!important;
    bottom:46px!important;
    border-radius:22px!important;
    font-size:9px!important;
    line-height:1.05!important;
  }
  .hero-slide .offer-bubble strong{
    font-size:20px!important;
    line-height:1!important;
  }
  .hero-arrow{
    top:auto!important;
    bottom:11px!important;
    transform:none!important;
    width:33px!important;
    height:33px!important;
    font-size:12px!important;
  }
  .hero-prev{left:11px!important}
  .hero-next{right:11px!important}
  .hero-slider .hero-dots{
    left:50%!important;
    bottom:17px!important;
    transform:translateX(-50%)!important;
    gap:6px!important;
  }
  .hero-dot{
    width:7px!important;
    height:7px!important;
  }
  .hero-dot.active{width:20px!important}

  /* Categories: mockup-like 5 columns */
  .categories-wrap{
    margin:8px 8px 0!important;
    padding:12px 8px!important;
    border-radius:18px!important;
  }
  .category-grid{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:10px 4px!important;
  }
  .category-item{min-width:0!important}
  .category-icon{
    width:48px!important;
    height:48px!important;
    margin:auto!important;
    border-radius:14px!important;
  }
  .category-item span,
  .category-name{
    margin-top:5px!important;
    font-size:9.5px!important;
    line-height:1.1!important;
  }

  /* Benefits */
  .benefits{
    margin:8px!important;
    grid-template-columns:repeat(2,1fr)!important;
    border-radius:17px!important;
    overflow:hidden!important;
  }
  .benefit{
    min-height:68px!important;
    padding:10px!important;
  }
  .benefit i{font-size:21px!important}
  .benefit strong{font-size:10.5px!important}
  .benefit small{font-size:8.5px!important}

  /* Flash sale compact */
  .section{padding-left:10px!important;padding-right:10px!important}
  .section-head{margin-top:14px!important}
  .section-title{font-size:20px!important}
  .products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  /* Fixed mobile navigation */
  .mobile-bottom-nav{
    height:64px!important;
    padding-bottom:env(safe-area-inset-bottom)!important;
  }
}

@media (max-width: 390px){
  .hero-slider,.hero-track,.hero-slide{
    height:246px!important;
    min-height:246px!important;
  }
  .hero-slide .hero-content{
    height:246px!important;
    min-height:246px!important;
    padding:15px 10px 44px 20px!important;
  }
  .hero-slide h1{font-size:27px!important}
  .hero-slide p{font-size:10px!important}
  .hero-slide .btn{padding:7px 10px!important;font-size:9.5px!important}
  .hero-slide .offer-bubble{
    width:67px!important;height:67px!important;right:10px!important;bottom:43px!important;
  }
}
