/* ==========================================================
   Sosaras Gallery — main stylesheet
   ========================================================== */
:root {
	--ink: #111;
	--ink-2: #333;
	--muted: #6b6b6b;
	--line: #e6e6e6;
	--soft: #f6f5f3;
	--paper: #fff;
	--accent: #b4552e;          /* warm terracotta for small highlights */
	--radius: 2px;
	--wrap: 1360px;
	--gutter: clamp(16px, 3vw, 40px);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(30px, 4.4vw, 52px); }
h2 { font-size: clamp(22px, 2.4vw, 30px); }
h3 { font-size: 15px; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 999; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.icon { display: inline-flex; width: 22px; height: 22px; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }

/* Buttons */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 28px; border: 1px solid var(--ink); border-radius: var(--radius);
	background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .02em;
	cursor: pointer; transition: background .2s, color .2s; text-decoration: none;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: #333; color: #fff; }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; border-bottom: 1px solid transparent; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 9px 16px; letter-spacing: .01em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: 0 0 auto; }
.wordmark { display: flex; flex-direction: column; line-height: 1; }
.wordmark-main { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.wordmark-sub { font-size: 10px; text-transform: uppercase; letter-spacing: .28em; color: var(--muted); margin-top: 5px; }
.custom-logo { max-height: 48px; width: auto; }

.header-search { flex: 1 1 auto; max-width: 640px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); transition: border-color .2s, background .2s; }
.header-search:focus-within { border-color: var(--ink); background: #fff; }
.header-search .icon { width: 18px; height: 18px; color: var(--muted); flex: none; }
.header-search input { flex: 1; border: 0; background: transparent; outline: none; font-size: 14px; min-width: 0; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; border-radius: 50%; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; line-height: 18px; text-align: center; }
.menu-toggle, .menu-close { display: none; }

/* Category nav */
.site-nav { border-top: 1px solid var(--line); }
.main-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.main-menu > li { position: relative; }
.main-menu > li > a { display: block; padding: 14px 0; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; }
.main-menu > li:hover > a, .main-menu > li.current-menu-item > a { border-color: var(--ink); }
.main-menu .sub-menu { list-style: none; position: absolute; left: -20px; top: 100%; min-width: 220px; margin: 0; padding: 14px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0,0,0,.08); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.main-menu li:hover > .sub-menu, .main-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-menu .sub-menu a { display: block; padding: 8px 20px; font-size: 14px; color: var(--ink-2); }
.main-menu .sub-menu a:hover { background: var(--soft); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; min-height: 520px; background: var(--soft); }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 80px); }
.hero-panel h1 { max-width: 14ch; }
.hero-text { font-size: 17px; color: var(--ink-2); max-width: 42ch; margin-bottom: 28px; }
.hero-panel .btn { align-self: flex-start; }

/* ---------- Sections ---------- */
.section { padding-top: clamp(48px, 6vw, 80px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.section-sub { color: var(--muted); margin: 6px 0 0; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { display: block; }
.tile-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile-label { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; }

/* Artwork grid + card */
.art-grid, .woocommerce ul.products, ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; list-style: none; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; }
.art-card { display: flex; flex-direction: column; }
.art-thumb { position: relative; display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 1 / 1.08; padding: 0; margin-bottom: 14px; }
.art-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 12px 24px -12px rgba(0,0,0,.18); transition: transform .35s ease, box-shadow .35s; }
.art-card:hover .art-thumb img { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,.08), 0 22px 34px -14px rgba(0,0,0,.28); }
.badge-sold { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 4px 8px; }
.art-info { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.art-title { font-size: 15px; font-weight: 600; margin: 0 0 2px; }
.art-artist { font-size: 14px; color: var(--ink-2); margin: 0; }
.art-meta { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.art-price { font-size: 15px; font-weight: 600; margin: 8px 0 0; }
.art-price del { color: var(--muted); font-weight: 400; margin-right: 6px; }
.art-price ins { text-decoration: none; color: var(--accent); }
.fav { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; color: var(--ink); border-radius: 50%; margin: -6px -6px 0 0; }
.fav:hover { background: var(--soft); }
.fav .icon { width: 20px; height: 20px; }
.fav[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); }

/* Price / size chips */
.split-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 36px; background: var(--soft); }
.filter-block h2 { font-size: 20px; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid #d6d6d6; border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; transition: .15s; }
.chip:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection:hover img { transform: scale(1.04); }
.collection-text { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 28px 24px 24px; background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; }
.collection-text .eyebrow { color: rgba(255,255,255,.8); margin: 0; }
.collection-text strong { font-size: 22px; font-weight: 600; }
.collection-text .link-arrow { color: #fff; margin-top: 6px; }

/* About band */
.about-band { margin-top: clamp(56px, 7vw, 96px); background: var(--soft); padding: clamp(48px, 6vw, 88px) 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-img { aspect-ratio: 4 / 5; overflow: hidden; max-width: 520px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 17px; color: var(--ink-2); max-width: 46ch; }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* ---------- Trust bar + footer ---------- */
.trust-bar { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 28px; padding-bottom: 28px; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item .icon { width: 26px; height: 26px; flex: none; }
.trust-item strong { display: block; font-size: 14px; }
.trust-item span { font-size: 13px; color: var(--muted); }

.site-footer { background: var(--ink); color: #cfcfcf; padding-top: 64px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.wordmark-light .wordmark-main { color: #fff; }
.wordmark-light .wordmark-sub { color: #9a9a9a; }
.footer-brand p { margin: 18px 0; max-width: 40ch; }
.newsletter { display: flex; flex-wrap: wrap; max-width: 420px; }
.newsletter input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #444; border-right: 0; background: transparent; color: #fff; outline: none; }
.newsletter input:focus { border-color: #fff; }
.newsletter button { height: 46px; padding: 0 20px; border: 1px solid #fff; background: #fff; color: var(--ink); font-weight: 600; cursor: pointer; }
.nl-thanks { display: none; width: 100%; margin-top: 10px; color: #fff; }
.newsletter.done .nl-thanks { display: block; }
.socials { display: flex; gap: 18px; margin-top: 22px; }
.socials a:hover, .footer-col a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid #2c2c2c; font-size: 13px; color: #8d8d8d; }

/* ---------- Generic pages ---------- */
.page-wrap { padding-top: 48px; }
.page-wrap.narrow { max-width: 820px; }
.page-wrap.center { text-align: center; padding-top: 96px; }
.page-head { margin-bottom: 32px; }
.entry { font-size: 16px; }
.entry img { margin: 1.5em 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.post-thumb img { aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 14px; }
.single-thumb { margin-bottom: 28px; }

/* ---------- WooCommerce ---------- */
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.woocommerce-products-header__title { margin-bottom: 8px; }
.shop-wrap .woocommerce-result-count { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.shop-wrap .woocommerce-ordering { margin: 0 0 24px; float: right; }
.woocommerce-ordering select, .woocommerce select, .woocommerce input.input-text, .woocommerce textarea, .woocommerce form .form-row input.input-text {
	height: 44px; padding: 0 14px; border: 1px solid #d6d6d6; border-radius: var(--radius); background: #fff;
}
.woocommerce textarea { height: auto; padding: 12px 14px; }
.woocommerce nav.woocommerce-pagination { margin-top: 48px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 40px; height: 40px; line-height: 40px; padding: 0 10px; border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Single artwork page */
.single-product div.product { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; background: var(--soft); padding: clamp(20px, 4vw, 56px); }
.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; position: sticky; top: calc(var(--header-h) + 70px); }
.single-product div.product .woocommerce-tabs, .single-product .related, .single-product .upsells { grid-column: 1 / -1; }
.single-product .product_title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 4px; }
.single-product .summary .price { font-size: 26px !important; font-weight: 600; color: var(--ink) !important; margin: 18px 0; }
.single-product .summary form.cart { display: flex; gap: 10px; margin: 22px 0; }
.single-product .summary form.cart .quantity { display: none; } /* originals are one-of-a-kind */
.single-product .summary .single_add_to_cart_button { flex: 1; min-height: 54px; font-size: 15px; background: var(--ink) !important; }
.single-product .product_meta { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.single-product .product_meta > span { display: block; margin-bottom: 4px; }
.art-promises { list-style: none; margin: 0 0 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.art-promises li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; }
.art-promises .icon { width: 20px; height: 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 48px 0 0; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none !important; border: 0 !important; border-radius: 0 !important; margin: 0 28px 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 0 !important; font-weight: 600 !important; color: var(--muted) !important; border-bottom: 2px solid transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink) !important; border-color: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel { padding-top: 24px; max-width: 760px; }
.related > h2, .upsells > h2 { margin: 64px 0 24px; }

/* Cart / checkout / notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--ink) !important; background: var(--soft) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink) !important; }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--soft); padding: 28px; }
.woocommerce #payment { background: #fff !important; border-radius: 0 !important; }
.woocommerce .wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--ink) !important; color: #fff !important; border-radius: var(--radius) !important; }
.onsale { background: var(--accent) !important; border-radius: 0 !important; min-height: 0 !important; min-width: 0 !important; line-height: 1 !important; padding: 6px 10px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.tiles { grid-template-columns: repeat(3, 1fr); }
	.art-grid, .woocommerce ul.products, ul.products { grid-template-columns: repeat(3, 1fr); }
	.main-menu { gap: 24px; }
}
@media (max-width: 900px) {
	:root { --header-h: 62px; }
	.header-row { gap: 10px; }
	.menu-toggle { display: inline-flex; margin-left: -8px; }
	.header-search { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 0px); max-width: none; height: 42px; }
	.site-header { padding-bottom: 54px; }
	.wordmark-main { font-size: 22px; }
	.hide-sm { display: none; }

	.site-nav { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); z-index: 120; background: #fff; border: 0; transform: translateX(-100%); transition: transform .28s ease; overflow-y: auto; }
	.site-nav.open { transform: none; box-shadow: 0 0 40px rgba(0,0,0,.2); }
	.nav-inner { padding-top: 12px; }
	.menu-close { display: inline-flex; margin-bottom: 8px; }
	.main-menu { flex-direction: column; gap: 0; }
	.main-menu > li > a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
	.main-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px; display: none; }
	.main-menu li.open > .sub-menu { display: block; }
	.main-menu .menu-item-has-children > a::after { content: "+"; float: right; font-weight: 400; }
	.main-menu .menu-item-has-children.open > a::after { content: "–"; }
	.main-menu .sub-menu a { padding: 8px 12px; }
	.nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 110; }

	.hero { grid-template-columns: 1fr; min-height: 0; }
	.hero-media { aspect-ratio: 16 / 10; }
	.split-filters, .about-grid { grid-template-columns: 1fr; }
	.split-filters { padding: 24px; gap: 28px; }
	.collections { grid-template-columns: 1fr 1fr; }
	.collections .collection:last-child { display: none; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-brand { grid-column: 1 / -1; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.single-product div.product { grid-template-columns: 1fr; }
	.single-product div.product .summary { position: static; }
}
@media (max-width: 600px) {
	body { font-size: 14px; }
	.tiles { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.tile-label { font-size: 13px; }
	.art-grid, .woocommerce ul.products, ul.products { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
	.art-title { font-size: 14px; }
	.collections { grid-template-columns: 1fr; }
	.collections .collection:last-child { display: block; }
	.collection { aspect-ratio: 16 / 11; }
	.trust-grid { grid-template-columns: 1fr; gap: 16px; }
	.post-grid { grid-template-columns: 1fr; }
	.section-head { align-items: flex-start; flex-direction: column; }
}

/* ==========================================================
   v1.1 — contact details, socials, WhatsApp assistant, pages
   ========================================================== */
:root { --wa: #25d366; --wa-dark: #075e54; --wa-bg: #efeae2; }

/* Top bar with phone + socials */
.topbar { padding: 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar-msg { flex: 1; text-align: center; }
.topbar-side { flex: 0 0 200px; display: flex; }
.topbar-right { justify-content: flex-end; }
.topbar a { color: #fff; }
.topbar-socials { display: flex; gap: 12px; }
.topbar-socials .brand-icon { width: 15px; height: 15px; }
.topbar-socials a { opacity: .85; }
.topbar-socials a:hover { opacity: 1; }

/* Brand icons */
.brand-icon { display: inline-flex; width: 20px; height: 20px; flex: none; }
.brand-icon svg { width: 100%; height: 100%; fill: currentColor; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.socials .social { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3a3a3a; color: #fff; transition: background .2s, border-color .2s, color .2s; }
.socials .social:hover { background: #fff; color: var(--ink); border-color: #fff; }
.socials .social-whatsapp:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.socials-dark .social { border-color: var(--line); color: var(--ink); }
.socials-dark .social:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Footer: brand + shop + help + contact */
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .icon, .footer-contact .brand-icon { width: 17px; height: 17px; color: #9a9a9a; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: #fff; }

/* Homepage bits */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-panel .btn { align-self: auto; }
.filter-text { color: var(--ink-2); max-width: 46ch; }
.btn-wa .brand-icon, .wa-enquire .brand-icon { width: 18px; height: 18px; }
.btn-wa:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.price-request { font-weight: 600; color: var(--ink-2); }

/* Single product WhatsApp button */
.wa-enquire { width: 100%; margin: 8px 0 22px; background: #fff; color: var(--ink); }
.wa-enquire:hover { background: var(--wa); border-color: var(--wa); color: #fff; }
.wa-enquire-primary { background: var(--wa); border-color: var(--wa); color: #fff; min-height: 54px; font-size: 15px; }
.wa-enquire-primary:hover { background: #1ebe5b; border-color: #1ebe5b; }

/* Contact page */
.lead { font-size: 18px; color: var(--ink-2); max-width: 60ch; }
.contact-head { max-width: 760px; }
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, box-shadow .2s; min-width: 0; }
a.contact-card:hover { border-color: var(--ink); box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.contact-card .icon, .contact-card .brand-icon { width: 28px; height: 28px; margin-bottom: 10px; }
.contact-card strong { font-size: 16px; }
.contact-card span { color: var(--ink-2); overflow-wrap: anywhere; }
.contact-card em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); margin-top: auto; padding-top: 10px; }
.contact-card-wa .brand-icon { color: var(--wa); }
.contact-card-wa:hover { border-color: var(--wa) !important; }
.contact-follow { margin-top: 48px; padding: 36px; background: var(--soft); }
.contact-follow h2 { font-size: 22px; }
.contact-follow p { color: var(--muted); margin: 0; }
.contact-follow .socials { margin-top: 18px; }
.contact-form-wrap { margin-top: 48px; max-width: 760px; }

/* About page */
.about-hero { background: var(--soft); padding: clamp(40px, 6vw, 80px) 0; }
.about-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-hero-img img { width: 100%; box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 24px 40px -20px rgba(0,0,0,.3); }
.about-entry { font-size: 17px; line-height: 1.75; }
.about-entry h2 { margin-top: 1.6em; font-size: 24px; }
.about-entry blockquote { margin: 1.6em 0; padding: 0 0 0 20px; border-left: 3px solid var(--ink); font-size: 20px; font-style: italic; color: var(--ink-2); }
.about-cta { margin-top: 36px; }

/* ---------- WhatsApp assistant ---------- */
.wa-widget { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px)); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--font); }
.wa-fab { width: 60px; height: 60px; border: 0; border-radius: 50%; background: var(--wa); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.22); transition: transform .2s; }
.wa-fab:hover { transform: scale(1.06); }
.wa-fab .brand-icon { width: 32px; height: 32px; }
.wa-teaser { position: relative; max-width: 260px; padding: 14px 34px 14px 16px; background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.18); font-size: 14px; cursor: pointer; animation: wa-pop .3s ease; }
.wa-teaser-close { position: absolute; top: 4px; right: 6px; border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px; }
.wa-panel { width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); display: flex; flex-direction: column; background: var(--wa-bg); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 50px rgba(0,0,0,.28); animation: wa-pop .25s ease; }
.wa-panel[hidden] { display: none; }
.wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--wa-dark); color: #fff; }
.wa-avatar { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--wa-dark); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex: none; }
.wa-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wa-who strong { font-size: 15px; }
.wa-who span { font-size: 12px; opacity: .8; }
.wa-close { margin-left: auto; border: 0; background: none; color: #fff; cursor: pointer; padding: 6px; border-radius: 50%; display: inline-flex; }
.wa-close:hover { background: rgba(255,255,255,.12); }
.wa-close .icon { width: 20px; height: 20px; }
.wa-body { flex: 1; overflow-y: auto; padding: 16px 12px 8px; display: flex; flex-direction: column; gap: 8px; }
.wa-msg { max-width: 85%; padding: 8px 10px 18px; border-radius: 10px; font-size: 14px; line-height: 1.45; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); animation: wa-pop .2s ease; }
.wa-msg p { margin: 0; white-space: pre-line; }
.wa-bot { align-self: flex-start; background: #fff; border-top-left-radius: 2px; }
.wa-me { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 2px; }
.wa-time { position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #8a8a8a; }
.wa-typing { padding: 12px 14px; display: inline-flex; gap: 4px; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9aa3a0; animation: wa-dot 1s infinite ease-in-out; }
.wa-typing i:nth-child(2) { animation-delay: .15s; }
.wa-typing i:nth-child(3) { animation-delay: .3s; }
.wa-handoff-wrap { align-self: flex-start; }
.wa-handoff { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--wa); color: #fff !important; font-size: 13px; font-weight: 600; }
.wa-handoff:hover { background: #1ebe5b; }
.wa-options { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 12px 10px; }
.wa-options:empty { display: none; }
.wa-opt { border: 1px solid var(--wa-dark); background: #fff; color: var(--wa-dark); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 500; cursor: pointer; text-align: left; }
.wa-opt:hover { background: var(--wa-dark); color: #fff; }
.wa-compose { display: flex; gap: 8px; padding: 10px; background: #f0f0f0; }
.wa-compose input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 0; border-radius: 999px; background: #fff; outline: none; font-size: 14px; }
.wa-compose button { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--wa-dark); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.wa-compose button svg { width: 18px; height: 18px; fill: currentColor; }
@keyframes wa-pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wa-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wa-panel, .wa-msg, .wa-teaser { animation: none; } .wa-typing i { animation: none; } }

@media (max-width: 1180px) {
	.contact-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.topbar-side { display: none; }
	.topbar-inner { min-height: 0; padding-top: 9px; padding-bottom: 9px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.about-hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.contact-cards { grid-template-columns: 1fr; }
	.contact-follow { padding: 24px; }
	.wa-widget { right: max(14px, env(safe-area-inset-right, 0px)); bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
	.wa-fab { width: 54px; height: 54px; }
	.footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
   v1.2 — benefits, studio video, beyond the canvas, rooms,
   journey, Instagram community
   ========================================================== */
/* Benefits strip under hero */
.benefits { border-bottom: 1px solid var(--line); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 26px; padding-bottom: 26px; }
.benefit { display: flex; gap: 14px; align-items: center; justify-content: center; }
.benefit .icon { width: 30px; height: 30px; flex: none; }
.benefit strong { display: block; font-size: 15px; }
.benefit span { font-size: 13px; color: var(--muted); }

/* Studio video */
.video-band { margin-top: clamp(56px, 7vw, 96px); background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 80px) 0; }
.video-band-compact { margin-top: 0; }
.video-grid { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.video-frame { position: relative; aspect-ratio: 9 / 16; max-height: 640px; max-width: 100%; overflow: hidden; background: #000; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-toggle { position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.55); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.video-toggle span { display: block; width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.video-frame.is-paused .video-toggle span { width: 0; height: 0; border-left: 14px solid #fff; border-right: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 4px; }
.video-copy .eyebrow { color: #a7a7a7; }
.video-copy h2 { font-size: clamp(28px, 3.4vw, 44px); }
.video-copy p { color: #d6d6d6; font-size: 17px; max-width: 46ch; }
.video-copy .btn-dark { background: #fff; color: var(--ink); border-color: #fff; }
.video-copy .btn-dark:hover { background: #e6e6e6; color: var(--ink); }
.video-copy .btn-outline { color: #fff; border-color: #fff; }
.video-copy .btn-outline:hover { background: #fff; color: var(--ink); }

/* Beyond the canvas */
.beyond-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.beyond-card { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.beyond-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); margin-bottom: 8px; }
.beyond-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.beyond-card:hover .beyond-img img { transform: scale(1.04); }
.beyond-card strong { font-size: 17px; }
.beyond-text { color: var(--ink-2); font-size: 14px; }
.beyond-card .link-arrow { margin-top: 4px; }

/* See it in your home */
.rooms-nav { display: flex; gap: 6px; }
.rooms-nav .icon-btn { border: 1px solid var(--line); }
.icon.flip { transform: rotate(180deg); }
.rooms-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 8px; scrollbar-width: thin; }
.room { position: relative; flex: 0 0 clamp(240px, 28vw, 380px); aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; background: var(--soft); }
.room img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room:hover img { transform: scale(1.04); }
.room-label { position: absolute; left: 12px; bottom: 12px; background: #fff; padding: 6px 10px; font-size: 13px; font-weight: 600; }

/* Journey of a painting */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: none; }
.journey li { border-top: 2px solid var(--ink); padding-top: 18px; }
.journey-step { display: block; font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.journey h3 { font-size: 18px; margin-bottom: 8px; }
.journey p { color: var(--ink-2); font-size: 14px; margin: 0; }

/* Instagram community */
.insta-head { text-align: center; max-width: 620px; margin: 0 auto 28px; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta-tile { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; }
.insta-tile:hover img { transform: scale(1.06); opacity: .9; }
.insta-cta { text-align: center; margin-top: 24px; }
.insta-cta .brand-icon { width: 18px; height: 18px; }

@media (max-width: 1180px) {
	.beyond-grid { grid-template-columns: repeat(2, 1fr); }
	.journey { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.benefits-grid { grid-template-columns: 1fr; gap: 14px; }
	.benefit { justify-content: flex-start; }
	.video-grid { grid-template-columns: 1fr; }
	.video-frame { max-width: 360px; width: 100%; margin: 0 auto; }
	.insta-grid { grid-template-columns: repeat(3, 1fr); }
	.rooms-nav { display: none; }
}
@media (max-width: 600px) {
	.beyond-grid { gap: 20px 14px; }
	.journey { grid-template-columns: 1fr; }
	.room { flex-basis: 78vw; }
}
@media (prefers-reduced-motion: reduce) {
	.beyond-img img, .room img, .insta-tile img { transition: none; }
}

/* Studio films (About page) */
.reels { padding: clamp(48px, 6vw, 80px) 0 0; }
.reels-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.reel { margin: 0; min-width: 0; }
.reel video { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #000; display: block; }
.reel figcaption { font-size: 14px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 900px) { .reels-grid { grid-template-columns: 1fr; max-width: 420px; } }


/* v1.2.1 fix: keep painting grids inside the screen */
.art-grid > *, .woocommerce ul.products > li, ul.products > li, .beyond-grid > *, .journey > li { min-width: 0; }
.art-thumb img { max-width: 100%; }
.fav { margin-right: 0; }


/* ==========================================================
   v1.3 — payment methods + policy pages
   ========================================================== */
.policy-updated { color: var(--muted); font-size: 14px; }
.entry h2 { margin-top: 1.8em; font-size: 22px; }
.entry h3 { margin-top: 1.4em; font-size: 17px; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.policy-note { background: var(--soft); border-left: 3px solid var(--ink); padding: 14px 18px; margin: 1.4em 0; }
.policy-note p:last-child { margin-bottom: 0; }
.pay-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.pay-card { border: 1px solid var(--line); background: #fff; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pay-head { display: flex; align-items: center; gap: 14px; }
.pay-head img, .pay-icon { width: 56px; height: 56px; border-radius: 12px; flex: none; object-fit: contain; }
.pay-icon { display: inline-flex; align-items: center; justify-content: center; background: #1f7a4d; color: #fff; }
.pay-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pay-head h3 { margin: 0; font-size: 18px; }
.pay-head span { font-size: 13px; color: var(--muted); }
.pay-qrs { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.pay-qr { margin: 0; text-align: center; flex: 1 1 140px; max-width: 220px; }
.entry .pay-qr img, .pay-qr img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto; background: #fff; padding: 8px; border: 1px solid var(--line); image-rendering: pixelated; }
.pay-qr figcaption { margin-top: 8px; display: flex; flex-direction: column; gap: 2px; }
.pay-qr figcaption span { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pay-qr figcaption strong { font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.pay-steps { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--ink-2); }
.pay-steps li { margin-bottom: 6px; }
@media (max-width: 1000px) { .pay-methods { grid-template-columns: 1fr; max-width: 560px; } }

/* v1.3.1 — stacked payment cards */
.pay-methods { grid-template-columns: 1fr; }
.pay-card { gap: 18px; }
@media (min-width: 700px) {
	.pay-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; row-gap: 18px; align-items: start; }
	.pay-head { grid-column: 1 / -1; }
	.pay-qrs { justify-content: flex-start; flex-wrap: nowrap; }
	.pay-qr { flex: 0 0 190px; }
	.pay-card:not(:has(.pay-qrs)) .pay-steps { grid-column: 1 / -1; }
}


/* ==========================================================
   v1.4 — mobile + buy-button pass (critique 27 Oct 2026)
   ========================================================== */
:root { --wa-btn: #0f7a40; --wa-btn-hover: #0b6b3a; --wa-bubble: #128c4a; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
button, .btn, .chip, .icon-btn, .fav, .wa-opt, .tile, .room { touch-action: manipulation; }
.btn, .chip, .wa-opt, .icon-btn, .fav { -webkit-user-select: none; user-select: none; }
.btn, .chip, .icon-btn, .fav { transition: background .2s, color .2s, border-color .2s, transform .12s cubic-bezier(.2, .8, .2, 1); }
.btn:active, .chip:active, .icon-btn:active, .fav:active { transform: scale(.97); }

/* Buy button: readable WhatsApp green (5.4:1 with white text) */
.wa-enquire-primary { background: var(--wa-btn); border-color: var(--wa-btn); color: #fff; }
.wa-enquire-primary:hover, .wa-enquire:hover, .btn-wa:hover { background: var(--wa-btn-hover); border-color: var(--wa-btn-hover); color: #fff; }
.wa-fab { background: var(--wa-bubble); }
.wa-fab:hover { background: var(--wa-btn); }
.wa-handoff { background: var(--wa-btn); }
.wa-handoff:hover { background: var(--wa-btn-hover); }
.wa-compose input:focus-visible { outline: 2px solid var(--wa-dark); outline-offset: 2px; }

/* Price on request: a fact, not a headline */
.single-product .summary .price .price-request { font-size: 18px; }

/* Callouts: no thick side stripe */
.policy-note { border-left: 0; border: 1px solid var(--line); }

/* Footer headings are now h2 (correct heading order) */
.footer-col h2 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; font-weight: 600; }

/* Bigger tap targets */
.fav { width: 44px; height: 44px; margin: -10px 0 0 0; }
.footer-col li { margin-bottom: 0; }
.footer-col li a, .footer-contact li span { display: inline-flex; align-items: center; min-height: 40px; }
.topbar-socials a { display: inline-flex; padding: 6px; margin: -6px; }
.link-arrow { padding-block: 10px; }
.art-title a { display: inline-block; padding-block: 3px; }
.single-product .product_meta a { display: inline-block; padding-block: 6px; }

/* Phones: no input zoom, roomier product page, buy button always reachable */
@media (pointer: coarse) {
	input, select, textarea, .header-search input, .newsletter input, .wa-compose input, select.orderby { font-size: 16px; }
}
@media (max-width: 900px) {
	.site-header { position: relative; }
	.single-product div.product .woocommerce-product-gallery { padding: 12px; }
	body.single-product .wa-widget { display: none; }
	body.single-product .summary .wa-enquire-primary {
		position: sticky;
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		z-index: 20;
		box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .45);
	}
}

/* v1.4.1 — single-column commission block */
.split-single { grid-template-columns: 1fr; }
.split-single .filter-text { max-width: 60ch; }
