/*
Theme Name: ASAP Pallets
Author: ASAP Business Solution
Description: Theme for ASAP Business Solution, a wooden pallet manufacturer and supplier in Barka, Oman. Home slider, products with cart and WhatsApp checkout, bank-transfer and card-link payment details, and a built-in English / Arabic / Urdu language switcher. On activation it creates the pages, menu and six starter products. Settings: Appearance → Customize → ASAP Theme Settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asap-pallets
Tags: business, e-commerce, one-column, custom-logo, custom-menu, rtl-language-support, translation-ready
*/

/* =========================================================
   ASAP BUSINESS SOLUTION – Wooden Pallets
   Shared stylesheet for all pages
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --navy: #172c46;
  --navy2: #203d59;
  --navy-deep: #101f31;
  --green: #355b42;
  --wood: #b9825e;
  --wood-light: #d7a47e;
  --sand: #e8d4c4;
  --ink: #202b35;
  --muted: #68737d;
  --cream: #f7f5f1;
  --white: #fff;
  --line: #e7e4df;
  --shadow: 0 18px 40px #172c4615;
  /* brick red: the stencil-stamp red used on export crates. Used for actions and highlights. */
  --red: #b8322a;
  --red-dark: #93261f;
  --red-soft: #f9e8e5;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(1160px, 91%); margin: auto; }
.section { padding: 94px 0; }
.bg-cream { background: var(--cream); }
.center { text-align: center; }

/* ---------- 3. Top bar ---------- */
.topbar { background: var(--navy); color: #e8edf2; font-size: 12px; padding: 9px 0; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar a:hover { color: #e4b995; }
.top-sep { padding: 0 12px; color: #8290a0; }

/* ---------- 4. Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 5px 25px #152c4410; }
.nav-wrap { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--navy); font-family: Manrope, sans-serif; font-size: 15px; font-weight: 800; line-height: 1.2;
}
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand small { display: block; color: var(--green); font-size: 9px; letter-spacing: 2.4px; margin-top: 5px; }
.nav { display: flex; gap: 25px; align-items: center; font-size: 13px; font-weight: 700; }
.nav a { position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--wood); transition: width .25s;
}
.nav a:hover { color: var(--wood); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--wood); }
.menu-toggle { display: none; border: 0; background: none; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---------- 5. Buttons & links ---------- */
.button {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--wood); color: #fff; padding: 15px 23px;
  font-size: 13px; font-weight: 800; letter-spacing: .2px; font-family: inherit;
  border: 0; cursor: pointer; transition: .2s;
}
.button:hover { background: var(--green); transform: translateY(-2px); }
.button-small { padding: 12px 17px; }
.button-ghost { background: transparent; border: 1px solid #ffffff88; }
.button-ghost:hover { background: #fff; color: var(--navy); }
.button-light { background: #fff; color: var(--navy); }
.button-light:hover { background: var(--sand); color: var(--navy); }
.button-outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }
.text-link { font-size: 11px; letter-spacing: 1.5px; color: var(--green); font-weight: 800; }
.text-link span { font-size: 17px; margin-left: 8px; transition: margin .2s; }
.text-link:hover span { margin-left: 13px; }

/* ---------- 6. Eyebrows & headings ---------- */
.eyebrow { display: flex; align-items: center; gap: 10px; color: #e1b18c; font-size: 10px; font-weight: 800; letter-spacing: 2.2px; }
.eyebrow > span { width: 27px; height: 2px; background: var(--wood); display: inline-block; }
.eyebrow.dark { color: var(--green); }
.center .eyebrow { justify-content: center; }

.about-copy h2, .section-heading h2, .services-section h2, .contact-cta h2, .block-title {
  font: 800 clamp(32px, 4vw, 46px)/1.15 Manrope, sans-serif;
  color: var(--navy); letter-spacing: -1.4px; margin: 18px 0;
}
.hero h1 em, .hero .hero-title em, .about-copy h2 em, .section-heading h2 em, .services-section h2 em, .block-title em, .page-hero h1 em {
  font-style: normal; color: var(--wood-light);
}
.about-copy h2 em, .section-heading h2 em, .block-title em { color: var(--wood); }
.about-copy > p, .section-heading > p, .lead { color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 390px; margin-bottom: 3px; }

/* ---------- 7. Home hero ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 620px; color: #fff;
  background: #0d1a29;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(13,26,41,.94) 0%, rgba(13,26,41,.8) 38%, rgba(13,26,41,.35) 54%, rgba(13,26,41,0) 74%);
}
.hero-inner { position: relative; padding: 105px 0 125px; }
.hero-copy { max-width: 690px; }
.hero h1, .hero .hero-title { font-family: Manrope, sans-serif; font-size: clamp(42px, 6vw, 72px); letter-spacing: -2.8px; line-height: 1.06; margin: 24px 0; }
.hero-copy > p { font-size: 17px; color: #e0e6eb; max-width: 560px; line-height: 1.8; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 12px; color: #d6dce3; font-size: 11px; letter-spacing: 1.3px; margin-top: 55px; text-transform: uppercase; }
.note-line { height: 1px; width: 42px; background: var(--wood); }
.hero-stamp {
  position: absolute; right: 5%; top: 50%; transform: translateY(-50%);
  width: 160px; height: 160px; border: 1px solid #ffffff75; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  text-align: center; background: #ffffff0b; backdrop-filter: blur(4px);
  font-size: 10px; letter-spacing: 2px; font-weight: 800;
}
.hero-stamp img { width: 67px; height: 67px; object-fit: contain; border-radius: 50%; }
.hero-bottom { position: absolute; bottom: 0; left: 0; width: 100%; background: #101f31a8; border-top: 1px solid #ffffff25; }
.hero-bottom-inner { display: flex; justify-content: space-between; padding: 14px 0; color: #d6dde4; font-size: 9px; letter-spacing: 2px; font-weight: 700; }

/* ---------- 7b. Home hero slider ---------- */
.hero-slider { display: block; min-height: 640px; background: var(--navy-deep); overflow: hidden; }
.slides { position: relative; min-height: 640px; }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center; z-index: 0;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .9s ease; }
.slide-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.08); transition: transform 7s ease-out;
}
.slide.is-active .slide-bg { transform: scale(1); }
.slide .hero-inner { width: min(1160px, 91%); margin: 0 auto; padding: 80px 0 150px; }
/* text box on photo slides (the photo itself has no dark shade) */
.slide:not(.slide-light) .hero-copy {
  max-width: 660px; padding: 38px 42px 36px;
  background: rgba(13, 26, 41, .72); border-left: 4px solid var(--wood);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.slide .hero-copy h1, .slide .hero-copy .hero-title { font-size: clamp(36px, 4.4vw, 58px); letter-spacing: -1.8px; margin: 18px 0 16px; }
.slide .hero-copy > p { margin-bottom: 26px; }
.slide .hero-note { margin-top: 28px; }
.slide .hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.slide.is-active .hero-copy > :nth-child(2) { transition-delay: .12s; }
.slide.is-active .hero-copy > :nth-child(3) { transition-delay: .24s; }
.slide.is-active .hero-copy > :nth-child(4) { transition-delay: .36s; }
.slide.is-active .hero-copy > :nth-child(5) { transition-delay: .48s; }

/* light slide (pallet with goods) */
.slide-light { background: #e8e2d2; color: var(--navy); }
.slide-light .hero-copy { max-width: 640px; }
.slide-light .hero-title { color: var(--navy); }
.slide-light .hero-title em { color: var(--wood); }
.slide-light .hero-copy > p { color: #56606a; }
.slide-media { position: absolute; z-index: -1; right: 5%; top: 46%; transform: translateY(-50%); height: 72%; max-height: 500px; aspect-ratio: 504 / 382; }
.slide-media img {
  width: 100%; height: 100%; object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

/* controls */
.slider-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 70px; pointer-events: none; }
.slider-controls .container { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.slider-controls button { pointer-events: auto; }
.slider-btn {
  width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,.35); background: rgba(16,31,49,.5); color: #fff;
  font-size: 22px; line-height: 1; transition: .2s; backdrop-filter: blur(4px);
}
.slider-btn:hover { background: var(--wood); border-color: var(--wood); }
.slider-dots { display: flex; gap: 6px; }
.slider-dot { position: relative; width: 28px; height: 18px; border: 0; padding: 0; background: none; cursor: pointer; transition: width .3s; }
.slider-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 4px; background: rgba(255,255,255,.45); transition: background .3s; }
.slider-dot.is-active { width: 46px; }
.slider-dot.is-active::before { background: var(--wood); }
.hero-slider.is-light .slider-dot::before { background: rgba(23,44,70,.25); }
.hero-slider.is-light .slider-dot.is-active::before { background: var(--wood); }
.hero-slider.is-light .slider-btn { background: var(--navy); border-color: var(--navy); }
.hero-slider .hero-bottom { z-index: 4; background: var(--navy-deep); }

/* ---------- 8. Inner page hero (About, Products, etc.) ---------- */
.page-hero {
  position: relative; isolation: isolate; color: #fff;
  background: var(--navy) var(--hero-img, url("assets/images/pallets-warehouse.jpg")) var(--hero-pos, center) / cover no-repeat;
  padding: 92px 0 84px;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,31,50,.93) 0%, rgba(14,31,50,.8) 36%, rgba(14,31,50,.32) 60%, rgba(14,31,50,.06) 100%);
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px;
  background: linear-gradient(90deg, var(--wood) 0 22%, var(--sand) 22% 100%);
}
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 11px; letter-spacing: 1.6px; font-weight: 700; color: #c5d0da; text-transform: uppercase; margin-bottom: 22px; }
.breadcrumb a:hover { color: #e4b995; }
.breadcrumb span[aria-current] { color: #e1b18c; }
.page-hero h1 { font: 800 clamp(38px, 5vw, 60px)/1.08 Manrope, sans-serif; letter-spacing: -2px; margin: 18px 0 18px; max-width: 760px; }
.page-hero p { color: #d3dbe3; font-size: 16px; line-height: 1.8; max-width: 580px; margin: 0; }

/* ---------- 9. Quick facts strip ---------- */
.quick-facts { background: var(--sand); padding: 23px 0; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facts-grid > div { display: flex; align-items: center; justify-content: center; gap: 15px; border-right: 1px solid #c9ad98; }
.facts-grid > div:last-child { border: 0; }
.facts-grid b { font: 700 28px Manrope, sans-serif; color: #9a6c50; }
.facts-grid strong, .facts-grid small { display: block; }
.facts-grid strong { font-size: 13px; color: var(--navy); }
.facts-grid small { font-size: 11px; color: #74665c; }

/* ---------- 10. About split ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 75px; align-items: center; }
.about-grid.reverse .about-visual { order: 2; }
.about-visual { position: relative; padding: 0 0 25px 25px; }
.about-visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 75%; height: 78%; background: var(--sand); z-index: -1; }
.about-visual > img { width: 100%; height: 445px; object-fit: cover; }
.image-caption { position: absolute; right: -20px; bottom: 0; background: var(--navy); color: #fff; padding: 16px 22px; display: flex; align-items: center; gap: 12px; }
.image-caption b { font: 800 24px Manrope, sans-serif; color: #e3b18b; }
.image-caption span { font-size: 9px; letter-spacing: 1.5px; }
.ticks { padding: 0; list-style: none; margin: 24px 0 27px; }
.ticks li { padding: 7px 0 7px 27px; position: relative; font-size: 13px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 6px; color: var(--green); font-weight: 900; font-size: 16px; }

/* ---------- 11. Cards: values / info ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card { background: #fff; border: 1px solid var(--line); padding: 32px 28px; position: relative; transition: .25s; }
.info-card::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 3px; background: var(--wood); transition: width .3s; }
.info-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.info-card:hover::before { width: 100%; }
.info-card .num { font: 700 26px Manrope, sans-serif; color: var(--wood); display: block; margin-bottom: 14px; }
.info-card h3 { font: 800 19px Manrope, sans-serif; color: var(--navy); margin-bottom: 10px; }
.info-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }
.info-card ul { margin: 14px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); }
.info-card ul li { margin: 4px 0; }

/* Image cards (Services page) */
.img-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; }
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.img-card-media { height: 200px; position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.img-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.img-card:hover .img-card-media img { transform: scale(1.05); }
.img-card-media > span { position: absolute; left: 15px; bottom: 15px; background: var(--wood); color: #fff; padding: 6px 10px; font: 700 11px Manrope, sans-serif; letter-spacing: 1px; }
.img-card-body { padding: 24px 24px 26px; border-top: 3px solid var(--sand); }
.img-card-body h3 { font: 800 18px Manrope, sans-serif; color: var(--navy); margin-bottom: 8px; }
.img-card-body p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.8; }

/* ---------- 12. Products ---------- */
.products-section { background: var(--cream); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  padding: 10px 18px; font: 700 12px "DM Sans", sans-serif; letter-spacing: .6px; cursor: pointer; transition: .2s;
}
.filter-btn:hover { border-color: var(--wood); color: var(--wood); }
.filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); transition: .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card.is-hidden { display: none; }
.product-image { height: 215px; position: relative; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.img-badge {
  position: absolute; right: 14px; top: 14px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font: 800 15px Manrope, sans-serif; font-style: normal; letter-spacing: .5px;
  box-shadow: inset 0 0 0 4px var(--navy), inset 0 0 0 5px var(--wood-light);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-image > span { position: absolute; left: 15px; top: 15px; background: var(--navy); color: #fff; padding: 6px 10px; font-size: 10px; letter-spacing: 1px; }
.product-info { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-info h3 { font: 800 18px Manrope, sans-serif; color: var(--navy); margin-bottom: 8px; }
.product-info p { font-size: 12.5px; color: var(--muted); min-height: 42px; margin-bottom: 14px; }
.product-info > a, .product-links a { font-size: 10px; letter-spacing: 1.3px; font-weight: 800; color: var(--green); }
.product-info > a:hover, .product-links a:hover { color: var(--wood); }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.tag-list li { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: #7b5a45; background: #f4ebe3; padding: 4px 9px; }
.uses { font-size: 12px; color: var(--ink); margin: 0 0 18px; padding: 0; list-style: none; }
.uses li { padding: 3px 0 3px 18px; position: relative; }
.uses li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 2px; background: var(--wood); }
.product-links { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.products-more { display: flex; justify-content: center; margin-top: 40px; }

/* Sizes table */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); }
.size-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 560px; }
.size-table th { background: var(--navy); color: #fff; text-align: left; font-size: 10px; letter-spacing: 1.4px; padding: 15px 20px; }
.size-table td { padding: 15px 20px; border-bottom: 1px solid var(--line); color: var(--ink); }
.size-table tr:last-child td { border-bottom: 0; }
.size-table tr:nth-child(even) td { background: #fbfaf8; }
.size-table td:first-child { font-weight: 800; color: var(--navy); }
.table-note { font-size: 11.5px; color: var(--muted); margin: 14px 0 0; }

/* ---------- 13. Dark services band ---------- */
.services-section { background: var(--navy); color: #fff; }
.service-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.services-section h2 { color: #fff; margin: 18px 0; }
.services-section h2 em { color: #d9a47d; }
.services-section p { max-width: 470px; color: #c5d0da; font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.service-points { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 24px; }
.service-points > div { display: flex; gap: 14px; border-top: 1px solid #ffffff35; padding-top: 17px; }
.service-points b { color: #d6a47e; font: 700 22px Manrope, sans-serif; }
.service-points strong, .service-points small { display: block; }
.service-points strong { font-size: 13px; }
.service-points small { font-size: 11px; color: #b8c4cf; margin-top: 5px; }

/* ---------- 14. Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--wood) 0 6px, transparent 6px 12px); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; position: relative;
  background: #fff; border: 1px solid var(--wood); color: var(--wood);
  font: 800 17px Manrope, sans-serif; transition: .25s;
}
.step:hover .step-num { background: var(--wood); color: #fff; }
.step h3 { font: 800 16px Manrope, sans-serif; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.75; }
.bg-cream .step-num { background: var(--cream); }
.bg-cream .step:hover .step-num { background: var(--wood); }

/* ---------- 15. Industries ---------- */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry { background: #fff; padding: 26px 24px; display: flex; gap: 16px; align-items: flex-start; transition: background .2s; }
.industry:hover { background: #fbf6f2; }
.industry b { font: 700 13px Manrope, sans-serif; color: #fff; background: var(--green); min-width: 34px; height: 34px; display: grid; place-items: center; }
.industry strong { display: block; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.industry small { display: block; font-size: 12px; color: var(--muted); line-height: 1.7; }

/* ---------- 16. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 800 15px Manrope, sans-serif; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center;
  background: #f1e5dc; color: var(--wood); font: 700 18px "DM Sans", sans-serif; transition: .2s;
}
.faq details[open] summary::after { content: "–"; background: var(--wood); color: #fff; }
.faq details p { font-size: 13.5px; color: var(--muted); margin: -4px 0 20px; line-height: 1.85; max-width: 640px; }

/* ---------- 17. Gallery ---------- */
.gallery-section { background: #fff; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
.gallery-grid > img { width: 100%; height: 270px; object-fit: cover; }
.gallery-message { background: var(--sand); padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.gallery-message span { font-size: 9px; letter-spacing: 2px; color: var(--green); font-weight: 800; }
.gallery-message b { font: 800 26px/1.2 Manrope, sans-serif; color: var(--navy); margin: 15px 0 24px; }
.gallery-message a { font-size: 10px; letter-spacing: 1px; font-weight: 800; color: var(--green); }

.gallery-full { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; gap: 15px; }
.gallery-item { position: relative; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); cursor: zoom-in; border: 0; padding: 0; margin: 0; font: inherit; text-align: left; }
.gallery-item:focus-visible { outline: 3px solid var(--wood); outline-offset: 3px; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px;
  background: linear-gradient(0deg, rgba(16,31,49,.88), transparent);
  color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .4px;
  transform: translateY(8px); opacity: .92; transition: .3s;
}
.gallery-item figcaption small { display: block; color: #e1b18c; font-size: 9px; letter-spacing: 1.8px; margin-bottom: 3px; }
.gallery-item:hover figcaption { transform: none; opacity: 1; }
.gallery-item.is-hidden { display: none; }
.gallery-full .gallery-message { grid-column: span 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(10,20,32,.94);
  display: none; align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; box-shadow: 0 25px 60px #0007; }
.lightbox-figure { margin: 0; text-align: center; }
.lightbox-caption { color: #d6dde4; font-size: 13px; margin-top: 16px; letter-spacing: .4px; }
.lightbox button {
  position: absolute; background: #ffffff14; border: 1px solid #ffffff30; color: #fff;
  width: 48px; height: 48px; font-size: 22px; cursor: pointer; transition: .2s;
}
.lightbox button:hover { background: var(--wood); border-color: var(--wood); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- 18. Call-to-action band ---------- */
.contact-cta { background: linear-gradient(100deg, #a66f50, #c18d6b); padding: 65px 0; color: #fff; }
.contact-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.contact-cta h2 { color: #fff; margin: 14px 0; font-size: 42px; }
.contact-cta p { color: #fff0e8; font-size: 14px; margin-bottom: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-cta .button-ghost { border-color: #ffffffaa; }

/* Help strip (products page) */
.help-strip { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--wood); padding: 28px 32px; margin-top: 50px; }
.help-strip img { width: 64px; height: 64px; object-fit: contain; }
.help-strip h3 { font: 800 20px Manrope, sans-serif; color: var(--navy); margin-bottom: 4px; }
.help-strip p { font-size: 13px; color: var(--muted); margin: 0; }

/* ---------- 19. Contact ---------- */
.contact-section { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 25px; }
.contact-details { background: #fff; padding: 32px; }
.contact-row { display: flex; align-items: center; gap: 17px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; background: #f1e5dc; color: var(--green); font-size: 19px; }
.contact-row small, .contact-row a, .contact-row strong { display: block; }
.contact-row small { font-size: 9px; letter-spacing: 1.5px; color: var(--muted); font-weight: 800; }
.contact-row a, .contact-row strong { font-size: 13px; color: var(--navy); font-weight: 700; margin-top: 4px; overflow-wrap: anywhere; }
.contact-row a:hover { color: var(--wood); }
.facebook-link { display: inline-block; margin-top: 25px; color: var(--green); font-size: 12px; font-weight: 800; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(35%); display: block; }

.form-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 25px; margin-top: 25px; align-items: start; }
.enquiry-form { background: #fff; padding: 30px; }
.enquiry-form h3 { font: 800 22px Manrope, sans-serif; color: var(--navy); margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid label { font-size: 11px; font-weight: 800; color: var(--navy); }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea, .form-grid select {
  display: block; width: 100%; margin-top: 7px; padding: 13px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 400 13px "DM Sans", sans-serif; outline: none; border-radius: 0;
}
.form-grid select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b9825e' stroke-width='2'/%3E%3C/svg%3E") right 14px center no-repeat; padding-right: 36px; }
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { border-color: var(--wood); }
.enquiry-form button { margin-top: 18px; }
.form-note { font-size: 10px; color: var(--muted); margin: 12px 0 0; }
.tips-card { background: var(--navy); color: #fff; padding: 30px; }
.tips-card h3 { font: 800 19px Manrope, sans-serif; margin-bottom: 6px; }
.tips-card > p { font-size: 12.5px; color: #c5d0da; margin-bottom: 14px; }
.tips-card ul { list-style: none; padding: 0; margin: 0; }
.tips-card li { font-size: 13px; padding: 11px 0 11px 30px; border-top: 1px solid #ffffff22; position: relative; }
.tips-card li b { position: absolute; left: 0; top: 11px; color: var(--wood-light); font: 700 12px Manrope, sans-serif; }

/* ---------- 20. Footer ---------- */
.footer { background: var(--navy-deep); color: #c3ced8; padding: 55px 0 20px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 45px; }
.footer-brand { display: grid; grid-template-columns: 55px 1fr; align-items: center; column-gap: 12px; align-content: start; }
.footer-brand img { width: 55px; height: 55px; object-fit: contain; grid-row: span 2; }
.footer-brand b, .footer-brand small { display: block; }
.footer-brand b { font: 800 13px Manrope, sans-serif; color: #fff; }
.footer-brand small { font-size: 9px; letter-spacing: 2px; color: #d6a47e; }
.footer-brand p { grid-column: 1 / -1; font-size: 12px; color: #aebbc8; max-width: 300px; margin: 18px 0 0; }
.footer h4 { font-size: 10px; letter-spacing: 1.6px; color: #fff; margin: 0 0 17px; }
.footer-main > div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-main a, .footer-main span { font-size: 12px; color: #b9c5d0; overflow-wrap: anywhere; }
.footer-main a:hover { color: #e4b995; }
.footer-bottom { border-top: 1px solid #ffffff20; margin-top: 40px; padding-top: 17px; display: flex; justify-content: space-between; font-size: 10px; color: #8e9dab; letter-spacing: .7px; }

/* ---------- 21. Floating WhatsApp & back-to-top ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25a35a; color: #fff;
  box-shadow: 0 10px 26px rgba(16, 80, 45, .35);
  transition: transform .2s, background .2s;
}
.whatsapp-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25a35a; animation: wa-pulse 2.6s ease-out infinite;
}
.whatsapp-float:hover { transform: translateY(-3px); background: #1e8f4e; }
.whatsapp-float .fa-whatsapp { font-size: 33px; line-height: 1; }
.whatsapp-float .wa-fallback { display: none; }
.whatsapp-float.no-fa .fa-whatsapp { display: none; }
.whatsapp-float.no-fa .wa-fallback { display: block; }
.wa-label {
  position: absolute; right: 70px; top: 50%; transform: translate(8px, -50%);
  white-space: nowrap; background: #fff; color: var(--navy);
  font-size: 13px; font-weight: 700; padding: 9px 14px;
  box-shadow: 0 8px 24px #0002; opacity: 0; pointer-events: none; transition: .25s;
}
.wa-label::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent; border-right: 0; border-left-color: #fff;
}
.whatsapp-float:hover .wa-label, .whatsapp-float:focus-visible .wa-label { opacity: 1; transform: translate(0, -50%); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .whatsapp-float::before { animation: none; display: none; } }
@media (hover: none) { .wa-label { display: none; } }
.to-top {
  position: fixed; right: 32px; bottom: 94px; width: 38px; height: 38px; z-index: 30;
  background: var(--navy); color: #fff; border: 0; cursor: pointer; font-size: 16px;
  opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--wood); }

/* ---------- 22. Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 23. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .nav { gap: 14px; }
  .nav a { font-size: 12px; }
  .hero-stamp { right: 2%; width: 125px; height: 125px; }
  .about-grid { gap: 40px; }
  .service-layout { gap: 40px; }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; margin-left: auto; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px 5%; box-shadow: 0 12px 18px #0001;
    flex-direction: column; align-items: flex-start; gap: 12px;
  }
  .nav a { font-size: 14px; }
  .nav.open { display: flex; }
  .header-cta { display: none; }
}
@media (max-width: 760px) {
  .topbar-inner { justify-content: center; }
  .topbar-inner > div { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
  .top-sep { padding: 0 3px; }
  .nav-wrap { height: 76px; }
  .brand { font-size: 12px; }
  .brand img { width: 52px; height: 52px; }
  .hero { min-height: 590px; background-position: 72% bottom; }
  .hero-overlay { background: linear-gradient(180deg, rgba(13,26,41,.95) 0%, rgba(13,26,41,.88) 62%, rgba(13,26,41,.62) 100%); }
  .hero-inner { padding: 90px 0 115px; }
  .hero-stamp { display: none; }
  .hero h1, .hero .hero-title { font-size: 46px; }
  .hero-bottom-inner { font-size: 8px; letter-spacing: 1px; }
  .page-hero { padding: 70px 0 64px; }
  .hero-slider, .slides { min-height: 700px; }
  .slide .hero-inner { padding: 48px 0 140px; }
  .slide:not(.slide-light) .hero-copy { padding: 26px 22px 24px; background: rgba(13, 26, 41, .78); }
  .page-hero::before { background: linear-gradient(180deg, rgba(14,31,50,.88) 0%, rgba(14,31,50,.74) 100%); }
  .slide-light { flex-direction: column; justify-content: flex-start; }
  .slide-light .hero-inner { padding: 52px 0 0; }
  .slide-media { position: relative; order: 2; z-index: 0; right: auto; top: auto; transform: none; height: 200px; max-width: 92%; margin: 14px auto 0; }
  .slider-controls { bottom: 62px; }
  .slider-controls .container { justify-content: center; }
  .facts-grid { grid-template-columns: 1fr; gap: 13px; }
  .facts-grid > div { justify-content: flex-start; border-right: 0; border-bottom: 1px solid #c9ad98; padding: 0 0 12px; }
  .facts-grid > div:last-child { border: 0; padding: 0; }
  .section { padding: 68px 0; }
  .about-grid, .service-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-grid.reverse .about-visual { order: 0; }
  .about-visual { margin-right: 12px; }
  .about-visual > img { height: 340px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .product-grid, .card-grid { grid-template-columns: 1fr 1fr; }
  .service-points { gap: 20px; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .process::before { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid > img { height: 210px; }
  .gallery-message { grid-column: 1 / -1; }
  .gallery-full { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
  .gallery-full .gallery-message { grid-column: 1 / -1; }
  .help-strip { grid-template-columns: 1fr; gap: 16px; }
  .contact-cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 60px 16px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 18px; transform: none; }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
}
@media (max-width: 480px) {
  .slider-btn { display: none; }
  .slide-light .button-outline { display: none; }
  .hero h1, .hero .hero-title { font-size: 38px; letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions, .cta-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .button, .cta-actions .button { justify-content: space-between; }
  .hero-bottom-inner span:nth-child(2) { display: none; }
  .page-hero h1 { font-size: 36px; letter-spacing: -1.2px; }
  .page-hero p { font-size: 14px; }
  .product-grid, .card-grid, .card-grid.four, .industry-grid { grid-template-columns: 1fr; }
  .product-image { height: 230px; }
  .process { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid > img { height: 230px; }
  .gallery-message { grid-column: auto; }
  .gallery-full { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.wide { grid-column: auto; }
  .gallery-item.tall { grid-row: auto; }
  .gallery-full .gallery-message { grid-column: auto; }
  .service-points { grid-template-columns: 1fr; }
  .contact-cta h2 { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* =========================================================
   24. SHOP – cart icon, product pages, cart & checkout
   ========================================================= */
.button svg { flex: none; }

/* header cart */
.cart-link {
  position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--navy); transition: .2s;
}
.cart-link:hover { border-color: var(--wood); color: var(--wood); }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--wood); color: #fff;
  font: 800 11px/20px "DM Sans", sans-serif; text-align: center;
}
.cart-count[hidden] { display: none; }

/* toast */
.cart-toast {
  position: fixed; z-index: 60; right: 22px; top: 104px; width: min(360px, calc(100vw - 32px));
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: #fff; border-left: 4px solid var(--green); box-shadow: 0 16px 40px #172c462e;
  opacity: 0; transform: translateY(-10px); transition: .3s;
}
.cart-toast.show { opacity: 1; transform: none; }
.toast-check { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 900; }
.cart-toast div { flex: 1; min-width: 0; }
.cart-toast strong, .cart-toast small { display: block; }
.cart-toast strong { font-size: 13px; color: var(--navy); }
.cart-toast small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-toast a { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--wood); text-transform: uppercase; white-space: nowrap; }

/* product cards: clickable + price + actions */
a.product-image { display: block; }
.product-info h3 a:hover { color: var(--wood); }
.price-line { display: flex; align-items: baseline; gap: 6px; margin: -2px 0 10px; }
.price-line .price, .pd-price .price { font: 800 18px Manrope, sans-serif; color: var(--wood); }
.price-line small, .pd-price small { font-size: 12px; color: var(--muted); }
.card-actions { display: flex; gap: 8px; margin: 0 0 4px; }
.card-actions .button { flex: 1; justify-content: center; padding: 11px 10px; font-size: 12px; }
.card-actions + .product-links { margin-top: 14px; }
.product-info > .card-actions:last-child { margin-top: auto; padding-top: 4px; }
.add-to-cart.added { background: var(--green); }

/* compact page header for shop pages */
.shop-hero { background: var(--cream); padding: 44px 0 38px; border-bottom: 1px solid var(--line); }
.breadcrumb.dark { color: var(--muted); margin-bottom: 14px; }
.breadcrumb.dark a:hover { color: var(--wood); }
.breadcrumb.dark span[aria-current] { color: var(--wood); }
.shop-hero h1 { font: 800 clamp(30px, 4vw, 44px)/1.15 Manrope, sans-serif; letter-spacing: -1.2px; color: var(--navy); margin: 0; }
.shop-hero h1 em { font-style: normal; color: var(--wood); }
.shop-hero p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.shop-section { padding-top: 56px; }

/* product detail */
.pd-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.pd-main { position: relative; background: #fff; border: 1px solid var(--line); aspect-ratio: 3 / 2; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumb { border: 1px solid var(--line); background: #fff; padding: 0; aspect-ratio: 3 / 2; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb:hover, .pd-thumb.is-active { border-color: var(--wood); box-shadow: inset 0 0 0 1px var(--wood); }
.pd-title { font: 800 clamp(28px, 3.4vw, 40px)/1.15 Manrope, sans-serif; letter-spacing: -1px; color: var(--navy); margin: 14px 0 12px; }
.pd-price { display: flex; align-items: baseline; gap: 8px; }
.pd-price .price { font-size: 30px; }
.pd-sub { font-size: 12px; color: var(--muted); margin: 6px 0 18px; }
.pd-desc { font-size: 14px; line-height: 1.85; color: #4b5660; }
.pd-from { font-size: 12.5px; color: #7b5a45; background: #f8efe7; border-left: 3px solid var(--wood); padding: 10px 14px; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 22px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-buy .button { justify-content: center; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line); background: #fff; height: 50px; }
.qty button { width: 44px; border: 0; background: none; font-size: 20px; color: var(--navy); cursor: pointer; }
.qty button:hover { background: var(--cream); color: var(--wood); }
.qty input { width: 62px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font: 700 15px "DM Sans", sans-serif; color: var(--navy); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.small { height: 40px; }
.qty.small button { width: 34px; font-size: 17px; }
.qty.small input { width: 48px; font-size: 14px; }
.pd-points { list-style: none; padding: 0; margin: 0; }
.pd-points li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 13px; padding: 9px 0; color: #4b5660; }
.pd-points b { color: var(--navy); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; padding-top: 2px; }
.pd-points a { color: var(--green); font-weight: 700; }

/* tabs */
.tab-list { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #d9d3cb; margin-bottom: 26px; }
.tab-btn { background: none; border: 0; padding: 14px 20px; font: 800 14px Manrope, sans-serif; color: var(--muted); cursor: pointer; position: relative; }
.tab-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.tab-btn.is-active { color: var(--navy); }
.tab-btn.is-active::after { background: var(--wood); }
.tab-panel { max-width: 820px; font-size: 14px; color: #4b5660; line-height: 1.85; }
.tab-panel h4 { font: 800 15px Manrope, sans-serif; color: var(--navy); margin: 18px 0 4px; }
.spec-table td:first-child { width: 34%; }

/* cart page */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.cart-items { background: #fff; border: 1px solid var(--line); }
.cart-head, .cart-row { display: grid; grid-template-columns: 84px 1fr 120px 130px 120px; gap: 16px; align-items: center; padding: 16px 22px; }
.cart-head { grid-template-columns: 1fr 120px 130px 120px; padding: 14px 22px; border-bottom: 1px solid var(--line); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; color: var(--muted); text-transform: uppercase; }
.cart-head span:first-child { padding-left: 0; }
.cart-row { border-bottom: 1px solid var(--line); }
.cart-thumb { display: block; width: 84px; aspect-ratio: 3 / 2; border: 1px solid var(--line); background: #fff; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name a { font: 800 15px Manrope, sans-serif; color: var(--navy); }
.cart-name a:hover { color: var(--wood); }
.cart-name small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 3px; }
.cart-remove, .cart-clear { background: none; border: 0; padding: 0; margin-top: 6px; font: 700 11px "DM Sans", sans-serif; letter-spacing: .6px; color: #b5503f; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cart-price, .cart-line { font-size: 14px; font-weight: 700; color: var(--navy); }
.cart-price small, .sum-total small { font-weight: 600; color: var(--muted); font-size: 11px; }
.cart-line { color: var(--wood); }
.cart-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.cart-clear { margin: 0; }
.cart-empty { text-align: center; padding: 60px 24px; color: var(--muted); }
.cart-empty svg { color: var(--wood); margin: 0 auto 14px; }
.cart-empty h3 { font: 800 22px Manrope, sans-serif; color: var(--navy); margin-bottom: 6px; }
.cart-empty p { font-size: 14px; margin-bottom: 22px; }
.cart-loading { padding: 40px; text-align: center; color: var(--muted); }

.summary-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--wood); padding: 26px; position: sticky; top: 112px; }
.summary-card h3 { font: 800 19px Manrope, sans-serif; color: var(--navy); margin-bottom: 16px; }
.summary-card.summary-empty { grid-column: 1 / -1; position: static; border-top-width: 1px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 8px 0; color: var(--ink); }
.sum-row.muted { color: var(--muted); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font: 800 18px Manrope, sans-serif; color: var(--navy); }
.summary-note { font-size: 11.5px; color: var(--muted); margin: 12px 0 0; line-height: 1.6; }
.checkout-btn { width: 100%; justify-content: space-between; margin-top: 18px; }
.sum-items { border-bottom: 1px solid var(--line); margin-bottom: 8px; padding-bottom: 8px; }
.sum-item { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.sum-item img { width: 58px; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid var(--line); }
.sum-item strong, .sum-item small { display: block; }
.sum-item strong { font-size: 13px; color: var(--navy); }
.sum-item small { font-size: 11.5px; color: var(--muted); }
.sum-item span { font-size: 13px; font-weight: 700; color: var(--navy); }
.summary-edit { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: var(--green); text-transform: uppercase; }

/* checkout */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.checkout-form { background: #fff; border: 1px solid var(--line); padding: 30px; }
.checkout-form fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.checkout-form legend { display: flex; align-items: center; gap: 10px; font: 800 18px Manrope, sans-serif; color: var(--navy); margin-bottom: 16px; padding: 0; }
.checkout-form legend b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; }
.checkout-form .form-grid { margin-bottom: 14px; }
.checkout-form .form-grid[hidden] { display: none; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.choice-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); cursor: pointer; transition: .2s; }
.choice:hover { border-color: var(--wood-light); }
.choice input { margin: 3px 0 0; accent-color: var(--wood); width: 17px; height: 17px; flex: none; }
.choice strong, .choice small { display: block; }
.choice strong { font-size: 13.5px; color: var(--navy); }
.choice small { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.choice:has(input:checked) { border-color: var(--wood); background: #fdf8f4; box-shadow: inset 0 0 0 1px var(--wood); }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: #4b5660; line-height: 1.6; padding: 14px; background: var(--cream); }
.agree input { margin-top: 3px; accent-color: var(--wood); flex: none; }
.agree.invalid { outline: 2px solid #c8553d; }
.checkout-form .invalid { border-color: #c8553d !important; background: #fff6f4; }
.form-error { margin: 14px 0 0; padding: 12px 14px; background: #fdecea; color: #a23b2a; font-size: 13px; font-weight: 600; border-left: 4px solid #c8553d; }
.place-order { margin-top: 20px; width: 100%; justify-content: space-between; font-size: 15px; padding: 18px 24px; }

/* order success */
.order-success { margin-top: 0; }
.success-card { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); padding: 44px; text-align: center; }
.success-icon { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 32px; font-weight: 900; }
.center-eyebrow { justify-content: center; margin: 0 0 8px; }
.success-card h2 { font: 800 34px Manrope, sans-serif; color: var(--navy); margin: 6px 0 12px; }
.success-card > p { font-size: 14.5px; color: #4b5660; max-width: 620px; margin: 0 auto 22px; line-height: 1.8; }
.success-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; text-align: left; border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 26px; }
.success-grid h4 { font: 800 15px Manrope, sans-serif; color: var(--navy); margin: 0 0 8px; }
.success-grid .ticks { margin: 0; }

@media (max-width: 1080px) {
  .header-cta { display: none; }
}
@media (max-width: 980px) {
  .pd-grid { grid-template-columns: 1fr; gap: 34px; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .choice-grid.three { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .cart-link { margin-left: auto; order: 2; width: 42px; height: 42px; }
  .menu-toggle { margin-left: 8px; order: 3; }
}
@media (max-width: 760px) {
  .cart-head { display: none; }
  .cart-row { grid-template-columns: 76px 1fr; grid-template-areas: "thumb name" "thumb price" "qty line"; row-gap: 8px; padding: 16px; }
  .cart-thumb { grid-area: thumb; width: 76px; align-self: start; }
  .cart-name { grid-area: name; }
  .cart-price { grid-area: price; font-size: 13px; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-line { grid-area: line; justify-self: end; align-self: center; }
  .cart-foot { padding: 16px; }
  .checkout-form { padding: 22px 18px; }
  .success-card { padding: 32px 20px; }
  .success-grid { grid-template-columns: 1fr; }
  .cart-toast { top: auto; bottom: 92px; right: 16px; }
}
@media (max-width: 480px) {
  .choice-grid { grid-template-columns: 1fr; }
  .pd-buy .qty { width: 100%; justify-content: space-between; }
  .pd-buy .qty input { flex: 1; }
  .pd-buy .button { flex: 1; }
  .pd-points li { grid-template-columns: 1fr; gap: 2px; }
  .card-actions { flex-direction: column; }
}


/* =========================================================
   25. COLOUR REFRESH – brick red for actions, extra accent colours
   Navy = structure · Wood = brand · Red = actions & highlights · Green = success
   ========================================================= */
::selection { background: var(--red-soft); color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.topbar { border-top: 3px solid var(--red); }

/* navigation */
.nav a::after { background: var(--red); }
.nav a:hover, .nav a.active { color: var(--red); }

/* primary buttons are red; wood stays for brand accents */
.button { background: var(--red); color: #fff; }
.button:hover { background: var(--navy); color: #fff; }
.button-ghost { background: transparent; }
.button-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.button-light { background: #fff; color: var(--red-dark); }
.button-light:hover { background: var(--navy); color: #fff; }
.button-outline { background: transparent; color: var(--navy); }
.button-outline:hover { background: var(--navy); color: #fff; }
.add-to-cart.added { background: var(--green); }
.text-link:hover { color: var(--red); }

/* stencil-stamp badges */
.img-badge { background: var(--red); box-shadow: inset 0 0 0 4px var(--red), inset 0 0 0 5px #ffffffb3; }
.cart-count { background: var(--red); }
.cart-link:hover { border-color: var(--red); color: var(--red); }

/* page header stripe and section accents */
.page-hero::after { background: linear-gradient(90deg, var(--red) 0 12%, var(--wood) 12% 30%, var(--sand) 30% 100%); }
.facts-grid b { color: var(--red); }
.slide:not(.slide-light) .hero-copy { border-left-color: var(--red); }
.slider-dot.is-active::before, .hero-slider.is-light .slider-dot.is-active::before { background: var(--red); }
.slider-btn:hover { background: var(--red); border-color: var(--red); }

/* cards: rotate three accent colours so sections don't feel uniform */
.card-grid > :nth-child(3n+1) { --accent: var(--wood); }
.card-grid > :nth-child(3n+2) { --accent: var(--red); }
.card-grid > :nth-child(3n) { --accent: var(--green); }
.info-card::before { background: var(--accent, var(--wood)); }
.info-card .num { color: var(--accent, var(--wood)); }
.img-card-media > span { background: var(--accent, var(--wood)); }
.img-card-body { border-top-color: var(--accent, var(--sand)); }
.industry:nth-child(4n+1) b { background: var(--navy); }
.industry:nth-child(4n+2) b { background: var(--red); }
.industry:nth-child(4n+3) b { background: var(--green); }
.industry:nth-child(4n) b { background: var(--wood); }
.step:hover .step-num, .bg-cream .step:hover .step-num { background: var(--red); border-color: var(--red); color: #fff; }
.product-card { border-top: 3px solid var(--line); }
.product-card:hover { border-top-color: var(--red); }
.filter-btn:hover { border-color: var(--red); color: var(--red); }

/* call-to-action band and footer */
.contact-cta { background: linear-gradient(100deg, #8a231c 0%, var(--red) 55%, #c4553b 100%); }
.footer { border-top: 4px solid var(--red); }
.footer-main a:hover { color: #f0a59c; }

/* checkout choices */
.choice input, .agree input { accent-color: var(--red); }
.choice:hover { border-color: #e2a59e; }
.choice:has(input:checked) { border-color: var(--red); background: #fdf6f5; box-shadow: inset 0 0 0 1px var(--red); }
.summary-card { border-top-color: var(--red); }
.checkout-form legend b { background: var(--red); }
.tab-btn.is-active::after { background: var(--red); }
.pd-thumb:hover, .pd-thumb.is-active { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }

/* =========================================================
   26. LANGUAGE SWITCHER
   ========================================================= */
html.i18n-pending body { visibility: hidden; }
.lang-switch { position: relative; flex: none; }
.lang-btn {
  height: 46px; display: inline-flex; align-items: center; gap: 7px; padding: 0 12px;
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  font: 700 13px "DM Sans", sans-serif; cursor: pointer; transition: .2s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--red); color: var(--red); }
.lang-caret { transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 45; min-width: 220px;
  list-style: none; margin: 0; padding: 6px; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--red); box-shadow: 0 18px 40px #172c4626;
}
.lang-menu li:first-child { border-bottom: 1px solid var(--line); margin-bottom: 4px; padding-bottom: 4px; }
.lang-menu button {
  width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 9px 12px; border: 0; background: none; cursor: pointer; text-align: start;
  font: 700 14px "DM Sans", sans-serif; color: var(--navy); border-inline-start: 3px solid transparent;
}
.lang-menu button[lang="ar"] span { font-family: "Cairo", "DM Sans", sans-serif; font-size: 15px; }
.lang-menu button[lang="ur"] span { font-family: "Noto Nastaliq Urdu", "DM Sans", sans-serif; font-size: 15px; line-height: 1.9; }
.lang-menu button small { font-size: 11px; font-weight: 500; color: var(--muted); }
.lang-menu button:hover { background: var(--cream); }
.lang-menu button.is-active { background: var(--red-soft); color: var(--red-dark); border-inline-start-color: var(--red); }

/* =========================================================
   27. PAYMENT DETAILS
   ========================================================= */
.choice strong i { color: var(--red); width: 18px; margin-inline-end: 6px; }
.card-logos { display: flex; gap: 6px; margin-top: 6px; font-size: 22px; font-style: normal; color: var(--navy); }
.pay-details:empty { display: none; }
.pay-panel { background: var(--cream); border-inline-start: 3px solid var(--red); padding: 14px 16px; font-size: 13px; color: #4b5660; line-height: 1.7; }
.pay-panel p, .success-pay p { margin: 0 0 8px; }
.pay-panel > :last-child, .success-pay > :last-child { margin-bottom: 0; }
.bank-box { background: #fff; border: 1px solid var(--line); margin-top: 10px; }
.bank-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.bank-label { color: var(--muted); font-size: 12px; }
.bank-value { font-weight: 800; color: var(--navy); overflow-wrap: anywhere; text-align: left; }
.copy-btn { border: 1px solid var(--line); background: #fff; padding: 5px 11px; font: 700 11px "DM Sans", sans-serif; color: var(--red); cursor: pointer; transition: .2s; }
.copy-btn:hover { border-color: var(--red); }
.copy-btn.copied { background: var(--green); border-color: var(--green); color: #fff; }
.bank-note { margin: 0; padding: 10px 14px; font-size: 12px; color: var(--muted); }
.success-pay { text-align: start; background: var(--cream); border-inline-start: 4px solid var(--red); padding: 20px 22px; margin: 0 0 26px; font-size: 13.5px; color: #4b5660; line-height: 1.75; }
.success-pay h4 { font: 800 15px Manrope, sans-serif; color: var(--navy); margin: 0 0 4px; }
.pay-method { font-weight: 800; color: var(--red-dark); }
.pay-now { margin-top: 14px; }
.success-card > p + p { margin-top: -12px; }

.footer-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid #ffffff20; }
.footer-pay-label { font-size: 12px; font-weight: 800; color: #fff; }
.footer-pay ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-pay li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid #ffffff2b; font-size: 12px; color: #d5dde5; }
.footer-pay i { color: #f0a59c; }
.footer-pay + .footer-bottom { margin-top: 22px; }

@media (max-width: 860px) {
  .lang-switch { order: 1; margin-left: auto; }
  .cart-link { margin-left: 8px; }
  .lang-btn { height: 42px; padding: 0 9px; gap: 5px; }
}
@media (max-width: 480px) {
  .lang-caret { display: none; }
  .lang-menu { right: -50px; }
  .bank-row { grid-template-columns: 1fr auto; }
  .bank-label { grid-column: 1 / -1; margin-bottom: -6px; }
}

/* =========================================================
   28. ARABIC & URDU (right-to-left)
   ========================================================= */
html[dir="rtl"] { --rtl-font: "Cairo", "DM Sans", Tahoma, sans-serif; }
html[lang="ur"] { --rtl-font: "Noto Nastaliq Urdu", "Cairo", "DM Sans", Tahoma, sans-serif; }
html[dir="rtl"] body, html[dir="rtl"] body *:not(i):not([class*="fa-"]):not(.bank-value):not([data-no-i18n]):not([data-no-i18n] *) {
  font-family: var(--rtl-font) !important;
  letter-spacing: 0 !important;
}
html[dir="rtl"] .eyebrow, html[dir="rtl"] .breadcrumb, html[dir="rtl"] .hero-note, html[dir="rtl"] .text-link,
html[dir="rtl"] .hero-bottom-inner, html[dir="rtl"] .footer h4, html[dir="rtl"] .contact-row small,
html[dir="rtl"] .product-info > a, html[dir="rtl"] .product-links a, html[dir="rtl"] .pd-points b,
html[dir="rtl"] .size-table th, html[dir="rtl"] .cart-head { font-size: 12.5px; }
html[dir="rtl"] .brand small, html[dir="rtl"] .footer-brand small { font-size: 11px; }
html[dir="rtl"] .hero h1, html[dir="rtl"] .hero .hero-title { line-height: 1.3; }
html[dir="rtl"] .page-hero h1 { line-height: 1.35; }

/* Urdu Nastaliq needs more vertical room */
html[lang="ur"] body { line-height: 2.05; }
html[lang="ur"] h1, html[lang="ur"] h2, html[lang="ur"] h3, html[lang="ur"] h4, html[lang="ur"] .hero-title,
html[lang="ur"] .block-title, html[lang="ur"] .pd-title, html[lang="ur"] .sum-total { line-height: 1.9 !important; }
html[lang="ur"] .hero h1, html[lang="ur"] .hero .hero-title, html[lang="ur"] .slide .hero-copy h1, html[lang="ur"] .slide .hero-copy .hero-title { font-size: clamp(30px, 3.6vw, 46px); }
html[lang="ur"] .page-hero h1 { font-size: clamp(30px, 3.8vw, 46px); }
html[lang="ur"] .about-copy h2, html[lang="ur"] .section-heading h2, html[lang="ur"] .services-section h2,
html[lang="ur"] .contact-cta h2, html[lang="ur"] .block-title { font-size: clamp(26px, 3.2vw, 36px); }
html[lang="ur"] .button { line-height: 1.9; padding-top: 10px; padding-bottom: 12px; }
html[lang="ur"] .nav { font-size: 14px; }
html[lang="ur"] .site-header .nav-wrap { height: 92px; }

/* mirror direction-dependent details */
html[dir="rtl"] .ticks li { padding: 7px 27px 7px 0; }
html[dir="rtl"] .ticks li::before { left: auto; right: 0; }
html[dir="rtl"] .uses li { padding: 3px 18px 3px 0; }
html[dir="rtl"] .uses li::before { left: auto; right: 0; }
html[dir="rtl"] .tips-card li { padding: 11px 30px 11px 0; }
html[dir="rtl"] .tips-card li b { left: auto; right: 0; }
html[dir="rtl"] .text-link span { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .text-link:hover span { margin-left: 0; margin-right: 13px; }
html[dir="rtl"] .about-visual { padding: 0 25px 25px 0; }
html[dir="rtl"] .about-visual::before { left: auto; right: 0; }
html[dir="rtl"] .image-caption { right: auto; left: -20px; }
html[dir="rtl"] .facts-grid > div { border-right: 0; border-left: 1px solid #c9ad98; }
html[dir="rtl"] .facts-grid > div:last-child { border-left: 0; }
html[dir="rtl"] .faq summary { padding: 20px 0 20px 40px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
html[dir="rtl"] .size-table th { text-align: right; }
html[dir="rtl"] .success-grid { text-align: right; }
html[dir="rtl"] .bank-value { text-align: right; }
html[dir="rtl"] .product-image > span, html[dir="rtl"] .img-card-media > span { left: auto; right: 15px; }
html[dir="rtl"] .img-badge { right: auto; left: 14px; }
html[dir="rtl"] .help-strip { border-left: 1px solid var(--line); border-right: 4px solid var(--wood); }
html[dir="rtl"] .pd-from, html[dir="rtl"] .form-error { border-left: 0; border-right: 3px solid var(--wood); }
html[dir="rtl"] .form-error { border-right-color: #c8553d; border-right-width: 4px; }
html[dir="rtl"] .cart-toast { right: auto; left: 22px; border-left: 0; border-right: 4px solid var(--green); }
html[dir="rtl"] .whatsapp-float { right: auto; left: 22px; }
html[dir="rtl"] .to-top { right: auto; left: 29px; }
html[dir="rtl"] .wa-label { right: auto; left: 70px; transform: translate(-8px, -50%); }
html[dir="rtl"] .whatsapp-float:hover .wa-label { transform: translate(0, -50%); }
html[dir="rtl"] .wa-label::after { right: auto; left: -6px; border-left-color: transparent; border-right: 6px solid #fff; border-left: 0; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .lightbox-close { right: auto; left: 20px; }
html[dir="rtl"] .form-grid select { background-position: left 14px center; padding-right: 13px; padding-left: 36px; }
html[dir="rtl"] input[type="tel"], html[dir="rtl"] input[type="email"] { direction: ltr; text-align: right; }
html[dir="rtl"] a[href^="tel:"], html[dir="rtl"] a[href^="mailto:"] { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .page-hero::before { background: linear-gradient(270deg, rgba(14,31,50,.93) 0%, rgba(14,31,50,.8) 36%, rgba(14,31,50,.32) 60%, rgba(14,31,50,.06) 100%); }
html[dir="rtl"] .page-hero::after { background: linear-gradient(270deg, var(--red) 0 12%, var(--wood) 12% 30%, var(--sand) 30% 100%); }
/* slider: text box sits on the right, so mirror the photos to keep the subject visible */
html[dir="rtl"] .slide:not(.slide-light) .hero-copy { border-left: 0; border-right: 4px solid var(--red); }
html[dir="rtl"] .slide-bg { transform: scale(-1.08, 1.08); }
html[dir="rtl"] .slide.is-active .slide-bg { transform: scale(-1, 1); }
html[dir="rtl"] .slide-media { right: auto; left: 5%; }
html[dir="rtl"] .slide-media img {
  -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 14%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
  mask-image: linear-gradient(270deg, transparent 0, #000 14%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 88%, transparent 100%);
}
@media (max-width: 860px) {
  html[dir="rtl"] .lang-switch { margin-left: 0; margin-right: auto; }
  html[dir="rtl"] .cart-link { margin-left: 0; margin-right: 8px; }
  html[dir="rtl"] .menu-toggle { margin-left: 0; margin-right: 8px; }
}
@media (max-width: 760px) {
  html[dir="rtl"] .page-hero::before { background: linear-gradient(180deg, rgba(14,31,50,.88) 0%, rgba(14,31,50,.74) 100%); }
  html[dir="rtl"] .about-visual { margin-right: 0; margin-left: 12px; }
  html[dir="rtl"] .cart-toast { left: 16px; }
  html[dir="rtl"] .slide-media { left: auto; right: auto; }
}
@media (max-width: 480px) {
  html[dir="rtl"] .lang-menu { left: -50px; }
}

/* compact header on small phones (room for language + cart + menu) */
@media (max-width: 480px) {
  .nav-wrap { gap: 10px; }
  .brand { gap: 7px; font-size: 11px; line-height: 1.15; }
  .brand img { width: 42px; height: 42px; }
  .brand small { font-size: 8px; letter-spacing: 1.6px; white-space: nowrap; }
  .lang-btn { padding: 0 8px; }
  .cart-link { width: 40px; height: 40px; }
  html[dir="rtl"] .brand small { font-size: 10px; }
}
@media (max-width: 360px) {
  .brand > span { max-width: 112px; }
}

/* =========================================================
   29. WORDPRESS
   ========================================================= */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 8px; }
html[dir="rtl"] .skip-link:focus { left: auto; right: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* content written in the WordPress editor */
.entry-content { max-width: 820px; font-size: 15px; line-height: 1.85; color: #3e4954; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: Manrope, sans-serif; color: var(--navy); line-height: 1.3; margin: 1.6em 0 .5em; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { height: auto; }
.entry-content ul, .entry-content ol { padding-inline-start: 22px; }
.entry-content blockquote { margin: 1.4em 0; padding: 6px 22px; border-inline-start: 4px solid var(--red); background: var(--cream); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.entry-content .alignwide { max-width: 1100px; }
.entry-content .aligncenter { margin-left: auto; margin-right: auto; }
.entry-content .wp-block-button__link { background: var(--red); color: #fff; text-decoration: none; border-radius: 0; }
.entry-thumb { margin: 0 0 24px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.post-nav a { color: var(--navy); text-decoration: none; }
.pd-desc p { margin: 0 0 12px; }

/* blog list */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--line); display: flex; flex-direction: column; }
.post-card:hover { border-top-color: var(--red); }
.post-card-img img { width: 100%; height: 210px; object-fit: cover; }
.post-card-body { padding: 22px; }
.post-card-body small { color: var(--muted); font-size: 12px; }
.post-card-body h3 { font: 800 18px Manrope, sans-serif; color: var(--navy); margin: 6px 0 8px; }
.post-card-body p { font-size: 13px; color: var(--muted); }
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links .page-numbers { min-width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--navy); font-weight: 700; padding: 0 10px; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 980px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-list { grid-template-columns: 1fr; } }
