/*
Theme Name: Pak Irbaz Traders
Theme URI: https://pakirbaztraders.com
Author: AdScope
Author URI: https://adscoope.com
Description: Mobile-first theme for Pak Irbaz Traders, an international trading company in Jakarta. Products from Indonesia and Pakistan with spec sheets, WhatsApp quote links and structured data. Ten products with photos are added on activation.
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: pak-irbaz
*/

/* ---------- Tokens (brand guidelines 2026) ---------- */
:root {
	--forest: #003E31;
	--leaf: #62BC26;
	--deep: #113D2E;
	--grass: #4FA123;
	--slate: #4E6257;
	--mist: #CFD9D1;
	--off: #F8FAF5;
	--white: #FFFFFF;
	--tint: #EEF3EC;
	--note: #E9F4E1;
	--font-head: "Montserrat", "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 10px;
	--gutter: clamp(20px, 3vw, 32px);
	--section: clamp(60px, 7vw, 96px);
	--focus: 0 0 0 3px var(--off), 0 0 0 6px var(--leaf);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--off); color: var(--slate); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--forest); line-height: 1.2; margin: 0; }
p { margin: 0; }
address { font-style: normal; }
ul, ol { margin: 0; padding: 0; }
.h3 { font-size: 20px; font-weight: 700; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; left: 12px; top: 12px; z-index: 100; padding: 12px 16px; background: var(--white); color: var(--forest); font-weight: 600; border-radius: 6px; }
.site-main:focus { outline: none; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.stack-sm > * + * { margin-top: 16px; }
.stack-md > * + * { margin-top: 32px; }
.stack-lg > * + * { margin-top: 36px; }

/* ---------- Type pieces ---------- */
.kicker { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--leaf); flex: none; }
.kicker--light { color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.section-title { font-size: clamp(28px, 3vw, 34px); font-weight: 800; }
.section-title--xl { font-size: clamp(30px, 3.4vw, 40px); }
.section-intro { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.section-intro > p { max-width: 30em; }
.note { padding: 16px 20px; border-radius: var(--radius); background: var(--note); color: var(--deep); font-size: 15px; }
.note strong { margin-right: 8px; }
.prose p + p { margin-top: 14px; }
.prose { max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: 8px; font-family: var(--font-body); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; transition: background-color .15s, color .15s; }
.btn--primary { background: var(--leaf); color: var(--forest); }
.btn--primary:hover { background: #57A922; color: var(--forest); }
.btn--outline { border: 1.5px solid var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: var(--white); }
.btn--small { min-height: 44px; padding: 0 16px; font-size: 15px; }
.link-cta { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; color: var(--forest); text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link-quiet { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--slate); }

/* ---------- Header ---------- */
.site-header { background: var(--forest); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding-top: 12px; padding-bottom: 8px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 42px; height: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--white); letter-spacing: .01em; }
.logo__sub { font-family: var(--font-head); font-weight: 700; font-size: 10px; color: var(--leaf); letter-spacing: .42em; margin-top: 5px; }
.custom-logo-link img { max-height: 48px; width: auto; }
.site-nav { order: 3; flex: 1 1 100%; max-width: 100%; overflow-x: auto; border-top: 1px solid rgba(255,255,255,.12); scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav ul, .site-nav__list { list-style: none; display: flex; gap: 2px; padding-top: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--leaf); }
.site-nav li:first-child a { padding-left: 0; }
@media (min-width: 960px) {
	.site-header__inner { flex-wrap: nowrap; padding-bottom: 12px; }
	.site-nav { order: 0; flex: 0 1 auto; border-top: 0; }
	.site-nav ul, .site-nav__list { padding-top: 0; }
	.site-nav li:first-child a { padding-left: 12px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 6vw, 88px) 0 clamp(44px, 5vw, 72px); }
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 48px; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero__title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.12; }
.hero__text { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; max-width: 34em; }
.hero__note { font-size: 14px; }
.hero__note--strong { font-weight: 600; color: var(--deep); }
.hero__grid { flex: 1 1 380px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hero__photo { margin: 0; position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 4px; background: var(--forest); color: var(--white); font-size: 12px; font-weight: 600; }

/* ---------- Facts ---------- */
.facts { background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; padding-top: 22px; padding-bottom: 22px; }
.fact { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.fact .icon { color: var(--forest); flex: none; }
.fact strong { color: var(--forest); font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--tint); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.section--page { padding-top: clamp(40px, 5vw, 72px); }
.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split__intro { flex: 1 1 360px; min-width: 0; }
.split__intro > p:last-of-type { max-width: 30em; }
.split__intro .section-head + p { margin-top: 12px; }

/* ---------- Product groups & cards ---------- */
.group + .group { margin-top: 48px; }
.group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 12px; margin-bottom: 24px; border-bottom: 2px solid var(--leaf); font-size: 14px; }
.group__title { font-size: 22px; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; }
.card__media { display: block; text-decoration: none; aspect-ratio: 4 / 3; background: var(--tint); border-bottom: 1px solid var(--mist); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 180px; font-size: 13px; color: var(--slate); background: var(--tint); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 10px; }
.card__title { font-size: 19px; font-weight: 700; line-height: 1.3; }
.card__title a { color: var(--forest); text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--leaf); }
.card__local { font-size: 14px; margin-top: 2px; }
.card__text { font-size: 15px; line-height: 1.55; }
.card__actions { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; }

.specs { margin: 0; font-size: 14px; line-height: 1.4; }
.specs > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--mist); }
.specs dt { color: var(--slate); }
.specs dd { margin: 0; font-weight: 600; color: var(--deep); text-align: right; }
.specs--table { background: var(--white); border: 1px solid var(--mist); border-top: 3px solid var(--leaf); border-radius: var(--radius); padding: 8px 20px; font-size: 15px; }
.specs--table > div:first-child { border-top: 0; }

/* ---------- Values, band, markets, steps ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.value { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); }
.value .icon { color: var(--forest); }
.value h3 { font-size: 18px; font-weight: 700; }
.value p { font-size: 15px; line-height: 1.55; }

.band { background: var(--forest); color: #DDE8E1; padding: clamp(52px, 6vw, 84px) 0; }
.band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 64px; }
.band__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.band .section-title { color: var(--white); }
.band p:not(.kicker) { font-size: 17px; max-width: 36em; }

.markets { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.markets__group h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 8px 14px; border: 1px solid var(--mist); border-radius: 6px; background: var(--white); font-size: 15px; font-weight: 500; color: var(--deep); }

.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.step { display: flex; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 26px; line-height: 1; color: var(--grass); flex: none; width: 34px; }
.step h3 { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.step p { font-size: 15px; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-card { flex: 1 1 400px; min-width: 0; background: var(--white); border: 1px solid var(--mist); border-top: 3px solid var(--leaf); border-radius: var(--radius); }
.contact-card > div { display: flex; flex-direction: column; gap: 2px; padding: 18px 24px; border-bottom: 1px solid var(--mist); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card span { font-size: 13px; }
.contact-card strong, .contact-card > div > a { color: var(--forest); font-weight: 600; overflow-wrap: anywhere; }
.contact-card p { color: var(--deep); }

/* ---------- Product page ---------- */
.product { padding: 24px 0 var(--section); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 14px; margin-bottom: 24px; }
.crumbs a { color: var(--slate); }
.crumbs [aria-current] { color: var(--deep); font-weight: 600; }
.product__top { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.product__media { flex: 1 1 420px; min-width: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--mist); background: var(--tint); aspect-ratio: 4 / 3; }
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__summary { flex: 1 1 380px; min-width: 0; }
.product__title { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; }
.product__local { font-size: 16px; margin-top: 4px !important; }
.product__lead { font-size: 18px; line-height: 1.55; }
.product__body { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: clamp(40px, 5vw, 64px); }
.product__desc { flex: 1 1 520px; min-width: 0; }
.product__desc .h3 + * { margin-top: 14px; }
.product__desc * + .h3 { margin-top: 32px; }
.product__specs { flex: 1 1 340px; min-width: 0; }
.product__specs .h3 { margin-bottom: 14px; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--grass); flex: none; margin-top: 3px; }
.related { margin-top: clamp(48px, 6vw, 80px); }
.related .h3 { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #DDE8E1; font-size: 14px; padding-bottom: 72px; }
.site-footer a { color: var(--white); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 48px; padding-top: 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.site-footer__list { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 4px; }
.site-footer__contact a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 13px; }
@media (min-width: 768px) { .site-footer { padding-bottom: 28px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 50; width: 56px; height: 56px; border-radius: 28px; background: var(--leaf); color: var(--forest); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0, 62, 49, .3); }
.wa-float:hover { color: var(--forest); background: #57A922; }

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 13px; }
.nav-links { display: flex; gap: 12px; margin-top: 32px; }

@media print {
	.site-header, .site-footer, .wa-float, .btn-row, .band { display: none; }
	body { background: #fff; }
}
