/* base.css: generated from style.css by the CSS split (r26). style.css is the source; regenerate, do not hand-edit. */
/*!
Theme Name: daniyal
Theme URI: http://underscores.me/
Author: Daniyal
Description: A custom UC uniform theme designed and developed by Daniyal, a performance marketer.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: daniyal
*/

/* ==========================================================================
   Underscores base normalize + base styles (kept from original)
   ========================================================================== */
a { background-color: transparent; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
[hidden] { display: none; }

body, button, input, select, optgroup, textarea {
	color: #404040;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

/* Accessibility */
.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;
}
.screen-reader-text:focus {
	background-color: #f1f1f1; border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
	clip: auto !important; clip-path: none; color: #21759b;
	display: block; font-size: 0.875rem; font-weight: 700;
	height: auto; left: 5px; padding: 15px 23px 14px;
	text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

/* ==========================================================================
   UC Uniform — Header
   Original design. Brand colours: deep navy + warm gold accent.
   ========================================================================== */

:root {
	--uc-primary:      #15355f;   /* Deep navy — brand primary       */
	--uc-primary-dark: #0d2444;   /* Top bar background              */
	--uc-accent:       #d99221;   /* Warm gold — CTA + highlights    */
	--uc-accent-dark:  #b67611;   /* Hover state for gold            */
	--uc-ink:          #1f2937;   /* Body text / nav links           */
	--uc-muted:        #6b7280;   /* Tagline / muted text            */
	--uc-line:         #eef0f4;   /* Light separators                */
	--uc-white:        #ffffff;
	--uc-text-light:   #cfd8e3;
	--uc-radius:       8px;
	--uc-radius-sm:    6px;
	--uc-shadow:       0 1px 0 rgba(15,36,68,0.06), 0 6px 24px rgba(15,36,68,0.06);

	--uc-font-main:    'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--uc-font-brand:   'Barlow', 'Inter', sans-serif;

	--uc-header-h:     82px;
	--uc-topbar-h:     40px;
	--uc-maxw:         1280px;
}

/* ---- Reset scope inside header ---- */
.top-bar *, .site-header *, .mobile-nav-drawer * { box-sizing: border-box; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
	background: var(--uc-primary-dark);
	height: var(--uc-topbar-h);
	width: 100%;
	z-index: 999;
	color: var(--uc-text-light);
	font-family: var(--uc-font-main);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.top-bar-left span,
.top-bar-right a {
	color: var(--uc-text-light);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	transition: color 0.18s ease;
}

.top-bar-right a:hover,
.top-bar-right a:focus { color: var(--uc-accent); }
.top-bar-right a:visited { color: var(--uc-text-light); }
.top-bar-right a:visited:hover { color: var(--uc-accent); }

/* WhatsApp pill */

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */

/* ---- Branding / logo lockup ---- */
.site-branding { flex-shrink: 0; }

.site-branding .custom-logo-link { display: inline-block; line-height: 1; }
.site-branding .custom-logo { height: 54px; width: auto; display: block; }

/* Fallback lockup when no custom logo is uploaded */

.brand-mark-inner {
	color: var(--uc-white);
	font-family: var(--uc-font-brand);
	font-weight: 800;
	font-size: 1.05rem;
	letter-spacing: 0.04em;
	line-height: 1;
	position: relative;
	z-index: 1;
}

.site-title, p.site-title, h1.site-title {
	margin: 0; padding: 0;
	font-family: var(--uc-font-brand);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--uc-primary);
	line-height: 1.05;
}
.site-title a {
	color: var(--uc-primary);
	text-decoration: none;
	font-family: inherit;
	font-weight: inherit;
}
.site-title a:hover { color: var(--uc-accent); }
.site-title a:visited { color: var(--uc-primary); }

.site-description {
	margin: 3px 0 0;
	padding: 0;
	font-size: 0.7rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--uc-muted);
	font-family: var(--uc-font-main);
}

/* ==========================================================================
   DESKTOP NAVIGATION
   ========================================================================== */
.main-navigation {
	display: flex;
	align-items: center;
	flex: 1;
	justify-content: center;
	width: auto;
}

.main-navigation ul#primary-menu,
.main-navigation > ul {
	display: flex;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation ul#primary-menu > li,
.main-navigation > ul > li { position: relative; }

.main-navigation ul#primary-menu > li > a,
.main-navigation > ul > li > a {
	position: relative;
	display: inline-block;
	color: var(--uc-ink);
	font-family: var(--uc-font-main);
	font-size: 0.875rem;
	font-weight: 600;
	padding: 10px 14px;
	border-radius: var(--uc-radius-sm);
	text-decoration: none;
	letter-spacing: 0.005em;
	transition: color 0.18s ease, background 0.18s ease;
	white-space: nowrap;
}

/* Subtle underline on hover (original styling — not a copy of any brand) */
.main-navigation ul#primary-menu > li > a::after,
.main-navigation > ul > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 2px;
	background: var(--uc-accent);
	border-radius: 2px;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.22s ease;
}

.main-navigation ul#primary-menu > li > a:hover,
.main-navigation ul#primary-menu > li > a:focus,
.main-navigation > ul > li > a:hover,
.main-navigation > ul > li > a:focus {
	color: var(--uc-primary);
	outline: none;
}
.main-navigation ul#primary-menu > li > a:hover::after,
.main-navigation ul#primary-menu > li > a:focus::after,
.main-navigation > ul > li > a:hover::after,
.main-navigation > ul > li > a:focus::after {
	transform: scaleX(1);
}

.main-navigation ul#primary-menu > li.current-menu-item > a,
.main-navigation ul#primary-menu > li.current_page_item > a,
.main-navigation > ul > li.current-menu-item > a {
	color: var(--uc-primary);
	font-weight: 700;
}
.main-navigation ul#primary-menu > li.current-menu-item > a::after,
.main-navigation > ul > li.current-menu-item > a::after {
	transform: scaleX(1);
}

/* Dropdown submenu */
.main-navigation ul ul {
	display: none;
	background: var(--uc-white);
	box-shadow: 0 12px 28px rgba(15,36,68,0.14);
	border-radius: var(--uc-radius);
	border-top: 3px solid var(--uc-accent);
	min-width: 220px;
	padding: 8px 0;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 9999;
	list-style: none;
	margin: 0;
}
.main-navigation li:hover > ul,
.main-navigation li.focus > ul { display: block; }

.main-navigation ul ul a {
	display: block;
	color: var(--uc-ink);
	font-size: 0.86rem;
	font-weight: 500;
	padding: 10px 18px;
	text-decoration: none;
}
.main-navigation ul ul a:hover {
	color: var(--uc-primary);
	background: rgba(21,53,95,0.05);
}


/* ==========================================================================
   NESTED SUBMENU — child categories fly out to the RIGHT of parent
   (e.g. "Basketball Jerseys" appears beside "Sports & Fitness Uniform")
   ========================================================================== */

/* Each item inside a dropdown needs to anchor its own child submenu */
.main-navigation ul ul li {
	position: relative;
}

/* The 3rd-level menu sits to the right of its parent <li>, not below */
.main-navigation ul ul ul {
	display: none;
	top: -8px;            /* aligns with the parent row */
	left: 100%;           /* push it out to the right edge */
	margin-left: 2px;
	min-width: 220px;
	background: var(--uc-white);
	box-shadow: 0 12px 28px rgba(15,36,68,0.14);
	border-radius: var(--uc-radius);
	border-top: 3px solid var(--uc-accent);
	padding: 8px 0;
	position: absolute;
	z-index: 10000;
	list-style: none;
}

/* Reveal it on hover/focus of the parent item */
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
}

/* Little chevron so users know there's more inside */
.main-navigation ul ul li.menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.main-navigation ul ul li.menu-item-has-children > a::after {
	content: "›";
	font-size: 1.15rem;
	line-height: 1;
	color: var(--uc-muted);
	transition: color 0.18s ease, transform 0.18s ease;
}
.main-navigation ul ul li.menu-item-has-children:hover > a::after {
	color: var(--uc-accent);
	transform: translateX(2px);
}

/* ---- Mobile drawer: keep nested items indented (no flyout on mobile) ---- */

/* ==========================================================================
   FIX: dropdown hover gap
   - removes the dead zone between menu row and dropdown
   - adds invisible "hover bridges" so the cursor can travel freely
   ========================================================================== */

/* 1) Main dropdown sits flush against the menu row — no visible gap.
      The visual breathing room is moved INSIDE the panel as padding,
      so the hover-reachable area is one continuous shape. */
.main-navigation ul#primary-menu > li > ul,
.main-navigation > ul > li > ul {
	top: 100%;
	margin-top: 0;
	padding-top: 14px;
	background-clip: padding-box;
}

/* 2) Invisible bridge underneath every top-level item.
      Catches quick diagonal mouse moves toward the dropdown. */
.main-navigation ul#primary-menu > li::before,
.main-navigation > ul > li::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	height: 14px;
	background: transparent;
	pointer-events: auto;
	z-index: 1;
}

/* 3) Same fix for the side flyout (3rd-level submenu).
      Remove the 2px gap so cursor can slide across into it. */
.main-navigation ul ul ul {
	margin-left: 0;
	left: 100%;
	padding-left: 4px;
	background-clip: padding-box;
}

/* 4) Vertical bridge between a submenu item and its right-side flyout. */
.main-navigation ul ul li::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 100%;
	width: 6px;
	background: transparent;
	pointer-events: auto;
	z-index: 1;
}

/* 5) Make sure list items themselves can host these bridges */
.main-navigation ul#primary-menu > li,
.main-navigation > ul > li,
.main-navigation ul ul li {
	position: relative;
}

/* ==========================================================================
   HEADER ACTIONS — CTA + Hamburger
   ========================================================================== */

.header-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--uc-accent);
	color: var(--uc-white) !important;
	font-family: var(--uc-font-main);
	font-size: 0.86rem;
	font-weight: 700;
	padding: 11px 22px;
	border-radius: var(--uc-radius-sm);
	text-decoration: none !important;
	letter-spacing: 0.02em;
	box-shadow: 0 4px 12px rgba(217,146,33,0.32);
	transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
	white-space: nowrap;
}
.header-cta-btn i { font-size: 0.82rem; }
.header-cta-btn:hover {
	background: var(--uc-accent-dark);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(217,146,33,0.42);
	color: var(--uc-white) !important;
}
.header-cta-btn:visited { color: var(--uc-white) !important; }

/* Hamburger */
.menu-toggle {
	display: none;
	background: var(--uc-white);
	border: 1.5px solid var(--uc-primary);
	border-radius: var(--uc-radius-sm);
	cursor: pointer;
	padding: 0;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	transition: background 0.2s, border-color 0.2s;
}
.menu-toggle:hover { background: var(--uc-primary); }
.hamburger-icon span {
	display: block; width: 100%; height: 2px;
	background: var(--uc-primary); border-radius: 2px;
	transition: background 0.2s, transform 0.2s;
}
.menu-toggle:hover .hamburger-icon span { background: var(--uc-white); }

/* ==========================================================================
   MOBILE OVERLAY + DRAWER
   ========================================================================== */
.mobile-menu-overlay {
	display: none;
	position: fixed; inset: 0;
	background: rgba(13,36,68,0.55);
	z-index: 1099;
	backdrop-filter: blur(3px);
	-webkit-backdrop-filter: blur(3px);
}
.mobile-menu-overlay.is-active { display: block; }

.mobile-nav-drawer {
	position: fixed;
	top: 0;
	right: -340px;
	width: 320px;
	max-width: 92vw;
	height: 100vh;
	background: var(--uc-white);
	z-index: 1100;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	transition: right 0.32s cubic-bezier(0.4,0,0.2,1);
	box-shadow: -6px 0 28px rgba(15,36,68,0.18);
}
.mobile-nav-drawer.is-open { right: 0; }

.mobile-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
	background: var(--uc-primary);
	border-bottom: 3px solid var(--uc-accent);
}
.mobile-brand {
	color: var(--uc-white);
	font-family: var(--uc-font-brand);
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0.005em;
}
.mobile-close-btn {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.25);
	color: var(--uc-white);
	font-size: 1rem;
	cursor: pointer;
	width: 34px; height: 34px;
	border-radius: var(--uc-radius-sm);
	transition: background 0.2s;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.mobile-close-btn:hover { background: rgba(255,255,255,0.14); }

.mobile-nav-drawer ul#mobile-primary-menu,
.mobile-nav-drawer > ul {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	flex: 1;
}
.mobile-nav-drawer ul#mobile-primary-menu > li,
.mobile-nav-drawer > ul > li {
	border-bottom: 1px solid var(--uc-line);
}
.mobile-nav-drawer ul#mobile-primary-menu > li > a,
.mobile-nav-drawer > ul > li > a {
	display: block;
	color: var(--uc-ink);
	font-family: var(--uc-font-main);
	font-size: 0.95rem;
	font-weight: 600;
	padding: 15px 22px;
	text-decoration: none;
	transition: color 0.2s, background 0.2s;
}
.mobile-nav-drawer ul#mobile-primary-menu > li > a:hover,
.mobile-nav-drawer ul#mobile-primary-menu > li.current-menu-item > a {
	color: var(--uc-primary);
	background: rgba(21,53,95,0.05);
	border-left: 3px solid var(--uc-accent);
	padding-left: 19px;
}

.mobile-nav-drawer ul ul {
	list-style: none;
	margin: 0;
	padding: 0;
	background: #f7f8fa;
}
.mobile-nav-drawer ul ul a {
	display: block;
	padding: 11px 22px 11px 38px;
	font-size: 0.86rem;
	color: #555;
	text-decoration: none;
}

.mobile-drawer-footer {
	padding: 20px;
	border-top: 1px solid var(--uc-line);
	display: flex;
	flex-direction: column;
	gap: 12px;
	background: #f7f8fa;
}
.mobile-drawer-footer a {
	color: var(--uc-ink);
	font-family: var(--uc-font-main);
	font-size: 0.86rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.mobile-drawer-footer a i { color: var(--uc-primary); width: 16px; text-align: center; }
.mobile-drawer-footer a:visited { color: var(--uc-ink); }

.mobile-cta-btn {
	display: block !important;
	text-align: center;
	background: var(--uc-accent) !important;
	color: var(--uc-white) !important;
	font-weight: 700 !important;
	padding: 13px !important;
	border-radius: var(--uc-radius-sm);
	margin-top: 6px;
	text-decoration: none !important;
}
.mobile-cta-btn:hover { background: var(--uc-accent-dark) !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media screen and (max-width: 1024px) {
	.main-navigation ul#primary-menu > li > a,
	.main-navigation > ul > li > a { padding: 10px 10px; font-size: 0.83rem; }
}

@media screen and (max-width: 600px) {
	.header-cta-btn { display: inline-flex !important; padding: 8px 14px; font-size: 0.78rem; }
	.brand-mark { width: 42px; height: 42px; }
	.brand-mark-inner { font-size: 0.95rem; }
	.site-title { font-size: 1.15rem; }
	.site-description { font-size: 0.65rem; }
}

@media screen and (max-width: 400px) {
	.header-inner { padding: 0 14px; }
	.brand-text { display: none; }
}


/* ==========================================================================
   UC Uniform — FOOTER
   Prefix: uc-foot   (namespaced so it never collides with theme styles)
   Palette matches the header: deep navy + warm gold accent.
   ========================================================================== */

.uc-foot {
	background: var(--uc-primary-dark, #0d2444);
	color: #aab6c5;
	font-family: var(--uc-font-main, 'Inter', sans-serif);
	position: relative;
	border-top: 4px solid var(--uc-accent, #d99221);
}

/* subtle texture line at the very top */
.uc-foot::before {
	content: "";
	position: absolute;
	top: -4px; left: 0; right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--uc-accent,#d99221) 0%, #f0b04a 50%, var(--uc-accent,#d99221) 100%);
}

.uc-foot__main { padding: 4.5rem 0 3rem; }

.uc-foot__container {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* ── Brand column ── */
.uc-foot__brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	background: var(--uc-primary, #15355f);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: var(--uc-radius-sm, 6px);
	position: relative;
	overflow: hidden;
	flex-shrink: 0;
}
.uc-foot__brand-mark::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 5px;
	background: var(--uc-accent, #d99221);
}
.uc-foot__brand-mark span {
	color: #fff;
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-weight: 800;
	font-size: 1rem;
	letter-spacing: 0.04em;
	position: relative;
	z-index: 1;
}
.uc-foot__brand-name strong {
	color: #fff;
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.01em;
}
.uc-foot__brand-name em {
	color: var(--uc-accent, #d99221);
	font-style: normal;
	font-size: 0.7rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	margin-top: 4px;
}
.uc-foot__brand .custom-logo {
	max-height: 52px;
	width: auto;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}

/* ── Social icons ── */
.uc-foot__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	border-radius: var(--uc-radius-sm, 6px);
	background: rgba(255,255,255,0.04);
	color: #aab6c5;
	border: 1px solid rgba(255,255,255,0.08);
	text-decoration: none;
	transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.uc-foot__social a:hover {
	background: var(--uc-accent, #d99221);
	color: #fff;
	border-color: var(--uc-accent, #d99221);
	transform: translateY(-2px);
}
.uc-foot__social a:visited { color: #aab6c5; }
.uc-foot__social a:visited:hover { color: #fff; }

/* ── Column titles ── */
.uc-foot__col-title {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 1.25rem;
	position: relative;
	padding-bottom: 0.7rem;
}
.uc-foot__col-title::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 28px; height: 2px;
	background: var(--uc-accent, #d99221);
	border-radius: 2px;
}

/* ── Links lists ── */
.uc-foot__links a {
	font-size: 0.88rem;
	color: #8b97a8;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color .18s ease, padding-left .18s ease;
}
.uc-foot__links a::before {
	content: "";
	display: inline-block;
	width: 0;
	height: 1.5px;
	background: var(--uc-accent, #d99221);
	transition: width .2s ease;
}
.uc-foot__links a:hover::before { width: 12px; }
.uc-foot__links a:visited { color: #8b97a8; }
.uc-foot__links a:visited:hover { color: #fff; }

/* ── Contact list ── */
.uc-foot__contact svg {
	color: var(--uc-accent, #d99221);
	flex-shrink: 0;
	margin-top: 3px;
}
.uc-foot__contact a {
	color: #8b97a8;
	text-decoration: none;
	transition: color .18s ease;
}
.uc-foot__contact a:visited { color: #8b97a8; }
.uc-foot__contact address { font-style: normal; }

/* ── Bottom bar ── */

.uc-foot__legal a {
	font-size: 0.8125rem;
	color: #6c7888;
	text-decoration: none;
	transition: color .18s ease;
}
.uc-foot__legal a:visited { color: #6c7888; }

/* ── WhatsApp floating button ── */
.uc-foot__whatsapp-float {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #25d366;
	color: #fff !important;
	padding: 13px 20px;
	border-radius: 999px;
	font-family: var(--uc-font-main, 'Inter', sans-serif);
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(37,211,102,0.38);
	transition: background .22s, transform .22s, box-shadow .22s;
}
.uc-foot__whatsapp-float:hover {
	background: #1ebe5c;
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(37,211,102,0.5);
}
.uc-foot__whatsapp-float:visited { color: #fff !important; }
.uc-foot__whatsapp-float i { font-size: 1.25rem; flex-shrink: 0; }

/* ── Responsive ── */
@media (max-width: 640px) {
	.uc-foot__main { padding: 3.5rem 0 2.25rem; }
	.uc-foot__tagline { max-width: 100%; }
	.uc-foot__legal { justify-content: center; flex-wrap: wrap; }
	.uc-foot__whatsapp-float {
		padding: 14px;
		border-radius: 50%;
		bottom: 1rem; right: 1rem;
	}
	.uc-foot__whatsapp-float span { display: none; }
}

/* WhatsApp button variant (the rest of .uc-btn classes already exist in your CSS) */
.uc-btn--wa:hover { background: #1ebe5c; color: #fff !important; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.42); }


/* Mobile drawer — submenu accordion */
.mobile-nav-drawer ul ul { display: none !important; }
.mobile-nav-drawer li.uc-open > ul { display: block !important; }
.mobile-nav-drawer li.menu-item-has-children > a {
    display: flex; align-items: center; justify-content: space-between;
}
.mobile-nav-drawer li.menu-item-has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.72rem;
    color: var(--uc-accent);
    transition: transform 0.22s ease;
    flex-shrink: 0;
    margin-left: 10px;
}
.mobile-nav-drawer li.menu-item-has-children.uc-open > a::after {
    transform: rotate(-180deg);
}


/* ==========================================================================
   UC Uniform — Theme base (trimmed for the Embroidery demo page)
   Includes only the tokens, header, footer, and shared button utilities
   needed by the Embroidery page. The full theme CSS already lives in
   your WordPress theme — this is for the standalone preview.
   ========================================================================== */

html { line-height: 1.15; -webkit-text-size-adjust: 100%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; background: #fff; }
main { display: block; }
img { border-style: none; height: auto; max-width: 100%; }

body {
	color: #404040;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

/* ---- TOP BAR ---- */
.top-bar { background: var(--uc-primary-dark); height: var(--uc-topbar-h); width: 100%; color: var(--uc-text-light); border-bottom: 1px solid rgba(255,255,255,0.06); }
.top-bar-container { max-width: var(--uc-maxw); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 22px; }
.top-bar-left span, .top-bar-right a { color: var(--uc-text-light); font-size: 0.78rem; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color 0.18s ease; }
.top-bar-left span i, .top-bar-right a i { color: var(--uc-accent); font-size: 0.78rem; }
.top-bar-right a:hover { color: var(--uc-accent); }
.whatsapp-link { background: #25d366; color: var(--uc-white) !important; padding: 4px 12px; border-radius: 999px; font-weight: 600 !important; font-size: 0.76rem !important; }
.whatsapp-link i { color: var(--uc-white) !important; }
.whatsapp-link:hover { background: #1ebe5c; color: var(--uc-white) !important; }

/* ---- HEADER ---- */
.site-header { background: var(--uc-white); height: var(--uc-header-h); box-shadow: var(--uc-shadow); position: sticky; top: 0; z-index: 998; border-bottom: 1px solid var(--uc-line); }
.header-inner { max-width: var(--uc-maxw); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: var(--uc-primary); border-radius: var(--uc-radius-sm); position: relative; overflow: hidden; flex-shrink: 0; }
.brand-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--uc-accent); }
.brand-mark-inner { color: var(--uc-white); font-family: var(--uc-font-brand); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.04em; position: relative; z-index: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.site-title { margin: 0; font-family: var(--uc-font-brand); font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; color: var(--uc-primary); line-height: 1.05; }
.site-title a { color: var(--uc-primary); text-decoration: none; }
.site-description { margin: 3px 0 0; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--uc-muted); }
.main-navigation { display: flex; align-items: center; flex: 1; justify-content: center; }
.main-navigation > ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.main-navigation > ul > li { position: relative; }
.main-navigation > ul > li > a { position: relative; display: inline-block; color: var(--uc-ink); font-size: 0.875rem; font-weight: 600; padding: 10px 14px; border-radius: var(--uc-radius-sm); text-decoration: none; transition: color 0.18s ease; }
.main-navigation > ul > li.current-menu-item > a { color: var(--uc-primary); font-weight: 700; }
.main-navigation > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; background: var(--uc-accent); border-radius: 2px; transform: scaleX(0); transform-origin: left center; transition: transform 0.22s ease; }
.main-navigation > ul > li > a:hover::after, .main-navigation > ul > li.current-menu-item > a::after { transform: scaleX(1); }
.main-navigation > ul > li > a:hover { color: var(--uc-primary); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--uc-accent); color: var(--uc-white) !important; font-size: 0.86rem; font-weight: 700; padding: 11px 22px; border-radius: var(--uc-radius-sm); text-decoration: none; letter-spacing: 0.02em; box-shadow: 0 4px 12px rgba(217,146,33,0.32); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; white-space: nowrap; }
.header-cta-btn:hover { background: var(--uc-accent-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(217,146,33,0.42); }
.menu-toggle { display: none; background: var(--uc-white); border: 1.5px solid var(--uc-primary); border-radius: var(--uc-radius-sm); cursor: pointer; padding: 0; width: 44px; height: 44px; align-items: center; justify-content: center; }
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger-icon span { display: block; width: 100%; height: 2px; background: var(--uc-primary); border-radius: 2px; }

@media screen and (max-width: 960px) {
	.main-navigation { display: none; }
	.menu-toggle { display: inline-flex; }
	.top-bar-left { display: none; }
	.top-bar-right { margin-left: auto; }
}
@media screen and (max-width: 600px) {
	.top-bar { display: none; }
	:root { --uc-header-h: 72px; }
}

/* ---- Shared button utilities (used everywhere) ---- */
.uc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: var(--uc-radius-sm); font-weight: 700; font-size: 0.92rem; text-decoration: none; letter-spacing: 0.01em; transition: background .2s, transform .15s, box-shadow .2s, color .2s; border: 1.5px solid transparent; cursor: pointer; font-family: var(--uc-font-main); }
.uc-btn--primary { background: var(--uc-accent); color: #fff !important; box-shadow: 0 4px 14px rgba(217,146,33,0.35); }
.uc-btn--primary:hover { background: var(--uc-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,146,33,0.45); }
.uc-btn--ghost { background: #fff; color: var(--uc-primary) !important; border-color: var(--uc-primary); }
.uc-btn--ghost:hover { background: var(--uc-primary); color: #fff !important; }
.uc-btn--wa { background: #25d366; color: #fff !important; box-shadow: 0 4px 14px rgba(37,211,102,0.35); }
.uc-btn--wa:hover { background: #1ebe5c; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,0.42); }

/* ==========================================================================
   FOOTER  (uc-foot)
   ========================================================================== */
.uc-foot { background: var(--uc-primary-dark); color: #aab6c5; font-family: var(--uc-font-main); position: relative; border-top: 4px solid var(--uc-accent); }
.uc-foot__main { padding: 4rem 0 2.5rem; }
.uc-foot__container { width: 100%; max-width: var(--uc-maxw); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2rem); }
.uc-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 3rem; }
.uc-foot__brand-lockup { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1.1rem; text-decoration: none; }
.uc-foot__brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--uc-primary); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--uc-radius-sm); position: relative; overflow: hidden; }
.uc-foot__brand-mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--uc-accent); }
.uc-foot__brand-mark span { color: #fff; font-family: var(--uc-font-brand); font-weight: 800; font-size: 1rem; letter-spacing: 0.04em; position: relative; z-index: 1; }
.uc-foot__brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.uc-foot__brand-name strong { color: #fff; font-family: var(--uc-font-brand); font-size: 1.25rem; font-weight: 800; }
.uc-foot__brand-name em { color: var(--uc-accent); font-style: normal; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px; }
.uc-foot__tagline { font-size: 0.9rem; line-height: 1.7; color: #8b97a8; max-width: 32ch; margin: 0 0 1.4rem; }
.uc-foot__social { display: flex; gap: 8px; }
.uc-foot__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--uc-radius-sm); background: rgba(255,255,255,0.04); color: #aab6c5; border: 1px solid rgba(255,255,255,0.08); text-decoration: none; transition: all .2s; }
.uc-foot__social a:hover { background: var(--uc-accent); color: #fff; border-color: var(--uc-accent); transform: translateY(-2px); }
.uc-foot__col-title { font-family: var(--uc-font-brand); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin: 0 0 1.25rem; position: relative; padding-bottom: 0.7rem; }
.uc-foot__col-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--uc-accent); border-radius: 2px; }
.uc-foot__links { list-style: none; margin: 0; padding: 0; }
.uc-foot__links li { margin-bottom: 0.6rem; }
.uc-foot__links a { font-size: 0.88rem; color: #8b97a8; text-decoration: none; transition: color .18s; }
.uc-foot__links a:hover { color: #fff; }
.uc-foot__contact { list-style: none; margin: 0; padding: 0; }
.uc-foot__contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.9rem; font-size: 0.875rem; color: #8b97a8; line-height: 1.55; }
.uc-foot__contact i { color: var(--uc-accent); margin-top: 4px; flex-shrink: 0; }
.uc-foot__contact a { color: #8b97a8; text-decoration: none; }
.uc-foot__contact a:hover { color: #fff; }
.uc-foot__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.3rem 0; background: rgba(0,0,0,0.18); }
.uc-foot__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.uc-foot__copyright { font-size: 0.8125rem; color: #6c7888; margin: 0; }
.uc-foot__copyright strong { color: #cfd8e3; font-weight: 600; }
.uc-foot__legal { display: flex; gap: 1.5rem; }
.uc-foot__legal a { font-size: 0.8125rem; color: #6c7888; text-decoration: none; }
.uc-foot__legal a:hover { color: #fff; }

@media (max-width: 1024px) {
	.uc-foot__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 640px) {
	.uc-foot__grid { grid-template-columns: 1fr; gap: 2rem; }
	.uc-foot__bottom-inner { flex-direction: column; text-align: center; }
}


/* ==========================================================================
   MOBILE DRAWER — ACCORDION SUBMENU (collapse/expand parent items)
   ========================================================================== */

/* Parent items with children — show chevron */
.mobile-nav-drawer .menu-item-has-children > a {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.mobile-nav-drawer .menu-item-has-children > a::after {
	content: "\f078"; /* FontAwesome chevron-down */
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.75rem;
	color: var(--uc-muted, #6b7280);
	transition: transform 0.25s ease, color 0.2s ease;
	flex-shrink: 0;
}
.mobile-nav-drawer .menu-item-has-children.uc-open > a::after {
	transform: rotate(180deg);
	color: var(--uc-accent, #d99221);
}

/* Submenu HIDDEN by default on mobile */
.mobile-nav-drawer ul ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
	background: #f7f8fa;
	border-top: 1px solid var(--uc-line, #eef0f4);
}

/* Show submenu only when parent has .uc-open class */
.mobile-nav-drawer .menu-item-has-children.uc-open > ul {
	display: block;
	animation: ucSlideDown 0.25s ease;
}

@keyframes ucSlideDown {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* Submenu link styling */
.mobile-nav-drawer ul ul a {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 12px 22px 12px 38px;
	font-size: 0.88rem;
	font-weight: 500;
	color: #555;
	text-decoration: none;
	border-bottom: 1px solid rgba(0,0,0,0.04);
	transition: color 0.15s ease, background 0.15s ease, padding-left 0.15s ease;
}
.mobile-nav-drawer ul ul li:last-child a { border-bottom: none; }
.mobile-nav-drawer ul ul a:hover {
	color: var(--uc-primary, #15355f);
	background: rgba(21,53,95,0.04);
	padding-left: 44px;
}

/* 3rd level (nested) — deeper indent + lighter bg */
.mobile-nav-drawer ul ul ul {
	background: #eef1f5;
	border-top: 1px solid rgba(0,0,0,0.05);
}
.mobile-nav-drawer ul ul ul a {
	padding-left: 54px;
	font-size: 0.82rem;
	color: #666;
}
.mobile-nav-drawer ul ul ul a:hover { padding-left: 60px; }


/* ==========================================================================
   FIX — Mobile drawer height: account for browser address bar (CTA always visible)
   ========================================================================== */

.mobile-nav-drawer {
	height: 100vh !important;
	height: 100dvh !important;              /* modern browsers */
	height: -webkit-fill-available !important; /* iOS Safari */
	max-height: 100vh !important;
	max-height: 100dvh !important;
}

/* Footer compact ho jaye taaki CTA hamesha visible rahe */
.mobile-drawer-footer {
	padding: 14px 18px !important;
	gap: 8px !important;
	position: sticky !important;
	bottom: 0 !important;
	background: #f7f8fa !important;
	box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}

.mobile-drawer-footer a {
	font-size: 0.82rem !important;
	padding: 4px 0 !important;
}

.mobile-cta-btn {
	padding: 11px !important;
	font-size: 0.92rem !important;
	margin-top: 4px !important;
}

/* Choti screens (≤ 700px height) pe aur compact */
@media screen and (max-height: 700px) {
	.mobile-drawer-header { padding: 14px 18px !important; }
	.mobile-brand { font-size: 1rem !important; }
	.mobile-nav-drawer ul#mobile-primary-menu > li > a,
	.mobile-nav-drawer > ul > li > a {
		padding: 12px 22px !important;
		font-size: 0.92rem !important;
	}
	.mobile-drawer-footer { padding: 12px 18px !important; }
	.mobile-drawer-footer a { font-size: 0.78rem !important; }
}


* {
    box-sizing: border-box;
}
html, body {
    overflow-x: clip;
    max-width: 100%;
}

/* ---- Post grid (blog list) ---------------------------------------------- */
.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; }
}

/* ---- Empty state --------------------------------------------------------- */
.post-empty {
	text-align: center; padding: 4rem 1rem;
	border: 1px dashed var(--uc-line, #eef0f4); border-radius: 14px;
	color: var(--uc-muted, #6b7280);
}
.post-empty h2 { font-family: var(--uc-font-brand, 'Barlow', sans-serif); color: var(--uc-primary, #15355f); margin: 0 0 0.5rem; }
.tags-label { font-weight: 700; color: var(--uc-primary, #15355f); }

/* Prev / next */
.single-nav { margin-top: 2.5rem; }
.single-nav .nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.single-nav .nav-previous, .single-nav .nav-next {
	flex: 1 1 45%; border: 1px solid var(--uc-line, #eef0f4); border-radius: 14px;
	padding: 1rem 1.15rem; background: #fff; transition: border-color .18s;
}
.single-nav .nav-next { text-align: right; }
.single-nav .nav-previous:hover, .single-nav .nav-next:hover { border-color: var(--uc-accent, #d99221); }
.single-nav .nav-subtitle {
	display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em;
	color: var(--uc-muted, #6b7280); margin-bottom: 0.3rem;
}
.single-nav .nav-title {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-weight: 700; color: var(--uc-primary, #15355f);
}

.sidebar-block {
	background: #fff; border: 1px solid var(--uc-line, #eef0f4);
	border-radius: 14px; padding: 1.4rem 1.4rem 1.5rem;
}
.sidebar-block__title {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em;
	font-weight: 700; color: var(--uc-primary, #15355f);
	margin: 0 0 1.1rem; padding-bottom: 0.8rem; position: relative;
	border-bottom: 1px solid var(--uc-line, #eef0f4);
}
.sidebar-block__title::after {
	content: ""; position: absolute; left: 0; bottom: -1px;
	width: 28px; height: 2px; background: var(--uc-accent, #d99221); border-radius: 2px;
}

.recent-list, .cat-list { list-style: none; margin: 0; padding: 0; }
.recent-item + .recent-item { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--uc-line, #eef0f4); }
.recent-item__link { display: flex; gap: 0.85rem; align-items: center; }
.recent-item__thumb {
	flex: 0 0 3.5rem; width: 3.5rem; height: 3.5rem;
	border-radius: 9px; overflow: hidden; background: #eef1f5;
}
.recent-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-item__thumb--empty { background: linear-gradient(135deg, #eef1f5, #e2e8f0); }
.recent-item__text { display: flex; flex-direction: column; gap: 0.2rem; }
.recent-item__title {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-weight: 700; font-size: 0.94rem; line-height: 1.3; color: var(--uc-primary, #15355f);
}
.recent-item__link:hover .recent-item__title { color: var(--uc-accent-dark, #b67611); }
.recent-item__date { font-size: 0.76rem; color: var(--uc-muted, #6b7280); }

.cat-list li + li { margin-top: 0.3rem; }
.cat-list a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 0.5rem 0.6rem; border-radius: 8px;
	color: var(--uc-ink, #1f2937) !important; font-size: 0.92rem; font-weight: 600;
}
.cat-list a:hover { background: rgba(21,53,95,0.05); color: var(--uc-accent-dark, #b67611) !important; }
.cat-count {
	background: rgba(21,53,95,0.06); color: var(--uc-muted, #6b7280);
	font-size: 0.74rem; padding: 0.05rem 0.5rem; border-radius: 999px;
}

/* ---- 4. RELATED PRODUCT PAGES ---- */
/* Not related posts. Send the reader toward a product page, not deeper
   into the blog. */
.product-links { margin: 2.5rem 0 0; }
.product-links__title {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--uc-primary, #15355f);
	margin: 0 0 1.1rem;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--uc-line, #eef0f4);
	position: relative;
}
.product-links__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 28px; height: 2px;
	background: var(--uc-accent, #d99221);
}
.product-links__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
}
.product-link {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--uc-line, #eef0f4);
	border-radius: 12px;
	padding: 1rem 1.1rem;
	text-decoration: none !important;
	transition: border-color .18s, transform .18s, box-shadow .18s;
}
.product-link:hover {
	border-color: var(--uc-accent, #d99221);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -14px rgba(15,36,68,0.16);
}
.product-link i {
	width: 38px; height: 38px;
	flex-shrink: 0;
	border-radius: 10px;
	background: rgba(21,53,95,0.07);
	color: var(--uc-primary, #15355f);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.95rem;
	transition: background .18s, color .18s;
}
.product-link:hover i { background: var(--uc-accent, #d99221); color: #fff; }
.product-link span {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--uc-primary, #15355f);
	line-height: 1.25;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
	/* sidebar stops being sticky at this width in your existing CSS, so the
	   quote box drops below the article. Still useful, just less prominent. */
	.product-links__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.product-links__grid { grid-template-columns: 1fr; }
}
.product-links { margin-top: 2.25rem; }


/* ==========================================================================
   7. STICKY SIDEBAR — THE ACTUAL FIX
   position: sticky fails silently in two situations. Both are handled here.
   ========================================================================== */

/* ---- 7a. THE USUAL KILLER ----
   Nearly every theme writes html/body { overflow-x: hidden } to stop
   sideways scroll. That makes the page a scroll container and sticky
   stops working everywhere. overflow: clip does the same job without
   creating a scroll container, so sticky survives. */
html,
body {
	overflow-x: clip;
}

/* ---- 7c. ANCESTORS THAT CLIP ----
   Common theme wrappers that sit above .blog-wrap. Harmless if absent. */
#page,
#content,
.site,
.site-content,
.site-main,
.blog-wrap,
.blog-wrap > * {
	overflow: visible;
}

/* ---- Breadcrumb ---- */
.art-crumb {
	font-size: 0.82rem;
	color: var(--art-quiet);
	margin: 0 0 1.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
}
.art-crumb a { color: var(--art-quiet) !important; }
.art-crumb a:hover { color: var(--uc-accent-dark, #b67611) !important; }
.art-crumb span[aria-hidden] { color: #b9c4d2; }
.art-crumb em { font-style: normal; color: var(--uc-ink, #1f2937); }

/* ---- Spec strip ----
   Built like a garment care label: quiet field names, firm values,
   hairline dividers. Replaces the dot-separated meta line. */
.spec-strip {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	border-top: 1px solid var(--art-rule);
	border-bottom: 1px solid var(--art-rule);
}
.spec-strip > div {
	padding: 0.85rem 1.4rem 0.9rem 0;
	margin-right: 1.4rem;
	border-right: 1px solid var(--art-rule);
}
.spec-strip > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.spec-strip dt {
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	color: var(--art-quiet);
	margin: 0 0 0.25rem;
}
.spec-strip dd {
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-weight: 700;
	font-size: 0.97rem;
	color: var(--uc-primary, #15355f);
	margin: 0;
	font-variant-numeric: tabular-nums;
}
.spec-strip dd a { color: var(--uc-primary, #15355f) !important; }
.spec-strip dd a:hover { color: var(--uc-accent-dark, #b67611) !important; }
.set-bar {
	flex: 1;
	border-radius: 7px;
	padding: 0.6rem 0.7rem 0.65rem;
	background: rgba(255,255,255,0.07);
	border: 1px solid rgba(255,255,255,0.13);
	font-size: 0.76rem;
	line-height: 1.35;
	color: rgba(255,255,255,0.78);
}
.set-bar b {
	display: block;
	font-family: var(--uc-font-brand, 'Barlow', sans-serif);
	font-weight: 700;
	font-size: 0.86rem;
	color: #fff;
	margin-bottom: 0.1rem;
}
.set-bar--rail { background: rgba(217,146,33,0.16); border-color: rgba(217,146,33,0.4); }
@media (max-width: 900px) {
	body.single { padding-bottom: 4.5rem; }
}


/* ==========================================================================
   8. QUALITY FLOOR
   ========================================================================== */

.single-main :focus-visible,
.blog-sidebar :focus-visible {
	outline: 2px solid var(--uc-accent, #d99221);
	outline-offset: 3px;
	border-radius: 3px;
}

@media print {
	.read-progress, .art-actionbar, .blog-sidebar,
	.blog-cta, .product-links { display: none !important; }
}
@media (max-width: 900px) {

	/* ---- 12c. The article keeps its own CTAs ----
	   Slightly more room under the last one so the fixed bar never
	   covers the final paragraph. */
	.single-nav { margin-bottom: 1.5rem; }
}
body.single { padding-bottom: 0; }

.blog-wrap > *,
.single-main,
.single-post,
.single-post__content,
.single-post__header {
	min-width: 0;
}

/* The spec strip wraps onto a second line rather than stretching the page.
   With a fourth field (Updated) it needs to on a phone. */
.spec-strip { max-width: 100%; }
@media (max-width: 560px) {
	.spec-strip > div {
		padding: 0.7rem 1.1rem 0.75rem 0;
		margin-right: 1.1rem;
	}
	.spec-strip > div:nth-child(2n) {
		border-right: 0;
		margin-right: 0;
		padding-right: 0;
	}
}

/* ---- 15c. GRID BELOW THE LEAD ---- */
.post-grid { margin-top: 1.6rem; }


/* ==========================================================================
   18. MOBILE DRAWER: STOP THE SIDEWAYS SCROLL
   The drawer was hidden with right: -340px. A position: fixed element
   parked outside the viewport still widens the page, and overflow: clip
   on html or body does not clip fixed descendants, which is why the
   earlier fix did not catch this one.

   transform moves it without touching layout, so nothing overflows.
   ========================================================================== */

.mobile-nav-drawer {
	right: 0;
	transform: translateX(105%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
}
.mobile-nav-drawer.is-open {
	right: 0;
	transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
	.mobile-nav-drawer { transition: none; }
}


/* ==========================================================================
   19. TWO MOBILE FIXES
   ========================================================================== */

/* ---- 19a. SPEC STRIP ----
   Four fields in a wrapping flex row collided on a phone: the date and the
   read time ran together as "9 Oct 20267 min read". A two column grid wraps
   predictably instead of guessing, and the dividers come off because at this
   width the grid gap already separates them. */
@media (max-width: 560px) {
	.spec-strip {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0.15rem 1.1rem;
	}
	.spec-strip > div {
		padding: 0.6rem 0 0.65rem;
		margin: 0;
		border-right: 0;
	}
	.spec-strip > div:last-child { padding-right: 0; }
	.spec-strip dt { font-size: 0.68rem; }
	.spec-strip dd { font-size: 0.9rem; }
}


/* ==========================================================================
   21. SPEC STRIP: JUST THE GAP
   Earlier attempts changed the display mode and stripped the padding, which
   removed the only thing separating the date from the read time. This adds
   the gap back and touches nothing else, so it works whether the strip is
   laid out as flex or grid.
   ========================================================================== */

@media (max-width: 700px) {
	.spec-strip > div {
		padding-right: 1.3rem !important;
		margin-right: 0 !important;
	}
	.spec-strip > div:last-child {
		padding-right: 0 !important;
	}
}
