/* Local responsive, accessibility, and theme enhancements. */
:root{--hatme-blue:#e5ece5;--hatme-ink:#183d3a;--hatme-green:#28766d;--hatme-green-hover:#1c514e;--hatme-copper:#a95835;--hatme-focus:#a95835;--hatme-paper:#f9f6ee;--hatme-surface:#fffcf5;--hatme-mist:#e9f0e9;--hatme-warm-tint:#f6eee3;--hatme-page-gradient:linear-gradient(145deg,#fbf8f0 0%,#edf2eb 100%);scroll-padding-bottom:100px;scrollbar-gutter:stable}
html{scroll-behavior:smooth}
body,body *{font-family:'Barlow',Arial,sans-serif!important}
body{color:var(--hatme-ink);background:var(--hatme-page-gradient);-webkit-text-size-adjust:100%;text-size-adjust:100%}
main#MainContent{background:var(--hatme-page-gradient)}
img,video{max-width:100%;height:auto}
button,a,[role=button]{touch-action:manipulation}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid var(--hatme-focus)!important;outline-offset:4px!important}
.gp-text,.gp-text-instant{overflow-wrap:break-word}
.gp-button-base{min-height:44px}
.gp-button-base p{margin:0}
a[data-commerce],a[data-cta]{cursor:pointer}
/* Keep the existing 800px editorial column; prevent overflowing review cards. */
#gffybPAYQV{width:100%!important;--w:100%!important}
.gp-accordion-item_header{min-height:56px;gap:16px;cursor:pointer;user-select:text;-webkit-user-select:text}
.gp-accordion-item_header:focus-visible{outline-offset:-3px!important;border-radius:4px}
.gp-accordion-item_header[aria-expanded=true] .gp-collapsible-icon{transform:rotate(180deg)}
.gp-accordion-item_body[hidden]{display:none!important}
.gp-accordion-item_body[aria-hidden=false]{grid-template-rows:1fr!important}
.gp-accordion-item_body[aria-hidden=true] .gp-accordion-item_body-inner{padding-top:0!important;padding-bottom:0!important}
.gp-accordion-item_header p{line-height:1.5!important}
.gp-accordion-item_body p{line-height:1.65!important}
/* Accessible modal presentation. Native dialog supplies the focus boundary. */
.hatme-modal-open{overflow:hidden}
dialog.hatme-dialog,#legal-dialog,#offer-dialog{border:0;border-radius:18px;padding:0;color:var(--hatme-ink);background:var(--hatme-surface);width:min(720px,calc(100% - 32px));max-width:720px;max-height:calc(100dvh - 32px);box-shadow:0 18px 70px #183d3a30;overscroll-behavior:contain}
dialog::backdrop{background:#173d3ab8}
.hatme-dialog-shell,.modal-shell{position:relative;padding:28px}
[data-modal-close],.modal-close,.hatme-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--hatme-mist);color:var(--hatme-ink);width:44px;height:44px;font-size:28px;line-height:1;cursor:pointer;z-index:2}
[data-modal-close]:hover,.modal-close:hover,.hatme-close:hover{background:#d8e5dc}
#legal-dialog{padding:28px;overflow-y:auto}
#legal-dialog [data-dialog-title],#legal-title{font-size:28px;font-weight:700;line-height:1.2;margin:0 48px 20px 0}
#legal-dialog [data-dialog-body],#legal-body{font-size:17px;line-height:1.65}
#legal-dialog h3{font-size:20px;line-height:1.35;margin:24px 0 8px;font-weight:700}
#legal-dialog p{margin:0 0 14px}
#legal-dialog ul{padding-left:24px;margin:0 0 16px}
#offer-dialog{width:min(540px,calc(100% - 32px));max-width:540px;overflow-y:auto;text-align:center}
#offer-dialog .hatme-dialog-shell,#offer-dialog .modal-shell{padding:26px}
#offer-dialog img{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:10px;margin:12px auto 20px;background:var(--hatme-blue)}
#offer-dialog h2{font-size:30px;font-weight:700;line-height:1.2;margin:8px 36px 14px}
#offer-dialog p{font-size:18px;line-height:1.5;margin:0 0 20px}
#offer-dialog a[data-commerce],#offer-dialog .hatme-primary,.hatme-primary{display:flex;align-items:center;justify-content:center;min-height:52px;padding:14px 20px;background:linear-gradient(135deg,#327c70 0%,#1c514e 100%);color:#fff;border:0;border-radius:8px;text-decoration:none;font-size:19px;font-weight:700;line-height:1.35;text-align:center;cursor:pointer}
#offer-dialog a[data-commerce]:hover,.hatme-primary:hover{background:linear-gradient(135deg,#2c6e63 0%,#143f3c 100%)}
.hatme-footer,#hatme-footer{background:linear-gradient(145deg,#1d514c 0%,#123b39 100%);color:#fff;text-align:center;padding:26px 16px}
.hatme-footer p,#hatme-footer p{margin:0 0 10px;font-size:14px;line-height:1.5}
.hatme-footer nav,#hatme-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 20px}
[data-legal]{background:none;border:0;color:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;font-size:16px;min-height:44px;padding:8px 12px}
/* Optional product thumbnails inherit the article's understated treatment. */
#product-gallery{margin:28px auto;max-width:800px}
#gallery-image{width:100%;height:auto;object-fit:contain;border-radius:10px;background:#fff}
.hatme-gallery-thumbs,.gallery-thumbs{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:12px}
[data-gallery-src]{border:2px solid transparent;background:#fff;border-radius:8px;padding:4px;cursor:pointer;min-height:52px;min-width:52px;max-width:100px}
[data-gallery-src][aria-pressed=true]{border-color:var(--hatme-focus)}
[data-gallery-src] img{display:block;width:72px;height:72px;object-fit:contain}
#mobile-cta,.hatme-mobile-cta{display:none}
@media(max-width:767px){
 body{font-size:17px}
 .gp-accordion-item_header{min-height:60px}
 .gp-accordion-item_body p{font-size:16px!important;line-height:1.65!important}
 .gp-button-base{min-height:48px}
 #legal-dialog{padding:24px 20px;max-height:calc(100dvh - 24px);width:calc(100% - 24px)}
 #legal-dialog [data-dialog-title],#legal-title{font-size:25px}
 #legal-dialog [data-dialog-body],#legal-body{font-size:16px}
 #offer-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}
 #offer-dialog .hatme-dialog-shell,#offer-dialog .modal-shell{padding:24px 18px 20px}
 #offer-dialog h2{font-size:26px}
 #offer-dialog p{font-size:17px}
 #offer-dialog img{max-height:210px}
 #mobile-cta,.hatme-mobile-cta{position:fixed;display:block;z-index:40;bottom:0;left:0;right:0;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:#f9f6eef2;box-shadow:0 -3px 16px #183d3a24}
 #mobile-cta a,.hatme-mobile-cta a{min-height:50px;border-radius:8px}
 body:has(#mobile-cta),body:has(.hatme-mobile-cta){padding-bottom:90px}
 .hatme-footer,#hatme-footer{padding-bottom:32px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
