/* Product category content below the product grid. Loaded only on product_cat archives. */
.tara-product-category-content{clear:both;margin-top:34px;padding-top:6px}
.tara-product-category-description{margin:0;padding:24px 26px;border:1px solid var(--tara-border);border-radius:18px;background:var(--tara-surface);color:var(--tara-text);box-shadow:0 8px 26px rgba(54,56,83,.05);font-size:.92rem;line-height:2.05}
.tara-product-category-description>:first-child{margin-top:0}.tara-product-category-description>:last-child{margin-bottom:0}
.tara-product-category-description h2,.tara-product-category-description h3,.tara-product-category-description h4{margin:1.35em 0 .55em;color:var(--tara-secondary);line-height:1.65}
.tara-product-category-description a{color:var(--tara-primary);text-underline-offset:3px}
.tara-product-category-description ul,.tara-product-category-description ol{padding-inline-start:1.25rem}

.tara-category-faq{position:relative;margin-top:22px;padding:20px;border:1px solid #dce7f4;border-radius:20px;background:linear-gradient(180deg,#f7fbff 0%,#fff 72%);box-shadow:0 10px 30px rgba(33,91,170,.06)}
.tara-category-faq .tara-faq-heading{margin-bottom:15px}.tara-category-faq .tara-faq-heading>span{display:inline-flex;margin-bottom:5px;padding:3px 9px;border-radius:999px;background:color-mix(in srgb,var(--tara-primary) 12%,#fff);color:var(--tara-primary);font-size:.68rem;font-weight:800}.tara-category-faq .tara-faq-heading h2{margin:0;color:var(--tara-secondary);font-size:1.24rem!important}
.tara-category-faq .tara-faq-list{position:relative;display:grid;gap:10px}.tara-category-faq .tara-faq-item{overflow:hidden;margin:0;border:1px solid #dbe5f2;border-radius:15px;background:rgba(255,255,255,.96);box-shadow:0 6px 20px rgba(54,56,83,.05);transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.tara-category-faq .tara-faq-item:hover{transform:translateY(-1px);border-color:#c7d7eb;box-shadow:0 9px 24px rgba(33,91,170,.08)}
.tara-category-faq .tara-faq-item summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:58px;padding:13px 16px;cursor:pointer;list-style:none;color:#344056;font-size:.87rem;font-weight:850;line-height:1.8}.tara-category-faq .tara-faq-item summary::-webkit-details-marker{display:none}.tara-category-faq .tara-faq-item summary i{position:relative;flex:0 0 30px;width:30px;height:30px;border-radius:9px;background:#eaf2fd;box-shadow:inset 0 0 0 1px rgba(33,91,170,.06)}.tara-category-faq .tara-faq-item summary i:before,.tara-category-faq .tara-faq-item summary i:after{content:"";position:absolute;top:50%;left:50%;width:12px;height:2px;border-radius:999px;background:var(--tara-primary);transform:translate(-50%,-50%);transition:transform .18s ease}.tara-category-faq .tara-faq-item summary i:after{transform:translate(-50%,-50%) rotate(90deg)}
.tara-category-faq .tara-faq-item[open]{border-color:color-mix(in srgb,var(--tara-primary) 36%,#fff);box-shadow:0 9px 26px rgba(33,91,170,.09)}.tara-category-faq .tara-faq-item[open] summary{color:var(--tara-primary);background:linear-gradient(90deg,#f7fbff,#fff)}.tara-category-faq .tara-faq-item[open] summary i{background:var(--tara-primary)}.tara-category-faq .tara-faq-item[open] summary i:before,.tara-category-faq .tara-faq-item[open] summary i:after{background:#fff}.tara-category-faq .tara-faq-item[open] summary i:after{transform:translate(-50%,-50%) rotate(0)}
.tara-category-faq .tara-faq-answer{padding:2px 16px 16px;border-top:1px solid #e7edf5;background:#fff;color:#5d697d;font-size:.83rem;line-height:2}.tara-category-faq .tara-faq-answer p{margin:12px 0 0}.tara-category-faq .tara-faq-answer a{color:var(--tara-primary)}
@media(max-width:767px){.tara-product-category-content{margin-top:24px}.tara-product-category-description{padding:17px 15px;border-radius:16px;font-size:.84rem}.tara-category-faq{margin-top:16px;padding:15px;border-radius:18px}.tara-category-faq .tara-faq-heading{margin-bottom:12px}.tara-category-faq .tara-faq-heading h2{font-size:1.08rem!important}.tara-category-faq .tara-faq-item summary{min-height:54px;padding:11px 12px;font-size:.81rem}.tara-category-faq .tara-faq-answer{padding:0 12px 12px;font-size:.79rem}}
@media(prefers-reduced-motion:reduce){.tara-category-faq .tara-faq-item,.tara-category-faq .tara-faq-item summary i:before,.tara-category-faq .tara-faq-item summary i:after{transition:none!important}}

/* ===== Tara 2.6.2 — one structural shell for category heading + Elementor intro ===== */
/* .site-main already owns the site-wide content width. Do not apply a second nested gutter. */
body.tax-product_cat .site-main{padding-top:16px}
body.tax-product_cat .tara-category-top-shell{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0 0 18px;
  padding:0;
}
body.tax-product_cat .tara-category-archive-heading{
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:2px;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:7px 0 12px;
  padding:0;
}
body.tax-product_cat .tara-category-archive-heading .woocommerce-breadcrumb{
  box-sizing:border-box;
  width:100%!important;
  max-width:100%!important;
  min-width:0;
  margin:0!important;
  padding:0!important;
  overflow:hidden;
  color:var(--tara-muted,#64748b);
  font-size:.78rem;
  line-height:1.65;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.tax-product_cat .tara-category-archive-title{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0!important;
  color:var(--tara-primary,#215baa);
  font-size:clamp(1.55rem,2.25vw,2rem)!important;
  font-weight:850;
  line-height:1.45!important;
  overflow-wrap:anywhere;
  word-break:normal;
}
body.tax-product_cat .tara-category-elementor-shell{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  min-width:0;
  margin:0;
  padding:0;
  overflow:visible;
}
body.tax-product_cat .tara-category-elementor-shell>.elementor,
body.tax-product_cat .tara-category-elementor-shell .elementor-element{min-width:0}
/* The outer taxonomy shell already supplies the header/footer content width.
   Prevent Elementor boxed containers from adding a second horizontal inset. */
body.tax-product_cat .tara-category-elementor-shell .elementor-section.elementor-section-boxed>.elementor-container,
body.tax-product_cat .tara-category-elementor-shell .e-con.e-con-boxed>.e-con-inner{
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  margin-inline:auto;
}
body.tax-product_cat .tara-category-elementor-shell .elementor-section.elementor-section-stretched{
  left:auto!important;
  right:auto!important;
  width:100%!important;
  max-width:100%!important;
}
body.tax-product_cat .woocommerce-products-header:empty{display:none}

/* Native category FAQ stays stable when details are toggled. */
body.tax-product_cat .tara-category-faq .tara-faq-list{overflow-anchor:none}
body.tax-product_cat .tara-category-faq .tara-faq-item,
body.tax-product_cat .tara-category-faq .tara-faq-item:hover{transform:none!important}

@media(max-width:767px){
  body.tax-product_cat .site-main{padding-top:8px}
  body.tax-product_cat .tara-category-top-shell{margin-bottom:12px}
  body.tax-product_cat .tara-category-archive-heading{gap:1px;margin:4px 0 9px}
  body.tax-product_cat .tara-category-archive-heading .woocommerce-breadcrumb{font-size:.7rem;line-height:1.55}
  body.tax-product_cat .tara-category-archive-title{font-size:clamp(1.3rem,6vw,1.62rem)!important;line-height:1.42!important}
}

/* ===== Tara 2.6.4 — product-category AJAX search + unified toolbar ===== */
body.tax-product_cat .tara-category-product-results{
  box-sizing:border-box;
  width:100%;
  min-width:0;
}
body.tax-product_cat .tara-category-product-results[aria-busy="true"]{
  opacity:.72;
  transition:opacity .15s ease;
}
body.tax-product_cat .tara-category-product-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  min-width:0;
  margin:0 0 18px;
}
body.tax-product_cat .tara-category-product-toolbar__controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1 1 auto;
  min-width:0;
}
body.tax-product_cat .tara-category-product-search{
  position:relative;
  flex:0 1 440px;
  min-width:260px;
  margin:0;
}
body.tax-product_cat .tara-category-product-search__control{
  display:flex;
  align-items:center;
  gap:8px;
  box-sizing:border-box;
  width:100%;
  height:44px;
  padding:0 10px 0 5px;
  overflow:hidden;
  border:1px solid #d9e2ee;
  border-radius:11px;
  background:#fff;
  transition:border-color .16s ease,box-shadow .16s ease;
}
body.tax-product_cat .tara-category-product-search__control:focus-within{
  border-color:color-mix(in srgb,var(--tara-primary) 55%,#fff);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--tara-primary) 9%,transparent);
}
body.tax-product_cat .tara-category-product-search__control>span{
  display:grid;
  place-items:center;
  flex:0 0 20px;
  color:#7a8799;
}
body.tax-product_cat .tara-category-product-search__control>span svg,
body.tax-product_cat .tara-category-product-search__control>span .tara-icon{
  display:block;
  width:18px;
  height:18px;
}
body.tax-product_cat .tara-category-product-search__control input[type="search"]{
  flex:1 1 auto;
  min-width:0;
  height:42px;
  margin:0!important;
  padding:0 2px!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:var(--tara-text,#17283f)!important;
  box-shadow:none!important;
  font:inherit!important;
  font-size:.75rem!important;
}
body.tax-product_cat .tara-category-product-search__control button{
  flex:0 0 auto;
  height:34px;
  margin:0;
  padding:0 13px;
  border:0;
  border-radius:8px;
  background:var(--tara-primary,#215baa);
  color:#fff;
  font:inherit;
  font-size:.7rem;
  font-weight:850;
  cursor:pointer;
}
body.tax-product_cat .tara-category-product-search__status{
  position:absolute;
  top:calc(100% + 4px);
  right:5px;
  z-index:3;
  color:#718096;
  font-size:.64rem;
  line-height:1.5;
  pointer-events:none;
}
body.tax-product_cat .tara-category-product-ordering{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
  min-width:0;
}
body.tax-product_cat .tara-category-product-ordering>span{
  color:#6b7688;
  font-size:.72rem;
  font-weight:750;
  white-space:nowrap;
}
body.tax-product_cat .tara-category-product-ordering .woocommerce-ordering{
  float:none!important;
  margin:0!important;
}
body.tax-product_cat .tara-category-product-ordering select{
  min-width:145px;
  height:44px;
  margin:0;
  padding:6px 10px;
  border:1px solid #d9e2ee;
  border-radius:11px;
  background:#fff;
  color:var(--tara-text,#17283f);
  font:inherit;
  font-size:.73rem;
  font-weight:700;
  box-shadow:none;
}
body.tax-product_cat .tara-category-result-summary{
  flex:0 0 auto;
  color:#718096;
  font-size:.72rem;
  white-space:nowrap;
}
body.tax-product_cat .tara-category-result-summary strong{
  color:#45536a;
  font-weight:850;
}
@media(max-width:900px){
  body.tax-product_cat .tara-category-product-toolbar{align-items:stretch;flex-direction:column;gap:9px;margin-bottom:15px}
  body.tax-product_cat .tara-category-product-toolbar__controls{width:100%}
  body.tax-product_cat .tara-category-product-search{flex:1 1 auto;min-width:0}
  body.tax-product_cat .tara-category-result-summary{align-self:flex-start}
}
@media(max-width:600px){
  body.tax-product_cat .tara-category-product-toolbar__controls{align-items:stretch;flex-direction:column}
  body.tax-product_cat .tara-category-product-search{width:100%}
  body.tax-product_cat .tara-category-product-ordering{width:100%;justify-content:space-between}
  body.tax-product_cat .tara-category-product-ordering .woocommerce-ordering{flex:1 1 auto}
  body.tax-product_cat .tara-category-product-ordering select{width:100%;min-width:0}
  body.tax-product_cat .tara-category-product-search__control button{padding-inline:11px}
}
