/*
Theme Name:   Kadence Child — Absaam International Traders
Theme URI:    https://absaaminternationaltraders.com
Description:  Child theme for Absaam International Traders (Pvt) Limited. All custom code for the site lives here.
Author:       Absaam International Traders
Template:     kadence
Version:      1.0.0
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:  kadence-child
*/

/* ==========================================================================
   Brand tokens (mirrors theme.json / Kadence global palette)
   navy #101C36 | gold #C0983D | light gray #F5F6F8 | white #FFFFFF
   ========================================================================== */

/* --------------------------------------------------------------------------
   Palette utility classes.
   REQUIRED: Kadence suppresses WP global-styles output for the theme.json
   palette, so the has-{slug}-* preset classes used in our patterns get no
   CSS from core. These rules make them work.
   -------------------------------------------------------------------------- */
.has-navy-background-color { background-color: #101C36 !important; }
.has-gold-background-color { background-color: #C0983D !important; }
.has-gold-dark-background-color { background-color: #A87F2C !important; }
.has-white-background-color { background-color: #FFFFFF !important; }
.has-light-gray-background-color { background-color: #F5F6F8 !important; }
.has-navy-soft-background-color { background-color: #2A3A5C !important; }

/* Kadence's global heading CSS (h1..h6 { color: palette3 }) overrides the
   inherited white text inside colored GROUP bands (cover blocks are immune
   because core forces color:inherit there). Force readable headings per band. */
.has-navy-background-color h1,
.has-navy-background-color h2,
.has-navy-background-color h3,
.has-navy-background-color h4,
.has-navy-background-color h5,
.has-navy-background-color h6 {
	color: #FFFFFF;
}

/* Gold italic accent word stays gold inside navy bands */
.has-navy-background-color h1 em,
.has-navy-background-color h2 em {
	color: #C0983D;
}

/* Eyebrow labels: darker gold on light backgrounds for real contrast */
.has-light-gray-background-color .absaam-eyebrow,
.has-white-background-color .absaam-eyebrow {
	color: #A87F2C !important;
}

.has-navy-color { color: #101C36 !important; }
.has-gold-color { color: #C0983D !important; }
.has-gold-dark-color { color: #A87F2C !important; }
.has-white-color { color: #FFFFFF !important; }
.has-light-gray-color { color: #F5F6F8 !important; }
.has-navy-soft-color { color: #2A3A5C !important; }

/* Full-width bands sit flush — no stacked block margins between sections */
.entry-content > .alignfull,
.entry-content > .wp-block-group.alignfull,
.entry-content > .wp-block-cover.alignfull {
	margin-bottom: 0;
	margin-top: 0;
}

/* --------------------------------------------------------------------------
   Typography — Cormorant Garamond (display) + Jost (body/nav)
   Self-hosted via assets/css/fonts.css.
   -------------------------------------------------------------------------- */
body,
button,
input,
select,
textarea,
.entry-content {
	font-family: "Jost", "Segoe UI", sans-serif;
	font-weight: 400;
	line-height: 1.75;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.site-title {
	font-family: "Cormorant Garamond", Georgia, serif;
	font-weight: 700;
	line-height: 1.2;
}

h1, .h1 {
	font-size: clamp(2.6rem, 5vw, 4.2rem);
}

h2 {
	font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.main-navigation a,
.mobile-navigation a,
.site-header a {
	font-family: "Jost", "Segoe UI", sans-serif;
	font-weight: 500;
}

/* Gold uppercase eyebrow for section labels */
.absaam-eyebrow {
	color: #C0983D !important;
	font-family: "Jost", "Segoe UI", sans-serif;
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

/* Gold italic accent word inside headings */
h1 em, h2 em, .wp-block-heading em {
	color: #C0983D;
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.absaam-hero .wp-block-cover__background {
	opacity: 0.85; /* navy overlay rgba(16,28,54,.85) */
}

.absaam-hero .wp-block-cover__inner-container {
	padding: 3rem 1.5rem;
}

@media (max-width: 767px) {
	.absaam-hero {
		min-height: 70vh !important;
	}
}

/* --------------------------------------------------------------------------
   Request a Quote buttons (catalog mode)
   -------------------------------------------------------------------------- */
.absaam-quote-button,
.woocommerce a.button.absaam-quote-button {
	background-color: #C0983D;
	border: 1px solid #C0983D;
	border-radius: 3px;
	color: #101C36;
	display: inline-block;
	font-weight: 600;
	letter-spacing: 0.02em;
	padding: 0.65em 1.4em;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.absaam-quote-button:hover,
.absaam-quote-button:focus,
.woocommerce a.button.absaam-quote-button:hover,
.woocommerce a.button.absaam-quote-button:focus {
	background-color: #101C36;
	border-color: #101C36;
	color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Header: top bar, nav underline animation, sticky shadow
   -------------------------------------------------------------------------- */
.site-top-header-wrap .header-contact-item,
.site-top-header-wrap .contact-label,
.site-top-header-wrap .header-html {
	color: #C0983D;
	font-size: 0.85rem;
	letter-spacing: 0.04em;
}

.site-top-header-wrap .header-contact-item:hover,
.site-top-header-wrap .header-contact-item:hover .contact-label {
	color: #FFFFFF;
}

.site-top-header-wrap .header-contact-item .kadence-svg-iconset {
	color: #C0983D;
}

/* Gold underline grow-on-hover for primary nav */
.header-navigation .header-menu-container > ul > li.menu-item > a {
	position: relative;
}

.header-navigation .header-menu-container > ul > li.menu-item:not(.menu-item-cta) > a::after {
	background-color: #C0983D;
	bottom: 0.35em;
	content: "";
	height: 2px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	transition: width 0.25s ease;
	width: 0;
}

.header-navigation .header-menu-container > ul > li.menu-item:not(.menu-item-cta) > a:hover::after,
.header-navigation .header-menu-container > ul > li.menu-item:not(.menu-item-cta) > a:focus::after,
.header-navigation .header-menu-container > ul > li.current-menu-item:not(.menu-item-cta) > a::after {
	width: calc(100% - 1em);
}

/* Sticky header shadow once stuck */
.site-header .site-main-header-wrap .site-header-row-container-inner {
	transition: box-shadow 0.25s ease;
}

.site-header .item-is-stuck .site-header-row-container-inner,
.site-header .item-is-stuck {
	box-shadow: 0 4px 18px rgba(16, 28, 54, 0.12);
}

/* Header CTA button */
.site-header .mobile-header-button-wrap .mobile-header-button,
.site-header .header-button {
	border-radius: 2px;
	font-weight: 600;
}

/* Mobile top bar: keep it to the phone number only */
@media (max-width: 767px) {
	.site-top-header-wrap .header-html {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   WOW §5 — header shrink polish + mobile drawer stagger
   Height shrink itself is Kadence's native scroll-linked behavior
   (header_sticky_shrink); we add the logo scale and smooth the logo box.
   -------------------------------------------------------------------------- */
.site-header .custom-logo {
	transform-origin: left center;
	transition: transform 0.3s ease, max-height 0.3s ease;
}

.site-header .item-is-stuck .custom-logo {
	transform: scale(0.85);
}

/* Drawer items slide-fade in sequence once Kadence opens the drawer.
   The drawer only ever opens via JS, so the hidden initial state is safe. */
@keyframes absaam-drawer-in {
	to {
		opacity: 1;
		transform: none;
	}
}

#mobile-drawer .drawer-content .mobile-navigation > ul > li {
	opacity: 0;
	transform: translateX(-14px);
}

#mobile-drawer.active .drawer-content .mobile-navigation > ul > li {
	animation: absaam-drawer-in 0.4s ease forwards;
}

#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(1) { animation-delay: 0.05s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(2) { animation-delay: 0.1s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(3) { animation-delay: 0.15s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(4) { animation-delay: 0.2s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(5) { animation-delay: 0.25s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(6) { animation-delay: 0.3s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(7) { animation-delay: 0.35s; }
#mobile-drawer.active .drawer-content .mobile-navigation > ul > li:nth-child(8) { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
	.site-header .custom-logo {
		transition: none;
	}

	.site-header .item-is-stuck .custom-logo {
		transform: none;
	}

	#mobile-drawer .drawer-content .mobile-navigation > ul > li {
		animation: none !important;
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Primary menu "Get a Quote" CTA item
   -------------------------------------------------------------------------- */
.main-navigation .menu-item-cta > a,
.mobile-navigation .menu-item-cta > a {
	background-color: #C0983D;
	border-radius: 3px;
	color: #101C36 !important;
	font-weight: 600;
	margin-left: 0.75em;
	padding: 0.5em 1.2em;
}

.main-navigation .menu-item-cta > a:hover,
.main-navigation .menu-item-cta > a:focus {
	background-color: #FFFFFF;
	color: #101C36 !important;
}

/* --------------------------------------------------------------------------
   Quote form (Kadence form block)
   -------------------------------------------------------------------------- */
.kb-form .kb-forms-submit {
	background-color: #C0983D;
	border: 1px solid #C0983D;
	border-radius: 3px;
	color: #101C36;
	font-weight: 600;
	padding: 0.7em 2em;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.kb-form .kb-forms-submit:hover,
.kb-form .kb-forms-submit:focus {
	background-color: #101C36;
	border-color: #101C36;
	color: #FFFFFF;
}

.kb-form .kb-field {
	background-color: #FFFFFF;
	border: 1px solid #D6D9E0;
	border-radius: 3px;
	padding: 0.6em 0.8em;
	width: 100%;
}

.kb-form .kb-form-label {
	color: #101C36;
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.kb-form .kadence-blocks-form-field {
	margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Scroll reveals — initial hidden state gated behind html.js (added by
   wow.js), so content is fully visible when JS is unavailable.
   transform/opacity only; no layout shift (elements keep their box).
   -------------------------------------------------------------------------- */
.js .absaam-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--absaam-delay, 0ms);
	will-change: opacity, transform;
}

/* Eyebrows fade in place */
.js .absaam-reveal-fade {
	transform: none;
}

/* Gold divider grows from center, 150ms after its header */
.js .absaam-accent-line.absaam-reveal {
	transform: scaleX(0);
	transition-delay: calc(var(--absaam-delay, 0ms) + 150ms);
}

.js .absaam-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.js .absaam-accent-line.absaam-reveal.is-visible {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.js .absaam-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
   Hero motion — Ken Burns (once), staggered load-in, parallax headroom.
   Pure CSS animations: they complete without JS, so no content is ever
   stuck hidden. Parallax offset arrives via --absaam-parallax (wow.js).
   -------------------------------------------------------------------------- */
@keyframes absaam-kenburns {
	from { transform: translate3d(0, var(--absaam-parallax, 0px), 0) scale(1); }
	to   { transform: translate3d(0, var(--absaam-parallax, 0px), 0) scale(1.08); }
}

@keyframes absaam-rise {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: none; }
}

.absaam-hero .wp-block-cover__image-background {
	/* 120% height gives the parallax translate headroom inside the
	   cover's overflow:hidden box — no edges ever show. */
	height: 120% !important;
	top: -10% !important;
	animation: absaam-kenburns 18s ease-out 1 forwards;
}

.absaam-hero .wp-block-cover__inner-container > * {
	animation: absaam-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.absaam-hero .wp-block-cover__inner-container > :nth-child(1) { animation-delay: 0.05s; }
.absaam-hero .wp-block-cover__inner-container > :nth-child(2) { animation-delay: 0.17s; }
.absaam-hero .wp-block-cover__inner-container > :nth-child(3) { animation-delay: 0.29s; }
.absaam-hero .wp-block-cover__inner-container > :nth-child(4) { animation-delay: 0.41s; }
.absaam-hero .wp-block-cover__inner-container > :nth-child(5) { animation-delay: 0.53s; }

@media (prefers-reduced-motion: reduce) {
	.absaam-hero .wp-block-cover__image-background,
	.absaam-hero .wp-block-cover__inner-container > * {
		animation: none !important;
	}
}

/* --------------------------------------------------------------------------
   Global details: selection, smooth scroll, back-to-top, shop cards
   -------------------------------------------------------------------------- */
html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

::selection {
	background-color: #C0983D;
	color: #101C36;
}

/* Kadence back-to-top button */
#kt-scroll-up,
#kt-scroll-up-reader {
	background-color: #C0983D;
	border-radius: 2px;
	color: #101C36;
}

#kt-scroll-up:hover,
#kt-scroll-up:focus {
	background-color: #101C36;
	color: #FFFFFF;
}

/* Shop / archive product cards — same treatment as category cards */
.woocommerce ul.products li.product {
	background-color: #FFFFFF;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(16, 28, 54, 0.08);
	overflow: hidden;
	padding-bottom: 1.25rem;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce ul.products li.product:hover {
	box-shadow: 0 14px 30px rgba(16, 28, 54, 0.18);
	transform: translateY(-6px);
}

.woocommerce ul.products li.product img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	width: 100%;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	color: #101C36;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 1.2rem;
	font-weight: 700;
	padding: 0.75rem 1.25rem 0.25rem;
}

.woocommerce ul.products li.product .absaam-quote-button {
	margin: 0.5rem 1.25rem 0;
}

/* Single product: serif title, roomy summary */
.single-product div.product .product_title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

/* --------------------------------------------------------------------------
   Mobile refinements
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.absaam-stat-number {
		font-size: 2.25rem;
	}

	.absaam-cat-card {
		min-height: 220px !important;
	}
}

/* --------------------------------------------------------------------------
   Page/archive title bands — guaranteed contrast everywhere.
   Two failure directions covered:
   1) Kadence "above content" title areas (shop, category archives, search,
      404, products) become navy bands with white text + gold accent,
      matching the site's band design.
   2) Any title rendered inline on a light background is forced navy.
   -------------------------------------------------------------------------- */
.entry-hero .entry-hero-container-inner {
	background-color: #101C36;
	padding-bottom: 3rem;
	padding-top: 3rem;
}

.entry-hero .entry-title,
.entry-hero .archive-title,
.entry-hero h1 {
	color: #FFFFFF !important;
}

.entry-hero .entry-title::after,
.entry-hero .archive-title::after {
	background-color: #C0983D;
	content: "";
	display: block;
	height: 3px;
	margin-top: 0.75rem;
	width: 72px;
}

.entry-hero .archive-description,
.entry-hero .archive-description p {
	color: #F5F6F8;
}

.entry-hero .kadence-breadcrumbs,
.entry-hero .kadence-breadcrumbs a {
	color: rgba(255, 255, 255, 0.75);
}

.entry-hero .kadence-breadcrumbs a:hover {
	color: #C0983D;
}

/* Inline titles on light backgrounds stay navy — never white.
   Covers every Kadence title variant: entry-title, page-title,
   search-title, archive-title, and the 404 page-header. */
.site-main > .entry-header .entry-title,
.content-area .entry-header .entry-title,
.woocommerce-products-header .page-title,
.content-bg h1.archive-title,
.content-wrap .page-header .page-title,
.entry-header .page-title,
.search-title,
.error404 .page-title,
.error404 .entry-title,
.search-results .entry-title,
.woocommerce div.product .product_title {
	color: #101C36;
}

/* Hero title areas: no customizer overlay may wash out the navy band */
.entry-hero .hero-section-overlay {
	background: transparent !important;
}

/* Archive/search result cards: readable titles on white cards */
.loop-entry .entry-title,
.loop-entry .entry-title a {
	color: #101C36;
}

.loop-entry .entry-title a:hover {
	color: #C0983D;
}

/* --------------------------------------------------------------------------
   Single product — B2B inquiry panel
   -------------------------------------------------------------------------- */
.single-product div.product .woocommerce-product-gallery img {
	border-radius: 4px;
	box-shadow: 0 6px 24px rgba(16, 28, 54, 0.12);
}

.single-product div.product .product_title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin-bottom: 0.5rem;
}

/* Quote button dominates the summary column */
.single-product div.product .absaam-quote-button {
	display: block;
	font-size: 1.05rem;
	margin: 1rem 0 0.75rem;
	max-width: 380px;
	padding: 0.85em 1.4em;
}

/* Secondary WhatsApp line */
.absaam-wa-product {
	color: #101C36;
	display: inline-block;
	font-size: 0.95rem;
	font-weight: 500;
	margin-bottom: 1.5rem;
	text-decoration: underline;
	text-decoration-color: #C0983D;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	transition: color 0.2s ease;
}

.absaam-wa-product:hover {
	color: #C0983D;
}

/* Trade snapshot card */
.absaam-trade-snapshot {
	background-color: #F5F6F8;
	border-left: 3px solid #C0983D;
	border-radius: 0 4px 4px 0;
	margin: 0 0 1.25rem;
	padding: 1.25rem 1.5rem;
}

.absaam-trade-snapshot-title {
	color: #101C36;
	font-size: 1.05rem;
	margin: 0 0 0.75rem;
}

.absaam-trade-snapshot dl {
	margin: 0;
}

.absaam-trade-row {
	display: flex;
	font-size: 0.95rem;
	gap: 0.75rem;
	padding: 0.3rem 0;
}

.absaam-trade-row dt {
	color: #101C36;
	flex: 0 0 8.5em;
	font-weight: 600;
}

.absaam-trade-row dd {
	color: #4A5878;
	margin: 0;
}

/* Export assurance list */
.absaam-export-assurance {
	margin-bottom: 1.5rem;
}

.absaam-export-assurance h3 {
	color: #101C36;
	font-size: 1.05rem;
	margin-bottom: 0.5rem;
}

.absaam-export-assurance ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.absaam-export-assurance li {
	color: #4A5878;
	font-size: 0.95rem;
	padding: 0.25rem 0 0.25rem 1.6em;
	position: relative;
}

.absaam-export-assurance li::before {
	color: #C0983D;
	content: "\2713";
	font-weight: 700;
	left: 0.25em;
	position: absolute;
}

/* Tabs: gold active underline */
.single-product .woocommerce-tabs ul.tabs li a {
	font-family: "Jost", "Segoe UI", sans-serif;
	font-weight: 500;
}

.single-product .woocommerce-tabs ul.tabs li.active a {
	border-bottom: 3px solid #C0983D;
	color: #101C36;
}

/* Spec headings inside the description */
.single-product .woocommerce-Tabs-panel h3 {
	border-bottom: 1px solid #E3E5EA;
	color: #101C36;
	margin-top: 2rem;
	padding-bottom: 0.4rem;
}

.single-product .woocommerce-Tabs-panel ul li::marker {
	color: #C0983D;
}

/* Related products section spacing + heading */
.single-product .related.products > h2 {
	color: #101C36;
	margin-top: 3rem;
	text-align: center;
}

.single-product .related.products > h2::after {
	background-color: #C0983D;
	content: "";
	display: block;
	height: 3px;
	margin: 0.75rem auto 2rem;
	width: 72px;
}

/* Product meta (SKU / categories) */
.single-product div.product .product_meta {
	border-top: 1px solid #E3E5EA;
	color: #7C87A0;
	font-size: 0.9rem;
	margin-top: 0.5rem;
	padding-top: 1rem;
}

.single-product div.product .product_meta a {
	color: #101C36;
}

.single-product div.product .product_meta a:hover {
	color: #C0983D;
}

/* --------------------------------------------------------------------------
   WOW §6 — floating WhatsApp button + keyboard focus
   -------------------------------------------------------------------------- */
.absaam-wa-float {
	align-items: center;
	background-color: #101C36;
	border-radius: 50%;
	bottom: 1.25rem;
	box-shadow: 0 6px 18px rgba(16, 28, 54, 0.3);
	color: #C0983D;
	display: flex;
	height: 56px;
	justify-content: center;
	left: 1.25rem;
	position: fixed;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	width: 56px;
	z-index: 9990;
}

.absaam-wa-float:hover,
.absaam-wa-float:focus {
	box-shadow: 0 10px 24px rgba(16, 28, 54, 0.4);
	color: #C0983D;
	transform: translateY(-2px);
}

.absaam-wa-float svg {
	height: 28px;
	width: 28px;
}

/* Soft pulse ring every 6s */
@keyframes absaam-pulse {
	0%, 86% {
		opacity: 0;
		transform: scale(1);
	}
	88% {
		opacity: 0.7;
		transform: scale(1);
	}
	100% {
		opacity: 0;
		transform: scale(1.6);
	}
}

.absaam-wa-float::before {
	animation: absaam-pulse 6s ease-out infinite;
	border: 2px solid #C0983D;
	border-radius: 50%;
	content: "";
	inset: 0;
	opacity: 0;
	position: absolute;
}

/* Visible gold focus for keyboard navigation */
:focus-visible {
	outline: 2px solid #C0983D !important;
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.absaam-wa-float {
		transition: none;
	}

	.absaam-wa-float::before {
		animation: none;
	}

	.wp-block-details.absaam-faq-item summary::after {
		transition: none;
	}
}

/* --------------------------------------------------------------------------
   Small helpers used by block patterns
   -------------------------------------------------------------------------- */
.wp-block-separator.absaam-accent-line,
.absaam-accent-line {
	background-color: #C0983D !important;
	border: none;
	height: 3px;
	margin-left: auto;
	margin-right: auto;
	opacity: 1;
	width: 72px;
}

.wp-block-details.absaam-faq-item {
	border-bottom: 1px solid #E3E5EA;
	padding: 1rem 0;
}

.wp-block-details.absaam-faq-item summary {
	color: #101C36;
	cursor: pointer;
	font-weight: 600;
}

/* Custom rotating chevron replaces the default marker */
.wp-block-details.absaam-faq-item summary {
	list-style: none;
	padding-right: 2.25rem;
	position: relative;
}

.wp-block-details.absaam-faq-item summary::-webkit-details-marker {
	display: none;
}

.wp-block-details.absaam-faq-item summary::after {
	border-bottom: 2px solid #C0983D;
	border-right: 2px solid #C0983D;
	content: "";
	height: 9px;
	position: absolute;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.3s ease;
	width: 9px;
}

.wp-block-details.absaam-faq-item[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}

/* Height is animated via WAAPI (wow.js) — border-box keeps the math exact */
.wp-block-details.absaam-faq-item {
	box-sizing: border-box;
}

.wp-block-details.absaam-faq-item p {
	margin-top: 0.75rem;
}

.absaam-stat-number {
	color: #C0983D;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.1;
	margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   Category photo cards
   -------------------------------------------------------------------------- */
.absaam-cat-card {
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(16, 28, 54, 0.08);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.absaam-cat-card:hover {
	box-shadow: 0 14px 30px rgba(16, 28, 54, 0.22);
	transform: translateY(-6px);
}

.absaam-cat-card .wp-block-cover__inner-container {
	padding: 1.25rem;
}

.absaam-cat-card-title {
	margin-bottom: 0.25rem;
	position: relative;
}

.absaam-cat-card-title a {
	color: inherit;
	text-decoration: none;
}

.absaam-cat-card-title,
.absaam-cat-card p {
	text-shadow: 0 1px 3px rgba(16, 28, 54, 0.6);
}

/* Stretch the title link over the whole card */
.absaam-cat-card-title a::before {
	content: "";
	inset: 0;
	position: absolute;
	z-index: 2;
}

.absaam-cat-card-title::after {
	background-color: #C0983D;
	content: "";
	display: block;
	height: 3px;
	margin-top: 0.5rem;
	transition: width 0.3s ease;
	width: 28px;
}

.absaam-cat-card:hover .absaam-cat-card-title::after {
	width: 64px;
}

.absaam-cat-card p {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Why Us cards + icon badges
   -------------------------------------------------------------------------- */
.absaam-why-card {
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(16, 28, 54, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.absaam-why-card:hover {
	box-shadow: 0 14px 30px rgba(16, 28, 54, 0.14);
	transform: translateY(-6px);
}

.absaam-icon-badge {
	align-items: center;
	background-color: rgba(192, 152, 61, 0.12);
	border: 1.5px solid #C0983D;
	border-radius: 50%;
	color: #C0983D;
	display: flex;
	height: 64px;
	justify-content: center;
	margin-bottom: 1.25rem;
	width: 64px;
}

.absaam-icon-badge svg {
	height: 30px;
	width: 30px;
}

/* --------------------------------------------------------------------------
   WOW §3 — card photo zoom, overlay deepen, gold edge reveal, badge sweep
   -------------------------------------------------------------------------- */
.absaam-cat-card .wp-block-cover__image-background {
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.absaam-cat-card:hover .wp-block-cover__image-background {
	transform: scale(1.06);
}

/* Extra navy veil between photo and gradient — deepens on hover */
.absaam-cat-card::before {
	background-color: rgba(16, 28, 54, 0.18);
	content: "";
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.4s ease;
	z-index: 1;
}

.absaam-cat-card:hover::before {
	opacity: 1;
}

/* 2px gold bottom edge sweeps in from the left */
.absaam-cat-card::after {
	background-color: #C0983D;
	bottom: 0;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
	z-index: 3;
}

.absaam-cat-card:hover::after {
	transform: scaleX(1);
}

/* Why-us badge: gold fill sweeps in from the ring, icon flips navy */
.absaam-icon-badge {
	transition: box-shadow 0.35s ease, color 0.3s ease, transform 0.3s ease;
}

.absaam-why-card:hover .absaam-icon-badge {
	box-shadow: inset 0 0 0 34px #C0983D;
	color: #101C36;
	transform: translateY(-4px);
}

@media (prefers-reduced-motion: reduce) {
	.absaam-cat-card .wp-block-cover__image-background,
	.absaam-cat-card::before,
	.absaam-cat-card::after,
	.absaam-icon-badge {
		transition: none !important;
	}

	.absaam-cat-card:hover .wp-block-cover__image-background {
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   WOW §4 — button lift, gold shine sweep, hero outline fill
   -------------------------------------------------------------------------- */
.wp-block-button__link,
.button,
.kb-forms-submit,
.header-button,
.absaam-quote-button {
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}

.wp-block-button__link:hover,
.button:hover,
.kb-forms-submit:hover,
.header-button:hover,
.absaam-quote-button:hover {
	box-shadow: 0 8px 18px rgba(16, 28, 54, 0.18);
	transform: translateY(-2px);
}

/* Shine sweep across gold buttons (transform-only) */
.wp-block-button__link.has-gold-background-color,
.absaam-quote-button,
.kb-form .kb-forms-submit,
.header-button {
	overflow: hidden;
	position: relative;
}

.wp-block-button__link.has-gold-background-color::after,
.absaam-quote-button::after,
.kb-form .kb-forms-submit::after,
.header-button::after {
	background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
	bottom: 0;
	content: "";
	left: -45%;
	pointer-events: none;
	position: absolute;
	top: 0;
	transform: translateX(0) skewX(-18deg);
	transition: transform 0.6s ease;
	width: 40%;
}

.wp-block-button__link.has-gold-background-color:hover::after,
.absaam-quote-button:hover::after,
.kb-form .kb-forms-submit:hover::after,
.header-button:hover::after {
	transform: translateX(400%) skewX(-18deg);
}

/* Hero outline button fills white on hover */
.absaam-hero .is-style-outline .wp-block-button__link:hover {
	background-color: #FFFFFF;
	border-color: #FFFFFF;
	color: #101C36;
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link,
	.button,
	.kb-forms-submit,
	.header-button,
	.absaam-quote-button {
		transition: none !important;
	}

	.wp-block-button__link:hover,
	.button:hover,
	.kb-forms-submit:hover,
	.header-button:hover,
	.absaam-quote-button:hover {
		transform: none;
	}

	.wp-block-button__link.has-gold-background-color::after,
	.absaam-quote-button::after,
	.kb-form .kb-forms-submit::after,
	.header-button::after {
		content: none;
	}
}

/* --------------------------------------------------------------------------
   Certification pills
   -------------------------------------------------------------------------- */
.absaam-cert-pill {
	border: 1px solid #D6D9E0;
	border-radius: 999px;
	color: #4A5878;
	font-family: "Jost", "Segoe UI", sans-serif;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	margin: 0;
	padding: 0.55em 1.4em;
	text-transform: uppercase;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.absaam-cert-pill:hover {
	border-color: #C0983D;
	color: #C0983D;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	border-top: 2px solid #C0983D;
	color: #C9CFDC;
}

.site-footer .widget-title {
	color: #FFFFFF;
	font-size: 1.15rem;
	letter-spacing: 0.03em;
	margin-bottom: 1rem;
}

.site-footer a {
	color: #C9CFDC;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer a:hover,
.site-footer a:focus {
	color: #C0983D;
}

.absaam-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.absaam-footer-links li {
	margin-bottom: 0.5rem;
}

.absaam-footer-icons a {
	color: #C0983D;
	display: inline-block;
	margin-right: 0.75rem;
}

.absaam-footer-icons a:hover {
	color: #FFFFFF;
}

.absaam-footer-contact a {
	color: #C0983D;
}

.site-footer .site-info {
	color: #7C87A0;
	font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   CTA banner gold radial glow
   -------------------------------------------------------------------------- */
.absaam-cta-glow {
	background-image: radial-gradient(ellipse 60% 70% at 50% 110%, rgba(192, 152, 61, 0.22), transparent 70%);
	overflow: hidden;
	position: relative;
}
