body.cwt-site{margin:0;background:var(--cwt-bg);color:var(--cwt-ink);font-family:var(--cwt-font);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}
/* Reuse the active WordPress Font Library family; keep body/plugin typography unchanged. */
.cwt-site:not(.woocommerce-checkout):not(.woocommerce-account) :where(main.cwt-content,main.cwt-home),.cwt-site :where(.cwt-footer-fallback,.cwt-skip-link){--cwt-font:"DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;--cwt-serif:var(--cwt-font);font-family:var(--cwt-font)}
.cwt-site *, .cwt-site *::before,.cwt-site *::after{box-sizing:border-box}
.cwt-site :where(a){color:inherit;text-underline-offset:4px}
.cwt-site :where(button,input,select,textarea){font:inherit}
.cwt-site :where(img){max-width:100%;height:auto}
.cwt-site :where(h1,h2,h3){line-height:1.2;overflow-wrap:anywhere}
.cwt-site :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--cwt-ink);outline-offset:4px}
.cwt-site [hidden]{display:none!important}
.cwt-container{width:min(100% - var(--cwt-gutter)*2,var(--cwt-container));margin-inline:auto}
.cwt-content{padding-block:36px 72px;min-height:55vh}
.cwt-content h1{font-size:clamp(2rem,5vw,3.5rem);font-weight:500;letter-spacing:-.045em;margin:0 0 24px}
.cwt-page-heading{margin-bottom:36px;max-width:800px}
.cwt-page-heading p{color:var(--cwt-muted)}
.cwt-entry,.cwt-entry-preview{overflow-wrap:anywhere}.cwt-entry-preview{padding-block:24px;border-bottom:1px solid var(--cwt-line)}
.cwt-entry-preview h2{font-size:1.5rem}.cwt-entry-preview h2 a{text-decoration:none}
.cwt-entry :where(iframe,video){max-width:100%}
.cwt-sr-only,.cwt-site .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.cwt-skip-link{position:fixed;top:8px;left:8px;transform:translateY(-160%);z-index:10000;padding:12px 20px;background:var(--cwt-ink);color:#fff}
.cwt-skip-link:focus{transform:none}
.cwt-footer-fallback{border-top:1px solid var(--cwt-line);padding-block:24px;color:var(--cwt-muted);font-size:.875rem}
.cwt-footer-fallback__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.cwt-footer-links{display:flex;flex-wrap:wrap;gap:20px;list-style:none;padding:0;margin:0}
.cwt-footer-links a{text-decoration:none}
.cwt-comments{margin-top:48px}.cwt-comments :where(input:not([type=checkbox]),textarea){max-width:100%;padding:10px;border:1px solid var(--cwt-line)}
/* iOS zooms focused fields below 16px. Apply before focus, including landscape/tablets.
   Keep this important so later storefront/plugin typography cannot shrink these fields. */
@media(max-width:767px),(pointer:coarse){
  .cwt-site input:not(:where([type=hidden],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset],[type=image])),
  .cwt-site select,
  .cwt-site textarea{font-size:max(16px,1rem)!important}
}
@media(prefers-reduced-motion:reduce){.cwt-site *, .cwt-site *::before,.cwt-site *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Theme-owned front-end dialog close controls. The mask is the Lucide X SVG. */
body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close){
  appearance:none!important;position:absolute!important;z-index:3!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;transform:none!important;
  display:grid!important;place-items:center!important;box-sizing:border-box!important;width:36px!important;height:36px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:8px!important;background:transparent!important;box-shadow:none!important;color:#666!important;font-size:0!important;line-height:1!important;cursor:pointer;transition:background-color 150ms ease,color 150ms ease!important;
}
body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close)::before{
  content:''!important;position:static!important;display:block!important;width:20px!important;height:20px!important;transform:none!important;border:0!important;border-radius:0!important;background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}
body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close)::after{content:none!important}
@media (hover:hover){body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close):hover{background:#f3f4f6!important;color:#111827!important}}
body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close):active{background:#e5e7eb!important;color:#111827!important}
body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close):focus-visible{outline:2px solid #111827!important;outline-offset:2px}
@media(max-width:1024px){body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close){width:44px!important;height:44px!important;top:8px!important;right:8px!important}}
@media(prefers-reduced-motion:reduce){body.cwt-site :is(.cwt-variant-dialog__close,.cwt-mobile-filters__close,.cwt-mobile-sku__close,.cwt-share-dialog__close,[data-cwt-buyer-close],.wc-wishlist-auth-modal__close,.wc-wishlist-limit-modal__close){transition:none!important}}

/* Initial dialog focus belongs to a non-editable heading or panel. */
body.cwt-site :is(#cwt-mobile-sku-title,#cwt-mobile-share-title,#cwt-buyer-dialog-title,.cwt-variant-dialog__focus,.wc-wishlist-auth-modal__dialog,.wc-wishlist-limit-modal__dialog):focus{outline:none}
