/* =========================================================
   Sub Category Navigation
   ========================================================= */
#subCategoryNavArea{
  max-width:1200px;
  margin:0 auto 28px;
  padding:0 10px;
  box-sizing:border-box;
}

.natural-subcategory-section{
  width:100%;
  margin:10px 0 28px;
  padding:0;
  box-sizing:border-box;
  background:#fff;
}

.subcategory-heading,
.natural-subcategory-heading{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  color:#222;
  font-size:1em;
  font-weight:700;
  line-height:1.4;
  text-align:left;
}

.p-sub-category{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:#fff;
  list-style:none;
  box-sizing:border-box;
}

.p-sub-category__item{
  min-width:0;
  padding:0;
  border:1px solid #e5e0d8;
  border-radius:6px;
  background:#fff;
  color:#222;
  line-height:1.4;
  text-align:left;
  overflow:hidden;
  box-sizing:border-box;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease,background-color .18s ease;
}

.p-sub-category__item:hover{
  border-color:#c8d8c4;
  background:#fbfdfb;
  box-shadow:0 2px 8px rgba(0,0,0,.07);
  transform:translateY(-1px);
}

.p-sub-category__item.current{
  border-color:#d8c7aa;
  background:#fffaf1;
  color:#6f6254;
  font-weight:700;
}

.p-sub-category__item.current a{
  pointer-events:none;
  cursor:default;
}

.p-sub-category__link{
  display:grid;
  grid-template-columns:46px minmax(0,1fr) 16px;
  align-items:center;
  column-gap:10px;
  width:100%;
  min-height:66px;
  padding:9px 12px;
  color:inherit;
  text-decoration:none;
  box-sizing:border-box;
}

.p-sub-category__link:hover{
  color:#2e7d32;
  text-decoration:none;
}

.p-sub-category__icon{
  width:46px;
  height:46px;
  border-radius:6px;
  background:#fff;
}

.p-sub-category__icon img{
  width:100%;
  height:100%;
  padding:3px;
  object-fit:contain;
  box-sizing:border-box;
}

.p-sub-category__icon--fallback{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f7fbf6;
  color:#2e7d32;
}

.p-sub-category__icon--fallback i{
  font-size:18px;
  line-height:1;
}

.p-sub-category__text{
  display:block;
  min-width:0;
}

.p-sub-category__name{
  display:-webkit-box;
  color:inherit;
  font-size:14px;
  font-weight:700;
  line-height:1.45;
  word-break:break-word;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.p-sub-category__arrow{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  color:#9a9a9a;
  font-size:12px;
}

.p-sub-category__item:hover .p-sub-category__arrow{
  color:#2e7d32;
}

.p-sub-category__item.current .p-sub-category__arrow{
  color:#9a7a4a;
}

.p-sub-category__item.current .p-sub-category__icon--fallback{
  background:#fff8ec;
  color:#8a6a3f;
}

@media(max-width:768px){
  #subCategoryNavArea{
    margin-bottom:30px;
    padding-left:20px;
    padding-right:20px;
  }

  .natural-subcategory-section{
    margin-top:12px;
    margin-bottom:30px;
  }

  .subcategory-heading,
  .natural-subcategory-heading{
    margin-bottom:10px;
    font-size:14px;
  }

  .p-sub-category{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }

  .p-sub-category__link{
    grid-template-columns:40px minmax(0,1fr) 12px;
    column-gap:8px;
    min-height:58px;
    padding:8px 9px;
  }

  .p-sub-category__icon{
    width:40px;
    height:40px;
  }

  .p-sub-category__name{
    font-size:13px;
    line-height:1.4;
  }

  .p-sub-category__arrow{
    font-size:10px;
  }
}

@media(max-width:360px){
  .p-sub-category__link{
    grid-template-columns:36px minmax(0,1fr) 10px;
    column-gap:7px;
    min-height:56px;
    padding:8px;
  }

  .p-sub-category__icon{
    width:36px;
    height:36px;
  }

  .p-sub-category__name{
    font-size:12px;
  }
}

/* =========================================================
   Sort Bar
   ========================================================= */
.c-product-sort{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:nowrap;
  gap:10px;
  max-width:1200px;
  margin:5px auto 20px;
  padding:5px 10px 15px;
  border-bottom:1px solid #eee;
  box-sizing:border-box;
}

.c-product-sort__total{
  display:flex;
  align-items:center;
  flex-shrink:0;
  height:44px;
  color:#555;
  font-size:14px;
  white-space:nowrap;
}

.c-product-sort__total span{
  display:inline-block;
  margin:0 4px;
  color:#111;
  font-size:35px;
  font-weight:700;
  line-height:1;
}

.c-product-sort__switch{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-shrink:0;
  width:180px;
}

.c-product-sort__switch select{
  all:unset;
  display:block;
  width:100%;
  height:44px;
  padding:10px 40px 10px 12px;
  border:1px solid #ccc;
  border-radius:6px;
  background:#fff;
  color:#222;
  font-size:15px;
  line-height:1.5;
  white-space:nowrap;
  overflow:hidden;
  cursor:pointer;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
}

.c-product-sort__switch select:hover{
  border-color:#888;
}

.c-product-sort__switch select:focus{
  border-color:#555;
  outline:none;
}

.c-product-sort__switch::after{
  content:"\25BE";
  position:absolute;
  top:50%;
  right:12px;
  color:#666;
  font-size:1em;
  pointer-events:none;
  transform:translateY(-50%);
}

@media(max-width:768px){
  .c-product-sort{
    width:calc(100% - 40px);
    max-width:none;
    margin:5px 20px 20px;
    padding-left:0;
    padding-right:0;
  }
}

/* =========================================================
   Category / Group Ranking
   ========================================================= */
#categoryRankingHook{
  max-width:1200px;
  margin:0 auto 32px;
  padding:0 10px;
  box-sizing:border-box;
}

.category-ranking-box{
  width:100%;
  max-width:100%;
  margin:0 0 34px;
  padding:16px;
  border:1px solid #eee2cf;
  background:#fffaf1;
  box-sizing:border-box;
}

.category-ranking-header{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  column-gap:22px;
  margin:0 0 16px;
}

.category-ranking-heading{
  padding:12px 0 2px;
  border:0;
  background:transparent;
  box-sizing:border-box;
}

.category-ranking-title{
  margin:0 0 5px;
  color:#222;
  font-size:18px;
  font-weight:900;
  line-height:1.35;
}

.category-ranking-lead{
  color:#666;
  font-size:14px;
  font-weight:500;
  line-height:1.6;
}

.category-ranking-tabs{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin:0;
  padding:0;
  border:0;
  overflow-x:auto;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}

.category-ranking-tabs::-webkit-scrollbar{
  display:none;
}

.category-ranking-tab{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:38px;
  padding:0 18px;
  border:1px solid #d9d3c8;
  border-radius:5px;
  background:#fff;
  color:#222;
  font-size:15px;
  font-weight:800;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:none;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;
}

.category-ranking-tab:hover{
  border-color:#2e7d32;
  background:#f7fbf6;
  color:#2e7d32;
}

.category-ranking-tab.active{
  border-color:#111;
  background:#fff;
  color:#111;
  box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.category-ranking-list{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
  width:100%;
  margin:0;
  padding:0;
  box-sizing:border-box;
}

.category-ranking-item{
  position:relative;
  min-width:0;
  padding:0;
  border:1px solid #eee6da;
  border-radius:7px;
  background:#fff;
  text-align:left;
  overflow:hidden;
  transition:box-shadow .18s ease,transform .18s ease,border-color .18s ease;
}

.category-ranking-item:hover{
  border-color:#c8d8c4;
  box-shadow:0 3px 10px rgba(0,0,0,.08);
  transform:translateY(-2px);
}

.category-ranking-link{
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  color:inherit;
  text-decoration:none;
}

.category-ranking-link:hover{
  color:inherit;
  text-decoration:none;
}

.category-ranking-imagebox{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:136px;
  padding:14px 10px 8px;
  background:#fff;
  box-sizing:border-box;
}

.category-ranking-imagebox img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  border-radius:0;
  background:#fff;
  object-fit:contain;
}

.category-ranking-rank{
  position:absolute;
  top:8px;
  left:8px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 8px;
  border-radius:5px;
  color:#fff;
  font-size:14px;
  font-weight:900;
  line-height:1;
  box-sizing:border-box;
}

.category-ranking-rank--1{background:#f4c400}
.category-ranking-rank--2{background:#b8bcc2}
.category-ranking-rank--3{background:#c9822d}
.category-ranking-rank--default{background:#4b5563}

.category-ranking-info{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:0 10px 11px;
  box-sizing:border-box;
}

.category-ranking-name{
  display:-webkit-box;
  min-height:46px;
  margin:0 0 7px;
  color:#222;
  font-size:15px;
  font-weight:900;
  line-height:1.45;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.category-ranking-price{
  margin-top:auto;
  color:#222;
  font-size:15px;
  font-weight:900;
  line-height:1.35;
}

.category-ranking-normal-price{color:#222}
.category-ranking-sale-price{color:#d32f2f}

.category-ranking-price--soldout{
  color:#999;
  font-size:14px;
  font-weight:900;
}

.category-ranking-empty{
  grid-column:1/-1;
  padding:18px;
  border:1px solid #eee6da;
  border-radius:7px;
  background:#fff;
  color:#999;
  font-size:14px;
  text-align:center;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-nav{
  display:none;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-nav.is-hidden{
  display:none!important;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  color:#333;
  font-size:13px;
  font-weight:800;
  line-height:1;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-separator{
  margin:0 4px;
  color:#999;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  padding:0;
  border:1px solid #d9d3c8;
  border-radius:50%;
  background:#fff;
  color:#222;
  font-size:13px;
  line-height:1;
  cursor:pointer;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-button:hover{
  border-color:#2e7d32;
  background:#f7fbf6;
  color:#2e7d32;
}

.category-ranking-box--mobile-nav .category-ranking-mobile-button:disabled{
  border-color:#e5e5e5;
  background:#f7f7f7;
  color:#bbb;
  cursor:default;
  opacity:.65;
}

@media(max-width:768px){
  #categoryRankingHook{
    margin-bottom:30px;
    padding-left:20px;
    padding-right:20px;
  }

  .category-ranking-box{
    margin-bottom:30px;
    padding:14px 10px;
  }

  .category-ranking-header{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    margin-bottom:12px;
  }

  .category-ranking-tabs{
    order:1;
    justify-content:flex-start;
    gap:7px;
    margin:0 0 11px;
  }

  .category-ranking-heading{
    order:2;
    padding:8px 0 0;
  }

  .category-ranking-title{
    font-size:16px;
  }

  .category-ranking-lead{
    font-size:13px;
  }

  .category-ranking-tab{
    min-height:38px;
    padding:0 15px;
    font-size:14px;
  }

  .category-ranking-list{
    display:flex;
    gap:10px;
    padding-bottom:4px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
  }

  .category-ranking-item{
    flex:0 0 44%;
    scroll-snap-align:start;
  }

  .category-ranking-box--mobile-nav .category-ranking-list{
    gap:10px;
    padding:0 18% 6px 0;
    scroll-padding-left:0;
    scrollbar-width:none;
  }

  .category-ranking-box--mobile-nav .category-ranking-list::-webkit-scrollbar{
    display:none;
  }

  .category-ranking-box--mobile-nav .category-ranking-item{
    flex:0 0 78%;
  }

  .category-ranking-box--mobile-nav .category-ranking-mobile-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin:12px 0 0;
  }

  .category-ranking-imagebox{
    height:124px;
    padding:13px 8px 6px;
  }

  .category-ranking-rank{
    min-width:27px;
    height:27px;
    font-size:13px;
  }

  .category-ranking-name{
    min-height:43px;
    font-size:14px;
  }

  .category-ranking-price{
    font-size:14px;
  }
}

@media(max-width:420px){
  .category-ranking-item{
    flex-basis:48%;
  }

  .category-ranking-box--mobile-nav .category-ranking-item{
    flex-basis:82%;
  }

  .category-ranking-box--mobile-nav .category-ranking-list{
    padding-right:14%;
  }
}

/* =========================================================
   Category Ranking Compact
   カテゴリランキングのみを一段コンパクトにする
   ========================================================= */
.category-ranking-hook--compact{
  margin-bottom:24px;
}

.category-ranking-box--compact{
  margin-bottom:24px;
  padding:12px;
}

.category-ranking-box--compact .category-ranking-header{
  column-gap:16px;
  margin-bottom:10px;
}

.category-ranking-box--compact .category-ranking-heading{
  padding:4px 0 0;
}

.category-ranking-box--compact .category-ranking-title{
  margin-bottom:0;
  font-size:16px;
  line-height:1.3;
}

.category-ranking-box--compact .category-ranking-tabs{
  gap:6px;
}

.category-ranking-box--compact .category-ranking-tab{
  min-height:32px;
  padding:0 13px;
  font-size:13px;
}

.category-ranking-box--compact .category-ranking-list{
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:7px;
}

.category-ranking-box--compact .category-ranking-imagebox{
  height:88px;
  padding:8px 6px 4px;
}

.category-ranking-box--compact .category-ranking-rank{
  top:6px;
  left:6px;
  min-width:24px;
  height:24px;
  padding:0 7px;
  font-size:12px;
}

.category-ranking-box--compact .category-ranking-info{
  padding:0 6px 7px;
}

.category-ranking-box--compact .category-ranking-name{
  min-height:34px;
  margin-bottom:3px;
  font-size:12px;
  line-height:1.4;
}

.category-ranking-box--compact .category-ranking-price{
  font-size:12px;
}

.category-ranking-box--compact .category-ranking-price--soldout{
  font-size:12px;
}

.category-ranking-box--compact .category-ranking-mobile-count{
  min-width:42px;
  font-size:12px;
}

.category-ranking-box--compact .category-ranking-mobile-button{
  width:32px;
  height:32px;
  font-size:12px;
}

@media(max-width:768px){
  .category-ranking-hook--compact{
    margin-bottom:22px;
  }

  .category-ranking-box--compact{
    margin-bottom:22px;
    padding:10px 8px;
  }

  .category-ranking-box--compact .category-ranking-header{
    margin-bottom:8px;
  }

  .category-ranking-box--compact .category-ranking-tabs{
    gap:6px;
    margin-bottom:8px;
  }

  .category-ranking-box--compact .category-ranking-heading{
    padding-top:3px;
  }

  .category-ranking-box--compact .category-ranking-title{
    font-size:14px;
  }

  .category-ranking-box--compact .category-ranking-tab{
    min-height:32px;
    padding:0 11px;
    font-size:12px;
  }

  .category-ranking-box--compact .category-ranking-list,
  .category-ranking-box--compact.category-ranking-box--mobile-nav .category-ranking-list{
    gap:8px;
  }

  .category-ranking-box--compact.category-ranking-box--mobile-nav .category-ranking-list{
    padding-right:26%;
    padding-bottom:4px;
  }

  .category-ranking-box--compact.category-ranking-box--mobile-nav .category-ranking-item{
    flex-basis:68%;
  }

  .category-ranking-box--compact .category-ranking-imagebox{
    height:96px;
    padding:9px 7px 4px;
  }

  .category-ranking-box--compact .category-ranking-rank{
    min-width:22px;
    height:22px;
    padding:0 6px;
    font-size:11px;
  }

  .category-ranking-box--compact .category-ranking-info{
    padding:0 7px 7px;
  }

  .category-ranking-box--compact .category-ranking-name{
    min-height:34px;
    margin-bottom:3px;
    font-size:12px;
    line-height:1.4;
  }

  .category-ranking-box--compact .category-ranking-price,
  .category-ranking-box--compact .category-ranking-price--soldout{
    font-size:12px;
  }

  .category-ranking-box--compact.category-ranking-box--mobile-nav .category-ranking-mobile-nav{
    gap:6px;
    margin-top:8px;
  }

  .category-ranking-box--compact .category-ranking-mobile-button{
    width:30px;
    height:30px;
    font-size:11px;
  }
}

@media(max-width:420px){
  .category-ranking-box--compact.category-ranking-box--mobile-nav .category-ranking-item{
    flex-basis:72%;
  }

  .category-ranking-box--compact.category-ranking-box--mobile-nav .category-ranking-list{
    padding-right:20%;
  }
}

/* =========================================================
   Category Hero
   ========================================================= */
.natural-category-hero,
.natural-category-hero--has-image{
  position:relative;
  width:100%;
  max-width:1200px;
  min-height:170px;
  margin:0 auto 18px;
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  background-color:#fbf8f2;
  background-image:linear-gradient(135deg,#fffdf8 0%,#f7f3ea 100%);
  background-repeat:no-repeat;
  background-position:center;
  background-size:100% 100%;
  overflow:hidden;
  box-sizing:border-box;
}

.natural-category-hero__inner,
.natural-category-hero--has-image .natural-category-hero__inner{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  width:100%;
  max-width:1200px;
  min-height:170px;
  margin:0 auto;
  padding:18px 10px 22px;
  box-sizing:border-box;
}




.natural-category-hero__content{
  position:relative;
  z-index:2;
  padding-right:0;
  box-sizing:border-box;
}

.natural-category-hero__title{
  margin:0 0 8px;
  color:#1f1f1f;
  font-size:40px;
  font-weight:500;
  line-height:1.25;
  letter-spacing:.08em;
}

.natural-category-hero__en{
  margin:0 0 18px;
  color:#6f6254;
  font-family:Montserrat,sans-serif;
  font-size:14px;
  font-weight:500;
  letter-spacing:.06em;
}

.natural-category-hero__lead{
  margin:0;
  color:#333;
  font-size:15px;
  font-weight:500;
  line-height:1.9;
}

@media(max-width:768px){
  .natural-category-hero,
  .natural-category-hero--has-image{
    min-height:0;
    margin-bottom:18px;
  }

  .natural-category-hero__inner,
  .natural-category-hero--has-image .natural-category-hero__inner{
    min-height:0;
    padding:16px 16px 14px;
  }

  .natural-category-hero__title{
    margin-bottom:6px;
    font-size:28px;
    line-height:1.3;
    letter-spacing:.04em;
  }

  .natural-category-hero__en{
    margin-bottom:0;
  }

  .natural-category-hero__lead{
    display:none;
  }

}

@media(max-width:480px){
  .natural-category-hero__inner,
  .natural-category-hero--has-image .natural-category-hero__inner{
    padding:14px 20px;
  }

  .natural-category-hero__title{
    margin-bottom:5px;
    font-size:24px;
    line-height:1.35;
    letter-spacing:.03em;
  }
}

/* =========================================================
   Product Filter
   ========================================================= */
.natural-product-filter-wrapper{
  max-width:1200px;
  margin:0 auto 24px;
  padding:14px 16px 15px;
  border:1px solid #e8e4dc;
  border-radius:10px;
  background:#fff;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-product-list-filters{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:8px;
  width:100%;
  margin:0;
  padding:0 0 13px;
  border-bottom:1px solid #ece9e3;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-product-list-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:36px;
  padding:7px 13px;
  border:1px solid #d9d7d2;
  border-radius:999px;
  background:#fff;
  color:#3f3f3f;
  font-family:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.025);
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.natural-product-filter-wrapper .natural-product-list-filter:hover{
  border-color:#9fbea2;
  background:#f8fbf8;
  color:#256b2a;
  box-shadow:0 2px 5px rgba(46,125,50,.08);
  transform:translateY(-1px);
}

.natural-product-filter-wrapper .natural-product-list-filter.is-active{
  border-color:#2e7d32;
  background:#2e7d32;
  color:#fff;
  box-shadow:0 2px 6px rgba(46,125,50,.16);
}

.natural-product-filter-wrapper .natural-product-list-filter.is-active:hover{
  border-color:#256b2a;
  background:#256b2a;
  color:#fff;
}

.natural-product-filter-wrapper .natural-product-list-filter i{
  font-size:11px;
  line-height:1;
}

.natural-product-filter-wrapper .natural-keyword-filter{
  display:none;
  width:100%;
  margin:0;
  padding:13px 0 0;
  border:0;
  background:transparent;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-keyword-filter__head{
  display:block;
  width:100%;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-keyword-filter__title{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:7px;
  margin:0 0 10px;
  padding:0;
  color:#333;
  font-size:12px;
  font-weight:800;
  line-height:1.4;
  letter-spacing:.01em;
  white-space:normal;
}

.natural-product-filter-wrapper .natural-keyword-filter__title i{
  color:#2e7d32;
  font-size:11px;
  line-height:1;
}

.natural-product-filter-wrapper .natural-keyword-filter__buttons{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:7px;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-keyword-filter__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:32px;
  padding:5px 10px;
  border:1px solid #ddd9d2;
  border-radius:999px;
  background:#fff;
  color:#4a4a4a;
  font-family:inherit;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 1px 2px rgba(0,0,0,.02);
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
  transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}

.natural-product-filter-wrapper .natural-keyword-filter__button:hover{
  border-color:#9fbea2;
  background:#f8fbf8;
  color:#256b2a;
  box-shadow:0 2px 5px rgba(46,125,50,.07);
  transform:translateY(-1px);
}

.natural-product-filter-wrapper .natural-keyword-filter__button.is-active{
  border-color:#2e7d32;
  background:#2e7d32;
  color:#fff;
  box-shadow:0 2px 6px rgba(46,125,50,.14);
}

.natural-product-filter-wrapper .natural-keyword-filter__button.is-active:hover{
  border-color:#256b2a;
  background:#256b2a;
  color:#fff;
}

.natural-product-filter-wrapper .natural-keyword-filter__button-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border:0;
  border-radius:999px;
  background:#f2f1ee;
  color:#666;
  font-size:9px;
  font-weight:800;
  line-height:1;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-keyword-filter__button.is-active .natural-keyword-filter__button-count{
  background:rgba(255,255,255,.22);
  color:#fff;
}

.natural-product-filter-wrapper .natural-keyword-filter__note{
  display:none;
  margin:12px 0 0;
  padding:11px 13px;
  border:1px solid #e2dfd9;
  border-radius:7px;
  background:#fff;
  color:#666;
  font-size:13px;
  line-height:1.6;
  text-align:center;
  box-sizing:border-box;
}

.natural-product-filter-wrapper .natural-keyword-filter__note.is-error{
  border-color:#e3b7b7;
  color:#9b2c2c;
}

.natural-product-filter-wrapper .natural-product-filter-empty{
  width:100%;
  margin:14px 0 0;
  padding:16px;
  border:1px solid #e2dfd9;
  border-radius:7px;
  background:#fff;
  color:#666;
  font-size:14px;
  line-height:1.6;
  text-align:center;
  box-sizing:border-box;
}

.natural-ranking-item.natural-product-filter-hidden{
  display:none!important;
}

.natural-product-sale-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  min-height:23px;
  padding:3px 7px;
  border:1px solid #c62828;
  border-radius:3px;
  background:#c62828;
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  box-sizing:border-box;
}

.natural-product-sale-badge i{
  color:#fff;
  font-size:10px;
  line-height:1;
}

@media(max-width:768px){
  .natural-product-filter-wrapper{
    width:auto;
    margin:0 20px 20px;
    padding:12px 12px 13px;
    border-radius:9px;
  }

  .natural-product-filter-wrapper .natural-product-list-filters{
    gap:6px;
    padding-bottom:12px;
  }

  .natural-product-filter-wrapper .natural-product-list-filter{
    min-height:33px;
    padding:6px 10px;
    gap:5px;
    font-size:11px;
  }

  .natural-product-filter-wrapper .natural-product-list-filter i{
    font-size:10px;
  }

  .natural-product-filter-wrapper .natural-keyword-filter{
    padding-top:12px;
  }

  .natural-product-filter-wrapper .natural-keyword-filter__title{
    margin-bottom:9px;
    font-size:12px;
  }

  .natural-product-filter-wrapper .natural-keyword-filter__buttons{
    gap:6px;
  }

  .natural-product-filter-wrapper .natural-keyword-filter__button{
    min-height:31px;
    padding:5px 9px;
    gap:4px;
    font-size:10.5px;
  }

  .natural-product-filter-wrapper .natural-keyword-filter__button-count{
    min-width:17px;
    height:17px;
    padding:0 4px;
    font-size:8.5px;
  }
}

@media(max-width:480px){
  .natural-product-sale-badge{
    min-height:21px;
    padding:2px 6px;
    font-size:10px;
  }

  .natural-product-sale-badge i{
    font-size:9px;
  }
}

@media(max-width:380px){
  .natural-product-filter-wrapper{
    padding-left:10px;
    padding-right:10px;
  }

  .natural-product-filter-wrapper .natural-product-list-filter{
    padding-left:9px;
    padding-right:9px;
    font-size:10.5px;
  }

  .natural-product-filter-wrapper .natural-keyword-filter__button{
    padding-left:8px;
    padding-right:8px;
    font-size:10px;
  }
}

/* =========================================================
   Product Cards
   ========================================================= */
.natural-ranking-wrapper{
  padding:20px 0;
}

.natural-ranking-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  justify-content:center;
  gap:18px;
  margin:0;
  padding:0;
  background:#fff;
  list-style:none;
}

.natural-ranking-item{
  position:relative;
  display:flex;
  flex-direction:column;
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 6px rgba(0,0,0,.1);
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease;
}

.natural-ranking-item:hover{
  box-shadow:0 4px 10px rgba(0,0,0,.15);
  transform:translateY(-3px);
}

.natural-ranking-imagebox{
  position:relative;
}

.natural-ranking-imagewrap{
  display:flex;
  align-items:center;
  justify-content:center;
  height:220px;
  padding:10px;
  background:#fff;
  box-sizing:border-box;
}

.natural-ranking-imagewrap img{
  display:block;
  max-width:100%;
  max-height:220px;
  border-radius:6px;
  background:#fff;
  object-fit:contain;
}

.natural-ranking-category{
  margin:8px 10px 2px;
  color:#777;
  font-size:12px;
  font-weight:500;
}

.natural-ranking-name{
  display:-webkit-box;
  min-height:44px;
  margin:2px 10px 4px;
  font-size:22px;
  font-weight:700;
  line-height:1.2;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

.natural-ranking-name a{
  color:#222;
  text-decoration:none;
  transition:color .2s ease;
}

.natural-ranking-name a:hover{
  color:#4caf50;
}

.natural-ranking-desc{
  display:-webkit-box;
  min-height:72px;
  margin:0 10px 8px;
  color:#666;
  font-size:13px;
  line-height:1.5;
  overflow:hidden;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:4;
}

.natural-ranking-stars-wrap{
  position:relative;
  display:inline-block;
  flex-shrink:0;
  color:#ddd;
  font-size:24px;
  line-height:1;
}

.natural-ranking-stars-base{
  color:#ddd;
}

.natural-ranking-stars-fill{
  position:absolute;
  top:0;
  left:0;
  color:#f2b600;
  white-space:nowrap;
  overflow:hidden;
  pointer-events:none;
}

.natural-rating-row{
  display:flex;
  align-items:center;
  gap:8px;
  min-height:28px;
  margin:10px 10px 8px;
}

.natural-rating-row .natural-ranking-stars-wrap{
  flex-shrink:0;
}

.natural-price-increase-card-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:34px;
  padding:5px 12px;
  border:1px solid #d6be92;
  border-radius:999px;
  background:#fff8e7;
  color:#8a5700;
  font-size:20px;
  font-weight:900;
  line-height:1.1;
  white-space:nowrap;
  box-sizing:border-box;
}

.natural-price-increase-card-badge i{
  color:#8a5700;
  font-size:15px;
  line-height:1;
}

.natural-price-increase-card-badge.is-soon{
  border-color:#c98b42;
  background:#fff3e5;
  color:#9a4b00;
}

.natural-price-increase-card-badge.is-soon i{
  color:#9a4b00;
}

.natural-stock-inline-badge{
  min-height:23px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:3px 7px;
  border:1px solid #d7e6d9;
  border-radius:999px;
  background:#f3faf4;
  color:#2e7d32;
  font-size:11px;
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
}

.natural-purchase-area{
  margin-top:auto;
}

.natural-ranking-price{
  display:flex;
  align-items:baseline;
  gap:7px;
  min-height:32px;
  margin:0 10px 8px;
  color:#222;
  font-size:16px;
  font-weight:800;
  line-height:1.35;
  box-sizing:border-box;
}

.natural-ranking-price .natural-ranking-normal{
  color:#222;
  font-size:1em;
  font-weight:800;
}

.natural-ranking-price .discount{
  display:inline-block;
  margin:0;
  color:#d00;
  font-size:1.35em;
  font-weight:800;
  line-height:1.2;
}


.natural-quick-cart-trigger{
  margin:0 0 8px;
  padding:0 5px;
  box-sizing:border-box;
}

.natural-quick-cart-trigger--qty{
  display:grid;
  grid-template-columns:94px 1fr;
  align-items:center;
  gap:6px;
}

.natural-quick-cart-button,
.natural-detail-select-button,
.natural-cart-soldout-button,
.natural-contact-product-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:100%;
  min-height:34px;
  padding:0 10px;
  border-radius:6px;
  font-size:13px;
  font-weight:700;
  line-height:1.2;
  text-align:center;
  text-decoration:none;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
}

.natural-quick-cart-button,
.natural-detail-select-button{
  border:1px solid #2e7d32;
  background:#2e7d32;
  color:#fff;
  cursor:pointer;
}

.natural-quick-cart-button:hover,
.natural-detail-select-button:hover{
  border-color:#256b2a;
  background:#256b2a;
  color:#fff;
  text-decoration:none;
}

.natural-quick-cart-button:disabled{
  opacity:.8;
  cursor:wait;
}

.natural-cart-soldout-button{
  border:1px solid #d32f2f;
  background:#d32f2f;
  color:#fff;
  cursor:not-allowed;
}

.natural-contact-product-button{
  border:1px solid #795548;
  background:#795548;
  color:#fff;
}

.natural-contact-product-button:hover{
  border-color:#5d4037;
  background:#5d4037;
  color:#fff;
  text-decoration:none;
}

.natural-quick-cart-button i,
.natural-detail-select-button i,
.natural-contact-product-button i{
  font-size:12px;
}

.natural-qty-control{
  display:grid;
  grid-template-columns:28px 38px 28px;
  align-items:center;
  min-height:34px;
  border:1px solid #d7e6d9;
  border-radius:6px;
  background:#fff;
  overflow:hidden;
  box-sizing:border-box;
}

.natural-qty-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:34px;
  padding:0;
  border:0;
  background:#f3faf4;
  color:#2e7d32;
  font-size:16px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
}

.natural-qty-button:hover{
  background:#e5f3e7;
}

.natural-qty-input{
  width:38px;
  height:34px;
  padding:0;
  border:0;
  border-right:1px solid #d7e6d9;
  border-left:1px solid #d7e6d9;
  background:#fff;
  color:#222;
  font-size:14px;
  font-weight:700;
  text-align:center;
  box-sizing:border-box;
  appearance:textfield;
  -moz-appearance:textfield;
}

.natural-qty-input::-webkit-outer-spin-button,
.natural-qty-input::-webkit-inner-spin-button{
  margin:0;
  -webkit-appearance:none;
}

.fav-badge-inline{
  position:absolute;
  left:8px;
  bottom:8px;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  min-width:32px;
  min-height:32px;
  padding:0;
  border:1px solid rgba(0,0,0,.12);
  border-radius:50%;
  background:rgba(255,255,255,.94);
  color:#555;
  font-size:15px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  overflow:visible;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
}

.fav-badge-inline i{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 32px;
  width:32px;
  height:32px;
  margin:0;
  padding:0;
  line-height:1;
  pointer-events:none;
}

.fav-badge-label{
  position:absolute;
  top:20%;
  left:30px;
  display:block;
  padding:5px 8px;
  border-radius:999px;
  background:rgba(255,255,255,.96);
  color:#555;
  font-size:11px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-50%);
}

.fav-badge-inline:hover{
  background:#fff;
  color:#d32f2f;
}

.fav-badge-inline:hover .fav-badge-label{
  opacity:1;
  visibility:visible;
}

.fav-badge-inline.added{
  color:#d32f2f;
}

.fav-badge-inline:disabled{
  opacity:.75;
  cursor:wait;
}

.skeleton{
  padding:10px;
  border-radius:8px;
  background:#f6f6f6;
  animation:pulse 1.5s infinite ease-in-out;
}

.skeleton-img{
  width:100%;
  height:180px;
  margin-bottom:8px;
  border-radius:6px;
  background:#ddd;
}

.skeleton-line{
  height:12px;
  margin:4px 0;
  border-radius:3px;
  background:#e0e0e0;
}

.skeleton-line.short{width:50%}
.skeleton-line.medium{width:70%}
.skeleton-line.long{width:90%}

@keyframes pulse{
  0%{opacity:.6}
  50%{opacity:1}
  100%{opacity:.6}
}

@media(max-width:768px){
  .natural-ranking-wrapper{
    padding:0 0 20px;
  }

  .natural-ranking-wrapper #productListContainer{
    width:auto;
    margin-right:20px;
    margin-left:20px;
  }

  .natural-ranking-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:10px;
    width:100%;
  }

  .natural-ranking-item{
    min-width:0;
    border:1px solid #ececec;
    border-radius:9px;
    box-shadow:0 1px 5px rgba(0,0,0,.08);
    transform:none;
  }

  .natural-ranking-item:hover{
    box-shadow:0 1px 5px rgba(0,0,0,.08);
    transform:none;
  }

  .natural-ranking-imagebox{
    width:100%;
    min-width:0;
  }

  .natural-ranking-imagewrap{
    width:100%;
    height:148px;
    padding:8px;
  }

  .natural-ranking-imagewrap img{
    max-height:132px;
    border-radius:5px;
  }

  .fav-badge-inline{
    left:6px;
    bottom:6px;
    width:28px;
    height:28px;
    min-width:28px;
    min-height:28px;
    font-size:13px;
  }

  .fav-badge-inline i{
    flex-basis:28px;
    width:28px;
    height:28px;
  }

  .fav-badge-label{
    display:none;
  }

  .natural-ranking-new{
    max-width:calc(100% - 10px);
    padding:3px 5px;
    font-size:9px;
    line-height:1.2;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
  }

  .natural-ranking-category{
    margin:6px 8px 2px;
    font-size:10px;
    line-height:1.35;
  }

  .natural-ranking-name{
    min-height:39px;
    margin:2px 8px 4px;
    font-size:15px;
    line-height:1.3;
    word-break:break-word;
    -webkit-line-clamp:2;
  }

  .natural-rating-row{
    flex-wrap:wrap;
    gap:4px;
    min-height:22px;
    margin:4px 8px 6px;
  }

  .natural-ranking-stars-wrap{
    font-size:18px;
  }

  .natural-price-increase-card-badge{
    max-width:100%;
    min-height:30px;
    padding:5px 9px;
    gap:5px;
    font-size:13px;
    line-height:1.2;
    text-align:center;
    white-space:normal;
  }

  .natural-price-increase-card-badge i{
    font-size:11px;
  }

  .natural-stock-inline-badge{
    min-height:22px;
    padding:3px 6px;
    font-size:10px;
  }

  .natural-ranking-desc{
    display:none;
  }

  .natural-purchase-area{
    padding-top:4px;
  }

  .natural-ranking-price{
    flex-wrap:wrap;
    gap:3px 5px;
    min-height:22px;
    margin:0 8px 7px;
    font-size:13px;
    line-height:1.3;
  }

  .natural-ranking-price .natural-ranking-normal{
    font-size:13px;
    line-height:1.3;
  }

  .natural-ranking-price .discount{
    font-size:14px;
    line-height:1.25;
  }


  .natural-product-sale-badge{
    min-height:18px;
    padding:2px 5px;
    border-radius:3px;
    gap:3px;
    font-size:8px;
  }

  .natural-product-sale-badge i{
    font-size:8px;
  }

  .natural-quick-cart-trigger,
  .natural-quick-cart-trigger--qty{
    width:100%;
    margin:0 0 7px;
    padding:0 7px;
  }

  .natural-quick-cart-trigger--qty{
    grid-template-columns:1fr;
    gap:5px;
  }

  .natural-qty-control{
    grid-template-columns:34px minmax(0,1fr) 34px;
    width:100%;
    min-height:32px;
    border-radius:5px;
  }

  .natural-qty-button{
    width:100%;
    height:32px;
    font-size:15px;
  }

  .natural-qty-input{
    width:100%;
    height:32px;
    font-size:13px;
  }

  .natural-quick-cart-button,
  .natural-detail-select-button,
  .natural-cart-soldout-button,
  .natural-contact-product-button{
    min-height:34px;
    padding:0 6px;
    border-radius:5px;
    font-size:10.5px;
    line-height:1.2;
    white-space:normal;
  }

  .natural-quick-cart-button i,
  .natural-detail-select-button i,
  .natural-contact-product-button i{
    font-size:10px;
  }

  .skeleton{
    min-width:0;
    padding:7px;
  }

  .skeleton-img{
    height:132px;
  }
}

@media(max-width:480px){
  .natural-price-increase-card-badge{
    min-height:30px;
    padding:5px 9px;
    gap:5px;
    font-size:13px;
  }
}

@media(max-width:360px){
  .natural-ranking-wrapper #productListContainer{
    margin-right:16px;
    margin-left:16px;
  }

  .natural-product-filter-wrapper{
    margin-right:16px;
    margin-left:16px;
  }

  .natural-ranking-list{
    gap:7px;
  }

  .natural-ranking-imagewrap{
    height:132px;
    padding:6px;
  }

  .natural-ranking-imagewrap img{
    max-height:120px;
  }

  .natural-ranking-name{
    min-height:55px;
    margin-left:7px;
    margin-right:7px;
    font-size:14px;
  }

  .natural-ranking-category,
  .natural-rating-row,
  .natural-ranking-price{
    margin-left:7px;
    margin-right:7px;
  }

  .natural-ranking-stars-wrap{
    font-size:18px;
  }

  .natural-quick-cart-trigger,
  .natural-quick-cart-trigger--qty{
    padding-left:6px;
    padding-right:6px;
  }

  .natural-quick-cart-button,
  .natural-detail-select-button,
  .natural-cart-soldout-button,
  .natural-contact-product-button{
    font-size:10px;
  }
}
