/* Shared ordinary-purchase detail: source photos, real variants and checkout are retained. */
.b7-buy-sheet .b7-buy-product .b7-buy-footer .b7-buy-actions .b7-buy-now{background:var(--md-brand)!important;background-image:var(--md-brand)!important;color:#526672!important;box-shadow:inset 0 1px 0 #ffffff70!important}
.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice{flex-direction:row!important}.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice>span{text-align:left}.md-selection-quantity{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.b7-buy-sheet .md-selection-quantity .b7-buy-selection{flex:1;min-width:0;margin:0}.b7-buy-sheet .md-selection-quantity .b7-buy-quantity{flex:none;margin:0}
.phone .cat-actionbar.md-actions-ready>.md-product-actions{display:grid!important;grid-template-columns:1fr 1.1fr!important;gap:10px!important;width:100%!important;min-width:0!important;flex:1!important}.phone .cat-actionbar.md-actions-ready .md-product-actions>button{min-width:0!important;width:100%!important;margin:0!important;min-height:47px!important;height:47px!important}.b7-buy-sheet .b7-buy-close{color:#f4f6f8!important}
.md-service-bar svg,.md-delivery-row svg{width:17px;height:17px;flex:none}.md-gift-button{display:flex;align-items:center;justify-content:center;gap:6px}
:root{--md-ink:#3a3d42;--md-muted:#7d828c;--md-bg:#fff;--md-soft:#faf9fc;--md-line:#ece8f0;--md-brand:linear-gradient(110deg,#f1d7e5,#e7e1ed 47%,#c8e8ed);--md-choice:linear-gradient(110deg,#f4ebf4,#e9f5f5);--md-guide:linear-gradient(110deg,rgb(97 90 100 / .7) 0%,rgb(85 95 105 / .7) 48%,rgb(65 105 114 / .7) 100%)}
html[data-theme=dark]{--md-ink:#e6e7ed;--md-muted:#b8bec9;--md-bg:#303b49;--md-soft:#343e4d;--md-line:#55566b;--md-choice:linear-gradient(110deg,#4e4359,#3b535e);--md-guide:linear-gradient(110deg,rgb(62 53 71 / .7),rgb(48 64 78 / .7) 48%,rgb(33 70 81 / .7))}
.phone .cat-detail[data-md-ready] .cat-intro{padding:14px 17px 18px;background:var(--md-bg)}
.phone .cat-detail[data-md-ready] .cat-brand-line{margin-bottom:7px;color:var(--md-muted)}
.md-title-row{display:flex;align-items:center;gap:12px;margin-bottom:8px}.md-title-row h2{flex:1;min-width:0}
.md-title-buy{flex:none;border:1px solid #e1d8e4;border-radius:22px;padding:8px 14px;background:var(--md-brand);color:#526672;font:inherit;font-size:11px;white-space:nowrap;min-height:36px}
.phone .cat-detail[data-md-ready] .sp-detail-price{display:block;padding:0;margin:0 0 7px}.phone .cat-detail[data-md-ready] .sp-detail-price>small{display:block;margin:2px 0 0;font-size:10px}.phone .cat-detail[data-md-ready] .sp-detail-price>.b7-price-select{display:none}
.phone .cat-detail[data-md-ready] .mp-label-detail{display:none}
.md-popularity{display:flex;align-items:center;flex-wrap:wrap;gap:7px 9px;margin-top:12px;color:var(--md-muted);font:11px/1.7 'Noto Sans JP',sans-serif}
.md-popularity-tag{display:inline-flex;align-items:center;white-space:nowrap;padding:3px 8px;border-radius:7px;background:var(--md-choice);color:#80718b;font-size:10px;letter-spacing:.02em}.md-popularity[data-kind=popular] .md-popularity-tag{background:linear-gradient(110deg,#f6dfe6,#e0f1f2);color:#965d73}.md-popularity-copy{font-size:10px}
.md-service-bar{background:var(--md-guide);color:#f0f3f5}.md-service-bar button{width:100%;display:flex;align-items:center;gap:7px;border:0;background:transparent;color:inherit;padding:10px 14px;min-height:42px;font:11px/1.5 'Noto Sans JP',sans-serif;text-align:left}.md-service-mark{font-size:18px}.md-chevron{margin-left:auto;flex:none;font-size:18px}
.md-delivery-row{display:flex;background:var(--md-bg);min-height:64px;overflow:hidden}.md-delivery-row button{border:0;font-family:inherit;font-size:11px}.md-address-button{flex:1;min-width:0;display:flex;align-items:center;gap:8px;background:var(--md-bg);color:var(--md-ink);text-align:left;padding:10px 13px}.md-address-button>span:nth-child(2){min-width:0}.md-address-button strong{display:block;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.md-address-button small{display:block;font-size:9px;line-height:1.5;color:var(--md-muted);margin-top:2px}.md-location-mark{font-size:18px;flex:none;color:#8b7a94}.md-gift-button{flex:none;padding:8px 12px;min-width:106px;border-radius:0 0 0 23px;background:var(--md-choice);color:#82718f;white-space:nowrap}
.phone .cat-detail .cat-actionbar.md-actions-ready{padding:9px 13px!important;min-height:68px!important;height:auto!important;background:var(--md-bg)}.phone .cat-actionbar.md-actions-ready>div:not(.md-product-actions),.phone .cat-actionbar.md-actions-ready>.np-add{display:none!important}.md-product-actions{display:grid;grid-template-columns:1fr 1.1fr;gap:10px;width:100%}.md-product-actions>button{min-height:47px;border-radius:24px;font:12px 'Noto Sans JP',sans-serif}.md-add{background:var(--md-bg);color:#887496;border:1px solid #dfd1e7}.md-buy{background:var(--md-brand);color:#526672;border:1px solid #d9e5e9}
dialog.b7-buy-sheet{padding:0!important;border-radius:23px!important;overflow:hidden!important;background:var(--md-bg)!important;color:var(--md-ink)}.b7-buy-sheet .b7-buy-product{padding:0;background:var(--md-bg);max-height:var(--b7-sheet-max-height,86dvh)}
.b7-buy-sheet .b7-buy-header{height:0;padding:0;border:0;position:relative;z-index:2}.b7-buy-sheet .b7-buy-header h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.b7-buy-sheet .b7-buy-close{position:absolute;top:2px;right:5px;color:#f1f3f6;background:none;font-size:26px!important;min-width:38px;min-height:38px;border:0}
.b7-buy-sheet .md-service-bar{padding-right:37px;flex:none}.b7-buy-sheet .md-service-bar button{padding-block:9px;min-height:42px;font-size:10px}
.b7-buy-sheet .b7-buy-scroll{padding:0!important;background:var(--md-soft);overflow-y:auto;min-height:0}.b7-buy-sheet .b7-buy-summary{padding:14px 13px 9px;margin:0;gap:12px;align-items:flex-start;background:var(--md-bg)}.b7-buy-sheet .b7-buy-photo{width:78px;min-width:78px;height:103px;border-radius:4px;border:1px solid var(--md-line);overflow:hidden}.b7-buy-sheet .b7-buy-photo img{width:100%;height:100%;object-fit:cover}.b7-buy-sheet .b7-buy-summary>div{flex:1;min-width:0}.b7-buy-sheet .b7-buy-brand{font-size:9px;letter-spacing:.9px;color:var(--md-muted);margin-bottom:3px}.b7-buy-sheet .b7-buy-name{font-size:11px;line-height:1.65;margin-bottom:3px}.b7-buy-sheet .b7-buy-price{font:550 28px/1.2 Arial,sans-serif;letter-spacing:-.7px;color:var(--md-ink)}.b7-buy-sheet .md-price-tax{font-size:9px;color:var(--md-muted);margin-left:6px}.b7-buy-sheet .b7-buy-selection{font-size:10px;margin-top:7px;color:var(--md-muted)}
.b7-buy-sheet .b7-buy-quantity{margin:7px 0 0;padding:0;justify-content:flex-end;gap:0}.b7-buy-sheet .b7-buy-quantity>span{display:none}.b7-buy-sheet .b7-buy-quantity>div{display:flex;gap:0;border-radius:18px;overflow:hidden;background:var(--md-choice);align-items:center}.b7-buy-sheet .b7-buy-quantity button{border:0;min-width:31px;height:29px;min-height:29px;padding:0;background:transparent;font-size:18px;color:#887496}.b7-buy-sheet .b7-buy-quantity span{min-width:24px;text-align:center;font-size:11px}
.b7-buy-sheet .md-popularity{margin:0;padding:4px 13px 13px;background:var(--md-bg)}.b7-buy-sheet .b7-buy-groups{padding:13px 13px 3px}.b7-buy-sheet .b7-buy-group{margin:0 0 16px;padding:0;border:0}.b7-buy-sheet .b7-buy-group legend{font-size:11px;color:var(--md-muted);margin:0 0 8px}.b7-buy-sheet .b7-buy-options{display:flex;flex-wrap:wrap;gap:8px}.b7-buy-sheet .b7-buy-choice{border:1px solid var(--md-line);border-radius:20px;min-width:50px;min-height:40px;padding:9px 15px;background:var(--md-bg);color:var(--md-ink);font:11px/1.5 'Noto Sans JP',sans-serif}.b7-buy-sheet .b7-buy-choice[aria-pressed=true]{background:var(--md-choice);border-color:#cfc1d9;box-shadow:inset 0 1px 0 #ffffff66}.b7-buy-sheet .b7-buy-choice:disabled{opacity:.42}.b7-buy-sheet .b7-buy-illustrated{display:flex;flex-direction:column}.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice{width:100%;display:flex;align-items:center;gap:10px;text-align:left;border-radius:12px;padding:5px 10px 5px 5px;min-height:51px}.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice img{width:32px;height:40px;object-fit:cover;border-radius:7px}.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice>span{flex:1}.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice[aria-pressed=true]::after{content:'✓';margin-left:auto;color:#887496}.b7-buy-sheet .b7-buy-illustrated .b7-buy-choice small{font-size:10px}
.b7-buy-sheet .b7-buy-footer{padding:0 13px max(12px,env(safe-area-inset-bottom))!important;background:var(--md-bg);border-color:var(--md-line)}.md-payment-note{font:10px/1.6 'Noto Sans JP',sans-serif;color:var(--md-muted);text-align:center;padding:9px 0}.b7-buy-sheet .b7-buy-actions{gap:9px}.b7-buy-sheet .b7-buy-actions button{min-height:49px;border-radius:25px!important;font-size:12px!important}.b7-buy-sheet .b7-buy-add{border-color:#dfd1e7!important;color:#887496!important;background:var(--md-bg)!important}.b7-buy-sheet .b7-buy-now{background:var(--md-brand)!important;color:#526672!important;border-color:#dce5e8!important}.b7-buy-sheet .b7-buy-hint{padding-top:8px;font-size:10px}.b7-buy-sheet .b7-buy-details{font-size:10px;margin-top:5px}.b7-buy-sheet .b7-buy-feedback{font-size:11px}
.md-info-dialog{padding:0;box-sizing:border-box;width:min(440px,calc(100% - 26px));max-height:86dvh;border:1px solid var(--md-line);border-radius:22px;background:var(--md-bg);color:var(--md-ink);font-family:'Noto Sans JP',sans-serif;overflow:auto}.md-info-dialog::backdrop{background:#25243166;backdrop-filter:blur(3px)}.md-info-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid var(--md-line);position:sticky;top:0;background:var(--md-bg);z-index:1}.md-info-header h2{font-size:15px;font-weight:500;margin:0}.md-info-close{font-size:25px;min-width:38px;min-height:38px;border:0;background:transparent;color:var(--md-muted)}.md-info-content{padding:8px 18px 22px}.md-service-section{padding:13px 0;border-bottom:1px solid var(--md-line)}.md-service-section h3{font-size:13px;font-weight:500;margin:0 0 8px}.md-service-section p{font-size:12px;line-height:1.9;color:var(--md-muted);margin:0}.md-service-links{display:grid;gap:14px;padding-top:20px}.md-service-links a{font-size:12px;color:#74818f}.md-solid-button{display:block;width:100%;box-sizing:border-box;border:1px solid #dfe2e8;border-radius:24px;background:var(--md-brand);color:#526672;padding:13px 18px;font:12px 'Noto Sans JP',sans-serif;text-align:center;text-decoration:none;margin-top:16px}.md-address-form{display:grid;gap:12px;padding-top:10px}.md-address-form label{display:grid;gap:5px}.md-address-form label>span{font-size:11px;color:var(--md-muted)}.md-address-form input,.md-address-form select{box-sizing:border-box;width:100%;min-height:44px;background:var(--md-soft);color:var(--md-ink);border:1px solid var(--md-line);border-radius:9px;font:16px 'Noto Sans JP',sans-serif;padding:9px}.md-address-note{font-size:11px;line-height:1.8;color:var(--md-muted);margin:3px 0}
@media(min-width:1000px){.phone .cat-detail[data-md-ready] .cat-product-info{background:var(--md-bg)}.phone .cat-detail[data-md-ready] .md-service-bar{border-radius:12px;margin:0 16px 12px}.b7-buy-sheet .b7-buy-photo{width:88px;min-width:88px;height:110px}}
@media(max-width:359px){.md-title-buy{padding:7px 10px;font-size:10px}.md-gift-button{min-width:99px;font-size:10px}.md-address-button{padding-inline:10px;gap:6px}.md-popularity{gap:5px 7px}.md-popularity-copy{font-size:9px}.b7-buy-sheet .md-service-bar button{font-size:9px;gap:4px}.b7-buy-sheet .b7-buy-photo{width:65px;min-width:65px;height:92px}.b7-buy-sheet .b7-buy-price{font-size:25px}}
@media(pointer:coarse){.md-title-buy,.md-delivery-row button,.md-service-bar button,.b7-buy-sheet .b7-buy-choice,.b7-buy-sheet .b7-buy-quantity button{min-height:44px}}

/* The service strip belongs to the purchase sheet, not the product body. */
.phone .cat-detail[data-md-ready] .cat-product-info>.md-service-bar{display:none!important}

/* Keep the service header translucent through the sheet; body panels own their fill. */
dialog.b7-buy-sheet,dialog.b7-buy-sheet[open] .b7-buy-product{background:transparent!important}

/* Keep the shared service header in one row on desktop as well. */
@media (min-width:1000px){
  html:not(.meiai-native) dialog.b7-buy-sheet .b7-buy-header{display:block;flex:0 0 0;height:0;min-height:0;padding:0!important;border:0;background:transparent!important;position:relative;overflow:visible;z-index:2}
  html:not(.meiai-native) dialog.b7-buy-sheet .b7-buy-header h2{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  html:not(.meiai-native) dialog.b7-buy-sheet .b7-buy-header .b7-buy-close{display:grid;place-items:center;position:absolute;top:0;right:4px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:0;background:transparent;color:#f4f6f8!important;box-shadow:none;font-size:26px!important;line-height:1;z-index:2}
  html:not(.meiai-native) dialog.b7-buy-sheet .md-service-bar button{min-height:44px}
}
