/* Collection pages (templates/taxonomy-product_brand-collection.html, inc-collection-pages.php). Design: Rio board. */
.tz-col-page { --tz-gutter: var(--wp--style--root--padding-left, clamp(16px, 4vw, 48px)); --tz-col-accent: var(--tz-forest); --tz-col-dark: #1f2a2e; }
.tz-col-page > * { margin-block: 0 !important; }
.tz-col-wrap { box-sizing: border-box; max-width: calc(1320px + 2 * var(--tz-gutter)); margin: 0 auto; padding: 0 var(--tz-gutter); }
.tz-col .tz-col-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--tz-col-accent); }
.tz-col .tz-col-eyebrow::before { content: ""; flex: none; width: 28px; height: 1px; background: currentColor; }
.tz-col-h2 { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: clamp(34px, 3.4vw, 48px); line-height: 1.12; font-weight: 500; text-wrap: balance; }
.tz-col-head { max-width: 720px; margin-bottom: 48px; }
.tz-col-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.tz-col-head--center .tz-col-eyebrow { justify-content: center; }
.tz-col-head--center .tz-col-eyebrow::before { display: none; }
.tz-col-intro { margin: 16px 0 0; font-size: 18px; line-height: 30px; color: var(--tz-muted); }
.tz-col-note { margin: 40px 0 0; max-width: 70ch; font-size: 13px; line-height: 20px; color: var(--tz-muted); }

/* Buttons and links */
.tz-col-btn, .tz-col-btn:visited { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 26px; box-sizing: border-box; background: var(--tz-olive); border: 1px solid var(--tz-olive); color: #fff; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.tz-col-btn::after { content: "\2192"; transition: transform .2s ease; }
.tz-col-btn:hover, .tz-col-btn:focus-visible { background: var(--tz-forest); border-color: var(--tz-forest); color: #fff; }
.tz-col-btn:hover::after { transform: translateX(3px); }
.tz-col-btn--outline, .tz-col-btn--outline:visited { background: transparent; border-color: var(--tz-ink); color: var(--tz-ink); }
.tz-col-btn--outline:hover, .tz-col-btn--outline:focus-visible { background: var(--tz-ink); border-color: var(--tz-ink); color: var(--tz-surface); }
.tz-col-link, .tz-col-link:visited { font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tz-ink); text-decoration: none; border-bottom: 1px solid var(--tz-sand); padding-bottom: 3px; }
.tz-col-link:hover { color: var(--tz-forest); border-color: currentColor; }
.tz-col-link--light, .tz-col-link--light:visited, .tz-col-link--light:hover { color: var(--tz-surface); }

/* Hero */
.tz-col-hero { position: relative; overflow: hidden; background: #1c1c1a; color: var(--tz-surface); }
.tz-col-hero .tz-col-hero__media { position: absolute !important; inset: 0; margin: 0; aspect-ratio: auto !important; }
.tz-col-hero .tz-slot.tz-col-hero__media { background: #2b2f2c; color: #b8ada0; display: flex; align-items: flex-start; justify-content: flex-end; }
.tz-col-hero .tz-slot.tz-col-hero__media .tz-slot__inner { margin: 96px 6% 0 0; }
.tz-col-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,22,.9) 0%, rgba(20,22,22,.62) 42%, rgba(20,22,22,0) 75%); pointer-events: none; }
.tz-col-hero__inner { position: relative; z-index: 1; box-sizing: border-box; max-width: calc(1320px + 2 * var(--tz-gutter)); min-height: 680px; margin: 0 auto; padding: 40px var(--tz-gutter) 80px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.tz-col-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: auto; padding-bottom: 32px; font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: #cfc7bb; }
.tz-col-crumbs a, .tz-col-crumbs a:visited { color: #cfc7bb; text-decoration: none; }
.tz-col-crumbs a:hover { color: var(--tz-surface); }
.tz-col-crumbs [aria-current] { color: var(--tz-sand); }
.tz-col-hero__lockup { display: block; height: 96px; color: var(--tz-sand); }
.tz-col-hero__logo { height: 100%; width: auto; display: block; }
.tz-col-hero .tz-col-eyebrow { color: var(--tz-sand); margin: 6px 0 0; }
.tz-col-hero__title { margin: 0; max-width: 14em; font-family: var(--wp--preset--font-family--display); font-size: clamp(42px, 5vw, 72px); line-height: 1.04; font-weight: 500; color: var(--tz-surface); text-wrap: balance; }
.tz-col-hero__lead { margin: 0; max-width: 46ch; font-size: 18px; line-height: 30px; color: #e3ddd3; }
.tz-col-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-top: 8px; margin-bottom: auto; }

/* Strapline and features */
.tz-col-strap { background: var(--tz-stone); }
.tz-col-strap p { margin-top: 0; margin-bottom: 0; padding-top: 28px; padding-bottom: 28px; text-align: center; font-family: var(--wp--preset--font-family--display); font-size: clamp(22px, 2vw, 28px); line-height: 1.3; font-style: italic; }
.tz-col-features { padding: 48px 0; border-bottom: 1px solid var(--tz-line); }
.tz-col-features .tz-features { margin-top: 0; margin-bottom: 0; }
.tz-col-features .tz-features__icon { color: var(--tz-col-accent); }

/* The pieces */
.tz-col-pieces { padding: 96px 0; }
.tz-col-pieces__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px 24px; }
.tz-col-piece { display: flex; flex-direction: column; gap: 10px; }
.tz-col-piece__head { display: flex; align-items: flex-end; gap: 12px; min-height: 36px; margin: 0 0 4px; }
.tz-col-piece__num { font-family: var(--wp--preset--font-family--display); font-size: 34px; line-height: 1; color: var(--tz-col-accent); }
.tz-col-piece__tag { font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--tz-muted); }
.tz-col-piece .tz-slot { margin: 0 0 6px; }
.tz-col-piece__name { margin: 0; font-family: var(--wp--preset--font-family--display); font-size: 26px; line-height: 32px; font-weight: 500; }
.tz-col-piece__material { margin: 0; font-size: 13px; line-height: 19px; font-weight: 500; color: var(--tz-ink); }
.tz-col-piece__desc { margin: 0; font-size: 14px; line-height: 22px; color: var(--tz-muted); }
.tz-col-piece__symbols { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.tz-col-piece__symbols li { padding: 4px 9px; border: 1px solid var(--tz-line); font-size: 11px; line-height: 14px; letter-spacing: .06em; color: var(--tz-muted); }
.tz-col-piece__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 12px; }
.tz-col-piece__price { font-size: 15px; font-weight: 500; }

/* Story (dark) */
.tz-col-story { padding: 96px 0; background: var(--tz-col-dark); color: var(--tz-surface); }
.tz-col-story__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.tz-col-story .tz-slot { margin: 0; }
.tz-col-story .tz-slot:not(.tz-slot--img) { background: #2c3a3f; color: #b8c4c8; border-color: #3c4b50; }
.tz-col-story .tz-col-eyebrow { color: var(--tz-sand); }
.tz-col-story .tz-col-h2 { color: var(--tz-surface); }
.tz-col-story__text p:not(.tz-col-eyebrow) { margin: 20px 0 0; max-width: 56ch; font-size: 17px; line-height: 28px; color: #d9dfe0; }

/* Detail */
.tz-col-detail { padding: 96px 0; }
.tz-col-detail__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; align-items: center; }
.tz-col-detail__media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tz-col-detail__media .tz-slot { margin: 0; }
.tz-col-detail__media .tz-slot:nth-child(2) { margin-top: 48px; }
.tz-col-detail__text > p:not(.tz-col-eyebrow) { margin: 20px 0 0; font-size: 17px; line-height: 28px; color: var(--tz-muted); }
.tz-col-detail__text .tz-col-detail__note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--tz-stone); font-size: 15px; line-height: 24px; }
.tz-col-detail__note svg { flex: none; color: var(--tz-col-accent); margin-top: 1px; }
.tz-col-detail__note strong { color: var(--tz-ink); font-weight: 600; }
.tz-col-detail__text > p:last-child { margin-top: 28px; }

/* Shop */
.tz-col-shop-head { padding-top: 96px; padding-bottom: 40px; border-top: 1px solid var(--tz-line); scroll-margin-top: 16px; }
.tz-col-shop { padding-bottom: 96px; }

/* Gallery */
.tz-col-gallery { padding: 96px 0; background: var(--tz-stone); }
.tz-col-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tz-col-gallery__grid .tz-slot { margin: 0; }
.tz-col-gallery__grid .tz-slot:nth-child(even) { margin-top: 40px; }

/* Journal */
.tz-col-journal { padding: 96px 0; }
.tz-col-journal__grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tz-col-journal__grid a, .tz-col-journal__grid a:visited { display: flex; flex-direction: column; gap: 10px; color: var(--tz-ink); text-decoration: none; }
.tz-col-journal__grid img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.tz-col-journal__cat { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--tz-col-accent); }
.tz-col-journal__title { font-family: var(--wp--preset--font-family--display); font-size: 24px; line-height: 30px; }

@media (max-width: 1200px) {
	.tz-col-pieces__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.tz-col-story__inner, .tz-col-detail__inner { grid-template-columns: 1fr; gap: 40px; }
	.tz-col-story__inner .tz-slot { max-width: 520px; }
	.tz-col-pieces__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tz-col-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tz-col-journal__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.tz-col-hero__inner { min-height: 620px; padding-top: 24px; padding-bottom: 48px; justify-content: flex-end; gap: 18px; }
	.tz-col-hero::after { background: linear-gradient(180deg, rgba(20,22,22,.6) 0%, rgba(20,22,22,.15) 22%, rgba(20,22,22,.55) 45%, rgba(20,22,22,.94) 75%); }
	.tz-col-crumbs { margin-bottom: 0; padding-bottom: 200px; }
	.tz-col-hero__lockup { height: 72px; }
	.tz-col-hero__lead { font-size: 16px; line-height: 26px; }
	.tz-col-hero .tz-slot.tz-col-hero__media .tz-slot__inner { margin: 80px auto 0; }
	.tz-col-pieces, .tz-col-story, .tz-col-detail, .tz-col-gallery, .tz-col-journal { padding: 64px 0; }
	.tz-col-shop-head { padding-top: 64px; padding-bottom: 28px; }
	.tz-col-shop { padding-bottom: 64px; }
	.tz-col-head { margin-bottom: 32px; }
	.tz-col-pieces__grid { grid-template-columns: 1fr; gap: 40px; }
	.tz-col-gallery__grid { gap: 10px; }
	.tz-col-gallery__grid .tz-slot:nth-child(even) { margin-top: 24px; }
	.tz-col-detail__media .tz-slot:nth-child(2) { margin-top: 24px; }
	.tz-col-journal__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.tz-col-btn, .tz-col-btn::after { transition: none; }
}

/* Coming soon: piece badge and the empty shop area (any collection with no products yet). */
.tz-col-piece__frame { position: relative; }
.tz-col-piece__badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 6px 10px; background: var(--tz-ink); color: var(--tz-surface); font-size: 11px; line-height: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.tz-col-piece__buy--soon { font-size: 13px; line-height: 19px; font-weight: 500; color: var(--tz-col-accent); }
.tz-col-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 8px 0 32px; padding: 64px 32px 72px; background: var(--tz-stone); border-top: 2px solid var(--tz-col-accent); text-align: center; }
.tz-col-empty__mark { color: var(--tz-col-accent); }
.tz-col-empty .tz-col-empty__eyebrow { margin: 0; justify-content: center; }
.tz-col-empty .tz-col-empty__eyebrow::before { content: none; } /* No rule beside "Coming soon". */
.tz-col-empty__title { margin: 0; max-width: 18em; font-family: var(--wp--preset--font-family--display); font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; font-weight: 500; color: var(--tz-ink); text-wrap: balance; }
.tz-col-empty__text { margin: 0; max-width: 34em; font-size: 17px; line-height: 28px; color: var(--tz-muted); }
.tz-col-empty__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin: 8px 0 0; }
@media (max-width: 640px) {
	.tz-col-empty { padding: 48px 20px 56px; }
	.tz-col-empty__text { font-size: 16px; line-height: 26px; }
}

/* Collection product grid: three columns (WooCommerce's responsive grid was giving two wide ones), two on tablets and phones. */
.tz-col-shop .tz-product-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 40px 24px !important; }
@media (max-width: 899px) { .tz-col-shop .tz-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px 16px !important; } }
