/* TEVCO 6.15.4: premium Saudi retail density, never an alternative theme. */
body.home.tevco-retail-commerce-v6154 {
  --tevco-navy:#0b2f4f;
  --tevco-burgundy:#a60517;
  --tevco-border:#e2e8ed;
}
/* A consistent reading rhythm without the oversized gaps of earlier releases. */
body.home.tevco-retail-commerce-v6154 .tevco-home-builder-section {
  height:auto!important;
  margin-bottom:0!important;
}
body.home.tevco-retail-commerce-v6154 .tevco-home-builder-section:empty {display:none!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cats {padding:18px 0 32px;background:#fff;border-bottom:1px solid #eff2f4}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-head {display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 16px}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-head h2 {font-size:20px;font-weight:850;line-height:1.35;color:var(--tevco-navy);margin:0}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-head a {text-decoration:none;font-size:12px;font-weight:750;color:var(--tevco-navy)}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-grid {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:11px}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat {min-width:0;display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center;text-decoration:none!important;padding:10px 7px 12px;background:#fafbfc;border:1px solid var(--tevco-border);border-radius:12px;color:var(--tevco-navy)!important;transition:border-color .2s ease,background .2s ease}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat:hover {background:#fff;border-color:#b6c6d4}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat-thumb {display:grid;place-items:center;width:100%;aspect-ratio:1/1;max-height:108px;overflow:hidden;background:#fff;border-radius:7px}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat-thumb img {width:100%;height:100%;object-fit:contain!important;mix-blend-mode:multiply}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat-fallback {display:grid;place-items:center;color:#7993a7;width:100%;height:100%;background:#eef3f6}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat-fallback svg {width:29px;height:29px;stroke:currentColor;fill:none;stroke-width:1.35}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat strong {font-size:12px;font-weight:800;line-height:1.55;min-height:20px}
body.home.tevco-retail-commerce-v6154 .tevco-6154-cat small {font-size:10px;color:#788796}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf {background:#f7f9fa!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf .tevco-522-product-rail ul.products {display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important;margin:0!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf .tevco-522-product-rail ul.products::before,
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf .tevco-522-product-rail ul.products::after {display:none!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product {float:none!important;width:auto!important;clear:none!important;margin:0!important;min-width:0!important;padding:13px!important;border:1px solid var(--tevco-border)!important;background:#fff!important;border-radius:12px!important;box-shadow:none!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product img {height:195px!important;max-height:195px;aspect-ratio:1;object-fit:contain!important;width:100%!important;background:#fff}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product .woocommerce-loop-product__title {font-size:13px!important;line-height:1.55!important;min-height:42px!important;color:#243645!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product .price {color:var(--tevco-navy)!important;font-weight:850!important;font-size:17px!important}
body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product .button {display:flex!important;align-items:center;justify-content:center;min-height:41px;border-radius:8px!important;background:var(--tevco-burgundy)!important;color:#fff!important;font-size:12px!important;border:1px solid var(--tevco-burgundy)!important}
/* Header and footer share one recognizable visual identity. */
body.home.tevco-retail-commerce-v6154 .tevco-header-main .tevco-logo img {object-fit:contain!important}
body.home.tevco-retail-commerce-v6154 .tevco-nav {background:var(--tevco-navy)!important}
body.home.tevco-retail-commerce-v6154 .tevco-footer {background:var(--tevco-navy)!important}
body.home.tevco-retail-commerce-v6154 .tevco-footer-grid {gap:clamp(16px,2vw,30px)!important}
body.home.tevco-retail-commerce-v6154 .tevco-footer section h3 {font-size:15px!important;line-height:1.5!important;color:#fff!important}
body.home.tevco-retail-commerce-v6154 .tevco-footer section > a {font-size:13px!important;line-height:1.7!important}
body.home.tevco-retail-commerce-v6154 :is(.tevco-6154-cat,.tevco-6154-cats-head>a):focus-visible {outline:3px solid var(--tevco-burgundy)!important;outline-offset:2px!important}
@media (max-width:1199px) {body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-grid {grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:850px) {body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf .tevco-522-product-rail ul.products {grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media (max-width:650px) {
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cats {padding:13px 0 23px}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-head h2 {font-size:18px}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cats-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cat {padding:8px 3px;border-radius:8px}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cat-thumb {max-height:67px}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cat strong {font-size:10px;line-height:1.4}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-cat small {font-size:9px}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf .tevco-522-product-rail ul.products {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product {padding:9px!important}
 body.home.tevco-retail-commerce-v6154 .tevco-6154-sale-shelf ul.products li.product img {height:150px!important;max-height:150px!important}
}
@media(prefers-reduced-motion:reduce) {body.home.tevco-retail-commerce-v6154 .tevco-6154-cat{transition:none!important}}
