/*
Theme Name: a.le.pú
Theme URI: https://a-le-pu.com
Author: ΑΛΕΠΟΥ Μονοπρόσωπη Ι.Κ.Ε.
Description: Block theme for a.le.pú fine jewellery — night moss, ivory and gold, built from the 2026 Figma redesign.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 0.4.16
License: GPLv2 or later
Text Domain: alepu
*/

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; }
::selection { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }

.alepu-label,
.is-style-label { font-family: var(--wp--preset--font-family--commissioner); font-size: var(--wp--preset--font-size--label); letter-spacing: .16em; text-transform: uppercase; font-weight: 400; color: var(--wp--preset--color--gold); margin: 0; }
.alepu-muted { color: var(--wp--preset--color--muted); }
.alepu-rule { border-top: 1px solid var(--wp--preset--color--line); }

/* ---------- links with arrow ---------- */
.alepu-link a, a.alepu-link { font-size: var(--wp--preset--font-size--label); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--wp--preset--color--gold); text-decoration: none; display: inline-flex; gap: .6em; align-items: center; }
.alepu-link a::after, a.alepu-link::after { content: "→"; font-size: 1.15em; letter-spacing: 0; transition: transform .2s ease; }
.alepu-link a:hover::after, a.alepu-link:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.alepu-header { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; position: relative; z-index: 20; }
.alepu-header > * { margin-block: 0 !important; }
.alepu-header > :first-child { justify-self: start; }
.alepu-header > :last-child { justify-self: end; }
.alepu-header .wp-block-navigation { font-size: var(--wp--preset--font-size--label); letter-spacing: .16em; text-transform: uppercase; gap: 28px; }
.alepu-header .wp-block-navigation a { text-decoration: none; }
.alepu-header .wp-block-navigation__submenu-container { background: var(--wp--preset--color--night-moss) !important; border: 1px solid var(--wp--preset--color--line) !important; padding: 12px 0; }
.alepu-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--night-moss) !important; color: var(--wp--preset--color--ivory) !important; padding: 24px; }
.alepu-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { font-family: var(--wp--preset--font-family--didot); font-size: 28px; letter-spacing: 0; text-transform: none; gap: 20px; }
.alepu-logo img { filter: brightness(0) invert(.95) sepia(.12); width: 96px; height: auto; }
.alepu-tools { display: flex; align-items: center; gap: 20px; font-size: var(--wp--preset--font-size--label); letter-spacing: .16em; }
.alepu-tools a { color: var(--wp--preset--color--ivory); text-decoration: none; }
.alepu-lang .is-current { color: var(--wp--preset--color--ivory); }
.alepu-lang a:not(.is-current) { color: var(--wp--preset--color--muted); }
.alepu-icon { display: inline-flex; align-items: center; }
.alepu-tools > * { margin-block: 0 !important; }
.alepu-icon svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.wc-block-mini-cart__button { color: var(--wp--preset--color--ivory) !important; padding: 0 !important; }
.wc-block-mini-cart__badge { background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--ink) !important; }
@media (max-width: 781px) {
	.alepu-tools { gap: 14px; }
	.alepu-logo img { width: 84px; }
}

/* ---------- swipe rows (product collections & image rows) ---------- */
.alepu-swipe .wc-block-product-template,
.alepu-swipe > .wp-block-group__inner-container,
.alepu-swipe.is-layout-flex { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 24px !important; grid-template-columns: none !important; scrollbar-width: none; padding-bottom: 4px; }
.alepu-swipe .wc-block-product-template::-webkit-scrollbar,
.alepu-swipe.is-layout-flex::-webkit-scrollbar { display: none; }
.alepu-swipe .wc-block-product,
.alepu-swipe.is-layout-flex > * { flex: 0 0 300px; scroll-snap-align: start; margin: 0 !important; width: auto !important; max-width: none !important; }
@media (max-width: 781px) {
	.alepu-swipe .wc-block-product, .alepu-swipe.is-layout-flex > * { flex-basis: 72vw; }
	.alepu-swipe .wc-block-product-template { gap: 16px !important; }
}

/* ---------- product cards ---------- */
.wc-block-product .wc-block-components-product-image,
.alepu-card-image { background: #fff; aspect-ratio: 1; overflow: hidden; margin-bottom: 14px !important; }
.wc-block-product .wc-block-components-product-image img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; transition: transform .6s ease; }
.wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.02); }
.wc-block-product .wp-block-post-title { font-family: var(--wp--preset--font-family--didot); font-size: 18px !important; line-height: 1.25; margin: 4px 0 6px !important; text-align: left; }
.wc-block-product .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--ivory); }
.wc-block-product .wc-block-components-product-price, .wc-block-product .wp-block-woocommerce-product-price { font-size: 13px !important; color: var(--wp--preset--color--muted) !important; text-align: left !important; }
.wc-block-product .alepu-label { margin-bottom: 2px; }
.wc-block-components-product-sale-badge { display: none !important; }

/* ---------- edition tracker ---------- */
.alepu-edition { display: flex; justify-content: space-between; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); padding: 14px 0; font-family: var(--wp--preset--font-family--didot); font-size: 22px; }
.alepu-edition span { color: var(--wp--preset--color--muted); opacity: .5; }
.alepu-edition span.is-gone { text-decoration: line-through; }
.alepu-edition span.is-now { color: var(--wp--preset--color--gold); opacity: 1; border-bottom: 1px solid var(--wp--preset--color--gold); }
.alepu-edition-note { font-size: 13px; color: var(--wp--preset--color--muted); margin-top: 10px; }

/* ---------- big eight ---------- */
.alepu-eight { display: flex; gap: 20px; align-items: center; }
.alepu-eight .alepu-eight-num { font-family: var(--wp--preset--font-family--didot); font-size: 72px; line-height: 1; color: var(--wp--preset--color--gold); margin: 0; }

/* ---------- single product ---------- */
.single-product .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery__image { background: #fff; }
.single-product .woocommerce-product-gallery { margin: 0 !important; }
.single-product form.cart { display: flex; gap: 12px; flex-wrap: wrap; }
.single-product form.cart .quantity { display: none; }
.single-product form.cart .single_add_to_cart_button { flex: 1; }
.alepu-sticky { position: sticky; top: 24px; }
.wp-block-woocommerce-product-details .wc-tabs { border-bottom: 1px solid var(--wp--preset--color--line) !important; padding: 0 !important; }
.wp-block-woocommerce-product-details .wc-tabs li { background: none !important; border: 0 !important; }
.wp-block-woocommerce-product-details .wc-tabs li a { color: var(--wp--preset--color--muted) !important; font-size: var(--wp--preset--font-size--label); letter-spacing: .16em; text-transform: uppercase; }
.wp-block-woocommerce-product-details .wc-tabs li.active a { color: var(--wp--preset--color--ivory) !important; }

/* ---------- forms, blocks checkout on dark ---------- */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=search], textarea, select,
.wc-block-components-text-input input, .wc-block-components-textarea, .wc-blocks-components-select__select {
	background: transparent !important; color: var(--wp--preset--color--ivory) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 0 !important; }
.wc-block-components-text-input label, .wc-blocks-components-select__label { color: var(--wp--preset--color--muted) !important; }
.wc-block-components-radio-control__option, .wc-block-components-checkbox__label { color: var(--wp--preset--color--ivory); }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1px var(--wp--preset--color--gold) !important; }
.wc-block-components-totals-wrapper, .wc-block-components-panel { border-color: var(--wp--preset--color--line) !important; }

/* ---------- footer ---------- */
.alepu-footer a { color: var(--wp--preset--color--ivory); text-decoration: none; }
.alepu-footer a:hover { color: var(--wp--preset--color--gold); }
.alepu-footer .alepu-footer-col p { margin: 0 0 10px; font-size: 14px; }

/* ---------- utilities ---------- */
.alepu-photo img { width: 100%; height: 100%; object-fit: cover; }
.alepu-nogap { gap: 0 !important; }
@media (max-width: 781px) { .alepu-hide-mobile { display: none !important; } }
@media (min-width: 782px) { .alepu-hide-desktop { display: none !important; } }

/* ---------- home: collections row (worn photo + products) ---------- */
.alepu-swipe-mixed { display: flex !important; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; align-items: flex-start; }
.alepu-swipe-mixed::-webkit-scrollbar { display: none; }
.alepu-swipe-mixed > .alepu-worn { flex: 0 0 300px; margin: 0 !important; scroll-snap-align: start; }
.alepu-swipe-mixed > .alepu-worn img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.alepu-swipe-mixed > .alepu-worn figcaption { font-family: var(--wp--preset--font-family--didot); font-size: 18px; color: var(--wp--preset--color--ivory); margin-top: 14px; text-align: left; }
.alepu-swipe-mixed > .wp-block-woocommerce-product-collection { margin: 0 !important; flex: 0 0 auto; }
.alepu-swipe-mixed .wc-block-product-template { overflow: visible !important; }
@media (max-width: 781px) { .alepu-swipe-mixed > .alepu-worn { flex-basis: 72vw; } }
.alepu-tabs h3 { font-size: var(--wp--preset--font-size--display-m); margin: 0; }
.alepu-tabs h3 a { color: var(--wp--preset--color--muted); }
.alepu-tabs h3.is-active a { color: var(--wp--preset--color--ivory); border-bottom: 1px solid var(--wp--preset--color--gold); padding-bottom: 6px; }

/* ---------- hero ---------- */
.alepu-hero .wp-block-image { margin: 0; }
.alepu-hero h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; max-width: 12em; }
.alepu-hero .alepu-poetry { font-family: var(--wp--preset--font-family--didot); font-style: italic; font-size: var(--wp--preset--font-size--display-s); color: var(--wp--preset--color--muted); margin: 0; }
main.wp-block-group { margin-top: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- catalogue grid ---------- */
.alepu-grid .wc-block-product-template { gap: 40px 24px !important; }
.alepu-product .wp-block-woocommerce-product-image-gallery { background: #fff; }
.alepu-product .wp-block-woocommerce-breadcrumbs, .alepu-product .woocommerce-breadcrumb { color: var(--wp--preset--color--muted); letter-spacing: .16em; text-transform: uppercase; font-size: 11px; }
.alepu-product .woocommerce-breadcrumb a { color: var(--wp--preset--color--muted); }
.alepu-reassure { list-style: "—  "; padding-left: 1.4em; }
.wp-block-post-excerpt__excerpt p { margin: 0; }
.wp-block-post-excerpt__excerpt .alepu-material { margin-top: .7em; font-size: var(--wp--preset--font-size--small); letter-spacing: .01em; }
@media (max-width: 781px) { .alepu-sticky { position: static; } }

.alepu-footer .alepu-label { font-size: 11px !important; margin-bottom: 14px; }
.alepu-nav-wrap { justify-self: start; }

/* ---------- page building blocks ---------- */
.alepu-split .wp-block-image { margin: 0; }
.alepu-split .wp-block-image img { width: 100%; height: auto; max-height: 92vh; object-fit: cover; }
.alepu-split .is-square img { aspect-ratio: 1; height: auto; object-fit: contain; background: #fff; }
.alepu-split h1 { font-size: var(--wp--preset--font-size--display-xl); }
.alepu-split h2 { font-size: clamp(32px, 3.6vw, 52px); }
.alepu-price { font-size: 15px; color: var(--wp--preset--color--ivory); margin: 0; }
.alepu-rule { border-top: 1px solid var(--wp--preset--color--line); }
.alepu-eight--big { gap: 32px; align-items: center; max-width: 760px; }
.alepu-eight--big .alepu-eight-num { font-size: clamp(96px, 12vw, 160px); }
.alepu-steps { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.alepu-steps li strong { font-family: var(--wp--preset--font-family--didot); font-weight: 400; font-size: 20px; }
.alepu-steps li span:last-child { grid-column: 2; color: var(--wp--preset--color--muted); font-size: 13px; }
.alepu-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.alepu-cols3 > div { border-top: 1px solid var(--wp--preset--color--line); padding-top: 24px; }
.alepu-cols3 h3 { font-size: var(--wp--preset--font-size--display-m); margin: 10px 0 8px; }
.alepu-habits, .alepu-numbered { list-style: none; margin: 0; padding: 0; }
.alepu-habits li { display: grid; grid-template-columns: 48px 1fr; padding: 32px 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-habits h3 { font-size: var(--wp--preset--font-size--display-l); margin: 0 0 8px; }
.alepu-numbered { counter-reset: n; }
.alepu-numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; padding: 20px 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-numbered li::before { content: counter(n); font-family: var(--wp--preset--font-family--didot); font-size: 26px; color: var(--wp--preset--color--gold); line-height: 1; }
.alepu-rows { margin: 0; }
.alepu-rows > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 18px 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-rows dt { font-family: var(--wp--preset--font-family--didot); font-size: 20px; }
.alepu-rows dd { margin: 0; color: var(--wp--preset--color--muted); font-size: 14px; align-self: center; }
.alepu-rows.is-stacked > div { grid-template-columns: 1fr; gap: 4px; }
.alepu-rows.is-stacked dt { font-family: var(--wp--preset--font-family--commissioner); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.alepu-rows.is-stacked dd { font-family: var(--wp--preset--font-family--didot); font-size: 20px; color: var(--wp--preset--color--ivory); }
.alepu-stockists > div { display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-stockists h3 { font-size: var(--wp--preset--font-size--display-l); margin: 0 0 6px; }
.alepu-stockists p { margin: 0; }
.alepu-twocol .alepu-sticky { position: sticky; top: 24px; }
.alepu-band h2 { margin: 0; }
@media (max-width: 781px) {
	.alepu-cols3 { grid-template-columns: 1fr; gap: 24px; }
	.alepu-stockists > div { grid-template-columns: 1fr; gap: 10px; }
	.alepu-split.is-reversed { flex-direction: column-reverse; }
	.alepu-twocol .alepu-sticky { position: static; }
}

/* ---------- forms (Forminator) on dark ---------- */
.alepu-form .forminator-ui.forminator-custom-form { margin: 0 !important; }
.alepu-form .forminator-label { color: var(--wp--preset--color--muted) !important; font-family: var(--wp--preset--font-family--commissioner) !important; font-size: 11px !important; letter-spacing: .16em; text-transform: uppercase; font-weight: 400 !important; }
.alepu-form .forminator-input, .alepu-form .forminator-textarea { background: transparent !important; color: var(--wp--preset--color--ivory) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 0 !important; font-family: var(--wp--preset--font-family--commissioner) !important; }
.alepu-form .forminator-button-submit { background: var(--wp--preset--color--ivory) !important; color: var(--wp--preset--color--ink) !important; border-radius: 0 !important; font-family: var(--wp--preset--font-family--commissioner) !important; font-size: 11px !important; letter-spacing: .16em; text-transform: uppercase; padding: 16px 28px !important; box-shadow: none !important; }

/* ---------- product page gallery full width of its column ---------- */
.alepu-product .woocommerce-product-gallery,
.alepu-product .wp-block-woocommerce-product-image-gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; }
.alepu-product .woocommerce-product-gallery__wrapper img { width: 100%; height: auto; }
.alepu-product .flex-control-thumbs { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 2px; margin: 2px 0 0 !important; }
.alepu-product .flex-control-thumbs li { width: auto !important; margin: 0 !important; }

/* =====================================================================
   Bag, checkout & confirmation (WooCommerce blocks) — Figma 43:903 / 43:974 / 44:987
   ===================================================================== */
.alepu-commerce { --a-line: var(--wp--preset--color--line); --a-muted: var(--wp--preset--color--muted); --a-gold: var(--wp--preset--color--gold); --a-ivory: var(--wp--preset--color--ivory); --a-ink: var(--wp--preset--color--ink); }
.wc-block-cart, .wc-block-checkout, .wc-block-mini-cart__drawer { color: var(--wp--preset--color--ivory); font-size: 14px; }
.alepu-commerce a { color: var(--wp--preset--color--ivory); }
.alepu-commerce .wc-block-components-sidebar-layout { margin-bottom: 0; }

/* labels & small print */
.alepu-commerce .wc-block-components-product-details,
.wc-block-mini-cart__drawer .wc-block-components-product-details { list-style: none; margin: 0 0 6px !important; padding: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.alepu-commerce .wc-block-components-product-metadata__description { display: none; }

/* buttons */
.alepu-commerce .wc-block-components-button:not(.is-link),
.wc-block-mini-cart__drawer .wc-block-components-button:not(.is-link),
.wc-block-mini-cart__drawer .wp-block-button__link { background: var(--wp--preset--color--ivory) !important; color: var(--wp--preset--color--ink) !important; border: 1px solid var(--wp--preset--color--ivory) !important; border-radius: 0 !important; min-height: 52px; font-family: var(--wp--preset--font-family--commissioner); font-size: 11px !important; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; box-shadow: none !important; transition: background .2s ease, border-color .2s ease; }
.alepu-commerce .wc-block-components-button:not(.is-link):hover,
.wc-block-mini-cart__drawer .wc-block-components-button:not(.is-link):hover { background: var(--wp--preset--color--gold) !important; border-color: var(--wp--preset--color--gold) !important; }
.alepu-commerce .wc-block-components-button.outlined,
.wc-block-mini-cart__drawer .wc-block-components-button.outlined,
.wc-block-mini-cart__drawer .is-style-outline .wp-block-button__link { background: transparent !important; color: var(--wp--preset--color--ivory) !important; border-color: var(--wp--preset--color--gold) !important; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ivory); border: 1px solid var(--wp--preset--color--gold); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.alepu-commerce .wc-block-components-button.is-link,
.alepu-commerce .wc-block-components-panel__button { color: var(--wp--preset--color--muted) !important; font-size: 13px; }

/* inputs */
.alepu-commerce .wc-block-components-text-input input,
.alepu-commerce .wc-block-components-text-input input:-webkit-autofill,
.alepu-commerce .wc-blocks-components-select .wc-blocks-components-select__select,
.alepu-commerce .wc-block-components-textarea,
.alepu-commerce .wc-block-components-combobox .components-combobox-control__input { background: transparent !important; color: var(--wp--preset--color--ivory) !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 0 !important; -webkit-text-fill-color: var(--wp--preset--color--ivory); box-shadow: none !important; }
.alepu-commerce .wc-blocks-components-select .wc-blocks-components-select__container { background: transparent !important; border-radius: 0 !important; }
.alepu-commerce .wc-block-components-text-input input:focus,
.alepu-commerce .wc-blocks-components-select__select:focus,
.alepu-commerce .wc-block-components-textarea:focus { border-color: var(--wp--preset--color--gold) !important; outline: none !important; }
.alepu-commerce .wc-block-components-text-input label,
.alepu-commerce .wc-blocks-components-select__label { color: var(--wp--preset--color--muted) !important; }
.alepu-commerce .wc-blocks-components-select__expand { fill: var(--wp--preset--color--muted) !important; }
.alepu-commerce select option { background: var(--wp--preset--color--night-moss); color: var(--wp--preset--color--ivory); }
.alepu-commerce .wc-block-components-validation-error, .alepu-commerce .has-error label { color: #E58A7C !important; }
.alepu-commerce .has-error input, .alepu-commerce .has-error select { border-color: #E58A7C !important; }

/* radios & checkboxes */
.alepu-commerce .wc-block-components-radio-control__input,
.alepu-commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox] { background: transparent !important; border: 1px solid var(--wp--preset--color--muted) !important; box-shadow: none !important; }
.alepu-commerce .wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--gold) !important; }
.alepu-commerce .wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--gold) !important; }
.alepu-commerce .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { border-color: var(--wp--preset--color--gold) !important; }
.alepu-commerce .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--wp--preset--color--gold) !important; }
.alepu-commerce .wc-block-components-checkbox label { color: var(--wp--preset--color--ivory); font-size: 13px; }
.alepu-commerce .wc-block-components-radio-control--highlight-checked { border: 0 !important; }
.alepu-commerce .wc-block-components-radio-control--highlight-checked::after { display: none !important; }
.alepu-commerce .wc-block-components-radio-control-accordion-option,
.alepu-commerce .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option { border: 1px solid var(--wp--preset--color--line) !important; box-shadow: none !important; margin: 0 0 10px !important; border-radius: 0 !important; }
.alepu-commerce .wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.alepu-commerce .wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 1px var(--wp--preset--color--gold) !important; border-color: var(--wp--preset--color--gold) !important; }
.alepu-commerce .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option { border: 0 !important; margin: 0 !important; }
.alepu-commerce .wc-block-components-radio-control__label,
.alepu-commerce .wc-block-components-radio-control__label-group { font-family: var(--wp--preset--font-family--didot); font-size: 17px; color: var(--wp--preset--color--ivory); }
.alepu-commerce .wc-block-components-radio-control__secondary-label { font-family: var(--wp--preset--font-family--commissioner); font-size: 13px; }
.alepu-commerce .wc-block-components-radio-control__description,
.alepu-commerce .wc-block-components-radio-control__secondary-description { color: var(--wp--preset--color--muted); font-size: 12px; }
.alepu-commerce .wc-block-components-radio-control-accordion-content { color: var(--wp--preset--color--ivory); }

/* totals */
.alepu-commerce .wc-block-components-totals-wrapper { border-top: 1px solid var(--wp--preset--color--line) !important; padding: 14px 0 !important; }
.alepu-commerce .wc-block-components-totals-wrapper:first-child,
.alepu-commerce .wc-block-components-totals-wrapper:empty { border-top: 0 !important; }
.alepu-commerce .wc-block-components-totals-item { color: var(--wp--preset--color--muted); font-size: 13px; }
.alepu-commerce .wc-block-components-totals-item__value { color: var(--wp--preset--color--ivory); }
.alepu-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.alepu-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--wp--preset--font-family--didot); font-size: 22px; font-weight: 400; color: var(--wp--preset--color--ivory); }
.alepu-commerce .wc-block-components-totals-footer-item-tax { color: var(--wp--preset--color--muted); font-size: 12px; }
.alepu-commerce .wc-block-components-totals-shipping__via,
.alepu-commerce .wc-block-components-shipping-address { color: var(--wp--preset--color--muted); font-size: 12px; }
.alepu-commerce .wc-block-components-panel,
.alepu-commerce .wc-block-components-totals-coupon { border-color: var(--wp--preset--color--line) !important; }

/* ---------- bag ---------- */
.alepu-cart-title { margin: 0 0 var(--wp--preset--spacing--m) !important; font-size: clamp(40px, 5vw, 64px) !important; }
.wc-block-cart .wc-block-cart-items { border-top: 1px solid var(--wp--preset--color--line) !important; border-bottom: 0 !important; margin: 0 !important; }
.wc-block-cart .wc-block-cart-items__header { display: none !important; }
.wc-block-cart .wc-block-cart-items__row { border-bottom: 1px solid var(--wp--preset--color--line) !important; padding: 26px 0 !important; }
.wc-block-cart .wc-block-cart-items td { border: 0 !important; padding-top: 26px !important; padding-bottom: 26px !important; vertical-align: top; }
.wc-block-cart .wc-block-cart-item__image { width: 166px !important; padding-left: 0 !important; }
.wc-block-cart .wc-block-cart-item__image img { width: 166px !important; aspect-ratio: 1; object-fit: cover; background: #fff; }
.wc-block-cart .wc-block-cart-item__product { padding-left: 26px !important; }
.wc-block-cart .wc-block-components-product-name { font-family: var(--wp--preset--font-family--didot); font-size: 22px !important; line-height: 1.25; color: var(--wp--preset--color--ivory) !important; text-decoration: none; }
.wc-block-cart .wc-block-cart-item__prices, .wc-block-cart .wc-block-cart-item__wrap > .wc-block-cart-item__prices { display: none !important; }
.wc-block-cart .wc-block-cart-item__total { color: var(--wp--preset--color--ivory); font-size: 14px; }
.wc-block-cart .wc-block-cart-item__total .wc-block-components-sale-badge { display: none; }
.wc-block-cart .wc-block-cart-item__quantity { margin-top: 14px; display: flex; align-items: center; gap: 18px; }
.wc-block-cart .wc-block-cart-item__remove-link { color: var(--wp--preset--color--muted) !important; font-size: 12px !important; text-decoration: none !important; }
.alepu-commerce .wc-block-components-quantity-selector { border: 0 !important; width: auto !important; min-width: 0 !important; color: var(--wp--preset--color--muted); }
.alepu-commerce .wc-block-components-quantity-selector::after { display: none !important; }
.alepu-commerce .wc-block-components-quantity-selector input { background: transparent !important; color: var(--wp--preset--color--ivory) !important; border: 0 !important; width: 28px !important; min-width: 0 !important; font-size: 13px; }
.alepu-commerce .wc-block-components-quantity-selector button { color: var(--wp--preset--color--muted) !important; background: transparent !important; min-width: 22px !important; }
.wc-block-cart .wc-block-cart__sidebar { border: 1px solid var(--wp--preset--color--line); padding: 26px !important; align-self: flex-start; }
.wc-block-cart .wc-block-cart__totals-title { font-family: var(--wp--preset--font-family--didot) !important; font-size: 24px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--wp--preset--color--ivory); padding: 0 0 8px !important; margin: 0 !important; display: block !important; }
.wc-block-cart .wc-block-cart__submit { margin: 18px 0 12px !important; }
.wc-block-cart .wc-block-cart__submit-container { padding: 0 !important; background: none !important; box-shadow: none !important; }
.alepu-cart-continue { margin: 0 0 18px !important; }
.alepu-cart-continue a { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 1px solid var(--wp--preset--color--gold); color: var(--wp--preset--color--ivory) !important; text-decoration: none; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.alepu-cart-continue a:hover { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink) !important; }
.alepu-cart-pay, .alepu-cart-note, .alepu-checkout-small { color: var(--wp--preset--color--muted); font-size: 12px; line-height: 1.6; margin: 0 !important; }
.alepu-cart-note { padding-top: 18px; }
.wc-block-cart .wp-block-woocommerce-empty-cart-block { text-align: left; padding: var(--wp--preset--spacing--m) 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-empty-title { font-size: clamp(28px, 3vw, 40px); margin: 0 0 8px !important; }
.wc-block-cart .wp-block-woocommerce-empty-cart-block .wp-block-buttons { margin-top: 28px; }
.wc-block-cart .wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title::before { display: none; }
@media (max-width: 781px) {
	.wc-block-cart .wc-block-cart-item__image, .wc-block-cart .wc-block-cart-item__image img { width: 80px !important; }
	.wc-block-cart .wc-block-cart-item__product { padding-left: 14px !important; }
	.wc-block-cart .wc-block-cart-items__row { grid-template-columns: 80px 1fr !important; }
	.wc-block-cart .wc-block-cart__submit-container--sticky::before { display: none !important; }
	.wc-block-cart .wc-block-cart__submit-container--sticky { box-shadow: none !important; }
	.wc-block-cart .wc-block-components-product-name { font-size: 18px !important; }
	.wc-block-cart .wc-block-cart__sidebar { padding: 20px !important; margin-top: 24px; }
	.wc-block-cart .wc-block-cart__submit-container--sticky { background: var(--wp--preset--color--night-moss) !important; padding: 12px 16px !important; border-top: 1px solid var(--wp--preset--color--line); }
}

/* ---------- checkout ---------- */
.alepu-checkout-header { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--wp--preset--color--line); }
.alepu-checkout-back, .alepu-checkout-secure { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; text-decoration: none; }
.alepu-checkout-back { justify-self: start; }
.alepu-checkout-back:hover { color: var(--wp--preset--color--ivory) !important; }
.alepu-checkout-secure { justify-self: end; display: inline-flex; gap: 8px; align-items: center; }
.alepu-checkout-secure svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.alepu-checkout .wc-block-checkout { padding-top: var(--wp--preset--spacing--m); }
.alepu-checkout .wc-block-components-main { padding-right: 4.5% !important; }
@media (min-width: 782px) {
	.alepu-checkout .wc-block-checkout__sidebar { border-left: 1px solid var(--wp--preset--color--line); padding-left: 4.5% !important; min-height: 100%; }
}
.alepu-checkout .wc-block-components-checkout-step { margin-bottom: 40px !important; }
.alepu-checkout .wc-block-components-checkout-step__heading { margin: 0 0 14px !important; }
.alepu-checkout .wc-block-components-checkout-step__title,
.alepu-checkout .wc-block-components-title { font-family: var(--wp--preset--font-family--didot) !important; font-size: 24px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--wp--preset--color--ivory); }
.alepu-checkout .wc-block-components-checkout-step__description { color: var(--wp--preset--color--muted); font-size: 12px; }
.alepu-checkout .wc-block-components-checkout-step__container::after { display: none !important; }
.alepu-checkout .wc-block-components-checkout-step::after { display: none !important; }
.alepu-checkout .wc-block-components-express-payment { margin-bottom: 28px !important; }
.alepu-checkout .wc-block-components-express-payment__title-container::before,
.alepu-checkout .wc-block-components-express-payment__title-container::after,
.alepu-checkout .wc-block-components-express-payment__content { border-color: var(--wp--preset--color--line) !important; }
.alepu-checkout .wc-block-components-express-payment__title { font-size: 11px !important; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted) !important; font-family: var(--wp--preset--font-family--commissioner) !important; }
.alepu-checkout .wc-block-components-express-payment-continue-rule { color: var(--wp--preset--color--muted); font-size: 12px; text-transform: none; }
.alepu-checkout .wc-block-components-express-payment-continue-rule::before,
.alepu-checkout .wc-block-components-express-payment-continue-rule::after { border-color: var(--wp--preset--color--line) !important; }
.alepu-checkout .wc-block-checkout__terms { margin: 10px 0 18px !important; padding: 0 !important; border: 0 !important; }
.alepu-checkout .wc-block-checkout__terms, .alepu-checkout .wc-block-checkout__terms a { font-size: 13px; color: var(--wp--preset--color--ivory); }
.alepu-checkout .wc-block-checkout__actions { padding-top: 0 !important; }
.alepu-checkout .wc-block-checkout__actions_row { display: block !important; }
.alepu-checkout .wc-block-components-checkout-place-order-button { width: 100% !important; }
.alepu-checkout .alepu-checkout-small { margin-top: 18px !important; }
.alepu-checkout .wc-block-components-order-summary .wc-block-components-panel__button,
.alepu-checkout .wc-block-components-checkout-order-summary__title-text { font-family: var(--wp--preset--font-family--didot) !important; font-size: 24px !important; font-weight: 400 !important; color: var(--wp--preset--color--ivory) !important; text-transform: none !important; letter-spacing: 0 !important; }
.alepu-checkout .wc-block-components-order-summary-item { border: 0 !important; padding: 10px 0 !important; }
.alepu-checkout .wc-block-components-order-summary-item__image img { background: #fff; aspect-ratio: 1; object-fit: cover; }
.alepu-checkout .wc-block-components-order-summary-item__quantity { background: var(--wp--preset--color--gold) !important; color: var(--wp--preset--color--ink) !important; border: 0 !important; box-shadow: none !important; }
.alepu-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name { font-size: 14px; color: var(--wp--preset--color--ivory); }
.alepu-checkout .wc-block-components-order-summary-item__individual-prices { display: none; }
.alepu-checkout .wc-block-components-order-summary-item__total-price { color: var(--wp--preset--color--ivory); }
.alepu-checkout .wc-block-components-address-card { border: 1px solid var(--wp--preset--color--line) !important; background: transparent !important; color: var(--wp--preset--color--ivory); border-radius: 0 !important; }
.alepu-checkout .wc-block-components-address-card__edit { color: var(--wp--preset--color--gold) !important; }
.alepu-checkout .wc-block-components-notice-banner { border-radius: 0; }
.alepu-checkout .wc-block-checkout__order-notes .wc-block-components-textarea { min-height: 96px; }
@media (max-width: 781px) {
	.alepu-checkout-header .alepu-checkout-secure span { display: none; }
	.alepu-checkout .wc-block-components-main { padding-right: 0 !important; }
	.alepu-checkout .wc-block-checkout__main { order: 2; }
	.alepu-checkout .wc-block-components-checkout-order-summary__title { border-color: var(--wp--preset--color--line) !important; }
}

/* ---------- order confirmation ---------- */
.alepu-confirmation:has(.alepu-thanks) .wc-block-order-confirmation-status { display: none; }
.alepu-thanks .alepu-label { margin-bottom: 14px; }
.alepu-thanks-title { font-size: clamp(40px, 5vw, 64px); margin: 0 0 14px; }
.alepu-timeline { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-timeline li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0 18px 26px; border-bottom: 1px solid var(--wp--preset--color--line); position: relative; }
.alepu-timeline li::before { content: ""; position: absolute; left: 0; top: 24px; width: 9px; height: 9px; border: 1px solid var(--wp--preset--color--muted); border-radius: 50%; }
.alepu-timeline li.is-done::before { background: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--gold); }
.alepu-timeline span { font-family: var(--wp--preset--font-family--didot); font-size: 18px; }
.alepu-timeline small { color: var(--wp--preset--color--muted); font-size: 12px; align-self: center; }
.alepu-conf-heading { font-size: 24px !important; margin: 0 0 14px !important; }
.alepu-confirmation .wc-block-order-confirmation-summary { border: 1px solid var(--wp--preset--color--line); padding: 20px; }
.alepu-confirmation .wc-block-order-confirmation-summary-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.alepu-confirmation .wc-block-order-confirmation-summary-list-item__key { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.alepu-confirmation table { width: 100%; border-collapse: collapse; }
.alepu-confirmation table th, .alepu-confirmation table td { border: 0; border-bottom: 1px solid var(--wp--preset--color--line); padding: 12px 0; text-align: left; font-weight: 400; }
.alepu-confirmation table td:last-child, .alepu-confirmation table th:last-child { text-align: right; }
.alepu-confirmation .wc-block-order-confirmation-totals__product a { color: var(--wp--preset--color--ivory); text-decoration: none; }
.alepu-confirmation .wc-block-order-confirmation-totals .wc-item-meta { list-style: none; padding: 0; margin: 6px 0 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--gold); }
.alepu-confirmation .wc-item-meta p { display: inline; margin: 0; }
.alepu-confirmation address { font-style: normal; color: var(--wp--preset--color--muted); border: 1px solid var(--wp--preset--color--line); padding: 20px; }

/* ---------- mini-cart drawer ---------- */
.wc-block-mini-cart__drawer .components-modal__content,
.wc-block-components-drawer, .wc-block-mini-cart__drawer .wc-block-components-drawer__content { background: var(--wp--preset--color--night-moss) !important; color: var(--wp--preset--color--ivory) !important; }
.wc-block-components-drawer__close { color: var(--wp--preset--color--ivory) !important; }
.wc-block-mini-cart__title { font-family: var(--wp--preset--font-family--didot); font-weight: 400 !important; font-size: 24px !important; }
.wc-block-mini-cart__drawer .wc-block-cart-items__row { border-bottom: 1px solid var(--wp--preset--color--line); }
.wc-block-mini-cart__drawer .wc-block-cart-item__image img { background: #fff; aspect-ratio: 1; object-fit: cover; }
.wc-block-mini-cart__drawer .wc-block-components-product-name { color: var(--wp--preset--color--ivory) !important; font-family: var(--wp--preset--font-family--didot); font-size: 16px; text-decoration: none; }
.wc-block-mini-cart__drawer .wc-block-cart-item__remove-link { color: var(--wp--preset--color--muted) !important; }
.wc-block-mini-cart__footer { border-top: 1px solid var(--wp--preset--color--line); box-shadow: none !important; }
.wc-block-mini-cart__footer .wc-block-components-totals-item__label { font-family: var(--wp--preset--font-family--didot); font-size: 18px; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector { border-color: var(--wp--preset--color--line) !important; }
.wc-block-mini-cart__drawer .wc-block-components-quantity-selector input, .wc-block-mini-cart__drawer .wc-block-components-quantity-selector button { background: transparent !important; color: var(--wp--preset--color--ivory) !important; }
.wc-block-mini-cart__drawer .wc-block-components-product-metadata__description { display: none; }

/* hide the currency code WooPayments appends to the total ("€1.453 EUR") */
.alepu-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 0 !important; }
.alepu-commerce .wc-block-components-totals-footer-item .wc-block-components-totals-item__value > * { font-size: 22px; }

.alepu-commerce .wc-block-components-totals-wrapper:empty { display: none !important; }
.alepu-checkout .wp-block-woocommerce-checkout-order-summary-block,
.alepu-checkout .wc-block-components-checkout-order-summary__content { border: 0 !important; }
.alepu-checkout .wp-block-woocommerce-checkout-order-summary-block { padding: 0 !important; }
.alepu-commerce .wc-block-components-totals-footer-item-tax .wc-block-components-formatted-money-amount { margin: 0 .3em; }

/* Bag per Figma: express pay lives on the checkout, not in the bag */
.alepu-cart .wc-block-cart__payment-options { display: none !important; }

.alepu-checkout-header > * { margin-block: 0 !important; }

/* =====================================================================
   Section 20 — films, worn photos, collection pages
   ===================================================================== */
.alepu-label.is-muted { color: var(--wp--preset--color--muted); }

/* film band: text left, 9:16 film right */
.alepu-film { display: flex; align-items: center; gap: clamp(40px, 8.3vw, 120px); padding: 96px var(--wp--preset--spacing--gutter); margin: 0 !important; }
.alepu-film__text { flex: 0 1 560px; display: flex; flex-direction: column; gap: 20px; }
.alepu-film__text p { margin: 0; }
.alepu-film__title { font-size: clamp(32px, 3.1vw, 44px); line-height: 1.14; margin: -4px 0 0; }
.alepu-film__body { color: var(--wp--preset--color--muted); max-width: 480px; }
.alepu-film__text .alepu-link { margin-top: 4px !important; }
.alepu-film__media { position: relative; flex: 0 0 405px; aspect-ratio: 9 / 16; margin: 0; background: var(--wp--preset--color--ink); overflow: hidden; }
.alepu-film__video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.alepu-film__pill { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; border: 0; border-radius: 0; background: var(--wp--preset--color--ink); color: var(--wp--preset--color--ivory); font-family: var(--wp--preset--font-family--commissioner); font-size: 11px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease; }
.alepu-film__pill svg { width: 8px; height: 9px; fill: currentColor; }
.alepu-film__pill:hover, .alepu-film__pill:focus-visible { background: var(--wp--preset--color--gold); color: var(--wp--preset--color--ink); }
.alepu-film.is-playing .alepu-film__pill { display: none; }
.alepu-film.is-playing .alepu-film__video { cursor: auto; }
@media (max-width: 900px) {
	.alepu-film { flex-direction: column-reverse; align-items: stretch; gap: 0; padding: 0; }
	.alepu-film__media { flex: none; width: 100%; }
	.alepu-film__text { flex: none; gap: 14px; padding: 32px var(--wp--preset--spacing--gutter) 48px; }
	.alepu-film__title { font-size: 32px; line-height: 38px; }
}

/* worn band: heading + photos with captions */
.alepu-wornband { display: flex; flex-direction: column; gap: 40px; padding: 96px var(--wp--preset--spacing--gutter); margin: 0 !important; border-top: 1px solid var(--wp--preset--color--line); }
.alepu-wornband__head { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }
.alepu-wornband__head p { margin: 0; }
.alepu-wornband__head h2 { margin: 0; font-size: clamp(28px, 2.3vw, 32px); line-height: 1.2; }
.alepu-wornband.is-pair .alepu-wornband__head h2 { font-size: clamp(32px, 3.1vw, 44px); }
.alepu-wornband__body { color: var(--wp--preset--color--muted); max-width: 560px; }
.alepu-wornband__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.alepu-wornband__row figure { margin: 0; }
.alepu-wornband__row img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.alepu-wornband__row figcaption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--wp--preset--color--ivory); text-align: left; }
.alepu-wornband.is-pair .alepu-wornband__row { grid-template-columns: 2fr 3fr; max-width: 1224px; }
.alepu-wornband.is-pair .alepu-wornband__row figure:first-child img { aspect-ratio: 2 / 3; }
.alepu-wornband > .alepu-link { margin: 0; }
@media (max-width: 781px) {
	.alepu-wornband { padding: 64px var(--wp--preset--spacing--gutter); gap: 28px; }
	.alepu-wornband__row, .alepu-wornband.is-pair .alepu-wornband__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; margin-right: calc(-1 * var(--wp--preset--spacing--gutter)); padding-right: var(--wp--preset--spacing--gutter); }
	.alepu-wornband__row::-webkit-scrollbar { display: none; }
	.alepu-wornband__row figure { flex: 0 0 78vw; scroll-snap-align: start; }
	.alepu-wornband.is-pair .alepu-wornband__row figure:first-child { flex-basis: 56vw; }
	.alepu-wornband.is-pair .alepu-wornband__row figure:last-child { flex-basis: 84vw; }
}

/* founder portrait on The story */
.alepu-founder { margin: 0; }
.alepu-founder img { width: 100%; height: auto; aspect-ratio: 9 / 10; object-fit: cover; }

/* collection pages */
.alepu-collection > * { margin-block: 0 !important; }
.alepu-coll-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding: 48px var(--wp--preset--spacing--gutter); }
.alepu-coll-head__title { display: flex; flex-direction: column; gap: 14px; }
.alepu-coll-head__title p { margin: 0; }
.alepu-coll-head h1 { margin: 0; font-size: clamp(48px, 5vw, 72px); line-height: 1.1; }
.alepu-coll-head__intro { margin: 0; max-width: 420px; color: var(--wp--preset--color--muted); }
.alepu-coll-tabs { display: flex; gap: 32px; margin-top: 6px; }
.alepu-coll-tabs a { font-size: 11px; line-height: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--muted); text-decoration: none; padding-bottom: 6px; background: linear-gradient(var(--wp--preset--color--gold), var(--wp--preset--color--gold)) left bottom / 0 1px no-repeat; transition: background-size .25s ease, color .2s ease; }
.alepu-coll-tabs a:hover { color: var(--wp--preset--color--ivory); }
.alepu-coll-tabs a.is-active { color: var(--wp--preset--color--ivory); background-size: 48px 1px; }
.alepu-collection .alepu-film { padding-top: 48px; }

.alepu-coll-worn { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.alepu-coll-worn__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.alepu-coll-worn__text { display: flex; flex-direction: column; gap: 16px; padding: 48px var(--wp--preset--spacing--gutter); }
.alepu-coll-worn__text p { margin: 0; }
.alepu-coll-worn__text h2 { margin: 0; font-size: clamp(28px, 2.3vw, 32px); line-height: 1.2; }
.alepu-coll-worn__line { font-size: 14px; line-height: 20px; color: var(--wp--preset--color--ivory); }

.alepu-coll-products, .alepu-coll-also { padding: 64px var(--wp--preset--spacing--gutter); border-top: 1px solid var(--wp--preset--color--line); margin: 0 !important; }
.alepu-coll-also { padding-top: 56px; padding-bottom: 56px; }
.alepu-coll-h { margin: 0 0 24px; font-size: clamp(28px, 2.3vw, 32px); line-height: 1.2; scroll-margin-top: 24px; }
.alepu-coll-also__head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.alepu-coll-also__head .alepu-coll-h { margin: 0; }
.alepu-coll-also__head .alepu-link { margin: 0; }
.alepu-coll-grid .wc-block-product-template { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 48px 40px !important; }
.alepu-coll-grid.is-also .wc-block-product-template { grid-template-columns: repeat(3, minmax(0, 300px)) !important; gap: 24px !important; }
.alepu-coll-grid .wc-block-product { width: auto !important; max-width: none !important; margin: 0 !important; }
.alepu-coll-grid .wc-block-components-product-image { aspect-ratio: 400 / 288; margin-bottom: 12px !important; }
.alepu-coll-grid .wc-block-components-product-image > a { display: block; width: 100%; height: 100%; }
.alepu-coll-grid .wc-block-components-product-image img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: contain !important; }
.alepu-coll-grid .wp-block-post-title { font-size: 19px !important; line-height: 25px; margin: 0 0 4px !important; }
.alepu-coll-grid .wc-block-components-product-price { font-size: 14px !important; }
@media (max-width: 781px) {
	.alepu-coll-head { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px var(--wp--preset--spacing--gutter); }
	.alepu-coll-worn { grid-template-columns: 1fr; }
	.alepu-coll-worn__text { padding: 32px var(--wp--preset--spacing--gutter) 48px; }
	.alepu-coll-grid .wc-block-product-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 16px !important; }
	.alepu-coll-grid.is-also .wc-block-product-template { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px !important; }
	.alepu-coll-grid.is-also .wc-block-product { flex: 0 0 64vw; scroll-snap-align: start; }
	.alepu-coll-also__head { flex-direction: column; align-items: flex-start; gap: 12px; }
	.alepu-coll-grid .wp-block-post-title { font-size: 17px !important; line-height: 22px; }
}

/* home: collection tabs that switch in place */
.alepu-tabs[role="tablist"] { display: flex; gap: 40px; flex-wrap: nowrap; }
.alepu-tabs button { appearance: none; background: none; border: 0; border-radius: 0; padding: 0 0 6px; margin: 0; cursor: pointer; font-family: var(--wp--preset--font-family--didot); font-size: var(--wp--preset--font-size--display-m); line-height: 1.2; color: var(--wp--preset--color--muted); border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.alepu-tabs button:hover { color: var(--wp--preset--color--ivory); }
.alepu-tabs button.is-active { color: var(--wp--preset--color--ivory); border-bottom-color: var(--wp--preset--color--gold); }
.alepu-tabs button:focus-visible { outline: 1px solid var(--wp--preset--color--gold); outline-offset: 4px; }
.alepu-tabpanel[hidden], .alepu-tab-all a[hidden] { display: none !important; }
.alepu-tab-all { margin: 0; }

/* the foxes: Little a.le.pú and the one-of-a-kind pieces */
.alepu-precieux-more .alepu-coll-also__head { align-items: flex-end; margin-bottom: 32px; }
.alepu-more-head { display: flex; flex-direction: column; gap: 14px; }
.alepu-more-head p, .alepu-more-head h2 { margin: 0; }
.alepu-more-body { color: var(--wp--preset--color--muted); max-width: 520px; }
@media (max-width: 781px) { .alepu-tabs[role="tablist"] { gap: 28px; } .alepu-precieux-more .alepu-coll-also__head { align-items: flex-start; } }

/* product tabs: drop WooCommerce's classic tab "corners" (white 5px marks left and right of each tab) */
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after,
.wc-tabs li::before, .wc-tabs li::after { display: none !important; content: none !important; box-shadow: none !important; }

/* Forminator adds an "Edit form" link under forms for logged-in admins — hide it */
.forminator-module-edit-link, small:has(> .forminator-module-edit-link) { display: none !important; }
