/* Megapixel theme. Tokens, type and components follow the light design prototype
   (Megapixel-Camera-Store-Website-Light.html). Classes are prefixed mp- so they
   never collide with Astra, WooCommerce or plugin styles. Fonts and colour tokens
   live in blocks.css, which loads first. */

/* ---------- Base (scoped to the theme body so wp-admin is unaffected) ---------- */
body.mp-theme{margin:0;background:var(--mp-bg);color:var(--mp-tx);font:16px/1.55 var(--mp-sans);-webkit-font-smoothing:antialiased;
	/* Astra's global palette, remapped to the brand so Astra/WooCommerce buttons, links and
	   headings (account, cart, checkout, notices) use charcoal and red instead of Astra blue. */
	--ast-global-color-0:var(--mp-red);--ast-global-color-1:var(--mp-red2);--ast-global-color-2:var(--mp-tx);
	--ast-global-color-3:var(--mp-tx2);--ast-global-color-4:#FFFFFF;--ast-global-color-5:var(--mp-bg)}
/* Zero-specificity resets so any component class (buttons, fields) can set its own colour. */
:where(.mp-theme) :where(h1,h2,h3,h4,h5,h6,button,input,select,textarea){font-family:var(--mp-sans);color:inherit}
.mp-theme h1,.mp-theme h2,.mp-theme h3{letter-spacing:-.02em}
.mp-theme a{color:inherit;text-decoration:none}
.mp-theme a:hover{color:var(--mp-bluetx)}
.mp-theme img{max-width:100%;height:auto}
.mp-theme :focus-visible{outline:2px solid var(--mp-bluetx);outline-offset:2px}
.mp-theme #page{overflow-x:clip}
/* In-page links (e.g. "#sell-form") land below the sticky header, and glide unless motion is reduced. */
.mp-blocks [id]{scroll-margin-top:96px}
@media (prefers-reduced-motion:no-preference){html:has(body.mp-theme){scroll-behavior:smooth}}

/* Astra container: same max width and gutters as the header on every template. Astra narrows the
   WooCommerce container and adds a top margin, which pushed the shop out of line with the header. */
.mp-theme .ast-container,.mp-theme #content>.ast-container{max-width:calc(var(--mp-max) + var(--mp-gutter)*2);padding-left:var(--mp-gutter);padding-right:var(--mp-gutter)}
.mp-theme #primary{margin-top:28px;margin-bottom:0}
.mp-theme.woocommerce-page:not(.page) #primary,.mp-theme.mp-full #primary{margin-top:0}
/* Links inside written page content stay visibly links. */
.mp-theme .entry-content :is(p,li):not(.wp-block-cover *):not(.mp-head-link):not(.woocommerce-MyAccount-navigation *)>a:not([class]){color:var(--mp-bluetx);text-decoration:underline;text-underline-offset:2px}
.mp-theme.mp-full .site-content>.ast-container,.mp-theme.mp-full #content>.ast-container{max-width:none;padding:0;display:block}
.mp-theme .site-content{background:var(--mp-bg)}
.mp-theme.ast-plain-container .site-content>.ast-container{padding-top:0}

/* ---------- Utilities ---------- */
.mp-wrap{max-width:var(--mp-max);margin:0 auto;padding:0 var(--mp-gutter);box-sizing:content-box}
.mp-mono{font-family:var(--mp-mono)}
.mp-muted{color:var(--mp-mut)}
.mp-red{color:var(--mp-red)}.mp-redtx{color:var(--mp-redtx)}.mp-blue{color:var(--mp-bluetx)}
.mp-center{text-align:center;padding-top:28px}
.mp-kicker{font-family:var(--mp-mono);font-size:var(--mp-fs-label);font-weight:500;line-height:1.3;letter-spacing:var(--mp-track-label);text-transform:uppercase;color:var(--mp-bluetx)}
.mp-h1{font-size:var(--mp-fs-display);line-height:.95;letter-spacing:-.045em;font-weight:700;margin:0}
.mp-h2{display:block;font-size:var(--mp-fs-h2);line-height:var(--mp-lh-head);letter-spacing:-.03em;font-weight:700;margin:0}
.mp-h2-sm{font-size:clamp(28px,3vw,36px)}
.mp-h3{display:block;font-size:22px;font-weight:700;letter-spacing:-.02em;margin:0}
.mp-link{color:var(--mp-bluetx)!important;font-weight:600}
.mp-panel{background:var(--mp-s1);border:1px solid var(--mp-line);border-radius:20px}
.mp-g2{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr))}
.mp-btn-row{display:flex;gap:10px;flex-wrap:wrap}
.mp-sec{padding-top:88px}
.mp-sec-sm{padding-top:40px}
.mp-sec-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.mp-sec-head>div:first-child{display:flex;flex-direction:column;gap:10px}

/* Tags */
.mp-tag{display:inline-flex;align-items:center;gap:6px;font-family:var(--mp-mono);font-size:11px;font-weight:600;padding:5px 9px;border-radius:6px;line-height:1;letter-spacing:.02em;white-space:nowrap}
.mp-t-dim{background:#F0F1F3;color:var(--mp-tx);border:1px solid var(--mp-line)}
.mp-t-ok{background:#E6F4EA;color:var(--mp-ok)}
.mp-t-glass{background:rgba(14,15,17,.6);color:#CFE0FF;align-self:flex-start}

/* Buttons */
.mp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:12px;font-weight:700;font-size:15px;line-height:1.2;border:1px solid transparent;background:none;cursor:pointer;transition:background .15s,border-color .15s;text-align:center}
.mp-sm{min-height:40px;padding:0 14px;font-size:13px;border-radius:10px}
.mp-b-red,.mp-theme a.mp-b-red{background:var(--mp-red);color:#fff}
.mp-b-red:hover,.mp-theme a.mp-b-red:hover{background:var(--mp-red2);color:#fff}
.mp-b-blue{background:var(--mp-blue);color:#fff}
.mp-b-blue:hover{background:var(--mp-blue2);color:#fff}
.mp-b-line{border-color:#C9CCD2;color:var(--mp-tx)}
.mp-b-line:hover{border-color:var(--mp-bluetx);color:var(--mp-tx)}
.mp-b-light,.mp-theme a.mp-b-light{background:var(--mp-tx);color:#fff}
.mp-b-light:hover,.mp-theme a.mp-b-light:hover{background:#2B2F36;color:#fff}
.mp-b-wa,.mp-theme a.mp-b-wa{background:#E7F8EE;color:#0B5D2A}
.mp-b-wa:hover,.mp-theme a.mp-b-wa:hover{background:#D5F2E1;color:#0B5D2A}
.mp-icon-btn{width:44px;height:44px;border-radius:10px;border:1px solid var(--mp-line);background:transparent;display:inline-grid;place-items:center;color:var(--mp-tx);position:relative;flex:none;padding:0;cursor:pointer}
.mp-icon-btn:hover{border-color:var(--mp-bluetx);color:var(--mp-tx)}
.mp-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:99px;background:var(--mp-red);color:#fff;font:600 11px/20px var(--mp-mono);text-align:center}
.mp-count[hidden]{display:none}

/* Forms */
.mp-field{display:flex;flex-direction:column;gap:6px;font-family:var(--mp-mono);font-size:12px;color:var(--mp-mut);letter-spacing:.04em}
.mp-inp,.mp-theme .mp-inp{width:100%;min-height:48px;background:var(--mp-bg);border:1px solid #D0D3D9;border-radius:10px;padding:0 14px;font:15px var(--mp-sans);color:var(--mp-tx);box-sizing:border-box}

/* ---------- Header ---------- */
.mp-ann{background:#fff;border-bottom:1px solid var(--mp-line2);font-family:var(--mp-mono);font-size:12px;color:var(--mp-mut)}
.mp-ann .mp-wrap{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-top:8px;padding-bottom:8px}
.mp-header{position:sticky;top:0;z-index:40;background:rgba(246,246,244,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--mp-line2)}
.admin-bar .mp-header{top:32px}
@media (max-width:782px){.admin-bar .mp-header{top:0}}
.mp-header-row{display:flex;align-items:center;gap:18px;min-height:72px}
.mp-logo{display:flex;align-items:center;gap:10px;font-weight:700;font-size:20px;letter-spacing:-.02em;white-space:nowrap;color:var(--mp-tx)}
.mp-logo svg{flex:none}
.mp-logo-img img{display:block;max-height:44px;width:auto}
.mp-logo small{font-family:var(--mp-mono);font-size:10px;color:var(--mp-mut);font-weight:500;letter-spacing:.06em;display:block;line-height:1}
.mp-mainnav{flex:1;display:flex;justify-content:center;min-width:0}
.mp-menu{display:flex;list-style:none;margin:0;padding:0;flex-wrap:nowrap}
.mp-menu a{display:block;font-size:14px;font-weight:500;padding:10px;border-radius:8px;white-space:nowrap}
.mp-menu .current-menu-item>a{color:var(--mp-bluetx)}
.mp-hdr-act{display:flex;gap:8px;align-items:center;margin-left:auto}
.mp-theme .mp-cart-btn{background:var(--mp-tx);color:#fff;border-color:var(--mp-tx)}
.mp-theme .mp-cart-btn:hover{color:#fff;background:#2B2F36}
.mp-burger{display:none}
@media (max-width:1080px){.mp-mainnav{display:none}.mp-burger{display:inline-grid}.mp-hide-m{display:none}}

.mp-mnav{position:fixed;inset:0;z-index:60;background:var(--mp-bg);padding:20px;overflow:auto}
.mp-mnav[hidden]{display:none}
.mp-mnav-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.mp-mmenu{list-style:none;margin:0;padding:0}
.mp-mmenu a{display:block;padding:14px 4px;font-size:20px;font-weight:600;border-bottom:1px solid var(--mp-line2)}

.mp-search{position:fixed;inset:0;z-index:90;background:rgba(246,246,244,.98);padding:24px}
.mp-search[hidden]{display:none}
.mp-search-box{max-width:820px;margin:40px auto 0;display:flex;flex-direction:column;gap:18px}
.mp-search-top{display:flex;justify-content:space-between;align-items:center}
.mp-search form{display:flex;gap:10px;flex-wrap:wrap}
.mp-search .mp-inp{flex:1 1 260px;min-height:64px;font-size:22px;border-radius:14px}
.mp-search .mp-btn{min-height:64px}
body.mp-locked{overflow:hidden}

/* ---------- Footer ---------- */
.mp-footer{border-top:1px solid var(--mp-line2);margin-top:96px;background:var(--mp-bg)}
/* Four columns: store details (a little wider) and three link groups, all starting on the same line. */
.mp-footer-cols{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:40px 48px;padding:64px 0 48px;align-items:start}
.mp-footer-store .mp-logo{margin-bottom:18px}
.mp-footer-contact{font-style:normal;display:flex;flex-direction:column;gap:6px;font-size:var(--mp-fs-sm);line-height:1.5;color:var(--mp-tx2)}
.mp-footer-addr{color:var(--mp-mut);margin-bottom:6px}
.mp-footer-contact a{color:var(--mp-tx2);align-self:flex-start}
.mp-footer-contact a:hover,.mp-footer-links a:hover{color:var(--mp-bluetx)}
.mp-footer-tel{white-space:nowrap;font-weight:600}
.mp-footer-h{font-family:var(--mp-mono);font-size:var(--mp-fs-label);color:var(--mp-bluetx);letter-spacing:var(--mp-track-label);line-height:1.3;margin:0 0 16px;font-weight:500;text-transform:uppercase}
.mp-footer ul{list-style:none;margin:0;padding:0}
.mp-footer-links{display:flex;flex-direction:column;gap:2px}
.mp-footer-links a{display:inline-block;font-size:15px;line-height:1.4;color:var(--mp-tx2);padding:5px 0}
.mp-footer-base{font-size:13px;color:var(--mp-mut);padding:20px 0 32px;display:flex;justify-content:space-between;align-items:center;gap:12px 24px;flex-wrap:wrap;border-top:1px solid var(--mp-line2)}
.mp-footer-legal{display:flex;gap:8px 20px;flex-wrap:wrap}
.mp-footer-legal a{color:var(--mp-mut)}
@media (max-width:1024px){.mp-footer-cols{grid-template-columns:repeat(3,minmax(0,1fr));gap:36px 32px}.mp-footer-store{grid-column:1/-1}}
@media (max-width:640px){.mp-footer-cols{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px;padding:48px 0 36px}}
@media (max-width:359px){.mp-footer-cols{grid-template-columns:minmax(0,1fr)}}

/* ---------- Small screens (shared) ---------- */
@media (max-width:720px){
	:root{--mp-gutter:16px}
	.mp-ann-store{display:none}
	.mp-sec{padding-top:64px}
	.mp-logo small{display:none}
}

/* ---------- Product cards (all loops) ---------- */
.mp-theme ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));gap:16px;margin:0!important;padding:0;list-style:none}
.mp-theme ul.products::before,.mp-theme ul.products::after{display:none!important}
.mp-theme ul.products li.product.mp-pc{width:auto!important;margin:0!important;float:none!important;padding:0}
.mp-pc{background:var(--mp-s1);border:1px solid var(--mp-line);border-radius:var(--mp-r);overflow:hidden;display:flex!important;flex-direction:column;position:relative;transition:border-color .15s,transform .15s;box-shadow:0 1px 2px rgba(18,20,23,.04)}
.mp-pc:hover{border-color:#C9CCD2;transform:translateY(-2px)}

/* ---------- Shop archive ---------- */
.mp-page-hero{padding-top:28px;display:flex;flex-direction:column;gap:16px;max-width:860px}
.mp-archive-title{font-size:clamp(36px,5vw,56px)}
.mp-archive-desc p{margin:0}
.mp-tabs{display:flex;gap:8px;flex-wrap:wrap}
.mp-tabs a{min-height:40px;padding:0 16px;border-radius:10px;border:1px solid #D0D3D9;background:var(--mp-s1);font-size:13px;font-weight:600;display:inline-flex;align-items:center}
.mp-tabs a.is-on{background:var(--mp-tx);color:#fff;border-color:var(--mp-tx)}
.mp-shop{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;align-items:start;padding-top:28px}
.mp-filter-toggle{display:none}
.mp-rail form{display:flex;flex-direction:column;gap:16px}
.mp-rail-note{font-size:13px;margin:14px 0 0}
.mp-clear{font-size:13px}
.mp-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.mp-toolbar .woocommerce-notices-wrapper{flex-basis:100%}
.mp-theme .mp-toolbar .woocommerce-result-count{margin:0;font:13px var(--mp-mono);color:var(--mp-mut)}
.mp-theme .mp-toolbar .woocommerce-ordering{margin:0}
.mp-theme .mp-toolbar .woocommerce-ordering select{min-height:40px;border-radius:10px;border:1px solid #D0D3D9;background:var(--mp-s1);padding:0 12px}
.mp-empty{padding:48px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}
.mp-empty .mp-btn-row{justify-content:center}
.mp-empty .woocommerce-info{margin:0}
.mp-theme .woocommerce-pagination{margin-top:32px}
@media (max-width:900px){
	.mp-shop{grid-template-columns:1fr}
	.mp-filter-toggle{display:inline-flex;justify-self:start}
	.mp-rail{display:none}
	.mp-rail.is-open{display:block}
}


/* ---------- WooCommerce pages (cart, checkout, account): tokens only, layout untouched ---------- */
.mp-theme .woocommerce-breadcrumb{font:12px var(--mp-mono);color:var(--mp-mut);padding-top:28px;margin:0}
.mp-theme .woocommerce-breadcrumb a{color:var(--mp-mut)}
.mp-theme .woocommerce-message,.mp-theme .woocommerce-info,.mp-theme .woocommerce-error{border-radius:12px;border-top-color:var(--mp-bluetx)}
.mp-theme .woocommerce a.button,.mp-theme .woocommerce button.button,.mp-theme .woocommerce input.button,
.mp-theme .wc-block-components-button:not(.is-link),.mp-theme .wp-element-button{border-radius:12px;font-family:var(--mp-sans);font-weight:700}
.mp-theme .woocommerce a.button.alt,.mp-theme .woocommerce button.button.alt,
.mp-theme .wc-block-cart__submit-button,.mp-theme .wc-block-components-checkout-place-order-button{background:var(--mp-red);color:#fff}
.mp-theme .woocommerce a.button.alt:hover,.mp-theme .woocommerce button.button.alt:hover,
.mp-theme .wc-block-cart__submit-button:hover,.mp-theme .wc-block-components-checkout-place-order-button:hover{background:var(--mp-red2);color:#fff}
.mp-theme .entry-title{letter-spacing:-.03em}

/* Page titles on WooCommerce/standard pages match the shop heading style. */
.mp-theme.page:not(.mp-full) .entry-title{font-size:var(--mp-fs-h1);line-height:var(--mp-lh-head);font-weight:700;margin-bottom:24px}

/* ---------- Written pages (Privacy, policies and other standard-template pages) ----------
   Astra centres each content block at 1200px, which indented the text away from the title and made
   lines about 150 characters long. Text now lines up with the title at a readable width; wide blocks
   (groups, columns, covers, cart/checkout) keep the full width. Full-width designed pages are unaffected. */
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content>:is(p,ul,ol,h2,h3,h4,h5,h6,blockquote,.wp-block-table,table,dl,hr,.wp-block-separator){margin-left:0!important;margin-right:0!important;max-width:72ch}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content>:is(p,ul,ol){font-size:var(--mp-fs-body);line-height:var(--mp-lh-body);margin-top:0;margin-bottom:1em;color:var(--mp-tx2)}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content>:is(ul,ol){padding-left:1.4em}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content li{margin-bottom:.35em}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content>h2{font-size:clamp(22px,2.2vw,28px);line-height:1.2;letter-spacing:-.02em;margin-top:2em;margin-bottom:.6em}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content>h3{font-size:var(--mp-fs-h3);line-height:1.25;margin-top:1.6em;margin-bottom:.5em}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-content>h4{font-size:var(--mp-fs-h4);line-height:1.3;margin-top:1.4em;margin-bottom:.4em}
.mp-theme.page:not(.mp-full):not(.woocommerce-page) .entry-header{max-width:72ch}

/* ---------- Journal (posts page, category archives, articles) ---------- */
.mp-main{width:100%;min-width:0}
.mp-journal-page .mp-journal-grid{margin-top:36px}
.mp-journal-page .mp-empty{margin-top:36px}
.mp-theme .navigation.pagination{margin-top:40px}
.mp-theme .navigation.pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}
.mp-theme .navigation.pagination .page-numbers{min-width:42px;min-height:42px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #D0D3D9;border-radius:10px;background:var(--mp-s1);font-weight:600;font-size:14px}
.mp-theme .navigation.pagination .page-numbers.current{background:var(--mp-tx);border-color:var(--mp-tx);color:#fff}
/* Astra boxes single posts in a white card; articles use the plain page background and a centred reading column. */
.mp-theme article.mp-article{max-width:760px;margin:0 auto!important;padding:32px 0 0!important;background:transparent!important;border:0;box-shadow:none}
.mp-article-head{display:flex;flex-direction:column;gap:14px;margin-bottom:28px}
.mp-article-meta{margin:0;display:flex;gap:8px 16px;flex-wrap:wrap;font:500 var(--mp-fs-label)/1.3 var(--mp-mono);letter-spacing:.04em;text-transform:uppercase;color:var(--mp-mut)}
.mp-article-meta a{color:var(--mp-bluetx)}
.mp-article-meta .mp-article-cat{color:var(--mp-redtx)}
.mp-article-title{font-size:var(--mp-fs-h1);line-height:var(--mp-lh-head);letter-spacing:-.03em;font-weight:700;margin:0}
.mp-article-lede{margin:0;font-size:19px;line-height:1.5;color:var(--mp-tx2)}
.mp-article-hero{margin:0 0 32px}
.mp-article-hero img{width:100%;border-radius:20px;border:1px solid var(--mp-line);display:block}
.mp-article-body{font-size:17px;line-height:1.7;color:var(--mp-tx2)}
.mp-article-body>*{margin-top:0;margin-bottom:1.1em}
.mp-article-body h2{font-size:clamp(24px,2.4vw,30px);line-height:1.2;color:var(--mp-tx);margin-top:1.8em;margin-bottom:.5em}
.mp-article-body h3{font-size:var(--mp-fs-h3);line-height:1.25;color:var(--mp-tx);margin-top:1.5em;margin-bottom:.4em}
.mp-article-body img{border-radius:14px}
.mp-article-body a{color:var(--mp-bluetx);text-decoration:underline;text-underline-offset:2px}
.mp-article-back{margin:40px 0 0}

/* Classic WooCommerce forms (login, register, lost password, account details, addresses). */
.mp-theme .woocommerce form .input-text,.mp-theme .woocommerce form select,.mp-theme .woocommerce-page form .input-text{min-height:48px;border:1px solid #D0D3D9;border-radius:10px;background:#fff;padding:0 14px;font:15px var(--mp-sans);color:var(--mp-tx)}
.mp-theme .woocommerce form textarea.input-text{padding:12px 14px}
.mp-theme .woocommerce form .input-text:focus{border-color:var(--mp-bluetx);outline:2px solid rgba(31,95,209,.15)}
.mp-theme .woocommerce form .form-row label{font-weight:600;font-size:14px}
.mp-theme .woocommerce :is(form,.woocommerce-MyAccount-content) :is(button.button,a.button,input.button){min-height:48px;padding:0 22px;border-radius:12px;background:var(--mp-tx);color:#fff;border:0;font-weight:700}
.mp-theme .woocommerce :is(form,.woocommerce-MyAccount-content) :is(button.button,a.button):hover{background:#2B2F36;color:#fff}
.mp-theme .woocommerce form .woocommerce-form-login__submit.button,.mp-theme .woocommerce form .woocommerce-form-register__submit.button{background:var(--mp-red);margin-right:12px}
.mp-theme .woocommerce form .woocommerce-form-login__submit.button:hover,.mp-theme .woocommerce form .woocommerce-form-register__submit.button:hover{background:var(--mp-red2)}

/* Account: Astra indents the WooCommerce wrapper; keep it aligned, and keep sign-in readable. */
.mp-theme.woocommerce-account .entry-content>.woocommerce{margin-left:0;margin-right:0}
.mp-theme.woocommerce-account:not(.logged-in) .entry-content>.woocommerce{max-width:520px}
.mp-theme.woocommerce-account:not(.logged-in) .entry-content>.woocommerce:has(#customer_login){max-width:1040px}
.mp-theme .woocommerce form.login,.mp-theme .woocommerce form.register,.mp-theme .woocommerce form.lost_reset_password{background:var(--mp-s1);border:1px solid var(--mp-line);border-radius:20px;padding:28px;margin:16px 0 0}
/* Account menu. Both classes sit on <body>, hence ".mp-theme.woocommerce-account" (no space). */
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation{margin:0 0 24px;padding:0}
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;border:1px solid var(--mp-line);border-radius:16px;overflow:hidden;background:var(--mp-s1)}
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation ul li{margin:0;padding:0;border:0;border-bottom:1px solid var(--mp-line2)}
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child{border-bottom:0}
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation ul li a{display:block;padding:12px 16px;color:var(--mp-tx);text-decoration:none;font-weight:500}
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover{color:var(--mp-redtx);background:var(--mp-well)}
.mp-theme.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a{color:var(--mp-redtx);font-weight:700;box-shadow:inset 3px 0 0 var(--mp-red)}

/* Cart/checkout blocks: never extend past the page gutters (wide alignment clipped them on phones). */
.mp-theme .entry-content>.alignwide,.mp-theme .entry-content>.wp-block-woocommerce-cart,.mp-theme .entry-content>.wp-block-woocommerce-checkout,
.mp-theme.ast-plain-container .entry-content[data-ast-blocks-layout]>.alignwide{margin-left:0;margin-right:0;max-width:100%;width:auto}

/* ---------- Floating buttons: WhatsApp (bottom) and Back to top (above it), never overlapping ----------
   Both clear the phone safe area. On a product page under 761px the sticky purchase bar is about 76px tall, so the stack sits above it. */
.mp-fab-wa{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:calc(16px + env(safe-area-inset-bottom));z-index:50;width:56px;height:56px;border-radius:99px;display:grid;place-items:center;background:#25D366;color:#0E0F11!important;box-shadow:0 10px 24px rgba(18,20,23,.18)}
#ast-scroll-top.ast-scroll-top-icon{position:fixed!important;width:44px!important;height:44px!important;right:max(22px,calc(env(safe-area-inset-right) + 6px))!important;bottom:calc(16px + 56px + 12px + env(safe-area-inset-bottom))!important;z-index:49;padding:0;display:grid;place-items:center}
@media (max-width:760px){
	.mp-has-sticky .mp-fab-wa{bottom:calc(88px + env(safe-area-inset-bottom))}
@media(max-width:767px){.wc-block-components-notices__snackbar{bottom:calc(88px + env(safe-area-inset-bottom))!important}}
	.mp-has-sticky #ast-scroll-top.ast-scroll-top-icon{bottom:calc(88px + 56px + 12px + env(safe-area-inset-bottom))!important}
}

/* ---------- Product card (one component for every product grid) ---------- */
.mp-pc-img{aspect-ratio:1/1;background:#F1F2F4;display:block;position:relative;overflow:hidden}
.mp-pc-img img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:contain;margin:0!important;mix-blend-mode:multiply;transition:transform .25s}
.mp-pc:hover .mp-pc-img img{transform:scale(1.03)}
.mp-pc-badge{position:absolute;left:10px;top:10px;padding:4px 9px;border-radius:6px;background:var(--mp-red);color:#fff;font:600 10.5px/1.2 var(--mp-mono);letter-spacing:.05em;text-transform:uppercase}
.mp-pc-body{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.mp-pc-kicker{font:500 11px/1.3 var(--mp-mono);letter-spacing:.05em;text-transform:uppercase;color:var(--mp-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mp-theme .mp-pc-title{margin:0;padding:0!important;font-size:17px!important;font-weight:700;line-height:1.25;letter-spacing:-.015em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5em}
.mp-theme .mp-pc-title a{color:var(--mp-tx)}
.mp-pc-facts{margin:2px 0 0;display:flex;flex-direction:column;gap:3px;font-size:12.5px}
.mp-pc-facts>div{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid var(--mp-line2,#ECEDEF)}
.mp-pc-facts dt{color:var(--mp-mut);margin:0}
.mp-pc-facts dd{margin:0;font-weight:600;text-align:right;color:var(--mp-tx2)}
.mp-pc-buy{margin-top:auto;padding-top:10px;display:flex;flex-direction:column;gap:4px}
.mp-pc-grade{font:600 10.5px/1.3 var(--mp-mono);letter-spacing:.06em;color:var(--mp-mut)}
.mp-pc-pre{font-style:normal;margin-left:4px;padding:1px 6px;border-radius:99px;background:#FFF4DC;color:#8A5A00;letter-spacing:.03em;text-transform:uppercase}
.mp-theme .mp-pc-price{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;font-size:22px;font-weight:700;letter-spacing:-.025em;color:var(--mp-tx);line-height:1.15}
.mp-pc-price .mpc-pb-price{font-size:22px;font-weight:700;letter-spacing:-.025em}
.mp-pc-price .mpc-pb-was{display:inline-flex;flex-direction:row;align-items:baseline;gap:6px;font-size:12px;color:var(--mp-mut)}
.mp-pc-price .mpc-pb-was del{font:500 13px var(--mp-mono);color:var(--mp-mut)}
.mp-pc-price .mpc-pb-label{display:none}
.mp-pc-price .mpc-pb-save{padding:2px 7px;border-radius:99px;background:#E6F4EA;color:#12602A;font:600 11px/1.4 var(--mp-mono)}
.mp-pc-price .mpc-pb-badge{display:none}
.mp-theme .mp-pc-price.mp-pc-na{font-size:13px;font-weight:500;color:var(--mp-mut);letter-spacing:0}
.mp-pc-foot{display:flex;padding-top:8px}
.mp-theme .mp-pc .button{display:inline-flex;align-items:center;justify-content:center;flex:1 1 auto;min-height:46px;padding:0 16px;border-radius:12px;font-size:14px;font-weight:700;background:var(--mp-red);color:#fff;border:0;margin:0;line-height:1.2;box-shadow:0 8px 18px -12px rgba(214,43,38,.8);transition:background .15s,transform .15s}
.mp-theme .mp-pc .button:hover{background:var(--mp-red2);color:#fff}
.mp-theme .mp-pc .added_to_cart{font-size:12px;color:var(--mp-bluetx);font-weight:600;margin-left:8px;align-self:center}

/* ---------- Shop layout: filter sidebar and a three-card grid ---------- */
.mp-shop{grid-template-columns:270px minmax(0,1fr);gap:32px}
.mp-rail{background:#fff;border:1px solid var(--mp-line);border-radius:18px;padding:20px;position:sticky;top:96px;align-self:start}
.mp-rail::before{content:attr(data-title);display:block;font:700 15px var(--mp-sans);margin-bottom:14px}
.mp-rail form{gap:14px}
.mp-shop ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px}
.mp-theme .mp-tabs a{min-height:42px;padding:0 18px;border-radius:99px}
@media (max-width:1100px){.mp-shop{grid-template-columns:230px minmax(0,1fr);gap:22px}.mp-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:900px){
	.mp-shop{grid-template-columns:minmax(0,1fr);gap:16px}
	.mp-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}
	.mp-rail{position:static;margin-bottom:6px}
	.mp-filter-toggle{min-height:46px}
}
@media (max-width:359px){.mp-shop ul.products{grid-template-columns:minmax(0,1fr)!important}}
@media (max-width:560px){
	.mp-pc-body{padding:10px 11px 12px}
	.mp-theme .mp-pc-title{font-size:14.5px!important}
	.mp-theme .mp-pc-price,.mp-pc-price .mpc-pb-price{font-size:18px}
	.mp-pc-facts{font-size:11.5px}
	.mp-pc-facts>div{flex-direction:column;gap:0}
	.mp-pc-facts dd{text-align:left}
	.mp-theme .mp-pc .button{min-height:44px;font-size:13px;padding:0 8px}
}

/* ---------- Card purchase buttons: two equal buttons (stacked on narrow screens) ---------- */
.mp-pc-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.mp-theme .mp-pc .mp-pc-btn{width:100%;min-width:0;min-height:46px;padding:0 8px;text-align:center;line-height:1.15;white-space:normal;box-sizing:border-box;cursor:pointer}
.mp-theme .mp-pc .mp-pc-btn-alt{background:#fff;color:var(--mp-tx);border:1.5px solid #C9CCD2;box-shadow:none}
.mp-theme .mp-pc .mp-pc-btn-alt:hover{background:#fff;color:var(--mp-tx);border-color:var(--mp-tx)}
.mp-pc-foot:not(.mp-pc-actions) .mp-pc-btn{flex:1 1 auto}
.mp-pc-pre.is-in{background:#E6F4EA;color:#12602A}
@media (max-width:560px){.mp-pc-actions{grid-template-columns:minmax(0,1fr)}}

/* Cards inside a WooCommerce wrapper (homepage product strip) keep the card's own buttons: the account-form rule
   ".woocommerce form button.button" otherwise turned both buttons dark there. Same look as the shop cards. */
.mp-theme .mp-pc form.mp-pc-foot .button.mp-pc-btn{min-height:46px;padding:0 8px;margin:0;border-radius:12px;font-size:14px}
.mp-theme .mp-pc form.mp-pc-foot .button.mp-pc-btn-main{background:var(--mp-red);color:#fff;border:0}
.mp-theme .mp-pc form.mp-pc-foot .button.mp-pc-btn-main:hover{background:var(--mp-red2);color:#fff}
.mp-theme .mp-pc form.mp-pc-foot .button.mp-pc-btn-alt{background:#fff;color:var(--mp-tx);border:1.5px solid #C9CCD2;box-shadow:none}
.mp-theme .mp-pc form.mp-pc-foot .button.mp-pc-btn-alt:hover{background:#fff;color:var(--mp-tx);border-color:var(--mp-tx)}
@media (max-width:560px){.mp-theme .mp-pc form.mp-pc-foot .button.mp-pc-btn{min-height:44px;font-size:13px}}
