/* Cart page only: suppress both the extra in-content brand and the theme header's image logo. */
body.ndc-cart-page .nd-header__logo-heading,body.ndc-cart-page .nd-header__logo{display:none!important}
.ndc-shell{--ndc-blue:#176ab3;--ndc-navy:#153956;--ndc-muted:#64788b;--ndc-border:#dce6ef;--ndc-pale:#eef6fc;--ndc-ink:#273e51;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;color:var(--ndc-ink);font-size:15px;line-height:1.8;max-width:1150px;margin:20px auto 50px;padding:0 18px;box-sizing:border-box}
.ndc-shell *, .ndc-shell *::before,.ndc-shell *::after{box-sizing:border-box}
.ndc-shell a{color:#1664a6;text-decoration:none}.ndc-shell a:hover{text-decoration:underline}
.ndc-heading{margin:27px 0 22px}.ndc-heading h1{font-size:29px!important;line-height:1.35!important;color:var(--ndc-navy)!important;border:0!important;margin:0 0 6px!important;padding:0!important}.ndc-heading p{margin:3px 0;color:var(--ndc-muted)}.ndc-kicker{font-size:10px!important;letter-spacing:.22em!important;color:var(--ndc-blue)!important;font-weight:800}
.ndc-cols{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:22px;align-items:start}.ndc-main{min-width:0;display:grid;gap:17px}.ndc-panel{background:#fff;border:1px solid #dee7ef;border-radius:14px;padding:23px 27px;box-shadow:0 6px 24px rgba(36,74,111,.04)}
.ndc-section-title{display:flex;align-items:center;gap:11px;margin-bottom:20px}.ndc-section-title h2,.ndc-aside h2{font-size:18px!important;color:#234e74!important;font-weight:750!important;border:0!important;padding:0!important;margin:0!important;background:none!important}.ndc-counter{border-radius:9px;background:var(--ndc-pale);color:var(--ndc-blue);font-weight:800;width:29px;height:29px;display:grid;place-items:center;font-size:14px}
.ndc-item{display:flex;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #edf0f3}.ndc-thumb{width:74px;height:78px;flex:none;background:#f5f8fb;border:1px solid #edf0f4;border-radius:10px;display:grid;place-items:center;overflow:hidden}.ndc-thumb img{object-fit:contain;max-width:100%;max-height:100%}.ndc-thumb span{font-size:12px;color:var(--ndc-muted)}.ndc-item-name{min-width:0;flex:1}.ndc-item-name>a{display:block;font-weight:750;color:#214b70;line-height:1.55}.ndc-item-name small{display:block;color:var(--ndc-muted);font-size:12px;line-height:1.6}.ndc-item-side{display:flex;align-items:flex-end;flex-direction:column;gap:7px;min-width:105px}.ndc-item-side label{font-size:12px;color:var(--ndc-muted)}.ndc-item-side select{border:1px solid var(--ndc-border);border-radius:7px;background:white;padding:4px 8px;margin-left:4px;min-width:68px;color:var(--ndc-ink)}.ndc-item-side strong{font-size:17px;color:#21496a}.ndc-cart-actions{display:flex;justify-content:flex-end;margin-top:10px}
.ndc-secondary{background:#fff!important;color:#1d5d96!important;border:1px solid #b9d1e6!important;border-radius:8px!important;padding:8px 15px!important;box-shadow:none!important;font-size:13px!important;font-weight:700!important;min-height:39px}
.ndc-help{margin-top:-6px;color:var(--ndc-muted);font-size:13px}.ndc-payment{padding:14px 16px;border:1px solid var(--ndc-border);border-radius:11px;display:flex;align-items:center;gap:12px;cursor:pointer;margin-top:9px;min-height:66px;background:#fff;transition:border-color .12s,background .12s}.ndc-payment input{accent-color:var(--ndc-blue);width:18px;height:18px;flex:none}.ndc-payment-text{display:flex;flex-direction:column;flex:1}.ndc-payment-text strong{font-size:15px;color:#244b6c}.ndc-payment-text small{font-size:12px;color:var(--ndc-muted);line-height:1.4}.ndc-payment.is-selected{border:2px solid var(--ndc-blue);background:#f2f8fd;padding:13px 15px}.ndc-payment.is-disabled{opacity:.52;cursor:not-allowed;background:#f5f6f7}.ndc-unavailable{background:#e5e8ea;color:#4c6072;border-radius:15px;padding:3px 8px;font-size:11px;white-space:nowrap}
.ndc-field{margin:0 0 17px}.ndc-field>label{display:block;color:#2f4e67;font-weight:700;font-size:14px;margin-bottom:6px}.ndc-field em{font-style:normal;font-size:10px;color:#fff;background:#bd3d48;padding:2px 7px;border-radius:4px;margin-left:6px}.ndc-field input,.ndc-field textarea{width:100%;max-width:100%;margin:0;border:1px solid #cbd9e5;border-radius:8px;padding:11px 12px;background:#fff;color:#233d52;font-size:15px;line-height:1.55;box-shadow:none;outline-offset:3px}.ndc-field input:focus,.ndc-field textarea:focus{border-color:var(--ndc-blue);outline:2px solid #95caed}.ndc-field input::placeholder,.ndc-field textarea::placeholder{color:#92a1b0;opacity:1}.ndc-address-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.ndc-field>small{color:var(--ndc-muted);font-size:12px;display:block;margin-top:4px}.ndc-optional{font-size:11px;color:var(--ndc-muted);font-weight:500}
.ndc-wallet-note{padding:13px 16px;background:#eff6fc;border-radius:8px;font-size:13px;color:#245879}.ndc-bank-note{padding:13px 16px;background:#eff6fc;border:1px solid #d7e9f5;border-radius:9px;color:#2a5878;font-size:13px;white-space:normal}.ndc-notices{margin:0 0 18px 0!important;padding:0 0 0 20px!important;color:#526d83;font-size:13px;list-style:disc!important}.ndc-notices li{margin-bottom:7px}.ndc-consent{display:flex;gap:10px;align-items:flex-start;color:#29475f;font-size:14px;font-weight:700}.ndc-consent input{accent-color:var(--ndc-blue);flex:none;width:18px;height:18px;margin-top:5px}.ndc-primary{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:9px;background:#1261a5!important;color:#fff!important;font-size:15px;font-weight:700;padding:14px 20px;min-height:49px;text-align:center;text-decoration:none!important;cursor:pointer}.ndc-primary:hover{background:#0d477e!important}.ndc-primary:disabled{background:#8b9fae!important;cursor:not-allowed}.ndc-submit{width:100%;margin-top:20px}.ndc-footnote{font-size:12px;color:var(--ndc-muted);text-align:center;margin:10px 0 0}.ndc-alert{border:1px solid #f0d5ac;background:#fff8ee;color:#855b21;padding:13px 15px;border-radius:8px;margin:15px 0;font-size:13px}
.ndc-aside{position:sticky;top:30px}.ndc-aside .ndc-panel{padding:20px}.ndc-aside h2{margin-bottom:15px!important}.ndc-total-row{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf1f5;font-size:14px}.ndc-total-row strong{font-weight:750}.ndc-total-row.ndc-grand{border-top:1px solid var(--ndc-border);border-bottom:0;margin-top:8px;padding-top:14px;font-weight:700;font-size:16px}.ndc-total-row.ndc-grand strong{font-size:23px;color:#145b95}.ndc-tax{text-align:right;font-size:12px;color:var(--ndc-muted);margin:0 0 12px}.ndc-aside hr{border:0;border-top:1px solid var(--ndc-border)}.ndc-aside small{font-size:11px;color:var(--ndc-muted);line-height:1.7}
.ndc-receipt{max-width:700px;margin:20px auto 35px;text-align:center}.ndc-receipt h2{font-size:23px!important;color:#174f7c!important;border:0!important}.ndc-receipt-number{background:#eff6fc;border-radius:9px;padding:12px 16px;margin:20px 0}.ndc-receipt .ndc-bank-note{text-align:left;white-space:normal}
.ndc-honey{position:absolute!important;left:-100000px!important;top:-100000px!important;opacity:0!important;height:1px!important;width:1px!important;overflow:hidden!important}
.ndc-buy-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ndc-buy-form select{border:1px solid #a7bdd0;border-radius:6px;min-width:68px;padding:9px;background:#fff;color:#284658}.ndc-cart-button{border-radius:6px!important;background:#176ab3!important;color:white!important;font-weight:700!important;border:0!important;padding:11px 18px!important;min-height:42px}.ndc-soldout{font-size:13px;color:#8b5360}
.ndc-shell [hidden]{display:none!important}
@media(max-width:850px){.ndc-cols{grid-template-columns:1fr;gap:15px}.ndc-aside{position:static;grid-row:1}.ndc-main{gap:15px}.ndc-aside .ndc-panel{padding:17px 20px}}
@media(max-width:520px){.ndc-shell{padding:0 10px;font-size:14px;margin:10px auto 36px}.ndc-panel{border-radius:11px;padding:16px 14px}.ndc-heading{margin:18px 0}.ndc-heading h1{font-size:23px!important}.ndc-item{gap:9px;align-items:flex-start}.ndc-thumb{width:56px;height:65px}.ndc-item-name a{font-size:13px}.ndc-item-side{min-width:78px}.ndc-item-side strong{font-size:14px}.ndc-address-grid{grid-template-columns:1fr}.ndc-unavailable{font-size:10px}.ndc-payment-text strong{font-size:14px}.ndc-section-title h2{font-size:16px!important}.ndc-item-name small{font-size:11px}.ndc-receipt{padding:20px 14px}}


/* v0.1.4 — Hybrid Theme purchase button. Keep exactly one CTA in JoyCart's slot. */
.nd-single-product .cart_area .cart_btn,
.cart_area .cart_btn {box-sizing:border-box; width:100%; max-width:100%;}
.nd-single-product .cart_area .cart_btn .ndc-buy-form,
.cart_area .cart_btn .ndc-buy-form {
  display:block!important; box-sizing:border-box!important; width:100%!important;
  max-width:none!important; margin:0!important; padding:0!important;
  float:none!important; visibility:visible!important; opacity:1!important;
}
.ndc-buy-form .ndc-quantity-row {
  display:flex; align-items:center; gap:10px; padding:2px 0 10px;
  box-sizing:border-box; width:100%; max-width:100%;
}
.ndc-buy-form .ndc-quantity-row label {font-weight:700; font-size:14px; color:#334f68; white-space:nowrap;}
.nd-single-product .cart_area .cart_btn .ndc-buy-form select,
.cart_area .cart_btn .ndc-buy-form select,
.ndc-buy-form .ndc-quantity-row select {
  display:inline-block!important; width:86px!important; max-width:86px!important;
  min-width:0!important; height:38px!important; padding:5px 10px!important;
  margin:0!important; border:1px solid #b3c6db!important; border-radius:6px!important;
  background:#fff!important; color:#254967!important; font-size:15px!important;
}
.nd-single-product .cart_area .cart_btn button.ndc-cart-button-image,
.cart_area .cart_btn button.ndc-cart-button-image,
.ndc-cart-unavailable button.ndc-cart-button-image,
.ndc-buy-form button.ndc-cart-button-image {
  box-sizing:border-box!important; display:block!important; width:100%!important;
  min-width:0!important; max-width:none!important;
  height:clamp(50px, 11vw, 60px)!important; min-height:50px!important;
  padding:0!important; margin:0!important;
  border:0!important; border-radius:7px!important;
  background-color:#0b57bd!important;
  background-image:url('cart-button.webp')!important;
  background-repeat:no-repeat!important; background-size:100% 100%!important;
  background-position:center!important;
  font-size:0!important; line-height:0!important;
  color:transparent!important; cursor:pointer!important;
  appearance:none!important; -webkit-appearance:none!important;
  box-shadow:0 2px 7px rgba(17,65,122,.12)!important;
  overflow:hidden!important; opacity:1!important; visibility:visible!important;
  transition:filter .12s ease, transform .12s ease;
}
.ndc-buy-form button.ndc-cart-button-image:hover{filter:brightness(1.035);}
.ndc-buy-form button.ndc-cart-button-image:active{transform:translateY(1px);}
.ndc-buy-form button.ndc-cart-button-image:focus-visible{outline:3px solid #5faee5!important;outline-offset:3px!important;}
.ndc-cart-button-image .ndc-button-text {
  position:absolute!important; width:1px!important; height:1px!important;
  margin:-1px!important; padding:0!important; overflow:hidden!important;
  clip:rect(0,0,0,0)!important; white-space:nowrap!important;
  border:0!important;
}
.ndc-cart-unavailable{width:100%;max-width:100%;}
.ndc-cart-unavailable button.ndc-cart-button-image{opacity:.5!important;filter:grayscale(.3);cursor:not-allowed!important;}
.ndc-cart-unavailable .ndc-soldout{margin:8px 0 0;font-size:13px;color:#8b5360;}
/* A template is inert even if the theme's legacy styles target buttons/forms. */
#ndc-product-slot-template{display:none!important;}
@media (max-width:520px) {
  .nd-single-product .cart_area .cart_btn button.ndc-cart-button-image,
  .cart_area .cart_btn button.ndc-cart-button-image,
  .ndc-buy-form button.ndc-cart-button-image {height:50px!important;}
}

/* v0.1.5: repair-form-style postcode + address, always vertically stacked. */
.ndc-shell .ndc-address-group .ndc-address-title {font-weight:700;color:#2f4e67;font-size:14px;margin-bottom:9px;line-height:1.6;}
.ndc-shell .ndc-address-group .ndc-address-grid {display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;width:100%;}
.ndc-shell .ndc-address-grid input {display:block!important;width:100%!important;max-width:100%!important;margin:0!important;}
.ndc-shell .ndc-visually-hidden {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
.ndc-shell #ndc-zip-feedback {display:block;font-size:12px;color:#a12a2a;line-height:1.4;margin:0;}
.ndc-shell #ndc-zip-feedback[hidden] {display:none!important;}
/* v0.1.5: forms-style hover and pressed states, including touch interaction. */
.ndc-buy-form button.ndc-cart-button-image:not(:disabled) {
  transition:filter .16s ease, transform .12s ease, box-shadow .16s ease!important;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
@media (hover:hover) and (pointer:fine) {
 .cart_area .cart_btn .ndc-buy-form button.ndc-cart-button-image:not(:disabled):hover,
 .ndc-buy-form button.ndc-cart-button-image:not(:disabled):hover {filter:brightness(.94) saturate(1.01)!important;}
}
.cart_area .cart_btn .ndc-buy-form button.ndc-cart-button-image:not(:disabled):active,
.cart_area .cart_btn .ndc-buy-form button.ndc-cart-button-image.ndc-is-pressed:not(:disabled),
.ndc-buy-form button.ndc-cart-button-image:not(:disabled):active,
.ndc-buy-form button.ndc-cart-button-image.ndc-is-pressed:not(:disabled) {
 filter:brightness(.86) saturate(1.02)!important;
 transform:translateY(1px)!important;
}
.ndc-buy-form button.ndc-cart-button-image:not(:disabled):focus-visible {
 outline:3px solid #89bdf1!important;outline-offset:3px!important;
}
@media (prefers-reduced-motion:reduce) {
 .ndc-buy-form button.ndc-cart-button-image {transition:none!important;}
}

/* Keep the checkout submit CTA consistent with Nokiadou Forms on hover/touch. */
.ndc-shell button.ndc-primary:not(:disabled) {transition:background-color .15s ease, transform .12s ease;touch-action:manipulation;}
.ndc-shell button.ndc-primary:not(:disabled):hover {background-color:#104d81!important;}
.ndc-shell button.ndc-primary:not(:disabled):active {background-color:#093b63!important;transform:translateY(1px);}
.ndc-shell button.ndc-primary:focus-visible {outline:3px solid #89bdf1;outline-offset:3px;}
@media (prefers-reduced-motion:reduce) { .ndc-shell button.ndc-primary {transition:none!important;} }


/* v0.1.7 — Buyer-selected calmer blue CTA and Meiryo checkout actions.
   The product CTA uses the supplied artwork (trimmed only to remove white margins).
   The checkout CTA uses real browser text to keep labels responsive and accessible. */
.ndc-shell .ndc-primary,
.ndc-shell button.ndc-primary,
.ndc-shell a.ndc-primary {
  -webkit-appearance:none!important;
  appearance:none!important;
  box-sizing:border-box!important;
  background-color:#166dd1!important;
  background-image:linear-gradient(to bottom,#4faff2 0%,#2992e7 32%,#1775db 67%,#1265d7 100%)!important;
  border:2px solid #0b58b9!important;
  border-radius:8px!important;
  box-shadow:0 2px 6px rgba(25,68,120,.15)!important;
  color:#fff!important;
  font-family:Meiryo,"メイリオ","Yu Gothic",sans-serif!important;
  font-size:17px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  line-height:1.4!important;
  text-shadow:none!important;
  min-height:52px;
  transition:background-image .16s ease,filter .16s ease,transform .12s ease,box-shadow .16s ease!important;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
/* Preserve a visible but gentle hover on pointer devices. */
@media (hover:hover) and (pointer:fine) {
  .ndc-shell .ndc-primary:not(:disabled):hover,
  .ndc-shell button.ndc-primary:not(:disabled):hover,
  .ndc-shell a.ndc-primary:hover {
    background-image:linear-gradient(to bottom,#409edf 0%,#1d80d7 46%,#1057bb 100%)!important;
    filter:none!important;
    box-shadow:0 3px 8px rgba(25,68,120,.19)!important;
  }
}
.ndc-shell .ndc-primary:not(:disabled):active,
.ndc-shell button.ndc-primary:not(:disabled):active,
.ndc-shell a.ndc-primary:active {
  background-image:linear-gradient(to bottom,#318bd1 0%,#176ac4 48%,#0b4ba7 100%)!important;
  transform:translateY(1px)!important;
}
.ndc-shell button.ndc-primary:disabled {
  /* In verification mode, show the blue style while retaining disabled behavior. */
  background-image:linear-gradient(to bottom,#4faff2 0%,#2992e7 32%,#1775db 67%,#1265d7 100%)!important;
  background-color:#166dd1!important;
  border-color:#0b58b9!important;
  color:#fff!important;
  box-shadow:none!important;
  opacity:.57!important;
  cursor:not-allowed!important;
  transform:none!important;
  filter:none!important;
}
.ndc-shell .ndc-primary:focus-visible {
  outline:3px solid #89bdf1!important;
  outline-offset:3px!important;
}
@media (prefers-reduced-motion:reduce){
  .ndc-shell .ndc-primary{transition:none!important;}
}
