/* ModusTech product page. Brand: teal #00A6B2 (dark #008A94), navy #1A1A2E, font Jost (set by the site). */
:root {
	--mt-teal: #00A6B2;
	--mt-teal-dark: #008A94;
	--mt-navy: #1A1A2E;
	--mt-grey: #F5F5F5;
	--mt-line: rgba(26, 26, 46, .12);
	--mt-header: 112px; /* the site header is fixed; sticky things sit just below it */
}
@media (max-width: 767px) { :root { --mt-header: 84px; } }

html { scroll-behavior: smooth; }

/* ---------- Hero ---------- */
.mt-hero { align-items: flex-start; }
.mt-hero__media .woocommerce-product-gallery { background: var(--mt-grey); border-radius: 24px; padding: 20px; }
.mt-hero__media .flex-viewport, .mt-hero__media .woocommerce-product-gallery__image img { border-radius: 16px; }
.mt-hero__media .flex-control-thumbs { display: flex; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.mt-hero__media .flex-control-thumbs li { width: 72px; flex: none; }
.mt-hero__media .flex-control-thumbs img { border: 2px solid transparent; border-radius: 12px; background: #fff; opacity: .7; }
.mt-hero__media .flex-control-thumbs img.flex-active, .mt-hero__media .flex-control-thumbs img:hover { border-color: var(--mt-teal); opacity: 1; }

.mt-hero__buy { scroll-margin-top: calc(var(--mt-header) + 16px); }
.mt-hero__buy .elementor-heading-title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.12; font-weight: 600; color: var(--mt-navy); margin: 0; }
.mt-hero__buy .price { font-size: 30px; font-weight: 600; color: var(--mt-navy); }
.mt-hero__buy .price del { font-size: 18px; font-weight: 400; opacity: .55; margin-right: 8px; text-decoration-thickness: 1px; }
.mt-hero__buy .price ins { text-decoration: none; }

.mt-hero__buy .lwp-shortcode-title { font-size: 14px; font-weight: 600; margin: 8px 0 6px; color: var(--mt-navy); }
.mt-hero__buy select { width: 100%; max-width: 100%; padding: 12px 14px; border: 1px solid var(--mt-line); border-radius: 12px; background: #fff; font-size: 16px; }

.mt-hero__buy table.variations { border: 0; margin: 4px 0 8px; }
.mt-hero__buy table.variations th, .mt-hero__buy table.variations td { border: 0; padding: 4px 0; background: none; }
.mt-hero__buy table.variations th { font-size: 14px; font-weight: 600; padding-right: 14px; }
.mt-hero__buy .cfvsw-swatch-inner, .mt-hero__buy .cfvsw-swatches-option { min-width: 64px; }
.mt-hero__buy .cfvsw-swatches-option { border: 1.5px solid var(--mt-line); border-radius: 12px; padding: 10px 16px; font-weight: 600; font-size: 15px; background: #fff; }
.mt-hero__buy .cfvsw-swatches-option.cfvsw-selected-swatch { border-color: var(--mt-teal); box-shadow: 0 0 0 2px rgba(0, 166, 178, .25); }

.mt-hero__buy form.cart:not(.variations_form), .mt-hero__buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.mt-hero__buy .quantity input.qty { height: 100%; min-height: 52px; width: 72px; border: 1.5px solid var(--mt-line); border-radius: 999px; text-align: center; font-size: 16px; }
.mt-hero__buy .single_add_to_cart_button { flex: 1 1 180px; min-height: 52px; border: 0; border-radius: 999px; background: var(--mt-teal); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .02em; text-transform: none; transition: background .2s, transform .1s; }
.mt-hero__buy .single_add_to_cart_button:hover { background: var(--mt-teal-dark); }
.mt-hero__buy .single_add_to_cart_button:active { transform: translateY(1px); }
.mt-hero__buy .single_add_to_cart_button.disabled, .mt-hero__buy .single_add_to_cart_button:disabled { background: #cfd3d6; color: #fff; opacity: 1; }
.mt-hero__buy .wc-buy-now-btn { background: var(--mt-navy); }
.mt-hero__buy .wc-buy-now-btn:hover { background: #2a2a47; }
.mt-hero__buy .stock { font-weight: 600; margin: 4px 0; }

/* ---------- Menu (sticks under the fixed site header) ---------- */
.elementor-widget-shortcode:has(.mt-nav) { position: sticky; top: var(--mt-header); z-index: 40; }
.mt-nav { background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mt-line); }
.mt-nav ul { display: flex; gap: 6px; margin: 0 auto; padding: 0 20px; max-width: 1100px; list-style: none; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.mt-nav ul::-webkit-scrollbar { display: none; }
.mt-nav a { display: block; padding: 16px 14px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--mt-navy); border-bottom: 3px solid transparent; }
.mt-nav a:hover { color: var(--mt-teal-dark); }
.mt-nav a.is-active { border-bottom-color: var(--mt-teal); color: var(--mt-teal-dark); }

/* ---------- Sections ---------- */
.mt-section { padding: 72px 20px; scroll-margin-top: calc(var(--mt-header) + 56px); }
.mt-section-inner { max-width: 1100px; margin: 0 auto; }
.mt-section-title { margin: 0 0 28px; font-size: clamp(26px, 3vw, 36px); font-weight: 600; color: var(--mt-navy); }
.mt-section-title::after { content: ""; display: block; width: 48px; height: 4px; margin-top: 12px; border-radius: 4px; background: var(--mt-teal); }
.mt-section-shade { background: var(--mt-grey); }
@media (max-width: 767px) { .mt-section { padding: 44px 16px; } }

/* Feature images: full-width picture blocks */
.mt-features { display: flex; flex-direction: column; gap: 0; scroll-margin-top: calc(var(--mt-header) + 56px); background: #fff; }
.mt-feature { display: block; }
.mt-feature img { display: block; width: 100%; height: auto; }

/* Lists */
.mt-list { margin: 0; padding: 0; list-style: none; }
.mt-list li { position: relative; padding: 6px 0 6px 28px; line-height: 1.45; }
.mt-list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 11px; border: solid var(--mt-teal); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* "Works with" and "In the box" as tiles */
.mt-compat, .mt-box { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.mt-compat li, .mt-box li { padding: 18px 18px 18px 48px; background: var(--mt-grey); border-radius: 16px; font-weight: 500; }
.mt-compat li::before, .mt-box li::before { left: 20px; top: 22px; }
.mt-section-shade .mt-compat li, .mt-section-shade .mt-box li { background: #fff; }

/* Specs */
.mt-specs { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--mt-line); }
.mt-specs th, .mt-specs td { padding: 15px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--mt-line); }
.mt-specs tr:last-child th, .mt-specs tr:last-child td { border-bottom: 0; }
.mt-specs tr:nth-child(even) { background: #fafafa; }
.mt-specs th { width: 38%; font-weight: 600; color: var(--mt-navy); }
@media (max-width: 767px) { .mt-specs th, .mt-specs td { padding: 12px 14px; } .mt-specs th { width: 42%; } }

/* Comparison */
.mt-compare-scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--mt-line); background: #fff; }
.mt-compare { width: 100%; min-width: 560px; border-collapse: collapse; }
.mt-compare th, .mt-compare td { padding: 16px; text-align: center; border-bottom: 1px solid var(--mt-line); vertical-align: middle; }
.mt-compare tbody th { text-align: left; font-weight: 600; width: 22%; }
.mt-compare thead th { vertical-align: bottom; }
.mt-compare-img img { width: 96px; height: 96px; object-fit: contain; display: block; margin: 0 auto 8px; }
.mt-compare-name { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.mt-compare-tag { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--mt-teal); color: #fff; font-size: 12px; font-weight: 600; }
.mt-compare .mt-compare-this { background: rgba(0, 166, 178, .07); }
.mt-compare tr:last-child td, .mt-compare tr:last-child th { border-bottom: 0; }
.mt-compare-link { display: inline-block; padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--mt-navy); color: var(--mt-navy); font-weight: 600; text-decoration: none; }
.mt-compare-link:hover { background: var(--mt-navy); color: #fff; }

/* FAQ */
.mt-faq-group { margin: 32px 0 10px; font-size: 1.05em; font-weight: 600; color: var(--mt-teal-dark); text-transform: uppercase; letter-spacing: .06em; }
.mt-faq-group:first-child { margin-top: 0; }
.mt-faq-item { background: #fff; border: 1px solid var(--mt-line); border-radius: 14px; margin-bottom: 10px; }
.mt-faq-item summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; list-style: none; color: var(--mt-navy); }
.mt-faq-item summary::-webkit-details-marker { display: none; }
.mt-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5em; font-weight: 400; color: var(--mt-teal); }
.mt-faq-item[open] summary::after { content: "\2212"; }
.mt-faq-answer { padding: 0 20px 18px; line-height: 1.6; }
.mt-faq-answer p { margin: 0 0 .6em; }

/* Reviews */
.mt-reviews .woocommerce-Reviews-title { display: none; }
.mt-reviews #reply-title, .mt-reviews .comment-reply-title { display: block; font-size: 1.3em; font-weight: 600; line-height: 1.3; margin: 24px 0 12px; text-align: left; }
.mt-reviews #respond, .mt-reviews #review_form, .mt-reviews .comment-form { text-align: left; }
.mt-reviews .comment-form p, .mt-reviews .comment-form-comment, .mt-reviews .comment-form-rating { margin-left: 0; padding-left: 0; float: none; width: 100%; }
.mt-reviews .comment-form-rating label { display: block; margin-bottom: 4px; }
.mt-reviews p.stars span { display: inline-flex; gap: 4px; }
.mt-reviews p.stars a { font-size: 0; width: 30px; height: 30px; line-height: 30px; text-align: center; text-decoration: none; }
.mt-reviews p.stars a::before { content: "\2606"; font-size: 28px; color: #f5a623; }
.mt-reviews p.stars:hover a::before { content: "\2605"; }
.mt-reviews p.stars a:hover ~ a::before { content: "\2606"; }
.mt-reviews p.stars.selected a::before { content: "\2605"; }
.mt-reviews p.stars.selected a.active ~ a::before { content: "\2606"; }
.mt-reviews .comment-form-comment textarea { width: 100%; max-width: 640px; border-radius: 12px; border: 1px solid var(--mt-line); padding: 12px; }
.mt-reviews input[type=submit], .mt-reviews .submit { border-radius: 999px; background: var(--mt-teal); color: #fff; border: 0; padding: 14px 32px; font-weight: 600; }

/* Trust line */
.mt-trust { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; font-size: .9em; }
.mt-trust li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--mt-grey); color: var(--mt-navy); font-weight: 500; }
.mt-trust svg { color: var(--mt-teal); flex: none; }

/* Sticky buy bar */
.mt-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--mt-line); box-shadow: 0 -6px 24px rgba(26, 26, 46, .08); }
.mt-buybar[hidden] { display: none; }
.mt-buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1100px; margin: 0 auto; padding: 12px 20px; }
.mt-buybar__info { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.mt-buybar__info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mt-navy); }
.mt-buybar__info span { font-size: .95em; }
.mt-buybar__btn { flex: none; padding: 13px 30px; border: 0; border-radius: 999px; background: var(--mt-teal); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; }
.mt-buybar__btn:hover { background: var(--mt-teal-dark); }
@media (max-width: 767px) { .mt-buybar__inner { padding: 10px 14px; } .mt-buybar__info strong { max-width: 46vw; } .mt-buybar__btn { padding: 12px 20px; } }

/* ---------- Fixes found in browser testing ---------- */
/* Wide content (comparison table) must scroll inside its own box, never widen the page. */
.elementor-widget-shortcode:has(.mt-section), .elementor-widget-shortcode:has(.mt-features), .elementor-widget-shortcode:has(.mt-nav) { min-width: 0; max-width: 100%; width: 100%; }
.mt-compare tbody th { min-width: 96px; width: auto; }
.mt-compare thead th:first-child { min-width: 96px; }
@media (max-width: 767px) { .mt-compare-img img { width: 72px; height: 72px; } .mt-compare th, .mt-compare td { padding: 12px 10px; } }
/* WooCommerce positions this notice over the heading. */
.mt-reviews .comment-notes, .mt-reviews .required-field-message { position: static !important; display: block; margin: 0 0 14px; }
/* Belt and braces: nothing inside a section may widen the page. */
.mt-section { overflow-x: clip; }
.mt-compare-scroll { contain: paint; max-width: 100%; }
/* Many gallery photos: thumbnails wrap onto a second row instead of running off the screen. */
.mt-hero__media .flex-control-thumbs { flex-wrap: wrap; }
.mt-hero__media .flex-control-thumbs li { margin: 0; }
.mt-hero__buy table.variations th, .mt-hero__buy table.variations th label { white-space: nowrap; min-width: 64px; }
/* The theme indents lists; our lists align with the rest of the buy box. */
.elementor ul.mt-list, .elementor ul.mt-trust { padding-left: 0; margin-left: 0; }
.elementor ul.mt-list li, .elementor ul.mt-trust li { margin-left: 0; }

/* =====================================================================
   Anker-style pass (colour placement and shapes), brand teal + amber.
   White base, near-black text, pale tinted lower page, ONE accent colour
   used only on interactive bits, square-cornered options, flat tables.
   ===================================================================== */
:root { --mt-tint: #F1F7F9; --mt-amber: #F59E0B; }

/* Gallery panel and options: square and thin like Anker */
.mt-hero__media .woocommerce-product-gallery { border-radius: 4px; background: #F5F5F7; }
.mt-hero__media .flex-viewport, .mt-hero__media .woocommerce-product-gallery__image img { border-radius: 0; }
.mt-hero__media .flex-control-thumbs img { border-radius: 2px; border-width: 1px; }
.mt-hero__buy .cfvsw-swatches-option { border: 1px solid #d5d8dc; border-radius: 2px; padding: 12px 18px; font-weight: 500; }
.mt-hero__buy .cfvsw-swatches-option.cfvsw-selected-swatch { border: 2px solid var(--mt-teal); box-shadow: none; padding: 11px 17px; }
.mt-hero__buy select { border-radius: 2px; }
.mt-hero__buy .elementor-heading-title { font-weight: 600; }
.mt-hero__buy .single_add_to_cart_button { border-radius: 999px; }
.mt-trust li { border-radius: 2px; background: #F5F5F7; }

/* Lower page sits on a pale tint; sections are transparent so the tint shows through */
.mt-lower { background: var(--mt-tint); }
.mt-lower .mt-nav { background: #fff; }
.mt-section { background: transparent; padding: 88px 20px; }
.mt-section-shade { background: #fff; }
.mt-section-inner { max-width: 1280px; }
.mt-section-title { text-align: center; font-weight: 500; font-size: clamp(30px, 3.6vw, 46px); margin: 0 0 40px; }
.mt-section-title::after { display: none; }

/* Feature images: wide, square, generous space between, like Anker's overview blocks */
.mt-features { max-width: 1400px; margin: 0 auto; padding: 56px 20px 24px; gap: 40px; background: transparent; }
.mt-feature img { border-radius: 0; }
@media (max-width: 767px) { .mt-features { padding: 28px 12px 8px; gap: 20px; } .mt-section { padding: 48px 16px; } }

/* Tiles */
.mt-compat li, .mt-box li { border-radius: 4px; background: #fff; border: 1px solid rgba(26, 26, 46, .08); }
.mt-section-shade .mt-compat li, .mt-section-shade .mt-box li { background: var(--mt-tint); }

/* Specs: flat rows with thin lines, bold labels, light values */
.mt-specs { border: 0; border-radius: 0; background: transparent; }
.mt-specs th, .mt-specs td { padding: 20px 8px; }
.mt-specs th { font-weight: 600; width: 34%; }
.mt-specs td { font-weight: 300; }
.mt-specs tr:nth-child(even) { background: transparent; }

/* Comparison: no card, "you are viewing" column tinted, teal pill links */
.mt-compare-scroll { border: 0; border-radius: 0; background: transparent; }
.mt-compare th, .mt-compare td { border-bottom: 1px solid rgba(26, 26, 46, .14); }
.mt-compare tbody th { font-weight: 600; }
.mt-compare tbody td { font-weight: 300; }
.mt-compare .mt-compare-this { background: rgba(0, 166, 178, .07); }
.mt-compare-link { background: var(--mt-teal); border-color: var(--mt-teal); color: #fff; padding: 9px 26px; }
.mt-compare-link:hover { background: var(--mt-teal-dark); border-color: var(--mt-teal-dark); }
.mt-compare-tag { background: var(--mt-amber); color: #1A1A2E; border-radius: 2px; }

/* FAQ: flat list with lines instead of cards */
.mt-faq-item { background: transparent; border: 0; border-bottom: 1px solid rgba(26, 26, 46, .14); border-radius: 0; margin: 0; }
.mt-faq-item summary { padding: 22px 48px 22px 0; font-weight: 500; }
.mt-faq-item summary::after { right: 4px; }
.mt-faq-answer { padding: 0 0 22px; font-weight: 300; }
.mt-faq-group { text-transform: none; letter-spacing: 0; font-size: 1.15em; color: var(--mt-navy); margin: 36px 0 4px; }

/* Menu: Anker-like plain tabs */
.mt-nav a { font-weight: 500; }

/* =====================================================================
   Pinned gallery (desktop): the gallery stays on screen while the buy column scrolls,
   then both scroll away together at the end of the hero, as on Anker.
   ===================================================================== */
@media (min-width: 768px) {
	.mt-hero__media { position: sticky; top: calc(var(--mt-header) + 12px); align-self: flex-start; }
}

/* Compact blocks inside the buy column */
.mt-aside { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(26, 26, 46, .12); }
.mt-aside-title { margin: 0 0 10px; font-size: 15px; font-weight: 600; color: var(--mt-navy); }
.mt-aside .mt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-aside .mt-list li { padding: 8px 14px 8px 34px; background: #F5F5F7; border: 0; border-radius: 2px; font-size: 14px; font-weight: 500; }
.mt-aside .mt-list li::before { left: 14px; top: 11px; width: 5px; height: 9px; }

/* Store selector: clear buttons instead of the browser's plain dropdown */
.lwp-shortcode-store-selector.mt-store-enhanced { max-width: none !important; }
.lwp-shortcode-store-selector.mt-store-enhanced select { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lwp-shortcode-store-selector .lwp-shortcode-title { margin: 8px 0 8px; font-size: 14px; font-weight: 600; }
.mt-store { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.mt-store button { flex: 1 1 calc(50% - 8px); min-width: 110px; padding: 12px 14px; border: 1px solid #d5d8dc; border-radius: 2px; background: #fff; color: var(--mt-navy); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.mt-store button:hover { border-color: var(--mt-teal); }
.mt-store button:focus-visible { outline: 2px solid var(--mt-teal); outline-offset: 2px; }
.mt-store button.is-selected { padding: 11px 13px; border: 2px solid var(--mt-teal); background: rgba(0, 166, 178, .06); font-weight: 600; }
.mt-store.is-empty button { border-color: rgba(245, 158, 11, .55); }
@media (min-width: 1100px) { .mt-store button { flex: 1 1 calc(25% - 8px); min-width: 0; } }

/* Store buttons: the theme styles every button (uppercase, tall, letter-spaced); undo that here. */
.mt-store { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mt-store button { flex: none; min-width: 0; min-height: 48px; height: auto; margin: 0; padding: 12px 10px; text-transform: none !important; letter-spacing: 0 !important; line-height: 1.2; white-space: normal; word-break: normal; overflow-wrap: normal; box-shadow: none; text-align: center; border-radius: 2px; }
.mt-store button.is-selected { padding: 11px 9px; }
@media (min-width: 1100px) { .mt-store button { flex: none; } }
.lwp-shortcode-store-selector.mt-store-enhanced, .lwp-shortcode-store-selector.mt-store-enhanced .lwp-selector-form, .lwp-shortcode-store-selector .mt-store { width: 100%; max-width: none !important; box-sizing: border-box; }

/* =====================================================================
   Buy buttons: quantity + wide "Add to basket" on row one, "Buy now" as a clear secondary beneath.
   WooCommerce's squeezed-in "View basket" link is hidden; a confirmation bar replaces it.
   ===================================================================== */
.mt-hero__buy .single_add_to_cart_button, .mt-hero__buy .wc-forward, .mt-hero__buy .button { text-decoration: none !important; }
.mt-hero__buy .added_to_cart { display: none !important; }
.mt-hero__buy .woocommerce-variation-add-to-cart, .mt-hero__buy form.cart:not(.variations_form) { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.mt-hero__buy .quantity { flex: 0 0 auto; margin: 0; }
.mt-hero__buy .single_add_to_cart_button:not(.wc-buy-now-btn) { flex: 1 1 0; min-width: 0; margin: 0; }
.mt-hero__buy .wc-buy-now-btn { flex: 1 1 100%; margin: 0; background: #fff; color: var(--mt-navy); border: 2px solid var(--mt-navy); }
.mt-hero__buy .wc-buy-now-btn:hover { background: var(--mt-navy); color: #fff; }
.mt-hero__buy .wc-buy-now-btn.disabled, .mt-hero__buy .wc-buy-now-btn:disabled { background: #fff; border-color: #cfd3d6; color: #9aa0a6; opacity: 1; }
.mt-hero__buy .single_add_to_cart_button.loading { opacity: .7; }

.mt-added { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 12px; padding: 14px 16px; border: 1px solid rgba(0, 166, 178, .35); border-radius: 2px; background: rgba(0, 166, 178, .07); animation: mtadded .25s ease-out; }
.mt-added__msg { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--mt-navy); }
.mt-added__tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--mt-teal); color: #fff; font-size: 13px; }
.mt-added__links { display: inline-flex; gap: 8px; }
.mt-added a { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; }
.mt-added__view { border: 1.5px solid var(--mt-navy); color: var(--mt-navy); }
.mt-added__view:hover { background: var(--mt-navy); color: #fff; }
.mt-added__go { background: var(--mt-teal); border: 1.5px solid var(--mt-teal); color: #fff; }
.mt-added__go:hover { background: var(--mt-teal-dark); border-color: var(--mt-teal-dark); }
@keyframes mtadded { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mt-added { animation: none; } }
/* Elementor's own stylesheet sets this row to no-wrap; force the intended two-row layout. */
.mt-hero__buy .woocommerce-variation-add-to-cart, .mt-hero__buy form.cart:not(.variations_form) { flex-wrap: wrap !important; gap: 10px !important; }
.mt-hero__buy .single_add_to_cart_button:not(.wc-buy-now-btn) { flex: 1 1 160px !important; min-width: 160px !important; white-space: nowrap; }
.mt-hero__buy .wc-buy-now-btn { flex: 1 1 100% !important; }
.mt-hero__buy .wc-buy-now-btn, .mt-hero__buy .single_add_to_cart_button { margin: 0 !important; }

/* =====================================================================
   Colour swatches fill their whole box and carry the colour name.
   Solid buttons use a slightly deeper teal so white text is easy to read.
   ===================================================================== */
:root { --mt-btn: #008A94; --mt-btn-hover: #00727A; }

.mt-hero__buy .cfvsw-swatches-option.mt-sw-color { position: relative; overflow: hidden; padding: 0 !important; min-width: 108px; height: 46px; border: 1px solid #c9ced3; border-radius: 2px; }
.mt-hero__buy .cfvsw-swatches-option.mt-sw-color .cfvsw-swatch-inner { position: absolute !important; inset: 0; width: auto !important; height: auto !important; border: 0 !important; border-radius: 0 !important; margin: 0 !important; }
.mt-hero__buy .cfvsw-swatches-option.mt-sw-color .mt-sw-name { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 12px; font-size: 14px; font-weight: 600; text-shadow: none; pointer-events: none; }
.mt-hero__buy .cfvsw-swatches-option.mt-sw-color.cfvsw-selected-swatch { border: 2px solid var(--mt-teal); box-shadow: inset 0 0 0 2px #fff; }

/* Solid teal buttons: deeper teal, white text that the theme's link colour cannot override */
.mt-hero__buy .single_add_to_cart_button:not(.wc-buy-now-btn), .mt-buybar__btn, .mt-reviews input[type=submit], .mt-reviews .submit { background: var(--mt-btn) !important; color: #fff !important; }
.mt-hero__buy .single_add_to_cart_button:not(.wc-buy-now-btn):hover, .mt-buybar__btn:hover { background: var(--mt-btn-hover) !important; }
.mt-hero__buy .single_add_to_cart_button.disabled:not(.wc-buy-now-btn), .mt-hero__buy .single_add_to_cart_button:disabled:not(.wc-buy-now-btn) { background: #cfd3d6 !important; }
.mt-added .mt-added__go, .mt-compare-link { background: var(--mt-btn) !important; border-color: var(--mt-btn) !important; color: #fff !important; }
.mt-added .mt-added__go:hover, .mt-compare-link:hover { background: var(--mt-btn-hover) !important; border-color: var(--mt-btn-hover) !important; color: #fff !important; }
.mt-added .mt-added__view { color: var(--mt-navy) !important; background: transparent; }
.mt-added .mt-added__view:hover { background: var(--mt-navy); color: #fff !important; }
.mt-added__tick { background: var(--mt-btn); }

/* =====================================================================
   Interactions: smart sticky bar, save badge, storage guide, reveals, pulse, fly-to-basket
   ===================================================================== */

/* Sticky bar: thumbnail of the chosen option, name + choices, live price, real add button */
.mt-buybar__inner { gap: 14px; }
.mt-buybar__thumb { flex: none; width: 48px; height: 48px; object-fit: contain; border-radius: 4px; background: #F5F5F7; transition: opacity .25s, transform .25s; }
.mt-buybar__thumb.is-swapping { opacity: 0; transform: scale(.85); }
.mt-buybar__info { flex: 1 1 auto; }
.mt-buybar__variant { font-size: 13px; font-weight: 600; color: var(--mt-teal-dark); }
.mt-buybar__price { flex: none; font-weight: 600; color: var(--mt-navy); white-space: nowrap; text-align: right; }
.mt-buybar__price del { opacity: .5; font-weight: 400; margin-right: 4px; }
.mt-buybar__price ins { text-decoration: none; }
.mt-buybar__btn { position: relative; min-width: 150px; transition: background .2s, transform .1s, box-shadow .2s; }
.mt-buybar__btn:not(.is-ready) { background: var(--mt-navy) !important; }
.mt-buybar__btn.is-ready { box-shadow: 0 0 0 0 rgba(0, 138, 148, .5); animation: mtready 2.4s ease-out 1; }
.mt-buybar__btn.is-busy { opacity: .75; pointer-events: none; }
.mt-buybar__btn.is-done { background: #1e8e5a !important; }
@keyframes mtready { 0% { box-shadow: 0 0 0 0 rgba(0, 138, 148, .55); } 70% { box-shadow: 0 0 0 14px rgba(0, 138, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 138, 148, 0); } }
@media (max-width: 767px) {
	.mt-buybar__thumb { width: 40px; height: 40px; }
	.mt-buybar__price { font-size: 14px; }
	.mt-buybar__price del { display: none; }
	.mt-buybar__btn { min-width: 0; padding: 12px 16px; }
	.mt-buybar__info strong { max-width: 30vw; font-size: 13px; }
}

/* Save badge next to the selected option's price (amber is our "deal" colour, like Anker's orange) */
.mt-save { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 2px; background: var(--mt-amber); color: #1A1A2E; font-size: 13px; font-weight: 700; vertical-align: middle; animation: mtpop .35s ease-out; }
@keyframes mtpop { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }

/* Storage guide under the options */
.mt-capacity { margin: 10px 0 6px; padding: 14px 16px; border-radius: 2px; background: #F5F5F7; animation: mtfade .3s ease-out; }
.mt-capacity__title { margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--mt-navy); }
.mt-capacity__list { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.mt-capacity__list li { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--mt-navy); }
.mt-capacity__list svg { color: var(--mt-teal); flex: none; }
.mt-capacity__note { margin-top: 8px; font-size: 12px; color: rgba(26, 26, 46, .6); }
@keyframes mtfade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Scroll reveals (JS adds .mt-reveal only to things that start below the fold) */
.mt-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); will-change: opacity, transform; }
.mt-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .mt-reveal { opacity: 1; transform: none; transition: none; } }

/* Pulse on the group the shopper still has to choose */
.mt-pulse { animation: mtpulse 1.5s ease-out 1; border-radius: 2px; }
@keyframes mtpulse { 0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, .7); } 100% { box-shadow: 0 0 0 18px rgba(245, 158, 11, 0); } }

/* Cart icon bump after the fly-to-basket animation */
.mt-bump { animation: mtbump .6s ease-out; }
@keyframes mtbump { 0% { transform: scale(1); } 30% { transform: scale(1.35); } 60% { transform: scale(.92); } 100% { transform: scale(1); } }

/* The site's WhatsApp bubble would sit on top of the sticky bar's button; lift it while the bar shows. */
.mt-bar-on .wa__btn_popup, .mt-bar-on .wa__popup_chat_box { bottom: 92px !important; transition: bottom .25s ease; }
@media (max-width: 767px) { .mt-bar-on .wa__btn_popup, .mt-bar-on .wa__popup_chat_box { bottom: 84px !important; } }

/* Gallery backdrop echoes the chosen colour (JS sets --mt-sel-colour); falls back to the usual soft grey. */
.mt-hero__media .woocommerce-product-gallery { background: color-mix(in srgb, var(--mt-sel-colour, #F5F5F7) 16%, #F5F5F7); transition: background .6s ease; }
.mt-buybar__thumb { background: color-mix(in srgb, var(--mt-sel-colour, #F5F5F7) 16%, #F5F5F7); }

/* The plain line under a greyed-out Add button */
.mt-hint { margin: 8px 0 0; font-size: 14px; font-weight: 500; color: #8a5a00; }
.mt-hint[hidden] { display: none; }

/* Square feature images become a tidy grid of tiles (Anker-style bento) instead of giant full-width squares. */
.mt-features--tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1180px; }
.mt-features--tiles .mt-feature img { border-radius: 4px; }
@media (max-width: 767px) { .mt-features--tiles { grid-template-columns: 1fr; gap: 12px; } }
.mt-hero__media .woocommerce-product-gallery { background: color-mix(in srgb, var(--mt-sel-colour, #F5F5F7) 9%, #F5F5F7); }
.mt-compare tbody th { white-space: nowrap; min-width: 112px; }

/* Floating "Added to your basket" notice (used when the confirmation in the buy area is out of sight) */
.mt-toast { position: fixed; z-index: 80; left: 50%; bottom: 92px; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; width: min(560px, calc(100vw - 24px)); padding: 14px 16px; border-radius: 4px; background: var(--mt-navy); color: #fff; box-shadow: 0 14px 40px rgba(26, 26, 46, .35); animation: mttoastin .35s cubic-bezier(.2, .8, .2, 1); }
.mt-toast.is-leaving { opacity: 0; transform: translateX(-50%) translateY(10px); transition: opacity .5s, transform .5s; }
.mt-toast__msg { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.mt-toast__tick { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #1e8e5a; color: #fff; font-size: 13px; }
.mt-toast__links { display: inline-flex; gap: 8px; }
.mt-toast a { padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; }
.mt-toast .mt-added__view { border: 1.5px solid rgba(255, 255, 255, .7); color: #fff !important; background: transparent; }
.mt-toast .mt-added__view:hover { background: #fff; color: var(--mt-navy) !important; }
.mt-toast .mt-added__go { background: #fff; border: 1.5px solid #fff; color: var(--mt-navy) !important; }
@keyframes mttoastin { from { opacity: 0; transform: translateX(-50%) translateY(18px); } to { opacity: 1; transform: translateX(-50%); } }
@media (max-width: 767px) { .mt-toast { bottom: 84px; } }
@media (prefers-reduced-motion: reduce) { .mt-toast { animation: none; } }
@media (max-width: 767px) { .mt-toast { bottom: 168px; } }
.mt-buybar__btn, .mt-buybar__btn:hover, .mt-buybar__btn:focus { text-decoration: none !important; }

/* =====================================================================
   Product pages: the site header scrolls away with the page; only our section menu sticks to the top.
   The header container is set to "fixed" in Elementor; on pages that load this file it becomes "absolute",
   which looks identical at the top of the page but no longer follows the shopper down.
   ===================================================================== */
.elementor-location-header [data-settings*='"position":"fixed"'] { position: absolute !important; }
:root { --mt-header: 0px; }
body.admin-bar { --mt-header: 32px; }
@media (max-width: 782px) { body.admin-bar { --mt-header: 46px; } }
@media (max-width: 600px) { body.admin-bar { --mt-header: 0px; } }
.elementor-widget-shortcode:has(.mt-nav) { box-shadow: 0 1px 0 rgba(26, 26, 46, .06); }
@media (max-width: 767px) {
	.mt-nav ul { gap: 0; padding: 0 8px; justify-content: space-between; }
	.mt-nav a { padding: 14px 9px; font-size: 14px; }
}

/* =====================================================================
   Comparison: the table always fits the page (no scroll bar); phones get stacked cards instead.
   ===================================================================== */
.mt-compare-scroll { overflow: visible; contain: none; }
.mt-compare { min-width: 0; table-layout: fixed; }
.mt-compare tbody th, .mt-compare thead th:first-child { width: 130px; min-width: 0; white-space: normal; }
.mt-compare th, .mt-compare td { overflow-wrap: anywhere; }
.mt-compare-name { white-space: normal; }
.mt-compare-cards { display: none; }

@media (max-width: 767px) {
	.mt-compare-scroll { display: none; }
	.mt-compare-cards { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
	.mt-compare-card { margin: 0; padding: 16px; border: 1px solid rgba(26, 26, 46, .1); border-radius: 4px; background: #fff; }
	.mt-compare-card.mt-compare-this { border: 2px solid var(--mt-amber); background: #fff; }
	.mt-compare-card__head { display: flex; align-items: center; gap: 14px; }
	.mt-compare-card .mt-compare-img img { width: 72px; height: 72px; margin: 0; border-radius: 2px; }
	.mt-compare-card .mt-compare-name { font-size: 15px; }
	.mt-compare-card__price { display: block; margin-top: 4px; font-size: 15px; color: var(--mt-navy); }
	.mt-compare-card .mt-compare-tag { margin-top: 6px; font-size: 12px; }
	.mt-compare-card dl { margin: 14px 0 0; }
	.mt-compare-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid rgba(26, 26, 46, .1); font-size: 14px; }
	.mt-compare-card dt { font-weight: 600; color: var(--mt-navy); }
	.mt-compare-card dd { margin: 0; font-weight: 300; text-align: right; }
	.mt-compare-card .mt-compare-link { display: block; margin-top: 12px; padding: 11px 20px; text-align: center; }
}

/* =====================================================================
   Sticky bar on phones: photo | name + price stacked | compact button, clear of the iPhone home bar.
   ===================================================================== */
.mt-buybar { padding-bottom: env(safe-area-inset-bottom); }
@media (max-width: 767px) {
	.mt-buybar__inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "thumb info btn" "thumb price btn"; align-items: center; column-gap: 12px; row-gap: 2px; padding: 10px 12px; }
	.mt-buybar__thumb { grid-area: thumb; }
	.mt-buybar__info { grid-area: info; align-self: end; }
	.mt-buybar__info strong { max-width: none; font-size: 13px; }
	.mt-buybar__variant { font-size: 12px; }
	.mt-buybar__price { grid-area: price; align-self: start; text-align: left; font-size: 14px; }
	.mt-buybar__btn { grid-area: btn; min-width: 0; min-height: 44px; padding: 10px 16px; font-size: 14px; line-height: 1.2; text-transform: none !important; letter-spacing: 0 !important; white-space: nowrap; }
	.mt-bar-on .wa__btn_popup, .mt-bar-on .wa__popup_chat_box { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}
/* Product photos differ in height; align the header cells at the top so the names line up. */
.mt-compare thead th { vertical-align: top; }
/* Phones: the WhatsApp text label covered the price and the sticky bar; keep only the round button. */
@media (max-width: 767px) { .wa__btn_popup_txt { display: none !important; } }
/* The header no longer floats over the page, so the product area starts below it instead of underneath it. */
.e-con.mt-hero { padding-top: 36px !important; }
@media (max-width: 767px) { .e-con.mt-hero { padding-top: 44px !important; } }

/* Options the chosen store cannot sell with the current choice: struck through, faded, still clickable
   (picking one clears the clashing choice, as WooCommerce normally does). The swatch plugin only adds a faint haze. */
.mt-hero__buy .cfvsw-swatches-option.cfvsw-swatches-disabled, .mt-hero__buy .cfvsw-swatches-option.cfvsw-swatches-out-of-stock { position: relative; cursor: not-allowed; border-color: #E6E8EB !important; box-shadow: none !important; }
.mt-hero__buy .cfvsw-swatches-option.cfvsw-swatches-disabled::after, .mt-hero__buy .cfvsw-swatches-option.cfvsw-swatches-out-of-stock::after {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(to top left, transparent calc(50% - .5px), rgba(26, 26, 46, .14) calc(50% - .5px), rgba(26, 26, 46, .14) calc(50% + .5px), transparent calc(50% + .5px));
}
.mt-hero__buy .cfvsw-label-option.cfvsw-swatches-disabled, .mt-hero__buy .cfvsw-label-option.cfvsw-swatches-out-of-stock { background: #FAFBFB !important; color: #B8BDC4 !important; }
.mt-hero__buy .cfvsw-label-option.cfvsw-swatches-disabled *, .mt-hero__buy .cfvsw-label-option.cfvsw-swatches-out-of-stock * { color: #B8BDC4 !important; }
.mt-hero__buy .cfvsw-swatches-option.mt-sw-color.cfvsw-swatches-disabled .cfvsw-swatch-inner, .mt-hero__buy .cfvsw-swatches-option.mt-sw-color.cfvsw-swatches-out-of-stock .cfvsw-swatch-inner { opacity: .28; }
.mt-hero__buy .cfvsw-swatches-option.mt-sw-color.cfvsw-swatches-disabled .mt-sw-name, .mt-hero__buy .cfvsw-swatches-option.mt-sw-color.cfvsw-swatches-out-of-stock .mt-sw-name { color: #8A9099 !important; text-shadow: none !important; font-weight: 500 !important; }
