/* Praana website: customer login, location-aware shop, offers. Uses the site's own colour variables. */
.ps-account { position:relative; display:inline-flex; align-items:center; }
.ps-acc-btn { display:inline-flex; align-items:center; gap:8px; background:transparent; border:0; color:inherit; font:inherit; font-weight:600; cursor:pointer; padding:8px 6px; min-height:44px; }
.ps-menu { display:none; position:absolute; right:0; top:100%; min-width:230px; background:#fff; color:var(--ink,#232052); border-radius:14px; box-shadow:0 10px 30px rgba(27,24,82,.18); padding:8px; z-index:60; }
.ps-account.open .ps-menu { display:block; }
.ps-menu a, .ps-menu button { display:block; width:100%; text-align:left; background:none; border:0; font:inherit; font-weight:600; color:inherit; text-decoration:none; padding:10px 12px; border-radius:10px; cursor:pointer; }
.ps-menu a:hover, .ps-menu button:hover { background:#f4f1e6; }
.ps-menu small { display:block; font-weight:400; color:var(--muted,#5B5880); font-size:12px; }
.ps-menu-h { padding:8px 12px; font-size:12px; color:var(--muted,#5B5880); }

.ps-modal { position:fixed; inset:0; background:rgba(20,15,60,.6); display:flex; align-items:center; justify-content:center; padding:16px; z-index:1000; }
.ps-card { position:relative; background:#fff; color:var(--ink,#232052); border-radius:22px; padding:28px 24px; width:100%; max-width:440px; display:flex; flex-direction:column; gap:12px; max-height:92vh; overflow:auto; box-sizing:border-box; }
.ps-card h2 { margin:0; font-size:26px; line-height:1.2; padding-right:36px; }
.ps-card label { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--muted,#5B5880); }
.ps-card input { width:100%; box-sizing:border-box; font:inherit; font-size:16px; padding:12px 14px; border:1.5px solid #d9d3c3; border-radius:12px; }
.ps-x { position:absolute; top:10px; right:10px; width:44px; height:44px; background:none; border:0; font-size:28px; color:inherit; cursor:pointer; }
.ps-err { color:#c0392b; font-size:14px; min-height:0; }
.ps-err:empty { display:none; }
.ps-areas { display:grid; gap:8px; }
.ps-area { text-align:left; font:inherit; font-weight:600; padding:12px 14px; border:1.5px solid #d9d3c3; background:#fff; border-radius:12px; cursor:pointer; color:inherit; }
.ps-area:hover { border-color:var(--ps-orange,#B4501A); }

.ps-btn { display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(180deg,#BC541C,#A8480F); color:#fff; border:1.5px solid var(--ps-orange-dark,#9A430F); border-radius:12px; font:inherit; font-size:15px; font-weight:700; letter-spacing:.02em; line-height:1.3; padding:10px 18px; min-height:46px; cursor:pointer; text-decoration:none; box-sizing:border-box; box-shadow:0 4px 12px rgba(180,80,26,.24); transition:background .18s ease, box-shadow .18s ease, transform .18s ease; }
.ps-btn:hover { background:var(--ps-orange-dark,#9A430F); color:#fff; box-shadow:0 7px 18px rgba(180,80,26,.32); transform:translateY(-1px); }
.ps-btn:active { transform:translateY(0); box-shadow:0 2px 6px rgba(180,80,26,.24); }
.ps-btn:focus-visible { outline:3px solid var(--ink,#232052); outline-offset:2px; }
.ps-btn[disabled] { opacity:.6; cursor:default; transform:none; box-shadow:none; }
.ps-ghost { background:#fff6ee; color:#8a3b00; border-color:#e8bd97; box-shadow:none; }
.ps-ghost:hover { background:#ffe7cf; color:#8a3b00; border-color:var(--ps-orange,#B4501A); box-shadow:0 4px 12px rgba(180,80,26,.14); }
.ps-ghost-d { background:transparent; color:#fff; border-color:#fff; box-shadow:none; }
.ps-ghost-d:hover { background:rgba(255,255,255,.12); border-color:#fff; box-shadow:none; }
.ps-ghost-d:focus-visible { outline-color:#fff; }
@media (prefers-reduced-motion:reduce) { .ps-btn { transition:none; } .ps-btn:hover { transform:none; } }
/* Subscribe: lighter orange with dark text, on product cards and the product page */
.ps-btn[data-act="subscribe"], .ps-btn[data-pd="subscribe"] { background:#FFC78F; color:#4a1f00; border-color:#F2A963; box-shadow:0 4px 12px rgba(242,169,99,.28); }
.ps-btn[data-act="subscribe"]:hover, .ps-btn[data-pd="subscribe"]:hover { background:#FFB872; color:#4a1f00; border-color:#E8964A; box-shadow:0 7px 18px rgba(242,169,99,.36); }
.ps-btns { display:flex; gap:10px; flex-wrap:wrap; }
.ps-btns .ps-btn { flex:1 1 120px; }
.ps-link { background:none; border:0; font:inherit; font-weight:600; color:var(--ink,#232052); text-decoration:underline; cursor:pointer; padding:8px 4px; min-height:44px; }
.ps-sm { font-size:13px; color:var(--muted,#5B5880); margin:0; }
.ps-center { text-align:center; }

#ps-top { margin-bottom:22px; display:grid; gap:14px; }
.ps-loc { display:flex; flex-wrap:wrap; gap:12px; justify-content:space-between; align-items:center; background:#fff; border:1.5px solid #efe6cf; border-radius:16px; padding:14px 18px; }
.ps-loc-t { font-weight:700; font-size:17px; }
.ps-offers { background:#fff6ee; border:1.5px solid #f3d9bf; border-radius:16px; padding:14px 16px; }
.ps-offers-h { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#8a3b00; margin-bottom:8px; }
.ps-offer-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:10px; margin-bottom:8px; }
.ps-offer { display:block; background:#fff; border:1px solid #efe2cf; border-radius:12px; padding:10px 12px; color:inherit; text-decoration:none; }
.ps-offer .t { font-weight:700; } .ps-offer .s { font-size:13px; color:var(--muted,#5B5880); } .ps-offer .v { font-size:12px; font-weight:600; color:#8a3b00; }
.ps-home-offers { padding:24px 0 0; }
.ps-badge { display:inline-block; font-size:12px; font-weight:700; color:#8a3b00; background:#ffe7cf; border-radius:999px; padding:3px 10px; margin:0 6px 8px 0; }
.ps-actions { margin-top:6px; display:grid; gap:8px; }
.ps-note { font-size:13px; color:var(--muted,#5B5880); background:#f1eee4; border-radius:10px; padding:10px 12px; }
.ps-qty { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.ps-q { display:inline-flex; align-items:center; gap:10px; }
.ps-q button { width:44px; height:44px; border-radius:50%; border:1.5px solid #d9d3c3; background:#fff; font-size:20px; cursor:pointer; color:inherit; }
.ps-q button[disabled] { opacity:.4; cursor:default; }
.ps-mode { font-size:12px; font-weight:700; color:#14612f; background:#e4f3e8; border-radius:999px; padding:3px 10px; }

.ps-cartbar { position:fixed; left:0; right:0; bottom:0; background:var(--ink,#232052); color:#fff; padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px)); z-index:50; }
.ps-cartbar[hidden] { display:none; }
.ps-cartbar-in { max-width:1180px; margin:0 auto; display:flex; flex-wrap:wrap; gap:10px 20px; justify-content:space-between; align-items:center; }
.ps-cartbar .ps-sm { color:#d8d4ee; }
@media (max-width:640px) { .ps-acc-btn span { display:none; } .ps-card { padding:24px 18px; } }

.ps-pd { margin:14px 0 6px; }
.ps-pd .pd-price { margin:0 0 6px; }

/* contrast: white text on these oranges is 5.1:1 and 6.4:1 */
:root { --ps-orange:#B4501A; --ps-orange-dark:#9A430F; }

/* aligned product cards: one-line label, buttons pinned to the bottom of every card */
.ps-card-p { height:100%; }
.ps-card-p .cat { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--ps-orange); }
.ps-card-p .ps-actions { margin-top:auto; padding-top:10px; }
.ps-card-p .ps-price { font-size:14px; margin:0 0 10px; min-height:22px; }
.ps-pricelink { padding:0; min-height:0; font-size:14px; text-decoration:underline; }
.ps-subtag { display:inline-block; align-self:flex-start; font-size:12px; font-weight:700; color:#14612f; background:#e4f3e8; border-radius:999px; padding:3px 10px; margin:0 6px 8px 0; }
