body.dg-category-style { --dgc-ink:#40383c; --dgc-pink:#f4e6e9; --dgc-yellow:#f4e3a6; --dgc-line:#e9e2e3; }
body.dg-category-style .woocommerce-products-header__title,
body.dg-category-style .page-title { font-family:Georgia,serif!important;font-size:clamp(30px,4vw,44px)!important;line-height:1.2;text-align:center!important;text-transform:none!important;letter-spacing:normal!important;color:var(--dgc-ink);margin:26px auto 24px; }
body.dg-category-style .dg-cat-intro { max-width:860px;margin:0 auto 32px;padding:26px 32px;background:#fbf3f5;border:1px solid var(--dgc-line);border-radius:16px;text-align:center;color:var(--dgc-ink);line-height:1.85; }
body.dg-category-style .dg-cat-intro p { margin:0; }
body.dg-category-style ul.products { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 26px;max-width:1120px;margin:28px auto 38px!important;clear:both; }
body.dg-category-style ul.products::before,body.dg-category-style ul.products::after { display:none!important; }
body.dg-category-style ul.products li.product { display:flex!important;flex-direction:column;align-items:center;float:none!important;width:auto!important;min-width:0;margin:0!important;padding:18px 16px 22px;border:1px solid var(--dgc-line);border-radius:16px;background:white;text-align:center!important;box-sizing:border-box; }
body.dg-category-style ul.products li.product a.woocommerce-loop-product__link { display:block;width:100%;height:auto!important;min-height:0!important; }
body.dg-category-style ul.products li.product a img { width:100%!important;max-width:300px;height:auto!important;aspect-ratio:1;object-fit:contain;display:block;margin:0 auto 18px!important;border-radius:12px; }
body.dg-category-style ul.products li.product .woocommerce-loop-product__title,
body.dg-category-style ul.products li.product .woocommerce-loop-category__title { font-family:Georgia,serif!important;font-size:20px!important;line-height:1.35!important;min-height:2.7em;height:auto!important;padding:0!important;margin:0 0 14px!important;text-align:center!important;text-transform:none!important;letter-spacing:normal!important;color:var(--dgc-ink); }
body.dg-category-style ul.products li.product .price { display:block;margin:0 0 20px!important;font-size:16px;color:var(--dgc-ink);text-align:center!important; }
body.dg-category-style ul.products li.product .button,
body.dg-category-style ul.products li.product > a:last-child:not(:has(img)):not(:has(h2)):not(:has(h3)) { display:inline-flex!important;align-items:center;justify-content:center;align-self:center;margin-top:auto!important;min-height:46px;padding:12px 22px!important;border-radius:999px!important;background:var(--dgc-yellow)!important;border:1px solid transparent!important;color:var(--dgc-ink)!important;text-transform:none!important;letter-spacing:normal!important;font-size:14px!important;line-height:1.4!important;text-align:center;box-sizing:border-box; }
body.dg-category-style ul.products li.product .button:hover,
body.dg-category-style ul.products li.product > a:last-child:not(:has(img)):not(:has(h2)):not(:has(h3)):hover { background:#edd78a!important; }
body.dg-category-style .woocommerce-ordering select { border:1px solid var(--dgc-line);border-radius:12px;background:white;color:var(--dgc-ink);padding:12px;max-width:100%; }
body.dg-category-style .woocommerce-result-count { color:var(--dgc-ink);font-size:14px; }
body.dg-category-style .woocommerce-pagination { text-align:center;clear:both; }
body.dg-category-style .woocommerce-pagination ul { border:0!important;display:inline-flex;flex-wrap:wrap;justify-content:center;gap:8px; }
body.dg-category-style .woocommerce-pagination ul li { border:0!important; }
body.dg-category-style .woocommerce-pagination ul li a,
body.dg-category-style .woocommerce-pagination ul li span { display:flex;justify-content:center;align-items:center;min-width:44px;min-height:44px;border-radius:50%;background:#faf7f5;color:var(--dgc-ink);box-sizing:border-box; }
body.dg-category-style .woocommerce-pagination ul li span.current { background:var(--dgc-pink); }
body.dg-category-style .dg-cat-story { clear:both;max-width:940px;margin:48px auto;padding:30px;border:1px solid #eee5e8;border-radius:20px;background:#fbf6f7;color:var(--dgc-ink);line-height:1.8;box-sizing:border-box; }
body.dg-category-style .dg-cat-story .dg-cat-chapter { padding:28px 34px;margin:0 0 20px;background:#fff;border:1px solid #eee7e9;border-radius:14px;box-sizing:border-box; }
body.dg-category-style .dg-cat-story .dg-cat-chapter:last-child { margin-bottom:0; }
body.dg-category-style .dg-cat-story h2,
body.dg-category-style .dg-cat-story h3 { display:block!important;float:none!important;text-align:center!important;font-family:Georgia,serif!important;font-size:clamp(23px,2.4vw,28px)!important;font-weight:400!important;color:#674d59!important;line-height:1.35;margin:26px 0 20px;text-transform:none!important;letter-spacing:normal!important; }
body.dg-category-style .dg-cat-story h2:first-child { margin-top:0; }
body.dg-category-style .dg-cat-story h2::after { content:"";display:block;width:54px;height:2px;background:var(--dgc-yellow);margin:16px auto 0; }
body.dg-category-style .dg-cat-story p { display:block!important;float:none!important;max-width:70ch;margin:0 auto 18px;font-size:16px!important;line-height:1.8!important;text-align:left!important;color:var(--dgc-ink)!important; }
body.dg-category-style .dg-cat-story .dg-cat-chapter p:last-child { margin-bottom:0; }
body.dg-category-style .dg-cat-story a { color:#765062;text-decoration:underline;text-underline-offset:3px; }
body.dg-category-style a:focus-visible,body.dg-category-style select:focus-visible { outline:3px solid #876474;outline-offset:3px; }
@media(max-width:900px) { body.dg-category-style ul.products { grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 18px; } }
@media(max-width:600px) {
 body.dg-category-style .dg-cat-intro { padding:22px 20px;margin-bottom:24px; }
 body.dg-category-style .dg-cat-story { padding:16px;margin:32px auto; }
 body.dg-category-style .dg-cat-story .dg-cat-chapter { padding:24px 20px;margin-bottom:16px; }
 body.dg-category-style .woocommerce-ordering,body.dg-category-style .woocommerce-result-count { float:none!important;display:block;text-align:center;margin:12px auto; }
 body.dg-category-style .woocommerce-ordering select { width:100%; }
}
@media(max-width:480px) { body.dg-category-style ul.products { grid-template-columns:1fr; } body.dg-category-style ul.products li.product { width:100%!important;max-width:360px;margin:0 auto!important; } body.dg-category-style ul.products li.product .woocommerce-loop-product__title { min-height:0; } }
/* 1.1.1: one outer gutter on mobile; avoid stacked Ashe wrapper padding. */
@media(max-width:768px) {
 body.dg-category-style .page-content { padding-left:0!important;padding-right:0!important; }
 body.dg-category-style .page-content .main-content { padding-left:16px!important;padding-right:16px!important;box-sizing:border-box; }
 body.dg-category-style .main-content .main-container,
 body.dg-category-style .main-container #primary,
 body.dg-category-style .main-container main#main { padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box; }
 body.dg-category-style .dg-cat-intro,
 body.dg-category-style .dg-cat-story,
 body.dg-category-style ul.products { width:100%;box-sizing:border-box; }
}
@media(max-width:600px) {
 body.dg-category-style ul.products { grid-template-columns:minmax(0,1fr);gap:24px;padding:0!important; }
 body.dg-category-style ul.products li.product { width:100%!important;max-width:none;margin:0!important;padding:18px 16px 22px; }
 body.dg-category-style ul.products li.product a img { max-width:none;object-fit:contain; }
 body.dg-category-style ul.products li.product .woocommerce-loop-product__title { min-height:0; }
 body.dg-category-style .dg-cat-intro { padding:22px 18px; }
 body.dg-category-style .dg-cat-story { padding:12px; }
 body.dg-category-style .dg-cat-story .dg-cat-chapter { padding:22px 16px; }
 body.dg-category-style .dg-cat-story h2,
 body.dg-category-style .dg-cat-story h3 { overflow-wrap:break-word; }
 body.dg-category-style ul.products li.product .button,
 body.dg-category-style ul.products li.product > a:last-child:not(:has(img)):not(:has(h2)):not(:has(h3)) { max-width:100%;white-space:normal; }
}

/* The theme hides this wrapper on some archives, including its introduction. */
body.dg-category-style .woocommerce-products-header { display:block!important; }
