/* Trakeb compact footer — 2026-10-18 */
.store-footer .store-footer__inner{background:#00263e!important;color:#fff}
.store-footer .store-footer__inner>.container{max-width:1240px}
.store-footer .footer-middle{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(320px,1.15fr);align-items:start!important;gap:34px 64px!important;padding:48px 0 30px!important;border:0!important}
.store-footer .footer-profile{max-width:none!important;align-items:flex-start}
.store-footer .logo-footer{margin:0 0 14px!important}
.store-footer .logo-footer img{height:2.8rem!important;width:auto!important}
.store-footer .footer-profile>p:not(:nth-of-type(2)){display:none!important}
.store-footer .footer-profile>p:nth-of-type(2){margin:0!important;color:#e7f1f5!important;font-size:15px!important;font-weight:600!important;line-height:1.8!important}
.store-footer .footer-title{display:none!important}
.store-footer .footer-list{display:flex!important;flex-wrap:wrap;gap:10px 22px;max-width:520px}
.store-footer .footer-list a{margin:0!important;color:#c9d8df!important;font-size:14px!important;line-height:1.8!important;text-decoration:none!important;transition:color .2s ease}
.store-footer .footer-list a:hover{color:#fff!important}
.store-footer .footer-container>div:nth-child(3){display:none!important}
.store-footer .footer-container>div:nth-child(4){grid-column:1/-1;width:100%;padding-top:20px;border-top:1px solid rgba(255,255,255,.12)}
.store-footer salla-apps-icons,.store-footer .footer-images{display:none!important}
.store-footer .footer-vat{display:flex!important;align-items:center;justify-content:flex-start!important;gap:22px!important;padding:0!important;color:#aebfc8!important}
.store-footer salla-trust-badges{display:flex!important;align-items:center!important;gap:7px!important;color:#aebfc8!important}
.store-footer .s-trust-badges-image,.store-footer .footer-vat>a{display:none!important}
.store-footer .s-trust-badges-content{display:flex!important;align-items:center!important;gap:7px!important}
.store-footer .s-trust-badges-label,.store-footer .s-trust-badges-number,.store-footer .vat-num p,.store-footer .vat-num span{margin:0!important;color:#aebfc8!important;font-size:12px!important;font-weight:400!important;line-height:1.7!important}
.store-footer .s-trust-badges-number,.store-footer .vat-num span{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;color:#dce7ec!important}
.store-footer .vat-num{display:flex!important;align-items:center!important;gap:7px!important}
.store-footer .footer-social{justify-content:flex-start!important;margin-top:16px!important}
.store-footer .social-links,.store-footer .s-social-list{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important}
.store-footer .s-social-link a{display:grid!important;place-items:center;width:24px!important;height:24px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b9cbd4!important;opacity:.9;transition:color .2s ease,opacity .2s ease}
.store-footer .s-social-link a:hover{color:#fff!important;opacity:1}
.store-footer .s-social-icon,.store-footer .s-social-icon svg{width:20px!important;height:20px!important;fill:currentColor!important}
.store-footer .footer-bottom{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:18px 0 22px!important;border-top:1px solid rgba(255,255,255,.12)!important}
.store-footer salla-payments{display:none!important}
.store-footer .sbc-certificate{position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;order:1;color:#d8e4e9!important;font-size:13px!important;line-height:1.7!important;cursor:pointer}
.store-footer .sbc-certificate .sbc-link{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;background:transparent!important}
.store-footer .sbc-certificate .sbc-link a{display:block!important;width:100%!important;height:100%!important}
.store-footer .sbc-certificate .sbc-link img{display:none!important}
.store-footer .sbc-certificate p{margin:0!important;pointer-events:none}
.store-footer .sbc-certificate p:after{content:' ↗';font-size:11px}
.store-footer .copyrights{order:2!important;opacity:1!important;color:#8fa5af!important;line-height:1.7!important}
.store-footer .copyrights p{margin:0!important;font-size:0!important;color:#8fa5af!important}
.store-footer .copyrights p a{display:none!important}
html[lang^='ar'] .store-footer .copyrights p:before{content:'© 2026 تراكيب. جميع الحقوق محفوظة.';font-size:12px}
html[lang^='en'] .store-footer .copyrights p:before{content:'© 2026 Trakeb. All rights reserved.';font-size:12px}
@media (max-width:767px){
 .store-footer .footer-middle{grid-template-columns:1fr;gap:26px!important;padding:34px 0 22px!important}
 .store-footer .footer-profile{align-items:center;text-align:center}
 .store-footer .logo-footer{margin-bottom:12px!important}
 .store-footer .logo-footer img{height:2.5rem!important}
 .store-footer .footer-profile>p:nth-of-type(2){font-size:14px!important}
 .store-footer .footer-social{justify-content:center!important;margin-top:14px!important}
 .store-footer .footer-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;max-width:none;text-align:center}
 .store-footer .footer-list a{font-size:13px!important}
 .store-footer .footer-container>div:nth-child(4){padding-top:18px}
 .store-footer .footer-vat{flex-direction:column!important;justify-content:center!important;gap:7px!important;text-align:center}
 .store-footer salla-trust-badges,.store-footer .s-trust-badges-content,.store-footer .vat-num{justify-content:center!important;flex-wrap:wrap}
 .store-footer .footer-bottom{padding:16px 0 20px!important;gap:5px!important}
 .store-footer .sbc-certificate{font-size:12px!important}
}

.store-footer .footer-vat a[aria-label='الشهادة الضريبية']{display:none!important}

/* Trakeb footer refinement — only essential links */
.store-footer .footer-list a[href*='page-1263139239'],
.store-footer .footer-list a[href*='page-764308907'],
.store-footer .footer-list a[href*='page-279779249']{display:none!important}
.store-footer .footer-middle{gap:22px 44px!important;padding:30px 0 18px!important}
.store-footer .logo-footer{margin-bottom:8px!important}
.store-footer .logo-footer img{height:2.35rem!important}
.store-footer .footer-profile>p:nth-of-type(2){font-size:13px!important;line-height:1.65!important}
.store-footer .footer-social{margin-top:9px!important}
.store-footer .footer-list{gap:8px 22px!important;align-items:center}
.store-footer .footer-container>div:nth-child(4){padding-top:14px!important}
@media (max-width:767px){
 .store-footer .footer-middle{gap:16px!important;padding:22px 0 14px!important}
 .store-footer .logo-footer{margin-bottom:7px!important}
 .store-footer .logo-footer img{height:2.1rem!important}
 .store-footer .footer-profile>p:nth-of-type(2){font-size:13px!important;line-height:1.55!important}
 .store-footer .footer-social{margin-top:8px!important}
 .store-footer .footer-list{display:flex!important;justify-content:center!important;gap:10px 24px!important}
 .store-footer .footer-container>div:nth-child(4){padding-top:12px!important}
}

/* Match footer logo to header */
.store-footer .logo-footer img{height:3rem!important}
@media (max-width:767px){.store-footer .logo-footer img{height:3rem!important}}

/* Desktop: keep the compact footer on one centered axis. */
@media (min-width:768px){
 .store-footer .footer-middle{grid-template-columns:minmax(0,1fr);justify-items:center;gap:18px!important;padding:24px 0 16px!important;text-align:center}
 .store-footer .footer-profile{width:100%;align-items:center!important;text-align:center}
 .store-footer .footer-middle>div:nth-child(2){width:100%;align-items:center}
 .store-footer .footer-list{justify-content:center!important;margin-inline:auto}
 .store-footer .footer-social{justify-content:center!important}
 .store-footer .footer-vat{justify-content:center!important;flex-wrap:wrap}
}

/* Product pages: collapse empty widgets, not real product content. */
body.product-single .main-content{padding-bottom:0!important}
body.product-single .product-form>salla-gifting{display:block;margin:16px 0 0!important}
body.product-single .product-form>salla-cashback-banner{display:block;margin-top:16px!important}
body.product-single .product-reviews:has(salla-comments.hydrated .s-comments-container):not(:has(.s-comments-container>:not(:empty))){display:none!important}
body.product-single .main-content>salla-offer.hydrated:empty,
body.product-single .main-content>salla-bought-together.hydrated:empty{display:none!important}
body.product-single .s-block--bundle-out-of-stock-alternative:has(>[hidden]):not(:has(>:not([hidden]))){display:none!important}
body.product-single .app-inner>.container:has(>salla-products-slider.hydrated:empty):not(:has(>:not(salla-products-slider))){display:none!important}
body.product-single .app-inner>.store-footer{margin-top:24px!important}
/* Readable native information pages. The custom About Trakeb article keeps its own layout. */
body.page-single .content--single-page:not(:has(#tk-about)){
  width:100%!important;max-width:860px!important;margin:36px auto!important;
  padding:0!important;background:transparent!important;box-shadow:none!important;
  color:#334e5e;font-size:16px;line-height:1.95;overflow-wrap:anywhere;
}
body.page-single .content--single-page:not(:has(#tk-about)) p{
  margin:0 0 16px!important;font-size:16px!important;line-height:1.95!important;color:#334e5e;
}
body.page-single .content--single-page:not(:has(#tk-about)) h2{
  margin:32px 0 12px!important;padding:0!important;font-size:22px!important;
  line-height:1.65!important;font-weight:700!important;color:#00263e!important;
}
body.page-single .content--single-page:not(:has(#tk-about)) strong{color:#00263e}
body.page-single .content--single-page:not(:has(#tk-about)) :is(ul,ol){margin:0 0 18px!important;padding-inline-start:24px!important}
body.page-single .content--single-page:not(:has(#tk-about)) li{margin:0 0 9px!important;font-size:16px!important;line-height:1.9!important}
body.page-single .content--single-page:not(:has(#tk-about)) a{color:#007eaf!important;text-decoration:underline;text-underline-offset:4px;line-height:1.9}
body.page-single .content--single-page:not(:has(#tk-about)) a:focus-visible{outline:2px solid #0086b9;outline-offset:4px;border-radius:3px}
@media(max-width:767px){
  body.page-single .content--single-page:not(:has(#tk-about)){margin-block:26px!important}
  body.page-single .content--single-page:not(:has(#tk-about)) h2{font-size:20px!important;margin-top:28px!important}
}