/* Meeow shop art direction and transparent pre-payment cart. */
.shop-page.sv1 { --mb147-ink: #17283d; --mb147-muted: #667085; --mb147-line: #e5e8e5; }
.shop-page.sv1 .sv1-sub { border-radius: 20px; border-color: #e4e7e2; box-shadow: 0 4px 12px #13223806; }
.shop-page.sv1 .sv1-sub__media { overflow: hidden; background: #fff8ec; border: 0; }
.shop-page.sv1 .sv1-sub__media img { width: 100%; height: 100%; object-fit: cover; background: #fff8ec; }
.shop-page.sv1 .sv1-sub--clear .sv1-sub__media { background: #fff8ec url('/assets/shop-brand-v147/category-all-360.webp') center/cover; }
.shop-page.sv1 .sv1-sub__all { opacity: 0; }
.shop-page.sv1 .sv1-sub[aria-pressed="true"] { border-color: #168679; background: #eef9f6; box-shadow: inset 0 -3px #168679, 0 4px 12px #13223808; }
.shop-page.sv1 .sv2-card { border: 1px solid #e5e7e3; border-radius: 24px; background: #fffefa; box-shadow: 0 3px 12px #13223805; transition: border-color .2s, box-shadow .2s; }
.shop-page.sv1 .sv2-card .mb147-media { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 4/3; border-radius: 23px 23px 0 0; border-bottom: 1px solid #eee8df; background: #fff8ec url('/assets/shop-brand-v147/stage-coral-960.webp') center/cover; }
.shop-page.sv1 .mb147-media[data-scene="mint"] { background-image: url('/assets/shop-brand-v147/stage-mint-960.webp'); }
.shop-page.sv1 .mb147-media[data-scene="care"] { background-image: url('/assets/shop-brand-v147/stage-care-960.webp'); }
.shop-page.sv1 .mb147-media .sv2-card__shot { display: flex; align-items: center; justify-content: center; padding: 42px 25px 25px; width: 100%; height: 100%; background: transparent; border: 0; mix-blend-mode: multiply; }
.shop-page.sv1 .mb147-media .sv2-card__stage { position: static; width: 100%; height: 100%; object-fit: contain; object-position: center; max-height: 100%; transform: none; border-radius: 8px; filter: none; }
.mb147-signature { position: absolute; inset-inline-start: 13px; top: 12px; display: inline-flex; align-items: center; gap: 5px; pointer-events: none; z-index: 2; color: #17283d; }
.mb147-signature > img { width: 25px; height: 25px; border-radius: 8px; }
.mb147-signature > span { font-size: 12px; font-weight: 850; line-height: 1.2; }
.mb147-signature > span > span { display: inline; margin-inline-start: 2px; font-weight: 500; }
.mb147-caption { position: absolute; bottom: 7px; inset-inline-end: 12px; color: #52645d; font-size: 9px; pointer-events: none; background: #fffaf0d9; border-radius: 20px; padding: 1px 7px; }
.mb147-image-error { position: absolute; inset: 54px 12px 26px; border: 1px dashed #b8cfc6; border-radius: 14px; background: #fffcf4ec; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #52645d; font-size: 13px; }
.mb147-image-error[hidden] { display: none; }
.mb147-image-error button { border: 1px solid #547b70; background: #fff; color: #156c60; padding: 8px 16px; border-radius: 12px; cursor: pointer; min-height: 44px; }
.has-image-error .sv2-card__stage { visibility: hidden; }
.shop-page.sv1 .sv1-card__body { padding: 18px; gap: 10px; }
.shop-page.sv1 .sv2-name { font-size: 15px; line-height: 1.75; }
.shop-page.sv1 .sv2-name a { color: #17283d; text-decoration: none; }
.shop-page.sv1 .sv2-name__en { font-size: 11px; font-weight: 500; color: #718077; margin-top: 3px; text-decoration: none; }
.shop-page.sv1 .sv1-card__kicker small, .shop-page.sv1 .sv2-card__kicker > small { color: #866244; font-size: 11px; }
.shop-page.sv1 .sv2-compare-btn { border-color: #dce7e0; background: #f1f8f5; color: #27796b; font-size: 10px; }
.shop-page.sv1 .sv1-card__specs li { background: #f5f4ef; border-radius: 8px; color: #59675f; }
.shop-page.sv1 .sv1-add { min-height: 44px; border-radius: 13px; background: #173b35; color: #fff; font-size: 13px; }
.shop-page.sv1 .sv1-add.sv2-ask { background: #f7efe1; color: #755c2c; }
.shop-page.sv1 .sv1-card__foot { gap: 12px; }
.shop-page.sv1 .sv1-price strong { color: #17283d; font-size: 17px; }
@media (hover: hover) { .shop-page.sv1 .sv2-card:hover { border-color: #b8cbc1; box-shadow: 0 9px 24px #173b350d; } }

#cartDrawer { width: min(510px, 100%); padding: 0; background: #fcfbf7; color: #17283d; box-shadow: 16px 0 70px #13223826; }
#cartDrawer .drawer-header { padding: 24px 26px 12px; margin: 0; align-items: center; flex-shrink: 0; }
#cartDrawer .drawer-header .overline { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #64736b; font-weight: 600; }
#cartDrawer .overline img { width: 27px; height: 27px; border-radius: 8px; }
#cartDrawer #cartTitle { margin: 8px 0 0; font-size: 27px; font-weight: 850; line-height: 1.6; }
#cartDrawer .drawer-header > button { width: 44px; height: 44px; min-height: 44px; border: 1px solid #e0e6df; background: #fff; border-radius: 14px; box-shadow: none; color: #32493d; }
#cartDrawer .drawer-header > button svg { width: 20px; height: 20px; }
.mb147-cart-intro { padding: 0 26px 17px; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: #718075; }
.mb147-cart-intro > span:first-child { color: #316858; }
.mb147-steps { display: flex; justify-content: space-between; padding: 14px 26px; margin: 0; list-style: none; background: #f3f5ee; border-block: 1px solid #e8ece3; flex-shrink: 0; }
.mb147-steps li { display: flex; gap: 6px; align-items: center; font-size: 10px; color: #788377; position: relative; }
.mb147-steps b { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #d4dcd0; border-radius: 50%; font-size: 10px; font-weight: 600; background: #fafbf6; }
.mb147-steps [aria-current] { color: #166a58; font-weight: 750; }
.mb147-steps [aria-current] b { color: #fff; background: #236e5d; border-color: #236e5d; }
#cartDrawer .cart-items { padding: 20px 24px; margin: 0; overflow-y: auto; overscroll-behavior: contain; flex: 1 1 auto; min-height: 100px; scrollbar-width: thin; }
#cartDrawer .mb147-cart-line { display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 14px; padding: 17px; border: 1px solid #e5e8df; border-radius: 20px; margin: 0 0 12px; background: #fff; box-shadow: 0 3px 12px #17283d03; }
.mb147-cart-photo { display: grid; place-items: center; min-width: 0; background: #f8f6ee; border-radius: 13px; padding: 8px; aspect-ratio: 4/5; align-self: start; }
.mb147-cart-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mb147-cart-photo > span { color: #728174; font-size: 10px; }
.mb147-cart-brand { display: block; color: #2e7d69; font-size: 10px; margin: 0 0 4px; }
.mb147-cart-copy { min-width: 0; }
.mb147-cart-name { color: #17283d; font-size: 14px; line-height: 1.8; }
.mb147-cart-en { display: block; color: #7b837b; font-size: 10px; line-height: 1.5; text-align: start; margin: 3px 0 7px; overflow-wrap: anywhere; }
#cartDrawer .mb147-cart-copy small { font-size: 11px; color: #667466; }
.mb147-unit { display: block; color: #778175; font-size: 10px; line-height: 1.8; margin-top: 6px; }
.mb147-cart-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; grid-column: 1/-1; padding-top: 13px; border-top: 1px solid #eef0e8; }
#cartDrawer .mb147-quantity { display: inline-flex; align-items: center; border: 1px solid #dde7dc; border-radius: 12px; overflow: hidden; background: #f7faf4; }
#cartDrawer .mb147-quantity button { width: 40px; height: 44px; min-height: 44px; font-size: 21px; color: #276a58; padding: 0; display: grid; place-items: center; background: transparent; }
#cartDrawer .mb147-quantity button:disabled { opacity: .35; cursor: default; }
#cartDrawer .mb147-quantity svg { width: 17px; height: 17px; stroke: currentColor; fill: none; }
.mb147-quantity output { width: 26px; text-align: center; font-size: 13px; color: #17283d; }
.mb147-line-total { margin-inline-start: auto; color: #17283d; font-size: 15px; }
.mb147-line-total > span { font-size: 10px; font-weight: 500; color: #6b766a; }
#cartDrawer button.mb147-remove { padding: 0 2px; min-height: 44px; font-size: 10px; color: #9b4d40; text-decoration: underline; text-underline-offset: 3px; }
#cartDrawer .mb147-assurance { display: flex; gap: 11px; margin: 0 24px 16px; padding: 15px; border: 1px solid #dcebe1; background: #eef7f0; border-radius: 16px; flex-shrink: 0; }
#cartDrawer .mb147-assurance[hidden] { display: none; }
.mb147-assurance > svg { width: 22px; height: 24px; stroke: #39816c; fill: none; flex-shrink: 0; }
.mb147-assurance strong { color: #246452; font-size: 12px; }
.mb147-assurance p { font-size: 11px; color: #617462; margin: 4px 0 6px; line-height: 1.9; }
.mb147-assurance a { display: inline-flex; gap: 8px; font-size: 11px; color: #2f715b; text-decoration: none; }
#cartDrawer .drawer-footer { padding: 18px 24px max(12px, env(safe-area-inset-bottom)); border-top: 1px solid #e3e8df; background: #fffefa; box-shadow: 0 -8px 25px #17283d04; flex-shrink: 0; }
#cartDrawer .drawer-footer > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 10px; }
#cartDrawer .mb147-shipping { font-size: 11px; color: #7b8378; }
#cartDrawer .mb147-shipping strong { font-size: 11px; font-weight: 500; color: #667460; }
#cartDrawer .mb147-total { margin-top: 13px; padding-top: 12px; border-top: 1px dashed #e1e5db; }
#cartDrawer .mb147-total > span { font-size: 13px; font-weight: 650; color: #3b5040; }
#cartDrawer .mb147-total strong { color: #17283d; font-size: 23px; font-weight: 850; }
#cartDrawer .mb147-total strong > span { font-size: 11px; font-weight: 500; color: #71806a; }
.mb147-total-note { margin: 0 0 14px; color: #76816e; font-size: 10px; }
#cartDrawer .drawer-footer .primary-button { min-height: 52px; border-radius: 15px; display: flex; justify-content: center; align-items: center; gap: 18px; background: #173f34; color: #fff; font-size: 15px; font-weight: 750; box-shadow: 0 5px 15px #173f3414; }
#cartDrawer .drawer-footer .primary-button span { color: inherit; }
#cartDrawer .primary-button svg { stroke: currentColor; stroke-width: 1.7; fill: none; width: 20px; height: 20px; }
#cartDrawer .primary-button:disabled { opacity: .4; cursor: default; }
#cartDrawer .mb147-continue { display: block; width: 100%; min-height: 40px; padding: 8px; margin-top: 3px; color: #61745f; font-size: 11px; border: 0; background: transparent; cursor: pointer; }
#cartDrawer :is(button,a):focus-visible { outline: 3px solid #139b91; outline-offset: 3px; }
#cartDrawer .mb147-empty { min-height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px 15px; text-align: center; }
.mb147-empty > img { width: 150px; height: 150px; object-fit: contain; border-radius: 35px; }
.mb147-empty > span { font-size: 10px; color: #428168; margin-top: 17px; }
.mb147-empty h3 { font-size: 22px; margin: 10px 0; }
.mb147-empty p { max-width: 240px; font-size: 12px; line-height: 2; color: #71806b; }
.mb147-empty .primary-button { font-size: 13px; margin-top: 18px; background: #173f34; border-radius: 13px; }
.mb147-cart-empty .drawer-footer { display: none; }
@media (max-width: 760px) {
  .shop-page.sv1 .sv1-card__body { padding: 12px; gap: 8px; }
  .shop-page.sv1 .sv2-name { font-size: 12px; line-height: 1.8; }
  .shop-page.sv1 .sv2-name__en { font-size: 9px; }
  .shop-page.sv1 .sv2-card__kicker { align-items: flex-start; gap: 5px; flex-wrap: wrap; }
  .shop-page.sv1 .sv2-card__kicker > small { font-size: 9px; }
  .shop-page.sv1 .sv2-compare-btn { font-size: 9px; padding: 3px 7px; }
  .shop-page.sv1 .mb147-media .sv2-card__shot { padding: 34px 12px 23px; }
  .mb147-signature { top: 9px; inset-inline-start: 9px; }
  .mb147-signature > img { width: 20px; height: 20px; }
  .mb147-signature > span { font-size: 10px; }
  .mb147-caption { font-size: 8px; inset-inline-end: 7px; bottom: 5px; }
  .shop-page.sv1 .sv1-price strong { font-size: 14px; }
  .shop-page.sv1 .sv1-add { font-size: 11px; }
}
@media (max-width: 450px) {
  #cartDrawer .drawer-header { padding: 18px 18px 8px; }
  #cartDrawer #cartTitle { font-size: 24px; }
  .mb147-cart-intro { padding: 0 18px 14px; font-size: 10px; }
  .mb147-steps { padding-inline: 18px; }
  #cartDrawer .cart-items { padding: 16px; }
  #cartDrawer .mb147-cart-line { padding: 13px; grid-template-columns: 75px minmax(0,1fr); gap: 11px; }
  .mb147-cart-name { font-size: 13px; }
  .mb147-line-total { font-size: 14px; }
  #cartDrawer .mb147-assurance { margin-inline: 16px; margin-bottom: 12px; }
  #cartDrawer .drawer-footer { padding-inline: 18px; }
}
@media (max-height: 700px) { #cartDrawer .mb147-assurance { display: none; } #cartDrawer .mb147-steps { padding-block: 9px; } #cartDrawer .drawer-header { padding-top: 12px; } }
:root[data-theme="dark"] .shop-page.sv1 .sv2-card { background: #202d29; border-color: #3e4f46; }
:root[data-theme="dark"] .shop-page.sv1 :is(.sv2-name a,.sv1-price strong) { color: #edf4ec; }
:root[data-theme="dark"] #cartDrawer { background: #1c2924; color: #eff5ec; }
:root[data-theme="dark"] #cartDrawer :is(.mb147-cart-line,.drawer-footer) { background: #24332b; border-color: #405044; }
:root[data-theme="dark"] #cartDrawer :is(.mb147-cart-name,.mb147-line-total,.mb147-total strong,.mb147-total > span) { color: #edf5e8; }
:root[data-theme="dark"] #cartDrawer :is(.mb147-cart-intro,.overline,.mb147-cart-en,.mb147-unit,.mb147-total-note,.mb147-cart-copy small) { color: #b4c3b0; }
:root[data-theme="dark"] .mb147-steps { background: #26392b; border-color: #405044; }
:root[data-theme="dark"] #cartDrawer .mb147-assurance { background: #263d30; border-color: #3b5d47; }
:root[data-theme="dark"] #cartDrawer .mb147-assurance :is(strong,p,a) { color: #c6e4c7; }
@media (prefers-reduced-motion: reduce) { .shop-page.sv1 .sv2-card, #cartDrawer { transition: none; } }
@media (forced-colors: active) { .mb147-signature,.mb147-caption { background: Canvas; color: CanvasText; } #cartDrawer button { border: 1px solid ButtonText; } }
@media (max-height: 800px) { #cartDrawer .mb147-assurance { display: none; } }
