:root{--epub-green-950:#013A33;--epub-green-900:#02473D;--epub-green-800:#0F5148;--epub-green-700:#176458;--epub-sage-500:#94B19E;--epub-sage-200:#D4E2D8;--epub-sage-100:#EAF1EC;--epub-gold-700:#B66E25;--epub-gold-600:#C98234;--epub-gold-500:#DFA253;--epub-gold-300:#EDC37B;--epub-gold-200:#F3D8AC;--epub-gold-100:#FAEEDB;--epub-cream:#F8F5EE;--epub-white:#fff;--epub-text:#17201E;--epub-muted:#68736F;--epub-border:#E4E3DC;--epub-container:1240px;--epub-shadow-card:0 18px 45px rgba(15,81,72,.10);--epub-transition:.28s cubic-bezier(.2,.7,.2,1)}
.epubnest-shop-page,.epubnest-shop-page *{box-sizing:border-box}.epubnest-shop-page{background:#fff;color:var(--epub-text);font-family:"Manrope",Arial,sans-serif;line-height:1.6;overflow-x:hidden}.epubnest-shop-page a{text-decoration:none}.epubnest-shop-page button,.epubnest-shop-page input,.epubnest-shop-page select{font:inherit}.epubnest-shop-container{width:min(calc(100% - 40px),var(--epub-container));margin-inline:auto}
.epubnest-shop-hero{position:relative;overflow:hidden;padding:clamp(70px,8vw,115px) 0 clamp(55px,7vw,85px);background:radial-gradient(circle at 88% 20%,rgba(223,162,83,.20),transparent 25%),radial-gradient(circle at 10% 90%,rgba(148,177,158,.20),transparent 26%),linear-gradient(180deg,#fff 0%,var(--epub-cream) 100%)}.epubnest-shop-hero:before{content:"";position:absolute;width:380px;height:380px;right:-210px;top:-230px;border-radius:50%;border:80px solid rgba(15,81,72,.035);pointer-events:none}.epubnest-shop-hero-inner{position:relative;z-index:2;max-width:880px;margin-inline:auto;text-align:center}.epubnest-shop-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:8px 14px;border:1px solid rgba(15,81,72,.13);border-radius:999px;background:rgba(255,255,255,.8);color:var(--epub-green-800);font-size:.72rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.epubnest-shop-eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--epub-gold-500);box-shadow:0 0 0 5px rgba(223,162,83,.13)}.epubnest-shop-hero h1{margin:22px auto 0;max-width:850px;color:var(--epub-green-900);font-size:clamp(2.8rem,6vw,5.6rem);font-weight:800;line-height:1;letter-spacing:-.06em}.epubnest-shop-hero h1 span{color:var(--epub-gold-600);font-family:"Lora",Georgia,serif;font-style:italic;font-weight:500}.epubnest-shop-description{max-width:680px;margin:20px auto 0;color:var(--epub-muted);font-size:clamp(.95rem,1.35vw,1.08rem);line-height:1.8}
.epubnest-archive-search{max-width:690px;margin:34px auto 0;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid rgba(15,81,72,.11);border-radius:999px;background:#fff;box-shadow:0 16px 45px rgba(15,81,72,.08)}.epubnest-archive-search-icon{width:44px;height:44px;min-width:44px;display:flex;align-items:center;justify-content:center;color:var(--epub-green-700)}.epubnest-archive-search-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.epubnest-archive-search input{flex:1;min-width:0;height:46px;padding:0;border:0;outline:none;background:transparent;color:var(--epub-text);font-size:clamp(.82rem,1vw,.9rem)}.epubnest-archive-search input::placeholder{color:#8D9692}.epubnest-archive-search button{min-height:46px;padding:0 22px;border:0;border-radius:999px;background:var(--epub-green-800);color:#fff;cursor:pointer;font-size:.77rem;font-weight:800;transition:var(--epub-transition)}.epubnest-archive-search button:hover{background:var(--epub-green-900);transform:translateY(-1px)}
.epubnest-shop-trust{border-top:1px solid rgba(15,81,72,.06);border-bottom:1px solid rgba(15,81,72,.08);background:#fff}.epubnest-shop-trust-inner{min-height:73px;display:grid;grid-template-columns:repeat(4,1fr);align-items:center}.epubnest-shop-trust-item{min-height:42px;padding:0 25px;display:flex;align-items:center;justify-content:center;gap:10px;border-right:1px solid var(--epub-border);color:var(--epub-green-900);font-size:clamp(.69rem,.8vw,.78rem);font-weight:700;text-align:center}.epubnest-shop-trust-item:first-child{padding-left:0}.epubnest-shop-trust-item:last-child{padding-right:0;border-right:0}.epubnest-shop-trust-icon{color:var(--epub-gold-600)}.epubnest-shop-trust-icon svg{display:block;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.epubnest-archive{padding:clamp(65px,8vw,105px) 0 110px;background:#fff}.epubnest-category-strip{margin-bottom:39px;display:flex;align-items:center;gap:8px;overflow-x:auto;padding-bottom:5px;scrollbar-width:none}.epubnest-category-strip::-webkit-scrollbar{display:none}.epubnest-category-chip{min-height:39px;padding:0 15px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--epub-border);border-radius:999px;background:#fff;color:var(--epub-green-800);font-size:.73rem;font-weight:750;white-space:nowrap;transition:var(--epub-transition)}.epubnest-category-chip:hover,.epubnest-category-chip.active{border-color:var(--epub-green-800);background:var(--epub-green-800);color:#fff}
.epubnest-archive-toolbar{margin-bottom:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.epubnest-result-title h2{margin:0;color:var(--epub-green-900);font-size:clamp(1.6rem,2.5vw,2.3rem);line-height:1.15;letter-spacing:-.04em}.epubnest-result-title p{margin:6px 0 0;color:var(--epub-muted);font-size:.77rem}.epubnest-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px}.epubnest-filter-button{min-height:44px;padding:0 15px;display:none;align-items:center;justify-content:center;gap:8px;border:1px solid var(--epub-border);border-radius:11px;background:#fff;color:var(--epub-green-900);cursor:pointer;font-size:.76rem;font-weight:750}.epubnest-filter-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.epubnest-sort-form{margin:0}.epubnest-sort-wrapper{position:relative}.epubnest-sort-wrapper select{min-height:44px;padding:0 42px 0 15px;border:1px solid var(--epub-border);border-radius:11px;outline:none;background:#fff;color:var(--epub-green-900);cursor:pointer;appearance:none;font-size:.75rem;font-weight:700}.epubnest-sort-wrapper:after{content:"";position:absolute;right:15px;top:50%;width:7px;height:7px;border-right:1.5px solid var(--epub-green-900);border-bottom:1.5px solid var(--epub-green-900);pointer-events:none;transform:translateY(-70%) rotate(45deg)}
.epubnest-products-layout{display:grid;grid-template-columns:245px minmax(0,1fr);align-items:start;gap:clamp(35px,5vw,65px)}.epubnest-shop-sidebar{position:sticky;top:125px}.epubnest-filter-form{margin:0}.epubnest-filter-section{padding:0 0 25px;margin-bottom:25px;border-bottom:1px solid var(--epub-border)}.epubnest-filter-section:last-of-type{margin-bottom:0}.epubnest-filter-section h3{margin:0 0 15px;color:var(--epub-green-900);font-size:.79rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.epubnest-filter-list{margin:0;padding:0;display:grid;gap:10px;list-style:none}.epubnest-filter-checkbox{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#58635F;cursor:pointer;font-size:.78rem;font-weight:600}.epubnest-filter-checkbox-left{display:flex;align-items:center;gap:9px}.epubnest-filter-checkbox input,.epubnest-price-option input{width:16px;height:16px;accent-color:var(--epub-green-800)}.epubnest-filter-count{color:#9AA09E;font-size:.67rem}.epubnest-price-options{display:grid;gap:10px}.epubnest-price-option{display:flex;align-items:center;gap:9px;color:#58635F;cursor:pointer;font-size:.78rem;font-weight:600}.epubnest-filter-actions{display:flex;align-items:center;gap:9px;margin-top:18px}.epubnest-apply-filter{min-height:42px;padding:0 16px;border:0;border-radius:10px;background:var(--epub-green-800);color:#fff;cursor:pointer;font-size:.74rem;font-weight:800}.epubnest-reset-filter{font-size:.73rem;font-weight:750;color:var(--epub-gold-700)}.epubnest-sidebar-note{margin-top:28px;padding:20px;border-radius:16px;background:var(--epub-sage-100)}.epubnest-sidebar-note-icon{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--epub-green-800)}.epubnest-sidebar-note-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.epubnest-sidebar-note h4{margin:12px 0 0;color:var(--epub-green-900);font-size:.82rem}.epubnest-sidebar-note p{margin:6px 0 0;color:#62736D;font-size:.71rem;line-height:1.65}
.epubnest-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,2.6vw,30px)}.epubnest-product-card{min-width:0;display:flex;flex-direction:column;position:relative;overflow:hidden;border:1px solid var(--epub-border);border-radius:20px;background:#fff;transition:var(--epub-transition)}.epubnest-product-card:hover{border-color:rgba(15,81,72,.20);box-shadow:var(--epub-shadow-card);transform:translateY(-5px)}.epubnest-product-media{position:relative;aspect-ratio:1/1.03;padding:clamp(20px,3vw,30px);display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--epub-cream)}.epubnest-product-image-wrap{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.epubnest-product-image-wrap img,.epubnest-product-image{display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;object-fit:contain!important;margin:0!important;box-shadow:0 14px 30px rgba(33,50,44,.12);transition:.35s ease}.epubnest-product-card:hover .epubnest-product-image-wrap img{transform:translateY(-4px) scale(1.02)}.epubnest-product-badges{position:absolute;z-index:5;top:14px;left:14px;display:flex;flex-wrap:wrap;gap:6px}.epubnest-product-badge{min-height:25px;padding:0 9px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:var(--epub-green-900);box-shadow:0 6px 18px rgba(15,81,72,.08);font-size:.59rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.epubnest-product-badge.sale{background:var(--epub-gold-500);color:var(--epub-green-950)}.epubnest-product-badge.muted{background:#EEE8DC;color:#624128}
.epubnest-product-body{flex:1;padding:21px 20px 20px;display:flex;flex-direction:column}.epubnest-product-category{color:var(--epub-gold-700);font-size:.61rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.epubnest-product-title{margin:8px 0 0;color:var(--epub-green-900);font-size:clamp(.98rem,1.2vw,1.08rem);font-weight:800;line-height:1.38;letter-spacing:-.02em}.epubnest-product-title a{color:inherit}.epubnest-product-title a:hover{color:var(--epub-green-700)}.epubnest-product-description{margin:9px 0 0;color:var(--epub-muted);font-size:.73rem;line-height:1.65}.epubnest-product-meta{margin-top:14px;display:flex;align-items:center;flex-wrap:wrap;gap:7px}.epubnest-product-meta-item{display:inline-flex;align-items:center;gap:5px;color:#6F7D78;font-size:.64rem;font-weight:650}.epubnest-product-meta-dot{width:4px;height:4px;border-radius:50%;background:var(--epub-sage-500)}.epubnest-product-bottom{margin-top:auto;padding-top:19px;display:flex;align-items:center;justify-content:space-between;gap:12px}.epubnest-product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:7px;color:var(--epub-green-900);font-size:clamp(1rem,1.2vw,1.15rem);font-weight:800}.epubnest-product-price del{color:#A0A6A4;font-size:.72rem;font-weight:600}.epubnest-product-price ins{text-decoration:none}.epubnest-view-product{width:39px;height:39px;min-width:39px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--epub-green-800);color:#fff!important;transition:var(--epub-transition)}.epubnest-view-product svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.epubnest-view-product:hover{background:var(--epub-gold-500);color:var(--epub-green-950)!important;transform:rotate(-5deg) scale(1.05)}
.epubnest-final-sale-bar{margin-top:45px;padding:18px 21px;display:flex;align-items:flex-start;gap:13px;border:1px solid var(--epub-gold-200);border-radius:15px;background:var(--epub-gold-100)}.epubnest-final-sale-icon{width:35px;height:35px;min-width:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--epub-gold-700)}.epubnest-final-sale-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.epubnest-final-sale-content strong{display:block;color:var(--epub-green-900);font-size:.77rem}.epubnest-final-sale-content p{margin:4px 0 0;color:#766551;font-size:.7rem;line-height:1.6}.epubnest-final-sale-content a{color:var(--epub-gold-700);font-weight:800}
.epubnest-pagination{margin-top:clamp(45px,6vw,70px)}.epubnest-pagination ul.page-numbers{margin:0;padding:0;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;list-style:none}.epubnest-pagination .page-numbers li{margin:0}.epubnest-pagination a.page-numbers,.epubnest-pagination span.page-numbers{min-width:41px;height:41px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--epub-border);border-radius:10px;background:#fff;color:var(--epub-green-800);font-size:.73rem;font-weight:800;transition:var(--epub-transition)}.epubnest-pagination a.page-numbers:hover,.epubnest-pagination span.page-numbers.current{border-color:var(--epub-green-800);background:var(--epub-green-800);color:#fff}
.epubnest-empty-results{padding:70px 20px;border:1px solid var(--epub-border);border-radius:20px;background:var(--epub-cream);text-align:center}.epubnest-empty-icon{width:55px;height:55px;margin-inline:auto;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--epub-green-800)}.epubnest-empty-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.epubnest-empty-results h3{margin:15px 0 0;color:var(--epub-green-900);font-size:1.1rem}.epubnest-empty-results p{margin:7px auto 0;max-width:420px;color:var(--epub-muted);font-size:.77rem}.epubnest-empty-button{margin-top:18px;min-height:42px;padding:0 16px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--epub-green-800);color:#fff!important;font-size:.74rem;font-weight:800}
.epubnest-filter-overlay{position:fixed;inset:0;z-index:1490;background:rgba(1,58,51,.50);opacity:0;visibility:hidden;pointer-events:none;transition:var(--epub-transition)}.epubnest-filter-overlay.active{opacity:1;visibility:visible;pointer-events:auto}.epubnest-mobile-filter{position:fixed;z-index:1500;right:0;top:0;width:min(390px,92vw);height:100vh;height:100dvh;padding:25px;overflow-y:auto;background:#fff;box-shadow:-20px 0 60px rgba(1,58,51,.14);transform:translateX(110%);transition:.4s cubic-bezier(.2,.7,.2,1)}.epubnest-mobile-filter.active{transform:translateX(0)}.epubnest-mobile-filter-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:17px;border-bottom:1px solid var(--epub-border)}.epubnest-mobile-filter-header h3{margin:0;color:var(--epub-green-900);font-size:1rem}.epubnest-mobile-filter-close{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:var(--epub-sage-100);color:var(--epub-green-900);cursor:pointer;font-size:1.2rem}.epubnest-mobile-filter-body{padding-top:23px}
@media(max-width:1120px){.epubnest-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.epubnest-shop-trust-inner{grid-template-columns:repeat(2,1fr)}.epubnest-shop-trust-item{min-height:57px;border-bottom:1px solid var(--epub-border)}.epubnest-shop-trust-item:nth-child(2){border-right:0}.epubnest-shop-trust-item:nth-child(3),.epubnest-shop-trust-item:nth-child(4){border-bottom:0}.epubnest-products-layout{grid-template-columns:1fr}.epubnest-shop-sidebar{display:none}.epubnest-filter-button{display:inline-flex}}
@media(max-width:650px){.epubnest-shop-container{width:calc(100% - 28px)}.epubnest-shop-hero{padding:64px 0 55px}.epubnest-shop-hero h1{font-size:clamp(2.65rem,13vw,4.1rem)}.epubnest-archive-search{border-radius:18px;flex-wrap:wrap;padding:9px}.epubnest-archive-search-icon{width:38px;height:42px;min-width:38px}.epubnest-archive-search input{height:42px}.epubnest-archive-search button{width:100%;min-height:44px}.epubnest-shop-trust-item{padding:0 12px;gap:7px;font-size:.64rem}.epubnest-archive{padding:57px 0 80px}.epubnest-archive-toolbar{align-items:flex-start;flex-direction:column}.epubnest-toolbar-actions{width:100%;justify-content:space-between}.epubnest-filter-button{flex:1}.epubnest-sort-form{flex:1}.epubnest-sort-wrapper,.epubnest-sort-wrapper select{width:100%}.epubnest-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.epubnest-product-media{padding:14px;aspect-ratio:.92/1}.epubnest-product-body{padding:16px 14px 15px}.epubnest-product-description{display:none}.epubnest-product-bottom{align-items:flex-end;padding-top:14px}.epubnest-view-product{width:35px;height:35px;min-width:35px}.epubnest-product-badge{min-height:22px;padding:0 7px;font-size:.53rem}.epubnest-product-badges{top:9px;left:9px}}
@media(max-width:390px){.epubnest-product-grid{grid-template-columns:1fr;gap:20px}.epubnest-product-media{aspect-ratio:1/.95}.epubnest-product-description{display:block}}
.epubnest-shop-page a:focus-visible,.epubnest-shop-page button:focus-visible,.epubnest-shop-page input:focus-visible,.epubnest-shop-page select:focus-visible{outline:3px solid rgba(223,162,83,.32);outline-offset:3px}

/* =========================================================
   v1.0.1 — EQUAL & RESPONSIVE PRODUCT CARDS
   Keeps every WooCommerce card aligned and prevents first/last
   loop classes or image dimensions from changing card sizing.
========================================================= */

.epubnest-product-grid{
  align-items:stretch;
  grid-auto-rows:1fr;
}

.epubnest-product-grid > .epubnest-product-card,
.epubnest-product-grid > .product,
.epubnest-product-grid > article.product{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  float:none!important;
  clear:none!important;
  align-self:stretch!important;
}

.epubnest-product-card{
  height:100%;
  min-height:0;
}

.epubnest-product-media{
  width:100%;
  flex:0 0 auto;
  aspect-ratio:1 / 1.03;
  min-height:0;
}

.epubnest-product-image-wrap{
  width:100%!important;
  height:100%!important;
  min-width:0;
  min-height:0;
  overflow:hidden;
}

.epubnest-product-image-wrap img,
.epubnest-product-image{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
}

.epubnest-product-body{
  width:100%;
  min-width:0;
  height:100%;
  flex:1 1 auto;
}

/* Keep titles/descriptions consistent so buttons and prices align. */
.epubnest-product-title{
  min-height:2.76em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.epubnest-product-description{
  min-height:3.3em;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}

.epubnest-product-meta{
  min-height:1.25rem;
}

.epubnest-product-bottom{
  width:100%;
  margin-top:auto;
}

.epubnest-product-price{
  min-width:0;
}

/* Large laptop / tablet */
@media(max-width:1120px){
  .epubnest-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* Mobile: keep two equal columns only while there is enough room. */
@media(max-width:650px){
  .epubnest-product-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

  .epubnest-product-media{
    aspect-ratio:1 / 1.04;
    padding:12px;
  }

  .epubnest-product-title{
    min-height:2.7em;
    font-size:.9rem;
  }

  .epubnest-product-description{
    display:none;
    min-height:0;
  }

  .epubnest-product-meta{
    min-height:1.15rem;
  }

  .epubnest-product-price{
    font-size:.95rem;
  }
}

/* Phones: one full-width card prevents the 5th/odd card from looking broken. */
@media(max-width:520px){
  .epubnest-product-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .epubnest-product-card{
    width:100%!important;
  }

  .epubnest-product-media{
    aspect-ratio:1 / .88;
    padding:20px;
  }

  .epubnest-product-image-wrap img,
  .epubnest-product-image{
    object-fit:contain!important;
  }

  .epubnest-product-body{
    padding:18px 17px 17px;
  }

  .epubnest-product-title{
    min-height:0;
    font-size:1rem;
    -webkit-line-clamp:2;
  }

  .epubnest-product-description{
    display:-webkit-box;
    min-height:3.3em;
  }
}

/* =========================================================
   v1.1.0 — PRODUCT CATEGORY ARCHIVES
========================================================= */
.epubnest-breadcrumb{position:relative;z-index:3;display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 26px;color:#75817d;font-size:.72rem;font-weight:650}.epubnest-breadcrumb a{color:var(--epub-green-800)}.epubnest-breadcrumb a:hover{color:var(--epub-gold-700)}.epubnest-category-hero .epubnest-shop-hero-inner.has-category-image{max-width:none;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);align-items:center;gap:clamp(36px,6vw,82px);text-align:left}.epubnest-category-hero .has-category-image .epubnest-shop-description{margin-left:0}.epubnest-category-hero .has-category-image .epubnest-archive-search{margin-left:0}.epubnest-category-stats{margin-top:20px;display:flex;align-items:center;flex-wrap:wrap;gap:10px;color:var(--epub-green-800);font-size:.72rem;font-weight:750}.epubnest-stat-divider{width:4px;height:4px;border-radius:50%;background:var(--epub-gold-500)}.epubnest-category-visual{display:flex;justify-content:flex-end}.epubnest-category-image-card{position:relative;width:min(100%,360px);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:28px;border:1px solid rgba(15,81,72,.08);border-radius:32px;background:rgba(255,255,255,.72);box-shadow:0 24px 65px rgba(15,81,72,.10);transform:rotate(1.5deg)}.epubnest-category-image-card:before{content:"";position:absolute;inset:15px;border:1px solid rgba(223,162,83,.20);border-radius:23px;pointer-events:none}.epubnest-category-image-card img{position:relative;z-index:2;display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 15px 22px rgba(33,50,44,.13))}
.epubnest-subcategories{margin:0 0 44px;padding:30px;border:1px solid var(--epub-border);border-radius:22px;background:linear-gradient(145deg,#fff,var(--epub-cream))}.epubnest-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:20px}.epubnest-section-heading span{display:block;margin-bottom:5px;color:var(--epub-gold-700);font-size:.65rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.epubnest-section-heading h2{margin:0;color:var(--epub-green-900);font-size:clamp(1.3rem,2vw,1.85rem);line-height:1.2;letter-spacing:-.035em}.epubnest-subcategory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.epubnest-subcategory-card{min-width:0;min-height:84px;padding:12px 14px;display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:12px;border:1px solid rgba(15,81,72,.09);border-radius:15px;background:#fff;color:var(--epub-green-900);transition:var(--epub-transition)}.epubnest-subcategory-card:hover{border-color:rgba(15,81,72,.20);box-shadow:0 12px 28px rgba(15,81,72,.08);transform:translateY(-2px)}.epubnest-subcategory-image{width:54px;height:54px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:var(--epub-sage-100);color:var(--epub-green-800)}.epubnest-subcategory-image svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.epubnest-subcategory-image img{width:100%!important;height:100%!important;object-fit:cover!important}.epubnest-subcategory-copy{min-width:0;display:block}.epubnest-subcategory-copy strong{display:block;overflow:hidden;color:var(--epub-green-900);font-size:.78rem;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.epubnest-subcategory-copy small{display:block;margin-top:3px;color:var(--epub-muted);font-size:.65rem;font-weight:600}.epubnest-subcategory-arrow{color:var(--epub-gold-600);font-size:1rem;font-weight:800}.epubnest-category-nav-list{margin:0;padding:0;display:grid;gap:6px;list-style:none}.epubnest-category-nav-list a{min-height:39px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:9px;color:#58635F;font-size:.75rem;font-weight:650;transition:.2s ease}.epubnest-category-nav-list a:hover,.epubnest-category-nav-list a.active{background:var(--epub-sage-100);color:var(--epub-green-900)}.epubnest-category-nav-list small{color:#99a19e;font-size:.64rem}.epubnest-browse-category-section{margin-bottom:24px}
@media(max-width:980px){.epubnest-category-hero .epubnest-shop-hero-inner.has-category-image{grid-template-columns:minmax(0,1fr) 260px;gap:32px}.epubnest-subcategory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.epubnest-category-hero .epubnest-shop-hero-inner.has-category-image{display:block;text-align:center}.epubnest-category-hero .has-category-image .epubnest-shop-description,.epubnest-category-hero .has-category-image .epubnest-archive-search{margin-left:auto}.epubnest-category-stats{justify-content:center}.epubnest-category-visual{margin:32px auto 0;justify-content:center}.epubnest-category-image-card{width:min(72vw,300px)}.epubnest-breadcrumb{margin-bottom:20px}.epubnest-subcategories{padding:22px 18px}.epubnest-subcategory-grid{grid-template-columns:1fr}}
@media(max-width:520px){.epubnest-breadcrumb{font-size:.66rem;gap:6px}.epubnest-category-image-card{border-radius:24px}.epubnest-subcategory-card{grid-template-columns:48px minmax(0,1fr) auto}.epubnest-subcategory-image{width:48px;height:48px}}

/* =========================================================
   v1.2.0 — /product-category/ CATEGORY HUB
========================================================= */
.epubnest-category-hub-page{background:#fff}.epubnest-category-hub-hero{position:relative;overflow:hidden;padding:clamp(54px,7vw,88px) 0 clamp(62px,8vw,96px);background:radial-gradient(circle at 92% 14%,rgba(223,162,83,.18),transparent 25%),radial-gradient(circle at 3% 95%,rgba(148,177,158,.2),transparent 28%),linear-gradient(180deg,#fff 0%,var(--epub-cream) 100%)}.epubnest-category-hub-hero:after{content:"";position:absolute;width:420px;height:420px;right:-245px;top:-255px;border:78px solid rgba(15,81,72,.035);border-radius:50%;pointer-events:none}.epubnest-category-hub-hero .epubnest-breadcrumb{position:relative;z-index:2;margin-bottom:30px}.epubnest-category-hub-hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);align-items:center;gap:clamp(42px,7vw,90px)}.epubnest-category-hub-copy h1{margin:20px 0 0;max-width:720px;color:var(--epub-green-900);font-size:clamp(3rem,6vw,5.7rem);font-weight:800;line-height:.98;letter-spacing:-.065em}.epubnest-category-hub-copy h1 span{color:var(--epub-gold-600);font-family:"Lora",Georgia,serif;font-style:italic;font-weight:500}.epubnest-category-hub-copy>p{max-width:650px;margin:22px 0 0;color:var(--epub-muted);font-size:clamp(.94rem,1.25vw,1.06rem);line-height:1.8}.epubnest-category-hub-stats{margin-top:28px;display:flex;align-items:stretch;gap:12px}.epubnest-category-hub-stats>div{min-width:112px;padding:14px 17px;border:1px solid rgba(15,81,72,.09);border-radius:15px;background:rgba(255,255,255,.74);box-shadow:0 10px 30px rgba(15,81,72,.04)}.epubnest-category-hub-stats strong{display:block;color:var(--epub-green-900);font-size:1.2rem;font-weight:800;line-height:1.1}.epubnest-category-hub-stats span{display:block;margin-top:4px;color:var(--epub-muted);font-size:.67rem;font-weight:700}.epubnest-category-hub-search-card{padding:clamp(26px,4vw,38px);border:1px solid rgba(15,81,72,.09);border-radius:28px;background:rgba(255,255,255,.9);box-shadow:0 25px 70px rgba(15,81,72,.11)}.epubnest-category-hub-search-label{display:block;color:var(--epub-gold-700);font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.epubnest-category-hub-search-card h2{margin:8px 0 0;color:var(--epub-green-900);font-size:clamp(1.45rem,2.4vw,2rem);line-height:1.15;letter-spacing:-.04em}.epubnest-category-hub-search-card>p{margin:9px 0 0;color:var(--epub-muted);font-size:.77rem;line-height:1.65}.epubnest-category-hub-search{margin-top:21px;padding:7px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:6px;border:1px solid var(--epub-border);border-radius:999px;background:#fff}.epubnest-category-hub-search>span{display:flex;align-items:center;justify-content:center;color:var(--epub-green-700)}.epubnest-category-hub-search svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.epubnest-category-hub-search input{width:100%;min-width:0;height:40px;padding:0;border:0;outline:0;background:transparent;color:var(--epub-text);font-size:.76rem}.epubnest-category-hub-search button{min-height:40px;padding:0 17px;border:0;border-radius:999px;background:var(--epub-green-800);color:#fff;cursor:pointer;font-size:.69rem;font-weight:800}.epubnest-category-hub-search button:hover{background:var(--epub-green-900)}.epubnest-category-hub-shop-link{margin-top:17px;display:inline-flex;align-items:center;gap:7px;color:var(--epub-green-800);font-size:.73rem;font-weight:800}.epubnest-category-hub-shop-link span{color:var(--epub-gold-600);transition:transform .2s ease}.epubnest-category-hub-shop-link:hover span{transform:translateX(3px)}
.epubnest-category-hub-content{padding:clamp(68px,8vw,110px) 0 clamp(80px,9vw,125px)}.epubnest-category-hub-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:34px}.epubnest-category-hub-heading>div>span{display:block;margin-bottom:6px;color:var(--epub-gold-700);font-size:.65rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.epubnest-category-hub-heading h2{margin:0;color:var(--epub-green-900);font-size:clamp(1.8rem,3.2vw,3rem);line-height:1.06;letter-spacing:-.05em}.epubnest-category-hub-heading>p{max-width:410px;margin:0;color:var(--epub-muted);font-size:.76rem;line-height:1.7;text-align:right}.epubnest-category-hub-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.5vw,30px);align-items:stretch}.epubnest-category-hub-card{min-width:0;height:100%;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--epub-border);border-radius:22px;background:#fff;transition:var(--epub-transition)}.epubnest-category-hub-card:hover{border-color:rgba(15,81,72,.2);box-shadow:var(--epub-shadow-card);transform:translateY(-5px)}.epubnest-category-hub-media{position:relative;width:100%;aspect-ratio:1.22/1;padding:24px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:linear-gradient(145deg,var(--epub-cream),#fff)}.epubnest-category-hub-media:after{content:"";position:absolute;width:145px;height:145px;right:-70px;bottom:-70px;border:30px solid rgba(148,177,158,.12);border-radius:50%}.epubnest-category-hub-media img{position:relative;z-index:2;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;transition:transform .35s ease}.epubnest-category-hub-card:hover .epubnest-category-hub-media img{transform:scale(1.035)}.epubnest-category-hub-placeholder{position:relative;z-index:2;width:96px;height:96px;display:flex;align-items:center;justify-content:center;border-radius:26px;background:var(--epub-sage-100);color:var(--epub-green-800)}.epubnest-category-hub-placeholder svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.epubnest-category-hub-count{position:absolute;z-index:4;left:14px;top:14px;min-height:27px;padding:0 10px;display:inline-flex;align-items:center;border:1px solid rgba(15,81,72,.08);border-radius:999px;background:rgba(255,255,255,.93);color:var(--epub-green-900);box-shadow:0 7px 18px rgba(15,81,72,.07);font-size:.59rem;font-weight:800}.epubnest-category-hub-card-body{flex:1;min-width:0;padding:22px 21px 21px;display:flex;flex-direction:column}.epubnest-category-hub-kicker{color:var(--epub-gold-700);font-size:.59rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.epubnest-category-hub-card h3{min-height:2.6em;margin:8px 0 0;color:var(--epub-green-900);font-size:clamp(1.05rem,1.35vw,1.2rem);line-height:1.3;letter-spacing:-.025em}.epubnest-category-hub-card h3 a{color:inherit}.epubnest-category-hub-card h3 a:hover{color:var(--epub-green-700)}.epubnest-category-hub-card-body>p{min-height:4.65em;margin:10px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:var(--epub-muted);font-size:.72rem;line-height:1.55}.epubnest-category-hub-children{min-height:31px;margin-top:15px;display:flex;align-items:flex-start;flex-wrap:wrap;gap:6px}.epubnest-category-hub-children a{padding:5px 8px;border-radius:999px;background:var(--epub-sage-100);color:var(--epub-green-800);font-size:.59rem;font-weight:750}.epubnest-category-hub-children a:hover{background:var(--epub-green-800);color:#fff}.epubnest-category-hub-card-footer{margin-top:auto;padding-top:19px}.epubnest-category-hub-view{min-height:42px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--epub-border);padding-top:16px;color:var(--epub-green-900);font-size:.7rem;font-weight:800}.epubnest-category-hub-view span{width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:var(--epub-green-800);color:#fff;transition:var(--epub-transition)}.epubnest-category-hub-view:hover span{background:var(--epub-gold-500);color:var(--epub-green-950);transform:translateX(2px)}.epubnest-category-hub-empty{padding:70px 24px;border:1px solid var(--epub-border);border-radius:22px;background:var(--epub-cream);text-align:center}.epubnest-category-hub-empty>span{width:58px;height:58px;margin-inline:auto;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--epub-green-800)}.epubnest-category-hub-empty svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7}.epubnest-category-hub-empty h2{margin:16px 0 0;color:var(--epub-green-900);font-size:1.2rem}.epubnest-category-hub-empty p{max-width:500px;margin:8px auto 0;color:var(--epub-muted);font-size:.77rem}.epubnest-category-hub-empty a{margin-top:18px;display:inline-flex;color:var(--epub-green-800);font-size:.75rem;font-weight:800}.epubnest-category-hub-note{margin-top:48px;padding:20px 22px;display:flex;align-items:flex-start;gap:13px;border:1px solid var(--epub-gold-200);border-radius:16px;background:var(--epub-gold-100)}.epubnest-category-hub-note-icon{width:37px;height:37px;min-width:37px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#fff;color:var(--epub-gold-700)}.epubnest-category-hub-note-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.epubnest-category-hub-note strong{display:block;color:var(--epub-green-900);font-size:.76rem}.epubnest-category-hub-note p{margin:4px 0 0;color:#766551;font-size:.69rem;line-height:1.6}
@media(max-width:1040px){.epubnest-category-hub-hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.72fr);gap:35px}.epubnest-category-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.epubnest-category-hub-hero{padding-top:45px}.epubnest-category-hub-hero-grid{grid-template-columns:1fr}.epubnest-category-hub-copy{text-align:center}.epubnest-category-hub-copy h1,.epubnest-category-hub-copy>p{margin-left:auto;margin-right:auto}.epubnest-category-hub-stats{justify-content:center}.epubnest-category-hub-search-card{max-width:560px;width:100%;margin-inline:auto}.epubnest-category-hub-heading{align-items:flex-start;flex-direction:column;gap:13px}.epubnest-category-hub-heading>p{max-width:560px;text-align:left}.epubnest-category-hub-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}}
@media(max-width:560px){.epubnest-category-hub-hero-grid{gap:28px}.epubnest-category-hub-copy h1{font-size:clamp(2.7rem,13vw,4rem)}.epubnest-category-hub-stats>div{flex:1;min-width:0}.epubnest-category-hub-search-card{padding:23px 18px;border-radius:22px}.epubnest-category-hub-search{grid-template-columns:34px minmax(0,1fr);border-radius:18px}.epubnest-category-hub-search button{grid-column:1/-1;width:100%;min-height:43px}.epubnest-category-hub-grid{grid-template-columns:1fr;gap:20px}.epubnest-category-hub-media{aspect-ratio:1.35/1}.epubnest-category-hub-card h3,.epubnest-category-hub-card-body>p,.epubnest-category-hub-children{min-height:0}.epubnest-category-hub-note{padding:18px 16px}.epubnest-category-hub-content{padding-top:60px}}

/* =========================================================
   EPUBNEST v1.4.0 — FULL WIDTH FOR ALL CATALOG PAGES
   Shop, product categories, product tags, product search,
   and /product-category/ category hub.
========================================================= */

html,
body.epubnest-catalog-fullwidth{
  max-width:100%;
  overflow-x:hidden;
}

/* Break the custom page out of any boxed theme content wrapper. */
body.epubnest-catalog-fullwidth .epubnest-shop-page{
  position:relative!important;
  left:50%!important;
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  width:100vw!important;
  max-width:100vw!important;
  margin-left:-50vw!important;
  margin-right:-50vw!important;
  padding-left:0!important;
  padding-right:0!important;
  clear:both!important;
}

/* Remove common theme constraints around the plugin content. */
body.epubnest-catalog-fullwidth .site-content,
body.epubnest-catalog-fullwidth #content,
body.epubnest-catalog-fullwidth #primary,
body.epubnest-catalog-fullwidth .content-area,
body.epubnest-catalog-fullwidth main.site-main,
body.epubnest-catalog-fullwidth #main,
body.epubnest-catalog-fullwidth .site-main,
body.epubnest-catalog-fullwidth .content-container,
body.epubnest-catalog-fullwidth .site-content-inner,
body.epubnest-catalog-fullwidth .entry-content,
body.epubnest-catalog-fullwidth .entry-content-wrap,
body.epubnest-catalog-fullwidth .woocommerce,
body.epubnest-catalog-fullwidth .woocommerce-page{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Keep page backgrounds full bleed, while the actual reading/grid canvas is wide. */
body.epubnest-catalog-fullwidth .epubnest-shop-container{
  width:min(calc(100% - clamp(32px,5vw,96px)),1680px)!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media (max-width:1200px){
  body.epubnest-catalog-fullwidth .epubnest-shop-container{
    width:calc(100% - 48px)!important;
  }
}

@media (max-width:620px){
  body.epubnest-catalog-fullwidth .epubnest-shop-container{
    width:calc(100% - 28px)!important;
  }
}

/* =========================================================
   EPUBNEST v1.5.0 — TRUE FULL WIDTH CATALOG + CATEGORY HUB
   Keeps theme header/footer intact while forcing plugin pages
   to span the viewport and use wide responsive inner gutters.
========================================================= */

body.epubnest-catalog-fullwidth{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}

/* Full-bleed breakout works even when the theme puts content
   inside a boxed/max-width wrapper. */
body.epubnest-catalog-fullwidth .epubnest-shop-page,
body.epubnest-catalog-fullwidth .epubnest-category-hub-page{
  position:relative!important;
  left:auto!important;
  right:auto!important;
  display:block!important;
  width:100vw!important;
  max-width:100vw!important;
  min-width:100vw!important;
  margin-left:calc(50% - 50vw)!important;
  margin-right:calc(50% - 50vw)!important;
  padding-left:0!important;
  padding-right:0!important;
  visibility:visible!important;
  opacity:1!important;
  clear:both!important;
  box-sizing:border-box!important;
}

/* Remove width/padding constraints only from the theme content
   area that can wrap WooCommerce output. */
body.epubnest-catalog-fullwidth #content,
body.epubnest-catalog-fullwidth .site-content,
body.epubnest-catalog-fullwidth #primary,
body.epubnest-catalog-fullwidth .content-area,
body.epubnest-catalog-fullwidth main.site-main,
body.epubnest-catalog-fullwidth #main.site-main,
body.epubnest-catalog-fullwidth .site-main,
body.epubnest-catalog-fullwidth .woocommerce,
body.epubnest-catalog-fullwidth .woocommerce-page,
body.epubnest-catalog-fullwidth .entry-content,
body.epubnest-catalog-fullwidth .entry-content-wrap{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* Common Astra / block-theme content wrappers. Scoped beneath
   the content region so header/footer containers are untouched. */
body.epubnest-catalog-fullwidth #content > .ast-container,
body.epubnest-catalog-fullwidth .site-content > .ast-container,
body.epubnest-catalog-fullwidth #content > .container,
body.epubnest-catalog-fullwidth .site-content > .container,
body.epubnest-catalog-fullwidth #content > .wp-block-group,
body.epubnest-catalog-fullwidth .site-content > .wp-block-group{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}

/* True full-width canvas: no desktop max-width. We retain
   professional responsive gutters so content does not touch edges. */
body.epubnest-catalog-fullwidth .epubnest-shop-container,
body.epubnest-catalog-fullwidth .epubnest-category-hub-page .epubnest-shop-container{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:clamp(24px,4.5vw,82px)!important;
  padding-right:clamp(24px,4.5vw,82px)!important;
  box-sizing:border-box!important;
}

/* Explicitly keep hub hero/content backgrounds edge-to-edge. */
body.epubnest-catalog-fullwidth .epubnest-category-hub-hero,
body.epubnest-catalog-fullwidth .epubnest-category-hub-content,
body.epubnest-catalog-fullwidth .epubnest-shop-hero,
body.epubnest-catalog-fullwidth .epubnest-archive{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}

@media (max-width:760px){
  body.epubnest-catalog-fullwidth .epubnest-shop-container,
  body.epubnest-catalog-fullwidth .epubnest-category-hub-page .epubnest-shop-container{
    padding-left:20px!important;
    padding-right:20px!important;
  }
}

@media (max-width:420px){
  body.epubnest-catalog-fullwidth .epubnest-shop-container,
  body.epubnest-catalog-fullwidth .epubnest-category-hub-page .epubnest-shop-container{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}
