.pmaa-store{--pmaa-red:#d71920;--pmaa-ink:#111;--pmaa-muted:#666;max-width:1440px;margin:28px auto;padding:clamp(16px,3vw,36px);color:var(--pmaa-ink);font-family:inherit}
.pmaa-store *{box-sizing:border-box}
.pmaa-store header{margin-bottom:28px;border-bottom:1px solid #ddd;padding-bottom:20px}
.pmaa-store header>span{font-size:12px;font-weight:800;letter-spacing:.16em;color:var(--pmaa-red)}
.pmaa-store header h1{font-size:clamp(30px,4vw,46px);margin:8px 0;color:#111}
.pmaa-store header p{color:var(--pmaa-muted);margin:0;font-size:16px}
.pmaa-store-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,380px);gap:24px;align-items:start}
.pmaa-store-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:16px}
.pmaa-store-product{display:flex;min-width:0;flex-direction:column;align-items:stretch;text-align:left;gap:8px;padding:12px;border:1px solid #d9d9d9;border-radius:12px;background:#fff;color:#111;min-height:275px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.pmaa-store-product:hover,.pmaa-store-product:focus-visible{border-color:var(--pmaa-red);box-shadow:0 0 0 2px rgba(215,25,32,.12);outline:0}
.pmaa-store-product img,.pmaa-store-product-placeholder{width:100%;height:160px;object-fit:contain;border-radius:8px;background:#f5f5f3}
.pmaa-store-product-placeholder{display:grid;place-items:center;font-weight:900;letter-spacing:.12em;color:#888}
.pmaa-store-product strong{font-size:16px;line-height:1.3}
.pmaa-store-product small{font-size:12px;color:var(--pmaa-muted)}
.pmaa-store-product b{font-size:19px;margin-top:auto}
.pmaa-store-cart{position:sticky;top:20px;background:#f5f5f3;border:1px solid #ddd;border-radius:14px;padding:20px}
.pmaa-store-cart h2{margin:0 0 16px;font-size:23px}
.pmaa-store-cart>label{display:block;margin-top:14px;font-weight:700;font-size:14px}
.pmaa-store-cart input{width:100%;min-height:48px;margin-top:6px;padding:10px 12px;border:1px solid #aaa;border-radius:8px;background:#fff;color:#111;font-size:16px}
#pmaa-store-total{display:block;margin:14px 0;font-size:18px}
.pmaa-store-cart-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid #d5d5d5;padding:12px 0}
.pmaa-store-cart-details{display:flex;flex-direction:column;gap:4px;min-width:0}
.pmaa-store-cart-details strong{overflow-wrap:anywhere}
.pmaa-store-cart-details small{color:var(--pmaa-muted)}
.pmaa-store-quantity{display:flex;align-items:center;gap:8px}
.pmaa-store-quantity button{width:42px;height:42px;border:1px solid #aaa;border-radius:8px;background:#fff;color:#111;font-size:23px;cursor:pointer}
.pmaa-store-empty{color:var(--pmaa-muted);padding:14px 0}
#pmaa-store-card{min-height:65px;margin:16px 0;padding:12px;background:#fff;border:1px solid #ddd;border-radius:9px}
#pmaa-store-pay{width:100%;min-height:56px;border:0;border-radius:9px;background:var(--pmaa-red);color:#fff;font-size:17px;font-weight:800;cursor:pointer;padding:12px}
#pmaa-store-pay:disabled{opacity:.5;cursor:not-allowed}
#pmaa-store-message{min-height:24px;margin:12px 0;font-size:14px;line-height:1.45}
.pmaa-store-error{color:#a20f17}.pmaa-store-success{color:#176b38}
.pmaa-store-note{font-size:12px;line-height:1.5;color:var(--pmaa-muted)}
@media(max-width:900px){.pmaa-store-layout{grid-template-columns:1fr}.pmaa-store-cart{position:static;grid-row:1}}
@media(max-width:520px){.pmaa-store{padding:14px}.pmaa-store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pmaa-store-product{min-height:235px;padding:9px}.pmaa-store-product img,.pmaa-store-product-placeholder{height:125px}.pmaa-store-cart{padding:14px}}

/* Storefront customizer variables and category/search controls. */
.pmaa-store{--pmaa-store-accent:#d71920;--pmaa-store-bg:#f5f5f3;--pmaa-store-text:#111;max-width:1440px;margin:28px auto;padding:clamp(16px,3vw,36px);color:var(--pmaa-store-text);background:var(--pmaa-store-bg);font-family:inherit;border-radius:16px}
.pmaa-store header.pmaa-store-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:190px;overflow:hidden;border-radius:15px;background:#111;color:#fff;padding:clamp(24px,4vw,48px);margin-bottom:24px}
.pmaa-store-hero-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;opacity:.52}
.pmaa-store-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.18))}
.pmaa-store-hero-content{max-width:780px}
.pmaa-store-hero-content>span{display:block;color:#fff;font-size:12px;font-weight:850;letter-spacing:.16em}
.pmaa-store .pmaa-store-hero h1{margin:8px 0;color:#fff;font-size:clamp(30px,4vw,48px);line-height:1.1}
.pmaa-store .pmaa-store-hero p{margin:0;color:#fff;font-size:clamp(14px,1.5vw,18px);line-height:1.5}
.pmaa-store-logo{display:block;max-width:180px;max-height:68px;object-fit:contain;object-position:left center;margin:0 0 15px}
.pmaa-store-toolbar{margin:0 0 15px}
.pmaa-store-toolbar input{width:min(100%,480px);min-height:48px;padding:11px 14px;border:1px solid #bbb;border-radius:9px;background:#fff;color:#111;font-size:16px}
.pmaa-store-categories{display:flex;gap:8px;align-items:center;overflow-x:auto;padding:2px 1px 14px;margin-bottom:8px;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.pmaa-store-categories[hidden]{display:none}
.pmaa-store-categories button{flex:0 0 auto;min-height:42px;padding:9px 15px;border:1px solid #ccc;border-radius:999px;background:#fff;color:#222;font:inherit;font-size:13px;font-weight:750;white-space:nowrap;cursor:pointer}
.pmaa-store-categories button.active{background:var(--pmaa-store-accent);border-color:var(--pmaa-store-accent);color:#fff}
.pmaa-store-cols-2 .pmaa-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pmaa-store-cols-3 .pmaa-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pmaa-store-cols-4 .pmaa-store-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.pmaa-store-layout-minimal .pmaa-store-product{border-color:transparent;background:transparent;border-radius:4px;box-shadow:none}
.pmaa-store-layout-minimal .pmaa-store-product:hover{border-color:var(--pmaa-store-accent);box-shadow:none}
.pmaa-store .pmaa-store-product:hover,.pmaa-store .pmaa-store-product:focus-visible{border-color:var(--pmaa-store-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--pmaa-store-accent) 18%,transparent);outline:0}
.pmaa-store .pmaa-store-cart{background:color-mix(in srgb,var(--pmaa-store-bg) 75%,#fff);color:var(--pmaa-store-text)}
.pmaa-store #pmaa-store-pay{background:var(--pmaa-store-accent)}
@media(max-width:1100px){.pmaa-store-cols-4 .pmaa-store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.pmaa-store-cols-3 .pmaa-store-grid,.pmaa-store-cols-4 .pmaa-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.pmaa-store header.pmaa-store-hero{min-height:160px;padding:22px 18px}.pmaa-store-cols-2 .pmaa-store-grid,.pmaa-store-cols-3 .pmaa-store-grid,.pmaa-store-cols-4 .pmaa-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pmaa-store-category-hint{display:block;padding:8px 2px;color:var(--pmaa-muted);font-size:13px}
