/* Al Wefaq theme: loaded after the site's own stylesheets on every page (tools/rebrand.mjs).
   Brand colours sampled from the Al Wefaq logo: navy #203468, teal #00a890, gray #5a5a5c. */
:root {
  --wf-navy: #203468; --wf-navy-deep: #16244a; --wf-navy-dark: #0e1a38;
  --wf-teal: #00a890; --wf-teal-deep: #008b77; --wf-teal-tint: #e6f6f3; --wf-teal-tint2: #f2faf8;
  --wf-gray: #5a5a5c; --wf-off: #f3f2f0; --wf-line: #e3e8ee;
  --wf-radius: 18px; --wf-shadow: 0 10px 30px rgba(14, 26, 56, .08); --wf-shadow-hover: 0 16px 40px rgba(14, 26, 56, .14);
  --wf-font: "Inter", "Noto Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wf-font-ar: "Noto Sans Arabic", "Inter", system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
}

/* ---------- type: brand fonts everywhere except icon fonts ---------- */
body, body :not(i):not(.fa):not(.fas):not(.fal):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]):not(.flag-icon) { font-family: var(--wf-font); }
html[lang="ar"] body, html[lang="ar"] body :not(i):not(.fa):not(.fas):not(.fal):not(.far):not(.fab):not([class^="fa-"]):not([class*=" fa-"]),
[dir="rtl"] body, body[dir="rtl"] :not(i):not(.fa):not(.fas):not(.fal):not(.far):not(.fab) { font-family: var(--wf-font-ar); }
body { color: #1d2433; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, .title-heading { letter-spacing: -.01em; }
a { color: var(--wf-navy); }
a:hover { color: var(--wf-teal-deep); }
::selection { background: var(--wf-teal); color: #fff; }

/* ---------- header ---------- */
.more-options.main-header { background: var(--wf-navy-dark) !important; }
.more-options.main-header a, .more-options.main-header .lang, .more-options.main-header .lang a { color: rgba(255, 255, 255, .85) !important; }
.more-options.main-header a:hover { color: #7fe0cf !important; }
.more-options.main-header .cat-menu li.active a, .more-options.main-header .cat-menu a.active { color: #7fe0cf !important; font-weight: 600; }
.tob-bar-header { background: var(--wf-navy-dark) !important; color: #fff; }
.tob-bar-header a, .tob-bar-header span, .tob-bar-header i { color: #fff !important; }
.tob-bar-header a:hover { color: #7fe0cf !important; }
.header-wrap { box-shadow: 0 6px 24px rgba(14, 26, 56, .07); position: relative; z-index: 20; }
.header-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--wf-navy) 0 70%, var(--wf-teal) 70% 100%); }
.navbar-brand img { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
@media (max-width: 991px) { .navbar-brand img { height: 44px; } }
.search-bar-input { border-radius: 999px !important; }
.search-bar-input:focus { border-color: var(--wf-teal) !important; box-shadow: 0 0 0 3px rgba(0, 168, 144, .15) !important; }

/* ---------- buttons ---------- */
.btn-primary, .btn.btn-primary, .cart_submit {
  background: var(--wf-navy) !important; border-color: var(--wf-navy) !important; color: #fff !important;
  border-radius: 999px; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn-primary:hover, .btn.btn-primary:hover, .cart_submit:hover, .btn-primary:focus {
  background: var(--wf-teal) !important; border-color: var(--wf-teal) !important; box-shadow: 0 8px 20px rgba(0, 168, 144, .25); transform: translateY(-1px);
}
.btn-outline-primary { color: var(--wf-navy) !important; border-color: var(--wf-navy) !important; border-radius: 999px; }
.btn-outline-primary:hover { background: var(--wf-navy) !important; color: #fff !important; }

/* ---------- headings ---------- */
.title-heading .gradient, .gradient {
  background: linear-gradient(90deg, var(--wf-navy), var(--wf-teal)); -webkit-background-clip: text; background-clip: text; color: transparent !important;
}
.title-heading { position: relative; }
section > .container > .row > [class*="col"] > .title-heading::after,
.wefaq-values .title-heading::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin: 14px auto 0; background: var(--wf-teal); }

/* ---------- cards & product tiles ---------- */
.card, .card_box, .product-card, .item .card, .category-card { border-radius: var(--wf-radius) !important; }
.trending-product .item, .all-categories .item { transition: transform .25s, box-shadow .25s; }
.trending-product .item:hover, .all-categories .item:hover { transform: translateY(-3px); }

/* subtle halftone dots behind the home banner and section titles */
.home-banner { position: relative; }
.home-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(0, 168, 144, .18) 1.2px, transparent 1.4px); background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 55%, #000); mask-image: linear-gradient(90deg, transparent 55%, #000);
}
.home-banner > * { position: relative; z-index: 1; }

/* ---------- values (replaces testimonials) ---------- */
.wefaq-values { padding: 70px 0; background: linear-gradient(180deg, var(--wf-teal-tint2), #fff); }
.wefaq-values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 34px; }
.wefaq-values .card_box { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-radius); padding: 26px 24px; box-shadow: var(--wf-shadow); transition: transform .25s, box-shadow .25s; height: 100%; }
.wefaq-values .card_box:hover { transform: translateY(-4px); box-shadow: var(--wf-shadow-hover); border-color: rgba(0, 168, 144, .35); }
.wefaq-values .card-img { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.wefaq-values .value-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--wf-navy), var(--wf-teal)); color: #fff; font-size: 22px; flex: none; }
.wefaq-values .author { margin: 0; font-size: 19px; font-weight: 700; color: var(--wf-navy); }
.wefaq-values .swiper-content p { margin: 0; color: #4a5568; line-height: 1.65; }

/* ---------- About page ---------- */
.wefaq-about .about-banner { background-size: cover; background-position: center; position: relative; }
.wefaq-about .about-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 26, 56, .85), rgba(32, 52, 104, .55) 60%, rgba(0, 168, 144, .35)); }
.wefaq-about .about-banner .container { position: relative; }
.wefaq-about-img { border-radius: var(--wf-radius); box-shadow: var(--wf-shadow-hover); }
.wefaq-lead { font-size: 1.2rem; line-height: 1.75; color: #1d2433; }
.wefaq-services { color: var(--wf-gray); line-height: 1.8; border-inline-start: 4px solid var(--wf-teal); padding-inline-start: 14px; }
.wefaq-step, .wefaq-mv { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-radius); padding: 26px; height: 100%; box-shadow: var(--wf-shadow); }
.wefaq-step-no { display: inline-block; font-weight: 800; font-size: 28px; color: var(--wf-teal); margin-bottom: 6px; }
.wefaq-step h3, .wefaq-mv h3 { color: var(--wf-navy); font-size: 1.25rem; font-weight: 700; }
.wefaq-mv { background: linear-gradient(135deg, var(--wf-navy), var(--wf-navy-deep)); color: #fff; border: 0; }
.wefaq-mv h3 { color: #7fe0cf; }

/* ---------- footer ---------- */
.footer-wrap, .footer-wrap footer, .footer-top, .footer-bottom { background: var(--wf-navy-dark) !important; color: #d7deea; }
.footer-top { background: linear-gradient(180deg, var(--wf-navy), var(--wf-navy-dark)) !important; border-top: 4px solid var(--wf-teal); }
.footer-wrap .heading, .footer-wrap h4 { color: #fff !important; }
.footer-wrap a, .footer-wrap p, .footer-wrap span, .footer-wrap li { color: #d7deea !important; }
.footer-wrap a:hover { color: #7fe0cf !important; }
.footer-wrap i { color: var(--wf-teal) !important; }
.footer-wrap .social li:empty, .footer-wrap .social li:not(:has(a)) { display: none; }
.footer-wrap .social img { transition: transform .2s; } .footer-wrap .social a:hover img { transform: translateY(-2px); }
.footer-wrap .contact-footer a { border-radius: 999px; background: var(--wf-teal) !important; }
.footer-wrap .contact-footer a span, .footer-wrap .contact-footer a i { color: #fff !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-wrap .copyright .dot, .footer-wrap .copyright .h-hr { background: var(--wf-teal) !important; }

/* ---------- loader: Wefaq logo animation ---------- */
#wefaqloader #loaderImg { transform: none !important; animation: none !important; }
.wefaq-loader-logo { width: min(300px, 62vw); height: auto; animation: wefaqPulse 1.2s ease-in-out infinite; user-select: none; }
@keyframes wefaqPulse { 0%, 100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1); } }

/* WhatsApp floating button in brand teal */
.wsp-whatsapp { filter: drop-shadow(0 8px 18px rgba(0, 168, 144, .35)); }

/* "It's simpler than you think" steps band: navy instead of the grey overlay */
.how-it-works::before { background: linear-gradient(135deg, var(--wf-navy-deep), var(--wf-navy) 60%, #1d4f73) !important; opacity: 1 !important; }

/* product page: "Your Order Details" header in navy instead of near-black */
.order-details-heading { background: linear-gradient(90deg, var(--wf-navy-deep), var(--wf-navy)) !important; border-bottom: 3px solid var(--wf-teal); }

/* ---------- home slider: one shape for every banner (EN + AR), no jump while images load ---------- */
.home-banner .owl-carousel .item, .home-banner .card_img { aspect-ratio: 1920 / 520; overflow: hidden; background: #eef1f6; }
.home-banner .card_img a { display: block; height: 100%; }
.home-banner .card_img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-banner .owl-carousel:not(.owl-loaded) { display: block; }
.home-banner .owl-carousel:not(.owl-loaded) > .item:not(:first-child) { display: none; } /* before the slider starts: first banner only */
.home-banner .owl-dot span { transition: width .3s, background .3s; }

/* ---------- motion: subtle, transform + opacity only ---------- */
:root { --wf-ease: cubic-bezier(.2, .7, .2, 1); }
.wf-js .wf-reveal.wf-pending { opacity: 0; transform: translateY(18px); }
.wf-js .wf-reveal.wf-in { opacity: 1; transform: none; transition: opacity .6s var(--wf-ease) var(--wf-delay, 0ms), transform .6s var(--wf-ease) var(--wf-delay, 0ms); }
.btn, .wf-btn, .cart_submit, .card_box, .product-card, .item .card, .owl-nav button, .splide__arrow { transition: transform .22s var(--wf-ease), box-shadow .22s var(--wf-ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover, .wf-btn:hover { transform: translateY(-1px); }
.btn:active, .wf-btn:active { transform: translateY(0) scale(.98); }
.all-categories .card_box:hover, .trending-product .card_box:hover, .featured-product .card_box:hover, .product-card:hover { transform: translateY(-4px); box-shadow: var(--wf-shadow-hover); }
.dropdown-menu.show { animation: wfDrop .18s var(--wf-ease) both; transform-origin: top; }
@keyframes wfDrop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.modal.fade .modal-dialog { transform: translateY(14px) scale(.98); transition: transform .28s var(--wf-ease), opacity .28s; }
.modal.show .modal-dialog { transform: none; }
.accordion-button::after { transition: transform .3s var(--wf-ease); }
.accordion-collapse.show .accordion-body { animation: wfFadeIn .35s var(--wf-ease) both; }
.tab-pane.fade { transition: opacity .25s linear; }
.tab-pane.active.show { animation: wfFadeIn .3s var(--wf-ease) both; }
@keyframes wfFadeIn { from { opacity: 0; transform: translateY(6px); } }
.wf-scrolled .header-wrap { box-shadow: 0 8px 28px rgba(14, 26, 56, .12); }
:focus-visible { outline: 3px solid rgba(0, 168, 144, .55); outline-offset: 2px; }
/* loading state while a request runs */
.wf-busy { position: relative; pointer-events: none; color: transparent !important; }
.wf-busy > * { visibility: hidden; }
.wf-busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; border-right-color: transparent; animation: wfSpin .7s linear infinite; }
.wf-btn-ghost.wf-busy::after, .btn-outline-primary.wf-busy::after, .wf-icon-btn.wf-busy::after { border-color: var(--wf-navy); border-right-color: transparent; }
@keyframes wfSpin { to { transform: rotate(360deg); } }
/* toasts */
.wf-toasts { position: fixed; z-index: 2000; inset-inline-end: 20px; bottom: 96px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; max-width: min(380px, calc(100vw - 32px)); }
.wf-toast { pointer-events: auto; background: var(--wf-navy-dark); color: #fff; padding: 13px 18px; border-radius: 14px; box-shadow: 0 18px 44px rgba(14, 26, 56, .3); border-inline-start: 4px solid var(--wf-teal); animation: wfToastIn .35s var(--wf-ease) both; }
.wf-toast.is-err { border-color: #f97066; }
.wf-toast.is-out { animation: wfToastOut .3s var(--wf-ease) both; }
@keyframes wfToastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes wfToastOut { to { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wf-js .wf-reveal.wf-pending { opacity: 1; transform: none; }
}

/* ---------- the store's own pages (cart, checkout, my account, sign-in, confirmations) ---------- */
.local-page { background: linear-gradient(180deg, #f6f8fb, #fff 420px); }
.wf-wrap { max-width: 1180px; margin: 0 auto; padding: 36px 20px 64px; }
.wf-h { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); font-weight: 800; color: var(--wf-navy); margin: 0 0 18px; letter-spacing: -.015em; line-height: 1.25; }
.wf-h2 { font-size: 1.2rem; font-weight: 700; color: var(--wf-navy); margin: 0 0 14px; }
.wf-h3 { font-size: 1.02rem; font-weight: 700; color: var(--wf-navy); margin: 22px 0 10px; }
.wf-count { font-size: .9rem; font-weight: 600; color: var(--wf-gray); background: #eef1f6; border-radius: 999px; padding: 3px 10px; vertical-align: middle; }
.wf-muted { color: #5f6779; } .wf-small { font-size: .875rem; } .wf-center { text-align: center; } .wf-break { overflow-wrap: anywhere; }
.wf-card { background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-radius); padding: 22px; box-shadow: var(--wf-shadow); }
.wf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; border-radius: 999px; border: 1px solid var(--wf-navy); background: var(--wf-navy); color: #fff !important; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.wf-btn:hover { background: var(--wf-teal); border-color: var(--wf-teal); box-shadow: 0 10px 24px rgba(0, 168, 144, .25); }
.wf-btn-ghost { background: #fff; color: var(--wf-navy) !important; border-color: #c9d1de; }
.wf-btn-ghost:hover { background: #fff; border-color: var(--wf-teal); color: var(--wf-teal-deep) !important; box-shadow: none; }
.wf-btn-danger { background: #fff; color: #b42318 !important; border-color: #f4b5ae; } .wf-btn-danger:hover { background: #fef3f2; border-color: #f4b5ae; box-shadow: none; }
.wf-btn-sm { min-height: 44px; padding: 6px 16px; font-size: .9rem; }
.wf-btn-block { display: flex; width: 100%; margin-top: 12px; }
.wf-icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--wf-line); background: #fff; color: #b42318; cursor: pointer; }
.wf-icon-btn:hover { background: #fef3f2; }
.wf-label { display: block; font-weight: 600; font-size: .9rem; color: #2a3349; margin: 14px 0 6px; }
.wf-input { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #cfd6e2; border-radius: 12px; background: #fff; font: inherit; color: #1d2433; transition: border-color .15s, box-shadow .15s; }
textarea.wf-input { min-height: 0; }
.wf-input:focus { outline: 0; border-color: var(--wf-teal); box-shadow: 0 0 0 3px rgba(0, 168, 144, .15); }
.wf-input[readonly] { background: #f6f8fb; color: #5f6779; }
.wf-check, .wf-radio { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 6px 0; cursor: pointer; }
.wf-check input, .wf-radio input { width: 20px; height: 20px; accent-color: var(--wf-teal); flex: none; }
.wf-radio { border: 1px solid var(--wf-line); border-radius: 12px; padding: 10px 14px; transition: border-color .2s, background .2s; }
.wf-radio:has(input:checked) { border-color: var(--wf-teal); background: var(--wf-teal-tint2); }
.wf-alert { padding: 12px 16px; border-radius: 12px; margin: 0 0 16px; }
.wf-alert-err { background: #fef3f2; border: 1px solid #f4b5ae; color: #912018; }
.wf-badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--wf-teal-tint); color: #0b6b56; white-space: nowrap; }
.wf-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.wf-flex-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.wf-form { max-width: 760px; } .wf-narrow { max-width: 440px; }
.wf-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wf-field small { display: block; margin-top: 4px; }
/* sign-in */
.wf-auth { display: grid; place-items: center; padding: 48px 16px 72px; }
.wf-auth .wf-card { width: min(460px, 100%); padding: 32px; }
/* cart */
.wf-grid-cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.wf-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wf-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--wf-line); border-radius: 16px; padding: 14px; }
.wf-item-img { width: 88px; height: 88px; object-fit: contain; border-radius: 12px; background: #f6f8fb; flex: none; }
.wf-item-body { flex: 1; min-width: 0; }
.wf-item-name { font-weight: 700; color: var(--wf-navy); text-decoration: none; overflow-wrap: anywhere; }
.wf-item-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.wf-price { font-weight: 700; color: var(--wf-navy); white-space: nowrap; }
.wf-summary { position: sticky; top: 110px; }
.wf-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; margin: 0 0 6px; }
.wf-totals dt { font-weight: 500; color: #5f6779; } .wf-totals dd { margin: 0; text-align: end; font-weight: 600; white-space: nowrap; }
.wf-totals .wf-grand { color: var(--wf-navy); font-weight: 800; font-size: 1.08rem; padding-top: 10px; border-top: 1px solid var(--wf-line); }
.wf-sum-list { list-style: none; padding: 0; margin: 0 0 12px; } .wf-sum-list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed var(--wf-line); }
.wf-sum-list span { overflow-wrap: anywhere; }
.wf-empty { text-align: center; padding: 56px 20px; } .wf-empty i { font-size: 46px; color: #b5c0d2; margin-bottom: 14px; display: block; }
/* result pages (thank you, not found...) */
.wf-result { max-width: 620px; margin: 24px auto; text-align: center; background: #fff; border: 1px solid var(--wf-line); border-radius: 24px; padding: 40px 28px; box-shadow: var(--wf-shadow); }
.wf-result .wf-actions { justify-content: center; }
.wf-result-icon { width: 72px; height: 72px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 30px; margin-bottom: 14px; background: var(--wf-teal-tint); color: var(--wf-teal-deep); animation: wfPop .5s var(--wf-ease) both; }
.wf-result.is-err .wf-result-icon { background: #fef3f2; color: #b42318; }
@keyframes wfPop { from { transform: scale(.6); opacity: 0; } }
/* track order */
.wf-track { max-width: 720px; margin: 0 auto; }
.wf-status { color: var(--wf-teal-deep); }
.wf-timeline { list-style: none; margin: 18px 0 0; padding: 0; border-inline-start: 2px solid var(--wf-line); }
.wf-timeline li { position: relative; padding: 4px 0 14px; padding-inline-start: 20px; display: flex; flex-direction: column; }
.wf-timeline li::before { content: ""; position: absolute; inset-inline-start: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: #c9d1de; }
.wf-timeline li:first-child::before { background: var(--wf-teal); box-shadow: 0 0 0 4px rgba(0, 168, 144, .18); }
.wf-timeline time { color: #5f6779; font-size: .875rem; }
/* my account */
.wf-acc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; }
.wf-acc-nav { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--wf-line); border-radius: var(--wf-radius); padding: 10px; position: sticky; top: 110px; }
.wf-acc-link { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 14px; border-radius: 12px; color: #2a3349; text-decoration: none; font-weight: 500; transition: background .2s, color .2s; }
.wf-acc-link i { width: 18px; text-align: center; color: var(--wf-teal-deep); }
.wf-acc-link:hover { background: #f3f6fa; color: var(--wf-navy); }
.wf-acc-link.is-on { background: var(--wf-navy); color: #fff; } .wf-acc-link.is-on i { color: #7fe0cf; }
.wf-acc-main { min-width: 0; }
.wf-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 8px; }
.wf-tile { display: flex; flex-direction: column; gap: 2px; text-decoration: none; padding: 18px; transition: transform .22s var(--wf-ease), box-shadow .22s; }
.wf-tile:hover { transform: translateY(-3px); box-shadow: var(--wf-shadow-hover); }
.wf-tile i { color: var(--wf-teal); font-size: 20px; } .wf-tile b { font-size: 1.6rem; color: var(--wf-navy); } .wf-tile span { color: #5f6779; }
.wf-table { width: 100%; border-collapse: collapse; }
.wf-table th { text-align: start; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: #5f6779; padding: 10px 12px; border-bottom: 1px solid var(--wf-line); }
.wf-table td { padding: 12px; border-bottom: 1px solid var(--wf-line); vertical-align: middle; }
.wf-addr-list, .wf-files { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.wf-addr { padding: 16px; box-shadow: none; } .wf-addr p { margin: 6px 0 0; }
.wf-addr .wf-actions form { margin: 0; }
.wf-files li { display: flex; align-items: center; gap: 12px; padding: 14px; box-shadow: none; } .wf-files li > span { flex: 1; min-width: 0; } .wf-files i { font-size: 22px; color: var(--wf-teal); }
.wf-files form { margin: 0; }
@media (max-width: 991px) {
  .wf-grid-cart, .wf-acc { grid-template-columns: 1fr; }
  .wf-summary, .wf-acc-nav { position: static; }
  .wf-acc-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; -webkit-overflow-scrolling: touch; }
  .wf-acc-nav::-webkit-scrollbar { display: none; }
  .wf-acc-link { white-space: nowrap; flex: none; }
}
@media (max-width: 600px) {
  .wf-wrap { padding: 24px 16px 96px; }
  .wf-card { padding: 16px; } .wf-auth .wf-card { padding: 22px; }
  .wf-row2 { grid-template-columns: 1fr; }
  .wf-item-img { width: 64px; height: 64px; }
  .wf-table thead { display: none; }
  .wf-table, .wf-table tbody, .wf-table tr, .wf-table td { display: block; width: 100%; }
  .wf-table tr { border: 1px solid var(--wf-line); border-radius: 14px; margin-bottom: 10px; padding: 6px 0; }
  .wf-table td { border: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 14px; }
  .wf-table td[data-label]::before { content: attr(data-label); color: #5f6779; font-weight: 600; font-size: .85rem; }
  .wf-result { padding: 30px 18px; }
  .wf-toasts { inset-inline: 16px; bottom: 92px; max-width: none; }
}

/* About page: the 3rem row gutter overflowed the phone screen by 12px */
@media (max-width: 767px) { .wefaq-about .row.g-5 { --bs-gutter-x: 1.5rem; } }
/* phones: links in the top bar and header are at least 44px tall to tap */
@media (max-width: 991px) {
  .tob-bar-header a, .more-options.main-header a, .get-quote, .req-visit, .track-order { display: inline-flex; align-items: center; min-height: 44px; }
}
