/**
 * Oree Atelier component styles.
 *
 * Colour, type and spacing tokens live in theme.json; this file only composes
 * them. Sections: Base, Header, Navigation, Drawer, Search, Buttons and links,
 * Product cards, Archive, Product page, Homepage, Footer, Content pages.
 */

/* Base
 * ------------------------------------------------------------------------ */
:root {
	--oree-gutter: var(--wp--custom--gutter);
	--oree-wide: var(--wp--style--global--wide-size);
	--oree-line: var(--wp--preset--color--line);
	--oree-muted: var(--wp--preset--color--muted);
	--oree-header-height: var(--wp--custom--header-height);
	--oree-control: var(--wp--custom--control-height);
}

html { scroll-padding-top: calc(var(--oree-header-height) + 1rem); }
body { overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }

/* WordPress outlines every focused element, including after a mouse click. Keep it for keyboard users only. */
.wp-site-blocks :focus:not(:focus-visible) { outline: none; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.oree-section {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--oree-wide);
	margin-inline: auto;
	padding-inline: var(--oree-gutter);
	padding-block: var(--wp--preset--spacing--70);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; }
.wp-site-blocks > footer { margin-top: auto; }

/* Header
 * ------------------------------------------------------------------------ */
.wp-site-blocks > header,
.wp-site-blocks > .wp-block-template-part:first-child { position: sticky; top: var(--wp-admin--admin-bar--height, 0); z-index: 50; }
.wp-site-blocks > * + * { margin-block-start: 0; }

.oree-header { position: relative; background: var(--wp--preset--color--base); border-bottom: 1px solid var(--oree-line); }
.oree-header__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	box-sizing: border-box;
	max-width: var(--oree-wide);
	min-height: var(--oree-header-height);
	margin-inline: auto;
	padding-inline: var(--oree-gutter);
}
.oree-header__bar > * { margin: 0; }
.oree-header__left { display: flex; align-items: center; height: 100%; }
.oree-header__center { display: flex; justify-content: center; }
.oree-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 0.25rem; }
.oree-header__right > * { margin: 0; }

.oree-wordmark { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-decoration: none; color: var(--wp--preset--color--primary); }
.oree-wordmark:hover { color: var(--wp--preset--color--primary); }
.oree-wordmark__name { font-family: var(--wp--preset--font-family--playfair-display); font-size: 1.375rem; letter-spacing: 0.24em; margin-right: -0.24em; text-transform: uppercase; }
.oree-wordmark__sub { margin-top: 0.3rem; font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.42em; margin-right: -0.42em; text-transform: uppercase; color: var(--wp--preset--color--secondary); }

.oree-icon { display: block; width: 1.125rem; height: 1.125rem; }
.oree-icon-button {
	display: inline-flex; align-items: center; justify-content: center;
	width: 2.75rem; height: 2.75rem; padding: 0;
	background: none; border: 0; border-radius: 0; color: var(--wp--preset--color--contrast); cursor: pointer;
}
.oree-icon-button:hover { color: var(--wp--preset--color--secondary); }

.oree-header .wp-block-woocommerce-customer-account a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--wp--preset--color--contrast); }
.oree-header .wp-block-woocommerce-customer-account svg { width: 1.25rem; height: 1.25rem; }
.oree-header .wc-block-mini-cart__button { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; color: var(--wp--preset--color--contrast); }
.oree-header .wc-block-mini-cart__icon { width: 1.375rem; height: 1.375rem; }
.oree-header .wc-block-mini-cart__badge { background: var(--wp--preset--color--primary); color: #fff; font-size: 0.625rem; font-weight: 600; }

@media (max-width: 599px) {
	/* Account moves into the drawer so the wordmark stays optically centred. */
	.oree-header .wp-block-woocommerce-customer-account { display: none; }
}

/* Navigation
 * ------------------------------------------------------------------------ */
.oree-menu-toggle { margin-left: -0.75rem; }
.oree-nav { display: none; height: 100%; }
.oree-nav__list { display: flex; align-items: stretch; gap: 1.5rem; height: 100%; margin: 0; padding: 0; list-style: none; }
.oree-nav__item { display: flex; align-items: center; }
.oree-nav__link {
	padding-block: 0.5rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	color: var(--wp--preset--color--contrast);
	background: linear-gradient(currentColor, currentColor) left calc(100% - 0.25rem) / 0 1px no-repeat;
	transition: background-size 0.25s ease;
}
.oree-nav__link:hover, .oree-nav__item.is-open .oree-nav__link { color: var(--wp--preset--color--contrast); background-size: 100% 1px; }
.oree-nav__toggle {
	display: inline-flex; align-items: center; justify-content: center;
	width: 1.5rem; height: 2.75rem; margin-left: -0.125rem; padding: 0;
	background: none; border: 0; color: var(--oree-muted); cursor: pointer;
}
.oree-nav__toggle .oree-icon { width: 0.75rem; height: 0.75rem; transition: transform 0.2s ease; }
.oree-nav__item.is-open .oree-nav__toggle .oree-icon { transform: rotate(180deg); }

.oree-nav__panel {
	position: absolute; top: 100%; left: 0; right: 0;
	visibility: hidden; opacity: 0;
	background: var(--wp--preset--color--base);
	border-top: 1px solid var(--oree-line);
	border-bottom: 1px solid var(--oree-line);
	transition: opacity 0.18s ease, visibility 0.18s;
}
.oree-nav__item.is-open .oree-nav__panel { visibility: visible; opacity: 1; }
.oree-nav__panel-inner {
	display: grid;
	grid-template-columns: minmax(12rem, 16rem) minmax(10rem, 14rem) 1fr;
	gap: var(--wp--preset--spacing--50);
	box-sizing: border-box;
	max-width: var(--oree-wide);
	margin-inline: auto;
	padding: var(--wp--preset--spacing--50) var(--oree-gutter);
}
.oree-nav__heading { margin: 0 0 0.75rem; font-size: var(--wp--preset--font-size--xx-small); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oree-muted); }
.oree-nav__column ul { margin: 0; padding: 0; list-style: none; }
.oree-nav__column li + li { margin-top: 0.5rem; }
.oree-nav__column a { font-size: var(--wp--preset--font-size--small); text-decoration: none; }
.oree-nav__column a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.oree-nav__feature { justify-self: end; display: block; width: min(22rem, 100%); aspect-ratio: 3 / 2; overflow: hidden; background: var(--wp--preset--color--surface); }
.oree-nav__feature img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

@media (min-width: 1100px) {
	.oree-menu-toggle { display: none; }
	.oree-nav { display: block; }
}

/* Drawer
 * ------------------------------------------------------------------------ */
.oree-drawer {
	position: fixed; inset: 0 auto 0 0;
	box-sizing: border-box;
	width: min(24rem, 88vw); max-width: none; height: 100dvh; max-height: none;
	margin: 0; padding: 0;
	background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast);
	border: 0;
}
.oree-drawer[open] { display: flex; flex-direction: column; }
.oree-drawer::backdrop { background: rgb(58 40 30 / 0.4); }
.oree-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: var(--oree-header-height); padding-inline: 1rem 0.25rem; border-bottom: 1px solid var(--oree-line); }
.oree-drawer__head .oree-wordmark { align-items: flex-start; }
.oree-drawer__nav { flex: 1; overflow-y: auto; padding-inline: 1rem; }
.oree-drawer__link, .oree-drawer__group > summary {
	display: flex; align-items: center; justify-content: space-between;
	min-height: 3.25rem;
	font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
	color: var(--wp--preset--color--contrast);
	border-bottom: 1px solid var(--oree-line);
	cursor: pointer; list-style: none;
}
.oree-drawer__group > summary::-webkit-details-marker { display: none; }
.oree-drawer__group > summary .oree-icon { width: 0.875rem; height: 0.875rem; transition: transform 0.2s ease; }
.oree-drawer__group[open] > summary .oree-icon { transform: rotate(180deg); }
.oree-drawer__group ul { margin: 0; padding: 0.5rem 0 0.75rem; list-style: none; border-bottom: 1px solid var(--oree-line); }
.oree-drawer__group a { display: flex; align-items: center; min-height: 2.75rem; font-size: var(--wp--preset--font-size--medium); text-decoration: none; }
.oree-drawer__foot { padding: 0.5rem 1rem 1rem; border-top: 1px solid var(--oree-line); }
.oree-drawer__account { display: flex; align-items: center; min-height: 2.75rem; font-size: var(--wp--preset--font-size--small); text-decoration: none; }

/* Search
 * ------------------------------------------------------------------------ */
.oree-search-panel { position: absolute; top: 100%; left: 0; right: 0; z-index: 2; background: var(--wp--preset--color--base); border-block: 1px solid var(--oree-line); }
.oree-search-panel[hidden] { display: none; }
.oree-search-panel__inner { box-sizing: border-box; max-width: 40rem; margin-inline: auto; padding: 1.25rem var(--oree-gutter); }
.oree-search-form { display: flex; align-items: center; border-bottom: 1px solid var(--wp--preset--color--contrast); }
.oree-search-form input[type="search"] { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0; font: inherit; font-size: var(--wp--preset--font-size--medium); color: inherit; background: none; border: 0; border-radius: 0; }
.oree-search-form input[type="search"]:focus { outline: none; }
.oree-search-form:focus-within { border-bottom-width: 2px; }
.oree-search-form button { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }

/* Buttons and links
 * ------------------------------------------------------------------------ */
.wp-element-button, .wp-block-button__link { border-radius: 0; transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }
.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--primary); color: #fff; }

.oree-link a {
	font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.45em;
}

/* Product cards
 * ------------------------------------------------------------------------ */
.oree-grid .wc-block-product-template {
	display: grid !important; /* Woo sets inline flex rules per column count; the grid is the design. */
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50) clamp(0.75rem, 2vw, 1.5rem);
	margin: 0; padding: 0; list-style: none;
	width: 100%;
}
.oree-grid .wc-block-product-template > .wc-block-product,
.oree-grid .wc-block-product { width: auto !important; max-width: none; margin: 0; padding: 0; float: none; }
.oree-grid .wc-block-product > * { margin-block: 0; }

@media (min-width: 768px) { .oree-grid .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .oree-grid .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.oree-grid .wc-block-components-product-image,
.oree-grid .wp-block-woocommerce-product-image { position: relative; margin: 0; background: var(--wp--preset--color--contrast-3); overflow: hidden; }
.oree-grid .wc-block-components-product-image a { display: block; aspect-ratio: var(--wp--custom--card-ratio); }
.oree-grid .wc-block-components-product-image img { display: block; width: 100%; height: 100% !important; aspect-ratio: var(--wp--custom--card-ratio); object-fit: contain; transition: opacity 0.35s ease; border-radius: 0; }
.oree-grid .wc-block-components-product-image img.oree-card__photo { object-fit: cover !important; }
.oree-grid .oree-card__alt { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
	.oree-grid .wc-block-product:hover .oree-card__alt, .oree-grid .wc-block-components-product-image a:focus-visible .oree-card__alt { opacity: 1; }
}
.oree-card__badge, .oree-grid .wc-block-components-product-sale-badge {
	position: absolute; top: 0.625rem; left: 0.625rem; z-index: 1;
	padding: 0; margin: 0;
	font-size: var(--wp--preset--font-size--xx-small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--wp--preset--color--contrast); background: none; border: 0; border-radius: 0;
}
.oree-grid .wc-block-components-product-sale-badge { right: auto; color: var(--wp--preset--color--secondary); }

.oree-grid .wc-block-product .wp-block-post-title {
	margin-top: 0.75rem;
	font-family: var(--wp--preset--font-family--source-sans-pro);
	font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem);
	font-weight: 400; line-height: 1.35; text-align: left;
}
.oree-grid .wp-block-post-title a { text-decoration: none; }
.oree-grid .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.oree-grid .wp-block-woocommerce-product-price, .oree-grid .wc-block-components-product-price { margin-top: 0.125rem; font-size: clamp(0.8125rem, 0.78rem + 0.15vw, 0.9375rem); text-align: left; color: var(--wp--preset--color--contrast); }
.oree-card__meta { margin: 0.125rem 0 0; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }

del { color: var(--oree-muted); }
ins { text-decoration: none; }

/* Archive
 * ------------------------------------------------------------------------ */
.oree-archive { box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto; padding: var(--wp--preset--spacing--40) var(--oree-gutter) var(--wp--preset--spacing--70); }
.oree-archive__head { margin-bottom: var(--wp--preset--spacing--40); }
.oree-archive__head > * { margin-block: 0; }
.oree-archive__head .wp-block-query-title { margin-top: 0.75rem; font-size: var(--wp--preset--font-size--xx-large); }
.oree-archive__head .wp-block-term-description { max-width: 40rem; margin-top: 0.5rem; color: var(--oree-muted); }
.oree-archive__head .wp-block-term-description p { margin: 0; }

.wp-block-woocommerce-breadcrumbs, .woocommerce-breadcrumb { font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }
.wp-block-woocommerce-breadcrumbs a, .woocommerce-breadcrumb a { color: inherit; text-decoration: none; }
.wp-block-woocommerce-breadcrumbs a:hover, .woocommerce-breadcrumb a:hover { color: var(--wp--preset--color--contrast); text-decoration: underline; }

.oree-archive__layout > * { margin-block: 0; }
.oree-archive__results { min-width: 0; }
.oree-archive__results > * { margin-block: 0; }
.oree-archive__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; margin-bottom: var(--wp--preset--spacing--40); padding-block: 0.25rem; border-block: 1px solid var(--oree-line); }
.oree-archive__toolbar > * { margin: 0; }
.oree-archive__toolbar .woocommerce-result-count, .oree-archive__toolbar .wc-block-product-results-count { margin: 0; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }
.oree-archive__toolbar .woocommerce-ordering { margin: 0; }
.oree-archive__toolbar select.orderby {
	field-sizing: content; /* Keeps the arrow beside the label; browsers without it size to the longest option. */
	max-width: 100%;
	min-height: 2.75rem;
	padding: 0 1.25rem 0 0;
	font: inherit;
	font-size: 0.8125rem;
	text-align: right;
	color: var(--wp--preset--color--contrast);
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%233A281E' stroke-width='1.2'/%3E%3C/svg%3E") right center / 0.75rem no-repeat;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	transition: color 0.2s ease;
}
.oree-archive__toolbar select.orderby:hover { color: var(--wp--preset--color--secondary); }
.oree-archive__toolbar select.orderby option { text-align: left; color: var(--wp--preset--color--contrast); }

.oree-filters .wc-block-product-filters__overlay,
.oree-filters .wc-block-product-filters__overlay-wrapper,
.oree-filters .wc-block-product-filters__overlay-dialog,
.oree-filters .wc-block-product-filters__overlay-content { flex: 1 1 100%; min-width: 0; max-width: 100%; }
.oree-filters fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.oree-filters h3 { margin: 0 0 0.75rem; font-family: var(--wp--preset--font-family--source-sans-pro); font-size: var(--wp--preset--font-size--xx-small); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--oree-muted); }
.oree-filters .wp-block-woocommerce-product-filter-taxonomy,
.oree-filters .wp-block-woocommerce-product-filter-active { margin: 0 0 var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--40); border-bottom: 1px solid var(--oree-line); font-size: var(--wp--preset--font-size--small); }
.oree-filters__active-head { display: flex; justify-content: space-between; align-items: baseline; }
.oree-filters__active-head > * { margin: 0; }
.oree-filters .wc-block-product-filter-clear-button .wp-block-button__link { padding: 0; font-size: var(--wp--preset--font-size--x-small); background: none; border: 0; color: inherit; text-decoration: underline; letter-spacing: 0; text-transform: none; font-weight: 400; }
.oree-filters .wc-block-product-filters__open-overlay { min-height: 2.75rem; padding: 0; font: inherit; font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; background: none; border: 0; color: var(--wp--preset--color--contrast); cursor: pointer; }
.oree-filters .wc-block-product-filters__overlay-dialog { background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); }

@media (min-width: 783px) {
	/* Matches WooCommerce's filter overlay breakpoint. */
	.oree-archive__layout:not(.oree-archive__layout--full) { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; }
	.oree-filters { position: sticky; top: calc(var(--oree-header-height) + 1.5rem); }
}
@media (min-width: 1200px) { .oree-archive .oree-grid .wc-block-product-template { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.oree-empty { padding: var(--wp--preset--spacing--60) 0; }
.oree-empty p { margin: 0 0 1.25rem; }

/* Product page
 * ------------------------------------------------------------------------ */
.oree-single { box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto; padding: var(--wp--preset--spacing--40) var(--oree-gutter) 0; }
.oree-single > * { margin-block: 0; }
.oree-pdp { display: grid; gap: var(--wp--preset--spacing--40); }
.oree-pdp > * { margin-block: 0; min-width: 0; }

@media (min-width: 900px) {
	.oree-pdp { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
	.oree-pdp__gallery, .oree-pdp__summary { position: sticky; top: calc(var(--oree-header-height) + 1.5rem); }
}

/* Gallery */
.oree-pdp__gallery .wp-block-woocommerce-product-image-gallery { width: 100%; max-width: none; }
.oree-pdp .oree-pdp__gallery span.onsale { position: absolute; top: 0.75rem; left: 0.75rem; right: auto; z-index: 3; min-width: 0; min-height: 0; margin: 0; padding: 0.25rem 0.625rem; font-size: var(--wp--preset--font-size--small); font-weight: 400; line-height: 1.4; color: #fff; background: var(--wp--preset--color--primary); border-radius: 0; }
.oree-pdp__gallery .woocommerce-product-gallery { position: relative; width: 100% !important; float: none !important; margin: 0; }
.oree-pdp__gallery .woocommerce-product-gallery__wrapper { display: flow-root; margin: 0; }
.oree-pdp__gallery .woocommerce-product-gallery__image { background: var(--wp--preset--color--contrast-3); }
.oree-pdp__gallery .woocommerce-product-gallery__image a { display: block; }
.oree-pdp__gallery .woocommerce-product-gallery__image img,
.oree-pdp__gallery .woocommerce-product-gallery__image .wp-post-image { display: block; width: 100% !important; height: auto; aspect-ratio: 4 / 5; object-fit: contain; }
/* Thumbnails: a strip that slides sideways on phones and runs down the left of the main image on wider screens. */
.oree-pdp__gallery .flex-control-thumbs { display: flex; gap: 0.5rem; margin: 0.75rem 0 0; padding: 0 0 0.25rem; list-style: none; overflow-x: auto; overscroll-behavior: contain; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--oree-line) transparent; }
.oree-pdp__gallery .flex-control-thumbs li { flex: 0 0 4.5rem; width: auto !important; float: none !important; margin: 0 !important; background: var(--wp--preset--color--contrast-3); scroll-snap-align: start; }
@media (min-width: 900px) {
	.oree-pdp__gallery .woocommerce-product-gallery.woocommerce-product-gallery--with-images { display: grid !important; grid-template-columns: 5rem minmax(0, 1fr); gap: 0.75rem; }
	.oree-pdp__gallery .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
	/* Zero height plus min-height: 100% keeps the column exactly as tall as the main image, and it scrolls. */
	.oree-pdp__gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; height: 0; min-height: 100%; margin: 0; padding: 0 0.25rem 0 0; overflow-x: hidden; overflow-y: auto; scroll-snap-type: y proximity; }
	.oree-pdp__gallery .flex-control-thumbs li { flex: 0 0 auto; }
	.oree-pdp__gallery .flex-control-thumbs img { border-bottom: 0; border-left: 2px solid transparent; }
	.oree-pdp__gallery .flex-control-thumbs img.flex-active { border-left-color: var(--wp--preset--color--primary); }
	.oree-pdp .oree-pdp__gallery span.onsale { left: calc(5.75rem + 0.75rem); }
}
.oree-pdp__gallery .flex-control-thumbs img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; opacity: 0.65; cursor: pointer; border-bottom: 1px solid transparent; transition: opacity 0.2s ease; }
.oree-pdp__gallery .flex-control-thumbs img:hover, .oree-pdp__gallery .flex-control-thumbs img.flex-active { opacity: 1; }
.oree-pdp__gallery .flex-control-thumbs img.flex-active { border-bottom-color: var(--wp--preset--color--primary); }
.oree-pdp__gallery .woocommerce-product-gallery__trigger { position: absolute; top: 0.75rem; right: 0.75rem; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; background: rgb(255 255 255 / 0.85); border: 0; border-radius: 0; font-size: 0; color: transparent; text-decoration: none; }
.oree-pdp__gallery .woocommerce-product-gallery__trigger::before { content: ""; position: absolute; top: 0.9rem; left: 0.9rem; width: 0.6rem; height: 0.6rem; border: 1px solid var(--wp--preset--color--contrast); border-radius: 50%; background: none; }
.oree-pdp__gallery .woocommerce-product-gallery__trigger::after { content: ""; position: absolute; top: 1.65rem; left: 1.6rem; width: 0.45rem; height: 1px; background: var(--wp--preset--color--contrast); transform: rotate(45deg); border: 0; border-radius: 0; }
.oree-pdp__gallery .woocommerce-product-gallery__trigger > * { display: none; }

/* Summary */
.oree-pdp__summary > * { margin-block: 0; }
.oree-pdp__summary .wp-block-post-title { max-width: 26ch; margin-top: 0.875rem; font-size: var(--wp--preset--font-size--x-large); line-height: 1.22; color: var(--wp--preset--color--contrast); }
.oree-pdp__summary .wp-block-woocommerce-product-price { margin-top: 0.625rem; }
.oree-pdp__summary .wp-block-woocommerce-product-price, .oree-pdp__summary .wc-block-components-product-price, .oree-pdp__summary .wc-block-components-product-price * { font-size: 1.0625rem; font-weight: 400; color: var(--wp--preset--color--contrast); }
.oree-pdp__summary .wc-block-components-product-rating, .oree-pdp__summary .wp-block-woocommerce-product-rating { margin-top: 0.5rem; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }
.oree-pdp__summary .wc-block-components-product-rating__stars, .oree-pdp__summary .wc-block-components-product-rating .star-rating { font-size: 0.75rem; color: var(--wp--preset--color--primary); }
.oree-pdp__summary .wp-block-woocommerce-product-summary, .oree-pdp__summary .wc-block-components-product-summary { margin-top: 1rem; font-size: 0.9375rem; color: var(--wp--preset--color--muted-2); }
.oree-pdp__summary .wc-block-components-product-summary p { margin: 0; }

/* Add to cart */
.oree-pdp__summary .wp-block-add-to-cart-form { margin-top: var(--wp--preset--spacing--40); font-size: 0.9375rem; }
.oree-pdp__summary form.cart { margin: 0; }
.oree-pdp__summary form.cart:not(.variations_form), .oree-pdp__summary .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: 0.5rem; }
.oree-pdp__summary form.cart .single_add_to_cart_button { flex: 1 1 12rem; min-height: var(--oree-control); margin: 0; }
.oree-pdp__summary .single_add_to_cart_button.disabled, .oree-pdp__summary .single_add_to_cart_button:disabled { opacity: 0.45; cursor: not-allowed; }
.oree-pdp__summary .single_add_to_cart_button.loading { opacity: 0.7; }
.oree-pdp__summary .added_to_cart { align-self: center; flex-basis: 100%; font-size: var(--wp--preset--font-size--small); }
.oree-pdp__summary .quantity { display: inline-flex; margin: 0 !important; float: none !important; }
.oree-pdp__summary .quantity input.qty, .oree-pdp__summary .quantity .qty { width: 4.5rem; min-height: var(--oree-control); padding: 0 0.25rem; font: inherit; text-align: center; background: transparent; border: 1px solid var(--oree-line); border-radius: 0; color: inherit; }
.oree-pdp__summary .wc-block-components-quantity-selector { min-height: var(--oree-control); border-radius: 0; }

.oree-pdp__summary table.variations { width: 100%; margin: 0 0 1rem; border: 0; border-collapse: collapse; }
.oree-pdp__summary table.variations tbody, .oree-pdp__summary table.variations tr, .oree-pdp__summary table.variations th, .oree-pdp__summary table.variations td { display: block; padding: 0; border: 0; background: none; text-align: left; }
.oree-pdp__summary table.variations tr + tr { margin-top: 1.125rem; }
.oree-pdp__summary table.variations th.label { margin-bottom: 0.5rem; font-size: var(--wp--preset--font-size--x-small); font-weight: 400; color: var(--oree-muted); }
.oree-pdp__summary table.variations th.label label { font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: var(--wp--preset--font-size--xx-small); color: var(--wp--preset--color--contrast); }
.oree-selected-value { margin-left: 0.5rem; font-size: var(--wp--preset--font-size--small); color: var(--oree-muted); }
.oree-pdp__summary table.variations select { width: 100%; min-height: var(--oree-control); padding: 0 0.75rem; font: inherit; background: transparent; border: 1px solid var(--oree-line); border-radius: 0; color: inherit; }

.oree-swatches { display: none; flex-wrap: wrap; gap: 0.5rem; }
.oree-js .oree-swatches { display: flex; }
.oree-js .oree-native-select { position: absolute !important; width: 1px !important; min-height: 0 !important; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); opacity: 0; pointer-events: none; }
.oree-swatch { position: relative; padding: 0; font: inherit; background: none; color: var(--wp--preset--color--contrast); border: 1px solid var(--oree-line); border-radius: 0; cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease; }
.oree-swatch:hover:not(:disabled) { border-color: var(--wp--preset--color--contrast); }
.oree-swatch--text { min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.75rem; font-size: var(--wp--preset--font-size--small); }
.oree-swatch--text[aria-pressed="true"] { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.oree-swatch--colour { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--wp--preset--color--base); }
.oree-swatch--colour::before { content: ""; position: absolute; inset: 0.3125rem; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }
.oree-swatch--colour[aria-pressed="true"] { border-color: var(--wp--preset--color--primary); box-shadow: inset 0 0 0 1px var(--wp--preset--color--primary); }
.oree-swatch.is-unavailable { opacity: 0.35; cursor: not-allowed; text-decoration: line-through; }

.oree-pdp__summary .reset_variations { display: inline-block; margin-top: 0.5rem; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }
.oree-pdp__summary .single_variation_wrap .woocommerce-variation { margin-bottom: 0.75rem; }
.oree-pdp__summary .woocommerce-variation-price .price { font-size: 1.0625rem; }
.oree-pdp__summary .stock { margin: 0 0 0.75rem; font-size: var(--wp--preset--font-size--small); color: var(--oree-muted); }
.oree-pdp__summary .stock.out-of-stock { color: #8A2E20; }

/* Size chart plugin */
.oree-pdp__summary .sizemint-trigger-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.75rem; margin: 0.875rem 0 0; }
.oree-pdp__summary .sizemint-chart-framing { margin: 0; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }
.oree-pdp__summary .sizemint-trigger { min-height: 2rem; padding: 0; font: inherit; font-size: var(--wp--preset--font-size--x-small); font-weight: 400; background: none; border: 0; border-radius: 0; color: var(--wp--preset--color--contrast); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }

.oree-pdp__assurance { margin-top: 0.875rem !important; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }

/* Accordion */
.oree-pdp__summary .wp-block-woocommerce-product-details { margin-top: var(--wp--preset--spacing--40); }
.oree-accordion { border-top: 1px solid var(--oree-line); }
.oree-accordion__item { border-bottom: 1px solid var(--oree-line); }
.oree-accordion__item > summary {
	position: relative; display: flex; align-items: center; min-height: 3.25rem; padding-right: 1.5rem;
	font-size: var(--wp--preset--font-size--x-small); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
	cursor: pointer; list-style: none;
}
.oree-accordion__item > summary::-webkit-details-marker { display: none; }
.oree-accordion__item > summary::before, .oree-accordion__item > summary::after { content: ""; position: absolute; right: 0.125rem; top: 50%; width: 0.6875rem; height: 1px; background: currentColor; transition: transform 0.2s ease; }
.oree-accordion__item > summary::after { transform: rotate(90deg); }
.oree-accordion__item[open] > summary::after { transform: rotate(0); }
.oree-accordion__panel { max-width: 62ch; padding-bottom: 1.25rem; font-size: 0.9375rem; line-height: 1.65; color: var(--wp--preset--color--muted-2); }
.oree-accordion__panel > :first-child { margin-top: 0; }
.oree-accordion__panel > :last-child { margin-bottom: 0; }
.oree-accordion__panel p { margin: 0 0 0.75rem; }
.oree-accordion__panel em { font-style: normal; }
.oree-accordion__panel ul { margin: 0; padding: 0; list-style: none; }
.oree-accordion__panel ul li { padding: 0.4375rem 0; border-bottom: 1px solid var(--oree-line); }
.oree-accordion__panel ul li:last-child { border-bottom: 0; }
.oree-accordion__panel li strong { font-weight: 600; color: var(--wp--preset--color--contrast); }
.oree-accordion__panel a { color: var(--wp--preset--color--contrast); }
.oree-accordion__panel .woocommerce-Reviews-title, .oree-accordion__panel #reply-title { display: block; margin: 0 0 0.75rem; font-family: inherit; font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.oree-accordion__panel .commentlist { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.oree-accordion__panel .commentlist li { padding: 0; border: 0; }
.oree-accordion__panel .comment_container img.avatar { display: none; }
.oree-accordion__panel .comment-text { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.oree-accordion__panel .star-rating { color: var(--wp--preset--color--primary); font-size: 0.75rem; }
.oree-accordion__panel p.stars a { color: var(--wp--preset--color--primary); }
.oree-accordion__panel input[type="text"], .oree-accordion__panel input[type="email"], .oree-accordion__panel textarea { box-sizing: border-box; width: 100%; padding: 0.625rem; font: inherit; background: transparent; border: 1px solid var(--oree-line); border-radius: 0; color: var(--wp--preset--color--contrast); }
.oree-accordion__panel label { display: block; margin-bottom: 0.25rem; font-size: var(--wp--preset--font-size--x-small); }
.oree-accordion__panel .form-submit input[type="submit"], .oree-accordion__panel .submit { min-height: var(--oree-control); padding-inline: 2rem; }

/* Meta */
.oree-pdp__summary .wp-block-woocommerce-product-meta { margin-top: 1rem; font-size: var(--wp--preset--font-size--x-small); color: var(--oree-muted); }
.oree-pdp__summary .wp-block-woocommerce-product-meta > * { margin: 0 0 0.125rem; }
.oree-pdp__summary .wp-block-woocommerce-product-meta a { color: inherit; }
.oree-pdp__summary .wc-block-components-product-sku { font-size: inherit; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	border: 1px solid var(--oree-line) !important; border-radius: 0 !important; background: var(--wp--preset--color--surface) !important;
	color: var(--wp--preset--color--contrast) !important; font-size: var(--wp--preset--font-size--small); box-shadow: none;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--wp--preset--color--secondary); }
.oree-single .wc-block-store-notices { margin-bottom: 1rem; }

/* Related */
.oree-related { padding-block: var(--wp--preset--spacing--70); margin-top: var(--wp--preset--spacing--60) !important; border-top: 1px solid var(--oree-line); }
.oree-related__title { margin: 0 0 var(--wp--preset--spacing--40); }

/* Homepage
 * White pages, logo brown type and logo tan details.
 * ------------------------------------------------------------------------ */
.oree-home > * { margin-block: 0; }
.oree-eyebrow { margin: 0; font-size: var(--wp--preset--font-size--xx-small); letter-spacing: 0.32em; color: var(--wp--preset--color--secondary); }

/* The line-and-diamond from the logo. */
.oree-rule.wp-block-separator { position: relative; width: 11rem; max-width: 100%; height: 1px; margin: 0; background: var(--wp--preset--color--tan); border: 0; opacity: 1; }
.oree-rule.wp-block-separator::after { content: ""; position: absolute; top: 50%; left: 50%; width: 0.5625rem; height: 0.5625rem; background: var(--wp--preset--color--tan); box-shadow: 0 0 0 0.375rem var(--wp--preset--color--base); transform: translate(-50%, -50%) rotate(45deg); }

/* Hero: a full-width landscape photograph; on wide screens the copy sits on the pale wall above the bags. */
.oree-hero { position: relative; display: grid; background: #E9E7E4; }
.oree-hero > * { margin-block: 0; min-width: 0; }
.oree-hero__panel { box-sizing: border-box; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: var(--wp--preset--spacing--50) var(--oree-gutter) var(--wp--preset--spacing--60); }
.oree-hero__panel > * { margin-block: 0; }
.oree-hero__title { max-width: 12ch; margin-top: 1rem; font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.5rem); line-height: 1.06; color: var(--wp--preset--color--primary); }
.oree-hero__text { max-width: 36ch; margin-top: var(--wp--preset--spacing--30); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); color: var(--wp--preset--color--muted); }
.oree-hero__actions { gap: 0.625rem; margin-top: var(--wp--preset--spacing--40); }
.oree-hero__actions .wp-block-button { margin: 0; }
.oree-hero__note { display: flex; align-items: center; gap: 0.625rem; margin-top: var(--wp--preset--spacing--40); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--secondary); }
.oree-hero__note::before { content: ""; width: 0.4375rem; height: 0.4375rem; background: currentColor; transform: rotate(45deg); }
.oree-hero__image { margin: 0; overflow: hidden; }
.oree-hero__image img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 100%; animation: oree-settle 16s ease-out both; }
@keyframes oree-settle { from { transform: scale(1.05); } to { transform: scale(1); } }
@media (max-width: 899px) {
	.oree-hero__panel { background: var(--wp--preset--color--base); }
}
@media (min-width: 900px) {
	/* Landscape at every width: fills the first screen where it can, but stays tall enough that
	   the bags (the lower 42% of the 3:2 photo) sit below the copy, and never exceeds the photo itself. */
	.oree-hero { height: min(66.66vw, max(calc(27.7vw + 22rem), min(calc(100svh - var(--oree-header-height) - 2.25rem), 56.25vw))); }
	.oree-hero__image { position: absolute; inset: 0; }
	.oree-hero__image img { aspect-ratio: auto; transform-origin: 50% 100%; }
	.oree-hero__panel { position: relative; justify-content: flex-start; padding-top: clamp(2.5rem, 5.5vw, 5.5rem); padding-left: max(var(--oree-gutter), calc((100vw - var(--oree-wide)) / 2 + var(--oree-gutter))); }
	.oree-hero__title { max-width: none; font-size: clamp(2.5rem, 1rem + 3vw, 4.25rem); }
	.oree-hero__text { color: var(--wp--preset--color--muted-2); }
	/* The announcement bar already says it, and the copy must clear the bags. */
	.oree-hero__note { display: none; }
}

/* Delivery announcement above the header bar */
.oree-announce { margin: 0; padding: 0.5rem var(--oree-gutter); background: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary-foreground); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; line-height: 1.25rem; text-align: center; text-transform: uppercase; }

/* Statement */
.oree-statement { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; max-width: 62rem; margin-inline: auto; padding: var(--wp--preset--spacing--80) var(--oree-gutter); text-align: center; }
.oree-statement > * { margin-block: 0; }
.oree-statement__text { margin-top: 1.75rem; font-family: var(--wp--preset--font-family--playfair-display); font-size: clamp(1.75rem, 1.2rem + 2.3vw, 3.25rem); line-height: 1.25; color: var(--wp--preset--color--primary); }
.oree-statement .oree-rule { margin-top: var(--wp--preset--spacing--50); }

/* The craft */
.oree-atelier { background: var(--wp--preset--color--surface); }
.oree-atelier > * { margin-block: 0; }
.oree-atelier__lead { display: grid; align-items: center; }
.oree-atelier__lead > * { margin-block: 0; min-width: 0; }
.oree-atelier__image { margin: 0; }
.oree-atelier__image img { display: block; width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.oree-atelier__intro { box-sizing: border-box; padding: var(--wp--preset--spacing--60) var(--oree-gutter); }
.oree-atelier__intro > * { margin-block: 0; }
.oree-atelier__intro h2 { margin-top: 1rem; font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem); line-height: 1.12; color: var(--wp--preset--color--primary); }
.oree-atelier__intro p:not(.oree-link) { max-width: 34ch; margin-top: 1.25rem; font-size: 1.0625rem; color: var(--wp--preset--color--muted); }
.oree-atelier__intro .oree-link { margin-top: var(--wp--preset--spacing--40); }
@media (min-width: 900px) {
	.oree-atelier__lead { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
	.oree-atelier__image img { aspect-ratio: 16 / 11; }
	.oree-atelier__intro { padding-inline: clamp(2rem, 4vw, 4.5rem) var(--oree-gutter); }
}
.oree-steps { background: var(--wp--preset--color--surface); }
.oree-atelier__steps { display: grid; gap: var(--wp--preset--spacing--50) clamp(1rem, 2.5vw, 2.5rem); box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto !important; padding: var(--wp--preset--spacing--70) var(--oree-gutter); }
.oree-atelier__steps > * { margin: 0; }
.oree-step > * { margin-block: 0; }
.oree-step .wp-block-image { margin: 0; overflow: hidden; }
.oree-step img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.oree-step__number { margin-top: 1.25rem; font-size: var(--wp--preset--font-size--xx-small); letter-spacing: 0.24em; color: var(--wp--preset--color--secondary); }
.oree-step h3 { margin-top: 0.375rem; font-size: 1.5rem; color: var(--wp--preset--color--primary); }
.oree-step p:last-child { max-width: 34ch; margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.55; color: var(--wp--preset--color--muted); }
@media (min-width: 768px) { .oree-atelier__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Collections */
.oree-tiles { display: grid; gap: var(--wp--preset--spacing--50) clamp(0.75rem, 2vw, 1.5rem); box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto !important; padding: var(--wp--preset--spacing--80) var(--oree-gutter); }
.oree-tiles > * { margin: 0; }
.oree-tile { position: relative; }
.oree-tile > * { margin-block: 0; }
.oree-tile .wp-block-image { margin: 0; overflow: hidden; }
.oree-tile .wp-block-image a { display: block; }
.oree-tile .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.oree-tile:hover .wp-block-image img { transform: scale(1.04); }
.oree-tile__caption { padding-top: 1.25rem; text-align: center; }
.oree-tile__caption > * { margin-block: 0; }
.oree-tile__title { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.5rem); color: var(--wp--preset--color--primary); }
.oree-tile__caption .oree-link { margin-top: 0.75rem; }
.oree-tile__caption .oree-link a::after { content: ""; position: absolute; inset: 0; }
@media (min-width: 768px) { .oree-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Quote */
.oree-quote > * { margin-block: 0; }
.oree-quote__text { box-sizing: border-box; max-width: 56rem; margin-inline: auto !important; padding: var(--wp--preset--spacing--70) var(--oree-gutter); font-family: var(--wp--preset--font-family--playfair-display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.75rem); font-style: italic; line-height: 1.25; text-align: center; color: var(--wp--preset--color--primary); }

/* Collection */
.oree-collection { padding-top: 0; }
.oree-collection__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--60); border-top: 1px solid var(--oree-line); }
.oree-collection__head > * { margin: 0; }
.oree-collection__head h2 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem); color: var(--wp--preset--color--primary); }

.oree-craft { background: var(--wp--preset--color--surface); }
.oree-craft__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40) clamp(1rem, 3vw, 2.5rem); padding-block: var(--wp--preset--spacing--60); }
.oree-craft__grid > * { margin: 0; }
.oree-craft__item > * { margin-block: 0; }
.oree-craft__item h3 { font-size: 1.125rem; color: var(--wp--preset--color--primary); }
.oree-craft__item p { margin-top: 0.375rem; font-size: 0.9375rem; line-height: 1.55; color: var(--oree-muted); }
@media (min-width: 900px) { .oree-craft__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Closing film */
.oree-film > * { margin-block: 0; }
.oree-film__frame { position: relative; overflow: hidden; background: var(--wp--preset--color--surface); }
.oree-film__video { display: block; width: 100%; height: clamp(24rem, 62vw, 52rem); object-fit: cover; }
.oree-film__content { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; max-width: 56rem; margin-inline: auto !important; padding: var(--wp--preset--spacing--70) var(--oree-gutter) var(--wp--preset--spacing--80); text-align: center; }
.oree-film__content > * { margin-block: 0; }
.oree-film__title { font-family: var(--wp--preset--font-family--playfair-display); font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem); line-height: 1.08; color: var(--wp--preset--color--primary); }
.oree-film__content .wp-block-buttons { margin-top: var(--wp--preset--spacing--40); }
.oree-film__toggle { position: absolute; right: var(--oree-gutter); bottom: 1rem; min-height: 2.75rem; padding: 0 0.875rem; font: inherit; font-size: var(--wp--preset--font-size--xx-small); font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--wp--preset--color--primary); background: var(--wp--preset--color--base); border: 0; cursor: pointer; }
.oree-film__toggle:hover { color: var(--wp--preset--color--secondary); }

/* Gentle reveal; oree.js adds oree-reveal-ready only when it can also remove it. */
.oree-reveal-ready .oree-reveal { opacity: 0; transform: translateY(1.5rem); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.oree-reveal-ready .oree-reveal.is-visible { opacity: 1; transform: none; }

/* Footer
 * ------------------------------------------------------------------------ */
.oree-footer { box-sizing: border-box; background: var(--wp--preset--color--primary); color: rgb(255 255 255 / 0.78); font-size: var(--wp--preset--font-size--small); }
.oree-footer > * { margin-block: 0; }
.oree-footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40); box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto; padding: var(--wp--preset--spacing--60) var(--oree-gutter) var(--wp--preset--spacing--50); }
.oree-footer__grid > * { margin-block: 0; }
.oree-footer__brand { grid-column: 1 / -1; }
.oree-footer__brand > * { margin-block: 0; }
.oree-footer__brand p { max-width: 24rem; margin-top: 1rem; }
.oree-footer__brand .oree-footer__contact { margin-top: 1rem; }
.oree-footer .oree-wordmark { align-items: flex-start; color: #fff; }
.oree-footer .oree-wordmark__sub { color: #C9AE93; }
.oree-footer h6 { margin: 0 0 0.875rem; color: #C9AE93; }
.oree-footer ul { margin: 0; padding: 0; list-style: none; }
.oree-footer li { margin: 0; }
.oree-footer li + li { margin-top: 0.25rem; }
.oree-footer li a { display: inline-block; padding-block: 0.25rem; color: inherit; text-decoration: none; }
.oree-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }
.oree-footer :focus-visible { outline-color: #fff; }
.oree-footer__legal { box-sizing: border-box; max-width: var(--oree-wide); margin: 0 auto !important; padding: 1rem var(--oree-gutter) 1.25rem; font-size: var(--wp--preset--font-size--x-small); color: rgb(255 255 255 / 0.68); }
@media (min-width: 900px) {
	.oree-footer__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
	.oree-footer__brand { grid-column: auto; }
}

/* Content pages: About, FAQ, Contact, Shipping & Returns, cart, checkout
 * ------------------------------------------------------------------------ */
.oree-page > *, .wp-block-post-content > * { margin-block: 0; }
.dsgo-shape-divider { display: none !important; }
.wp-block-post-content :is(.is-style-section-1, .is-style-section-2) { --dsgo-text-color: var(--wp--preset--color--contrast); }
.wp-block-post-content .is-style-section-1 { background-color: var(--wp--preset--color--base); }
.wp-block-post-content .is-style-section-2 { background-color: var(--wp--preset--color--surface); }

/* About and Contact header: the full photo, never cropped. */
.oree-page-hero { display: grid; align-items: center; box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto !important; padding: var(--wp--preset--spacing--50) var(--oree-gutter) var(--wp--preset--spacing--60); gap: var(--wp--preset--spacing--50); }
.oree-page-hero > * { margin-block: 0; min-width: 0; }
.oree-page-hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.oree-page-hero__text > * { margin-block: 0; }
.oree-page-hero__text h1 { max-width: 14ch; margin-top: 1.25rem; font-size: clamp(2.5rem, 1.5rem + 3.2vw, 4.25rem); line-height: 1.08; color: var(--wp--preset--color--primary); }
.oree-page-hero__text .oree-rule { margin-top: var(--wp--preset--spacing--40); }
.oree-page-hero__text p:not(.oree-eyebrow) { max-width: 36ch; margin-top: var(--wp--preset--spacing--40); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); color: var(--wp--preset--color--muted); }
.oree-page-hero__image { margin: 0; }
.oree-page-hero__image img { display: block; width: 100%; height: auto; }
.oree-page-hero p.oree-eyebrow { font-weight: 600; text-transform: uppercase; }
@media (max-width: 899px) { .oree-page-hero__image { order: -1; } }
@media (min-width: 900px) {
	.oree-page-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); }
	.oree-page-hero__image { justify-self: end; width: min(100%, 34rem); }
}

/* Page headers: image with a dark overlay. */
.is-style-overlay-dark.wp-block-designsetgo-section { --dsgo-overlay-color: var(--wp--preset--color--base-3); --dsgo-overlay-opacity: 0.55; color: #fff; }
.is-style-overlay-dark :is(h1, h2, h3, h4, h5, h6, p, li), .is-style-on-dark :is(h1, h2, h3, h4, h5, h6, p, li) { color: #fff; }
.is-style-on-dark { color: #fff; --dsgo-text-color: #fff; }

.is-style-card, .is-style-card-outlined, .is-style-card-featured { padding: var(--wp--preset--spacing--40); background-color: var(--wp--preset--color--contrast-3); border: 1px solid var(--oree-line); border-radius: 0; box-shadow: none; }

.wp-block-post-content :is(.dsgo-form-builder, .wp-block-designsetgo-form-builder) :is(input, select, textarea) { border-radius: 0; }

/* Cart, checkout and account use WooCommerce's classic shortcodes. */
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) main { box-sizing: border-box; max-width: var(--oree-wide); margin-inline: auto; padding: var(--wp--preset--spacing--40) var(--oree-gutter) var(--wp--preset--spacing--70); }
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) :is(.wp-block-post-title, .wp-block-post-content) { max-width: none; margin-inline: 0; }
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--xx-large); }
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .wp-block-post-content .woocommerce { max-width: none; }
.woocommerce-cart .wc-proceed-to-checkout .checkout-button, .woocommerce-checkout #place_order { padding-block: 1rem; font-size: var(--wp--preset--font-size--x-small); }
.woocommerce table.shop_table, .woocommerce .cart_totals table { border-radius: 0; border-color: var(--oree-line); }
.woocommerce table.shop_table :is(th, td) { border-color: var(--oree-line); font-size: var(--wp--preset--font-size--small); }
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .woocommerce :is(input.input-text, select, textarea) { min-height: 2.75rem; padding-inline: 0.75rem; border: 1px solid var(--oree-line); border-radius: 0; background: var(--wp--preset--color--contrast-3); font-size: var(--wp--preset--font-size--small); }
.woocommerce :is(.cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-additional-fields h3) { font-size: var(--wp--preset--font-size--large); }
.oree-free-delivery { display: flex; align-items: center; gap: 0.625rem; margin: 0 0 var(--wp--preset--spacing--30); padding: 0.75rem 1rem; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--primary); font-size: var(--wp--preset--font-size--small); font-weight: 600; }
.oree-free-delivery::before { content: ""; flex: none; width: 0.4375rem; height: 0.4375rem; background: var(--wp--preset--color--tan); transform: rotate(45deg); }

/* Text pages with a plain title: Privacy, Terms */
.oree-prose { --wp--style--global--content-size: 44rem; padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--70); }
.oree-prose .wp-block-post-title { margin-bottom: var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--xx-large); }
.oree-prose .wp-block-post-content > * + * { margin-top: 1rem; }
.oree-prose .wp-block-post-content > :is(h2, h3) { margin-top: var(--wp--preset--spacing--40); font-size: var(--wp--preset--font-size--large); }
/* These pages repeat their title as the first heading of the content. */
.oree-prose .wp-block-post-content > h2:first-child { display: none; }
.oree-prose .wp-block-post-content > h2:first-child + * { margin-top: 0; }
.woocommerce-account .oree-prose { --wp--style--global--content-size: 1080px; }
