/* Route owner: /shop/cart. Design05 structure mapped onto ECforce JS-bound markup. */
.p-cart_content__inner__product,.p-cart_content__inner__side,.p-cart_content__inner__gift{grid-area:auto}
#cart-show-view .t-cart_flash:empty{display:none}
#cart-show-view .t-cart_body{margin:0}
#cart-show-view .p-cart_content{border:0;background:transparent}
#cart-show-view .ct-wrap{max-width:1200px;margin:0 auto;padding:36px 20px 72px;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start;grid-template-areas:none}
#cart-show-view .ct-title{grid-column:1/-1;font-family:'Noto Serif JP',serif;font-size:22px;line-height:1.5;margin:0 0 22px;color:var(--ink)}
#cart-show-view .ct-list{grid-column:1;background:#fff;border:1px solid var(--line);padding:0;margin:0}
#cart-show-view .ct-row{display:grid;grid-template-columns:88px minmax(0,1fr) 132px 90px;grid-auto-rows:auto;gap:4px 18px;align-items:center;padding:18px 22px;border:0;border-bottom:1px solid var(--line);background:#fff}
#cart-show-view .ct-row:last-child{border-bottom:0}
#cart-show-view .ct-row .ph{grid-column:1;grid-row:1/6;width:88px;height:88px;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;overflow:hidden}
#cart-show-view .ct-row .ph .c-cart_item__img__inner{width:85%;height:85%;background-position:center;background-repeat:no-repeat;mix-blend-mode:multiply}
#cart-show-view .c-cart_item__info{display:contents}
#cart-show-view .c-cart_item__info__category{grid-column:2;grid-row:1;font-size:11px;color:var(--gray);margin:0}
#cart-show-view .c-cart_item__info__title{grid-column:2;grid-row:2;display:block;font-size:14px;line-height:1.6;color:var(--ink);margin:0;text-decoration:none}
#cart-show-view .c-cart_item__info__variant{grid-column:2;grid-row:3;font-size:11.5px;color:var(--gray);margin:0}
#cart-show-view .c-cart_item__info>.c-product_item__inner__badge{grid-column:2;grid-row:4}
#cart-show-view .c-cart_item__info__quantity{grid-column:3;grid-row:1/6;align-self:center;display:flex;align-items:center;justify-content:center;gap:8px;margin:0}
#cart-show-view .ct-qty{display:grid;grid-template-columns:32px 40px 32px;border:1px solid var(--line);width:max-content}
#cart-show-view .ct-qty .c-order_quantity__minus{grid-column:1;grid-row:1}
#cart-show-view .ct-qty .c-order_quantity__input{grid-column:2;grid-row:1;width:40px;height:34px;border:0;border-left:1px solid var(--line);border-right:1px solid var(--line);text-align:center;font-family:inherit;font-size:13.5px;background:#fff}
#cart-show-view .ct-qty .c-order_quantity__plus{grid-column:3;grid-row:1}
#cart-show-view .ct-qty .c-order_quantity__minus,#cart-show-view .ct-qty .c-order_quantity__plus{width:32px;height:34px;border:0;background:#fff;font-size:15px;cursor:pointer;color:var(--ink)}
#cart-show-view .c-cart_item__info__quantity__submit{font-size:11px;color:var(--gray);text-decoration:underline;background:none;border:0;cursor:pointer;padding:0;white-space:nowrap}
#cart-show-view .c-cart_item__action{display:contents}
#cart-show-view .c-cart_item__action__price{grid-column:4;grid-row:1/6;align-self:center;font-size:15px;font-weight:700;color:var(--ink);min-width:90px;text-align:right}
#cart-show-view .c-cart_item__action__delete{grid-column:2;grid-row:5}
#cart-show-view .c-cart_item__action__delete__btn{font-size:11.5px;color:var(--gray);text-decoration:underline}
#cart-show-view .c-cart_item__action__delete__btn i{display:none}
#cart-show-view .ct-sum{grid-column:2;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);padding:22px 24px;position:sticky;top:120px;margin:0}
#cart-show-view .ct-sum>.c-billing_list{order:1;background:#fff;padding:0;margin:0;border:0}
#cart-show-view .ct-sum>.ct-free{order:2;background:#FDECEA;color:var(--red);font-size:12px;font-weight:700;text-align:center;padding:9px;margin:14px 0}
#cart-show-view .ct-sum>.c-cart_submit{order:3;margin:0;padding:0;border:0}
#cart-show-view .c-billing_list__title{font-size:14.5px;font-weight:700;margin:0 0 14px;padding:0;border:0}
#cart-show-view .c-billing_list__detail__item__row{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;margin:0 0 10px}
#cart-show-view .c-billing_list__detail__item__row__title{color:var(--gray)}
#cart-show-view .c-billing_list__detail__item__row__price{margin:0;text-align:right}
#cart-show-view .c-billing_list__total{border-top:1px solid var(--line);margin-top:12px;padding-top:14px;font-size:15px;font-weight:700;display:flex;justify-content:space-between}
#cart-show-view .c-billing_list__total__price{font-size:20px;color:var(--red)}
#cart-show-view .c-cart_submit__block{margin:0;padding:0;border:0}
#cart-show-view .c-cart_submit__block+.c-cart_submit__block{margin-top:10px}
#cart-show-view .c-cart_submit__block__submit{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:10px 16px;border:1px solid var(--red);border-radius:4px;background:var(--red);color:#fff;font-size:13px;font-weight:700;text-decoration:none}
#cart-show-view .c-cart_submit__block__link{display:flex;align-items:center;justify-content:center;min-height:42px;margin-top:8px;border:1px solid var(--line);color:var(--ink);background:#fff;text-decoration:none}
#cart-show-view .cart_show_login_form{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}
#cart-show-view .c-cart_submit__block__title{font-size:13px;margin:0 0 10px}
#cart-show-view .c-cart_submit__block__input{width:100%;min-height:42px;margin:0 0 8px;padding:8px 10px;border:1px solid var(--line);background:#fff}
#cart-show-view .ct-empty{max-width:720px;margin:0 auto;padding:72px 20px 88px;text-align:center}
#cart-show-view .ct-empty__icon{font-size:38px;line-height:1;margin-bottom:18px}
#cart-show-view .ct-empty__title{font-family:'Noto Serif JP',serif;font-size:24px;line-height:1.5;margin:0 0 12px;color:var(--ink)}
#cart-show-view .ct-empty__text{margin:0 0 26px;color:var(--gray);font-size:13px;line-height:1.8}
#cart-show-view .ct-empty__btn{display:inline-flex;align-items:center;justify-content:center;min-width:220px;min-height:46px;padding:10px 28px;border:1px solid var(--red);background:var(--red);color:#fff;font-size:13px;font-weight:700;text-decoration:none}
@media(max-width:1024px){
 #cart-show-view .ct-wrap{grid-template-columns:1fr;padding:28px 20px 64px;gap:22px}
 #cart-show-view .ct-title,#cart-show-view .ct-list,#cart-show-view .ct-sum{grid-column:1;position:static}
 #cart-show-view .ct-row{grid-template-columns:72px minmax(0,1fr) 90px;gap:5px 14px}
 #cart-show-view .ct-row .ph{width:72px;height:72px;grid-row:1/5}
 #cart-show-view .c-cart_item__info__category,#cart-show-view .c-cart_item__info__title,#cart-show-view .c-cart_item__info__variant{grid-column:2}
 #cart-show-view .c-cart_item__info__quantity{grid-column:2;grid-row:4;justify-content:flex-start;margin-top:7px}
 #cart-show-view .c-cart_item__action__price{grid-column:3;grid-row:1/4}
 #cart-show-view .c-cart_item__action__delete{grid-column:3;grid-row:4;text-align:right}
}
@media(max-width:560px){
 #cart-show-view .ct-wrap{padding:24px 16px 58px}
 #cart-show-view .ct-row{grid-template-columns:68px minmax(0,1fr);padding:14px;gap:5px 12px}
 #cart-show-view .ct-row .ph{width:68px;height:68px;grid-row:1/4}
 #cart-show-view .c-cart_item__action__price{grid-column:2;grid-row:4;text-align:left;margin-top:7px}
 #cart-show-view .c-cart_item__info__quantity{grid-column:1/3;grid-row:5;justify-content:flex-start}
 #cart-show-view .c-cart_item__action__delete{grid-column:1/3;grid-row:6;text-align:left}
 #cart-show-view .ct-sum{padding:20px 18px}
 #cart-show-view .ct-empty{padding:52px 16px 68px}
 #cart-show-view .ct-empty__btn{width:100%;min-width:0}
}

/* KCC-20260819-002..005: cart controls / right rail / login presentation. */
#cart-show-view .ct-qty{
  box-sizing:border-box!important;display:grid!important;grid-template-columns:34px 46px 34px!important;
  align-items:stretch!important;width:114px!important;height:36px!important;margin:0!important;padding:0!important;
  border:1px solid var(--line)!important;background:#fff!important;overflow:hidden!important;
}
#cart-show-view .ct-qty .c-order_quantity__minus,
#cart-show-view .ct-qty .c-order_quantity__plus{
  box-sizing:border-box!important;position:static!important;inset:auto!important;transform:none!important;
  display:flex!important;visibility:visible!important;opacity:1!important;align-items:center!important;justify-content:center!important;
  width:34px!important;height:34px!important;min-width:34px!important;margin:0!important;padding:0!important;
  border:0!important;background:#fff!important;color:var(--ink)!important;line-height:1!important;
}
#cart-show-view .ct-qty .c-order_quantity__minus{grid-column:1!important;grid-row:1!important;border-right:1px solid var(--line)!important}
#cart-show-view .ct-qty .c-order_quantity__input{
  grid-column:2!important;grid-row:1!important;box-sizing:border-box!important;width:46px!important;height:34px!important;
  min-width:0!important;margin:0!important;padding:0 4px!important;border:0!important;background:#fff!important;
  text-align:center!important;line-height:34px!important;appearance:textfield!important;-moz-appearance:textfield!important;
}
#cart-show-view .ct-qty .c-order_quantity__input::-webkit-inner-spin-button,
#cart-show-view .ct-qty .c-order_quantity__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#cart-show-view .ct-qty .c-order_quantity__plus{grid-column:3!important;grid-row:1!important;border-left:1px solid var(--line)!important}
#cart-show-view .ct-qty .c-order_quantity__minus i,
#cart-show-view .ct-qty .c-order_quantity__plus i{display:block!important;position:static!important;margin:0!important;font-size:12px!important;line-height:1!important}

/* Right rail owns separators; suppress inherited nested boxes/dividers. */
#cart-show-view .ct-sum .c-billing_list,
#cart-show-view .ct-sum .c-billing_list__detail,
#cart-show-view .ct-sum .c-billing_list__detail__item,
#cart-show-view .ct-sum .c-cart_submit,
#cart-show-view .ct-sum .c-cart_submit__block{box-sizing:border-box!important;width:100%!important;border-left:0!important;border-right:0!important}
#cart-show-view .ct-sum .c-billing_list__detail__item{padding:12px 0!important;border-top:0!important;border-bottom:1px solid var(--line)!important}
#cart-show-view .ct-sum .c-billing_list__detail__item:last-child{border-bottom:0!important}
#cart-show-view .ct-sum .c-billing_list__detail__item *{max-width:100%}
#cart-show-view .ct-sum .c-cart_submit__block{border:0!important;padding-left:0!important;padding-right:0!important}

/* Cart login: keep EC FORCE inputs/actions, remove outer boxes and add explicit field labels. */
#cart-show-view form#new_customer.c-cart_submit__block{border:0!important;background:transparent!important;padding:0!important}
#cart-show-view form#new_customer .c-form_input{display:block!important;margin:0 0 12px!important;padding:0!important;border:0!important;background:transparent!important}
#cart-show-view form#new_customer .c-form_input:has(input[type="email"])::before,
#cart-show-view form#new_customer .c-form_input:has(input[type="password"])::before{
  display:block;margin:0 0 6px;color:var(--ink);font-size:12px;font-weight:700;line-height:1.5;
}
#cart-show-view form#new_customer .c-form_input:has(input[type="email"])::before{content:"ID（メールアドレス）"}
#cart-show-view form#new_customer .c-form_input:has(input[type="password"])::before{content:"パスワード"}
#cart-show-view form#new_customer .c-cart_submit__block__input{
  box-sizing:border-box!important;width:100%!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;
  border:1px solid var(--line)!important;background:#fff!important;
}


/* KKCART-20260820-W3: cart page alignment and control normalization. */
#cart-show-view > .l-container__row{
  box-sizing:border-box;
  width:100%;
  max-width:1200px;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:20px;
  padding-right:20px;
}
#cart-show-view > .l-container__row.u-margin__top--60{margin-top:32px!important}
#cart-show-view .t-cart_header{
  box-sizing:border-box;
  width:100%;
  margin:0;
  padding:0;
  text-align:left;
  border:0;
  background:transparent;
}
#cart-show-view .t-cart_header__inner{display:flex;align-items:baseline;justify-content:space-between;gap:16px;width:100%;margin:0;padding:0;text-align:left}
#cart-show-view .t-cart_header__title{margin:0!important;padding:0!important;text-align:left!important;font-family:'Noto Serif JP',serif;font-size:22px!important;line-height:1.5;color:var(--ink,#1f1e1c)}
#cart-show-view .t-cart_header__count{margin:0;color:var(--gray,#77736d);font-size:12px;white-space:nowrap}
#cart-show-view .t-checkout_steps{display:none!important}

/* Quantity selector: cart owns the layout regardless of legacy global absolute rules. */
#cart-show-view .c-cart_item__info__quantity .c-order_quantity{
  display:inline-grid!important;
  grid-template-columns:34px 46px 34px!important;
  grid-template-rows:34px!important;
  align-items:stretch!important;
  width:114px!important;
  min-width:114px!important;
  height:36px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--line,#e3e3e3)!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#fff!important;
}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__minus,
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__plus{
  position:static!important;
  inset:auto!important;
  transform:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--ink,#1f1e1c)!important;
  line-height:1!important;
  box-shadow:none!important;
}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__minus{grid-column:1;grid-row:1;border-right:1px solid var(--line,#e3e3e3)!important}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__input{
  grid-column:2!important;
  grid-row:1!important;
  box-sizing:border-box!important;
  width:46px!important;
  min-width:0!important;
  height:34px!important;
  margin:0!important;
  padding:0 4px!important;
  border:0!important;
  border-radius:0!important;
  background:#fff!important;
  text-align:center!important;
  line-height:34px!important;
  appearance:textfield!important;
  -moz-appearance:textfield!important;
  box-shadow:none!important;
}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__input::-webkit-inner-spin-button,
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__plus{grid-column:3;grid-row:1;border-left:1px solid var(--line,#e3e3e3)!important}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__minus i,
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__plus i{display:block!important;position:static!important;inset:auto!important;margin:0!important;line-height:1!important}

/* KKCART-20260820-W4: preserve semantic separation between cart content and footer. */
#cart-show-view>.l-container__row:nth-of-type(2){margin-bottom:56px!important}
#cart-show-view .c-cart_empty,
#cart-show-view .p-cart_empty,
#cart-show-view .c-cart_content--empty{margin-bottom:0!important}
@media(max-width:719px){#cart-show-view>.l-container__row:nth-of-type(2){margin-bottom:40px!important}}

/* KKCART-20260828-HISTORY-PLP-CONTRACT: heading and short history rows stay left-aligned while cards remain PLP-owned. */
#cart-show-view .kk-cart-history__heading{
  width:100%!important;
  justify-content:flex-start!important;
  text-align:left!important;
  margin:0 0 24px!important;
}
#cart-show-view .kk-cart-history--short .p-product_slider{padding-bottom:0!important}
#cart-show-view .kk-cart-history--short .p-product_slider__list:not(.slick-initialized){
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  justify-content:start!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
}
#cart-show-view .kk-cart-history--short .p-product_slider__list:not(.slick-initialized)>.kk-product-carousel__item{
  min-width:0!important;
  width:auto!important;
  margin:0!important;
  padding:0 10px!important;
}
#cart-show-view .kk-cart-history--short .slick-track{
  justify-content:flex-start!important;
  margin-left:0!important;
  margin-right:auto!important;
}
#cart-show-view .kk-cart-history--short .kk-product-carousel__nav{display:none!important}
@media(max-width:1023px){
  #cart-show-view .kk-cart-history--short .p-product_slider__list:not(.slick-initialized){grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:719px){
  #cart-show-view .kk-cart-history__heading{margin-bottom:18px!important}
  #cart-show-view .kk-cart-history--short .p-product_slider__list:not(.slick-initialized){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #cart-show-view .kk-cart-history--short .p-product_slider__list:not(.slick-initialized)>.kk-product-carousel__item{padding:0 6px!important}
}

/* KKCART-20260824-HISTORY-SERVER-SECTION: cart owns only placement; carousel/card live in catalog.css. */
#cart-show-view > .kk-cart-history-slot{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1200px!important;
  margin:48px auto 80px!important;
  padding:0 20px!important;
}
#cart-show-view > .kk-cart-history-slot > section,
#cart-show-view .kk-cart-history{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
@media(max-width:719px){
  #cart-show-view > .kk-cart-history-slot{margin:36px auto 58px!important;padding:0 16px!important}
}

/* KCC-20260827-004 P1: every cart quantity and auxiliary action is a 44px touch target. */
#cart-show-view .c-cart_item__info__quantity .c-order_quantity{
    grid-template-columns:44px 46px 44px!important;
    grid-template-rows:44px!important;
    width:134px!important;
    min-width:134px!important;
    height:46px!important;
}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__minus,
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__plus{
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
}
#cart-show-view .c-cart_item__info__quantity .c-order_quantity__input{
    height:44px!important;
    line-height:44px!important;
}
#cart-show-view .c-cart_item__info__quantity__submit,
#cart-show-view .c-cart_item__action__delete__btn,
#cart-show-view .c-cart_submit__block__link{
    box-sizing:border-box!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    padding:8px 10px!important;
}
/* #11325 EC-FORCE registered-address shipping estimate */
.kk-cart-shipping-estimate{padding:14px 0 4px;border-top:1px solid var(--t-hairline,#e5e1dc)}
.kk-cart-shipping-estimate__row{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
.kk-cart-shipping-estimate__label{font-size:14px;line-height:1.6}
.kk-cart-shipping-estimate__value{font-size:15px;line-height:1.6;text-align:right}
.kk-cart-shipping-estimate__note{margin:6px 0 0;font-size:11px;line-height:1.65;color:var(--t-ink-soft,#6b7076);text-align:right}
.kk-cart-shipping-estimate[data-kokando-shipping-state="loading"] .kk-cart-shipping-estimate__value{font-weight:400}
@media(max-width:767px){.kk-cart-shipping-estimate__note{text-align:left}.kk-cart-shipping-estimate__row{gap:10px}}
