/* HEARTHIC customer bottom navigation + favorites */
:root{--hearthic-bottom-nav-h:76px}
body.hearthic-shop-nav-enabled{padding-bottom:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom) + 12px)!important}
.hearthic-bottom-nav{position:fixed;z-index:120;left:50%;bottom:max(8px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(720px,calc(100% - 16px));height:var(--hearthic-bottom-nav-h);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;padding:6px 8px 5px;border:1px solid rgba(142,119,86,.20);border-radius:24px;background:rgba(255,255,255,.93);box-shadow:0 10px 34px rgba(22,18,13,.16);-webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%)}
.hearthic-bottom-nav a{position:relative;display:flex;min-width:0;height:64px;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:#493b30;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:10px;font-weight:700;letter-spacing:0;line-height:1;-webkit-tap-highlight-color:transparent}
.hearthic-bottom-nav svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* 2026-09-04: unified standalone icons (pattern 1) */
.hearthic-bottom-nav .hearthic-nav-icon{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  flex:0 0 30px;
  margin:0;
}
.hearthic-bottom-nav .hearthic-nav-icon svg{
  width:27px;
  height:27px;
}
/* optical centering: SVG bounds differ even when mathematically centered */
.hearthic-bottom-nav .is-stock .hearthic-nav-icon{transform:translateY(0)}
.hearthic-bottom-nav .is-favorites .hearthic-nav-icon{transform:translateY(1.5px)}
.hearthic-bottom-nav .is-home .hearthic-nav-icon{transform:translateY(0)}
.hearthic-bottom-nav .is-cart .hearthic-nav-icon{transform:translateY(.5px)}
.hearthic-bottom-nav .is-review .hearthic-nav-icon{transform:translateY(0)}
.hearthic-bottom-nav .is-stock svg{width:27px;height:27px;stroke-width:2}
.hearthic-bottom-nav .is-favorites svg{width:27px;height:27px;stroke-width:1.9}
.hearthic-bottom-nav .is-home svg{width:27px;height:27px;stroke-width:2}
.hearthic-bottom-nav .is-cart svg{width:27px;height:27px;stroke-width:1.9}
.hearthic-bottom-nav .is-review svg{width:27px;height:27px;stroke-width:2}
.hearthic-bottom-nav a.is-active{color:#a97828}
.hearthic-bottom-nav .hearthic-fav-count,.hearthic-bottom-nav .hearthic-cart-count{position:absolute;top:3px;left:calc(50% + 9px);min-width:16px;height:16px;padding:0 4px;border-radius:9px;background:#a97828;color:#fff;font-size:9px;line-height:16px;text-align:center;font-weight:800;box-shadow:0 0 0 2px rgba(255,255,255,.95)}
.hearthic-favorite-button{position:absolute;z-index:8;top:12px;right:12px;width:42px;height:42px;display:grid;place-items:center;border:1px solid rgba(71,57,43,.16);border-radius:50%;background:rgba(255,255,255,.92);color:#493b30;box-shadow:0 4px 16px rgba(0,0,0,.12);cursor:pointer;-webkit-tap-highlight-color:transparent}
.hearthic-favorite-button svg{width:24px;height:24px;fill:transparent;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:fill .16s ease,color .16s ease}
.hearthic-favorite-button.is-favorite{color:#a97828}
.hearthic-favorite-button.is-favorite svg{fill:currentColor}
.product-card{position:relative}
.pv-favorite-row{display:flex;justify-content:flex-end;margin:-6px 0 10px}
.pv-favorite-row .hearthic-favorite-button{position:static;width:auto;height:44px;padding:0 16px;border-radius:22px;display:inline-flex;gap:8px;font-size:13px;font-weight:700}
.pv-favorite-row .hearthic-favorite-button svg{width:22px;height:22px}
.pv-favorite-row .hearthic-favorite-button .hearthic-fav-text::after{content:"お気に入りに追加"}
.pv-favorite-row .hearthic-favorite-button.is-favorite .hearthic-fav-text::after{content:"お気に入り済み"}
body.home-page .hearthic-line-strip{bottom:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom) + 18px)!important}
@media(max-width:760px){
  :root{--hearthic-bottom-nav-h:72px}
  .hearthic-bottom-nav{width:calc(100% - 12px);bottom:max(6px,env(safe-area-inset-bottom));height:72px;border-radius:22px;padding:6px 5px 4px}
  .hearthic-bottom-nav a{height:62px;font-size:9.5px}
  .hearthic-bottom-nav svg{width:25px;height:25px}
  .hearthic-bottom-nav .hearthic-nav-icon{width:28px;height:28px;flex-basis:28px}
  .hearthic-bottom-nav .hearthic-nav-icon svg{width:25px;height:25px}
  .hearthic-bottom-nav .is-stock svg,.hearthic-bottom-nav .is-review svg{stroke-width:2}
  .hearthic-bottom-nav .hearthic-fav-count,.hearthic-bottom-nav .hearthic-cart-count{top:4px}
  body.home-page .hearthic-line-strip{bottom:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom) + 14px)!important}
}
/* favorites page */
.favorites-page{background:#f6f3ee;color:#1e2530;min-height:100vh}
.favorites-main{width:min(1100px,calc(100% - 32px));margin:0 auto;padding:38px 0 120px}
.favorites-head{margin:0 0 26px}.favorites-head .eyebrow{margin:0 0 6px;color:#ad7b27;font-size:11px;font-weight:800;letter-spacing:.18em}.favorites-head h1{margin:0;font-size:clamp(28px,5vw,44px);line-height:1.2}.favorites-head p{margin:9px 0 0;color:#746b62;font-size:14px;line-height:1.7}
.favorites-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.favorite-card{position:relative;overflow:hidden;border:1px solid #ded5ca;border-radius:20px;background:#fff;box-shadow:0 6px 20px rgba(43,34,24,.05)}.favorite-card>a{color:inherit;text-decoration:none}.favorite-card-image{position:relative;aspect-ratio:4/3;background:#eee}.favorite-card-image img{width:100%;height:100%;display:block;object-fit:cover}.favorite-card-status{position:absolute;left:10px;top:10px;padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.92);font-size:10px;font-weight:800}.favorite-card-status.is-sold{background:rgba(42,38,35,.9);color:#fff}.favorite-card-body{padding:14px 15px 17px}.favorite-card-body h2{margin:0 42px 8px 0;font-size:16px;line-height:1.45}.favorite-card-meta{display:block;color:#85796e;font-size:12px}.favorite-card-price{display:block;margin-top:8px;font-size:19px}.favorite-card .hearthic-favorite-button{top:auto;bottom:14px;right:12px;width:38px;height:38px}.favorites-empty{padding:54px 20px;border:1px solid #ded5ca;border-radius:20px;background:#fff;text-align:center}.favorites-empty svg{width:46px;height:46px;fill:none;stroke:#a97828;stroke-width:1.5}.favorites-empty h2{margin:14px 0 6px;font-size:21px}.favorites-empty p{margin:0 0 18px;color:#756d64;font-size:13px}.favorites-empty a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 20px;border-radius:22px;background:#a97828;color:#fff;text-decoration:none;font-weight:700;font-size:13px}
@media(max-width:800px){.favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.favorites-main{width:min(100% - 22px,700px);padding-top:24px}}@media(max-width:520px){.favorites-grid{grid-template-columns:1fr 1fr;gap:10px}.favorite-card{border-radius:15px}.favorite-card-body{padding:11px 10px 13px}.favorite-card-body h2{font-size:13px;margin-right:28px}.favorite-card-price{font-size:16px}.favorite-card .hearthic-favorite-button{width:32px;height:32px;right:8px;bottom:9px}.favorite-card .hearthic-favorite-button svg{width:19px;height:19px}}


/* 2026-09-04: inventory favorite sits at the bottom-right of the price row */
.product-info>.hearthic-price-favorite-wrap{
  position:relative;
  display:flex!important;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
  margin-top:auto!important;
  padding-top:10px!important;
}
.product-info>.hearthic-price-favorite-wrap>strong{
  display:block;
  flex:1 1 auto;
  min-width:0;
  margin:0!important;
  padding:0!important;
  color:#eee7dd!important;
  font-size:20px;
  line-height:1.35;
}
.product-info>.hearthic-price-favorite-wrap>strong .tax-label{display:inline!important}
.product-info>.hearthic-price-favorite-wrap>.hearthic-favorite-button.is-card-price-favorite{
  position:relative;
  top:auto;
  right:auto;
  bottom:auto;
  left:auto;
  flex:0 0 auto;
  width:38px;
  height:38px;
  margin:0;
  background:rgba(255,255,255,.94);
}
@media(max-width:760px){
  .product-info>.hearthic-price-favorite-wrap{
    gap:8px;
    padding-top:9px!important;
  }
  .product-info>.hearthic-price-favorite-wrap>strong{font-size:17px}
  .product-info>.hearthic-price-favorite-wrap>.hearthic-favorite-button.is-card-price-favorite{
    width:34px;
    height:34px;
  }
  .product-info>.hearthic-price-favorite-wrap>.hearthic-favorite-button.is-card-price-favorite svg{width:21px;height:21px}
}


/* 2026-09-04: product card text clamp + landscape bottom-nav compaction */
.product-info .card-top{
  display:block!important;
  margin-bottom:4px!important;
}
.product-info .card-top p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  line-height:1.34!important;
  min-height:calc(1.34em * 2)!important;
  margin:0!important;
}
.product-info>span{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  line-height:1.32!important;
  min-height:calc(1.32em * 2)!important;
}
.product-info>small{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  line-height:1.36!important;
  min-height:calc(1.36em * 2)!important;
}
.product-info>.hearthic-price-favorite-wrap{
  padding-top:10px!important;
}
@media (max-width:760px){
  .product-info .card-top p{font-size:13px!important;min-height:calc(1.34em * 2)!important}
  .product-info>span{font-size:11px!important}
  .product-info>small{font-size:10px!important}
}
@media (orientation:landscape) and (max-height:560px){
  :root{--hearthic-bottom-nav-h:58px}
  body.hearthic-shop-nav-enabled{padding-bottom:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom) + 10px)!important}
  .hearthic-bottom-nav{
    width:min(640px,calc(100% - 12px));
    height:58px;
    bottom:max(4px,env(safe-area-inset-bottom));
    padding:4px 6px 3px;
    border-radius:20px;
  }
  .hearthic-bottom-nav a{
    height:50px;
    gap:1px;
    font-size:8.5px;
  }
  .hearthic-bottom-nav svg,
  .hearthic-bottom-nav .is-stock svg,
  .hearthic-bottom-nav .is-review svg{
    width:21px;
    height:21px;
  }
  .hearthic-bottom-nav .hearthic-nav-icon{width:23px;height:23px;flex-basis:23px}
  .hearthic-bottom-nav .hearthic-nav-icon svg,
  .hearthic-bottom-nav .is-stock svg,
  .hearthic-bottom-nav .is-review svg{width:21px;height:21px}
  .hearthic-bottom-nav .is-stock svg,.hearthic-bottom-nav .is-review svg{stroke-width:2}
  .hearthic-bottom-nav .is-favorites .hearthic-nav-icon{transform:translateY(1px)}
  .hearthic-bottom-nav .hearthic-fav-count,.hearthic-bottom-nav .hearthic-cart-count{top:2px;left:calc(50% + 7px);min-width:14px;height:14px;line-height:14px;font-size:8px}
  body.home-page .hearthic-line-strip{bottom:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom) + 10px)!important}
  .product-grid{gap:12px!important}
  .product-info{padding:10px 12px 12px!important}
  .product-info .card-top p{-webkit-line-clamp:2!important;min-height:calc(1.28em * 2)!important;line-height:1.28!important;font-size:12px!important}
  .product-info>span{-webkit-line-clamp:2!important;min-height:calc(1.26em * 2)!important;line-height:1.26!important;font-size:10px!important}
  .product-info>small{-webkit-line-clamp:1!important;min-height:1.36em!important;font-size:10px!important}
  .product-info>.hearthic-price-favorite-wrap{gap:8px!important;padding-top:8px!important}
  .product-info>.hearthic-price-favorite-wrap>strong{font-size:15px!important;line-height:1.25!important}
  .product-info>.hearthic-price-favorite-wrap>.hearthic-favorite-button.is-card-price-favorite{width:32px;height:32px}
  .product-info>.hearthic-price-favorite-wrap>.hearthic-favorite-button.is-card-price-favorite svg{width:19px;height:19px}
}


/* 2026-09-04: final inventory favorite position — image bottom-left; text panel untouched */
.product-card .product-image,
.real-product-card .real-card-image{
  position:relative!important;
}
.product-card .product-image>.hearthic-favorite-button.is-card-image-favorite,
.real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite{
  position:absolute!important;
  z-index:9!important;
  left:8px!important;
  right:auto!important;
  top:auto!important;
  bottom:8px!important;
  width:38px!important;
  height:38px!important;
  margin:0!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(71,57,43,.16)!important;
}
.product-card .product-image>.hearthic-favorite-button.is-card-image-favorite svg,
.real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite svg{
  width:23px!important;
  height:23px!important;
}
/* Restore the product text/price area to its original flow. */
.product-info>.hearthic-price-favorite-wrap{
  display:block!important;
  margin-top:auto!important;
  padding-top:8px!important;
}
.product-info>.hearthic-price-favorite-wrap>strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
}
@media(max-width:760px){
  .product-card .product-image>.hearthic-favorite-button.is-card-image-favorite,
  .real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite{
    left:7px!important;
    bottom:7px!important;
    width:34px!important;
    height:34px!important;
  }
  .product-card .product-image>.hearthic-favorite-button.is-card-image-favorite svg,
  .real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite svg{
    width:21px!important;
    height:21px!important;
  }
}
@media (orientation:landscape) and (max-height:560px){
  .product-card .product-image>.hearthic-favorite-button.is-card-image-favorite,
  .real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite{
    left:6px!important;
    bottom:6px!important;
    width:32px!important;
    height:32px!important;
  }
}

/* 2026-09-04 final corner positioning */
.product-card .product-image>.hearthic-favorite-button.is-card-image-favorite,
.real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite{
  left:3px!important;
  bottom:3px!important;
}
@media(max-width:760px){
  .product-card .product-image>.hearthic-favorite-button.is-card-image-favorite,
  .real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite{
    left:2px!important;
    bottom:2px!important;
  }
}
@media (orientation:landscape) and (max-height:560px){
  .product-card .product-image>.hearthic-favorite-button.is-card-image-favorite,
  .real-product-card .real-card-image>.hearthic-favorite-button.is-card-image-favorite{
    left:2px!important;
    bottom:2px!important;
  }
}


/* 2026-09-05: HEARTHIC bottom navigation — opaque black, flush to viewport bottom */
.hearthic-bottom-nav{
  bottom:0!important;
  box-sizing:border-box!important;
  width:min(720px,100%)!important;
  height:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom))!important;
  padding:6px 8px calc(5px + env(safe-area-inset-bottom))!important;
  border:1px solid rgba(190,145,73,.38)!important;
  border-bottom:0!important;
  border-radius:24px 24px 0 0!important;
  background:#090909!important;
  box-shadow:0 -8px 28px rgba(0,0,0,.32)!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.hearthic-bottom-nav a{color:#fff!important;}
.hearthic-bottom-nav a.is-active{color:#c08a32!important;}
.hearthic-bottom-nav .hearthic-fav-count,
.hearthic-bottom-nav .hearthic-cart-count{
  background:#b47b25!important;
  color:#fff!important;
  box-shadow:0 0 0 2px #090909!important;
}
.hearthic-bottom-nav .is-stock svg{stroke-width:1.8!important;}
@media(max-width:760px){
  .hearthic-bottom-nav{
    bottom:0!important;
    width:100%!important;
    height:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom))!important;
    padding:6px 5px calc(4px + env(safe-area-inset-bottom))!important;
    border-radius:22px 22px 0 0!important;
  }
}
@media (orientation:landscape) and (max-height:560px){
  .hearthic-bottom-nav{
    bottom:0!important;
    width:min(640px,100%)!important;
    height:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom))!important;
    padding:4px 6px calc(3px + env(safe-area-inset-bottom))!important;
    border-radius:20px 20px 0 0!important;
  }
}


/* 2026-09-05: bottom nav final tuning — lift about 20% and keep opaque */
.hearthic-bottom-nav{
  bottom:14px!important;
}
body.hearthic-shop-nav-enabled{
  padding-bottom:calc(var(--hearthic-bottom-nav-h) + env(safe-area-inset-bottom) + 26px)!important;
}
@media(max-width:760px){
  .hearthic-bottom-nav{bottom:14px!important;}
}
@media (orientation:landscape) and (max-height:560px){
  .hearthic-bottom-nav{bottom:10px!important;}
}


/* 2026-09-05: luxury floating black/gold mobile nav approved mock */
:root{
  --hearthic-bottom-nav-h:86px;
  --hearthic-bottom-nav-offset:24px;
  --hearthic-bottom-nav-gap:18px;
}
body.hearthic-shop-nav-enabled{
  padding-bottom:calc(var(--hearthic-bottom-nav-h) + var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + var(--hearthic-bottom-nav-gap))!important;
}
body.hearthic-shop-nav-enabled::after{
  content:"";
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height:220px;
  pointer-events:none;
  z-index:118;
  background:
    linear-gradient(to top,
      rgba(0,0,0,.99) 0%,
      rgba(0,0,0,.985) 26%,
      rgba(0,0,0,.92) 55%,
      rgba(0,0,0,.62) 78%,
      rgba(0,0,0,0) 100%);
}
.hearthic-bottom-nav{
  position:fixed;
  z-index:120;
  left:50%;
  bottom:calc(env(safe-area-inset-bottom) + var(--hearthic-bottom-nav-offset));
  transform:translateX(-50%);
  width:min(760px,calc(100% - 26px));
  height:var(--hearthic-bottom-nav-h);
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:center;
  padding:8px 10px 6px;
  border:0!important;
  border-radius:32px;
  background:
    linear-gradient(135deg,
      rgba(214,167,83,.16) 0%,
      rgba(214,167,83,.08) 10%,
      rgba(18,18,18,.98) 24%,
      rgba(6,6,6,.99) 46%,
      rgba(10,10,10,.99) 64%,
      rgba(202,154,72,.10) 82%,
      rgba(222,178,94,.18) 100%),
    linear-gradient(180deg, rgba(19,19,19,.99) 0%, rgba(5,5,5,.995) 100%);
  box-shadow:
    0 22px 44px rgba(0,0,0,.42),
    0 4px 28px rgba(201,149,59,.08),
    inset 34px 0 44px rgba(207,161,83,.09),
    inset -34px 0 44px rgba(207,161,83,.07),
    inset 0 1px 0 rgba(255,255,255,.02);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
  overflow:hidden;
}
.hearthic-bottom-nav::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(120deg,
      rgba(255,215,130,.22) 0%,
      rgba(255,215,130,.10) 8%,
      rgba(255,215,130,0) 24%,
      rgba(255,215,130,0) 66%,
      rgba(255,215,130,.06) 82%,
      rgba(255,215,130,.16) 100%);
  opacity:.9;
  mix-blend-mode:screen;
}
.hearthic-bottom-nav::after{
  content:"";
  position:absolute;
  inset:-14px;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:
    0 0 46px rgba(193,145,61,.14),
    inset 0 0 0 1px rgba(255,255,255,.015);
  opacity:.8;
}
.hearthic-bottom-nav a{
  position:relative;
  z-index:1;
  display:flex;
  min-width:0;
  height:70px;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  color:rgba(255,255,255,.96);
  text-decoration:none;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;
  font-size:12px;
  font-weight:800;
  letter-spacing:0;
  line-height:1;
  -webkit-tap-highlight-color:transparent;
  text-shadow:0 2px 10px rgba(0,0,0,.35);
}
.hearthic-bottom-nav a.is-active{
  color:#d2a04c;
}
.hearthic-bottom-nav svg{
  width:30px;
  height:30px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hearthic-bottom-nav .hearthic-nav-icon{
  width:32px;
  height:32px;
  flex:0 0 32px;
  display:grid;
  place-items:center;
  margin:0;
}
.hearthic-bottom-nav .hearthic-nav-icon svg{width:30px;height:30px}
.hearthic-bottom-nav .is-stock .hearthic-nav-icon{transform:translateY(0)}
.hearthic-bottom-nav .is-favorites .hearthic-nav-icon{transform:translateY(1px)}
.hearthic-bottom-nav .is-home .hearthic-nav-icon{transform:translateY(.5px)}
.hearthic-bottom-nav .is-cart .hearthic-nav-icon{transform:translateY(.5px)}
.hearthic-bottom-nav .is-review .hearthic-nav-icon{transform:translateY(0)}
.hearthic-bottom-nav .hearthic-fav-count{
  position:absolute;
  top:6px;
  left:calc(50% + 11px);
  min-width:16px;
  height:16px;
  padding:0 4px;
  border-radius:999px;
  background:#d2a04c;
  color:#0c0c0c;
  font-size:9px;
  line-height:16px;
  text-align:center;
  font-weight:900;
  box-shadow:0 0 0 2px rgba(10,10,10,.92);
}
body.home-page .hearthic-line-strip{
  bottom:calc(var(--hearthic-bottom-nav-h) + var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 14px)!important;
}
@media(max-width:760px){
  :root{
    --hearthic-bottom-nav-h:84px;
    --hearthic-bottom-nav-offset:92px;
    --hearthic-bottom-nav-gap:20px;
  }
  body.hearthic-shop-nav-enabled::after{height:260px}
  .hearthic-bottom-nav{
    width:calc(100% - 22px);
    border-radius:30px;
    padding:8px 8px 6px;
  }
  .hearthic-bottom-nav a{
    height:68px;
    gap:6px;
    font-size:11px;
  }
  .hearthic-bottom-nav .hearthic-nav-icon{width:30px;height:30px;flex-basis:30px}
  .hearthic-bottom-nav .hearthic-nav-icon svg,
  .hearthic-bottom-nav svg{width:28px;height:28px}
  .hearthic-bottom-nav .hearthic-fav-count{top:5px;left:calc(50% + 9px)}
  body.home-page .hearthic-line-strip{
    bottom:calc(var(--hearthic-bottom-nav-h) + var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 10px)!important;
  }
}
@media (orientation:landscape) and (max-height:560px){
  :root{
    --hearthic-bottom-nav-h:74px;
    --hearthic-bottom-nav-offset:58px;
    --hearthic-bottom-nav-gap:14px;
  }
  body.hearthic-shop-nav-enabled::after{height:180px}
  .hearthic-bottom-nav{
    width:min(680px,calc(100% - 18px));
    border-radius:26px;
    padding:6px 8px 5px;
  }
  .hearthic-bottom-nav a{height:62px;gap:4px;font-size:10px}
  .hearthic-bottom-nav .hearthic-nav-icon{width:28px;height:28px;flex-basis:28px}
  .hearthic-bottom-nav .hearthic-nav-icon svg,
  .hearthic-bottom-nav svg{width:24px;height:24px}
  .hearthic-bottom-nav .hearthic-fav-count{top:4px;left:calc(50% + 8px);min-width:14px;height:14px;line-height:14px;font-size:8px}
  body.home-page .hearthic-line-strip{
    bottom:calc(var(--hearthic-bottom-nav-h) + var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 8px)!important;
  }
}


/* 2026-09-05: bottom nav final refinement — lighter touch */
body.hearthic-shop-nav-enabled::after{
  content:none!important;
  display:none!important;
}
:root{
  --hearthic-bottom-nav-h:84px;
  --hearthic-bottom-nav-offset:10px;
  --hearthic-bottom-nav-gap:12px;
}
body.hearthic-shop-nav-enabled{
  padding-bottom:calc(var(--hearthic-bottom-nav-h) + var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + var(--hearthic-bottom-nav-gap))!important;
}
.hearthic-bottom-nav{
  position:fixed!important;
  left:50%!important;
  bottom:calc(env(safe-area-inset-bottom) + var(--hearthic-bottom-nav-offset))!important;
  transform:translateX(-50%)!important;
  width:min(760px,calc(100% - 18px))!important;
  height:var(--hearthic-bottom-nav-h)!important;
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:center!important;
  padding:8px 8px 6px!important;
  border:0!important;
  border-radius:30px!important;
  background:
    linear-gradient(180deg,rgba(16,16,16,.965) 0%,rgba(9,9,9,.985) 100%),
    linear-gradient(120deg,rgba(255,202,92,0) 36%,rgba(255,202,92,.11) 44%,rgba(255,202,92,.22) 50%,rgba(255,202,92,.11) 56%,rgba(255,202,92,0) 64%)!important;
  box-shadow:
    0 12px 32px rgba(0,0,0,.24),
    0 1px 0 rgba(255,255,255,.025) inset,
    0 0 0 1px rgba(255,255,255,.008) inset!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
  overflow:visible!important;
  isolation:isolate;
}
.hearthic-bottom-nav::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  background:
    linear-gradient(120deg,
      rgba(255,210,110,0) 34%,
      rgba(255,210,110,.03) 40%,
      rgba(255,210,110,.18) 49%,
      rgba(255,210,110,.07) 56%,
      rgba(255,210,110,0) 64%);
  opacity:.9;
  z-index:0;
}
.hearthic-bottom-nav::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:34px;
  background:rgba(0,0,0,.20);
  filter:blur(10px);
  opacity:.55;
  pointer-events:none;
  z-index:-1;
}
.hearthic-bottom-nav a{
  position:relative!important;
  z-index:1!important;
  display:flex!important;
  min-width:0!important;
  height:68px!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  color:#ffffff!important;
  text-decoration:none!important;
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:0!important;
  line-height:1!important;
  text-shadow:none!important;
}
.hearthic-bottom-nav a.is-active{
  color:#d4a24c!important;
}
.hearthic-bottom-nav .hearthic-nav-icon{
  width:30px!important;
  height:30px!important;
  flex:0 0 30px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  transform:none!important;
}
.hearthic-bottom-nav svg,
.hearthic-bottom-nav .hearthic-nav-icon svg{
  width:28px!important;
  height:28px!important;
  display:block!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.hearthic-bottom-nav .hearthic-fav-count{
  top:5px!important;
  left:calc(50% + 9px)!important;
  min-width:15px!important;
  height:15px!important;
  line-height:15px!important;
  font-size:8px!important;
  border-radius:999px!important;
  background:#d4a24c!important;
  color:#111!important;
  box-shadow:0 0 0 2px rgba(12,12,12,.92)!important;
}
body.home-page .hearthic-line-strip{
  bottom:calc(var(--hearthic-bottom-nav-h) + var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 10px)!important;
}
@media(max-width:760px){
  :root{
    --hearthic-bottom-nav-h:84px;
    --hearthic-bottom-nav-offset:12px;
    --hearthic-bottom-nav-gap:12px;
  }
  .hearthic-bottom-nav{
    width:calc(100% - 16px)!important;
    padding:8px 8px 6px!important;
    border-radius:30px!important;
  }
  .hearthic-bottom-nav a{
    height:68px!important;
    gap:6px!important;
    font-size:11px!important;
  }
  .hearthic-bottom-nav .hearthic-nav-icon{
    width:30px!important;
    height:30px!important;
    flex-basis:30px!important;
  }
  .hearthic-bottom-nav svg,
  .hearthic-bottom-nav .hearthic-nav-icon svg{
    width:28px!important;
    height:28px!important;
  }
}
@media (orientation:landscape) and (max-height:560px){
  :root{
    --hearthic-bottom-nav-h:70px;
    --hearthic-bottom-nav-offset:8px;
    --hearthic-bottom-nav-gap:10px;
  }
  .hearthic-bottom-nav{
    width:min(680px,calc(100% - 14px))!important;
    border-radius:24px!important;
    padding:5px 7px 4px!important;
  }
  .hearthic-bottom-nav a{
    height:60px!important;
    gap:4px!important;
    font-size:10px!important;
  }
  .hearthic-bottom-nav .hearthic-nav-icon{
    width:26px!important;
    height:26px!important;
    flex-basis:26px!important;
  }
  .hearthic-bottom-nav svg,
  .hearthic-bottom-nav .hearthic-nav-icon svg{
    width:24px!important;
    height:24px!important;
  }
  .hearthic-bottom-nav .hearthic-fav-count{
    top:4px!important;
    left:calc(50% + 8px)!important;
    min-width:14px!important;
    height:14px!important;
    line-height:14px!important;
    font-size:8px!important;
  }
}


/* 2026-09-05: hide background only below the bottom nav */
body.hearthic-shop-nav-enabled::after{
  content:""!important;
  display:block!important;
  position:fixed!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:calc(var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 36px)!important;
  background:linear-gradient(to top,
    rgba(0,0,0,.985) 0%,
    rgba(0,0,0,.975) 58%,
    rgba(0,0,0,.90) 84%,
    rgba(0,0,0,0) 100%)!important;
  pointer-events:none!important;
  z-index:119!important;
}
@media(max-width:760px){
  body.hearthic-shop-nav-enabled::after{
    height:calc(var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 40px)!important;
  }
}
@media (orientation:landscape) and (max-height:560px){
  body.hearthic-shop-nav-enabled::after{
    height:calc(var(--hearthic-bottom-nav-offset) + env(safe-area-inset-bottom) + 28px)!important;
  }
}
