/* LC & Cheeks Core — components. Inherits the theme's tokens when present. */
.lcc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Buttons (fallbacks if the theme is not active) */
.lcc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 0 24px; border: 1px solid var(--lcc-black, #000);
	background: var(--lcc-black, #000); color: var(--lcc-white, #fff);
	font-weight: 500; text-decoration: none; cursor: pointer; border-radius: 0;
}
.lcc-btn:hover { background: #fff; border-color: #000; color: #000; }
.lcc-btn--ghost { background: transparent; color: var(--lcc-black, #000); }
.lcc-btn--wa { background: #fff; color: #000; border-color: #000; }
.lcc-btn--wa::before {
	content: ""; width: 10px; height: 10px; border-radius: 50%; background: #25d366; flex: none;
}
.lcc-textbtn { background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; text-underline-offset: .3em; cursor: pointer; color: inherit; }
.lcc-textbtn:hover { text-decoration-thickness: 2px; }

/* Notices */
.lcc-notice { padding: 14px 16px; margin: 0 0 20px; border-top: 1px solid #000; background: var(--lcc-stone, #f4f2f0); outline: none; }
.lcc-notice--error { border-top-color: var(--lcc-danger, #b42318); }
.lcc-notice--success { border-top-color: var(--lcc-ok, #1f7a4d); }

/* Forms */
.lcc-form fieldset { border: 0; margin: 0 0 24px; padding: 0; }
.lcc-form legend { font-weight: 600; margin-bottom: 12px; padding: 0; }
.lcc-form p { margin: 0 0 16px; }
.lcc-form label { display: block; margin-bottom: 6px; }
.lcc-form__row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.lcc-form__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lcc-book__status { color: var(--lcc-muted, #6b655f); min-height: 1.5em; }
@media (max-width: 640px) { .lcc-form__row--2 { grid-template-columns: 1fr; } }

/* Booking confirmation */
.lcc-confirm { padding: 32px; background: var(--lcc-stone, #f4f2f0); margin-bottom: 32px; outline: none; }
.lcc-confirm h2 { font-family: var(--f-display, Georgia, serif); font-size: 2rem; margin: 0 0 8px; }
.lcc-confirm__when { font-size: 1.25rem; font-weight: 600; }

/* Store info */
.lcc-store { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 0 0 32px; }
.lcc-store h3 { font-size: 1rem; font-weight: 600; margin: 0 0 8px; }
.lcc-store__note { color: var(--lcc-muted, #6b655f); font-size: .875rem; }

/* WhatsApp float */
.lcc-wa-float {
	position: fixed; z-index: 45;
	right: calc(20px + env(safe-area-inset-right, 0px));
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	display: inline-flex; align-items: center; gap: 10px;
	height: 56px; padding: 0 20px 0 16px; border-radius: 28px;
	background: #fff; color: #000; text-decoration: none; font-weight: 500; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase;
	border: 1px solid var(--lcc-line, #e7e3de); box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}
.lcc-wa-float svg { color: #25d366; }
.lcc-wa-float:hover { border-color: #000; color: #000; }
.single-product .lcc-wa-float { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 901px) { .single-product .lcc-wa-float { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); } }
@media (max-width: 640px) { .lcc-wa-float__label { display: none; } .lcc-wa-float { width: 56px; padding: 0; justify-content: center; } }

/* Product page */
.lcc-sg-link { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; margin: 0 0 12px; font-size: .9375rem; }
.lcc-saved-size { color: var(--lcc-muted, #6f6a64); font-weight: 500; }
.lcc-pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 20px; }
@media (max-width: 420px) { .lcc-pdp-actions { grid-template-columns: 1fr; } }
.lcc-delivery { list-style: none; margin: 0 0 20px; padding: 16px 0 0; border-top: 1px solid var(--lcc-line, #e3dfdb); font-size: .9375rem; display: grid; gap: 6px; }
.lcc-delivery li { display: flex; justify-content: space-between; gap: 16px; }
.lcc-delivery li span:first-child { color: var(--lcc-muted, #6b655f); }
.lcc-delivery--tab { border-top: 0; padding-top: 0; max-width: 480px; }

.lcc-facts { margin: 0 0 20px; }
.lcc-facts__highlights { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 6px; }
.lcc-facts__highlights li { padding-left: 18px; position: relative; }
.lcc-facts__highlights li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: #000; }
.lcc-facts__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0 0 12px; }
.lcc-facts__list dt { font-size: .8125rem; color: var(--lcc-muted, #6b655f); }
.lcc-facts__list dd { margin: 0; font-weight: 500; }
.lcc-facts__model { font-size: .875rem; color: var(--lcc-muted, #6b655f); font-style: italic; }

.lcc-spec { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.lcc-spec th, .lcc-spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--lcc-line, #e3dfdb); vertical-align: top; }
.lcc-spec th { width: 34%; font-weight: 500; color: var(--lcc-muted, #6b655f); }

/* Fit consensus */
.lcc-fitbar { margin: -8px 0 20px; max-width: 360px; }
.lcc-fitbar__text { font-size: .875rem; margin: 0 0 8px; }
.lcc-fitbar__scale { position: relative; height: 4px; background: var(--lcc-line, #e3dfdb); }
.lcc-fitbar__dot { position: absolute; top: 50%; width: 11px; height: 11px; margin-left: -5px; transform: translateY(-50%); background: #000; border-radius: 50%; }
.lcc-fitbar__labels { display: flex; justify-content: space-between; font-size: .75rem; color: var(--lcc-muted, #6b655f); margin-top: 6px; }

/* Reviews */
.lcc-review-fit { border: 1px solid var(--lcc-line, #e3dfdb); padding: 16px; margin: 0 0 16px; }
.lcc-review-fit legend { padding: 0 6px; font-weight: 600; }
.comment-form-lcc-fit { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.comment-form-lcc-fit label { display: inline-flex; gap: 6px; align-items: center; }
.lcc-review-fit__q { width: 100%; }
.lcc-review-meta { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .8125rem; color: var(--lcc-muted, #6b655f); }

/* Stock alert */
.lcc-alert-box { margin: 0 0 24px; padding: 16px; background: var(--lcc-stone, #f4f2f0); }
.lcc-alert__title { margin: 0 0 10px; }
.lcc-alert__row { display: flex; flex-wrap: wrap; gap: 8px; }
.lcc-alert__row select, .lcc-alert__row input[type="email"] { flex: 1 1 160px; min-height: 48px; }
.lcc-alert__row .lcc-btn { min-height: 48px; }

/* Size table */
.lcc-sizetable { margin: 0 0 24px; }
.lcc-unit { display: inline-flex; border: 1px solid #000; margin-bottom: 12px; }
.lcc-unit button { min-height: 36px; padding: 0 14px; background: #fff; border: 0; cursor: pointer; font: inherit; }
.lcc-unit button[aria-pressed="true"] { background: #000; color: #fff; }
.lcc-sizetable__scroll { overflow-x: auto; }
.lcc-sizetable table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 420px; }
.lcc-sizetable th, .lcc-sizetable td { padding: 10px 12px; border-bottom: 1px solid var(--lcc-line, #e3dfdb); text-align: left; white-space: nowrap; }
.lcc-sizetable thead th { font-weight: 600; border-bottom-color: #000; }
.lcc-sizetable tbody th { font-weight: 600; }
.lcc-sizetable tbody th span { font-weight: 400; color: var(--lcc-muted, #6b655f); margin-left: 6px; }
.lcc-sizetable tbody tr:hover { background: var(--lcc-stone, #f4f2f0); }
.lcc-measure { margin-top: 16px; }
.lcc-measure summary { cursor: pointer; font-weight: 500; }
.lcc-measure dt { font-weight: 600; margin-top: 12px; }
.lcc-measure dd { margin: 4px 0 0; }

/* Fit Finder */
.lcc-ff { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin: 0 0 40px; align-items: start; }
.lcc-ff__form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.lcc-ff__form legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.lcc-ff__units label, .lcc-ff__pref label { display: inline-flex; gap: 6px; align-items: center; margin-right: 16px; min-height: 36px; }
.lcc-ff__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lcc-ff__inputs p { margin: 0 0 16px; }
.lcc-ff__inputs label { display: block; margin-bottom: 6px; }
.lcc-ff__result { padding: 24px; background: var(--lcc-sand, #f5f2ee); color: #000; outline: none; }
.lcc-ff__label { margin: 0; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--lcc-muted, #6f6a64); }
.lcc-ff__size { font-family: var(--f-display, Georgia, serif); font-size: 3rem; line-height: 1.1; margin: 4px 0 12px; }
.lcc-ff__msg { font-size: .9375rem; }
.lcc-ff__result .lcc-btn { margin-top: 8px; }
@media (max-width: 760px) { .lcc-ff { grid-template-columns: 1fr; } }

/* Dialog */
.lcc-dialog {
	width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0 24px 24px;
	border: 0; border-radius: 0; overflow-y: auto;
}
.lcc-dialog::backdrop { background: rgba(0, 0, 0, .5); }
.lcc-dialog__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 20px 0 12px; background: #fff; z-index: 1; }
.lcc-dialog__head h2 { font-family: var(--f-display, Georgia, serif); font-size: 1.75rem; margin: 0; }
.lcc-dialog__close { width: 44px; height: 44px; font-size: 28px; line-height: 1; background: none; border: 0; cursor: pointer; }
.lcc-dialog .lcc-ff { grid-template-columns: 1fr; }

/* Cart */
.lcc-cart-wa { width: 100%; margin-top: 8px; }
.lcc-cart-wa__note { font-size: .8125rem; color: var(--lcc-muted, #6b655f); margin: 8px 0 0; }
