/* Remember When & Smile Store — deliberately inherits the active site's font. */
.rwsm-store-shell,
.rwsm-store-shell button,
.rwsm-store-shell input,
.rwsm-store-shell select,
.rwsm-store-shell textarea,
.rwsm-account-intro,
.rwsm-account-fields { font-family: inherit; color: var(--rwsm-text); }

.rwsm-store-shell { max-width: 1200px; margin: 0 auto; padding: clamp(18px, 3vw, 42px) 16px 56px; }
.rwsm-store-hero { background: linear-gradient(135deg, var(--rwsm-secondary), #fff); border: 1px solid rgba(0,0,0,.10); border-color: color-mix(in srgb, var(--rwsm-primary) 18%, transparent); border-radius: 24px; padding: clamp(24px, 5vw, 52px); margin-bottom: 34px; box-shadow: 0 14px 35px rgba(0,0,0,.07); text-align: center; }
.rwsm-eyebrow { margin: 0 0 8px; color: var(--rwsm-primary); font-size: .95rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rwsm-store-hero h1 { margin: 0 auto 12px; color: var(--rwsm-primary); font: inherit; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; max-width: 900px; }
.rwsm-store-intro { max-width: 820px; margin: 0 auto; font-size: clamp(1.08rem, 2vw, 1.28rem); line-height: 1.65; }
.rwsm-store-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:center; margin-top:22px; }
.rwsm-store-shell .rwsm-btn,
.rwsm-store-shell a.button.rwsm-btn { min-height: 48px; display:inline-flex; align-items:center; justify-content:center; padding: 12px 22px; border: 2px solid var(--rwsm-primary); border-radius: 999px; background: var(--rwsm-primary); color:#fff; font-weight:800; text-decoration:none; }
.rwsm-store-shell .rwsm-btn-secondary,
.rwsm-store-shell a.button.rwsm-btn-secondary { background:transparent; color:var(--rwsm-primary); }
.rwsm-store-shell .rwsm-btn:hover,
.rwsm-store-shell .rwsm-btn:focus { transform:translateY(-1px); filter:brightness(.96); }

.rwsm-store-shell ul.products { display:grid !important; grid-template-columns: repeat(3, minmax(0,1fr)); gap:24px; margin:0 !important; padding:0 !important; }
.rwsm-store-shell ul.products::before,
.rwsm-store-shell ul.products::after { display:none !important; }
.rwsm-store-shell ul.products li.product { width:auto !important; float:none !important; margin:0 !important; background:#fff; border:1px solid rgba(0,0,0,.09); border-radius:20px; padding:16px !important; box-shadow:0 10px 26px rgba(0,0,0,.07); overflow:hidden; transition: transform .18s ease, box-shadow .18s ease; }
.rwsm-store-shell ul.products li.product:hover { transform:translateY(-3px); box-shadow:0 16px 34px rgba(0,0,0,.10); }
.rwsm-store-shell ul.products li.product img { border-radius:14px; margin-bottom:15px !important; width:100%; height:auto; }
.rwsm-store-shell ul.products li.product .woocommerce-loop-product__title { color:var(--rwsm-text); font:inherit; font-size:1.2rem !important; font-weight:800; line-height:1.3; padding:.25rem 0 !important; }
.rwsm-store-shell ul.products li.product .price { color:var(--rwsm-primary) !important; font-size:1.14rem !important; font-weight:800 !important; }
.rwsm-store-shell ul.products li.product .button { min-height:46px; display:flex; align-items:center; justify-content:center; margin-top:14px !important; border-radius:12px; background:var(--rwsm-primary); color:#fff; font-weight:800; text-align:center; }
.rwsm-store-shell ul.products li.product .button:hover { filter:brightness(.95); }

.rwsm-member-price { display:inline-flex; gap:.35em; align-items:baseline; flex-wrap:wrap; color:var(--rwsm-primary); font-weight:800; }
.rwsm-member-price del { opacity:.55; font-weight:500; }
.rwsm-member-price ins { text-decoration:none; }
.rwsm-price-label { font-size:.84em; text-transform:uppercase; letter-spacing:.04em; }

.rwsm-pagination { margin-top:32px; }
.rwsm-pagination .page-numbers { list-style:none; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; padding:0; }
.rwsm-pagination a,.rwsm-pagination span { display:inline-flex; min-width:44px; min-height:44px; align-items:center; justify-content:center; border-radius:999px; border:1px solid var(--rwsm-primary); text-decoration:none; }
.rwsm-pagination .current { background:var(--rwsm-primary); color:#fff; }
.rwsm-empty { text-align:center; padding:44px 24px; background:var(--rwsm-secondary); border-radius:20px; }

.rwsm-account-intro { padding:22px 24px; margin:0 0 28px; border-left:6px solid var(--rwsm-accent); background:var(--rwsm-secondary); border-radius:14px; }
.rwsm-account-intro h2 { margin-top:0; color:var(--rwsm-primary); }
.rwsm-account-fields { margin:30px 0; border:1px solid rgba(0,0,0,.12); border-radius:14px; padding:20px; }
.rwsm-account-fields legend { padding:0 8px; color:var(--rwsm-primary); font-weight:800; }
.rwsm-member-gate .woocommerce { max-width:960px; margin:0 auto; }
.rwsm-member-gate .woocommerce form.login,
.rwsm-member-gate .woocommerce form.register { border-radius:18px; padding:24px; }
.rwsm-member-gate input.input-text,
.rwsm-member-gate select,
.rwsm-account-fields input,
.rwsm-account-fields select { min-height:48px; font-size:1rem; border-radius:10px; }

@media (max-width: 900px) { .rwsm-store-shell ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .rwsm-store-shell ul.products { grid-template-columns: 1fr; } .rwsm-store-hero { border-radius:18px; } .rwsm-store-actions .button { width:100%; } }

/* Honor the site's accessibility intent. */
@media (prefers-reduced-motion: reduce) { .rwsm-store-shell *, .rwsm-store-shell *::before, .rwsm-store-shell *::after { transition:none !important; scroll-behavior:auto !important; } }
