/* Shared Pineapple visual system. Keep controls separate from product image links. */
body.pjn-store .pjn-smart-card-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin-block-start:8px}
body.pjn-store :is(.pjn-smart-card-actions,.pjn-smart-tools,.pjn-smart-pdp,.pjn-fit-id,.pjn-cart-remind) button,body.pjn-store .pjn-smart-dialog button{font-family:inherit;font-weight:700;line-height:1.35;min-height:44px;border:1px solid #decfd5;color:#392c34;background:white;border-radius:9px;padding:9px 12px;cursor:pointer;box-shadow:none;white-space:normal}
body.pjn-store .pjn-smart-card-actions button{font-size:12px;min-width:0;padding:6px 4px}
body.pjn-store .pjn-smart-tools{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:20px;border:1px solid #eddbe2;border-radius:19px;background:linear-gradient(110deg,#fff7f9,#fae7ee);margin:18px 0;color:#292128;box-sizing:border-box}
body.pjn-store .pjn-smart-tools strong{font-size:20px;font-weight:900;display:block;line-height:1.25}
body.pjn-store .pjn-smart-tools p{margin:6px 0 0;font-size:13px;line-height:1.6;color:#665b61}
body.pjn-store .pjn-smart-tools button,body.pjn-store .pjn-smart-dialog .pjn-smart-primary,body.pjn-store .pjn-smart-primary{background:#241f23!important;color:#fff!important;border-color:#241f23!important;border-radius:9px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 16px;font-weight:800}
body.pjn-store .pjn-smart-dialog .pjn-smart-secondary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border:1px solid #decfd5;color:#292128;padding:10px 13px;border-radius:9px;min-height:44px}
body.pjn-store .pjn-smart-dialog{box-sizing:border-box;position:fixed;inset:auto;max-width:min(890px,calc(100vw - 32px));width:100%;max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:20px;margin:auto;overflow:auto;background:#fff;color:#292128;box-shadow:0 12px 70px #20121944;font:inherit;overscroll-behavior:contain;z-index:30000}
body.pjn-store .pjn-smart-dialog[open]{display:block}
body.pjn-store .pjn-smart-dialog::backdrop{background:#1d111766;backdrop-filter:blur(3px)}
body.pjn-store .pjn-smart-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;position:sticky;top:0;z-index:2;background:white;border-bottom:1px solid #eee1e6;padding:15px 20px}
body.pjn-store .pjn-smart-dialog h2{font-size:clamp(19px,3vw,27px);margin:0;color:#241f23;line-height:1.3}
body.pjn-store .pjn-smart-dialog header button{font-size:25px;width:44px;flex:none;padding:0}
body.pjn-store .pjn-smart-dialog [data-pjn-smart-content]{padding:20px;min-height:100px}
body.pjn-store.pjn-smart-open{overflow:hidden}
body.pjn-store .pjn-quick-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:22px}
body.pjn-store .pjn-quick-gallery>img{aspect-ratio:3/4;width:100%;object-fit:cover;border-radius:12px;background:#f5efee}
body.pjn-store .pjn-quick-thumbs{display:flex;gap:6px;overflow:auto;margin:8px 0}
body.pjn-store .pjn-quick-thumbs button{padding:0!important;border:1px solid #ded2d7!important;flex:0 0 56px;width:56px;height:68px;overflow:hidden;border-radius:6px}
body.pjn-store .pjn-quick-thumbs img{width:100%;height:100%;object-fit:cover}
body.pjn-store .pjn-quick-body{display:flex;flex-direction:column;gap:12px;align-items:stretch;min-width:0}
body.pjn-store .pjn-quick-body h3{font-size:20px;margin:0;overflow-wrap:anywhere}
body.pjn-store .pjn-quick-body p{font-size:13px;color:#64585e;margin:0;overflow-wrap:anywhere}
body.pjn-store .pjn-quick-price{font-size:24px;color:#9d4266}
body.pjn-store .pjn-smart-pill{background:#f9e7ee;color:#943f61;border-radius:99px;padding:4px 12px;display:inline-block;align-self:flex-start;font-size:12px}
body.pjn-store .pjn-smart-label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:13px;font-weight:700}
body.pjn-store .pjn-smart-dialog :is(select,input[type=number]){width:100%;min-width:0;max-width:100%;box-sizing:border-box;height:46px;border:1px solid #d9cdd3;background:white;color:#292128;border-radius:9px;padding:6px 10px;font:inherit}
body.pjn-store .pjn-smart-dialog button:disabled{opacity:.5;cursor:not-allowed}
body.pjn-store .pjn-smart-dialog [hidden],body.pjn-store [data-pjn-recent][hidden],body.pjn-store [data-pjn-suggestions][hidden],body.pjn-store .pjn-smart-toast[hidden]{display:none!important}
body.pjn-store .pjn-smart-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:14px 0 0}
body.pjn-store .pjn-smart-dialog .pjn-smart-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
body.pjn-store .pjn-smart-item{display:flex;flex-direction:column;gap:6px;min-width:0;background:white;padding:8px;border:1px solid #ece4e6;border-radius:12px;color:#292128;text-decoration:none}
body.pjn-store .pjn-smart-item img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;background:#f4eceb}
body.pjn-store .pjn-smart-item strong{font-size:12px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.9em;overflow-wrap:anywhere}
body.pjn-store .pjn-smart-item span{font-size:12px;color:#9b4769;overflow-wrap:anywhere}
body.pjn-store .pjn-smart-suggest,body.pjn-store [data-pjn-recent]{margin-block:28px}
body.pjn-store .pjn-smart-suggest h2,body.pjn-store [data-pjn-recent] h2{font-size:clamp(22px,3vw,30px);margin:0 0 12px}
body.pjn-store .pjn-smart-filters{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin:16px 0}
body.pjn-store .pjn-profile-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.pjn-store .pjn-smart-consent{display:flex;grid-column:1/-1;align-items:flex-start;gap:9px;font-size:13px;font-weight:600}
body.pjn-store .pjn-smart-consent input{flex:none;width:18px;height:18px;margin-top:3px}
body.pjn-store .pjn-profile-form>button{grid-column:1/-1}
body.pjn-store .pjn-fit-id{background:#fff7f9;border:1px solid #eedee4;padding:20px;border-radius:15px;margin:20px 0;min-width:0;overflow-wrap:anywhere}
body.pjn-store .pjn-fit-id h2{font-size:24px;margin:0 0 8px}
body.pjn-store .pjn-fit-id [data-pjn-profile-status]{margin:12px 0;color:#943f61;font-weight:700}
body.pjn-store .pjn-fit-id h3{margin:20px 0 8px;font-size:18px}
body.pjn-store .pjn-smart-alert{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #e9dce2}
body.pjn-store .pjn-smart-pdp{display:grid;gap:8px;margin:12px 0}
body.pjn-store .pjn-cart-remind{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:14px;border:1px solid #eddbe2;border-radius:12px;margin-block:14px}
body.pjn-store .pjn-cart-remind small{color:#6d5f66}
body.pjn-store .pjn-smart-toast{position:fixed;inset-inline:12px;bottom:calc(96px + env(safe-area-inset-bottom,0px));max-width:440px;margin-inline:auto;z-index:31000;background:#252026;color:white;border-radius:12px;box-shadow:0 6px 20px #290d2244;padding:13px 18px;text-align:center;pointer-events:none;font-size:14px}
body.pjn-store .pjn-lookbook{display:flex;align-items:center;justify-content:space-between;gap:20px;border-radius:20px;background:#f7e9ee;padding:24px;margin:28px 0 0}
body.pjn-store .pjn-lookbook h2{font-size:clamp(24px,3vw,36px);margin:0 0 8px}
body.pjn-store .pjn-lookbook-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
body.pjn-store .pjn-lookbook-links a,body.pjn-store .pjn-lookbook>a{display:inline-flex;min-height:44px;align-items:center;padding:8px 14px;background:#fff;border:1px solid #dbc8d1;border-radius:8px;color:#332932;text-decoration:none;font-weight:700}
body.pjn-store .pjn-lookbook>a{flex-shrink:0;background:#241f23;color:#fff;border:0}
body.pjn-store .pjn-hero-panel img{transition:opacity .35s ease;aspect-ratio:3/4}
body.pjn-store :is(.pjn-smart-item,.pjn-smart-dialog button,.pjn-smart-tools button):focus-visible{outline:3px solid #b54872;outline-offset:3px}
@media(max-width:900px){body.pjn-store .pjn-smart-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body.pjn-store .pjn-smart-tools{padding:14px;align-items:stretch;flex-direction:column;gap:9px;border-radius:14px}body.pjn-store .pjn-smart-tools button{width:100%}body.pjn-store .pjn-smart-dialog{margin:auto 0 0;inset:auto 0 0;max-width:100%;max-height:92dvh;border-radius:18px 18px 0 0}body.pjn-store .pjn-smart-dialog [data-pjn-smart-content]{padding:14px 12px max(16px,env(safe-area-inset-bottom,0px))}body.pjn-store .pjn-smart-dialog header{padding:12px}body.pjn-store .pjn-quick-layout{grid-template-columns:minmax(0,1fr);gap:12px}body.pjn-store .pjn-quick-gallery>img{max-height:310px;object-fit:contain}body.pjn-store .pjn-smart-filters{grid-template-columns:1fr 1fr;gap:8px}body.pjn-store .pjn-smart-filters>button{grid-column:1/-1}body.pjn-store .pjn-smart-list,body.pjn-store .pjn-smart-dialog .pjn-smart-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body.pjn-store .pjn-card .pjn-smart-card-actions{gap:4px}body.pjn-store .pjn-card .pjn-smart-card-actions button{font-size:11px;padding:4px 2px}body.pjn-store .pjn-lookbook{flex-direction:column;align-items:stretch;padding:18px;text-align:start}body.pjn-store .pjn-lookbook>a{justify-content:center}body.pjn-store .pjn-profile-form{gap:10px}}
@media(prefers-reduced-motion:no-preference){body.pjn-store .pjn-smart-dialog[open]{animation:pjn-smart-enter .2s ease-out both} @keyframes pjn-smart-enter{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}body.pjn-store .pjn-smart-item{transition:transform .18s ease,box-shadow .18s ease}body.pjn-store .pjn-smart-item:hover{transform:translateY(-2px);box-shadow:0 8px 20px #4d204312}}

/* v1.8: private fit, editorial cards, and accessible responsive feedback. */
body.pjn-store .pjn-trial{border:1px solid #e8d6de;border-radius:12px;background:#fff8f4;color:#292128;padding:12px;margin:10px 0;display:grid;gap:8px;min-width:0;overflow-wrap:anywhere}
body.pjn-store .pjn-trial[hidden]{display:none!important}
body.pjn-store .pjn-trial-sizes{display:flex;gap:6px;flex-wrap:wrap}
body.pjn-store .pjn-trial-sizes .pjn-smart-pill{background:#fff;border:1px solid #d8c7ce;border-radius:8px;color:#44373d;padding:6px 9px}
body.pjn-store .pjn-trial-sizes .pjn-trial-main{border-color:#b54872;background:#f9e4ec;color:#8f3155;font-weight:800}
body.pjn-store .pjn-card-photo{aspect-ratio:3/4;overflow:hidden;background:#f7f3f0}
body.pjn-store .pjn-card-photo img{width:100%;height:100%;object-fit:cover}
body.pjn-store .pjn-quick-gallery>a{margin-top:8px;display:flex;justify-content:center}
body.pjn-store .pjn-price del,body.pjn-store .product .price del{opacity:.65;text-decoration:line-through;font-size:.85em}
body.pjn-store .pjn-price ins,body.pjn-store .product .price ins{color:#9d4266;font-weight:800;text-decoration:none}
body.pjn-store .pjn-smart-loading{margin:0;padding-block:34px;color:#80546a;background:linear-gradient(110deg,#f6eeee 25%,#fff9f6 50%,#f6eeee 75%);background-size:200% 100%;border-radius:12px;text-align:center}
@media(prefers-reduced-motion:no-preference){body.pjn-store .pjn-smart-loading{animation:pjn-shimmer 1.5s ease-in-out infinite}@keyframes pjn-shimmer{to{background-position:-200% 0}}}
@media(max-width:600px){body.pjn-store .pjn-smart-card-actions button{min-height:44px;width:100%;padding:8px 4px}body.pjn-store .pjn-trial{padding:10px}body.pjn-store .pjn-smart-dialog button,body.pjn-store .pjn-smart-dialog a{max-width:100%;overflow-wrap:anywhere}body.pjn-store .pjn-smart-toast{bottom:calc(110px + env(safe-area-inset-bottom,0px))}}
