/* TAQA STORE V207 — final desktop / PC polish.
   STRICT SCOPE: every visual override in this file starts at 1100px.
   Mobile/tablet storefront rules remain owned by the existing stylesheets. */

@media (min-width:1100px){
  :root{
    --pc-container:1280px;
    --pc-gutter:24px;
    --pc-section-gap:76px;
    --pc-card-gap:18px;
    --pc-radius:16px;
    --pc-border:rgba(255,255,255,.09);
    --pc-green-border:rgba(67,220,135,.20);
    --pc-muted:#96a39b;
  }

  /* ---------- Desktop header: no search, two intentional zones ---------- */
  body:not(.customer-auth-v130):not(.taqa-admin-v129) .site-header{
    min-height:72px!important;height:72px!important;
    background:color-mix(in srgb,var(--site-bg,var(--taqa-bg,#010604)) 96%,transparent)!important;
    border-bottom:1px solid var(--pc-border)!important;
  }
  .v139-desktop-header{height:72px!important;}
  .v139-desktop-header-inner,
  .v139-account-global-inner{
    width:min(var(--pc-container),calc(100% - 48px))!important;
    height:72px!important;margin-inline:auto!important;
    display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;gap:28px!important;
  }
  .v139-header-search{display:none!important;}
  .v139-header-primary{display:flex!important;align-items:center!important;gap:34px!important;min-width:0!important;}
  .v139-brand{min-width:128px!important;display:flex!important;align-items:center!important;}
  .v139-brand .v170-brand-logo{display:block!important;width:128px!important;height:auto!important;max-height:43px!important;object-fit:contain!important;}
  .v139-main-nav{display:flex!important;align-items:center!important;gap:4px!important;min-width:0!important;}
  .v139-main-nav a{
    min-height:38px!important;padding:0 12px!important;border-radius:9px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    color:#a8b1ab!important;font-size:14px!important;font-weight:600!important;
    transition:background .16s ease,color .16s ease!important;
  }
  .v139-main-nav a:hover{color:#fff!important;background:rgba(255,255,255,.04)!important;}
  .v139-main-nav a.active{color:var(--taqa-accent,#43dc87)!important;background:rgba(67,220,135,.07)!important;}
  .v139-header-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:6px!important;}
  .v139-head-icon,.v139-account-trigger,.v139-cart-link{min-height:40px!important;height:40px!important;border-radius:10px!important;}
  .v139-head-icon{width:40px!important;}
  .v139-head-icon svg,.v139-cart-link svg{width:19px!important;height:19px!important;}
  .v139-account-trigger{padding-inline:8px!important;}
  .v139-cart-link{padding-inline:10px!important;}

  /* ---------- Shared desktop width rhythm ---------- */
  body[data-page="home"] .home204-shell,
  body[data-page="products"] .v186-products-shell{
    width:min(var(--pc-container),calc(100% - 48px))!important;
    max-width:var(--pc-container)!important;margin-inline:auto!important;
  }

  /* ---------- Homepage ---------- */
  body[data-page="home"] .home204-main{padding:24px 0 72px!important;}
  body[data-page="home"] .home204-shell{gap:var(--pc-section-gap)!important;}
  body[data-page="home"] .home204-section{gap:24px!important;}
  body[data-page="home"] .home204-section-head{align-items:flex-end!important;gap:28px!important;}
  body[data-page="home"] .home204-section-head>div{gap:5px!important;}
  body[data-page="home"] .home204-section-head>div>span,
  body[data-page="home"] .home204-kicker{font-size:13px!important;letter-spacing:.01em!important;}
  body[data-page="home"] .home204-section-head h2,
  body[data-page="home"] .home204-why h2{font-size:30px!important;line-height:1.28!important;letter-spacing:-.02em!important;}
  body[data-page="home"] .home204-section-head>a{font-size:13px!important;}

  /* Wide, controlled Hero. 20:7 avoids a mobile-like tall block. */
  body[data-page="home"] .home204-hero{
    width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:20/7!important;
    border-radius:20px!important;border-color:var(--pc-green-border)!important;
  }
  body[data-page="home"] .home204-hero-media{width:64%!important;}
  body[data-page="home"] .home204-hero-copy{left:clamp(42px,5vw,72px)!important;width:min(520px,46%)!important;gap:12px!important;}
  body[data-page="home"] .home204-hero h1{font-size:clamp(42px,3.55vw,54px)!important;line-height:1.14!important;}
  body[data-page="home"] .home204-hero-copy>p{font-size:15px!important;line-height:1.8!important;max-width:455px!important;}
  body[data-page="home"] .home204-hero-badge{padding:7px 11px!important;font-size:11.5px!important;}

  /* Three equal benefits. */
  body[data-page="home"] .home204-trust{
    min-height:88px!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
    border-radius:16px!important;background:rgba(7,18,13,.48)!important;
  }
  body[data-page="home"] .home204-trust article{
    grid-template-columns:42px auto minmax(0,1fr)!important;justify-content:center!important;
    gap:11px!important;padding:16px 26px!important;
  }
  body[data-page="home"] .home204-trust b{font-size:14px!important;}
  body[data-page="home"] .home204-trust small{font-size:12px!important;}

  /* Browse section uses the full desktop width intelligently. */
  body[data-page="home"] .home204-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;}
  body[data-page="home"] .home204-category-card{
    min-height:124px!important;padding:18px 22px!important;border-radius:16px!important;
    flex-direction:row!important;justify-content:flex-start!important;text-align:right!important;gap:15px!important;
  }
  body[data-page="home"] .home204-category-icon{width:46px!important;height:46px!important;flex:0 0 46px!important;}
  body[data-page="home"] .home204-category-card b{font-size:15px!important;text-align:right!important;}
  body[data-page="home"] .home204-category-card small{font-size:11.5px!important;}

  /* Four equal product cards with stable 3:2 artwork and aligned actions. */
  body[data-page="home"] .home204-product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;}
  body[data-page="home"] .home204-product-card{height:100%!important;border-radius:16px!important;}
  body[data-page="home"] .home204-product-media{aspect-ratio:3/2!important;}
  body[data-page="home"] .home204-product-body{min-height:166px!important;padding:14px 15px 15px!important;gap:7px!important;}
  body[data-page="home"] .home204-product-card h3{font-size:14.5px!important;}
  body[data-page="home"] .home204-product-card h3 a{min-height:45px!important;}
  body[data-page="home"] .home204-product-subtitle{font-size:11px!important;}
  body[data-page="home"] .home204-price{font-size:18px!important;}
  body[data-page="home"] .home204-cart-btn{width:42px!important;height:42px!important;border-radius:11px!important;}

  /* Why TAQA: 43/57 composition rather than one oversized headline. */
  body[data-page="home"] .home204-why{
    grid-template-columns:minmax(0,43fr) minmax(0,57fr)!important;gap:42px!important;
    padding:36px 40px!important;border-radius:20px!important;
  }
  body[data-page="home"] .home204-why-copy{gap:11px!important;}
  body[data-page="home"] .home204-why-copy>p{font-size:13.5px!important;line-height:1.8!important;}
  body[data-page="home"] .home204-why-points{gap:24px 30px!important;}
  body[data-page="home"] .home204-why-points article{grid-template-columns:44px 1fr!important;gap:12px!important;}
  body[data-page="home"] .home204-why-points article>span{width:44px!important;height:44px!important;}
  body[data-page="home"] .home204-why-points b{font-size:14px!important;}
  body[data-page="home"] .home204-why-points small{font-size:11.5px!important;line-height:1.6!important;}
  body[data-page="home"] .home204-license{font-size:11px!important;}

  /* FAQ compact but readable. */
  body[data-page="home"] .home204-faq-list{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:start!important;}
  body[data-page="home"] .home204-faq-list details{border-radius:14px!important;}
  body[data-page="home"] .home204-faq-list summary{min-height:68px!important;padding:14px 16px!important;font-size:13px!important;}
  body[data-page="home"] .home204-faq-list details p{padding:0 16px 16px!important;font-size:12px!important;}

  /* ---------- Products page ---------- */
  body[data-page="products"].taqa-v186-products-lock .v186-products-main{padding:24px 0 72px!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-catalog-intro{
    min-height:0!important;padding:28px 30px 24px!important;border-radius:16px!important;
    background:linear-gradient(145deg,rgba(5,19,12,.96),rgba(2,12,7,.98))!important;
  }
  body[data-page="products"].taqa-v186-products-lock .v186-intro-copy{padding-inline:110px!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-intro-copy h1{font-size:31px!important;line-height:1.25!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-intro-copy p{margin-top:6px!important;font-size:13px!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-search-shell.v134-search-shell{
    width:min(820px,100%)!important;height:50px!important;min-height:50px!important;margin:18px auto 0!important;
    padding-inline:15px!important;border-radius:12px!important;
  }
  body[data-page="products"].taqa-v186-products-lock .v186-search-shell input{height:48px!important;line-height:48px!important;font-size:14px!important;}
  body[data-page="products"].taqa-v186-products-lock #categoryRow.v186-category-row{
    width:min(680px,100%)!important;height:44px!important;min-height:44px!important;max-height:44px!important;
    margin:13px auto 0!important;gap:10px!important;
  }
  body[data-page="products"].taqa-v186-products-lock #categoryRow.v186-category-row>.cat-btn{
    height:44px!important;min-height:44px!important;max-height:44px!important;border-radius:11px!important;font-size:12.5px!important;
  }
  body[data-page="products"].taqa-v186-products-lock .v186-intro-divider{margin-top:18px!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-quick-filter-section{
    padding:16px 0 12px!important;display:flex!important;justify-content:flex-start!important;
  }
  body[data-page="products"].taqa-v186-products-lock #v148QuickFilters.v186-quick-filters{gap:8px!important;}
  body[data-page="products"].taqa-v186-products-lock #v148QuickFilters.v186-quick-filters button{
    min-height:38px!important;padding-inline:13px!important;border-radius:10px!important;font-size:11.5px!important;
  }
  body[data-page="products"].taqa-v186-products-lock .v186-catalog-section{padding-top:2px!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-section-head{margin:0 0 14px!important;align-items:end!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-section-head h2{font-size:22px!important;}
  body[data-page="products"].taqa-v186-products-lock .v186-section-head #v128ProductsCount{font-size:12.5px!important;}
  body[data-page="products"].taqa-v186-products-lock #productsGrid.v186-products-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;
  }
  body[data-page="products"].taqa-v186-products-lock #productsGrid .v186-product-card.product-card{
    height:100%!important;border-radius:15px!important;
  }
  body[data-page="products"].taqa-v186-products-lock #productsGrid .v186-product-media{
    height:auto!important;min-height:0!important;aspect-ratio:3/2!important;
  }
  body[data-page="products"].taqa-v186-products-lock #productsGrid .v186-product-info.v134-product-info{
    min-height:166px!important;padding:12px 13px 14px!important;gap:7px!important;
  }
  body[data-page="products"].taqa-v186-products-lock #productsGrid .v186-product-title{
    font-size:14px!important;line-height:20px!important;min-height:40px!important;max-height:40px!important;
  }
  body[data-page="products"].taqa-v186-products-lock #productsGrid .v186-price.v134-price{font-size:18px!important;}
  body[data-page="products"].taqa-v186-products-lock #productsGrid .v186-cart-button.quick-order-btn{
    width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;border-radius:10px!important;
  }

  /* Recently viewed remains compact, but no longer microscopic. */
  body[data-page="products"] #v148RecentlyViewed{margin-top:28px!important;}
  body[data-page="products"] #v148RecentlyViewed .v148-recent-grid,
  body[data-page="products"] #v148RecentlyViewed .recent-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;}
  body[data-page="products"] #v148RecentlyViewed article,
  body[data-page="products"] #v148RecentlyViewed a{min-height:86px!important;}

  /* ---------- Footer ---------- */
  .taqa-site-footer-v203{
    width:100%!important;margin-top:72px!important;padding:48px max(24px,calc((100vw - var(--pc-container))/2)) 34px!important;
    background:var(--site-bg,var(--taqa-bg,#010604))!important;
    border-top:1px solid var(--pc-border)!important;font-size:13.5px!important;
  }
  .taqa-site-footer-grid-v203{width:min(var(--pc-container),100%)!important;margin-inline:auto!important;column-gap:28px!important;row-gap:28px!important;}
  .taqa-site-footer-v203 .taqa-builder-section>h3{font-size:15px!important;margin-bottom:10px!important;}
  .taqa-site-footer-v203 .taqa-builder-links a{font-size:13.5px!important;min-height:30px!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-text p{font-size:13px!important;line-height:1.8!important;}
  .taqa-site-footer-v203 .taqa-builder-section[data-section-id="brand"] .taqa-builder-logo-picture img{height:44px!important;max-width:165px!important;}

  /* ---------- Support ---------- */
  .taqa-whatsapp-float{left:24px!important;bottom:24px!important;width:56px!important;height:56px!important;}
  .taqa-support-trigger{right:24px!important;bottom:24px!important;}
  .taqa-support-sheet{right:24px!important;bottom:88px!important;width:360px!important;max-height:70vh!important;}

  /* Accessible focus is visible on desktop without a neon wall. */
  a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{
    outline:2px solid color-mix(in srgb,var(--taqa-accent,#43dc87) 70%,#fff 30%)!important;outline-offset:2px!important;
  }
}

@media (min-width:1100px) and (max-width:1240px){
  .v139-desktop-header-inner,.v139-account-global-inner{width:calc(100% - 40px)!important;gap:18px!important;}
  .v139-header-primary{gap:20px!important;}
  .v139-main-nav a{padding-inline:9px!important;font-size:13px!important;}
  body[data-page="home"] .home204-shell,
  body[data-page="products"] .v186-products-shell{width:calc(100% - 40px)!important;}
}

@media (min-width:1100px){
  /* V207 published Site Designs: safe desktop-only banner placements. */
  .taqa-site-design-banner,
  .taqa-site-design-products-banner{
    display:block;width:100%;max-width:var(--pc-container,1280px);margin:28px auto;
    overflow:hidden;border:1px solid var(--pc-border,rgba(255,255,255,.08));border-radius:16px;
    background:rgba(255,255,255,.02);text-decoration:none;
  }
  .taqa-site-design-banner img{
    display:block;width:100%;height:auto;aspect-ratio:15/4;max-height:342px;
  }
  .taqa-site-design-products-banner img{
    display:block;width:100%;height:auto;aspect-ratio:4/1;max-height:320px;
  }
  body[data-page="home"] .home204-hero-media #homeHeroImage{
    width:100%;height:100%;
  }
  .taqa-site-design-banner:where(a){transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease;}
  .taqa-site-design-banner:where(a):hover{
    border-color:color-mix(in srgb,var(--taqa-accent,#43dc87) 35%,transparent);
    box-shadow:0 12px 28px rgba(0,0,0,.22);transform:translateY(-1px);
  }
}

@media (min-width:1100px){
  /* A Site Designs hero is treated as complete artwork by default, preventing duplicate copy. */
  body[data-page="home"] #homeHero.taqa-custom-hero-artwork .home204-hero-media{inset:0!important;width:100%!important;height:100%!important;}
  body[data-page="home"] #homeHero.taqa-custom-hero-artwork .home204-hero-shade,
  body[data-page="home"] #homeHero.taqa-custom-hero-artwork .home204-hero-copy{display:none!important;}
}

@media (min-width:1100px){
  body[data-page="products"] .v186-catalog-intro.taqa-has-products-art{position:relative!important;isolation:isolate;overflow:hidden;}
  body[data-page="products"] .v186-catalog-intro.taqa-has-products-art>.taqa-site-design-products-art{position:absolute;inset:0;z-index:0;}
  body[data-page="products"] .v186-catalog-intro.taqa-has-products-art>.taqa-site-design-products-art img{display:block;width:100%;height:100%;}
  body[data-page="products"] .v186-catalog-intro.taqa-has-products-art>:not(.taqa-site-design-products-art){position:relative;z-index:2;}
  body[data-page="products"] .v186-catalog-intro.taqa-has-products-art::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(2,10,6,.82),rgba(2,10,6,.52));pointer-events:none;}
}
