/* Basket drawer and size picker */
.pp-overlay { --pp-bg: #F4EEE2; --pp-ink: #2B2420; --pp-muted: #6b5f57; --pp-line: #d9ccb8; --pp-accent: #8E2A2E; --pp-stone: #EDE4D3; }
.pp-locked, .pp-locked body { overflow: hidden; }
.pp-overlay[hidden] { display: none; }
.pp-overlay { position: fixed; inset: 0; z-index: 1000; }
.pp-backdrop { position: absolute; inset: 0; background: rgba(43, 36, 32, 0.45); }
.pp-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--pp-bg); color: var(--pp-ink); display: flex; flex-direction: column; box-shadow: -8px 0 24px rgba(0, 0, 0, 0.15); font: inherit; }
.pp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--pp-line); }
.pp-panel-title { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; font-size: 1.6rem; line-height: 1.2; }
.pp-close { border: 0; background: none; font-size: 1.8rem; line-height: 1; padding: 4px 8px; cursor: pointer; color: var(--pp-ink); }
.pp-panel-body { padding: 18px 20px 28px; overflow-y: auto; flex: 1; }
.pp-muted { color: var(--pp-muted); margin: 4px 0; font-size: 0.95rem; }
.pp-error { color: var(--pp-accent); font-weight: 600; margin: 8px 0; }
.pp-warn { color: var(--pp-accent); margin: 4px 0; font-size: 0.9rem; }
.pp-textlink { color: var(--pp-accent); }
.pp-primary { display: block; width: 100%; margin-top: 18px; padding: 14px 18px; border: 0; border-radius: 4px; background: var(--pp-accent); color: #fff; font: inherit; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.pp-primary[disabled] { opacity: 0.5; cursor: not-allowed; }
.pp-step { width: 34px; height: 34px; border: 1px solid var(--pp-line); background: #fff; border-radius: 4px; font: inherit; font-size: 1.1rem; cursor: pointer; color: var(--pp-ink); }
.pp-step[disabled] { opacity: 0.4; cursor: not-allowed; }
.pp-qty { min-width: 2ch; text-align: center; display: inline-block; }
.pp-remove { border: 0; background: none; color: var(--pp-muted); text-decoration: underline; font: inherit; font-size: 0.9rem; cursor: pointer; margin-left: 8px; }
.pp-lines { list-style: none; margin: 0; padding: 0; }
.pp-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--pp-line); align-items: start; }
.pp-line-img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; background: var(--pp-stone); display: block; }
.pp-line-name { margin: 0; font-weight: 600; }
.pp-line-ctrl { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.pp-line-price { margin: 0; font-weight: 600; white-space: nowrap; }
.pp-totals { margin: 16px 0 0; }
.pp-totals div { display: flex; justify-content: space-between; padding: 4px 0; }
.pp-totals dt, .pp-totals dd { margin: 0; }
.pp-total { border-top: 1px solid var(--pp-line); margin-top: 6px; padding-top: 10px !important; font-weight: 700; font-size: 1.1rem; }
.pp-pick-img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 4px; margin-bottom: 12px; }
.pp-pick-price { font-size: 1.3rem; font-weight: 600; margin: 0 0 12px; }
.pp-opt { border: 0; margin: 0 0 14px; padding: 0; }
.pp-opt legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.pp-chip { margin: 0 8px 8px 0; padding: 9px 14px; border: 1px solid var(--pp-line); border-radius: 999px; background: #fff; font: inherit; cursor: pointer; color: var(--pp-ink); }
.pp-chip[aria-pressed="true"] { border-color: var(--pp-accent); background: var(--pp-accent); color: #fff; }
.pp-chip[disabled] { opacity: 0.45; cursor: not-allowed; }
.pp-pick-qty { display: flex; align-items: center; gap: 8px; }
.pp-pick-qty > span:first-child { margin-right: 6px; font-weight: 600; }