/* serverstorage.ae - marketplace layout (loaded only when theme = market). Brand colours come from style.css */
body.theme-market{background:#e8ecf4;font-size:14.5px}
.theme-market{--radius:6px;--shadow:0 1px 2px rgba(10,29,79,.10);--shadow2:0 4px 14px rgba(10,29,79,.16)}

/* ---- top strip: static, slim ---- */
.theme-market .titlebar{background:#06123a;animation:none}
.theme-market .titlebar:after{display:none}
.theme-market .tb-inner{height:32px}
.theme-market .tb-title{animation:none;background:none;color:#cfe0ff;-webkit-text-fill-color:#cfe0ff;font-size:12px;letter-spacing:.08em}
.theme-market .tb-pulse{animation:none;width:7px;height:7px}

/* ---- header: dark bar, wide search ---- */
.theme-market .site-header{background:var(--navy);backdrop-filter:none;box-shadow:none}
.theme-market .hdr{height:66px;gap:18px}
.theme-market .logo img{height:38px}
.theme-market .nav-toggle{color:#fff}
.theme-market .search{max-width:none;border-radius:8px;box-shadow:0 0 0 0 transparent;transition:box-shadow .15s}
.theme-market .search:focus-within{box-shadow:0 0 0 3px var(--cyan)}
.theme-market .search-dept{height:44px;border:0;border-radius:8px 0 0 8px;background:#e6ebf5;color:var(--ink);font-size:13px;padding:0 8px 0 12px;max-width:150px;cursor:pointer;border-right:1px solid #c9d2e4}
.theme-market .search input{height:44px;border:0;border-radius:0;background:#fff}
.theme-market .search input:focus{box-shadow:none;border:0}
.theme-market .search button{height:44px;width:54px;border-radius:0 8px 8px 0;background:var(--cyan);color:#06123a}
.theme-market .search button:hover{background:#5fcdff}
.theme-market .search-drop{top:48px;border-radius:6px}
.theme-market .hdr-actions{gap:6px}
.theme-market .hdr-actions .btn-wa{border-radius:6px;box-shadow:none;padding:9px 12px;font-size:13px}
.theme-market .hdr-actions .btn-wa:hover{transform:none}
.theme-market .acct-btn{color:#fff;display:inline-flex;align-items:center;gap:6px;padding:9px 10px;border-radius:6px;font-weight:700;font-size:13px;border:1px solid transparent}
.theme-market .acct-btn:hover,.theme-market .cart-btn:hover{border-color:rgba(255,255,255,.7)}
.theme-market .cart-btn{background:transparent;color:#fff;border-radius:6px;width:52px;height:44px;border:1px solid transparent}
.theme-market .cart-btn .ic{width:28px;height:28px}
.theme-market .cart-btn b{background:var(--cyan);color:#06123a;top:0;right:2px;font-weight:800}

/* ---- department strip ---- */
.theme-market .mainnav{background:var(--navy2)}
.theme-market .nav-item>a{padding:9px 10px;font-size:13px;font-weight:600;color:#fff}
.theme-market .nav-item.util>a{padding:9px 10px;color:#d6e2ff}
.theme-market .nav-item>a>.ic:first-child{display:none}
.theme-market .mega{border-radius:0 0 6px 6px}

/* ---- homepage hero: banner that the cards overlap ---- */
.theme-market .hero{padding:26px 0 0}
.theme-market .hero-inner{grid-template-columns:1.2fr .8fr;gap:24px;padding-bottom:190px}
.theme-market .hero h1{font-size:34px;margin:10px 0 8px}
.theme-market .hero p{font-size:15px}
.theme-market .hero-cta{margin:16px 0 12px}
.theme-market .hero-visual{height:250px}
.theme-market .hero-visual .hero-products{max-width:460px;top:-6px}
.theme-market .hero .stats{display:none}
.theme-market .hero-dots{position:absolute;left:0;right:0;bottom:176px;margin:0}
.theme-market .hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:150px;background:linear-gradient(180deg,rgba(232,236,244,0),#e8ecf4);z-index:1;pointer-events:none}
.theme-market .hero + .container{display:none}

/* ---- category card grid ---- */
.mk-cards{position:relative;z-index:3;margin-top:-160px;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.mk-card{background:#fff;border-radius:6px;padding:16px 16px 14px;box-shadow:var(--shadow);display:flex;flex-direction:column;min-width:0}
.mk-card h2{font-size:18px;margin:0 0 10px;line-height:1.25}
.mk-card h2 a{color:var(--navy)}
.mk-quad{display:grid;grid-template-columns:1fr 1fr;gap:12px 12px;flex:1}
.mk-tile{display:flex;flex-direction:column;gap:5px;color:var(--ink);min-width:0}
.mk-pic{display:grid;place-items:center;aspect-ratio:1/1;background:#f3f6fb;border-radius:4px;overflow:hidden;color:var(--blue2)}
.mk-pic img{width:100%;height:100%;object-fit:contain;padding:8px;mix-blend-mode:multiply;transition:transform .25s}
.mk-pic .ic{width:42px;height:42px;opacity:.75}
.mk-tile:hover .mk-pic img{transform:scale(1.05)}
.mk-name{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mk-tile:hover .mk-name{color:var(--blue2);text-decoration:underline}
.mk-all{margin-top:12px;font-size:13px;font-weight:700}
.mk-all:hover{text-decoration:underline}

/* ---- homepage sections become white panels with sideways product rows ---- */
.theme-market .mk-cards ~ .promo-grid{margin-top:16px}
.theme-market .mk-cards ~ section.container.section,.theme-market .mk-cards ~ .section.alt-bg>.container{background:#fff;border-radius:6px;box-shadow:var(--shadow);padding:16px 18px 14px;margin-top:16px}
.theme-market .mk-cards ~ .section.alt-bg{background:none;padding:0}
.theme-market .mk-cards ~ .section .sec-head{margin-bottom:10px}
.theme-market .mk-cards ~ .section .sec-head h2,.theme-market .fortinet-head h2{font-size:20px}
.theme-market .mk-cards ~ .section .pgrid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 10px;scrollbar-width:thin}
.theme-market .mk-cards ~ .section .pgrid>.pcard{flex:0 0 212px;scroll-snap-align:start}
.theme-market .mk-cards ~ .b2b-grid,.theme-market .mk-cards ~ .contact-strip{display:grid}
.theme-market .mk-cards ~ .section .reveal{opacity:1;transform:none}

/* ---- product cards: flat and dense everywhere ---- */
.theme-market .pcard{border:1px solid #e3e8f2;box-shadow:none}
.theme-market .pcard:hover{transform:none;box-shadow:var(--shadow2);border-color:#c9d6f2}
.theme-market .pcard-img{background:#f7f9fc;padding:12px}
.theme-market .pcard-img img{mix-blend-mode:multiply}
.theme-market .pcard:hover .pcard-img img{transform:none}
.theme-market .pcard-body{padding:10px 12px 12px}
.theme-market .pcard h3{font-size:13.5px;font-weight:500;min-height:36px}
.theme-market .pcard-price strong{font-size:18px}
.theme-market .pcard-actions .btn{border-radius:18px}
.theme-market .cat-tile,.theme-market .b2b-card,.theme-market .art-card,.theme-market .why-card{border-radius:6px}
.theme-market .cat-tile:hover{transform:none}

@media (min-width:921px) and (max-width:1560px){.theme-market .nav-item.util:nth-last-child(-n+4){display:none}.theme-market .nav-item>a{padding:9px 8px}}
@media (max-width:1180px){.mk-cards{grid-template-columns:repeat(3,1fr)}.theme-market .search-dept{max-width:120px}}
@media (max-width:920px){
  .mk-cards{grid-template-columns:1fr 1fr;gap:12px;margin-top:-120px}
  .theme-market .hero-inner{grid-template-columns:1fr;padding-bottom:150px}
  .theme-market .hero-visual{display:none!important}
  .theme-market .hdr{height:auto}
  .theme-market .nav-toggle,.theme-market .acct-btn{background:transparent;color:#fff;border-radius:6px}
  .theme-market .hdr-actions .btn-wa{border-radius:6px}
  .theme-market .hero-dots{bottom:136px}
  .theme-market .search-dept{display:none}
  .theme-market .search input{border-radius:8px 0 0 8px}
  .theme-market .acct-btn span,.theme-market .hdr-actions .btn-wa span{display:none}
  .theme-market .mainnav{background:var(--navy)}
}
@media (max-width:560px){
  .mk-cards{gap:10px;padding:0 10px}
  .mk-card{padding:12px}
  .mk-card h2{font-size:15px}
  .mk-quad{gap:8px}
  .mk-name{font-size:11.5px}
  .theme-market .hero h1{font-size:24px}
  .theme-market .mk-cards ~ .section .pgrid>.pcard{flex-basis:164px}
  .theme-market .mk-cards ~ section.container.section,.theme-market .mk-cards ~ .section.alt-bg>.container{border-radius:0;padding:14px 12px}
}
