/* Shared storefront catalogue: recognisable products above readable names. */
.wrapper:has(.mc-global-category){overflow:clip}
.wrapper:has(.mc-global-category)>.header-wrap.nav-sticky-tb{position:relative!important;inset:auto!important}
.mc-global-category{position:relative;width:100%;padding:14px 18px 20px;background:#fff;border-bottom:1px solid #dce4ef;color:#142238}
.mc-global-category-tools{display:flex;justify-content:flex-end;max-width:1280px;margin:0 auto 10px}
.mc-global-catalogue-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:6px 12px;border:1px solid #bcc9d7;border-radius:4px;background:#fff;color:#142238;font:700 14px/1.4 Pretendard,"Noto Sans KR",sans-serif;cursor:pointer}
.mc-global-category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:1280px;margin:0 auto;border-top:1px solid #dce4ef;border-left:1px solid #dce4ef}
.mc-global-category-tile{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;padding:12px 10px 10px;border-right:1px solid #dce4ef;border-bottom:1px solid #dce4ef;background:#fff;color:#142238;text-align:center;text-decoration:none;cursor:pointer}
.mc-global-category-photo{position:relative;display:grid;place-items:center;width:100%;height:140px;aspect-ratio:8/5;background:#f4f7fb;overflow:hidden}
.mc-global-category-photo>i{font-size:28px;color:#718197}
.mc-global-category-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.mc-global-category-photo img[hidden]{display:none}
.mc-global-category-name{display:flex;align-items:center;justify-content:center;min-height:26px;width:100%;font:700 18px/1.3 Pretendard,"Noto Sans KR",sans-serif;overflow-wrap:normal;word-break:keep-all}
.mc-global-category-tile:hover,.mc-global-category-tile[aria-current=page]{color:#b61b3a;background:#fff6f8;text-decoration:none}
.mc-global-category-tile[aria-current=page]::after{content:"";position:absolute;right:0;bottom:0;left:0;height:3px;background:#b61b3a}
.mc-global-category-tile:focus-visible,.mc-global-catalogue-button:focus-visible{outline:3px solid #2476c3;outline-offset:-3px}
.mc-global-catalogue-button:hover{color:#b61b3a;border-color:#b61b3a}
@media(max-width:991px){
 .mc-global-category{padding:12px 14px 16px}
 .mc-global-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .mc-global-category-name{font-size:17px;min-height:44px}
}
@media(max-width:575px){
 .mc-global-category{padding:10px 10px 14px}
 .mc-global-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .mc-global-category-tile{gap:7px;padding:8px 6px}
 .mc-global-category-photo{height:90px}
 .mc-global-category-name{font-size:16px;line-height:1.35;min-height:44px}
}
@media(max-width:359px){.mc-global-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Explicit storefront theme choice. The existing light design is unchanged. */
.mc-global-category-tools{gap:10px;flex-wrap:wrap}
.mc-shop-theme-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:8px 12px;border:1px solid #bcc9d7;border-radius:4px;background:#fff;color:#142238;font:700 14px/1.4 Pretendard,"Noto Sans KR",sans-serif;cursor:pointer}
.mc-shop-theme-button[hidden]{display:none}
.mc-shop-theme-button:focus-visible{outline:3px solid #2476c3;outline-offset:3px}
.mc-shop-theme-button:hover{border-color:#b61b3a;color:#b61b3a}
.mc-global-category-note{display:block;color:#526175;font:500 13px/1.4 Pretendard,"Noto Sans KR",sans-serif;word-break:keep-all}
@media screen{
html[data-mc-shop-theme="light"]{color-scheme:light}
html[data-mc-shop-theme="dark"]{color-scheme:dark;background:#171c22}
html[data-mc-shop-theme="dark"] body{--mc-ink:#f4f6f8;--mc-muted:#c2ccd8;--mc-line:#64758a;--mc-soft:#242c35;--mc-brand:#9f1830;--mc-brand-dark:#7f1025;--mc-navy:#334357;--mc-theme-paper:#171c22;--mc-theme-surface:#242c35;--mc-theme-border:#64758a;--mc-theme-text:#f4f6f8;--mc-theme-muted:#c2ccd8;--mc-theme-link:#9cd4ff;background:#171c22!important;color:#f4f6f8!important}
html[data-mc-shop-theme="dark"] :is(.wrapper,.basic-body,.basic-body-main,.main-wrap,.main-content,.shop-main,.shop-item,.footer,.footer-bottom,.mc-print-catalog){background:var(--mc-theme-paper)!important;color:var(--mc-theme-text)!important}
html[data-mc-shop-theme="dark"] :is(.header-wrap,.header-title,.nav-wrap,.top-header,.page-title-wrap,.mc-global-category,.mc-global-category-tile,.dropdown-menu,.mega-menu,.offcanvas,.offcanvas-header,.modal-content,.modal-header,.modal-body,.mc-menu-dialog,.item-list,.item-main-20,.product-description,.product-description-in,.shop-product,.shop-description-box,.shop-product-prev-next,.shop-product-star-sns,.shop-cart,.shop-cart-li,.shop-cart-all-select,.shop-cart-total,.total-price,.shop-order-form,.mc-card-order,.mc-card-step,.mc-card-note,.mc-choice,.mc-material-row,.mc-reward-card,.mc-print-product,.mc-print-product-copy,.mc-purpose-section,.mc-purpose-card){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important;box-shadow:none!important}
html[data-mc-shop-theme="dark"] .mc-print-catalog{--mc-print-ink:#f4f6f8;--mc-print-muted:#c2ccd8;--mc-print-paper:#fff;--mc-print-line:#64758a;--mc-print-accent:#ffbdcd}
html[data-mc-shop-theme="dark"] :is(h1,h2,h3,h4,h5,h6,.product-name,.product-title,.product-info,.product-price,.main-heading,.headline-short,.footer-cont-box,.sidebar-shop-member-btn,.sidebar-member-btn,.mc-global-category-name,.mc-card-step-title,.mc-field-label,.mc-choice label,.mc-material-name,.mc-card-status,.mc-card-total,.mc-print-base-price,.mc-print-catalog-note){color:var(--mc-theme-text)!important}
html[data-mc-shop-theme="dark"] :is(.wrapper a,.mc-menu-dialog a,.modal-content a,.offcanvas a){color:var(--mc-theme-link)!important}
html[data-mc-shop-theme="dark"] :is(.mc-global-category-tile,.mc-global-catalogue-button,.mc-shop-theme-button,.navbar-nav>li>a,.top-header a,.footer a,.mc-print-category,.mc-print-product-action){color:var(--mc-theme-text)!important}
html[data-mc-shop-theme="dark"] :is(.text-gray,.text-black,.product-info,.product-description-bottom,.mc-card-note,.mc-card-tool,.mc-choice small,.mc-print-catalog-heading p,.mc-print-group-heading p,.mc-global-category-note){color:var(--mc-theme-muted)!important}
html[data-mc-shop-theme="dark"] :is(.text-red,.red,.shop-rgba-red,.mc-native-option-price,.mc-option-price,#mcPrice,#sit_tot_price strong,.mc-card-status.is-error){color:#ffbdcd!important}
html[data-mc-shop-theme="dark"] :is(.text-blue,.text-navy,.mc-guide-link){color:var(--mc-theme-link)!important}
html[data-mc-shop-theme="dark"] :is(.mc-global-category-grid,.mc-global-category-tile,.header-title,.nav-wrap,.footer-divider,.tab-bottom-line,.nav-tabs,.mc-card-grid){border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] :is(.mc-global-category-tile:hover,.mc-global-category-tile[aria-current=page],.dropdown-item:hover,.nav-tabs .nav-link.active){background:#334357!important;color:#ffbdcd!important}
html[data-mc-shop-theme="dark"] .mc-global-category-tile[aria-current=page]::after{background:#ffbdcd}
html[data-mc-shop-theme="dark"] :is(.wrapper input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.wrapper select,.wrapper textarea,.modal-content input,.modal-content select,.modal-content textarea,.AXanchorSelect,.AXInput){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] :is(input,textarea)::placeholder{color:var(--mc-theme-muted)!important;opacity:1}
html[data-mc-shop-theme="dark"] :is(input[type=checkbox],input[type=radio]){accent-color:#9f1830}
html[data-mc-shop-theme="dark"] :is(.mc-global-catalogue-button,.mc-shop-theme-button,.btn-e-brd,.btn-e-dark,.btn-default,.pg_page,.product-type-btn){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] :is(.btn-e-red,.btn-e-crimson,.btn-e-navy,.btn-e-blue,.btn-primary,.mc-card-start-link,.mc-quote-button,#mcQuoteButton,#mcCardOrder button[type=submit],#sit_btn_buy,#sit_btn_cart){background:#9f1830!important;border-color:#9f1830!important;color:#fff!important}
html[data-mc-shop-theme="dark"] body.mc-product-page #sit_ov_btn :is(#sit_btn_buy,#sit_btn_cart){background:#9f1830!important;border-color:#9f1830!important;color:#fff!important}
html[data-mc-shop-theme="dark"] body.mc-product-page #sit_ov_btn :is(#sit_btn_buy,#sit_btn_cart):hover{background:#7f1025!important;border-color:#7f1025!important;color:#fff!important}
html[data-mc-shop-theme="dark"] :is(.btn-e-red,.btn-e-crimson,.btn-e-navy,.btn-e-blue,.btn-primary,.mc-card-start-link) :is(span,i){color:inherit!important}
html[data-mc-shop-theme="dark"] :is(#sod_bsk_list,#sod_frm,.shop-cart,.shop-order-form,.shop-description-box) :is(table,thead,tbody,tfoot,tr,th,td){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] :is(.cart-total,.sod_bsk_tot,.sod_frm_pay,.sod_frm_orderer,.sod_frm_delivery,#sit_sel_option,#sit_tot_price,.mc-card-total,.mcChosenSpec,#mcChosenSpec,#mcCardStatus,.get_item_options){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] .shop-cart :is(.li-name,.li-opt,.li-opt li,.cart-total-box,.cart-total-box strong,.total-price strong){color:var(--mc-theme-text)!important}
html[data-mc-shop-theme="dark"] :is(.sod-li,.total_price,.payment-calc-wrap,.payment-point-box,.payment-total-box,.payment-info-box,.payment-select-box,.delivery-select-box,.payment-point-use,.order-payment-area,.sod-frm-title,.mc-order-route,.mc-order-route-steps li,.mc-route-secondary){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] .shop-order-form :is(.sod-opt,.sod-opt li,.payment-calc-box,.payment-calc-box strong,.payment-point-box strong,.payment-total-box strong,.payment-info-box strong,.total_price strong){color:var(--mc-theme-text)!important}
html[data-mc-shop-theme="dark"] :is(.mc-order-route-copy p,.mc-order-route-steps b,.mc-order-route-steps small,.mc-order-route-actions small){color:var(--mc-theme-muted)!important}
html[data-mc-shop-theme="dark"] :is(.mc-card-note,.alert-info,.alert-warning,.mc-file-later-note){background:#334357!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] :is(a,button,input,select,textarea):focus-visible{outline:3px solid #9cd4ff!important;outline-offset:3px}
/* Product photos keep their original colors and white print-preview backgrounds. */
html[data-mc-shop-theme="dark"] :is(.mc-global-category-photo,.product-img,.product-img-in,.product-img-big,.mc-print-product-image,.mc-paper-card,.mc-reward-card img,.site-logo){background:#fff!important}
html[data-mc-shop-theme="dark"] .mc-shop-theme-button[aria-pressed=true]{border-color:#9cd4ff!important}
}
@media(prefers-reduced-motion:reduce){.mc-shop-theme-button{transition:none}}
@media print{.mc-shop-theme-button{display:none!important}}
/* Existing mobile consultation links: one row above the fixed bottom menu. */
@media(max-width:767px){body.mc-shop-ui div:has(>div>.talk_banner_div){bottom:78px!important;right:74px!important}body.mc-shop-ui #__kakaotalk_chat{bottom:78px!important;right:15px!important}}
/* Two controls observed on the live dark storefront retain readable surfaces. */
@media screen{
html[data-mc-shop-theme="dark"] :is(.mc-header-catalogue-button,#mcSampleOpen){background:var(--mc-theme-surface)!important;color:var(--mc-theme-text)!important;border-color:var(--mc-theme-border)!important}
html[data-mc-shop-theme="dark"] :is(.mc-header-catalogue-button,#mcSampleOpen):hover{background:#334357!important;color:#f4f6f8!important;border-color:#9cd4ff!important}
}
/* The official 104px badge stays cropped; its 48px mobile link has a reliable center. */
@media(max-width:767px){body.mc-shop-ui #__kakaotalk_chat a{display:block;width:48px;height:48px}}
/* Approved transparent photographs only; the other nine preview frames remain unchanged. */
.mc-global-category-photo.mc-photo-cutout,html[data-mc-shop-theme="dark"] .mc-global-category-photo.mc-photo-cutout{background:transparent!important}
.mc-global-category-photo.mc-photo-cutout img{background:transparent!important}
.mc-global-category-photo.mc-photo-cutout:not(.is-image-unavailable)>i{visibility:hidden}
/* Screen UI only: preserve light mode, product images, artwork and print output. */
@media screen {
  html[data-mc-shop-theme="dark"] .mc-default-pack-price {
    background: var(--mc-theme-surface, #242c35) !important;
    color: var(--mc-theme-text, #f4f6f8) !important;
    border-color: var(--mc-theme-border, #64758a) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-default-pack-price :is(strong, span, small) {
    color: var(--mc-theme-text, #f4f6f8) !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-card-head p, .mc-card-order label, .mc-card-price small, .mc-card-advanced-copy, .mc-card-order .mc-file-later-choice) {
    color: var(--mc-theme-muted, #c2ccd8) !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-choice span, .mc-sticker-choice span) {
    background: var(--mc-theme-surface, #242c35) !important;
    color: var(--mc-theme-text, #f4f6f8) !important;
    border-color: var(--mc-theme-border, #64758a) !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-choice input:checked + span, .mc-sticker-choice input:checked + span) {
    background: #334357 !important;
    color: #ffbdcd !important;
    border-color: #ffbdcd !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-choice input:focus-visible + span, .mc-sticker-choice input:focus-visible + span) {
    outline-color: #9cd4ff !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-card-custom-size, .mc-custom-size, .mc-card-order details, .mc-sticker-order, .mc-sticker-step, .mc-sticker-price, .mc-sticker-chosen, .mc-sticker-custom, .mc-upload-drop, .mc-card-tool, .mc-sticker-tool) {
    background: var(--mc-theme-surface, #242c35) !important;
    color: var(--mc-theme-text, #f4f6f8) !important;
    border-color: var(--mc-theme-border, #64758a) !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-sticker-order label, .mc-sticker-head p, .mc-sticker-note, .mc-sticker-status, .mc-sticker-price small, .mc-sticker-order summary, .mc-upload-copy span) {
    color: var(--mc-theme-muted, #c2ccd8) !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-sticker-title, .mc-sticker-head h2, .mc-sticker-chosen, .mc-card-advanced>summary, .mc-card-advanced-title, .mc-upload-copy strong) {
    color: var(--mc-theme-text, #f4f6f8) !important;
  }
  html[data-mc-shop-theme="dark"] :is(#mcStickerPrice, .mc-sticker-status.error, .mc-sticker-status.is-error) {
    color: #ffbdcd !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-card-tool, .mc-sticker-tool) {
    color: var(--mc-theme-link, #9cd4ff) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-card-advanced>summary::after {
    color: var(--mc-theme-link, #9cd4ff) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-card-advanced>summary:focus-visible {
    outline-color: #9cd4ff !important;
  }
  html[data-mc-shop-theme="dark"] .mc-card-advanced[open]>summary {
    border-bottom-color: var(--mc-theme-border, #64758a) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-sample-close {
    background: #17263b !important;
    color: #ffffff !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-sample-dialog, .mc-sample-dialog h3, .mc-paper-copy strong, .mc-guide-copy strong) {
    color: #17263b !important;
  }
  html[data-mc-shop-theme="dark"] .mc-sample-top p {
    color: #526175 !important;
  }
  html[data-mc-shop-theme="dark"] :is(.mc-sticker-order input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .mc-sticker-order select) {
    background: var(--mc-theme-surface, #242c35) !important;
    color: var(--mc-theme-text, #f4f6f8) !important;
    border-color: var(--mc-theme-border, #64758a) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-order-readiness {
    background: #334357 !important;
    color: var(--mc-theme-text, #f4f6f8) !important;
    border-color: var(--mc-theme-border, #64758a) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-order-readiness-copy strong {
    color: var(--mc-theme-text, #f4f6f8) !important;
  }
  html[data-mc-shop-theme="dark"] .mc-order-readiness-copy span {
    color: var(--mc-theme-muted, #c2ccd8) !important;
  }
  html[data-mc-shop-theme="dark"] #mcOrderReadinessAction {
    background: var(--mc-theme-surface, #242c35) !important;
    color: var(--mc-theme-text, #f4f6f8) !important;
    border-color: var(--mc-theme-border, #64758a) !important;
  }
}
/* Resolve later storefront dropdown rules without altering light mode. */
@media screen {
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .top-header .dropdown-menu a {
    color: var(--mc-theme-text, #f4f6f8) !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .top-header .dropdown-menu a:is(:hover, :focus) {
    color: #ffffff !important;
    background: #334357 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .top-header .dropdown-menu a:focus-visible {
    outline-color: #9cd4ff !important;
  }
}

/* Bright guide surfaces keep dark ink; the outer note uses dark-theme ink. */
@media screen {
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-guide :is(.mc-guide-find, .mc-guide-product, .mc-guide-after) :is(h2, h3) {
    color: #14243c !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-guide a.mc-guide-btn.primary {
    color: #ffffff !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-guide a.mc-guide-btn.secondary {
    color: #14243c !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui .mc-guide .mc-guide-note {
    color: #c4cedc !important;
  }
}

/* Book-order controls only: preserve option values, PDFs and white screens. */
@media screen {
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .AXanchorSelect a.selectedTextBox,
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .AXanchor :is(a.AXanchorIncrease, a.AXanchorDecrease) {
    color: #14243c !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .text-indigo {
    color: #b8bbff !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .shop-product-prices {
    color: #ffb9c0 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) #sit_sel_option .sit_opt_list {
    color: #f4f6f8 !important;
    background-color: #242c35 !important;
    border-color: #64748b !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) #sit_tot_price > span {
    color: #f4f6f8 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) #sit_btn_wish {
    color: #ffffff !important;
    background-color: #334357 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) #mc-book-spine-formula {
    color: #526175 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .mc-cover-editor-box span[style*="background:#f97316"] {
    background: #9a3f04 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .mc-cover-editor-box span[style*="background:#1890ff"] {
    background: #0059a8 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) #btn_open_cover_editor {
    color: #ffffff !important;
    background: #0059a8 !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) #btn_open_cover_editor span {
    color: #ffffff !important;
  }
  html[data-mc-shop-theme="dark"] body.mc-shop-ui #sit_ov:has(#ct_page_1) .mc-cover-editor-box > p:last-child {
    color: #9a3f04 !important;
  }
}

@media screen {
  .mc-language-shell{--ml-bg:#ffffff;--ml-ink:#172033;--ml-muted:#526175;--ml-line:#93a3b7;--ml-selected:#edf3fa;max-width:1280px;margin:0 auto;padding:8px 18px;display:flex;align-items:start;gap:14px;justify-content:flex-end;position:relative;}
  html[data-mc-shop-theme="dark"] .mc-language-shell{--ml-bg:#242c35;--ml-ink:#f4f6f8;--ml-muted:#c4cedc;--ml-line:#8394aa;--ml-selected:#334357;}
  .mc-language-picker{position:relative;flex:0 0 auto;}
  .mc-language-picker summary{list-style:none;display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 12px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-bg);color:var(--ml-ink)!important;cursor:pointer;font-size:14px;font-weight:700;}
  .mc-language-picker summary::-webkit-details-marker{display:none;}
  .mc-language-picker summary small{color:var(--ml-muted)!important;font-size:12px;}
  .mc-language-globe{font-size:19px;line-height:1;}
  .mc-language-menu{position:absolute;right:0;top:calc(100% + 6px);width:290px;max-width:calc(100vw - 36px);padding:8px;background:var(--ml-bg);border:1px solid var(--ml-line);border-radius:8px;box-shadow:0 8px 22px rgba(0,0,0,.18);z-index:1100;}
  .mc-language-menu button{display:flex;align-items:center;gap:12px;min-height:44px;width:100%;padding:8px 10px;border:1px solid transparent;border-radius:5px;text-align:left;background:var(--ml-bg)!important;color:var(--ml-ink)!important;font-size:14px;font-weight:600;cursor:pointer;}
  .mc-language-menu button[aria-pressed="true"],.mc-language-menu button:hover{background:var(--ml-selected)!important;border-color:var(--ml-line);}
  .mc-language-flag{width:24px;height:18px;flex:0 0 24px;filter:none!important;border:1px solid var(--ml-line);}
  .mc-language-more{margin:8px 6px 4px;padding-top:10px;border-top:1px solid var(--ml-line);color:var(--ml-muted)!important;font-size:12px;line-height:1.6;}
  .mc-language-more strong{color:var(--ml-ink)!important;}
  .mc-language-assistance{flex:1;min-width:0;padding:14px 18px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-bg);color:var(--ml-ink)!important;order:-1;}
  .mc-language-assistance h2{margin:0 0 8px;color:var(--ml-ink)!important;font-size:20px;line-height:1.4;font-weight:700;}
  .mc-language-assistance p{margin:0 0 8px;color:var(--ml-muted)!important;font-size:14px;line-height:1.6;overflow-wrap:anywhere;}
  .mc-language-assistance a{color:var(--ml-ink)!important;text-decoration:underline;font-size:14px;font-weight:700;}
  .mc-language-shell [hidden]{display:none!important;}
  .mc-language-shell :is(summary,button,a):focus-visible{outline:3px solid #087f78;outline-offset:2px;}
  html[data-mc-shop-theme="dark"] .mc-language-shell :is(summary,button,a):focus-visible{outline-color:#9cd4ff;}
  @media(max-width:640px){.mc-language-shell{padding:8px 12px;flex-wrap:wrap;}.mc-language-picker{margin-left:auto;}.mc-language-assistance{order:1;flex-basis:100%;padding:12px 14px;}.mc-language-menu{max-width:calc(100vw - 24px);}}
}

/* Book controls only: preserve native values and original AXSelect callbacks. */
@media screen and (max-width:767px) {
  body.mc-shop-ui #sit_ov:has(#ct_page_1) .table { table-layout:fixed; width:100%!important; white-space:normal!important; }
  body.mc-shop-ui #sit_ov:has(#ct_page_1) .table th { width:76px; white-space:normal!important; overflow-wrap:anywhere; }
  body.mc-shop-ui #sit_ov:has(#ct_page_1) .table td { min-width:0; white-space:normal!important; overflow-wrap:anywhere; }
  body.mc-shop-ui #sit_ov:has(#ct_page_1) .table select { width:100%!important; min-width:0; max-width:100%; box-sizing:border-box; }
  body.mc-shop-ui:has(#ct_page_1) #sit_inf .item-info-table .table { table-layout:fixed; width:100%!important; }
  body.mc-shop-ui:has(#ct_page_1) #sit_inf .item-info-table th,
  body.mc-shop-ui:has(#ct_page_1) #sit_inf .item-info-table td { white-space:normal!important; overflow-wrap:anywhere; }
  /* Hide only the desktop hover-zoom overlay; never the original product image. */
  body.mc-shop-ui:has(#ct_page_1) .ZoomContainer { display:none!important; }
}
