/* APX CoolFlow — About, Contact, shop header + shop cards. Builds on home.css (.apxh). */

/* ---------- shared ---------- */
.apxp .apxp-h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.05; text-transform: none; font-weight: 700; }
.apxh--ar.apxp .apxp-h1 { line-height: 1.25; font-size: clamp(32px, 4vw, 54px); }
.apxp-hero { padding-block: 64px 80px; }
.apxp-hero .apxh-hero__media img { aspect-ratio: 4 / 3; object-position: 70% 50%; }

/* ---------- ABOUT ---------- */
.apxp-story__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.apxp .apxp-p { margin-top: 18px; font-size: 17px; color: #3d474f; line-height: 1.7; }
.apxp .apxp-formula { margin-top: 26px; padding: 16px 18px; border-radius: 12px; background: var(--surface); border-inline-start: 4px solid var(--teal); font-weight: 600; font-size: 15px; color: var(--ink); }
.apxp-story__img { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.apxp-story__img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.apxp-caps { background: var(--surface); }
.apxp-caps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.apxp-caps__grid li { display: flex; gap: 14px; align-items: baseline; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 16px; line-height: 1.4; transition: border-color .2s, transform .2s; }
.apxp-caps__grid li:hover { border-color: var(--teal); transform: translateY(-2px); }
.apxp-caps__grid li span { font-family: var(--ff-d); font-weight: 800; color: var(--teal); font-size: 18px; flex: none; }
.apxp-cus { max-width: 860px; text-align: center; }
.apxp-cus .apxh-btns { justify-content: center; }
.apxp .apxp-sign { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-family: var(--ff-d); font-size: 20px; font-weight: 600; color: var(--teal-l); }

/* ---------- CONTACT ---------- */
.apxp-band {
	background:
		radial-gradient(55% 90% at 90% 0%, rgba(51,179,178,.22), transparent 60%),
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
		var(--ink);
	color: #fff; padding-block: 56px 120px;
}
.apxp-band h1 { margin-top: 18px; color: #fff; font-size: clamp(38px, 5vw, 64px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.apxh--ar .apxp-band h1 { text-transform: none; font-weight: 700; line-height: 1.25; }
.apxp-band .apxh-lead { max-width: 620px; }
.apxp-cbody { background: var(--surface); padding-bottom: 88px; }
.apxp-cgrid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 24px; align-items: start; transform: translateY(-72px); margin-bottom: -72px; }
.apxp-channels { display: grid; gap: 14px; }
.apxp .apxp-ch { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s, box-shadow .2s; }
.apxp .apxp-ch:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 20px 40px -26px rgba(11,15,19,.35); color: var(--ink); }
.apxp-ch > .apxh-arr { font-size: 20px; color: var(--steel); margin-inline-start: auto; }
.apxp-ch__ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--ink); color: var(--teal); font-size: 24px; flex: none; }
.apxp-ch--wa .apxp-ch__ic { background: #25d366; color: #fff; }
.apxp-ch__tx { display: flex; flex-direction: column; min-width: 0; }
.apxp-ch__tx strong { font-size: 17px; }
.apxp-ch__tx span { font-weight: 600; color: var(--ink); }
.apxh--ar .apxp-ch__tx span { text-align: end; align-self: flex-start; }
.apxp-ch__tx small { font-size: 13px; color: var(--steel); }
.apxp-rq { padding: 24px; border-radius: 18px; background: var(--ink); color: #fff; }
.apxp-rq strong { display: block; margin-top: 16px; font-size: 19px; }
.apxp-rq p { margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.65); }
.apxp-rq .apxh-btn { margin-top: 18px; width: 100%; min-height: 50px; }
.apxp-rq .apxp-ch__ic { background: rgba(51,179,178,.15); }
.apxp-formcard { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 36px; box-shadow: 0 30px 60px -40px rgba(11,15,19,.45); }
.apxp-formcard h2 { font-size: 32px; }
.apxp .apxp-formcard__p { margin-top: 6px; color: var(--steel); }
.apxp-formcard .wpcf7 { margin-top: 26px; }
.apxp-formcard .wpcf7 form > p { margin: 0 0 18px; }
.apxp-formcard .wpcf7 label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); }
.apxp-formcard .wpcf7-form-control-wrap { display: block; margin-top: 7px; }
.apxp-formcard input[type="text"], .apxp-formcard input[type="email"], .apxp-formcard textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; font-family: var(--ff); font-size: 15px; color: var(--ink);
	background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; box-shadow: none;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.apxp-formcard textarea { min-height: 140px; height: 140px; resize: vertical; }
.apxp-formcard input:focus, .apxp-formcard textarea:focus { outline: none; background: #fff; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(51,179,178,.15); }
.apxp-formcard input[type="submit"] {
	width: 100%; min-height: 56px; border: 0; border-radius: 12px; background: var(--teal); color: var(--ink);
	font-family: var(--ff); font-size: 17px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; transition: background-color .2s, color .2s;
}
.apxp-formcard input[type="submit"]:hover { background: var(--ink); color: #fff; }
.apxp-formcard .wpcf7-not-valid { border-color: #d64545 !important; background: #fff6f6 !important; }
.apxp-formcard .wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; }

/* ---------- SHOP HEADER ---------- */
.apxp-shophead {
	background:
		radial-gradient(50% 120% at 90% 0%, rgba(51,179,178,.22), transparent 60%),
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 48px 48px,
		var(--ink);
	color: #fff; padding-block: 44px; margin-bottom: 36px;
}
.apxp-shophead__in { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.apxp-shophead h1 { margin-top: 14px; color: #fff; font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1; text-transform: uppercase; }
.apxh--ar.apxp-shophead h1 { text-transform: none; font-weight: 700; line-height: 1.3; }
.apxp-shophead .apxh-lead { margin-top: 10px; font-size: 16px; max-width: 520px; }
.apxp-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.apxp .apxp-chips a { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600; transition: border-color .2s, background-color .2s, color .2s; }
.apxp .apxp-chips a:hover { border-color: var(--teal); color: #fff; }
.apxp .apxp-chips a.is-on { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.apxp .apxp-chips a.apxp-chips__rq { border-style: dashed; color: var(--teal-l); }

/* ---------- SHOP CARDS (Woodmart loop) ---------- */
body.post-type-archive-product .wd-product .product-wrapper,
body.tax-product_cat .wd-product .product-wrapper {
	height: 100%; padding: 0 0 16px; background: #fff; border: 1px solid #e3e7ea; border-radius: 16px; overflow: hidden;
	transition: border-color .25s, box-shadow .25s, transform .25s;
}
body.post-type-archive-product .wd-product:hover .product-wrapper,
body.tax-product_cat .wd-product:hover .product-wrapper {
	border-color: #33b3b2; box-shadow: 0 20px 40px -24px rgba(11,15,19,.35); transform: translateY(-3px);
}
body.post-type-archive-product .wd-product .product-element-top,
body.tax-product_cat .wd-product .product-element-top { margin-bottom: 14px; border-bottom: 1px solid #e3e7ea; border-radius: 0; }
body.post-type-archive-product .wd-product .product-element-bottom,
body.tax-product_cat .wd-product .product-element-bottom { padding-inline: 16px; }
body.post-type-archive-product .wd-product .wd-entities-title,
body.tax-product_cat .wd-product .wd-entities-title { font-size: 15px; font-weight: 600; line-height: 1.4; text-transform: capitalize; }
body.post-type-archive-product .wd-product .wd-product-cats a,
body.tax-product_cat .wd-product .wd-product-cats a { color: #1f8f8e; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
body.post-type-archive-product .wd-product .price,
body.tax-product_cat .wd-product .price { color: #0b0f13; font-weight: 700; font-size: 17px; }
body.post-type-archive-product .wd-product .price del,
body.tax-product_cat .wd-product .price del { color: #8a949c; font-weight: 400; }
body.post-type-archive-product .wd-product .onsale,
body.tax-product_cat .wd-product .onsale { background: #33b3b2; color: #0b0f13; }
body.post-type-archive-product .wd-content-layout .widget-title,
body.tax-product_cat .wd-content-layout .widget-title { font-size: 15px; letter-spacing: .06em; }
body.post-type-archive-product .wd-content-layout .widget,
body.tax-product_cat .wd-content-layout .widget { border-color: #e3e7ea; }
body.post-type-archive-product .wd-content-layout select,
body.tax-product_cat .wd-content-layout select { border-radius: 10px; }
body.post-type-archive-product .wd-content-layout .button,
body.tax-product_cat .wd-content-layout .button { border-radius: 10px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
	.apxp-cgrid { grid-template-columns: 1fr; }
	.apxp-formcard { order: -1; }
	.apxp-caps__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.apxp-story__grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
	.apxp-hero { padding-block: 20px 52px; }
	.apxp-caps__grid { grid-template-columns: 1fr; gap: 10px; }
	.apxp-caps__grid li { padding: 16px 18px; }
	.apxp-story__img { padding: 16px; }
	.apxp-band { padding-block: 32px 96px; }
	.apxp-cgrid { transform: translateY(-64px); margin-bottom: -64px; gap: 14px; }
	.apxp-formcard { padding: 22px 18px; border-radius: 16px; }
	.apxp-formcard h2 { font-size: 26px; }
	.apxp-formcard input, .apxp-formcard textarea { font-size: 16px; }
	.apxp-cbody { padding-bottom: 56px; }
	.apxp-shophead { padding-block: 28px; margin-bottom: 20px; }
	.apxp-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
	.apxp .apxp-chips a { white-space: nowrap; flex: none; }
	body.post-type-archive-product .wd-product .product-element-bottom,
	body.tax-product_cat .wd-product .product-element-bottom { padding-inline: 10px; }
	body.post-type-archive-product .wd-product .wd-entities-title,
	body.tax-product_cat .wd-product .wd-entities-title { font-size: 13.5px; }
}

/* Woodmart's primary blue wins on these without the extra weight */
.apxp .apxp-formcard .wpcf7 input[type="submit"] { background-color: var(--teal); color: var(--ink); border-radius: 12px; box-shadow: none; }
.apxp .apxp-formcard .wpcf7 input[type="submit"]:hover { background-color: var(--ink); color: #fff; }
body.post-type-archive-product .wd-product .price .amount,
body.tax-product_cat .wd-product .price .amount,
body.post-type-archive-product .wd-product .price ins .amount,
body.tax-product_cat .wd-product .price ins .amount { color: #0b0f13; }
body.post-type-archive-product .wd-product .price del .amount,
body.tax-product_cat .wd-product .price del .amount { color: #8a949c; }
