/* ==========================================================================
   Plane Skin — theme styles (complements theme.json)
   ========================================================================== */

:root {
	--ps-ink: var(--wp--preset--color--ink, #0B2D29);
	--ps-mauve: var(--wp--preset--color--mauve, #107064);
	--ps-muted: var(--wp--preset--color--muted, #3D5C58);
	--ps-line: var(--wp--preset--color--line, #DAE7E6);
	--ps-ivory: var(--wp--preset--color--ivory, #FAFCFC);
	--ps-rose: var(--wp--preset--color--rose, #C8F4EF);
	--ps-cream: var(--wp--preset--color--cream, #F3FCFB);
	--ps-display: var(--wp--preset--font-family--display, "Playfair Display", Georgia, serif);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 24px; }
img { max-width: 100%; height: auto; }

.ps-sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---- Small uppercase labels ---------------------------------------------- */
.is-style-eyebrow {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 0.75rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase;
	line-height: 1.4 !important;
	color: var(--ps-mauve);
}
.has-text-color.is-style-eyebrow { color: inherit; }

/* ---- Buttons -------------------------------------------------------------- */
.wp-block-button .wp-block-button__link { transition: transform .2s ease, background-color .2s ease; }
.wp-block-button .wp-block-button__link:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .wp-block-button .wp-block-button__link:hover { transform: none; } }
.wp-block-button.is-style-text-link .wp-block-button__link {
	background: transparent !important;
	color: var(--ps-ink) !important;
	padding: 0.85rem 0.25rem !important;
	text-decoration: underline;
	text-underline-offset: 6px;
}
.wp-block-button.is-style-text-link .wp-block-button__link:hover { color: var(--ps-mauve) !important; transform: none; }
.wp-block-button.is-style-outline .wp-block-button__link { border-width: 1px; }

/* ---- Header --------------------------------------------------------------- */
.ps-announce a { color: inherit; text-decoration: none; }
.ps-announce a:hover { text-decoration: underline; color: inherit; }
.ps-header-bar { display: grid !important; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 84px; column-gap: 16px; }
/* Place header pieces by name, not position, so blocks other plugins add can't push the logo out of line. */
.ps-header-bar > * { grid-row: 1; margin: 0 !important; min-width: 0; }
.ps-header-bar > .ps-header-nav { grid-column: 1; justify-self: start; }
.ps-header-bar > .wp-block-site-title { grid-column: 2; justify-self: center; white-space: nowrap; }
.ps-header-bar > .ps-header-actions { grid-column: 3; justify-self: end; }
.ps-header-bar > :not(.ps-header-nav):not(.wp-block-site-title):not(.ps-header-actions) { grid-column: 3; justify-self: end; }
.ps-header-actions { align-items: center; }
.ps-header-actions .wc-block-mini-cart__button, .ps-header-actions .wp-block-woocommerce-customer-account a {
	min-width: 44px; min-height: 44px; padding: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--ps-ink);
}
.ps-header-actions .wc-block-mini-cart__button { background: transparent !important; border: 0 !important; box-shadow: none !important; }
.ps-header-actions .wc-block-mini-cart__badge { background: var(--ps-mauve); color: #fff; }
.ps-header-bar .wp-block-navigation__container > .ps-mobile-only { display: none; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .ps-mobile-only { display: flex; }
.ps-header-bar .wp-block-buttons .wp-block-button__link { padding: 0.8rem 1.25rem; font-size: 0.6875rem; white-space: nowrap; }
.ps-header-bar .wp-block-navigation__container { gap: 1.75rem; }
.ps-header-bar .wp-block-navigation-item a:hover,
.ps-header-bar .wp-block-navigation-item.current-menu-item a { text-decoration: underline; text-underline-offset: 6px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.5rem 1rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	width: 100%; border-bottom: 1px solid var(--ps-line); padding: 1rem 0;
	font-family: var(--ps-display); font-size: 2rem; letter-spacing: -0.04em; text-transform: none; font-weight: 500;
}
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 1023px) {
	.ps-header-bar .wp-block-navigation__container { gap: 1.1rem; }
	.ps-header-cta { display: none !important; }
}
@media (max-width: 599px) {
	.ps-header-bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); min-height: 64px; column-gap: 4px; }
	.ps-header-bar > .wp-block-site-title { font-size: 1.85rem !important; }
	.ps-header-actions { gap: 0 !important; }
	.ps-header-actions .wc-block-mini-cart__button, .ps-header-actions .wp-block-woocommerce-customer-account a { padding: 8px; }
}

/* ---- Cards & sections ----------------------------------------------------- */
.wp-block-group.is-style-card {
	background: var(--ps-ivory);
	border: 1px solid var(--ps-line);
	border-radius: 22px;
	padding: clamp(1.5rem, 3vw, 2.25rem);
}
.ps-dark-card { border-radius: 22px; padding: clamp(1.5rem, 3vw, 2.25rem); }
.ps-pill {
	display: inline-block; border-radius: 100px; padding: 6px 12px;
	font-size: 0.6875rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.4 !important;
}
.wp-block-image.is-style-rounded-soft img { border-radius: 16px; }
.ps-photo-grid img, .ps-moodboard img { width: 100%; object-fit: cover; display: block; }
.ps-photo-grid .wp-block-image img { height: clamp(260px, 32vw, 460px); }
.ps-photo-grid .wp-block-image figcaption {
	text-align: left; margin-top: 1rem; color: var(--ps-ink);
	font-size: 0.75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ps-moodboard { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.ps-moodboard .wp-block-image { margin: 0; }
.ps-moodboard img { height: clamp(180px, 20vw, 280px); }
@media (max-width: 781px) { .ps-moodboard { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ps-moodboard > :last-child { display: none; } }

/* Full-height image column (hero / feature) */
.ps-split { gap: 0 !important; }
.ps-split > .wp-block-column { min-width: 0; }
.ps-split .wp-block-cover { height: 100%; }
@media (max-width: 781px) {
	.ps-split > .wp-block-column.ps-split-media { order: -1; }
	.ps-split .wp-block-cover { min-height: 440px !important; }
}

/* Benefit strip */
.ps-benefit { display: flex; gap: 14px; align-items: center; }
.ps-benefit svg { flex: 0 0 30px; }
.ps-benefit strong { display: block; font-size: 0.875rem; }
.ps-benefit span { display: block; font-size: 0.8125rem; color: var(--ps-muted); line-height: 1.45; }
.ps-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

/* ---- Boarding pass graphic ------------------------------------------------ */
.ps-pass { background: var(--ps-ivory); border-radius: 22px; overflow: hidden; display: flex; flex-wrap: wrap; color: var(--ps-ink); }
.ps-pass__main { flex: 1 1 320px; min-width: 0; padding: 30px 32px; }
.ps-pass__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ps-pass__brand { font-family: var(--ps-display); font-size: 1.625rem; font-weight: 600; letter-spacing: -.07em; }
.ps-pass__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-muted); }
.ps-pass__label--accent { color: var(--ps-mauve); font-size: 0.75rem; }
.ps-pass__route { display: flex; justify-content: space-between; align-items: flex-end; margin: 28px 0 22px; gap: 12px; }
.ps-pass__code { font-family: var(--ps-display); font-size: 2.5rem; line-height: 1.1; }
.ps-pass__city { font-size: 0.8125rem; color: var(--ps-muted); }
.ps-pass__steps { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px dashed #A9CFCA; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; font-size: 0.875rem; }
.ps-pass__steps b { color: var(--ps-mauve); margin-right: 4px; }
.ps-pass__stub { flex: 0 0 150px; background: var(--ps-rose); border-left: 2px dashed var(--ps-cream); padding: 30px 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.ps-pass__stub .ps-pass__label { color: var(--ps-ink); }
.ps-pass__stub div div:last-child { font-size: 1rem; margin-top: 4px; }
.ps-pass--large .ps-pass__bar { background: var(--ps-ink); color: var(--ps-ivory); padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ps-pass--large .ps-pass__bar .ps-pass__label { color: var(--wp--preset--color--petal-light, #8CEADF); }
.ps-pass--large .ps-pass__grid { padding: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: end; }
.ps-pass--large .ps-pass__value { font-size: 1.125rem; margin-top: 4px; }
.ps-pass--large .ps-pass__foot { border-top: 2px dashed var(--ps-line); padding: 18px 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--ps-rose); }
.ps-pass--large .ps-pass__foot .ps-pass__label { color: var(--ps-ink); }
.ps-pass--large { display: block; }
@media (max-width: 480px) {
	.ps-pass__stub { flex-basis: 100%; border-left: 0; border-top: 2px dashed var(--ps-cream); flex-direction: row; flex-wrap: wrap; }
	.ps-pass__code { font-size: 2rem; }
	.ps-pass__steps { grid-template-columns: 1fr; }
	.ps-pass--large .ps-pass__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- Routine gates -------------------------------------------------------- */
.ps-gate { border-radius: 20px; overflow: hidden; border: 1px solid var(--ps-line); }
.ps-gate > .wp-block-column:first-child { flex: 0 0 140px !important; border-right: 2px dashed var(--ps-cream); padding: 26px; }
.ps-gate > .wp-block-column:last-child { padding: 28px 32px; }
.ps-gate .ps-gate__no { font-family: var(--ps-display); font-size: 3.5rem; line-height: 1; margin: 0; }
.ps-gate--dark { border-color: var(--ps-ink); }
.ps-gate--dark > .wp-block-column:first-child { border-right-color: var(--ps-ink); }
.ps-gate .ps-product-line { font-weight: 700; font-size: 0.875rem; }
.ps-link-caps a, a.ps-link-caps { font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 781px) {
	.ps-gate { gap: 0 !important; }
	.ps-gate > .wp-block-column:first-child { flex-basis: 100% !important; border-right: 0; border-bottom: 2px dashed var(--ps-cream); padding: 18px 24px; display: flex; align-items: baseline; gap: 12px; }
	.ps-gate > .wp-block-column:first-child > * { margin: 0; }
	.ps-gate > .wp-block-column:last-child { padding: 22px 24px; }
}

/* ---- FAQ ------------------------------------------------------------------ */
.wp-block-details.is-style-faq { border-bottom: 1px solid var(--ps-line); padding: 22px 0; margin: 0 !important; }
.wp-block-details.is-style-faq summary {
	font-family: var(--ps-display); font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: -.03em; cursor: pointer;
	list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.wp-block-details.is-style-faq summary::-webkit-details-marker { display: none; }
.wp-block-details.is-style-faq summary::after { content: "+"; font-family: var(--wp--preset--font-family--body); font-size: 1.5rem; color: var(--ps-mauve); transition: transform .2s; }
.wp-block-details.is-style-faq[open] summary::after { transform: rotate(45deg); }
.wp-block-details.is-style-faq > :not(summary) { color: var(--ps-muted); margin-top: 12px; max-width: 720px; }
.ps-faq-list { border-top: 1px solid var(--ps-line); }

/* ---- Lists ---------------------------------------------------------------- */
.wp-block-list.is-style-plain { list-style: none; padding-left: 0; }
.wp-block-list.is-style-plain li { margin: 0.5rem 0; }
.wp-block-list.is-style-checks { list-style: none; padding-left: 0; }
.wp-block-list.is-style-checks li { position: relative; padding-left: 30px; margin: 0.6rem 0; font-size: 0.9375rem; }
.wp-block-list.is-style-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.3em; width: 18px; height: 10px;
	border-left: 2px solid var(--ps-mauve); border-bottom: 2px solid var(--ps-mauve); transform: rotate(-45deg) scale(.7); transform-origin: left top;
	top: 0.75em;
}

/* ---- Tables --------------------------------------------------------------- */
.ps-compare table { border-collapse: collapse; background: var(--ps-ivory); border-radius: 20px; overflow: hidden; min-width: 520px; }
.ps-compare { overflow-x: auto; border: 1px solid var(--ps-line); border-radius: 20px; }
.ps-compare th, .ps-compare td { border: 0; border-bottom: 1px solid var(--ps-line); padding: 18px 24px; text-align: left; }
.ps-compare tr:last-child td { border-bottom: 0; }
.ps-compare thead th { font-family: var(--ps-display); font-size: 1.5rem; font-weight: 500; letter-spacing: -.03em; border-bottom: 1px solid var(--ps-line); }
.ps-compare td:first-child { color: var(--ps-muted); }
.ps-compare figcaption { display: none; }

/* ---- Forms (Plane Skin Core) ---------------------------------------------- */
.ps-form { display: grid; gap: 18px; text-align: left; }
.ps-form label, .ps-form legend { font-size: 0.8125rem; font-weight: 700; }
.ps-form .ps-field { display: grid; gap: 8px; }
.ps-form .ps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ps-form input[type="text"], .ps-form input[type="email"], .ps-form textarea {
	width: 100%; box-sizing: border-box; min-height: 50px; border: 1px solid #A9CFCA; background: var(--ps-ivory);
	border-radius: 100px; padding: 0 22px; font: inherit; font-size: 0.9375rem; color: var(--ps-ink);
}
.ps-form textarea { border-radius: 16px; padding: 14px 18px; min-height: 140px; resize: vertical; }
.ps-form input:focus-visible, .ps-form textarea:focus-visible { outline: 2px solid var(--ps-mauve); outline-offset: 2px; }
.ps-form fieldset { border: 0; padding: 0; margin: 0; }
.ps-form legend { margin-bottom: 10px; padding: 0; }
.ps-form .ps-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-form .ps-chip { position: relative; }
.ps-form .ps-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ps-form .ps-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #A9CFCA; border-radius: 100px; font-size: 0.875rem; font-weight: 500; background: var(--ps-ivory); }
.ps-form .ps-chip input:checked + span { background: var(--ps-ink); border-color: var(--ps-ink); color: #fff; }
.ps-form .ps-chip input:focus-visible + span { outline: 2px solid var(--ps-mauve); outline-offset: 2px; }
.ps-form .ps-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.8125rem; font-weight: 400; color: var(--ps-muted); line-height: 1.5; }
.ps-form .ps-consent input { margin-top: 3px; accent-color: var(--ps-mauve); width: 18px; height: 18px; flex: 0 0 18px; }
.ps-form button[type="submit"] {
	justify-self: start; display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px;
	border-radius: 100px; background: var(--ps-ink); color: #fff; border: 0; font: inherit;
	font-size: 0.75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
}
.ps-form button[type="submit"]:hover { background: #107064; }
.ps-form--card { background: var(--ps-ivory); border-radius: 24px; padding: clamp(1.5rem, 3vw, 2rem); }
.ps-form--card input[type="text"], .ps-form--card input[type="email"] { background: var(--ps-cream); }
.ps-form--inline { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.ps-form--inline input[type="email"] { flex: 1 1 240px; width: auto; }
.ps-form--inline .ps-consent { flex-basis: 100%; }
.ps-form--stack { display: grid; gap: 10px; }
.ps-form--stack button[type="submit"] { justify-self: stretch; }
.ps-form-note { font-size: 0.8125rem; color: var(--ps-muted); margin-top: 10px; }
.ps-alert { border-radius: 16px; padding: 14px 18px; font-size: 0.9375rem; margin-bottom: 14px; }
.ps-alert--ok { background: #e3efe6; color: #1f4a2c; }
.ps-alert--err { background: #f8e1e1; color: #7a1f1f; }
.ps-hp { position: absolute !important; left: -9999px !important; }

/* ---- Footer --------------------------------------------------------------- */
.ps-footer a { color: inherit; }
.ps-footer a:hover { color: var(--wp--preset--color--petal-light, #8CEADF); }
.ps-footer .wp-block-list.is-style-plain a { text-decoration: none; font-size: 0.875rem; }
.ps-footer .wp-block-list.is-style-plain a:hover { text-decoration: underline; }
.ps-footer .wp-block-social-links .wp-social-link { border: 1px solid #3F6A65; }
.ps-footer .wp-block-social-links .wp-block-social-link-anchor { padding: 0.65em; }

/* ---- Journal -------------------------------------------------------------- */
.ps-post-card .wp-block-post-featured-image img { border-radius: 16px; height: 300px; object-fit: cover; width: 100%; }
.ps-post-card .wp-block-post-title a { text-decoration: none; }
.ps-post-card .wp-block-post-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.wp-block-post-terms.is-style-eyebrow a { text-decoration: none; color: inherit; }
.ps-journal-grid .wp-block-post-template { gap: 2.5rem 1.5rem; }
.wp-block-query-pagination { margin-top: 3rem; font-weight: 700; }

/* Single post */
.ps-article .wp-block-post-content > p:first-of-type::first-letter {
	font-family: var(--ps-display); float: left; font-size: 4.2rem; line-height: .9; padding: 6px 10px 0 0; color: var(--ps-mauve);
}

/* ---- WooCommerce ---------------------------------------------------------- */
.woocommerce .price, .wc-block-components-product-price, .wp-block-woocommerce-product-price {
	font-family: var(--ps-display); font-size: 2rem; color: var(--ps-ink);
}
form.cart .variations { border: 0; margin-bottom: 1rem; }
form.cart .variations th, form.cart .variations td { display: block; padding: 0 0 6px; text-align: left; line-height: 1.4; }
form.cart .variations label { font-size: 0.8125rem; font-weight: 700; }
form.cart .variations select {
	min-height: 50px; border: 1px solid #A9CFCA; border-radius: 100px; padding: 0 44px 0 20px; background-color: var(--ps-ivory);
	font: inherit; font-size: 0.9375rem; width: 100%; max-width: 360px; margin-bottom: 12px;
}
form.cart .reset_variations { font-size: 0.8125rem; }
form.cart .quantity .qty { min-height: 50px; border-radius: 100px; border: 1px solid #A9CFCA; background: var(--ps-ivory); width: 4.5em; }
.woocommerce button.button, .woocommerce a.button, .woocommerce .single_add_to_cart_button,
.wc-block-components-button:not(.is-link) {
	border-radius: 100px !important; background: var(--ps-ink) !important; color: #fff !important;
	font-size: 0.75rem !important; font-weight: 700 !important; letter-spacing: .14em; text-transform: uppercase; min-height: 50px; padding: 0 28px !important;
}
.woocommerce button.button:hover, .woocommerce a.button:hover, .woocommerce .single_add_to_cart_button:hover { background: #107064 !important; }
.ps-preorder-badge {
	display: inline-flex; gap: 8px; align-items: center; background: var(--ps-rose); color: var(--ps-ink);
	border-radius: 100px; padding: 8px 14px; font-size: 0.75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px;
}
.woocommerce-product-gallery img, .wc-block-components-product-image img { border-radius: 16px; }
.woocommerce .woocommerce-breadcrumb, .wc-block-breadcrumbs { font-size: 0.8125rem; color: var(--ps-muted); }
.wc-block-components-notice-banner { border-radius: 14px; }

/* ---- Hero ----------------------------------------------------------------- */
.ps-hero h1 em { color: #198F81; font-weight: 400; }
.ps-hero .wp-block-column:first-child > * { max-width: 540px; }
.ps-hero .ps-form--inline { margin-top: 2rem; }

/* ---- Benefit icons (editable columns + CSS icons) ------------------------- */
.ps-benefit-col { position: relative; padding-left: 46px; }
.ps-benefit-col > p { margin: 0 !important; }
.ps-benefit-col::before {
	content: ""; position: absolute; left: 0; top: 50%; width: 30px; height: 30px; transform: translateY(-50%);
	background: var(--ps-mauve); -webkit-mask: var(--ps-icon) center / contain no-repeat; mask: var(--ps-icon) center / contain no-repeat;
}
.ps-icon-bag { --ps-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 8h6M9 12h6'/%3E%3C/svg%3E"); }
.ps-icon-ticket { --ps-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 7h18v10H3z'/%3E%3Cpath d='M15 7v10' stroke-dasharray='2 2'/%3E%3C/svg%3E"); }
.ps-icon-choice { --ps-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Ccircle cx='8' cy='12' r='4.5'/%3E%3Ccircle cx='16' cy='12' r='4.5'/%3E%3C/svg%3E"); }
.ps-icon-arrow { --ps-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.4'%3E%3Cpath d='M3 12h18M15 6l6 6-6 6'/%3E%3C/svg%3E"); }
@media (min-width: 600px) and (max-width: 1023px) {
	.ps-benefits-row { flex-wrap: wrap !important; }
	.ps-benefits-row > .wp-block-column { flex-basis: calc(50% - 12px) !important; flex-grow: 0; }
}
.ps-photo-grid > .wp-block-column:nth-child(2) img { object-position: 50% 28%; }
.wp-block-site-title { text-transform: lowercase; }
.ps-gate--dark a, .ps-dark-card a:not(.wp-block-button__link) { color: var(--ps-ivory); }
.ps-gate--dark a:hover, .ps-dark-card a:not(.wp-block-button__link):hover { color: var(--wp--preset--color--petal-light, #8CEADF); }

/* ==========================================================================
   Shop pages — basket, checkout, order confirmation, My Account
   ========================================================================== */
.ps-checkout-bar { align-items: center; }
.ps-checkout-bar > * { flex: 1 1 0; margin: 0 !important; }
.ps-checkout-bar > .wp-block-site-title { text-align: center; flex: 0 0 auto; }
.ps-checkout-bar > .ps-secure { text-align: right; }
.ps-checkout-bar > .ps-secure::before {
	content: ""; display: inline-block; width: 12px; height: 14px; margin-right: 8px; vertical-align: -2px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2 6V4a4 4 0 0 1 8 0v2h1v8H1V6zm2 0h4V4a2 2 0 0 0-4 0z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 14'%3E%3Cpath d='M2 6V4a4 4 0 0 1 8 0v2h1v8H1V6zm2 0h4V4a2 2 0 0 0-4 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 599px) {
	.ps-checkout-bar > .ps-link-caps a { font-size: 0.6875rem; }
	.ps-checkout-bar > .wp-block-site-title { font-size: 1.6rem !important; }
	.ps-checkout-bar > .ps-secure { font-size: 0.625rem !important; letter-spacing: .1em !important; }
}
.ps-reassure { gap: 24px; border-top: 1px solid var(--ps-line); padding-top: 28px; }
.ps-reassure p { font-size: 0.875rem; color: var(--ps-muted); line-height: 1.5; }
.ps-reassure strong { color: var(--ps-ink); }

/* Panels: basket items, order summary, checkout steps */
.ps-shop-page .wc-block-components-sidebar-layout { gap: clamp(1.5rem, 4vw, 3rem); }
.ps-shop-page .wc-block-components-main { min-width: 0; }
.ps-shop-page .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.ps-shop-page .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.ps-shop-page .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
	background: var(--ps-ivory); border-color: var(--ps-line) !important;
}
.ps-shop-page .wc-block-components-sidebar > .wp-block-woocommerce-cart-totals-block,
.ps-shop-page .wc-block-checkout__sidebar {
	background: var(--ps-ivory); border: 1px solid var(--ps-line); border-radius: 22px; padding: 8px 24px 24px;
}
.ps-shop-page .wc-block-checkout__sidebar.is-sticky { top: 24px; }
.ps-shop-page .wc-block-cart-items { border-color: var(--ps-line) !important; }
.ps-shop-page .wc-block-cart-items th, .ps-shop-page .wc-block-cart-items__header {
	font-size: 0.75rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ps-mauve);
}
.ps-shop-page .wc-block-cart-items td { border-color: var(--ps-line) !important; }
.ps-shop-page .wc-block-cart-item__image img, .ps-shop-page .wc-block-components-order-summary-item__image img { border-radius: 12px; }
.ps-shop-page .wc-block-components-product-name {
	font-family: var(--ps-display); font-size: 1.375rem; letter-spacing: -.03em; text-decoration: none; color: var(--ps-ink);
}
.ps-shop-page .wc-block-components-product-details, .ps-shop-page .wc-block-components-product-metadata { font-size: 0.8125rem; color: var(--ps-muted); }
.ps-shop-page .wc-block-components-product-details__name { font-weight: 700; color: var(--ps-ink); }
.ps-shop-page .wc-block-components-product-price, .ps-shop-page .wc-block-components-formatted-money-amount { font-family: var(--wp--preset--font-family--body); }
.ps-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.ps-shop-page .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--ps-display); font-size: 1.5rem; font-weight: 500; }
.ps-shop-page .wc-block-components-title, .ps-shop-page .wc-block-components-checkout-step__title, .ps-shop-page .wc-block-cart__totals-title {
	font-family: var(--ps-display) !important; font-size: 1.5rem !important; font-weight: 500 !important; letter-spacing: -.03em; text-transform: none !important;
}
.ps-shop-page .wc-block-cart__totals-title { font-size: 0.75rem !important; font-family: var(--wp--preset--font-family--body) !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase !important; color: var(--ps-mauve); }
.ps-shop-page .wc-block-components-checkout-step__description { color: var(--ps-muted); font-size: 0.875rem; }
.ps-shop-page .wc-block-components-checkout-step { margin-bottom: 2rem; }

/* Quantity stepper */
.ps-shop-page .wc-block-components-quantity-selector { border-radius: 100px; border-color: #A9CFCA; overflow: hidden; }
.ps-shop-page .wc-block-components-quantity-selector::after { border: 0 !important; }
.ps-shop-page .wc-block-components-quantity-selector input { font-weight: 700; }
.ps-shop-page .wc-block-cart-item__remove-link { font-size: 0.75rem !important; color: var(--ps-muted) !important; }

/* Form fields */
.ps-shop-page .wc-block-components-text-input input,
.ps-shop-page .wc-block-components-text-input textarea,
.ps-shop-page .wc-blocks-components-select .wc-blocks-components-select__select,
.ps-shop-page .wc-block-components-combobox .components-combobox-control input,
.ps-shop-page .wc-block-components-address-form select {
	background: var(--ps-ivory) !important; border: 1px solid #A9CFCA !important; border-radius: 14px !important; color: var(--ps-ink) !important;
}
.ps-shop-page .wc-block-components-text-input.is-active input, .ps-shop-page .wc-block-components-text-input input:focus,
.ps-shop-page .wc-blocks-components-select .wc-blocks-components-select__select:focus {
	border-color: var(--ps-mauve) !important; box-shadow: 0 0 0 1px var(--ps-mauve) !important; outline: none;
}
.ps-shop-page .wc-block-components-text-input label, .ps-shop-page .wc-blocks-components-select__label { color: var(--ps-muted) !important; }
.ps-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { border-radius: 5px; border-color: #7FB9B1; }
.ps-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { background: var(--ps-ink); border-color: var(--ps-ink); }
.ps-shop-page .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.ps-shop-page .wc-block-components-radio-control__option, .ps-shop-page .wc-block-components-radio-control-accordion-option { border-color: var(--ps-line) !important; }
.ps-shop-page .wc-block-components-radio-control__input:checked { border-color: var(--ps-ink) !important; }
.ps-shop-page .wc-block-components-radio-control__input:checked::before { background: var(--ps-ink) !important; }
.ps-shop-page .wc-block-components-panel__button, .ps-shop-page .wc-block-components-totals-coupon-link { color: var(--ps-ink); }
.ps-shop-page .wc-block-checkout__terms { font-size: 0.8125rem; color: var(--ps-muted); }

/* Primary buttons */
.ps-shop-page .wc-block-cart__submit-button, .ps-shop-page .wc-block-components-checkout-place-order-button,
.ps-shop-page .wc-block-components-button.contained {
	width: 100%; min-height: 54px !important; border-radius: 100px !important; background: var(--ps-ink) !important; color: #fff !important;
	font-size: 0.75rem !important; font-weight: 700 !important; letter-spacing: .14em !important; text-transform: uppercase !important; border: 0 !important;
}
.ps-shop-page .wc-block-cart__submit-button:hover, .ps-shop-page .wc-block-components-checkout-place-order-button:hover { background: #107064 !important; }
.ps-shop-page .wc-block-components-checkout-return-to-cart-button { color: var(--ps-ink); font-size: 0.875rem; }

/* Empty basket */
.ps-shop-page .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-family: var(--ps-display); font-weight: 500; letter-spacing: -.04em; }
.ps-shop-page .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before { background-color: var(--ps-mauve); }

/* Notices */
.wc-block-components-notice-banner { border-radius: 14px !important; font-size: 0.9375rem; }
.wc-block-components-notice-banner.is-info { background: var(--ps-cream); border-color: var(--ps-line); }

/* Order confirmation (WooCommerce's own template, restyled) */
.wc-block-order-confirmation-status { text-align: center; padding: clamp(1.5rem, 4vw, 3rem) 0 1rem; }
.wc-block-order-confirmation-status h1 { font-family: var(--ps-display); font-weight: 500; letter-spacing: -.045em; }
.wc-block-order-confirmation-status p { color: var(--ps-muted); }
.wc-block-order-confirmation-summary { background: var(--ps-ivory); border: 1px dashed #A9CFCA !important; border-radius: 22px; padding: 24px 28px !important; }
.wc-block-order-confirmation-summary-list { gap: 18px 32px !important; }
.wc-block-order-confirmation-summary-list-item__key { font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-muted); }
.wc-block-order-confirmation-summary-list-item__value { font-family: var(--ps-display); font-size: 1.25rem; }
.wc-block-order-confirmation-totals table, .wc-block-order-confirmation-downloads table { border-radius: 18px; overflow: hidden; border-color: var(--ps-line) !important; background: var(--ps-ivory); }
.wc-block-order-confirmation-totals th, .wc-block-order-confirmation-totals td { border-color: var(--ps-line) !important; padding: 14px 18px !important; }
.wc-block-order-confirmation-billing-address, .wc-block-order-confirmation-shipping-address { background: var(--ps-ivory); border-color: var(--ps-line) !important; border-radius: 18px; padding: 20px !important; }
.wp-block-woocommerce-order-confirmation-totals-wrapper h2, .wp-block-woocommerce-order-confirmation-shipping-wrapper h2,
.wp-block-woocommerce-order-confirmation-billing-wrapper h2, .wp-block-woocommerce-order-confirmation-additional-information h2 {
	font-size: 1.5rem; letter-spacing: -.03em;
}

/* My Account (classic WooCommerce account area) */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); align-items: flex-start; }
.woocommerce-account .woocommerce-MyAccount-navigation { flex: 1 1 220px; max-width: 280px; float: none !important; width: auto !important; }
.woocommerce-account .woocommerce-MyAccount-content { flex: 999 1 420px; min-width: 0; float: none !important; width: auto !important; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ps-line); }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--ps-line); }
.woocommerce-MyAccount-navigation li a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 0.8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--ps-mauve); }
.woocommerce-MyAccount-navigation li.is-active a::before { content: "→"; margin-right: 10px; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-child { font-family: var(--ps-display); font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.4; }
.woocommerce table.shop_table, .woocommerce-orders-table { border-collapse: separate !important; border-spacing: 0; border: 1px solid var(--ps-line) !important; border-radius: 18px; overflow: hidden; background: var(--ps-ivory); }
.woocommerce table.shop_table th { font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-muted); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--ps-line) !important; padding: 14px 16px !important; }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password, .woocommerce-account .woocommerce-EditAccountForm, .woocommerce-address-fields {
	background: var(--ps-ivory); border: 1px solid var(--ps-line) !important; border-radius: 22px !important; padding: clamp(1.25rem, 3vw, 2rem) !important;
}
.woocommerce form .form-row label { font-size: 0.8125rem; font-weight: 700; }
.woocommerce form .form-row .input-text, .woocommerce form .form-row select, .woocommerce-Input {
	min-height: 50px; border: 1px solid #A9CFCA !important; border-radius: 14px !important; background: var(--ps-cream) !important; padding: 0 16px !important; font: inherit; font-size: 0.9375rem;
}
.woocommerce form .form-row textarea { padding: 12px 16px !important; min-height: 120px; }
.woocommerce-account h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.woocommerce-info, .woocommerce-message, .woocommerce-error { border-radius: 14px; border-top-width: 0 !important; background: var(--ps-ivory) !important; border-left: 4px solid var(--ps-mauve) !important; }
.woocommerce-info::before, .woocommerce-message::before { color: var(--ps-mauve) !important; }

/* Policy pages */
.ps-policy-table table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--ps-line); border-radius: 16px; overflow: hidden; background: var(--ps-ivory); }
.ps-policy-table th, .ps-policy-table td { border: 0 !important; border-bottom: 1px solid var(--ps-line) !important; padding: 12px 16px !important; text-align: left; font-size: 0.9375rem; vertical-align: top; }
.ps-policy-table tr:last-child td { border-bottom: 0 !important; }
.ps-policy-table th { font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-muted); }
.ps-policy-table { overflow-x: auto; }

/* Long-form reading: policy pages and Journal articles */
.ps-prose .wp-block-post-content h2, .ps-article .wp-block-post-content h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); margin-top: 2.75rem; margin-bottom: 0.75rem; }
.ps-prose .wp-block-post-content h3, .ps-article .wp-block-post-content h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-top: 2rem; }
.ps-prose .wp-block-post-content li, .ps-article .wp-block-post-content li { margin-bottom: 0.4rem; }
.ps-prose .wp-block-post-content > :first-child { margin-top: 0; }

/* ==========================================================================
   Mobile menu — "Departures board" drawer (phones)
   ========================================================================== */
.ps-menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--ps-ink); cursor: pointer; }
@media (max-width: 599px) {
	.ps-menu-toggle { display: inline-flex; }
	.ps-header-nav .wp-block-navigation__responsive-container-open { display: none !important; }
}
html.ps-drawer-open { overflow: hidden; }
.ps-drawer { position: fixed; inset: 0; z-index: 99990; }
.ps-drawer[hidden] { display: none; }
.ps-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 45, 41, .5); opacity: 0; transition: opacity .25s ease; }
.ps-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(420px, calc(100% - 40px)); background: var(--ps-ivory); color: var(--ps-ink);
	display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2, .7, .2, 1); outline: none;
	box-shadow: 12px 0 40px rgba(0, 0, 0, .18);
}
.ps-drawer.is-open .ps-drawer__backdrop { opacity: 1; }
.ps-drawer.is-open .ps-drawer__panel { transform: none; }
@media (prefers-reduced-motion: reduce) { .ps-drawer__panel, .ps-drawer__backdrop { transition: none; } }

.ps-drawer__bar { flex: 0 0 auto; height: 64px; padding: 0 8px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; border-bottom: 1px solid var(--ps-line); }
.ps-drawer__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; color: var(--ps-ink); position: relative; cursor: pointer; text-decoration: none; }
.ps-drawer__count { position: absolute; top: 6px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 100px; background: var(--ps-mauve); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.ps-drawer__count[hidden] { display: none; }
.ps-drawer__brand { text-align: center; font-family: var(--ps-display); font-size: 1.85rem; font-weight: 600; letter-spacing: -.075em; text-decoration: none; color: var(--ps-ink); }
.ps-drawer__scroll { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; padding-bottom: env(safe-area-inset-bottom); }

.ps-drawer__head { display: flex; justify-content: space-between; padding: 22px 16px 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ps-muted); }
.ps-drawer__head span:first-child { color: var(--ps-mauve); }
.ps-drawer__gates { padding: 0 16px; }
.ps-drawer__gates ul { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ps-line); }
.ps-drawer__gates li { border-top: 1px solid var(--ps-line); }
.ps-drawer__gates a { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 8px; align-items: center; padding: 16px 0; text-decoration: none; color: var(--ps-ink); }
.ps-drawer__gates a svg { width: 18px; height: 18px; transition: transform .2s; }
.ps-drawer__gates a:hover svg, .ps-drawer__gates a:focus-visible svg { transform: translateX(3px); }
.ps-drawer__gates a:focus-visible { outline: 2px solid var(--ps-mauve); outline-offset: 2px; border-radius: 6px; }
.ps-gate-no { font-family: var(--ps-display); font-size: 1.25rem; color: var(--ps-mauve); }
.ps-gate-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: var(--ps-display); font-size: 1.75rem; letter-spacing: -.04em; line-height: 1.1; }
.ps-gate-badge { font-family: var(--wp--preset--font-family--body); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--ps-rose); border-radius: 100px; padding: 4px 8px; line-height: 1.2; }
.ps-gate-desc { display: block; font-size: 0.8125rem; color: var(--ps-muted); margin-top: 4px; }
.ps-drawer__gates a[aria-current="page"] .ps-gate-label { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.ps-drawer__gates a[aria-current="page"] .ps-gate-no::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ps-mauve); margin-left: 6px; vertical-align: middle; }

.ps-drawer__kit { margin: 22px 16px 0; border: 1px solid var(--ps-line); border-radius: 20px; overflow: hidden; display: flex; background: var(--ps-ivory); }
.ps-drawer__kit img { width: 112px; height: auto; min-height: 140px; object-fit: cover; flex: 0 0 112px; display: block; }
.ps-drawer__kit-body { flex: 1 1 auto; min-width: 0; padding: 14px 14px 14px 16px; border-left: 2px dashed var(--ps-line); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.ps-drawer__eyebrow { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-mauve); }
.ps-drawer__kit-title { display: block; font-family: var(--ps-display); font-size: 1.25rem; letter-spacing: -.03em; line-height: 1.15; margin-top: 4px; }
.ps-drawer__kit-price { display: block; font-size: 0.8125rem; color: var(--ps-muted); margin-top: 2px; }
.ps-drawer__kit-price .ps-price, .ps-drawer__kit-price .amount { font-family: inherit; font-size: inherit; }
.ps-drawer__btn { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 100px; background: var(--ps-ink); color: #fff !important; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.ps-drawer__btn:hover { background: #107064; }

.ps-drawer__quick { list-style: none; margin: 14px 16px 0; padding: 0; display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; }
.ps-drawer__quick a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; min-height: 44px; border-radius: 16px; background: var(--ps-cream); text-decoration: none; color: var(--ps-ink); font-size: 12px; font-weight: 700; }
.ps-drawer__quick svg { color: var(--ps-mauve); }
.ps-drawer__quick a:hover { background: var(--ps-rose); }

.ps-drawer__signup { margin: 14px 16px 0; border-radius: 20px; background: var(--ps-rose); padding: 18px; }
.ps-drawer__signup .ps-drawer__eyebrow { color: var(--wp--preset--color--berry, #0D4A43); font-size: 11px; letter-spacing: .16em; }
.ps-drawer__signup-title { font-family: var(--ps-display); font-size: 1.375rem; letter-spacing: -.03em; line-height: 1.2; margin: 6px 0 12px; }
.ps-drawer__signup .ps-form--stack { display: flex; gap: 8px; }
.ps-drawer__signup .ps-form--stack input[type=email] { flex: 1 1 auto; min-width: 0; min-height: 46px; height: 46px; border-color: #7FB9B1; padding: 0 16px; }
.ps-drawer__signup .ps-form--stack button[type=submit] { flex: 0 0 auto; min-height: 46px; padding: 0 18px; justify-self: auto; }
.ps-drawer__signup .ps-form-note { font-size: 11px; margin: 8px 0 0; }
.ps-drawer__signup .ps-alert { margin: 0; }

.ps-drawer__foot { margin-top: auto; padding: 22px 16px 26px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ps-muted); }
.ps-drawer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.ps-drawer__social a { width: 44px; height: 44px; border: 1px solid var(--ps-line); border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; color: var(--ps-ink); }
.ps-drawer__social svg { width: 18px; height: 18px; }
.ps-drawer__scroll > * { flex-shrink: 0; }
.ps-drawer__foot > span { font-size: 10px; letter-spacing: .12em; text-align: right; line-height: 1.5; }

/* ---- Product page: fixed photo frame --------------------------------------
   Tall photos used to stretch the gallery. Every main image now sits in the
   same 4:5 frame (max 680px tall) and is cropped to fit; thumbnails are square. */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery .woocommerce-product-gallery__image img,
.woocommerce-product-gallery .woocommerce-product-gallery__image a img,
.wc-block-product-gallery-large-image img,
.wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery__image img {
	width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; max-height: 680px;
	object-fit: cover; object-position: center; border-radius: 16px; background: var(--ps-cream);
}
.woocommerce-product-gallery .flex-viewport { border-radius: 16px; max-height: 680px; }
.woocommerce-product-gallery .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 12px 0 0 !important; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce-product-gallery .flex-control-thumbs li img,
.wc-block-product-gallery-thumbnails img {
	width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; opacity: .6; cursor: pointer; transition: opacity .2s;
}
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active, .woocommerce-product-gallery .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { top: 14px !important; right: 14px !important; z-index: 5; background: var(--ps-ivory) !important; border-radius: 100px; }
@media (min-width: 782px) {
	.single-product .wp-block-columns > .wp-block-column:first-child { position: sticky; top: 24px; align-self: flex-start; }
}

/* Top banner: Lagoon #8CEADF with dark text (also overrides an older saved header). */
.ps-announce { background-color: #8CEADF !important; color: var(--ps-ink) !important; }
.ps-announce p, .ps-announce a { color: var(--ps-ink) !important; }
