/**
 * The product page pieces, styled where they stand.
 *
 * These are placed as shortcodes inside the Elementor product template, so
 * nothing here sets a page layout: the template owns the columns and the
 * spacing between widgets. Each rule dresses one block and stops there.
 */

.mbh-rating,
.mbh-pickup-line,
.mbh-pickup,
.mbh-accordions {
	--mbh-red: var(--e-global-color-75bbeba, #d8212a);
	--mbh-ink: #241f1b;
	--mbh-muted: #6b6b6b;
	--mbh-line: #e6e0d8;
}

/* Rating ------------------------------------------------------------------ */

.mbh-rating {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 14px;
	color: var(--mbh-muted);
}

.mbh-stars {
	position: relative;
	display: inline-block;
	line-height: 1;
	font-size: 15px;
	letter-spacing: 2px;
	/* The track and the fill must occupy the same box for the overlay to
	   line up, so both are laid out from the same string of five stars. */
	white-space: nowrap;
}

.mbh-stars__track {
	color: #d9d2c7;
}

.mbh-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	color: #e8a723;
	white-space: nowrap;
}

.mbh-rating__score {
	font-weight: 700;
	color: var(--mbh-ink);
}

/* Pickup line ------------------------------------------------------------- */

.mbh-pickup-line {
	margin: 0;
	font-size: 14.5px;
	color: var(--mbh-muted);
}

.mbh-pickup-line__em {
	color: var(--mbh-red);
}

/* Pickup panel ------------------------------------------------------------ */

.mbh-pickup {
	padding: 14px 16px;
	background: #faeceb;
	border-radius: 8px;
}

.mbh-pickup__title {
	margin: 0;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--mbh-ink);
}

.mbh-pickup__city {
	margin: 2px 0 0;
	font-size: 13.5px;
	color: var(--mbh-muted);
}

/* Accordions -------------------------------------------------------------- */

.mbh-accordions {
	border-top: 1px solid var(--mbh-line);
}

.mbh-accordion {
	border-bottom: 1px solid var(--mbh-line);
}

.mbh-accordion__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 2px;
	cursor: pointer;
	list-style: none;
	font-size: 15px;
	color: var(--mbh-ink);
}

/* Safari draws its own disclosure triangle unless this is switched off. */
.mbh-accordion__summary::-webkit-details-marker {
	display: none;
}

.mbh-accordion__summary:focus-visible {
	outline: 2px solid var(--mbh-red);
	outline-offset: -2px;
}

.mbh-accordion__title {
	font-weight: 500;
}

/* Drawn rather than a glyph, so it can rotate on open. */
.mbh-accordion__chevron {
	flex-shrink: 0;
	width: 9px;
	height: 9px;
	border-right: 2px solid #8a8178;
	border-bottom: 2px solid #8a8178;
	transform: rotate(45deg) translate(-2px, -2px);
	transition: transform .2s ease;
}

.mbh-accordion[open] .mbh-accordion__chevron {
	transform: rotate(-135deg) translate(-2px, -2px);
}

.mbh-accordion__panel {
	padding: 0 2px 16px;
	font-size: 14.5px;
	line-height: 1.65;
	color: #4a443e;
}

.mbh-accordion__panel > :first-child {
	margin-top: 0;
}

.mbh-accordion__panel > :last-child {
	margin-bottom: 0;
}

.mbh-accordion__panel ul,
.mbh-accordion__panel ol {
	margin: 0 0 1em;
	padding-left: 1.2em;
}

/* Small screens ----------------------------------------------------------- */

@media (max-width: 767px) {
	.mbh-accordion__summary {
		padding: 14px 2px;
		font-size: 14.5px;
	}

	.mbh-pickup {
		padding: 12px 14px;
	}
}

/* The add to cart area ----------------------------------------------------
 *
 * The design was drawn for a simple product: one price, a quantity box and
 * two buttons. Eight of the thirteen products here are variable, so a size
 * selector has to sit in that space too. It gets a row of its own above the
 * quantity, and the price stays a range until a size is chosen.
 *
 * There was already a stylesheet for this, scoped to `.mbh-atc` -- a class
 * nothing on the page carries, so none of it ever applied and the buttons
 * ran into each other. These rules are keyed to the Elementor widget that
 * actually renders here. */

.elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart form.cart,
.elementor-widget-woocommerce-product-add-to-cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0;
}

/* Elementor wraps its quantity buttons in a holder that would otherwise
   become a flex item and break the row apart. */
.elementor-widget-woocommerce-product-add-to-cart .e-atc-qty-button-holder {
	display: contents;
}

/* The size table, the variation summary and the quantity each take a full
   row; only the two buttons share one. */
.elementor-widget-woocommerce-product-add-to-cart form.cart > table.variations,
.elementor-widget-woocommerce-product-add-to-cart form.cart > .single_variation_wrap,
.elementor-widget-woocommerce-product-add-to-cart form.cart > .woocommerce-variation,
.elementor-widget-woocommerce-product-add-to-cart .quantity {
	flex: 0 0 100%;
	margin: 0;
}

.elementor-widget-woocommerce-product-add-to-cart form.cart > table.variations {
	margin: 0 0 4px;
}

.elementor-widget-woocommerce-product-add-to-cart table.variations th,
.elementor-widget-woocommerce-product-add-to-cart table.variations td {
	padding: 0 0 8px;
	border: 0;
	background: none;
}

.elementor-widget-woocommerce-product-add-to-cart table.variations label {
	font-size: 14px;
	font-weight: 600;
	color: var(--mbh-ink, #241f1b);
}

.elementor-widget-woocommerce-product-add-to-cart table.variations select {
	width: 100%;
	padding: 11px 12px;
	background: #fff;
	color: var(--mbh-ink, #241f1b);
	border: 1px solid #e7dccd;
	border-radius: 4px;
	font-size: 14.5px;
}

.elementor-widget-woocommerce-product-add-to-cart .quantity input.qty {
	width: 104px;
	padding: 10px;
	background: #fff;
	color: var(--mbh-ink, #241f1b);
	border: 1px solid #e7dccd;
	border-radius: 4px;
	text-align: center;
}

/* Buttons ----------------------------------------------------------------- */

.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button,
.elementor-widget-woocommerce-product-add-to-cart .mbh-buy-now {
	flex: 1 1 0;
	min-width: 150px;
	margin: 0;
	padding: 14px 24px;
	border: 0;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s ease;
}

/* Held red even while a size is still unchosen: greying it out reads as
   broken rather than as waiting. */
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button,
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.disabled,
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button.wc-variation-selection-needed {
	background: var(--mbh-red, #d8212a) !important;
	color: #fff !important;
	opacity: 1;
}

.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button:hover,
.elementor-widget-woocommerce-product-add-to-cart .single_add_to_cart_button:focus {
	background: #b0181f !important;
}

.elementor-widget-woocommerce-product-add-to-cart .mbh-buy-now {
	background: #241f1b !important;
	color: #fff !important;
}

.elementor-widget-woocommerce-product-add-to-cart .mbh-buy-now:hover,
.elementor-widget-woocommerce-product-add-to-cart .mbh-buy-now:focus {
	background: #3a322c !important;
}

/* Short description -------------------------------------------------------
 *
 * Three products have an <h1> pasted inside their short description, which
 * renders a second page-sized title halfway down the column. The heading is
 * the shop's content to fix, but it should not read as a title in the
 * meantime. */

.woocommerce-product-details__short-description h1,
.woocommerce-product-details__short-description h2,
.woocommerce-product-details__short-description h3 {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mbh-ink, #241f1b);
}

.woocommerce-product-details__short-description ul {
	margin: 0;
	padding-left: 1.1em;
}

.woocommerce-product-details__short-description p:empty {
	display: none;
}


/* Global product-page alignment — 2026-09-12 */
body.single-product .woocommerce-product-details__short-description {
    margin: 16px 0 20px !important;
    padding: 16px !important;
    box-sizing: border-box;
    background: #F7F7EC;
    border-left: 4px solid #D8212A;
    border-radius: 0 12px 12px 0;
    color: #1A1A1A;
    font-family: Roboto, Arial, sans-serif;
}
body.single-product .woocommerce-product-details__short-description .mbh-product-note {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}
body.single-product .woocommerce-product-details__short-description h1,
body.single-product .woocommerce-product-details__short-description h2,
body.single-product .woocommerce-product-details__short-description h3,
body.single-product .woocommerce-product-details__short-description p,
body.single-product .woocommerce-product-details__short-description li {
    text-align: left !important;
}
body.single-product .woocommerce-product-details__short-description ul {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
body.single-product .woocommerce-product-details__short-description p:empty,
body.single-product .woocommerce-product-details__short-description h1:empty,
body.single-product .woocommerce-product-details__short-description h2:empty,
body.single-product .woocommerce-product-details__short-description h3:empty {
    display: none !important;
}

@media (min-width: 520px) and (max-width: 767px) {
    body.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart:not(.variations_form),
    body.single-product .elementor-widget-wc-add-to-cart form.cart:not(.variations_form),
    body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
        display: grid !important;
        grid-template-columns: 112px repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    body.single-product form.cart button.single_add_to_cart_button,
    body.single-product form.cart button.mbh-buy-now {
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}
@media (max-width: 519px) {
    body.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart:not(.variations_form),
    body.single-product .elementor-widget-wc-add-to-cart form.cart:not(.variations_form),
    body.single-product form.variations_form.cart .woocommerce-variation-add-to-cart {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    body.single-product form.cart .quantity {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
    }
    body.single-product form.cart button.single_add_to_cart_button,
    body.single-product form.cart button.mbh-buy-now {
        grid-column: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}


/* Keep simple-product purchase controls on one balanced row. */
@media (min-width: 520px) {
    body.single-product .elementor-widget-woocommerce-product-add-to-cart form.cart:not(.variations_form),
    body.single-product .elementor-widget-wc-add-to-cart form.cart:not(.variations_form) {
        display: grid !important;
        grid-template-columns: 112px repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        align-items: stretch !important;
    }
    body.single-product form.cart:not(.variations_form) button.single_add_to_cart_button,
    body.single-product form.cart:not(.variations_form) button.mbh-buy-now {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
    }
}


/* Prevent WooCommerce clearfix pseudo-elements from occupying grid cells. */
body.single-product form.cart:not(.variations_form)::before,
body.single-product form.cart:not(.variations_form)::after {
    content: none !important;
    display: none !important;
}


/* Factory Outlet storefront ------------------------------------------------ */
body.woocommerce-shop {
    --mbh-shop-red: #D8212A;
    --mbh-shop-ink: #241F1B;
    --mbh-shop-muted: #6B625B;
    --mbh-shop-cream: #F7F7EC;
    --mbh-shop-line: #E7DCCD;
}

body.woocommerce-shop .elementor-element-6c02864 {
    margin-bottom: 0 !important;
}
body.woocommerce-shop .elementor-element-6c02864 .elementor-heading-title {
    margin: 0 !important;
    color: var(--mbh-shop-ink) !important;
    font-family: Lora, Georgia, serif !important;
    font-size: clamp(42px, 6vw, 74px) !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    text-align: center;
}
body.woocommerce-shop .elementor-element-6c02864 .elementor-heading-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    margin: 18px auto 0;
    background: var(--mbh-shop-red);
}
body.woocommerce-shop .elementor-element-67a64bb {
    height: auto !important;
    min-height: 0 !important;
    padding: 34px 20px 18px !important;
}
body.woocommerce-shop .elementor-element-45b09e3[hidden] {
    display: none !important;
}

body.woocommerce-shop .mbh-shop-intro {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 28px;
}
body.woocommerce-shop .mbh-shop-subtitle {
    margin: 0 0 22px;
    color: var(--mbh-shop-muted);
    font-family: Roboto, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.55;
    text-align: center;
}
body.woocommerce-shop .mbh-shop-pickup {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: #FFF7F7;
    border: 1px solid #F1D4D6;
    border-left: 4px solid var(--mbh-shop-red);
    border-radius: 0 12px 12px 0;
}
body.woocommerce-shop .mbh-shop-pickup > div,
body.woocommerce-shop .mbh-shop-pickup > a {
    display: flex;
    min-width: 0;
    padding: 17px 18px;
    flex-direction: column;
    gap: 4px;
    color: var(--mbh-shop-ink);
    text-decoration: none;
    border-left: 1px solid #F1D4D6;
}
body.woocommerce-shop .mbh-shop-pickup > :first-child {
    border-left: 0;
}
body.woocommerce-shop .mbh-shop-pickup strong {
    color: var(--mbh-shop-red);
    font-size: 14px;
    font-weight: 700;
}
body.woocommerce-shop .mbh-shop-pickup span {
    color: var(--mbh-shop-muted);
    font-size: 13px;
    line-height: 1.4;
}
body.woocommerce-shop .mbh-shop-pickup > a:hover {
    background: #FFFFFF;
}

body.woocommerce-shop .mbh-shop-toolbar {
    display: flex;
    width: 100%;
    margin: 0 0 26px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
body.woocommerce-shop .mbh-shop-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
body.woocommerce-shop .mbh-shop-filters button {
    min-height: 42px;
    padding: 9px 16px;
    background: #FFFFFF;
    color: var(--mbh-shop-ink);
    border: 1px solid var(--mbh-shop-line);
    border-radius: 999px;
    box-shadow: none;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}
body.woocommerce-shop .mbh-shop-filters button:hover,
body.woocommerce-shop .mbh-shop-filters button:focus-visible {
    border-color: var(--mbh-shop-red);
    color: var(--mbh-shop-red);
}
body.woocommerce-shop .mbh-shop-filters button.is-active {
    background: var(--mbh-shop-red);
    color: #FFFFFF;
    border-color: var(--mbh-shop-red);
}
body.woocommerce-shop .mbh-shop-results {
    flex: 0 0 auto;
    color: var(--mbh-shop-muted);
    font-size: 14px;
    font-weight: 600;
}

body.woocommerce-shop .elementor-element-9c6b930,
body.woocommerce-shop .elementor-element-15f01a6,
body.woocommerce-shop .elementor-element-c2ef9b2 {
    height: auto !important;
    min-height: 0 !important;
}
body.woocommerce-shop .elementor-element-9c6b930 {
    padding: 8px 20px 58px !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 ul.products {
    align-items: stretch !important;
    row-gap: 30px !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 ul.products li.product {
    display: flex !important;
    box-sizing: border-box;
    min-height: 100%;
    margin: 0 !important;
    padding: 16px 16px 18px !important;
    flex-direction: column;
    background: #FFFFFF !important;
    border: 1px solid var(--mbh-shop-line);
    border-radius: 12px;
    box-shadow: 0 7px 20px rgba(36, 31, 27, 0.08) !important;
    text-align: left !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.woocommerce-shop .elementor-element-c2ef9b2 ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(36, 31, 27, 0.13) !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product[hidden] {
    display: none !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product .woocommerce-LoopProduct-link {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 0 16px !important;
    object-fit: cover;
    object-position: center;
    background: #F7F4EF;
    border-radius: 8px;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product .woocommerce-loop-product__title {
    min-height: 46px;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: var(--mbh-shop-ink) !important;
    font-family: Roboto, Arial, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-transform: none !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product .star-rating {
    margin: 0 0 5px !important;
    color: #E0A32E !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product .star-rating span::before {
    color: #E0A32E !important;
}
body.woocommerce-shop .mbh-shop-review-count {
    display: block;
    margin: 0 0 5px;
    color: var(--mbh-shop-muted);
    font-size: 12px;
    line-height: 1.3;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product .price {
    display: block !important;
    margin: auto 0 16px !important;
    color: var(--mbh-shop-red) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: left !important;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product > .button {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 12px 18px !important;
    align-items: center;
    justify-content: center;
    background: var(--mbh-shop-red) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-align: center;
}
body.woocommerce-shop .elementor-element-c2ef9b2 li.product > .button:hover,
body.woocommerce-shop .elementor-element-c2ef9b2 li.product > .button:focus {
    background: #B0181F !important;
    color: #FFFFFF !important;
}

@media (max-width: 900px) {
    body.woocommerce-shop .mbh-shop-pickup {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.woocommerce-shop .mbh-shop-pickup > :nth-child(3) {
        border-left: 0;
        border-top: 1px solid #F1D4D6;
    }
    body.woocommerce-shop .mbh-shop-pickup > :nth-child(4) {
        border-top: 1px solid #F1D4D6;
    }
}
@media (max-width: 767px) {
    body.woocommerce-shop .elementor-element-67a64bb {
        padding: 26px 16px 14px !important;
    }
    body.woocommerce-shop .mbh-shop-intro {
        width: calc(100% - 28px);
        margin-bottom: 22px;
    }
    body.woocommerce-shop .mbh-shop-subtitle {
        font-size: 16px;
    }
    body.woocommerce-shop .mbh-shop-pickup {
        grid-template-columns: 1fr;
    }
    body.woocommerce-shop .mbh-shop-pickup > div,
    body.woocommerce-shop .mbh-shop-pickup > a {
        border-top: 1px solid #F1D4D6;
        border-left: 0;
    }
    body.woocommerce-shop .mbh-shop-pickup > :first-child {
        border-top: 0;
    }
    body.woocommerce-shop .elementor-element-9c6b930 {
        padding: 6px 16px 38px !important;
    }
    body.woocommerce-shop .mbh-shop-toolbar {
        display: block;
        overflow: hidden;
    }
    body.woocommerce-shop .mbh-shop-filters {
        padding: 0 0 10px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x proximity;
    }
    body.woocommerce-shop .mbh-shop-filters button {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }
    body.woocommerce-shop .mbh-shop-results {
        display: block;
        margin-top: 4px;
    }
    body.woocommerce-shop .elementor-element-c2ef9b2 li.product .woocommerce-loop-product__title {
        min-height: 0;
    }
}
