/* LOKUM shop: buy button, option picker, bag */
.card-buy { display: inline-block; margin-top: 14px; padding: 10px 18px; border: 1px solid var(--line); background: transparent; color: var(--white); cursor: var(--eye); font: inherit; letter-spacing: inherit; text-transform: inherit; transition: background 300ms var(--ease), color 300ms var(--ease); }
.card-buy:hover, .card-buy:focus-visible { background: var(--white); color: var(--blue); }
html.buy-locked, html.buy-locked body { overflow: hidden; }
.buy-layer[hidden] { display: none; }
.buy-layer { position: fixed; inset: 0; z-index: 200; }
.buy-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); cursor: var(--eye); }
.buy-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); overflow-y: auto; background: var(--white); color: var(--blue); padding: 64px 32px 40px; font-family: var(--text); outline: none; animation: buyIn 380ms var(--ease); }
@keyframes buyIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.buy-close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--blue); cursor: var(--eye); font: inherit; }
.buy-img { aspect-ratio: 1 / 1; margin: 0 0 20px; background: #f3f3f6; }
.buy-img img { width: 100%; height: 100%; object-fit: contain; }
.buy-name { font-family: var(--display); font-size: 26px; line-height: 1.05; text-transform: uppercase; margin: 0 0 8px; }
.buy-price { font-size: 20px; margin: 0 0 24px; }
.buy-price s { opacity: .55; margin-left: 8px; }
.buy-group { border: 0; padding: 0; margin: 0 0 20px; }
.buy-group legend { margin-bottom: 10px; color: var(--blue); }
.buy-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-chip { display: inline-flex; align-items: center; gap: 8px; min-width: 48px; justify-content: center; padding: 10px 14px; border: 1px solid rgba(20, 20, 240, .35); background: none; color: var(--blue); font: inherit; font-size: 15px; cursor: var(--eye); }
.buy-chip i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .2); }
.buy-chip.is-on { background: var(--blue); color: var(--white); border-color: var(--blue); }
.buy-chip:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.buy-qty { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.buy-qty button { width: 34px; height: 34px; border: 1px solid rgba(20, 20, 240, .35); background: none; color: var(--blue); font: inherit; font-size: 18px; cursor: var(--eye); }
.buy-qty button:disabled { opacity: .3; cursor: not-allowed; }
.buy-main { width: 100%; padding: 16px; border: 0; background: var(--blue); color: var(--white); font: inherit; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; cursor: var(--eye); }
.buy-main:disabled { opacity: .35; cursor: not-allowed; }
.buy-note { font-size: 14px; margin: 12px 0 0; opacity: .8; }
.buy-error { font-size: 14px; margin: 12px 0 0; color: #ff4b2b; }
.buy-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(20, 20, 240, .15); }
.buy-line img { width: 72px; height: 72px; object-fit: contain; background: #f3f3f6; }
.buy-line-name { margin: 0 0 4px; font-size: 16px; }
.buy-line-desc { margin: 0; opacity: .7; }
.buy-line .buy-qty { margin: 10px 0 0; }
.buy-line-price { margin: 0; font-size: 16px; white-space: nowrap; }
.buy-remove { width: auto !important; border: 0 !important; padding: 0 4px; font-size: 12px !important; text-decoration: underline; }
.buy-total { display: flex; justify-content: space-between; font-size: 18px; margin: 20px 0 0; }
.buy-total + .buy-note { margin-bottom: 20px; }
.buy-bag[hidden] { display: none; }
.buy-bag { position: fixed; right: 24px; bottom: 24px; z-index: 150; padding: 14px 20px; border: 0; background: var(--white); color: var(--blue); font: inherit; cursor: var(--eye); box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
@media (max-width: 760px) { .buy-panel { padding: 56px 20px 32px; } .buy-bag { right: 16px; bottom: 16px; } }
/* Redesign 9.11.: pills and red */
.card-buy { display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 11px 18px 11px 20px; border: 0; background: #ff4b2b; color: #fff; font-size: 11px; letter-spacing: .1em; }
.card-buy::after { content: "\2192"; font-size: 14px; letter-spacing: 0; transition: transform 300ms var(--ease); }
.card-buy:hover, .card-buy:focus-visible { background: var(--white); color: #ff4b2b; }
.card-buy:hover::after { transform: translateX(3px); }
.buy-chip { border-radius: 999px; }
.buy-qty button { border-radius: 50%; }
.buy-main { border-radius: 999px; background: #ff4b2b; }
.buy-bag { border-radius: 999px; background: #ff4b2b; color: #fff; padding: 14px 22px; }

/* Redesign 9.11. b: bright red, bold text instead of pills (Mat) */
.card-buy { border: 0; border-radius: 0; background: none; padding: 10px 0; color: var(--white); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 7px; text-decoration-color: #e30a17; text-transform: uppercase; }
.card-buy::after { display: inline-block; text-decoration: none; }
.card-buy:hover, .card-buy:focus-visible { background: none; color: var(--white); text-decoration-color: var(--white); }
.buy-chip { border-radius: 0; font-weight: 700; }
.buy-chip.is-on { background: #e30a17; border-color: #e30a17; }
.buy-main { border-radius: 0; background: #e30a17; font-weight: 700; }
.buy-bag { border-radius: 0; background: #e30a17; font-weight: 700; letter-spacing: .04em; }
.buy-error { color: #e30a17; }
/* Cut-outs: no grey box behind products */
.buy-img, .buy-line img { background: none; }
