/* TWS Kitchen — The Wine Shop purple (#63194C), EB Garamond headings, Inter text. Mobile first. */
.twsk, .twsk-banner {
	--k-p: #63194C;
	--k-pd: #4A1239;
	--k-acc: #8A3A6F;
	--k-tint: #F7EEF3;
	--k-line: #E5D4DF;
	--k-hair: #F1E7ED;
	--k-ink: #1E1A24;
	--k-mut: #5E5866;
	--k-warn-bg: #FFF8EC;
	--k-warn-line: #E9C98F;
	--k-warn: #7A4A06;
	font-family: Inter, system-ui, -apple-system, sans-serif;
	color: var(--k-ink);
	font-size: 15px;
	line-height: 1.5;
}
.twsk { max-width: 560px; margin: 0 auto; padding: 8px 0 96px; }
.twsk *, .twsk *::before, .twsk *::after { box-sizing: border-box; }
.twsk [hidden] { display: none !important; }
.twsk button { font-family: inherit; cursor: pointer; }
.twsk button:disabled { cursor: default; }
.twsk button:focus-visible, .twsk a:focus-visible, .twsk select:focus-visible { outline: 2px solid var(--k-p); outline-offset: 2px; }

.twsk-k { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--k-acc); }
.twsk .twsk-h { margin: 4px 0 6px; font-family: "EB Garamond", Georgia, serif; font-size: 32px; font-weight: 500; line-height: 1.1; color: var(--k-ink); }
.twsk-lead { margin: 0 0 18px; color: var(--k-mut); font-size: 14px; }
.twsk-label { margin: 20px 0 10px; font-size: 13px; font-weight: 600; display: flex; justify-content: space-between; }
.twsk-sub { font-weight: 400; color: var(--k-mut); font-size: 12px; }

.twsk-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--k-tint); border-radius: 12px; }
.twsk-toggle button { height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--k-mut); font-size: 14px; font-weight: 500; }
.twsk-toggle button[aria-pressed="true"] { background: #fff; color: var(--k-p); font-weight: 600; box-shadow: 0 1px 2px rgba(30, 26, 36, .08); }

.twsk-area { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.twsk-area label { font-size: 13px; font-weight: 600; }
.twsk-area select { height: 44px; border: 1px solid var(--k-line); border-radius: 10px; padding: 0 12px; font: 400 15px Inter, sans-serif; color: var(--k-ink); background: #fff; }
.twsk-fee { margin: 0; font-size: 13px; color: var(--k-p); font-weight: 600; min-height: 1em; }
.twsk-fee-no { color: var(--k-warn); }

.twsk-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.twsk-day { flex: none; width: 64px; height: 72px; border-radius: 12px; border: 1px solid var(--k-line); background: #fff; color: var(--k-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 0; }
.twsk-day span { font-size: 12px; color: var(--k-mut); }
.twsk-day strong { font-size: 18px; font-weight: 600; }
.twsk-day.is-off { opacity: .55; }
.twsk-day.is-on { background: var(--k-p); border: 2px solid var(--k-p); color: #fff; opacity: 1; }
.twsk-day.is-on span { color: #fff; }

.twsk-slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.twsk-slot { height: 52px; border-radius: 10px; border: 1px solid var(--k-line); background: #fff; color: var(--k-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; }
.twsk-slot strong { font-size: 14px; font-weight: 600; }
.twsk-slot span { font-size: 11px; color: var(--k-mut); }
.twsk-slot.is-few { border-color: var(--k-warn-line); background: var(--k-warn-bg); color: var(--k-warn); }
.twsk-slot.is-few span { color: var(--k-warn); }
.twsk-slot.is-full { border-color: var(--k-hair); background: #F7F6F8; color: #6F6976; }
.twsk-slot.is-full strong { text-decoration: line-through; }
.twsk-slot.is-on { border: 2px solid var(--k-p); background: var(--k-p); color: #fff; }
.twsk-slot.is-on span { color: #fff; }
.twsk-empty { margin: 10px 0 0; font-size: 13px; color: var(--k-mut); }

.twsk-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--k-tint); color: var(--k-p); font-size: 13px; line-height: 1.45; }
.twsk-error { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--k-warn-bg); border: 1px solid var(--k-warn-line); color: var(--k-warn); font-size: 14px; }

/* Step 2 */
.twsk-slotbar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; margin: 0 0 18px; border-radius: 14px; background: var(--k-p); color: #fff; }
.twsk-slotbar img { width: 26px; height: 26px; border-radius: 6px; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .18); }
.twsk-slotbar div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.twsk-slotbar .twsk-k { color: #E9CFE0; font-size: 11px; }
.twsk-slotbar strong { font-size: 15px; font-weight: 600; }
.twsk-change { border: 0; background: transparent; color: #fff; text-decoration: underline; font-size: 14px; min-height: 44px; padding: 0 4px; }

.twsk-tabs { display: flex; gap: 8px; margin: 14px 0 4px; flex-wrap: wrap; }
.twsk-tabs a { height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--k-line); color: var(--k-p); font-size: 13px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; }
.twsk-h3 { margin: 22px 0 4px; font-family: "EB Garamond", Georgia, serif; font-size: 22px; font-weight: 600; color: var(--k-p); scroll-margin-top: 90px; }
.twsk-list { list-style: none; margin: 0; padding: 0; }
.twsk-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--k-hair); }
.twsk-thumb { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.twsk-item-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.twsk-item-name { font-weight: 600; }
.twsk-item-desc { font-size: 13px; color: var(--k-mut); line-height: 1.4; }
.twsk-item-price { font-size: 13px; }
.twsk-item.is-sold .twsk-item-name, .twsk-item.is-sold .twsk-item-price { color: #6F6976; }
.twsk-soldout { flex: none; font-size: 12px; font-weight: 600; color: var(--k-warn); background: var(--k-warn-bg); border: 1px solid var(--k-warn-line); border-radius: 8px; padding: 6px 8px; }
.twsk-step { flex: none; display: flex; align-items: center; height: 44px; border-radius: 22px; border: 1px solid var(--k-line); background: #fff; }
.twsk-step[data-qty="0"] .twsk-minus, .twsk-step[data-qty="0"] .twsk-n { display: none; }
.twsk-item.has-qty .twsk-step { background: var(--k-tint); border-color: var(--k-tint); }
.twsk-step button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--k-p); font-size: 20px; font-weight: 600; line-height: 1; padding: 0; }
.twsk-n { min-width: 18px; text-align: center; font-weight: 600; color: var(--k-p); }

.twsk-wine { margin: 22px 0 0; padding: 14px; border: 1px solid var(--k-line); border-radius: 14px; display: flex; gap: 12px; align-items: center; scroll-margin-top: 90px; }
.twsk-wine div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.twsk-wine span { font-size: 12px; color: var(--k-mut); }
.twsk-btn-ghost { flex: none; height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--k-p); color: var(--k-p) !important; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }

.twsk-sig { margin: 28px 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; opacity: .55; }
.twsk-sig img { width: 18px; height: 18px; border-radius: 4px; }
.twsk-sig span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--k-mut); }

.twsk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--k-hair); }
.twsk-bar-btn { max-width: 560px; margin: 0 auto; height: 52px; border-radius: 14px; background: var(--k-p); color: #fff !important; text-decoration: none !important; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 600; }

/* Cart and checkout */
.twsk-banner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 16px; margin: 0 0 24px; border-radius: 12px; background: #F7EEF3; color: #63194C; }
.twsk-banner strong { font-size: 16px; }
.twsk-banner span { color: #5E5866; font-size: 14px; }
.twsk-banner .twsk-banner-k { width: 100%; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A3A6F; }
.twsk-banner .twsk-banner-note { width: 100%; color: #63194C; }
.twsk-banner a { margin-left: auto; color: #63194C; font-weight: 600; }

/* Thank-you */
.twsk-thanks { max-width: 520px; margin: 0 0 32px; padding: 0; }
.twsk-thanks-card { padding: 16px 18px; border-radius: 14px; background: #63194C; color: #fff; display: flex; flex-direction: column; gap: 2px; margin-bottom: 12px; }
.twsk-thanks-card .twsk-k { color: #E9CFE0; }
.twsk-thanks-card strong { font-size: 20px; }
.twsk-small { font-size: 14px; color: #5E5866; }
.twsk-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 14px; background: #63194C; color: #fff !important; text-decoration: none !important; font-weight: 600; }
.twsk-thanks .twsk-sig { justify-content: flex-start; }

@media (min-width: 700px) {
	.twsk-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
