/* 20/11 P&P Food: look of mahachaigroup.me, values measured from the original (mc_survey/measure.json).
   21/11 colours from P&P's own logo: navy #2E3192 · orange #F07022 · clover green #5AAE36 (was the original's orange/brown) · card border #F5F5F5 radius 12 · font Poppins + IBM Plex Sans Thai.
   Loaded only when setting pnp_look = mc. */
body.pnp-mc {
  --mc: #2E3192; --mc-d: #22256E; --mc-l: #F07022; --mc-soft: #EEF0FA; --mc-peach: #E2E5F5; --mc-acc: #F07022; --mc-grn: #5AAE36; --mc-ink: #333; --mc-mute: #9d9d9d; --mc-line: #F5F5F5;
  --brand: #2E3192; --primary: #2E3192; --royal: #2E3192; --navy: #22256E; --red: #F07022; --brand-soft: #EEF0FA;
  --font: Poppins, 'IBM Plex Sans Thai', sans-serif; --font-h: Poppins, 'IBM Plex Sans Thai', sans-serif;
  font-family: var(--font); background: #fff; color: var(--mc-ink);
}
body.pnp-mc main { background: #fff; }
body.pnp-mc.mc-pop-open { overflow: hidden; }
.mc-wrap { max-width: 1248px; margin: 0 auto; padding: 0 16px; }

/* ── top strip */
.mc-strip { background: var(--mc); color: #fff; font-size: .8rem; }
.mc-strip .mc-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; }
.mc-at { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-at b { font-weight: 500; }
.mc-chg { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #333; border-radius: 6px; padding: 4px 12px; font-weight: 500; white-space: nowrap; text-decoration: none; font-size: .8rem; }
.mc-chg svg { color: #555; }

/* ── header */
.mc-head { background: #fff; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid #f0f0f0; }
.mc-row { display: flex; align-items: center; gap: 24px; min-height: 92px; }
.mc-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.mc-brand img { height: 52px; width: auto; }
.mc-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 4px; background: var(--mc); color: #fff; font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; }
.mc-bname { display: none; line-height: 1.15; font-size: 1rem; color: #222; }
.mc-bname i { font-style: normal; color: var(--mc); font-weight: 600; }
.mc-search { flex: 1; display: flex; align-items: center; border: 1px solid #e8e8e8; border-radius: 8px; background: #fff; min-width: 0; height: 48px; }
.mc-search input, .mc-search input:focus { flex: 1; min-width: 0; border: 0 !important; outline: 0; box-shadow: none !important; background: transparent; padding: 0 16px; font: inherit; font-size: .88rem; color: #333; height: 100%; -webkit-appearance: none; appearance: none; }
.mc-search input::placeholder { color: #a5a5a5; }
.mc-search:focus-within { border-color: var(--mc); }
.mc-search button { border: 0; background: none; color: #777; width: 48px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.mc-icons { display: flex; gap: 22px; flex: none; }
.mc-icons a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: #444; text-decoration: none; font-size: .72rem; position: relative; min-width: 44px; }
.mc-icons a svg { width: 26px; height: 26px; }
.mc-icons a span { color: #9d9d9d; }
.mc-cart em { position: absolute; top: -8px; right: -2px; background: var(--mc-acc); color: #fff; font-style: normal; font-size: .72rem; font-weight: 500; min-width: 24px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; }

/* ── nav row + mega menu */
.mc-nav { display: none; border-top: 1px solid #f3f3f3; }
.mc-nav .mc-wrap { display: flex; align-items: center; gap: 28px; min-height: 52px; }
.mc-mega-w { position: static; }
.mc-mega-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; min-width: 186px; border: 1px solid transparent; border-bottom: 2px solid transparent; background: #fff; color: #222; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; border-radius: 4px 4px 0 0; }
.mc-mega-btn .mc-caret { margin-left: auto; color: #999; transition: transform .2s; }
.mc-mega-w.open .mc-mega-btn { color: var(--mc); background: #F2F4FC; border-bottom-color: var(--mc); }
.mc-mega-w.open .mc-caret { transform: rotate(180deg); color: var(--mc); }
.mc-mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 14px 28px -10px rgba(0, 0, 0, .18); border-top: 1px solid #f0f0f0; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 45; }
.mc-mega-w.open .mc-mega { opacity: 1; visibility: visible; transform: none; }
.mc-mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px 20px; padding-top: 26px; padding-bottom: 30px; }
.mc-mega-grid a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #333; font-size: .88rem; }
.mc-mega-grid a:hover b { color: var(--mc); }
.mc-mega-grid span { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 1px solid var(--mc-line); background: #fff; }
.mc-mega-grid img { width: 100%; height: 100%; object-fit: cover; }
.mc-mega-grid b { font-weight: 400; line-height: 1.45; }
.mc-nl { color: #333; text-decoration: none; font-size: .88rem; font-weight: 500; padding: 15px 4px 13px; border-bottom: 2px solid transparent; white-space: nowrap; }
.mc-nl.on, .mc-nl:hover { color: var(--mc); border-bottom-color: var(--mc); }

/* ── branch page */
.mc-brbg { background: linear-gradient(180deg, #F2F4FC 0%, #fff 70%); }
.mc-brcols { display: grid; grid-template-columns: 1fr; gap: 24px; padding-top: 22px; padding-bottom: 40px; }
.mc-brart { display: none; }
.mc-brpage { max-width: 760px; width: 100%; margin: 0 auto; }
.mc-brh { font-size: 1.75rem; font-weight: 700; margin: 0 0 4px; color: #222; text-align: center; }
.mc-brh span { color: var(--mc); }
.mc-brsub { margin: 18px 0 10px; color: #333; font-size: .92rem; }
.mc-near { position: relative; overflow: hidden; width: 100%; display: flex; gap: 12px; align-items: flex-start; text-align: left; border: 0; background: #F3F3F3; border-radius: 10px; padding: 18px 16px; font: inherit; cursor: pointer; color: #333; }
.mc-near-ic { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); color: #ddd; }
.mc-near-ic svg { width: 64px; height: 64px; }
.mc-near b { display: block; font-size: 1rem; font-weight: 500; color: #555; }
.mc-near small { display: block; color: #9d9d9d; margin-top: 6px; font-size: .8rem; line-height: 1.5; max-width: 80%; }
.mc-brlist { display: grid; gap: 10px; margin-top: 10px; }
.mc-brc { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid #f0f0f0; border-radius: 10px; padding: 14px 16px; text-decoration: none; color: #333; box-shadow: 0 2px 10px -6px rgba(0, 0, 0, .18); }
.mc-brc.on { background: #F3F3F3; }
.mc-brc-t { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mc-brc-t b { font-size: 1rem; font-weight: 600; color: #222; }
.mc-brc-t small { color: #9d9d9d; font-size: .8rem; line-height: 1.5; }
.mc-brc-t em { font-style: normal; color: var(--mc); font-size: .8rem; font-weight: 500; }
.mc-brc-t em:empty { display: none; }
.mc-open { color: #16a34a; font-size: .8rem; margin-top: 6px; }
.mc-closed { color: #DA1212; font-size: .8rem; margin-top: 6px; }
.mc-hr { color: #666; font-size: .8rem; }
.mc-brc-go { color: #888; flex: none; }

/* ── home */
.mc-home { padding-top: 16px; padding-bottom: 30px; }
.mc-slides { position: relative; border-radius: 12px; overflow: hidden; background: var(--mc-soft); }
.mc-slide { display: none; }
.mc-slide.on { display: block; }
.mc-slide img, .mc-mid img, .mc-promo img, .mc-square img, .mc-pban img { display: block; width: 100%; height: auto; }
.mc-slide img, .mc-pban img { aspect-ratio: 5 / 2; object-fit: cover; }
.mc-mid img { aspect-ratio: 5 / 2; object-fit: cover; }
.mc-promo img { aspect-ratio: 2 / 3; object-fit: cover; }
.mc-dots { position: absolute; left: 0; right: 0; bottom: 52px; display: flex; justify-content: center; gap: 6px; }
.mc-dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: rgba(255, 255, 255, .6); padding: 0; cursor: pointer; transition: width .2s; }
.mc-dots button.on { width: 22px; background: #fff; }
.mc-cats { position: relative; z-index: 2; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; background: #fff; border-radius: 12px; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .16); padding: 14px 10px 12px; margin: -40px 10px 0; }
.mc-cats-top { margin: 16px 0 6px; }
.mc-cats::-webkit-scrollbar, .mc-rec-row::-webkit-scrollbar { display: none; }
.mc-cats a { flex: none; width: 104px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: #333; }
.mc-cats span { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--mc-line); }
.mc-cats a.on span { border-color: var(--mc); box-shadow: 0 0 0 1px var(--mc); }
.mc-cats img { width: 100%; height: 100%; object-fit: cover; }
.mc-cats b { font-weight: 400; font-size: .76rem; max-width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-square { display: block; width: 50%; max-width: 380px; margin-top: 40px; border-radius: 6px; overflow: hidden; }
.mc-sec-h { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 12px; }
.mc-sec-h h2 { margin: 0; font-size: 1.25rem; font-weight: 600; color: #222; }
.mc-sec-h a { color: var(--mc-acc); text-decoration: none; display: flex; align-items: center; gap: 4px; font-size: .88rem; }
.mc-rec { display: flex; background: #EAF5E3; border-radius: 6px; overflow: hidden; }
.mc-promo { flex: none; width: 25%; max-width: 254px; }
.mc-rec-box { position: relative; flex: 1; min-width: 0; padding: 36px 26px; }
.mc-rec-row { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mc-rec-row > .p-wrap, .mc-rec-row > .p-card { flex: none; width: calc((100% - 44px) / 3); scroll-snap-align: start; }
.mc-arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #555; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); cursor: pointer; }
.mc-arr.l { left: 8px; } .mc-arr.r { right: 8px; }
.mc-mid { display: block; margin-top: 18px; border-radius: 6px; overflow: hidden; }
.mc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mc-more { margin: 26px 0 6px; }
.mc-more a { display: block; text-align: center; background: #fff; border: 1px solid var(--mc-line); color: var(--mc); border-radius: 12px; padding: 12px 20px; text-decoration: none; font-weight: 500; font-size: .92rem; }
.mc-more a:hover { border-color: var(--mc); }

/* ── product cards everywhere */
body.pnp-mc .p-wrap { position: relative; background: #fff; border: 1px solid var(--mc-line); border-radius: 12px; box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .25); overflow: hidden; transition: box-shadow .15s; }
body.pnp-mc .p-wrap:hover { border-color: var(--mc-line); box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .28); }
body.pnp-mc .p-card { position: relative; background: #fff; border-radius: 12px; box-shadow: none; }
body.pnp-mc .p-grid > .p-card, body.pnp-mc .mc-grid > .p-card { border: 1px solid var(--mc-line); box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .25); }
body.pnp-mc .p-img { position: relative; background: #fff; border-bottom: 1px solid var(--mc-line); }
body.pnp-mc .p-body { padding: 12px 12px 60px; }
body.pnp-mc .p-name { color: #333; font-size: .9rem; font-weight: 400; line-height: 1.45; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
body.pnp-mc .p-price { position: absolute; left: 12px; bottom: 16px; right: 60px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
body.pnp-mc .p-price .now { color: var(--mc); font-size: 1.45rem; font-weight: 600; font-family: var(--font); line-height: 1.2; }
body.pnp-mc .p-price s { font-size: .74rem; color: #aaa; }
body.pnp-mc .p-sold, body.pnp-mc .deal-tag, body.pnp-mc .tag-flash, body.pnp-mc .tag-new, body.pnp-mc .fav-star { display: none; }
body.pnp-mc .tag-sale, body.pnp-mc .p-price s { display: none; }   /* the original shows no discount tags or old prices */
body.pnp-mc .soldout { background: rgba(240, 240, 240, .75); color: #555; font-weight: 500; }
body.pnp-mc .quick-add { position: absolute; right: 12px; bottom: 12px; margin: 0; width: 42px; height: 42px; padding: 0; border-radius: 50%; background: var(--mc); color: #fff; font-size: 0; gap: 0; border: 0; display: grid; place-items: center; cursor: pointer; }
body.pnp-mc .quick-add svg { width: 22px; height: 22px; }
body.pnp-mc .quick-add:hover { background: var(--mc-d); }
body.pnp-mc .quick-add.added { background: #16a34a; }
body.pnp-mc .p-wrap > .p-card:only-child .p-body { padding-bottom: 50px; }
body.pnp-mc .p-wrap > .p-card:only-child::after { content: ''; position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; background: #eee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.2 10.5a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 8H6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.mc-tags { position: absolute; top: 0; left: 10px; z-index: 2; display: flex; gap: 4px; }
.mc-tag { position: relative; color: #fff; font-size: .7rem; font-weight: 500; padding: 4px 7px 4px 6px; border-radius: 0 0 4px 4px; background: var(--mc); line-height: 1.2; }
.mc-tag::before { content: ''; display: inline-block; width: 10px; height: 11px; margin-right: 3px; vertical-align: -1px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFD54A' d='M12 2c1 4 6 6 6 12a6 6 0 0 1-12 0c0-3 2-5 3-6 0 2 1 3 2 3 0-3-1-6 1-9z'/%3E%3Cpath fill='%23FF6A00' d='M12 12c1 2 3 3 3 5a3 3 0 0 1-6 0c0-1 1-2 1-3 1 1 2 0 2-2z'/%3E%3C/svg%3E"); }
.mc-tag.rec { background: var(--mc-l); }
.mc-tag.rec::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFE14D' d='M12 2l3 6.5 7 .8-5.2 4.8 1.4 7L12 17.6 5.8 21l1.4-7L2 9.3l7-.8z'/%3E%3C/svg%3E"); }

/* ── simple pages (recommended / coupons) */
.mc-page { padding-top: 14px; padding-bottom: 40px; min-height: 50vh; }
.mc-crumb { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: #888; margin-bottom: 16px; }
.mc-crumb a { color: #333; text-decoration: none; }
.mc-crumb b { font-weight: 400; color: #9d9d9d; }
.mc-pban { border-radius: 6px; overflow: hidden; margin-bottom: 22px; }
.mc-ph { font-size: 1.25rem; font-weight: 600; color: #222; margin: 0 0 14px; }
.mc-empty { text-align: center; color: #9d9d9d; padding: 30px 0 60px; font-size: .78rem; }
.mc-empty p { margin: 8px 0 0; }
.mc-cps { display: grid; gap: 14px; }
.mc-cp { display: flex; border: 1px solid #f0e6dc; border-radius: 12px; overflow: hidden; background: #fff; }
.mc-cp-l { flex: none; width: 120px; background: var(--mc); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 14px; border-right: 2px dashed #fff; }
.mc-cp-l b { font-size: 1.2rem; }
.mc-cp-r { flex: 1; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; position: relative; }
.mc-cp-r small { color: #888; }
.mc-cp-btn { align-self: flex-start; margin-top: 6px; border: 0; background: var(--mc); color: #fff; border-radius: 8px; padding: 6px 16px; font: inherit; font-size: .84rem; cursor: pointer; }
.mc-cp-btn.ok { background: #16a34a; }
.mc-note { color: #888; font-size: .84rem; margin-top: 12px; }

/* ── help centre */
.mc-sup-band { background: var(--mc-peach); padding: 36px 0 120px; text-align: center; }
.mc-sup-band h1 { margin: 0 0 22px; font-size: 1.7rem; font-weight: 600; color: var(--mc); }
.mc-sup-search { display: flex; align-items: center; gap: 8px; max-width: 680px; margin: 0 auto; background: #fff; border-radius: 6px; padding: 0 14px; height: 46px; color: #888; }
.mc-sup-search input { flex: 1; border: 0 !important; outline: 0; box-shadow: none !important; font: inherit; font-size: .88rem; background: transparent; height: 100%; }
.mc-sup { margin-top: -88px; padding-bottom: 40px; }
.mc-sup-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mc-sup-cards a { background: #fff; border-radius: 8px; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .16); display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 6px 16px; text-decoration: none; color: #333; font-size: .8rem; text-align: center; border: 1px solid transparent; }
.mc-sup-cards a.on, .mc-sup-cards a:hover { border-color: var(--mc); color: var(--mc); }
.mc-sup-h { font-size: 1.05rem; font-weight: 600; color: #222; margin: 30px 0 12px; }
.mc-faq { display: grid; gap: 10px; }
.mc-faq details { border: 1px solid #ececec; border-radius: 8px; background: #fff; }
.mc-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; font-size: .88rem; color: #333; }
.mc-faq summary::-webkit-details-marker { display: none; }
.mc-faq summary svg { flex: none; color: #555; transition: transform .2s; }
.mc-faq details[open] summary { color: var(--mc); }
.mc-faq details[open] summary svg { transform: rotate(180deg); color: var(--mc); }
.mc-faq-a { padding: 0 16px 16px; font-size: .86rem; color: #555; line-height: 1.7; }
.mc-faq-a p { margin: 0 0 12px; }
.mc-faq-a img { display: block; width: 100%; max-width: 1000px; border-radius: 6px; }
.mc-staff { border: 1px solid #ececec; border-radius: 8px; padding: 2px 14px; }
.mc-staff-r { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid #f2f2f2; }
.mc-staff-r:last-child { border-bottom: 0; }
.mc-staff-r b { font-weight: 600; font-size: .95rem; }
.mc-staff-r em { font-style: normal; background: var(--mc); color: #fff; font-size: .68rem; padding: 1px 7px; border-radius: 999px; vertical-align: 2px; }
.mc-staff-r small { display: flex; align-items: center; gap: 4px; color: #9d9d9d; font-size: .76rem; margin-top: 4px; }
.mc-staff-b { display: flex; gap: 8px; flex: none; }
.mc-staff-b a { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 8px 14px; font-size: .8rem; text-decoration: none; border: 1px solid #e8e8e8; background: #fff; color: #333; white-space: nowrap; }
.mc-staff-b a.call { background: #f1f1f1; color: #555; }
.mc-staff-b a.call.off { color: #aaa; }

/* ── products list page (category) */
body.pnp-mc.pg-products .mk-cols, body.pnp-mc.pg-products .container.section { max-width: 1248px; }
body.pnp-mc .list-head { background: transparent; border: 0; padding: 0; margin-bottom: 16px; }
body.pnp-mc .page-title { color: #222; font-size: 1.25rem; font-weight: 600; border-left: 4px solid var(--mc); padding-left: 10px; line-height: 1.2; }
body.pnp-mc .list-head .muted { padding-left: 14px; font-size: .78rem; }
body.pnp-mc .sort-form select { border: 1px solid #f0e0d0; color: var(--mc); border-radius: 8px; font-size: .84rem; padding: 6px 30px 6px 12px; background-color: #fff; }
body.pnp-mc .mk-sidebar, body.pnp-mc .mk-cats { border: 1px solid #f0f0f0; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: none; }
body.pnp-mc .mk-cats-h, body.pnp-mc .mk-side-h { background: #fff !important; color: #222 !important; font-weight: 600; border-bottom: 1px solid #f2f2f2; }
body.pnp-mc .mk-cats a { color: #444; font-size: .86rem; border: 0; }
body.pnp-mc .mk-cats a .mk-ci { display: none; }
body.pnp-mc .mk-cats a::before { content: ''; flex: none; width: 16px; height: 16px; border: 1px solid #ccc; border-radius: 4px; margin-right: 8px; }
body.pnp-mc .mk-cats a.active::before { background: var(--mc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--mc); }
body.pnp-mc .mk-cats a:hover, body.pnp-mc .mk-cats a.active { background: #fff; color: var(--mc); box-shadow: none; }
body.pnp-mc .pager a, body.pnp-mc .pager span { border-radius: 8px; }
body.pnp-mc .pager .on, body.pnp-mc .pager a.active { background: var(--mc); border-color: var(--mc); color: #fff; }

/* ── product page */
body.pnp-mc.pg-product .pd { box-shadow: none; border: 0; background: #fff; }
body.pnp-mc.pg-product .crumbs { font-size: .78rem; }
body.pnp-mc.pg-product .crumbs a { color: #333; }
body.pnp-mc.pg-product .pd-info h1 { font-size: 1.35rem; font-weight: 600; color: #222; padding-right: 130px; margin-bottom: 4px; }
body.pnp-mc.pg-product .pd-info { position: relative; }
body.pnp-mc.pg-product .pd-price { position: absolute; top: 0; right: 0; background: none; padding: 0; margin: 0; }
body.pnp-mc.pg-product .pd-price .now { color: var(--mc); font-size: 1.6rem; font-weight: 600; }
body.pnp-mc.pg-product .pd-meta { display: none; }
.mc-pmeta { font-size: .8rem; color: #9d9d9d; display: grid; gap: 4px; padding-bottom: 14px; border-bottom: 1px solid #f2f2f2; margin-bottom: 14px; }
.mc-pmeta a { color: var(--mc); text-decoration: none; }
.mc-psale { font-size: .8rem; color: #555; margin-bottom: 4px; }
.mc-psale input { accent-color: var(--mc); }
.mc-pqty-h { display: flex; flex-direction: column; gap: 2px; margin: 16px 0 -38px; position: relative; z-index: 1; pointer-events: none; }
.mc-pqty-h b { font-size: .95rem; color: #222; }
.mc-pqty-h small { color: #9d9d9d; font-size: .76rem; }
body.pnp-mc.pg-product .qty-row { justify-content: flex-end; border-bottom: 1px solid #f2f2f2; padding-bottom: 16px; margin-bottom: 16px; }
body.pnp-mc.pg-product #stockLeft { display: none; }
body.pnp-mc.pg-product .qty { border: 1px solid #eee; border-radius: 6px; }
body.pnp-mc.pg-product .qty button { color: var(--mc); }
body.pnp-mc.pg-product .pd-actions { display: block; }
body.pnp-mc.pg-product #buyNow, body.pnp-mc.pg-product .pd-trust, body.pnp-mc.pg-product .share, body.pnp-mc.pg-product #reviews { display: none; }
body.pnp-mc.pg-product #addCart { width: 100%; background: var(--mc); border-color: var(--mc); color: #fff; border-radius: 8px; height: 46px; font-weight: 500; }
body.pnp-mc.pg-product #addCart::before { content: '+ '; }
body.pnp-mc.pg-product #addCart:hover { background: var(--mc-d); }
body.pnp-mc.pg-product .pd-desc h2, body.pnp-mc.pg-product .section-head h2 { font-size: 1.05rem; font-weight: 600; color: #222; }

/* ── member (login / register) */
body.pnp-mc.pg-member main { background: linear-gradient(180deg, #fff 0%, #F2F4FC 100%); }
body.pnp-mc.pg-member main > .container { max-width: 520px; }
body.pnp-mc.pg-member .page-title, body.pnp-mc.pg-member h1 { text-align: center; border: 0; padding: 0; }
body.pnp-mc.pg-member .mem-tabs a.on { background: #fff; color: var(--mc); border-color: var(--mc); }
body.pnp-mc.pg-member .card, body.pnp-mc.pg-member form.card { border: 0; border-radius: 12px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .2); }
body.pnp-mc input:focus, body.pnp-mc textarea:focus, body.pnp-mc select:focus { border-color: var(--mc); outline-color: var(--mc); }

/* ── other pages in the same colours */
body.pnp-mc .btn-primary, body.pnp-mc .btn.btn-primary { background: var(--mc); border-color: var(--mc); color: #fff; }
body.pnp-mc .btn-primary:hover { background: var(--mc-d); border-color: var(--mc-d); }
body.pnp-mc .btn-outline { border-color: var(--mc); color: var(--mc); }
body.pnp-mc .float-line { bottom: 18px; }

/* ── welcome popup */
.mc-pop { position: fixed; inset: 0; z-index: 9990; background: rgba(0, 0, 0, .55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; }
.mc-pop[hidden] { display: none; }
.mc-pop-in { position: relative; max-width: 520px; width: 100%; text-align: center; }
.mc-pop-in img { display: block; width: 100%; height: auto; border-radius: 10px; }
.mc-pop-x { position: absolute; top: -14px; right: -6px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #333; font-size: 1.4rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.mc-pop-no { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: .84rem; margin-top: 14px; cursor: pointer; }
.mc-pop-no input { width: 16px; height: 16px; accent-color: var(--mc); }

/* ── footer */
.mc-foot { background: #22256E; color: #fff; margin-top: 40px; font-size: .8rem; }
.mc-foot-in { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 44px; padding-bottom: 40px; }
.mc-foot-name { font-size: 1rem; font-weight: 600; margin-bottom: 16px; }
.mc-foot-br { display: grid; grid-template-columns: 1fr; gap: 16px 30px; }
.mc-fb b { display: block; font-weight: 600; margin-bottom: 4px; font-size: .86rem; }
.mc-fb p { margin: 1px 0; line-height: 1.6; }
.mc-fb .mc-fa { margin-bottom: 10px; }
.mc-fb i { font-style: normal; font-weight: 600; margin-right: 6px; }
.mc-foot a { color: #fff; text-decoration: none; }
.mc-foot a:hover { color: #B9E4A0; }
.mc-social { margin-top: 22px; }
.mc-social h4, .mc-foot-links h4 { margin: 0 0 12px; font-size: .95rem; font-weight: 600; }
.mc-social a { display: inline-block; margin-right: 14px; }
.mc-foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-content: start; }
.mc-foot-links a { display: block; padding: 4px 0; font-size: .78rem; }
.mc-copy { background: #181B55; color: #fff; text-align: center; padding: 12px 16px; font-size: .78rem; }

/* ── phone */
@media (max-width: 640px) {
  .mc-strip { font-size: .86rem; }
  .mc-row { gap: 10px; min-height: 64px; }
  .mc-mark { width: 38px; height: 38px; font-size: .74rem; }
  .mc-search { height: 40px; flex: 0 1 auto; width: 42%; border-radius: 10px; }
  .mc-search input { padding: 0 10px; }
  .mc-icons { gap: 4px; margin-left: auto; }
  .mc-icons a { min-width: 46px; font-size: .68rem; }
  .mc-icons a svg { width: 24px; height: 24px; }
  .mc-brh { font-size: 1.5rem; text-align: left; }
  .mc-cats { margin: -22px 6px 0; padding: 10px 6px; }
  .mc-cats-top { margin: 12px 0 4px; }
  .mc-cats a { width: 66px; gap: 6px; }
  .mc-cats span { width: 54px; height: 54px; }
  .mc-cats b { font-size: .7rem; max-width: 62px; }
  .mc-dots { bottom: 32px; }
  .mc-slide img { aspect-ratio: 4 / 5; }
  .mc-slides { border-radius: 0; margin: 0 -16px; }
  .mc-home { padding-top: 0; }
  .mc-square { width: 50%; margin-top: 26px; }
  .mc-promo { width: 30%; }
  .mc-rec-box { padding: 16px 10px; }
  .mc-rec-row { gap: 10px; }
  .mc-rec-row > .p-wrap, .mc-rec-row > .p-card { width: 128px; }
  .mc-arr { display: none; }
  .mc-grid { gap: 10px; }
  body.pnp-mc .p-body { padding: 8px 10px 50px; }
  body.pnp-mc .p-name { font-size: .82rem; }
  body.pnp-mc .p-price { left: 10px; bottom: 12px; right: 48px; }
  body.pnp-mc .p-price .now { font-size: 1.12rem; }
  body.pnp-mc .quick-add, body.pnp-mc .p-wrap > .p-card:only-child::after { width: 34px; height: 34px; right: 9px; bottom: 9px; }
  body.pnp-mc .quick-add svg { width: 18px; height: 18px; }
  .mc-sup-band h1 { font-size: 1.3rem; }
  .mc-sup-cards { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .mc-sup-cards a { font-size: .7rem; padding: 12px 4px; }
  .mc-sup-cards svg { width: 34px; height: 34px; }
  .mc-staff-r { flex-direction: column; align-items: flex-start; }
  body.pnp-mc.pg-product .pd-info h1 { padding-right: 0; }
  body.pnp-mc.pg-product .pd-price { position: static; margin: 4px 0 10px; }
}
@media (min-width: 900px) {
  .mc-nav { display: block; }
  .mc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .mc-foot-in { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; padding-left: 46px; padding-right: 46px; }
  .mc-foot-br { grid-template-columns: 1fr 1fr; }
  .mc-foot-links { grid-template-columns: 1fr 1fr; padding-left: 40px; }
  .mc-brcols { grid-template-columns: 1fr 1fr; align-items: center; }
  .mc-brart { display: block; text-align: center; position: sticky; top: 120px; align-self: start; }
  .mc-brart img { max-width: 360px; width: 80%; height: auto; }
  .mc-brpage { max-width: 420px; }
  .mc-sup-cards { grid-template-columns: repeat(7, 1fr); gap: 14px; }
  .mc-cps { grid-template-columns: 1fr 1fr; }
}

/* product page: one quantity title (ours) */
body.pnp-mc.pg-product .pd-info label.lbl:has(+ .qty-row) { display: none; }
.mc-pqty-h { margin: 14px 0 -40px; }
/* details matched after the side-by-side check */
.mc-square { width: 50%; max-width: 610px; }
.mc-cart em[hidden] { display: grid; }   /* the original always shows the red 0 */
/* slim header (branch / help / login pages) like the original */
.mc-head-min .mc-row { min-height: 64px; justify-content: space-between; }
.mc-head-min .mc-mark { width: 46px; height: 46px; }
.mc-min-btns { display: flex; gap: 10px; }
.mc-btn, .mc-btn-o { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 8px; font-size: .86rem; font-weight: 500; text-decoration: none; }
.mc-btn { background: var(--mc); color: #fff; }
.mc-btn-o { background: #fff; color: var(--mc); border: 1px solid #f3f3f3; }
/* help-centre sizes measured against the original */
.mc-sup-cards svg { width: 56px; height: 56px; }
.mc-faq summary { padding: 18px 16px; }
@media (max-width: 640px) { .mc-sup-cards svg { width: 36px; height: 36px; } .mc-btn, .mc-btn-o { padding: 0 12px; height: 36px; font-size: .8rem; } }
/* login / register: picture on the left, form card on the right (computer), like the original */
@media (min-width: 900px) {
  body.pnp-mc.pg-member main { background: var(--mc-art) no-repeat 22% 120px / 340px auto, linear-gradient(180deg, #fff 0%, #F2F4FC 100%); }
  body.pnp-mc.pg-member main > .container { max-width: 1100px; padding-left: 560px; }
}
/* slim pages have no footer in the original */
body.pnp-mc.mc-min .mc-foot { display: none; }
body.pnp-mc.mc-min main { min-height: calc(100vh - 65px); }
/* login / register card */
body.pnp-mc.pg-member .page-title { font-size: 1.6rem; font-weight: 700; color: #222; margin: 30px 0 16px; }
.mc-fh { margin-bottom: 18px; }
.mc-fh b { display: block; font-size: 1.05rem; font-weight: 600; color: #222; }
.mc-fh small { color: #9d9d9d; font-size: .82rem; }
body.pnp-mc.pg-member form.card { padding: 22px 20px; }
body.pnp-mc.pg-member .lbl { font-size: .82rem; font-weight: 500; color: #222; }
body.pnp-mc.pg-member input { border: 1px solid #f0f0f0; border-radius: 6px; font-size: .86rem; }
body.pnp-mc.pg-member .btn-primary { border-radius: 8px; height: 44px; }
.mc-pw { position: relative; display: block; }
.mc-pw input { width: 100%; padding-right: 40px; }
.mc-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; cursor: pointer; padding: 4px; }
.mc-forgot { text-align: right; margin: -4px 0 12px; font-size: .8rem; }
.mc-forgot a, .mc-alt a { color: #2563eb; text-decoration: none; }
.mc-alt { text-align: center; color: #9d9d9d; font-size: .8rem; margin: 14px 0 0; }
/* mega menu: 5 per row, more categories go to the next rows (like the original) — .mc-nav .mc-wrap{display:flex} was winning */
.mc-nav .mc-mega-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 30px 20px; align-items: center; min-height: 0; }
.mc-nav .mc-mega-grid b { white-space: normal; }

/* 21/11 branch page (branch.php) */
.mc-bi-lead { color: #555; margin: -6px 0 16px; font-size: .92rem; }
.mc-bi-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: stretch; }
.mc-bi-card { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 16px; }
.mc-bi-card p { display: flex; gap: 12px; margin: 0 0 10px; font-size: .9rem; line-height: 1.5; }
.mc-bi-card p i { font-style: normal; color: #888; min-width: 64px; flex: none; }
.mc-bi-card a { color: var(--mc); }
.mc-bi-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mc-bi-btns a { flex: 1 1 140px; text-align: center; padding: 11px 12px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: .9rem; }
.mc-bi-go { background: var(--mc); color: #fff !important; }
.mc-bi-map { border: 1px solid var(--mc); color: var(--mc); }
.mc-bi-frame { width: 100%; min-height: 260px; border: 0; border-radius: 10px; background: #f3f3f3; }
.mc-bi-h2 { font-size: 1.05rem; font-weight: 600; margin: 26px 0 10px; color: #222; }
.mc-bi-cats, .mc-bi-others { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-bi-cats a, .mc-bi-others a { padding: 7px 12px; border: 1px solid #e5e5e5; border-radius: 20px; background: #fff; color: #333; text-decoration: none; font-size: .85rem; }
.mc-bi-cats small { color: #999; margin-left: 4px; }
.mc-bi-steps { padding-left: 20px; margin: 0; color: #444; font-size: .9rem; line-height: 1.8; }
.mc-fb b a { color: inherit; text-decoration: none; }
@media (max-width: 760px) { .mc-bi-grid { grid-template-columns: 1fr; } .mc-bi-frame { min-height: 220px; } }
