/* Lebeddie set */
.lbset, .lbset-modal {
	--lb-brown: #402115;
	--lb-dark: #2b1810;
	--lb-text: #4a4a4a;
	--lb-muted: #5c5c5c;
	--lb-line: #e6dfd8;
	--lb-line-strong: #c9beb4;
	--lb-sand: #f7f2ec;
	--lb-green: #24552c;
	--lb-green-bg: #e8f1e4;
	color: var(--lb-text);
	font-size: 15px;
	line-height: 1.45;
	box-sizing: border-box;
}
.lbset *, .lbset-modal * { box-sizing: border-box; }

.lbset { clear: both; width: 100%; max-width: 1240px; margin: 56px auto; padding: 0 20px; }
.lbset:empty { display: none; }

.lbset-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #7a5a48; }
.lbset .lbset-title, .lbset-modal .lbset-title { margin: 8px 0 0; padding: 0; font-size: 28px; line-height: 1.2; font-weight: 600; color: var(--lb-brown); text-transform: none; letter-spacing: 0; }
.lbset .lbset-intro, .lbset-modal .lbset-intro { margin: 0; font-size: 15px; line-height: 1.5; color: var(--lb-muted); }

.lbset-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.lbset-head .lbset-intro { max-width: 380px; }

.lbset-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: stretch; }
.lbset-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.lbset-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lb-line); padding: 1px; }
.lbset-card.is-on { border: 2px solid var(--lb-brown); padding: 0; }
.lbset-card.is-dim .lbset-card-img img { opacity: .45; }
.lbset-card-img { position: relative; background: #f2f2f2; }
.lbset-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; border-radius: 0; }
.lbset-badge { position: absolute; left: 10px; top: 10px; background: var(--lb-brown); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; padding: 5px 8px; text-transform: uppercase; line-height: 1.2; }
.lbset-check { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; margin: 0; display: flex; align-items: center; justify-content: center; background: #fff; cursor: pointer; }
.lbset input[type="checkbox"], .lbset-modal input[type="radio"] { width: 22px; height: 22px; margin: 0; accent-color: var(--lb-brown); cursor: pointer; flex: none; opacity: 1; position: static; appearance: auto; -webkit-appearance: auto; }
.lbset-card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 16px; flex: 1; }
.lbset-card-name { font-size: 16px; font-weight: 700; color: var(--lb-dark); line-height: 1.3; }
.lbset-sub { font-size: 13px; color: var(--lb-muted); }
.lbset-hint { font-size: 12px; line-height: 1.35; color: var(--lb-muted); }
.lbset-field { display: flex; flex-direction: column; gap: 4px; margin: 0; font-size: 12px; color: var(--lb-muted); }
.lbset .lbset-size { height: 44px; width: 100%; margin: 0; padding: 0 8px; border: 1px solid var(--lb-line-strong); border-radius: 0; background-color: #fff; font: inherit; font-size: 14px; color: var(--lb-dark); }
.lbset .lbset-choose { height: 44px; padding: 0 10px; border: 1.5px solid var(--lb-brown); border-radius: 0; background: #fff; color: var(--lb-brown); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; cursor: pointer; text-transform: none; letter-spacing: 0; }
.lbset .lbset-choose:hover { background: var(--lb-sand); }
.lbset-card-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.lbset-price { font-size: 17px; font-weight: 700; color: var(--lb-dark); }
.lbset-was { font-size: 13px; color: #6b6b6b; text-decoration: line-through; }
.lbset-tag { align-self: flex-start; background: var(--lb-green-bg); color: var(--lb-green); font-size: 12px; font-weight: 700; padding: 4px 8px; line-height: 1.3; }
.lbset-tag.is-off { background: #f1eeea; color: #6b6b6b; }
.lbset-green { color: var(--lb-green); font-weight: 700; }

.lbset-summary { display: flex; flex-direction: column; gap: 18px; background: var(--lb-sand); padding: 28px; }
.lbset-summary-title { font-size: 16px; font-weight: 600; color: var(--lb-brown); }
.lbset-lines { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #3d3d3d; }
.lbset-lines > div, .lbset-sums > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.lbset-lines span:last-child { white-space: nowrap; }
.lbset-rule { height: 1px; background: #d9cdc1; }
.lbset-sums { display: flex; flex-direction: column; gap: 8px; }
.lbset-regular { font-size: 14px; color: var(--lb-muted); }
.lbset-regular span:last-child { text-decoration: line-through; }
.lbset-total { color: var(--lb-dark); }
.lbset-total span { font-size: 16px; font-weight: 700; }
.lbset-total strong { font-size: 28px; font-weight: 700; line-height: 1.1; }
.lbset-save { display: flex; align-items: center; gap: 10px; background: var(--lb-green-bg); color: var(--lb-green); padding: 12px 14px; font-size: 15px; font-weight: 700; }
.lbset .lbset-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--lb-muted); }

.lbset .lbset-btn, .lbset-modal .lbset-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1.5px solid var(--lb-brown); border-radius: 0; background: var(--lb-brown); color: #fff; font: inherit; font-size: 14.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; line-height: 1.2; cursor: pointer; text-align: center; }
.lbset .lbset-btn:hover, .lbset-modal .lbset-btn:hover { background: #57301f; color: #fff; }
.lbset-modal .lbset-btn.is-ghost { background: #fff; color: var(--lb-brown); }
.lbset-modal .lbset-btn.is-ghost:hover { background: var(--lb-sand); color: var(--lb-brown); }
.lbset .lbset-btn[disabled], .lbset-modal .lbset-btn[disabled] { opacity: .45; cursor: not-allowed; }
.lbset :focus-visible, .lbset-modal :focus-visible { outline: 2px solid #1f4a6e; outline-offset: 2px; }

/* ----- modal ----- */
body.lbset-noscroll { overflow: hidden; }
.lbset-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(43, 24, 16, .55); }
.lbset-modal-box { display: flex; flex-direction: column; width: 100%; max-width: 1128px; max-height: 100%; background: #fff; outline: none; }
.lbset-popup .lbset-modal-box { max-width: 780px; }
.lbset-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 28px; border-bottom: 1px solid #ebe4dc; flex: none; }
.lbset-modal .lbset-modal-head .lbset-title { font-size: 24px; margin-top: 4px; }
.lbset-modal .lbset-x { width: 44px; height: 44px; flex: none; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--lb-brown); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lbset-modal-body { padding: 22px 28px; overflow-y: auto; flex: 1; min-height: 0; -webkit-overflow-scrolling: touch; }
.lbset-modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 28px; background: var(--lb-sand); flex: none; }

.lbset-step { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin: 0 0 14px; }
.lbset-modal .lbset-step h3 { margin: 0; padding: 0; font-size: 17px; font-weight: 700; color: var(--lb-dark); text-transform: none; letter-spacing: 0; }
.lbset-step span { font-size: 14px; color: var(--lb-muted); text-align: right; }
.lbset-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 26px; }
.lbset-type { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 21px; border: 1px solid var(--lb-line-strong); background: #fff; cursor: pointer; }
.lbset-type.is-on { border: 2px solid var(--lb-brown); padding: 20px; background: #fbf8f5; }
.lbset-type.is-dim { opacity: .55; cursor: not-allowed; }
.lbset-type-top, .lbset-type-right { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lbset-type-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: #f1e8df; color: var(--lb-brown); }
.lbset-type-nepremokava .lbset-type-icon, .lbset-type-nepremokava .lbset-type-tag { background: #e6eef5; color: #1f4a6e; }
.lbset-type-vlna .lbset-type-icon, .lbset-type-vlna .lbset-type-tag { background: #f6ecdc; color: #7a4b12; }
.lbset-type-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 4px 8px; text-transform: uppercase; line-height: 1.3; }
.lbset-type-name { font-size: 18px; font-weight: 700; color: var(--lb-dark); }
.lbset-type-lead { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--lb-brown); }
.lbset-points { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; line-height: 1.4; }
.lbset-points > span { display: flex; gap: 8px; }
.lbset-points svg { flex: none; margin-top: 2px; color: var(--lb-green); }
.lbset-care { display: flex; gap: 8px; font-size: 12.5px; line-height: 1.4; color: var(--lb-muted); }
.lbset-care.is-warn { background: #fbf3e6; color: #6a4210; padding: 8px 10px; }
.lbset-care svg { flex: none; margin-top: 1px; }
.lbset-type-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; padding-top: 8px; border-top: 1px solid #ebe4dc; }

.lbset-colours { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.lbset-colour { display: flex; flex-direction: column; gap: 8px; margin: 0; cursor: pointer; }
.lbset-colour-img { position: relative; display: block; border: 1px solid var(--lb-line); padding: 1px; background: #f2f2f2; }
.lbset-colour.is-on .lbset-colour-img { border: 2px solid var(--lb-brown); padding: 0; }
.lbset-colour-img img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; margin: 0; }
.lbset-colour-img input { position: absolute !important; right: 7px; top: 7px; width: 20px !important; height: 20px !important; }
.lbset-colour-name { font-size: 14px; color: #3d3d3d; }
.lbset-colour.is-on .lbset-colour-name { font-weight: 700; color: var(--lb-dark); }
.lbset-colour.is-dim { cursor: not-allowed; }
.lbset-colour.is-dim img { opacity: .4; }

.lbset-foot-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lbset-foot-text strong { font-size: 16px; color: var(--lb-dark); }
.lbset-foot-buy { display: flex; align-items: center; gap: 20px; flex: none; }
.lbset-foot-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.lbset-foot-price strong { font-size: 22px; color: var(--lb-dark); line-height: 1.1; }
.lbset-foot-price span { font-size: 12.5px; }

/* ----- pop-up ----- */
.lbset-popup-head img { width: 64px; height: 64px; object-fit: cover; background: #f2f2f2; flex: none; margin: 0; }
.lbset-popup-added { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.lbset-popup-added .lbset-green { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.lbset-popup-added strong, .lbset-popup-price { font-size: 17px; color: var(--lb-dark); }
.lbset-popup-price { white-space: nowrap; }
.lbset-popup .lbset-modal-body .lbset-title { font-size: 22px; margin: 0 0 8px; }
.lbset-rows { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.lbset-row { display: flex; align-items: center; gap: 16px; border: 1px solid var(--lb-line); padding: 12px; }
.lbset-row > img { width: 84px; height: 84px; object-fit: cover; background: #f2f2f2; flex: none; margin: 0; }
.lbset-row-text { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; flex: 1; min-width: 0; }
.lbset-row-text strong { font-size: 16px; color: var(--lb-dark); line-height: 1.3; }
.lbset-row-text .lbset-sub { font-size: 13.5px; }
.lbset-modal a.lbset-change, .lbset-modal a.lbset-link { color: var(--lb-brown); font-size: 13px; font-weight: 600; text-decoration: underline; }
.lbset-modal a.lbset-link { font-size: 14.5px; }
.lbset-row-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }
.lbset-modal .lbset-row-add { min-height: 46px; padding: 0 20px; font-size: 13.5px; flex: none; }
.lbset-done { display: flex; align-items: center; gap: 6px; min-height: 46px; padding: 0 8px; color: var(--lb-green); font-size: 13.5px; font-weight: 700; flex: none; }
.lbset-modal .lbset-error { margin: 14px 0 0; color: #a12622; font-size: 14px; }

/* ----- narrower screens ----- */
@media (max-width: 1100px) {
	.lbset-grid { grid-template-columns: minmax(0, 1fr); }
	.lbset-colours { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.lbset-types { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.lbset-type { padding: 15px; gap: 8px; }
	.lbset-type.is-on { padding: 14px; }
	.lbset-type:not(.is-on) .lbset-points, .lbset-type:not(.is-on) .lbset-care { display: none; }
	.lbset-type-icon { width: 40px; height: 40px; }
	.lbset-step { flex-direction: column; gap: 4px; }
	.lbset-step span { text-align: left; font-size: 13px; }
}
@media (max-width: 760px) {
	.lbset { margin: 36px auto; padding: 0 16px; }
	.lbset .lbset-title { font-size: 21px; }
	.lbset-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 16px; }
	.lbset-cards { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.lbset-card { flex-direction: row; align-items: stretch; }
	.lbset-card-img { width: 112px; flex: none; align-self: flex-start; position: static; }
	.lbset-card { position: relative; }
	.lbset-badge { left: 0; top: 0; font-size: 10px; padding: 4px 6px; }
	.lbset-check { right: 0; top: 0; }
	.lbset-card-body { padding: 10px 52px 12px 12px; gap: 6px; min-width: 0; }
	.lbset-card-name { font-size: 15px; }
	.lbset-summary { padding: 18px 16px 20px; gap: 14px; }
	.lbset-total strong { font-size: 26px; }

	.lbset-modal { padding: 0; align-items: stretch; }
	.lbset-modal-box { max-height: none; height: 100%; }
	.lbset-modal-head { padding: 12px 8px 12px 16px; }
	.lbset-modal .lbset-modal-head .lbset-title { font-size: 18px; }
	.lbset-modal-head .lbset-eyebrow { font-size: 10.5px; }
	.lbset-modal-body { padding: 14px 16px; }
	.lbset-modal-foot { padding: 12px 16px 16px; gap: 12px; }
	.lbset-picker .lbset-modal-foot { flex-direction: column; align-items: stretch; }
	.lbset-foot-text .lbset-sub:last-child { display: none; }
	.lbset-foot-buy { justify-content: space-between; }
	.lbset-colours { display: flex; overflow-x: auto; gap: 10px; margin-right: -16px; padding: 0 16px 6px 0; scroll-snap-type: x proximity; }
	.lbset-colour { flex: none; width: 116px; scroll-snap-align: start; }
	.lbset-types { margin-bottom: 18px; }

	.lbset-popup-head img { width: 52px; height: 52px; }
	.lbset-popup-added strong, .lbset-popup-price { font-size: 15px; }
	.lbset-row { flex-wrap: wrap; gap: 10px 12px; padding: 10px; }
	.lbset-row > img { width: 68px; height: 68px; }
	.lbset-row-text { flex: 1 1 60%; }
	.lbset-row-text strong { font-size: 15px; }
	.lbset-row-price { flex-direction: row; align-items: baseline; gap: 8px; margin-left: 80px; flex: 1; }
	.lbset-popup .lbset-modal-foot { flex-direction: column-reverse; align-items: stretch; text-align: center; }
}

/* ----- keep theme button styles out ----- */
.lbset .lbset-btn, .lbset-modal .lbset-btn { background: var(--lb-brown) !important; color: #fff !important; border: 1.5px solid var(--lb-brown) !important; border-radius: 0 !important; box-shadow: none !important; width: auto; }
.lbset .lbset-btn:hover, .lbset-modal .lbset-btn:hover { background: #57301f !important; }
.lbset-modal .lbset-btn.is-ghost { background: #fff !important; color: var(--lb-brown) !important; }
.lbset-modal .lbset-btn.is-ghost:hover { background: var(--lb-sand) !important; }
.lbset .lbset-choose { background: #fff !important; color: var(--lb-brown) !important; border: 1.5px solid var(--lb-brown) !important; border-radius: 0 !important; box-shadow: none !important; width: 100%; }
.lbset .lbset-choose:hover { background: var(--lb-sand) !important; }
.lbset-modal .lbset-x { background: transparent !important; color: var(--lb-brown) !important; border: 0 !important; box-shadow: none !important; min-height: 0; }
.lbset-summary .lbset-btn { width: 100%; }
.lbset-modal .lbset-btn.lbset-row-add, .lbset-modal .lbset-btn.lbset-confirm { width: auto; }
.lbset label, .lbset-modal label { font-weight: inherit; }

.lbset .lbset-teaser { margin: 0; padding: 12px 14px; border: 1px dashed #b9d3b0; color: var(--lb-green); font-size: 14px; font-weight: 600; line-height: 1.4; }

/* second mattress protector row */
.lbset-left { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.lbset-prot { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 18px 14px 14px; border: 1px solid var(--lb-line); background: #fff; cursor: pointer; }
.lbset-prot.is-on { border: 2px solid var(--lb-brown); padding: 13px 17px 13px 13px; }
.lbset-prot.is-dim { opacity: .55; cursor: not-allowed; }
.lbset-prot-icon { width: 56px; height: 56px; flex: none; display: flex; align-items: center; justify-content: center; background: #e6eef5; color: #1f4a6e; }
.lbset-prot-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.lbset-prot-text .lbset-sub { font-size: 14px; line-height: 1.4; }
.lbset-prot-price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.lbset-prot-price .lbset-card-price { margin: 0; }
.lbset-prot-price .lbset-tag { align-self: flex-end; }
@media (max-width: 760px) {
	.lbset-prot { flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px 12px 10px; position: relative; }
	.lbset-prot.is-on { padding: 9px 11px 11px 9px; }
	.lbset-prot-icon { width: 48px; height: 48px; }
	.lbset-prot-text { flex: 1 1 60%; padding-right: 32px; }
	.lbset-prot-text .lbset-sub { font-size: 12.5px; }
	.lbset-prot-price { flex-direction: row; align-items: baseline; gap: 8px; margin-left: 60px; }
	.lbset-prot input[type="checkbox"] { position: absolute !important; right: 12px; top: 12px; }
}

/* hide the chat bubble while a set window is open, so it never covers the buttons */
body.lbset-noscroll #tidio-chat { display: none !important; }

.lbset-prot-img { width: 72px; height: 72px; flex: none; object-fit: cover; margin: 0; background: #f2f2f2; }
@media (max-width: 760px) { .lbset-prot-img { width: 56px; height: 56px; } .lbset-prot-price { margin-left: 68px; } }

/* Pop-up row without a photo (protector fallback). */
.lbset-row-icon{display:flex;align-items:center;justify-content:center;width:84px;height:84px;flex:0 0 84px;border-radius:12px;background:#f3f1ee}
.lbset-row-icon svg{width:40px;height:40px}
