/*
Theme Name:   PASA.CITY
Theme URI:    https://pasa.city
Description:  Twenty Twenty-Five child theme for PASA.CITY — Contemporary Body Art Gallery. Design is driven by global styles (theme.json): Jost for text, Playfair Display for headings, a black-and-white palette and an XS–4XL type scale. Pages and the shop are built from core and WooCommerce blocks; section layouts come as patterns.
Author:       IFKEES LTD
Author URI:   https://ifkees.com/
Template:     twentytwentyfive
Version:      0.1.3
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 8.1
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  pasa-theme
*/

/* ---------- Base ---------- */

:root {
	--pasa-header-height: 90px;
	--pasa-dark: var(--wp--preset--color--heading);
}

body {
	-webkit-font-smoothing: antialiased;
}

strong,
b {
	font-weight: 500;
}

::selection {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* Eyebrow above section headings (paragraph block style) */
.is-style-pasa-eyebrow {
	font-family: var(--wp--preset--font-family--playfair);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--heading);
	margin-bottom: 0.25rem;
}

.pasa-lead {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
	max-width: 30rem;
}

.has-text-align-center.pasa-lead,
.pasa-section-head .pasa-lead {
	margin-left: auto;
	margin-right: auto;
}

.pasa-section-head {
	text-align: center;
	margin-bottom: var(--wp--preset--spacing--50);
}

.pasa-section-head h2 {
	max-width: 18em;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.25rem;
}

/* Arrow after link texts (↗), drawn in text style instead of the colour emoji */
.pasa-arrow::after {
	content: "\2197\FE0E";
	display: inline-block;
	margin-left: 0.4em;
	font-family: var(--wp--preset--font-family--jost);
	text-decoration: none;
}

/* Buttons: light variant (white on dark backgrounds) */
.wp-block-button.is-style-pasa-light .wp-block-button__link {
	background: var(--wp--preset--color--soft);
	color: var(--wp--preset--color--contrast);
}

.wp-block-button.is-style-pasa-light .wp-block-button__link:hover {
	background: var(--wp--preset--color--base);
}

/* ---------- Header ---------- */

header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--base);
}

.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.pasa-header {
	min-height: var(--pasa-header-height);
	border-bottom: 1px solid var(--wp--preset--color--soft);
}

.pasa-header .wp-block-site-logo img {
	height: auto;
}

.pasa-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 0.25rem 0;
	border-bottom: 1px solid transparent;
}

.pasa-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.pasa-header .wp-block-navigation .wp-block-navigation-item__content[aria-current="page"],
.pasa-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	border-bottom-color: var(--wp--preset--color--contrast);
}

.pasa-header__tools {
	gap: 1.1rem;
}

.pasa-header .wp-block-social-links {
	gap: 0.9rem;
}

.pasa-header .wp-block-social-links .wp-social-link svg {
	width: 1rem;
	height: 1rem;
}

.pasa-header .wc-block-mini-cart__button,
.pasa-header .wc-block-customer-account a {
	padding: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast);
}

@media (max-width: 781px) {
	:root {
		--pasa-header-height: 68px;
	}

	.pasa-header .wp-block-social-links {
		display: none;
	}

	/* Logo left, then account, cart and the menu button on the right */
	.pasa-header .wp-block-navigation {
		order: 3;
		margin-left: 0;
	}

	.pasa-header .wp-block-site-logo {
		margin-right: auto;
	}
}

/* ---------- Page header band (pages, shop, archives) ---------- */

.pasa-page-band {
	background: var(--wp--preset--color--soft);
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
	margin-block-start: 0;
}

.pasa-page-band .wp-block-post-title,
.pasa-page-band .wp-block-query-title,
.pasa-page-band .wp-block-heading {
	margin: 0;
	text-align: center;
}

.wp-site-blocks > main,
main.wp-block-group {
	margin-block-start: 0;
}

/* ---------- Product cards (shop, home, related) ---------- */

.pasa-products .wc-block-product,
.pasa-products .wp-block-post {
	background: var(--wp--preset--color--base);
	box-shadow: var(--wp--preset--shadow--card);
	padding-bottom: 1.25rem;
}

.pasa-products .wc-block-components-product-image,
.pasa-products .wp-block-woocommerce-product-image {
	margin-bottom: 1rem;
}

.pasa-products .wc-block-components-product-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	width: 100%;
}

.pasa-products--natural .wc-block-components-product-image img {
	aspect-ratio: auto;
}

.pasa-products .wp-block-post-title {
	font-family: var(--wp--preset--font-family--jost);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.45;
	text-transform: none;
	padding: 0 1rem;
	margin: 0 0 0.5rem;
	text-align: left;
}

.pasa-products .wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
}

.pasa-products .wp-block-woocommerce-product-price {
	padding: 0 1rem;
	font-size: var(--wp--preset--font-size--small);
	text-align: left;
	justify-content: flex-start;
}

/* Home: «latest arrivals» uses Playfair titles, as on the old site */
.pasa-products--serif .wp-block-post-title {
	font-family: var(--wp--preset--font-family--playfair);
	font-weight: 400;
	font-size: 1rem;
}

.pasa-products--flat .wc-block-product,
.pasa-products--flat .wp-block-post {
	box-shadow: none;
	background: transparent;
}

.pasa-shop-toolbar {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.pasa-shop-toolbar .woocommerce-ordering select {
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: transparent;
	font: inherit;
	padding: 0.25rem 1.5rem 0.25rem 0;
}

/* ---------- Single product ---------- */

.pasa-product .pasa-product__title {
	font-size: var(--wp--preset--font-size--xxx-large);
	text-transform: none;
	line-height: 1.25;
	margin-top: 0.25rem;
}

.pasa-product .pasa-product__cat,
.pasa-product .pasa-product__cat a {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--muted);
}

.pasa-product .wp-block-columns .wp-block-woocommerce-product-price {
	font-size: var(--wp--preset--font-size--large);
}

.pasa-product .pasa-products .wp-block-woocommerce-product-price {
	font-size: var(--wp--preset--font-size--small);
}

.pasa-product .wp-block-post-excerpt {
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--small);
}

.pasa-product .wp-block-add-to-cart-form .single_add_to_cart_button,
.pasa-product .wp-block-woocommerce-add-to-cart-form .single_add_to_cart_button {
	min-width: 16rem;
	border-radius: 0;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	font-family: var(--wp--preset--font-family--jost);
}

.pasa-trust {
	list-style: none;
	padding-left: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.pasa-trust li {
	padding-left: 1.5rem;
	position: relative;
	margin: 0.3rem 0;
}

.pasa-trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3em;
	width: 0.9em;
	height: 0.9em;
	background: currentColor;
	-webkit-mask: url("assets/images/icon-check.svg") center / contain no-repeat;
	mask: url("assets/images/icon-check.svg") center / contain no-repeat;
}

.pasa-product .wp-block-post-terms {
	font-size: 0.75rem;
	font-weight: 500;
}

/* ---------- Home sections ---------- */

/* Hero: video cover */
.pasa-hero {
	min-height: min(78vh, 760px);
}

.pasa-hero h1 {
	text-transform: none;
	color: var(--wp--preset--color--base);
	line-height: 1.1;
}

.pasa-hero h1 em {
	font-style: italic;
}

.pasa-hero__meta {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--base);
	opacity: 0.85;
}

/* Tiles with a label box on the image (collections, categories) */
.pasa-tile {
	position: relative;
}

.pasa-tile__label {
	background: rgba(38, 38, 38, 0.92);
	color: var(--wp--preset--color--base);
	padding: 1rem 1.5rem !important;
	display: inline-block;
}

.pasa-tile__label a {
	color: inherit;
	text-decoration: none;
}

/* Category list with arrows (home, «shop by category») */
.pasa-category-list p {
	margin: 0;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--wp--preset--color--soft);
	text-align: center;
	font-size: var(--wp--preset--font-size--large);
}

.pasa-category-list a {
	text-decoration: none;
	color: var(--wp--preset--color--heading);
}

/* Spotlight: dark image band with a white products panel */
.pasa-spotlight__panel {
	background: var(--wp--preset--color--base);
	padding: var(--wp--preset--spacing--40);
}

/* Journey cards: image with a white panel overlapping its lower part */
.pasa-overlap-card {
	position: relative;
}

.pasa-overlap-card .wp-block-cover {
	min-height: 460px;
	align-items: flex-end;
	padding: 0;
}

.pasa-overlap-card__panel {
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--body);
	width: 85%;
	padding: var(--wp--preset--spacing--40) !important;
	margin-bottom: var(--wp--preset--spacing--50) !important;
}

.pasa-overlap-card__panel h3 {
	text-transform: none;
	font-size: var(--wp--preset--font-size--large);
}

/* Testimonials */
.pasa-testimonials {
	background: var(--pasa-dark);
	color: var(--wp--preset--color--soft);
}

.pasa-testimonials .pasa-stars {
	color: var(--wp--preset--color--rating);
	letter-spacing: 0.1em;
	font-size: var(--wp--preset--font-size--small);
	margin: 0;
}

.pasa-testimonials .pasa-quote {
	font-size: 0.9375rem;
	color: var(--wp--preset--color--base);
}

.pasa-testimonials .pasa-author {
	gap: 0.75rem;
}

.pasa-testimonials .pasa-author img {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}

.pasa-testimonials .pasa-author p {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.4;
}

.pasa-testimonials .pasa-author strong {
	text-transform: uppercase;
	font-weight: 600;
	color: var(--wp--preset--color--base);
}

/* Gallery strip under «Follow the story» */
.pasa-strip.wp-block-gallery {
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.pasa-strip.wp-block-gallery .wp-block-image {
	flex: 0 0 min(19%, 260px) !important;
	scroll-snap-align: start;
}

.pasa-strip.wp-block-gallery .wp-block-image img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

@media (max-width: 781px) {
	.pasa-strip.wp-block-gallery .wp-block-image {
		flex-basis: 62% !important;
	}
}

/* FAQ (details blocks) */
.pasa-faq .wp-block-details summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--wp--preset--color--contrast);
}

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

.pasa-faq .wp-block-details summary::after {
	content: "+";
	font-size: 1.6rem;
	font-weight: 300;
	line-height: 1;
	margin-left: 1rem;
}

.pasa-faq .wp-block-details[open] summary::after {
	content: "\2212";
}

.pasa-faq .wp-block-details[open] {
	border-bottom-color: var(--wp--preset--color--muted);
}

.pasa-faq .wp-block-details > :not(summary) {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

/* ---------- Footer ---------- */

.pasa-footer {
	background: var(--pasa-dark);
	color: var(--wp--preset--color--soft);
	font-size: 0.9375rem;
}

.pasa-footer a {
	color: var(--wp--preset--color--soft);
	text-decoration: none;
}

.pasa-footer a:hover {
	color: var(--wp--preset--color--base);
	text-decoration: underline;
}

.pasa-footer h2,
.pasa-footer h3,
.pasa-footer .wp-block-site-title {
	color: var(--wp--preset--color--base);
}

.pasa-footer__heading {
	font-size: var(--wp--preset--font-size--medium) !important;
	text-transform: uppercase !important;
	margin-bottom: 0.75rem;
}

.pasa-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
	line-height: 2;
}

/* Benefits strip */
.pasa-benefits {
	border-bottom: 1px solid #5a5a5a;
}

.pasa-benefits .wp-block-column {
	text-align: center;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
}

.pasa-benefits .wp-block-column + .wp-block-column {
	border-left: 1px solid #5a5a5a;
}

.pasa-benefits h3 {
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 700;
	text-transform: uppercase !important;
	letter-spacing: 0.04em;
	margin: 0.75rem 0 0.5rem;
}

.pasa-benefits p {
	margin: 0;
}

.pasa-benefits .pasa-icon {
	display: block;
	width: 22px;
	height: 22px;
	margin: 0 auto;
	background: #8a8a8a;
	-webkit-mask: var(--pasa-icon) center / contain no-repeat;
	mask: var(--pasa-icon) center / contain no-repeat;
}

.pasa-icon--pin { --pasa-icon: url("assets/images/icon-pin.svg"); }
.pasa-icon--box { --pasa-icon: url("assets/images/icon-box.svg"); }
.pasa-icon--tag { --pasa-icon: url("assets/images/icon-tag.svg"); }
.pasa-icon--lock { --pasa-icon: url("assets/images/icon-lock.svg"); }

@media (max-width: 781px) {
	.pasa-benefits .wp-block-column + .wp-block-column {
		border-left: 0;
		border-top: 1px solid #5a5a5a;
	}
}

.pasa-footer__bottom {
	border-top: 1px solid #5a5a5a;
	font-size: var(--wp--preset--font-size--small);
}

.pasa-footer__bottom .wp-block-image img {
	max-height: 26px;
	width: auto;
}

/* ---------- WooCommerce details ---------- */

.wc-block-breadcrumbs,
.woocommerce-breadcrumb {
	font-size: 0.75rem;
	color: var(--wp--preset--color--muted);
}

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	border-radius: 0 !important;
	background: var(--wp--preset--color--contrast) !important;
	color: var(--wp--preset--color--base) !important;
}

/* ---------- Accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
	.pasa-hero video {
		display: none;
	}
}
