/* Route: catalog (design00/assets/routes/catalog.css, ported verbatim) */
/* Used by: shop/brands, shop/categories, shop/concerns, shop/subscription */
.plp-h{display:flex;align-items:baseline;gap:18px;margin:0 0 28px}
.plp-h h1{font-size:24px;font-weight:700;letter-spacing:.1em;margin:0;padding-left:16px;border-left:5px solid var(--red);line-height:1.3}
.plp-h span{font-size:11px;letter-spacing:.22em;color:#B4AFA6}
.plp-bar{display:grid;grid-template-columns:4fr 1fr;align-items:center;gap:16px;margin:0 0 30px}
.plp-filters{display:flex;gap:10px;flex-wrap:wrap}
.plp-count{text-align:right;font-size:12px;letter-spacing:.06em;color:var(--mute);white-space:nowrap}
.plp-count b{color:var(--ink);font-size:15px;font-weight:700}
@media (max-width:640px){.plp-bar{grid-template-columns:1fr auto}
.plp-count{font-size:11px}}
.plp-filters button{white-space:nowrap;border:1.5px solid var(--line);border-radius:100px;background:#fff;font-family:inherit;font-size:12.5px;font-weight:700;letter-spacing:.08em;padding:8px 22px;cursor:pointer;color:var(--mute);transition:background .2s,border-color .2s,color .2s}
.plp-filters button:hover{border-color:var(--red);color:var(--red)}
.plp-filters button.on{background:var(--red);border-color:var(--red);color:#fff}
#plpEmpty{text-align:center;font-size:13px;color:var(--mute);padding:40px 0;display:none}
@media (max-width:768px){.plp-h h1{font-size:20px}}
.plp-bnrs{display:flex;flex-direction:column;gap:16px;margin-top:44px}
.plp-main{max-width:1200px;margin:0 auto;padding:20px 20px 80px}
@media (max-width:768px){.plp-main{padding:20px 20px 64px}}
.plp-facets{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 20px}
.plp-facets button{font-family:inherit;text-align:left;border:1.5px solid var(--line);border-radius:10px;background:#fff;padding:10px 16px;cursor:pointer;min-width:140px;transition:border-color .15s,background .15s}
.plp-facets button b{display:block;font-size:13px;font-weight:700;color:var(--ink)}
.plp-facets button small{display:block;font-size:10.5px;color:var(--mute);margin-top:2px}
.plp-facets button:hover{border-color:var(--red)}
.plp-facets button.on{border-color:var(--red);background:var(--wash)}
.plp-lead{max-width:760px;margin:0 0 28px;font-size:13.5px;line-height:1.9;color:var(--mute);min-height:1.6em}
.plp-lead a{color:var(--red);text-decoration:underline}


/* Dynamic brand/concern/subscription pages (ECforce Page Management + products_all) */
/* Concern detail uses the same compact hero geometry as category detail. */
.kk-selection-page .kk-concern-hero{box-sizing:border-box;width:100%;max-width:1200px;margin:20px auto 0!important}
.kk-selection-page .kk-concern-hero.has-image{grid-template-columns:200px minmax(0,1fr)!important;min-height:200px!important}
.kk-selection-page .kk-concern-hero .t-cathead__img{box-sizing:border-box;width:200px!important;height:200px!important;min-height:0!important;aspect-ratio:1/1!important;align-self:start!important;background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important}
.kk-selection-page .kk-concern-hero .t-cathead__body{min-height:200px!important;padding:26px 32px!important}
@media(max-width:719px){
 .kk-selection-page .kk-concern-hero,.kk-selection-page .kk-concern-hero.has-image{grid-template-columns:1fr!important;margin:16px 0 0!important;width:100%!important}
 .kk-selection-page .kk-concern-hero .t-cathead__img{width:100%!important;height:auto!important;aspect-ratio:16/9!important;background-position:center 18%!important}
 .kk-selection-page .kk-concern-hero .t-cathead__body{min-height:0!important;padding:20px!important}
}

.kk-selection-page{max-width:1200px;margin:0 auto;padding:20px 20px 80px}
.kk-selection-page>.p-breadcrumbs{max-width:none;margin:0 0 26px!important;padding:0!important}
.kk-selection-page .plp-h{margin:0 0 18px}
.kk-selection-lead,.kk-selection-description{max-width:760px;font-size:13.5px;line-height:2;color:var(--t-ink-soft,#4A4844);margin:0 0 30px}
.kk-taxonomy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.kk-taxonomy-grid--concerns{grid-template-columns:repeat(3,minmax(0,1fr))}
.kk-taxonomy-card{min-height:150px;border:1px solid var(--t-hairline,#E3E0DA);background:#fff;padding:22px;display:flex;flex-direction:column;justify-content:center;gap:8px;color:var(--t-ink,#26231F);text-decoration:none;transition:border-color .18s,transform .18s}
.kk-taxonomy-card:hover{border-color:var(--t-shu,#E60012);transform:translateY(-2px)}
.kk-taxonomy-card img{display:block;max-width:180px;max-height:42px;object-fit:contain;object-position:left center;margin-bottom:8px}
.kk-taxonomy-grid--concerns .kk-concern-card img{width:100%;max-width:none;height:auto;max-height:none;aspect-ratio:1/1;object-fit:cover;object-position:center;margin:0 0 10px}
.plp-facets .plp-facet-thumb{display:block;width:72px;height:72px;object-fit:cover;object-position:center;flex:none;margin:0 10px 0 0}
.kk-taxonomy-card strong{font-size:16px;letter-spacing:.04em}.kk-taxonomy-card span{font-size:12.5px;line-height:1.8;color:var(--t-ink-soft,#6F6C66)}
.kk-selection-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin:28px 0 0!important;padding:0!important;list-style:none!important}
.kk-selection-products__item{width:auto!important;margin:0!important;float:none!important}
.kk-selection-product{height:100%;border:1px solid var(--t-hairline,#E3E0DA);background:#fff;padding:14px;display:flex;flex-direction:column}
.kk-selection-product__image{height:210px;display:flex!important;align-items:center;justify-content:center;background:#fff;position:relative;overflow:hidden}
/* Dynamic catalog cards reuse EC FORCE's media class, whose bundle default is aspect-ratio:3/4 with overflow:hidden.
   Own the geometry here so recommended/subscription/brand cards never crop product artwork. */
.kk-selection-product__image>.c-product_item__inner__eyecatch__img{box-sizing:border-box!important;position:relative!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;overflow:visible!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important}
.kk-selection-product__image>.c-product_item__inner__eyecatch__img>.c-product_item__inner__eyecatch__img__primary{position:static!important;display:block!important;width:auto!important;height:auto!important;max-width:92%!important;max-height:194px!important;transform:none!important;margin:auto!important;object-fit:contain!important;object-position:center!important}
.kk-selection-product__image>.c-product_item__inner__eyecatch__img>.c-product_item__inner__eyecatch__img__hover{display:none!important}
.kk-selection-product__image .kk-soldout-badge{position:absolute;top:8px;left:8px;z-index:2;padding:5px 8px;line-height:1.2}
.kk-selection-product__body{padding:12px 0 0;display:flex;flex-direction:column;gap:8px;flex:1}.kk-selection-product__brand{font-size:10.5px;color:var(--t-ink-soft,#8C8880);margin:0}.kk-selection-product h3{font-size:13.5px;line-height:1.65;margin:0;flex:1}.kk-selection-product h3 a{color:inherit;text-decoration:none}.kk-selection-product h3 a:hover{color:var(--t-shu,#E60012)}
.kk-selection-product .cw-rbtns{display:grid;grid-template-columns:1fr 1fr;gap:7px;position:relative;z-index:2;margin-top:8px}.kk-selection-product .cw-rbtns form{margin:0}.kk-selection-product .cw-rbtns form[hidden]{display:none}.kk-selection-product .cw-rbtns button{width:100%;min-height:40px;border-radius:0;font-size:11px;font-weight:700;cursor:pointer}.kk-selection-product .cw-rbtns .buy{background:var(--t-shu,#E60012);border:1px solid var(--t-shu,#E60012);color:#fff}.kk-selection-product .cw-rbtns .sub2{background:#fff;border:1px solid var(--t-shu,#E60012);color:var(--t-shu,#E60012)}
.kk-selection-empty,.kk-subscription-status{font-size:13px;color:var(--t-ink-soft,#6F6C66);margin:24px 0}.kk-subscription-status.is-ready{display:none}
[data-kokando-subscription-catalog]>.p-product_list__list__item{display:none}
[data-kokando-subscription-catalog]>.p-product_list__list__item[data-kokando-subscription-visible="true"]{display:block}
@media(max-width:900px){.kk-taxonomy-grid--concerns{grid-template-columns:repeat(2,minmax(0,1fr))}.kk-selection-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.kk-selection-page{padding:14px 16px 56px}.kk-taxonomy-grid{grid-template-columns:1fr}.kk-selection-products{gap:10px!important}.kk-selection-product{padding:10px}.kk-selection-product__image{height:170px}.kk-selection-product__image>.c-product_item__inner__eyecatch__img>.c-product_item__inner__eyecatch__img__primary{max-height:158px!important}.kk-selection-product .cw-rbtns{grid-template-columns:1fr}}

.kk-catalog-status{font-size:13px;color:var(--t-ink-soft,#6F6C66);margin:24px 0}
.kk-selection-product__noimage{display:flex;align-items:center;justify-content:center;width:100%;height:100%;color:#999;font-size:11px;background:#f7f7f5}

/* 2026-08-19 category/PLP price alignment */
#product-index-view .cw-prices,.p-product_list .cw-prices{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:end!important;gap:10px!important;width:100%!important;margin:8px 0 12px!important}
#product-index-view .cw-prices p,.p-product_list .cw-prices p{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;gap:3px!important;min-width:0!important;margin:0!important}
#product-index-view .cw-prices .tk,.p-product_list .cw-prices .tk{align-items:flex-end!important;text-align:right!important}
#product-index-view .cw-prices .lbl,.p-product_list .cw-prices .lbl{display:flex!important;align-items:center!important;gap:4px!important;min-height:18px!important;font-size:10.5px!important;line-height:1.3!important;white-space:nowrap!important}
#product-index-view .cw-prices .lbl .sub-off-badge,.p-product_list .cw-prices .lbl .sub-off-badge{color:#fff!important}
#product-index-view .cw-prices .v,.p-product_list .cw-prices .v{font-size:18px!important;font-weight:700!important;line-height:1.25!important;white-space:nowrap!important}
#product-index-view .cw-prices .v small,.p-product_list .cw-prices .v small{font-size:10px!important;font-weight:400!important}
@media(max-width:520px){#product-index-view .cw-prices,.p-product_list .cw-prices{grid-template-columns:1fr!important}#product-index-view .cw-prices .tk,.p-product_list .cw-prices .tk{align-items:flex-start!important;text-align:left!important}}
#product-index-view .cw-prices p[hidden],.p-product_list .cw-prices p[hidden]{display:none!important}

/* KCC-20260819-007/008: PLP card density and brand label. */
#product-index-view .c-product_item__inner__eyecatch,
.p-product_list .c-product_item__inner__eyecatch{
  box-sizing:border-box!important;height:210px!important;aspect-ratio:auto!important;margin:0 0 12px!important;padding:8px!important;
  border:0!important;border-bottom:1px solid var(--t-hairline,#E3E0DA)!important;background:#fff!important;overflow:hidden!important;
}
#product-index-view .c-product_item__inner__eyecatch__image,
#product-index-view .cw-product-image-link,
#product-index-view .c-product_item__inner__eyecatch__img,
.p-product_list .c-product_item__inner__eyecatch__image,
.p-product_list .cw-product-image-link,
.p-product_list .c-product_item__inner__eyecatch__img{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;aspect-ratio:auto!important}
#product-index-view .c-product_item__inner__eyecatch img,
.p-product_list .c-product_item__inner__eyecatch img{display:block!important;width:auto!important;height:auto!important;max-width:92%!important;max-height:194px!important;object-fit:contain!important;object-position:center!important;mix-blend-mode:multiply!important}
#product-index-view .c-product_item__inner__content,
.p-product_list .c-product_item__inner__content{padding-top:0!important}
#product-index-view .cw-product-brand,
.p-product_list .cw-product-brand{
  display:block!important;width:max-content!important;max-width:100%!important;min-height:0!important;margin:0 0 6px!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;color:var(--t-ink-mute,#8C8880)!important;
  font-size:10.5px!important;line-height:1.5!important;text-decoration:none!important;white-space:normal!important;
}
#product-index-view .cw-product-brand:hover,
.p-product_list .cw-product-brand:hover{color:var(--t-shu,#E60012)!important;text-decoration:underline!important}
@media(max-width:640px){
 #product-index-view .c-product_item__inner__eyecatch,.p-product_list .c-product_item__inner__eyecatch{height:170px!important;padding:6px!important;margin-bottom:10px!important}
 #product-index-view .c-product_item__inner__eyecatch img,.p-product_list .c-product_item__inner__eyecatch img{max-height:158px!important}
}

/* KOKANDO-SP-PRODUCT-IMAGE: EC-FORCE turns primary+hover media into a
   swipe rail on touch devices. Product cards intentionally present one
   contained product photo on SP, while PC keeps the standard hover swap. */
@media(max-width:719px){
 .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img{
  transform:none!important;
  transition:none!important;
 }
 .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary{
  position:relative!important;
  flex:0 1 auto!important;
  opacity:1!important;
  z-index:0!important;
 }
 .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__hover{
  display:none!important;
 }
}

/* KK-PRODUCT-CAROUSEL-SSOT: shared by browsing history and future product-carousel consumers. */
.kk-product-carousel{box-sizing:border-box;width:100%;max-width:none;margin:0;padding:0}
.kk-product-carousel .p-product_slider{position:relative!important;width:100%!important;margin:0!important;padding:0 0 36px!important;overflow-x:clip!important;overflow-y:visible!important}
.kk-product-carousel .p-product_slider__list.slick-initialized{position:relative!important;width:100%!important;margin:0!important;padding:0!important}
.kk-product-carousel .slick-list{width:100%!important;margin:0!important;padding:0!important;overflow:hidden!important}
/* Browsing history: keep 1-3 cards on the left edge. Slick defaults the short track to margin:auto. */
.kk-product-carousel .slick-track{display:flex!important;align-items:stretch!important;margin-left:0!important;margin-right:auto!important}
.kk-product-carousel .slick-slide{box-sizing:border-box!important;height:auto!important;margin:0!important;padding:0 10px!important}
/* Keep inner media/divider paint clipped to the square card border, including the right edge. */
.kk-product-carousel .c-product_item{overflow:hidden!important}
.kk-product-carousel .slick-slide>div,.kk-product-carousel .p-product_slider__item{height:100%!important}
.kk-product-carousel .slick-dots{position:absolute!important;left:0!important;right:0!important;bottom:-28px!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important;height:20px!important;margin:0!important;padding:0!important;order:initial!important}
.kk-product-carousel .slick-dots li{flex:0 0 8px!important;width:8px!important;height:8px!important;margin:0!important;padding:0!important}
.kk-product-carousel .slick-dots button{display:block!important;width:8px!important;height:8px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important}
@media(max-width:719px){
 .kk-product-carousel .p-product_slider{padding-bottom:32px!important}
 .kk-product-carousel .slick-slide{padding:0 6px!important}
 .kk-product-carousel .slick-dots{bottom:-24px!important;gap:9px!important}
}

/* KK-CATALOG-CARD-20260824-FAVORITE: favorite control geometry belongs to the shared catalog card, not page-level button defaults. */
.p-product_list .c-product_item .cw-title-row .cw-fav{
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 38px!important;
  width:38px!important;
  min-width:38px!important;
  max-width:38px!important;
  height:38px!important;
  min-height:38px!important;
  max-height:38px!important;
  margin:0!important;
  padding:0!important;
  border:1px solid var(--line,var(--t-hairline,#e3e0da))!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--red,var(--t-shu,#e60012))!important;
  font-size:22px!important;
  line-height:1!important;
  box-shadow:none!important;
}
.p-product_list .c-product_item .cw-title-row .cw-fav.is-on{font-size:18px!important}
@media(max-width:640px){
  .p-product_list .c-product_item .cw-title-row .cw-fav{flex-basis:34px!important;width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important;max-height:34px!important;font-size:20px!important}
}

/* KK-CATALOG-CARD-20260824-STORYBOOK-RADIUS: shared Product Card contract owns square outer geometry. */
#product-index-view .c-product_item,
.p-product_list .c-product_item{
  border-radius:0!important;
}

/* KK-CATALOG-PAIRING-20260824-HIDE: paired subscription-only cards never occupy a PLP/carousel slot. */
.p-product_list__list__item[data-kokando-paired-hidden="true"],
.kk-product-carousel__item[data-kokando-paired-hidden="true"],
.p-product_slider__item[data-kokando-paired-hidden="true"]{
  display:none!important;
}

/* KCC-20260825-PRODUCT-IMAGE-CENTER: EC FORCE bundle absolutely positions primary/hover images at top:left=0.
   Keep the overlay model for hover, but center the image plane within the shared Product Card media frame.
   Favorite controls remain absolute overlays and must not participate in image geometry. */
#product-index-view .c-product_item__inner__eyecatch__img > :is(.c-product_item__inner__eyecatch__img__primary,.c-product_item__inner__eyecatch__img__hover),
.p-product_list .c-product_item__inner__eyecatch__img > :is(.c-product_item__inner__eyecatch__img__primary,.c-product_item__inner__eyecatch__img__hover){
  top:50%!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  transform:translate(-50%,-50%)!important;
}

/* KOKANDO-SP-PRODUCT-IMAGE-R2: final SP override after generic image-centering rules. */
@media(max-width:719px){
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img{
  position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;
  transform:none!important;transition:none!important;
 }
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary{
  display:block!important;position:relative!important;flex:0 0 auto!important;
  top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;
  transform:none!important;margin:auto!important;opacity:1!important;z-index:0!important;
  width:auto!important;height:auto!important;max-width:92%!important;max-height:158px!important;object-fit:contain!important;object-position:center!important;
 }
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__hover,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__hover{
  display:none!important;visibility:hidden!important;opacity:0!important;
 }
}

/* KOKANDO-SP-PRODUCT-IMAGE-R3: center the one visible primary image against the media frame. */
@media(max-width:719px){
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img{
  position:relative!important;width:100%!important;height:100%!important;display:block!important;
 }
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary{
  position:absolute!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;margin:0!important;
  width:auto!important;height:auto!important;max-width:92%!important;max-height:158px!important;
  object-fit:contain!important;object-position:center!important;
 }
}

/* KOKANDO-TB-TOUCH-PRODUCT-IMAGE: keep the PC hover model intact, but collapse
   EC FORCE's swipe rail to one centered image on touch tablets. */
@media(min-width:720px) and (max-width:1024px){
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img{
  position:relative!important;width:100%!important;height:100%!important;display:block!important;
  transform:none!important;transition:none!important;
 }
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__primary{
  display:block!important;position:absolute!important;top:50%!important;left:50%!important;right:auto!important;bottom:auto!important;
  transform:translate(-50%,-50%)!important;margin:0!important;opacity:1!important;z-index:0!important;
  width:auto!important;height:auto!important;max-width:92%!important;max-height:194px!important;
  object-fit:contain!important;object-position:center!important;
 }
 #product-index-view .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__hover,
 .p-product_list .c-product_item.--touch-mode .c-product_item__inner__eyecatch__img__hover{
  display:none!important;visibility:hidden!important;opacity:0!important;
 }
}
