/* Marei 2.0 — fluid layouts, restrained colour, readable mobile typography.
 * Loaded after the compatibility stylesheet and WooCommerce styles.
 */
:root {
  --marei-paper: #fbf8f3;
  --marei-ivory: #fffdf9;
  --marei-soft: #eee7de;
  --marei-line: rgba(36, 27, 23, .14);
  --marei-shell: min(1280px, calc(100% - 40px));
}
html { scroll-padding-top: 100px; }
body.marei-theme { overflow-x: clip; font-size: 16px; line-height: 1.6; }
.marei-theme :where(main, section, article, nav, form, figure, div) { min-width: 0; }
.marei-theme :where(h1, h2, h3, h4, p, a, label, td, th) { overflow-wrap: anywhere; }
.marei-theme :where(input, select, textarea, button) { max-width: 100%; }
.marei-theme :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { font-size: 16px; }
.marei-theme :where(figure, video, iframe, svg) { max-width: 100%; }
.marei-theme figure { margin-inline: 0; }
.marei-theme .eyebrow { margin-bottom: 14px; color: var(--marei-wine); font-size: 10px; letter-spacing: .13em; }
.marei-theme .marei-button,
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) :is(a.button, button.button, input.button),
.marei-theme .wp-block-button__link { min-height: 48px; gap: 22px; padding: 14px 20px; font-size: 11px; line-height: 1.4; letter-spacing: .08em; }
.marei-theme .marei-button:hover,
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) :is(a.button, button.button, input.button):hover,
.marei-theme .wp-block-button__link:hover { background: #49372e; border-color: #49372e; color: var(--marei-ivory); }
.marei-theme .marei-button-primary { background: var(--marei-ink); color: var(--marei-ivory); }
.marei-theme .marei-text-link { min-height: 32px; align-items: center; font-size: 13px; }
.marei-theme .marei-site-header { display: grid; grid-template-columns: 1fr auto 1fr; height: 66px; gap: 8px; padding: 0 16px; background: var(--marei-paper); backdrop-filter: none; }
.marei-header-logo { position: static; grid-column: 2; grid-row: 1; transform: none; }
.marei-header-actions { grid-column: 3; grid-row: 1; justify-self: end; gap: 4px; margin: 0; }
.marei-menu-open { grid-column: 1; grid-row: 1; justify-self: start; display: grid; }
.marei-desktop-nav { display: none; }
.marei-theme .wordmark { font-size: 27px; letter-spacing: .16em; }
.marei-theme .custom-logo { max-width: 125px; max-height: 38px; }
.marei-theme .marei-header-link { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.marei-theme .marei-search-open { display: none; }
.marei-theme .marei-cart-open { font-size: 11px; }
.marei-cart-count { margin-left: 6px; }
.marei-theme .marei-shipping-bar { min-height: 32px; padding: 7px 16px; font-size: 10px; line-height: 1.45; letter-spacing: .02em; }
.marei-theme .marei-drawer { width: min(420px, 100%); max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom, 0px); }
.marei-drawer-head { flex-shrink: 0; position: sticky; top: 0; background: var(--marei-ivory); z-index: 1; }
.marei-theme .marei-mobile-menu nav > ul { padding: 14px 24px; }
.marei-theme .marei-mobile-menu nav > ul > li > a { font-size: 26px; padding: 15px 0; }
.marei-theme .marei-mobile-secondary a { min-height: 36px; display: flex; align-items: center; }
.marei-theme .marei-search-panel { max-height: 100dvh; overflow-y: auto; padding: 56px 0 28px; }
.marei-theme .marei-search-panel form { grid-template-columns: minmax(0, 1fr); }
.marei-theme .marei-search-panel input[type=search] { font-size: 26px; }
.marei-theme .marei-conversion-hero { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; background: var(--marei-paper); color: var(--marei-ink); }
.marei-theme .marei-conversion-copy { order: 2; min-height: 0; padding: 28px 20px 30px; }
.marei-conversion-copy::before { display: none; }
.marei-theme .marei-conversion-copy h1 { max-width: 650px; margin-bottom: 16px; font: 400 clamp(38px, 10.8vw, 52px)/1.04 var(--marei-serif); letter-spacing: -.035em; }
.marei-theme .marei-conversion-copy > p:not(.eyebrow):not(.marei-hero-note) { color: var(--marei-muted); font-size: 16px; }
.marei-theme .marei-conversion-copy .marei-hero-note { margin: 20px 0 0; color: var(--marei-muted); font-size: 11px; letter-spacing: .025em; }
.marei-theme .marei-button-row { gap: 12px 18px; margin-top: 20px; }
.marei-theme .marei-conversion-media { order: 1; min-height: 0; height: clamp(210px, 64vw, 310px); background: var(--marei-soft); }
.marei-conversion-media::after { background: linear-gradient(0deg, rgba(36,27,23,.22), transparent 30%); }
.marei-theme .marei-conversion-media img, .marei-theme .marei-conversion-media video { object-position: 50% 65%; }
.marei-theme .marei-hero-video { display: none; }
.marei-photo-caption { position: absolute; z-index: 2; bottom: 16px; left: 20px; color: white; font-size: 9px; letter-spacing: .12em; }
.marei-theme .marei-demo-label { top: 12px; right: 12px; max-width: calc(100% - 24px); padding: 5px 8px; font-size: 9px; letter-spacing: .04em; }
.marei-theme .marei-proof-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.marei-proof-strip > a { padding: 17px 6px; border-right: 1px solid var(--marei-line); text-align: center; }
.marei-proof-strip > a:last-child { border-right: 0; }
.marei-theme .marei-proof-strip strong { font: 500 11px/1.4 var(--marei-sans); }
.marei-theme .marei-proof-strip span { font-size: 9px; line-height: 1.5; letter-spacing: 0; text-transform: none; }
.marei-theme .marei-section { padding-block: 54px; }
.marei-theme .section-heading { gap: 16px; margin-bottom: 25px; }
.marei-theme .section-heading h2 { font: 400 clamp(30px, 8vw, 42px)/1.1 var(--marei-serif); letter-spacing: -.02em; }
.marei-theme .marei-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
.marei-theme .marei-product-image { aspect-ratio: 4/5; background: var(--marei-soft); }
.marei-theme .marei-product-meta { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 13px 0 8px; }
.marei-theme .marei-product-meta h3 { font: 500 14px/1.4 var(--marei-sans); }
.marei-theme .marei-product-meta strong { grid-row: auto; white-space: normal; font-size: 13px; }
.marei-theme .product-category { font-size: 10px; letter-spacing: .025em; text-transform: none; }
.marei-theme .product-proof { font-size: 10px; letter-spacing: 0; text-transform: none; }
.marei-theme .product-badge { font-size: 9px; letter-spacing: .025em; }
.marei-category-pair { display: grid; grid-template-columns: minmax(0,1fr); gap: 30px; }
.marei-category-image { position: relative; overflow: hidden; aspect-ratio: 5/4; background: var(--marei-soft); }
.marei-category-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.marei-category-caption { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 20px 0 10px; }
.marei-category-caption .eyebrow { margin-bottom: 8px; }
.marei-category-caption h2 { margin: 0; font: 400 30px/1.1 var(--marei-serif); }
.marei-category-caption > span { font-size: 25px; }
.marei-origin { display: grid; grid-template-columns: minmax(0,1fr); gap: 22px; padding-block: 60px; margin-top: 40px; border-top: 1px solid var(--marei-line); }
.marei-origin h2 { margin: 0; font: 400 clamp(32px, 7vw, 48px)/1.12 var(--marei-serif); letter-spacing: -.025em; }
.marei-origin p:not(.eyebrow) { color: var(--marei-muted); font-size: 15px; }
.marei-theme .marei-story-callout { padding-block: 56px; background: var(--marei-soft); color: var(--marei-ink); }
.marei-theme .marei-story-callout .eyebrow { color: var(--marei-wine); }
.marei-theme .marei-story-callout h2 { margin-bottom: 22px; font: 400 clamp(32px, 8vw, 52px)/1.08 var(--marei-serif); letter-spacing: -.02em; }
.marei-theme .marei-story-callout p { color: var(--marei-muted); font-size: 15px; }
.marei-theme .marei-story-callout .marei-text-link { color: var(--marei-ink); margin-top: 8px; }
.marei-theme .marei-honest-proof { padding-block: 54px; }
.marei-theme .marei-honest-proof h2 { font-size: 36px; line-height: 1.1; }
.marei-theme .marei-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 30px 20px; padding-block: 44px 36px; }
.marei-theme .marei-footer-brand, .marei-theme .marei-newsletter { grid-column: 1 / -1; }
.marei-theme .marei-footer-brand p { font-size: 14px; }
.marei-theme .footer-title { font-size: 11px; }
.marei-theme .marei-site-footer nav a { min-height: 34px; display: inline-flex; align-items: center; font-size: 13px; margin: 0; }
.marei-theme .marei-footer-bottom { padding-bottom: 70px; font-size: 11px; text-transform: none; letter-spacing: 0; }
.marei-theme .marei-footer-bottom nav a { font-size: 11px; }
.marei-theme .marei-cookie-banner { max-height: calc(100dvh - 24px); overflow-y: auto; gap: 16px; padding: 20px; border: 1px solid var(--marei-line); }
.marei-theme .marei-cookie-banner h2 { font: 500 18px/1.3 var(--marei-sans); }
.marei-theme .marei-cookie-banner p:last-child { font-size: 13px; }
.marei-theme .marei-cookie-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.marei-cookie-actions [data-consent=refuse] { order: 1; }
.marei-cookie-actions [data-consent=accept] { order: 2; }
.marei-cookie-actions [data-consent=customize] { order: 3; grid-column: 1 / -1; }
.marei-theme .marei-cookie-actions .marei-button:last-child { grid-column: auto; }
.marei-theme .marei-cookie-actions .marei-button { font-size: 10px; gap: 0; padding: 12px 8px; }
.marei-theme .marei-modal-card { max-height: calc(100dvh - 36px); padding: 42px 22px 25px; }
.marei-theme .marei-modal-card h2 { font-size: 32px; line-height: 1.1; }
.marei-theme .marei-help-panel { max-height: calc(100dvh - 36px); overflow-y: auto; }
.marei-theme .marei-exit-offer { background: var(--marei-ink); }
.marei-theme .marei-exit-offer .eyebrow { color: var(--marei-sand); }
.marei-theme .marei-shipping-progress i { background: var(--marei-ink); }
.marei-theme .page-title { font-size: clamp(36px, 9vw, 72px); line-height: 1.06; }
.marei-theme .page-hero { padding-block: 42px 30px; }
.marei-theme .marei-content-page { padding-block: 44px 64px; }
.marei-theme .marei-story-copy { padding: 40px 20px; }
.marei-theme .marei-story-copy h2 { font-size: 36px; line-height: 1.1; }
.marei-theme .marei-story-image { min-height: 0; aspect-ratio: 4/5; }
.marei-theme .marei-story-image img { height: 100%; object-fit: cover; }
.marei-theme .marei-table-wrap { max-width: 100%; overflow-x: auto; }
.marei-theme .marei-commerce-main { width: var(--marei-shell); padding-block: 32px 60px; }
.marei-theme .marei-filter-pills { flex-wrap: wrap; overflow: visible; gap: 8px; }
.marei-theme .marei-filter-pill { font-size: 12px; min-height: 44px; padding: 10px 14px; }
.marei-commerce-content, .marei-theme form.checkout { display: flow-root; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 12px; }
/* Woo's columns-N and mobile float rules otherwise override the grid item width. */
.marei-theme.woocommerce ul.products li.product,
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; clear: none !important; min-width: 0; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) ul.products li.product .woocommerce-loop-product__title { font: 500 14px/1.4 var(--marei-sans); }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) ul.products li.product .price { font-size: 14px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) ul.products li.product .button { font-size: 10px; padding-inline: 8px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product { grid-template-columns: minmax(0,1fr); }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product::before,
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product::after { display: none; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product div.images,
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product div.summary,
.marei-theme .marei-product-video { grid-column: 1; grid-row: auto; float: none !important; width: 100% !important; min-width: 0; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product div.summary { position: static; padding-top: 25px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product .product_title { font-size: clamp(34px,8vw,52px); line-height: 1.08; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product div.images .flex-control-thumbs li { width: auto; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product form.cart .button { float: none; max-width: 100%; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product form.cart:not(.variations_form):not(.grouped_form),
.marei-theme .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product form.cart div.quantity { float: none; margin: 0; flex: 0 0 66px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product form.cart .single_add_to_cart_button { flex: 1 1 160px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product form.cart table { width: 100%; table-layout: fixed; }
.marei-theme .marei-product-reassurance { grid-template-columns: minmax(0,1fr); }
.marei-theme .marei-product-reassurance :is(span,a) { font-size: 11px; min-height: 40px; }
.marei-theme .marei-full-bleed { left: auto; width: 100%; margin-left: 0; }
.marei-theme .marei-full-bleed .marei-shell { width: calc(100% - 32px); }
.marei-theme .marei-cross-sell { margin-top: 45px; padding-block: 40px; }
.marei-theme .marei-mobile-buy { padding: 10px 16px max(10px, env(safe-area-inset-bottom)); }
.marei-theme .marei-mobile-buy .marei-button { font-size: 10px; padding: 10px 12px; }
.marei-theme .marei-mobile-buy strong { font: 500 13px/1.35 var(--marei-sans); }
.marei-theme .marei-mobile-buy span { font-size: 12px; }
:is(.marei-theme.woocommerce-checkout, .marei-theme .woocommerce-checkout) :is(.col2-set, #order_review, #order_review_heading) { float: none; width: 100%; }
:is(.marei-theme.woocommerce-checkout, .marei-theme .woocommerce-checkout) .col2-set { padding-right: 0; }
:is(.marei-theme.woocommerce-checkout, .marei-theme .woocommerce-checkout) #order_review { padding: 16px; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) table.shop_table { width: 100%; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row label { font-size: 12px; letter-spacing: .02em; text-transform: none; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row-first, :is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row-last { width: 100%; float: none; }
:is(.marei-theme.woocommerce-cart, .marei-theme .woocommerce-cart) table.cart td.actions .coupon { float: none; display: grid; gap: 10px; grid-template-columns: minmax(0,1fr); }
:is(.marei-theme.woocommerce-cart, .marei-theme .woocommerce-cart) table.cart td.actions .coupon :is(.input-text, .button) { width: 100% !important; float: none; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) .cart-collaterals .cart_totals { width: 100%; float: none; padding: 20px; }
.marei-theme .wc-block-components-sidebar, .marei-theme .wc-block-components-main { min-width: 0; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) .woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; }
:is(.marei-theme.woocommerce, .marei-theme .woocommerce) .woocommerce-order-overview li { margin: 0; float: none; }
@media (min-width: 601px) {
  :root { --marei-shell: min(1280px, calc(100% - 64px)); }
  .marei-theme .marei-conversion-copy { padding: 38px 32px; }
  .marei-theme .marei-conversion-media { height: 400px; }
  .marei-theme .marei-section, .marei-origin { padding-block: 72px; }
  .marei-category-pair { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .marei-category-image { aspect-ratio: 4/5; }
  .marei-theme .marei-proof-strip strong { font-size: 13px; }
  .marei-theme .marei-proof-strip span { font-size: 11px; }
  .marei-theme .marei-search-panel form { grid-template-columns: minmax(0,1fr) auto; }
  .marei-theme .marei-cookie-banner { right: 24px; bottom: 24px; left: auto; width: 430px; grid-template-columns: minmax(0,1fr); }
  .marei-theme .marei-modal-card { padding: 48px 36px 32px; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row-first, :is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row-last { width: 48%; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row-first { float: left; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) form .form-row-last { float: right; }
}
@media (min-width: 901px) {
  .marei-theme .marei-site-header { height: 80px; padding-inline: 32px; }
  .marei-theme .marei-conversion-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .marei-theme .marei-conversion-copy { order: 1; padding: clamp(40px,6vw,90px); }
  .marei-theme .marei-conversion-copy h1 { font-size: clamp(54px,5.7vw,82px); }
  .marei-theme .marei-conversion-copy > p:not(.eyebrow):not(.marei-hero-note) { font-size: 16px; }
  .marei-theme .marei-conversion-media { order: 2; height: clamp(540px,48vw,700px); }
  .marei-theme .marei-hero-video { display: block; }
  .marei-theme.marei-save-data .marei-hero-video { display: none; }
  .marei-theme .section-heading { flex-direction: row; align-items: flex-end; }
  .marei-theme .section-heading h2 { font-size: 46px; }
  .marei-theme .marei-product-grid, :is(.marei-theme.woocommerce, .marei-theme .woocommerce) ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 30px 24px; }
  .marei-theme .marei-product-grid-small { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .marei-theme .marei-product-grid:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 860px; margin-inline: auto; }
  .marei-origin { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 8%; padding-block: 88px; margin-top: 72px; }
  .marei-theme .marei-story-callout { padding-block: 80px; }
  .marei-theme .marei-footer-grid { grid-template-columns: 1.3fr .8fr 1fr 1fr; gap: 36px; padding-block: 60px; }
  .marei-theme .marei-footer-brand, .marei-theme .marei-newsletter { grid-column: auto; }
  .marei-theme .marei-footer-bottom { padding-bottom: 32px; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product { grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 0 6%; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product div.images { grid-column: 1; grid-row: 1; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) div.product div.summary { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 110px; padding-top: 8px; }
  .marei-theme .marei-product-video { grid-column: 1; grid-row: 2; }
  :is(.marei-theme.woocommerce-checkout, .marei-theme .woocommerce-checkout) .col2-set { float: left; width: 55%; padding-right: 5%; }
  :is(.marei-theme.woocommerce-checkout, .marei-theme .woocommerce-checkout) #order_review_heading, :is(.marei-theme.woocommerce-checkout, .marei-theme .woocommerce-checkout) #order_review { float: right; width: 45%; }
  :is(.marei-theme.woocommerce, .marei-theme .woocommerce) .cart-collaterals .cart_totals { float: right; max-width: 520px; }
}
@media (min-width: 1201px) {
  .marei-theme .marei-menu-open { display: none; }
  .marei-theme .marei-desktop-nav { display: block; grid-column: 1; grid-row: 1; }
  .marei-theme .marei-desktop-nav ul { gap: 20px; flex-wrap: wrap; }
  .marei-theme .marei-search-open { display: inline-flex; width: auto; color: var(--marei-ink); }
  .marei-theme .marei-header-actions { gap: 20px; }
}
@media (max-width: 600px) {
  /* WordPress's mobile admin bar scrolls out of view below this breakpoint. */
  .admin-bar.marei-theme .marei-site-header { top: 0; }
  .admin-bar.marei-theme :is(.marei-drawer, .marei-search-panel) { top: 0; }
  .marei-theme .marei-conversion-copy .marei-button-row > .marei-button { width: 100%; }
  .marei-theme .marei-conversion-copy .marei-button-row > .marei-text-link { margin-inline: auto; }
  .marei-theme .woocommerce table.shop_table_responsive thead { display: none; }
  .marei-theme .woocommerce table.shop_table_responsive :is(tbody,tr,td) { display: block; width: 100%; }
  .marei-theme .woocommerce table.shop_table_responsive td[data-title] { text-align: right; }
  .marei-theme .woocommerce table.shop_table_responsive td[data-title]::before { content: attr(data-title) ": "; float: left; font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
  .marei-theme .marei-hero-video { display: none !important; }
}

/* Small signature accents; large surfaces stay ivory, beige and espresso. */
.marei-theme .marei-text-link:hover { color: var(--marei-wine); }
.marei-theme .marei-button-primary > span[aria-hidden] { color: #e6a49b; }
.marei-theme .marei-category-caption > span { color: var(--marei-wine); }
.marei-theme .marei-filter-pill.is-active { box-shadow: inset 0 -3px 0 var(--marei-wine); }
.marei-theme .marei-elementor-eyebrow .elementor-widget-container { color: var(--marei-wine); }
.marei-elementor-content { width: 100%; max-width: none; padding: 0; }
.marei-elementor-content .elementor { width: 100%; }
