/* Shared components: product card, chips, page heroes, prose, forms. Loaded site-wide (~4 KB). */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; }
.card[hidden] { display: none; }
.card .well { position: relative; aspect-ratio: 1 / 1; background: var(--oat); border-radius: 4px; display: grid; place-items: center; overflow: hidden; }
.card .well::after {
	content: ""; position: absolute; inset: auto 18% 11% 18%; height: 8px; border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(51, 35, 28, 0.28), transparent 72%);
	transition: transform 0.6s var(--ease-out);
}
.card .well img { width: 70%; height: 70%; object-fit: contain; position: relative; z-index: 2; transition: transform 0.7s var(--ease-out); }
.card:hover .well img { transform: translateY(-14px) scale(1.05); }
.card:hover .well::after { transform: scaleX(0.8); }
.card .tag { position: absolute; z-index: 3; top: 10px; left: 10px; background: var(--pearl); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding: 5px 9px; border-radius: 2px; }
.card .tag.hot { background: var(--espresso); color: var(--oat); }
.card h3 { font-size: 17px; line-height: 1.25; }
.card .meta { font-size: 11.5px; color: var(--ink-subtle); letter-spacing: 0.03em; }
.card .price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.card .mrp { font-size: 14px; font-weight: 600; }
.card .pp { font-size: 11px; color: var(--emerald); font-weight: 600; }
@media (min-width: 900px) {
	.grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
	.card h3 { font-size: 19px; }
}

.card .well--photo img, .card .well img.cover { width: 100%; height: 100%; object-fit: cover; }
.card .well--photo::after { display: none; }
.card .mrp { color: var(--ink); }

/* Chips (category / topic filters) */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 20px; }
.chips::-webkit-scrollbar { display: none; }
.chips a {
	flex: none; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
	font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; white-space: nowrap;
	transition: border-color 0.25s, background 0.25s;
}
.chips a:hover { border-color: var(--espresso); }
.chips a[aria-current] { background: var(--espresso); border-color: var(--espresso); color: var(--oat); }
.chips--sub a { font-size: 10px; padding: 7px 13px; }

/* Page headings */
.lede { font-size: 16px; line-height: 1.7; color: var(--ink-muted); max-width: 56ch; }
.list-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.list-head h1, .page-hero h1, .contact h1, .article__head h1, .shop-main .page-title, .entry__title {
	font-size: clamp(2.4rem, 9vw, 4.2rem); line-height: 0.98; letter-spacing: -0.03em;
}

/* Prose (articles, policy pages, story text) */
.prose { font-size: 16px; line-height: 1.8; color: var(--ink); max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 0.2em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose img { border-radius: 4px; }
.prose blockquote { margin: 1.6em 0; padding-left: 20px; border-left: 2px solid var(--gold); font-family: var(--display); font-size: 1.5rem; line-height: 1.3; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* Default pages (policies etc.) */
.entry { max-width: 760px; margin-inline: auto; }
.entry__title { margin-bottom: 28px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); }
.field input, .field textarea, .field select {
	font: inherit; font-size: 16px; color: var(--ink); background: #fff;
	border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; min-height: 48px;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--espresso); outline-offset: 1px; border-color: var(--espresso); }
.hp { position: absolute !important; left: -9999px; }
.form-notice { padding: 14px 16px; border-radius: 4px; margin-bottom: 18px; font-size: 14px; }
.form-notice--ok { background: #e3efe7; color: var(--emerald); }
.form-notice--error { background: #f8e1de; color: #8a1f14; }

/* Pagination (WP + Woo) */
.nav-links, .woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; list-style: none; padding: 0; margin: 40px 0 0; }
.nav-links .page-numbers, .woocommerce-pagination .page-numbers {
	display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px;
	border: 1px solid var(--line); border-radius: 999px; font-size: 13px;
}
.nav-links .current, .woocommerce-pagination .current { background: var(--espresso); color: var(--oat); border-color: var(--espresso); }
.empty { padding: 40px 0; color: var(--ink-muted); }

/* Shared with Home + About: marquee, section heads, category arches */
/* ===== Marquee ===== */
.marq { background: var(--espresso); color: var(--oat); overflow: hidden; }
.marq-track {
	display: flex; align-items: center; gap: 26px; white-space: nowrap; min-height: 46px; width: max-content;
	font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; animation: slide 30s linear infinite;
}
.marq-track i { color: var(--gold); font-style: normal; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== Section furniture ===== */
.sec { padding-block: var(--sec) 0; }
.sec-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 34px; }
.sec-head h2 { font-size: clamp(2rem, 7vw, 3rem); line-height: 1.02; }
.sec-head.center { align-items: center; text-align: center; }

/* ===== 2. Collection arches ===== */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cat { display: flex; flex-direction: column; gap: 12px; }
.cat .arch { position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--oat); display: grid; place-items: center; }
.cat .arch::after {
	content: ""; position: absolute; inset: auto 14% 9% 14%; height: 9px; border-radius: 50%;
	background: radial-gradient(ellipse at center, rgba(51, 35, 28, 0.3), transparent 72%);
	transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.cat .arch img { width: 74%; height: 74%; object-fit: contain; position: relative; z-index: 2; transition: transform 0.7s var(--ease-out); }
.cat:hover .arch img { transform: translateY(-12px) scale(1.04); }
.cat:hover .arch::after { transform: scaleX(0.82); opacity: 0.7; }
.cat .lbl { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.cat .lbl .n { color: var(--ink-subtle); font-size: 10px; }
@media (min-width: 900px) {
	.cats { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; align-items: start; }
	.cat:nth-child(even) { margin-top: 56px; }
}


/* Shared: promo tiles, arrow link, section top row */
/* ===== 6. Promo tiles ===== */
.promo { background: var(--peony); padding-block: var(--sec); margin-top: var(--sec); }
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.tile .ph { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--oat); }
.tile .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover .ph img { transform: scale(1.06); }
.tile .cardlet {
	position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; background: rgba(250, 242, 239, 0.94);
	padding: 16px 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.tile .kicker { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-subtle); font-weight: 600; }
.tile .ttl { font-family: var(--display); font-size: 23px; line-height: 1.05; display: block; margin-top: 5px; }
.tile .cta { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 3px; white-space: nowrap; transition: border-color 0.25s; }
.tile:hover .cta { border-color: var(--espresso); }
@media (min-width: 768px) {
	.promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
	.tile .ttl { font-size: 28px; }
}

.go {
	display: inline-flex; align-items: center; gap: 12px; align-self: flex-start;
	font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
	padding-bottom: 6px; border-bottom: 1px solid var(--gold); transition: gap 0.3s, border-color 0.25s;
}
.go:hover { gap: 22px; border-color: var(--espresso); }
.arr-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.arr-top .sec-head { margin-bottom: 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 18px; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.tabs button { color: var(--ink-subtle); padding: 8px 0 5px; border-bottom: 1px solid transparent; transition: color 0.25s, border-color 0.25s; }
.tabs button[aria-selected="true"] { color: var(--espresso); font-weight: 600; border-color: var(--espresso); }
.tabs button:hover { color: var(--ink); }

/* ===== Mobile tap targets (≥44px) ===== */
.go, .all-hero__nav a, .tabs button, .spot-tabs button { min-height: 44px; display: inline-flex; align-items: center; }
.chips a { min-height: 44px; display: inline-flex; align-items: center; }
.mast .custom-logo-link, .mast a[rel="home"] { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a, .woocommerce-breadcrumb a { display: inline-block; padding-block: 12px; }

.btn--ghost { background: transparent; color: var(--espresso); border: 1px solid var(--espresso); }
.btn--ghost:hover { background: var(--espresso); color: var(--oat); }

/* ===== Delivery charges table (shipping page, cart, checkout) ===== */
.vj-rates__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.vj-rates__table th, .vj-rates__table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.vj-rates__table thead th { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-subtle); font-weight: 600; }
.vj-rates__zone { display: block; font-weight: 600; }
.vj-rates__regions { display: block; font-size: 12px; color: var(--ink-muted); font-weight: 400; margin-top: 2px; }
.vj-rates__note { margin: 10px 0 0; font-size: 13px; color: var(--ink-muted); }
.vj-rates-fold { margin-top: 12px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.vj-rates-fold summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-size: 13px; font-weight: 600; }

/* ===== Logo badge — arch tab hanging from the top of the bar (bar height unchanged) ===== */
.mast { position: relative; }
.mast .custom-logo-link,
.mast a[rel="home"] {
	position: absolute; top: 0; left: 50%; z-index: 2;
	transform: translateX(-50%);
	display: grid; place-items: center;
	width: 112px; height: 100px;
	padding-top: 6px;
	background: var(--oat);
	border: 1px solid var(--gold); border-top: 0;
	border-radius: 0 0 999px 999px;
	box-shadow: 0 18px 26px -20px rgba(51, 35, 28, 0.45);
}
.mast .custom-logo-link img,
.mast .logo { width: 80px; height: auto; }
.primary-nav.is-open { padding-top: 48px; }

@media (min-width: 1100px) {
	.mast { padding-left: calc(var(--gutter) + 212px); }
	.mast .custom-logo-link,
	.mast a[rel="home"] {
		left: var(--gutter); transform: none;
		width: 180px; height: 150px; padding-top: 10px;
	}
	.mast .custom-logo-link img,
	.mast .logo { width: 128px; height: auto; }
	.primary-nav.is-open { padding-top: 0; }
}
/* Breadcrumbs sit at the very top of shop pages — keep them clear of the hanging tab. */
.crumbs { position: relative; z-index: 1; padding-top: 30px; }
@media (min-width: 1100px) {
	.crumbs { padding-top: 0; padding-left: 212px; }
}
