/* MANA Product */
:root { --mp-accent: #823747; --mp-text: #2B211E; --mp-muted: #82766F; --mp-line: #E8DED4; --mp-ease: cubic-bezier(.22, .61, .36, 1); }

/* ---------- Variation buttons ---------- */
.mp-has-sw { position: relative; }
.mp-has-sw > select { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; inset-inline-start: 0; top: 0; }
.mp-sws { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-sw {
	all: unset; box-sizing: border-box; cursor: pointer; min-width: 48px; height: 44px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--mp-line); border-radius: 8px; background: #fff; color: var(--mp-text);
	font-size: 14px; font-weight: 500; transition: all .2s var(--mp-ease);
}
.mp-sw:hover { border-color: var(--mp-text); }
.mp-sw:focus-visible { outline: 2px solid var(--mp-accent); outline-offset: 2px; }
.mp-sw.is-on { background: var(--mp-text); border-color: var(--mp-text); color: #fff; }
.mp-sw.is-off { opacity: .4; text-decoration: line-through; }
.mp-sws--color .mp-sw { min-width: 0; width: 40px; height: 40px; padding: 0; border-radius: 50%; border-color: transparent; background: none; }
.mp-sw-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 33, 30, .14); }
.mp-sws--color .mp-sw.is-on { background: none; box-shadow: 0 0 0 1.5px var(--mp-accent); }
.mp-sws--color .mp-sw.is-off { text-decoration: none; }
.mp-sws--color .mp-sw.is-off .mp-sw-dot { opacity: .35; }
.mp-sw-current { margin-top: 8px; font-size: 13px; color: var(--mp-muted); min-height: 1em; }

/* variations table → clean stacked layout */
.elementor-widget-woocommerce-product-add-to-cart table.variations,
.elementor-widget-woocommerce-product-add-to-cart table.variations tbody,
.elementor-widget-woocommerce-product-add-to-cart table.variations tr,
.elementor-widget-woocommerce-product-add-to-cart table.variations th,
.elementor-widget-woocommerce-product-add-to-cart table.variations td { display: block; border: 0; padding: 0; background: none; text-align: start; }
.elementor-widget-woocommerce-product-add-to-cart table.variations tr { margin-bottom: 18px; }
.elementor-widget-woocommerce-product-add-to-cart table.variations th.label { margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.elementor-widget-woocommerce-product-add-to-cart .reset_variations { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--mp-muted); }
.mp-flash { animation: mp-flash 1s var(--mp-ease); border-radius: 8px; }
@keyframes mp-flash { 0%, 100% { box-shadow: 0 0 0 0 rgba(130, 55, 71, 0); } 30% { box-shadow: 0 0 0 6px rgba(130, 55, 71, .18); } }

/* ---------- Size guide table ---------- */
.mp-guide { --mp-head-bg: #2B211E; --mp-head-text: #fff; --mp-row-alt: #F7F3ED; --mp-line: #E8DED4; }
.mp-guide-scroll { overflow-x: auto; border: 1px solid var(--mp-line); border-radius: 10px; }
.mp-guide table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: center; margin: 0; }
.mp-guide thead th { background: var(--mp-head-bg); color: var(--mp-head-text); font-weight: 600; padding: 12px 10px; white-space: nowrap; border: 0; }
.mp-guide tbody th, .mp-guide tbody td { padding: 11px 10px; border: 0; border-top: 1px solid var(--mp-line); }
.mp-guide tbody th { font-weight: 700; }
.mp-guide tbody tr:nth-child(even) { background: var(--mp-row-alt); }
.mp-guide tbody tr:hover { background: rgba(130, 55, 71, .06); }
.mp-guide-note { margin: 12px 0 0; font-size: 13px; color: var(--mp-muted); line-height: 1.9; }

/* ---------- Sticky add to cart ---------- */
.mp-satc {
	--mp-satc-bg: #fff;
	position: fixed; z-index: 9990; inset: auto 0 0 0; display: flex; align-items: center; gap: 12px;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--mp-satc-bg);
	box-shadow: 0 -10px 30px -16px rgba(43, 33, 30, .35); border-top: 1px solid var(--mp-line);
	transform: translateY(110%); transition: transform .35s var(--mp-ease); visibility: hidden;
}
.mp-satc.is-visible { transform: none; visibility: visible; }
.mp-satc-info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.mp-satc-img { width: 44px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mp-satc-txt { display: flex; flex-direction: column; min-width: 0; }
.mp-satc-title { font-size: 13px; color: var(--mp-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mp-satc-price { font-size: 13px; font-weight: 700; color: var(--mp-accent); }
.mp-satc-price del { color: var(--mp-muted); font-weight: 400; font-size: 11px; }
.mp-satc-price ins { text-decoration: none; }
.mp-satc-btn {
	border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; white-space: nowrap;
	background: var(--mp-accent); color: #fff; border-radius: 40px; padding: 12px 20px; min-height: 46px;
}
.mp-satc-btn:disabled { background: var(--mp-muted); cursor: not-allowed; }
@media (min-width: 768px) { html:not(.mp-satc-all):not(.mp-satc-tablet) .mp-satc { display: none; } }
@media (min-width: 1025px) { html.mp-satc-tablet .mp-satc { display: none; } }
html.mp-satc-open .elementor-location-footer { padding-bottom: 80px; }
.mp-satc-editor { padding: 12px; border: 1px dashed #c9bcb0; border-radius: 8px; font-size: 13px; color: #82766F; text-align: center; }
