/*
Theme Name: Shikatran
Theme URI: https://shikatransupplies.co.za
Description: Clean, modern catalog theme for Shikatran — quality supplies delivered. Custom-built, responsive, with a product catalog and request-a-quote flow.
Author: Shikatran
Version: 1.1.2
Text Domain: shikatran
*/

/* =========================================================================
   Design tokens
   ====================================================================== */
:root{
	--ink:#0E1726;
	--ink-soft:#4A5667;
	--muted:#6B7A8D;
	--brand:#0E7C66;
	--brand-dark:#0A5F4E;
	--brand-50:#E7F3EF;
	--brand-100:#CDE8E0;
	--accent:#F4A11E;
	--accent-dark:#D6890C;
	--bg:#FFFFFF;
	--surface:#F5F8F7;
	--surface-2:#EEF3F2;
	--line:#E3E9E7;
	--white:#FFFFFF;
	--radius:16px;
	--radius-sm:10px;
	--radius-lg:24px;
	--shadow-sm:0 1px 2px rgba(14,23,38,.06),0 1px 3px rgba(14,23,38,.08);
	--shadow:0 6px 24px -8px rgba(14,23,38,.18);
	--shadow-lg:0 24px 60px -24px rgba(14,23,38,.28);
	--maxw:1180px;
	--gutter:clamp(16px,4vw,32px);
	--font:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

/* =========================================================================
   Reset / base
   ====================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
	margin:0;
	font-family:var(--font);
	color:var(--ink);
	background:var(--bg);
	line-height:1.6;
	font-size:17px;
	-webkit-font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand);text-decoration:none;transition:color .15s ease}
a:hover{color:var(--brand-dark)}
h1,h2,h3,h4{line-height:1.15;margin:0 0 .5em;font-weight:800;letter-spacing:-.02em;color:var(--ink)}
h1{font-size:clamp(2rem,5vw,3.25rem)}
h2{font-size:clamp(1.6rem,3.5vw,2.4rem)}
h3{font-size:1.3rem}
p{margin:0 0 1rem}
ul{margin:0 0 1rem;padding-left:1.2rem}
.container{max-width:var(--maxw);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.section{padding:clamp(48px,8vw,96px) 0}
.section--surface{background:var(--surface)}
.eyebrow{display:inline-block;font-size:.8rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--brand);margin-bottom:14px}
.lead{font-size:1.15rem;color:var(--ink-soft);max-width:60ch}
.center{text-align:center}
.center .lead{margin-left:auto;margin-right:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}

/* =========================================================================
   Buttons
   ====================================================================== */
.btn{
	display:inline-flex;align-items:center;justify-content:center;gap:.55em;
	font-weight:700;font-size:1rem;line-height:1;cursor:pointer;
	padding:15px 26px;border-radius:999px;border:2px solid transparent;
	transition:transform .12s ease,box-shadow .15s ease,background .15s ease,border-color .15s ease,color .15s ease;
	white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn--primary{background:var(--accent);color:#3a2600;border-color:var(--accent)}
.btn--primary:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#2a1c00;box-shadow:var(--shadow)}
.btn--brand{background:var(--brand);color:#fff;border-color:var(--brand)}
.btn--brand:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff;box-shadow:var(--shadow)}
.btn--ghost{background:transparent;color:var(--ink);border-color:var(--line)}
.btn--ghost:hover{border-color:var(--brand);color:var(--brand)}
.btn--white{background:#fff;color:var(--ink);border-color:#fff}
.btn--white:hover{background:var(--brand-50);color:var(--brand-dark);border-color:var(--brand-50)}
.btn--block{width:100%}
.btn--lg{padding:17px 32px;font-size:1.05rem}

/* =========================================================================
   Header
   ====================================================================== */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:saturate(1.6) blur(10px);border-bottom:1px solid var(--line)}
.site-header__bar{display:flex;align-items:center;justify-content:space-between;gap:24px;height:74px}
.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:1.3rem;letter-spacing:-.02em;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand__mark{width:38px;height:38px;flex:0 0 auto}
.brand__name b{color:var(--brand)}
.main-nav{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.main-nav li{list-style:none;margin:0}
.main-nav a{color:var(--ink-soft);font-weight:600;font-size:.98rem;padding:9px 14px;border-radius:10px}
.main-nav a:hover,.main-nav .current-menu-item>a,.main-nav .current_page_item>a{color:var(--brand);background:var(--brand-50)}
.header-actions{display:flex;align-items:center;gap:12px}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:8px;color:var(--ink)}
.nav-toggle svg{width:26px;height:26px}

/* dropdown for product categories */
.menu-item-has-children{position:relative}
.sub-menu{position:absolute;top:100%;left:0;min-width:240px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);padding:8px;display:none;list-style:none;margin:0}
.menu-item-has-children:hover>.sub-menu{display:block}
.sub-menu a{display:block;border-radius:8px}

/* =========================================================================
   Hero
   ====================================================================== */
.hero{position:relative;overflow:hidden;background:
	radial-gradient(1200px 500px at 85% -10%,var(--brand-50),transparent 60%),
	linear-gradient(180deg,#fff,var(--surface))}
.hero__inner{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,5vw,64px);align-items:center;padding:clamp(48px,7vw,88px) 0}
.hero h1{margin-bottom:18px}
.hero .lead{margin-bottom:28px;font-size:1.22rem}
.hero__cta{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:28px}
.hero__trust{display:flex;flex-wrap:wrap;gap:22px;color:var(--muted);font-size:.95rem;font-weight:600}
.hero__trust span{display:inline-flex;align-items:center;gap:8px}
.hero__trust svg{width:20px;height:20px;color:var(--brand)}
.hero__media{position:relative}
.hero__media img{border-radius:var(--radius-lg);box-shadow:var(--shadow-lg);aspect-ratio:4/3;object-fit:cover;width:100%}
.hero__badge{position:absolute;left:-18px;bottom:24px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:16px;padding:14px 18px;display:flex;align-items:center;gap:12px;font-weight:700}
.hero__badge b{display:block;font-size:1.4rem;color:var(--brand);line-height:1}
.hero__badge small{color:var(--muted);font-weight:600}

/* =========================================================================
   Feature strip
   ====================================================================== */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px;box-shadow:var(--shadow-sm)}
.feature__icon{width:48px;height:48px;border-radius:12px;background:var(--brand-50);color:var(--brand);display:grid;place-items:center;margin-bottom:14px}
.feature__icon svg{width:26px;height:26px}
.feature h3{font-size:1.15rem;margin-bottom:6px}
.feature p{color:var(--ink-soft);margin:0;font-size:.98rem}

/* =========================================================================
   Section head
   ====================================================================== */
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:38px;flex-wrap:wrap}
.section-head .lead{margin:6px 0 0}

/* =========================================================================
   Category grid
   ====================================================================== */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.cat-card{position:relative;display:block;border-radius:var(--radius);overflow:hidden;background:var(--ink);box-shadow:var(--shadow-sm);isolation:isolate;aspect-ratio:1/1}
.cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;opacity:.92}
.cat-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(10,20,30,.78));z-index:1}
.cat-card:hover img{transform:scale(1.07)}
.cat-card__label{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:18px;color:#fff;font-weight:700;font-size:1.1rem;display:flex;align-items:center;justify-content:space-between;gap:10px}
.cat-card__label span{background:rgba(255,255,255,.18);border-radius:999px;width:30px;height:30px;display:grid;place-items:center;transition:background .2s,transform .2s}
.cat-card:hover .cat-card__label span{background:var(--accent);transform:translateX(3px)}
.cat-card__label small{display:block;font-weight:600;opacity:.82;font-size:.8rem}

/* =========================================================================
   Product cards
   ====================================================================== */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.product-grid--4{grid-template-columns:repeat(4,1fr)}
.product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow-sm);transition:transform .18s ease,box-shadow .2s ease}
.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.product-card__media{position:relative;aspect-ratio:4/3;background:var(--surface-2);overflow:hidden}
.product-card__media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.product-card:hover .product-card__media img{transform:scale(1.05)}
.product-card__cat{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.95);color:var(--brand-dark);font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:6px 10px;border-radius:999px}
.product-card__body{padding:18px 18px 20px;display:flex;flex-direction:column;flex:1}
.product-card__body h3{font-size:1.1rem;margin:0 0 4px}
.product-card__body h3 a{color:var(--ink)}
.product-card__body h3 a:hover{color:var(--brand)}
.product-card__tagline{color:var(--muted);font-size:.92rem;margin:0 0 16px;flex:1}
.product-card__foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.product-card__price{font-weight:700;color:var(--brand);font-size:.92rem}
.product-card .btn{padding:11px 18px;font-size:.9rem}

/* =========================================================================
   CTA band
   ====================================================================== */
.cta-band{background:linear-gradient(120deg,var(--brand-dark),var(--brand));color:#fff;border-radius:var(--radius-lg);padding:clamp(36px,6vw,64px);text-align:center;box-shadow:var(--shadow-lg)}
.cta-band h2{color:#fff}
.cta-band p{color:rgba(255,255,255,.9);max-width:54ch;margin:0 auto 26px}
.cta-band .btn-row{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* =========================================================================
   Page / archive header
   ====================================================================== */
.page-hero{background:
	radial-gradient(900px 400px at 90% -20%,var(--brand-50),transparent 60%),
	var(--surface);
	padding:clamp(40px,6vw,72px) 0;border-bottom:1px solid var(--line)}
.breadcrumbs{font-size:.88rem;color:var(--muted);margin-bottom:12px}
.breadcrumbs a{color:var(--muted)}
.breadcrumbs a:hover{color:var(--brand)}

/* category chips (filter row) */
.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.chip{border:1px solid var(--line);background:#fff;border-radius:999px;padding:9px 16px;font-weight:600;font-size:.92rem;color:var(--ink-soft)}
.chip:hover{border-color:var(--brand);color:var(--brand)}
.chip--active{background:var(--brand);border-color:var(--brand);color:#fff}
.chip--active:hover{color:#fff}

/* =========================================================================
   Single product
   ====================================================================== */
.product{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,56px);align-items:start}
.product__media img{width:100%;border-radius:var(--radius-lg);box-shadow:var(--shadow);aspect-ratio:4/3;object-fit:cover}
.product__cat{color:var(--brand);font-weight:700;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem;margin-bottom:10px}
.product__title{margin:0 0 8px}
.product__tagline{font-size:1.15rem;color:var(--ink-soft);margin-bottom:20px}
.product__model{display:inline-block;font-size:.85rem;color:var(--muted);background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:5px 12px;margin-bottom:22px}
.product__desc{margin-bottom:26px}
.product__actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:28px}
.product__features{list-style:none;padding:0;margin:0 0 28px;display:grid;gap:10px}
.product__features li{display:flex;gap:10px;align-items:flex-start;color:var(--ink-soft)}
.product__features svg{flex:0 0 auto;width:20px;height:20px;color:var(--brand);margin-top:3px}
.spec-table{width:100%;border-collapse:collapse;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.spec-table th,.spec-table td{text-align:left;padding:13px 18px;border-bottom:1px solid var(--line);font-size:.98rem}
.spec-table tr:last-child th,.spec-table tr:last-child td{border-bottom:0}
.spec-table th{width:42%;background:var(--surface);color:var(--ink);font-weight:700}
.spec-table td{color:var(--ink-soft)}
.product-section-title{font-size:1.3rem;margin:0 0 16px}

/* =========================================================================
   Quote form / modal
   ====================================================================== */
.quote-wrap{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:clamp(22px,4vw,34px)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:6px}
.field--full{grid-column:1/-1}
.field label{font-weight:600;font-size:.9rem;color:var(--ink)}
.field input,.field textarea,.field select{
	font:inherit;font-size:1rem;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);width:100%;
}
.field input:focus,.field textarea:focus,.field select:focus{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--brand-50)}
.field textarea{min-height:120px;resize:vertical}
.hp{position:absolute;left:-9999px}
.notice{border-radius:12px;padding:14px 18px;margin-bottom:20px;font-weight:600}
.notice--ok{background:var(--brand-50);color:var(--brand-dark);border:1px solid var(--brand-100)}
.notice--err{background:#FDECEC;color:#B42318;border:1px solid #F7C1C1}

/* modal */
.sk-modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px;background:rgba(14,23,38,.55);backdrop-filter:blur(3px)}
.sk-modal.is-open{display:flex}
.sk-modal__box{background:#fff;border-radius:var(--radius-lg);max-width:560px;width:100%;max-height:92vh;overflow:auto;box-shadow:var(--shadow-lg);padding:clamp(22px,4vw,34px);position:relative}
.sk-modal__close{position:absolute;top:14px;right:14px;background:var(--surface);border:0;border-radius:999px;width:38px;height:38px;cursor:pointer;font-size:20px;color:var(--ink);display:grid;place-items:center}
.sk-modal__close:hover{background:var(--surface-2)}
.sk-modal h3{margin-bottom:4px}
.sk-modal__sub{color:var(--muted);margin-bottom:20px}

/* =========================================================================
   Footer
   ====================================================================== */
.site-footer{background:var(--ink);color:#C6D0DB;padding:clamp(48px,7vw,80px) 0 28px;margin-top:auto}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px;margin-bottom:44px}
.site-footer h4{color:#fff;font-size:1rem;letter-spacing:.02em;margin-bottom:16px}
.site-footer a{color:#C6D0DB}
.site-footer a:hover{color:#fff}
.footer-brand .brand{color:#fff;margin-bottom:14px}
.footer-brand p{color:#93A1B0;max-width:34ch;font-size:.96rem}
.footer-list{list-style:none;padding:0;margin:0;display:grid;gap:11px;font-size:.96rem}
.footer-contact{list-style:none;padding:0;margin:0;display:grid;gap:12px;font-size:.96rem}
.footer-contact li{display:flex;gap:11px;align-items:flex-start}
.footer-contact svg{width:19px;height:19px;color:var(--brand);flex:0 0 auto;margin-top:2px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:#8697A6;font-size:.88rem}

/* =========================================================================
   Misc
   ====================================================================== */
.empty-state{text-align:center;padding:60px 20px;color:var(--muted)}
.pagination{display:flex;gap:8px;justify-content:center;margin-top:48px;flex-wrap:wrap}
.pagination .page-numbers{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;border:1px solid var(--line);border-radius:10px;color:var(--ink-soft);font-weight:600}
.pagination .current{background:var(--brand);border-color:var(--brand);color:#fff}
.pagination a:hover{border-color:var(--brand);color:var(--brand)}
.prose{max-width:72ch}
.prose h2{margin-top:1.6em}
.prose img{border-radius:var(--radius);margin:1.5em 0}

/* =========================================================================
   Mobile action bar (fixed quick-actions on phones/tablets)
   ====================================================================== */
.mobile-bar{display:none}

/* =========================================================================
   Responsive
   ====================================================================== */
@media (max-width:1024px){
	.cat-grid{grid-template-columns:repeat(2,1fr)}
	.product-grid,.product-grid--4{grid-template-columns:repeat(3,1fr)}
	.footer-grid{grid-template-columns:1fr 1fr;gap:28px}
}

@media (max-width:860px){
	.hero__inner{grid-template-columns:1fr;text-align:left}
	.hero__media{order:-1}
	.hero__badge{left:12px;right:auto;bottom:14px;padding:11px 14px}
	.hero__badge b{font-size:1.2rem}
	.product{grid-template-columns:1fr}
	.features{grid-template-columns:1fr}
	.product-grid,.product-grid--4{grid-template-columns:repeat(2,1fr)}

	/* header → hamburger */
	.main-nav,.header-actions .btn{display:none}
	.nav-toggle{display:inline-flex}
	.mobile-open .main-nav{display:flex;position:absolute;top:74px;left:0;right:0;flex-direction:column;align-items:stretch;background:#fff;border-bottom:1px solid var(--line);padding:10px var(--gutter) 14px;gap:2px;box-shadow:var(--shadow)}
	.mobile-open .main-nav a{padding:14px 12px;border-radius:12px;font-size:1.05rem}
	.mobile-open .main-nav .sub-menu{position:static;display:block;box-shadow:none;border:0;padding:0 0 0 14px;min-width:0}

	.form-grid{grid-template-columns:1fr}

	/* sticky quick-actions bar */
	.mobile-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:8px;
		padding:8px 10px calc(8px + env(safe-area-inset-bottom,0px));
		background:rgba(255,255,255,.97);backdrop-filter:saturate(1.4) blur(10px);
		border-top:1px solid var(--line);box-shadow:0 -8px 24px -14px rgba(14,23,38,.3)}
	.mobile-bar__btn{flex:1;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;
		gap:3px;padding:9px 6px;border-radius:13px;font-weight:700;font-size:.72rem;line-height:1;
		color:var(--ink);background:var(--surface);border:1px solid var(--line)}
	.mobile-bar__btn svg{width:21px;height:21px;color:var(--brand)}
	.mobile-bar__btn:active{transform:translateY(1px)}
	.mobile-bar__btn--primary{flex:1.5;background:var(--accent);border-color:var(--accent);color:#3a2600}
	.mobile-bar__btn--primary svg{color:#3a2600}
	body{padding-bottom:72px}
}

@media (max-width:600px){
	body{font-size:16px;overflow-x:hidden}
	h1{font-size:clamp(1.8rem,7vw,2.4rem)}
	.cat-grid{grid-template-columns:1fr 1fr;gap:12px}
	.cat-card__label{padding:13px;font-size:.98rem}

	/* edge-to-edge horizontally scrolling category chips */
	.chips{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;
		margin-left:calc(var(--gutter)*-1);margin-right:calc(var(--gutter)*-1);
		padding:4px var(--gutter) 2px;scrollbar-width:none}
	.chips::-webkit-scrollbar{display:none}
	.chip{flex:0 0 auto;scroll-snap-align:start}

	/* compact 2-up product grid */
	.product-grid,.product-grid--4{grid-template-columns:1fr 1fr;gap:13px}
	.product-card__body{padding:12px 12px 14px}
	.product-card__body h3{font-size:.96rem;line-height:1.25;margin-bottom:3px}
	.product-card__tagline{font-size:.8rem;margin-bottom:11px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
	.product-card__foot{flex-direction:column;align-items:stretch;gap:9px}
	.product-card__price{font-size:.82rem}
	.product-card .btn{width:100%;padding:10px 12px;font-size:.82rem}
	.product-card__cat{font-size:.62rem;padding:4px 8px;top:8px;left:8px}

	/* single product: full-width stacked actions */
	.product__actions{flex-direction:column}
	.product__actions .btn{width:100%}
	.product__tagline{font-size:1.05rem}

	.footer-grid{grid-template-columns:1fr;text-align:left}
	.section-head{flex-direction:column;align-items:flex-start}
	.cta-band .btn-row{flex-direction:column}
	.cta-band .btn-row .btn{width:100%}
}

@media (max-width:380px){
	.product-grid,.product-grid--4{grid-template-columns:1fr}
	.cat-grid{grid-template-columns:1fr}
	.mobile-bar__btn{font-size:.68rem}
}

/* =========================================================================
   Mobile polish pass (v1.1.2) — tighter header, lighter hero, stacked CTAs
   ====================================================================== */
html{overflow-x:clip}

@media (max-width:860px){
	.site-header__bar{height:62px}
	.brand{font-size:1.15rem}
	.brand__mark{width:34px;height:34px}
	.mobile-open .main-nav{top:62px}
	.hero{background:linear-gradient(180deg,#fff,var(--surface))}
	.hero__inner{padding:28px 0 34px}
	.hero__media img{aspect-ratio:16/11;max-height:300px}
	.hero__badge{left:12px;bottom:12px}
	.section{padding:46px 0}
	.section-head{margin-bottom:26px}
	.section-head .btn{align-self:flex-start}
	.cta-band{padding:34px 22px}
}

@media (max-width:600px){
	.hero__copy .eyebrow{margin-bottom:10px}
	.hero h1{margin-bottom:12px}
	.hero .lead{font-size:1.05rem;margin-bottom:22px}
	.hero__cta{flex-direction:column;align-items:stretch;gap:10px}
	.hero__cta .btn{width:100%}
	.hero__trust{gap:10px 16px;font-size:.84rem}
	.feature{padding:20px}
	.cat-card__label small{font-size:.74rem}
}
