/* Instant Sites — gated to /themes/, IS checkout, portal sites views */
.ls-is { padding: 48px 0 72px; }
.ls-is__intro { max-width: 720px; margin: 0 0 28px; }
.ls-is__lead { font-size: 1.05rem; line-height: 1.65; color: #2a3550; margin: 0; }
.ls-is__cats {
	display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; padding: 0;
}
.ls-is__cat {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border: 1px solid #dbe2ec; background: #fff;
	color: #2a3550; text-decoration: none; font-weight: 600; font-size: 14px;
	transition: border-color .18s, color .18s, background .18s;
}
.ls-is__cat i { color: #00ccf7; font-size: 14px; }
.ls-is__cat:hover,
.ls-is__cat:focus { border-color: #00ccf7; color: #00ccf7; text-decoration: none; }
.ls-is__cat.is-active {
	background: linear-gradient(135deg, #00ccf7 0%, #00b4db 100%);
	border-color: transparent; color: #fff;
}
.ls-is__cat.is-active i { color: #fff; }

.ls-is__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	margin-bottom: 40px;
}
.ls-is-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid #e8eef5;
	overflow: hidden;
	transition: border-color .2s, transform .2s;
}
.ls-is-card:hover { border-color: #00ccf7; transform: translateY(-2px); }
.ls-is-card__media {
	position: relative; height: 280px;
	overflow: hidden;
	background: linear-gradient(145deg, #00ccf7 0%, #0099bb 55%, #FDD000 140%);
	background-size: cover; background-position: center top;
}
.ls-is-card.has-demo .ls-is-card__media { cursor: pointer; }
.ls-is-card__media::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, transparent 40%, rgba(11,22,48,.55) 100%);
	pointer-events: none;
}
.ls-is-card__preview {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	z-index: 2;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 22px;
	background: rgba(255,255,255,.95);
	color: #0b1630; font-weight: 800; font-size: 14px;
	border: none; cursor: pointer;
	opacity: 0; transition: opacity .22s, transform .22s;
	box-shadow: 0 12px 32px rgba(11,22,48,.18);
}
.ls-is-card__preview i { color: #00ccf7; }
.ls-is-card:hover .ls-is-card__preview,
.ls-is-card__preview:focus { opacity: 1; transform: translate(-50%, -50%) scale(1.02); }
.ls-is-card__placeholder {
	position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
	font-size: 64px; font-weight: 800; color: rgba(255,255,255,.9); letter-spacing: -2px;
}
.ls-is-card__tag {
	position: absolute; left: 12px; bottom: 12px;
	background: rgba(11,22,48,.85); color: #fff; font-size: 12px; font-weight: 600;
	padding: 4px 10px;
}
.ls-is-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ls-is-card__title { margin: 0 0 8px; font-size: 1.25rem; color: #0b1630; }
.ls-is-card__blurb { margin: 0 0 16px; color: #4a5568; font-size: 14px; line-height: 1.55; flex: 1; }
.ls-is-card__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-bottom: 16px; }
.ls-is-card__price { font-size: 1.35rem; font-weight: 800; color: #0b1630; }
.ls-is-card__price del { opacity: .5; font-weight: 500; }
.ls-is-card__host { font-size: 12px; color: #6b778c; }
.ls-is-card__host em { font-style: normal; color: #00ccf7; font-weight: 600; }
.ls-is-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.ls-is-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 11px 18px; font-weight: 700; font-size: 14px; text-decoration: none;
	border: 2px solid transparent; transition: background .18s, color .18s, border-color .18s;
}
.ls-is-btn--primary { background: #00ccf7; color: #0b1630; }
.ls-is-btn--primary:hover { background: #FDD000; color: #0b1630; text-decoration: none; }
.ls-is-btn--ghost { background: transparent; border-color: #dbe2ec; color: #2a3550; }
.ls-is-btn--ghost:hover { border-color: #00ccf7; color: #00ccf7; text-decoration: none; }

.ls-is__empty { padding: 40px 24px; text-align: center; background: #f7fafc; border: 1px dashed #dbe2ec; }
.ls-is__note {
	padding: 22px 24px; background: linear-gradient(90deg, rgba(0,204,247,.08), rgba(253,208,0,.1));
	border-left: 4px solid #00ccf7;
}
.ls-is__note p { margin: 0 0 8px; color: #2a3550; font-size: 14px; line-height: 1.55; }
.ls-is__note p:last-child { margin-bottom: 0; }
.ls-is__note a { color: #0099bb; font-weight: 600; }

/* Checkout subdomain */
.ls-is-subdomain-field .description { margin-top: 8px; }
.ls-is-preview { color: #00ccf7; }
.ls-is-sub-status { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.ls-is-sub-status.is-ok { color: #0a7a3e; }
.ls-is-sub-status.is-bad { color: #b42318; }
.ls-is-sub-status.is-wait { color: #6b778c; }

/* Portal My Sites */
.ls-is-sites { display: grid; gap: 16px; }
.ls-is-site {
	padding: 18px 20px; border: 1px solid #e8eef5; background: #fff;
}
.ls-is-site.is-active { border-color: rgba(0,204,247,.45); }
.ls-is-site.is-failed { border-color: rgba(180,35,24,.35); }
.ls-is-site__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.ls-is-site__head h3 { margin: 0; font-size: 1.1rem; color: #0b1630; }
.ls-is-site__badge {
	font-size: 12px; font-weight: 700; padding: 4px 10px;
	background: #edf1f6; color: #2a3550;
}
.ls-is-site.is-active .ls-is-site__badge { background: rgba(0,204,247,.15); color: #007a94; }
.ls-is-site.is-failed .ls-is-site__badge { background: rgba(180,35,24,.1); color: #b42318; }
.ls-is-site__url { margin: 0 0 10px; font-size: 14px; word-break: break-all; }
.ls-is-site__url a { color: #00ccf7; font-weight: 600; }
.ls-is-site__err { color: #b42318; font-size: 13px; margin: 0 0 10px; }
.ls-is-site__hint { color: #6b778c; font-size: 13px; margin: 0 0 10px; }
.ls-is-site__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.ls-is-detail { max-width: 640px; }
.ls-is-detail__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.ls-is-detail__head h3 { margin: 0; }
.ls-is-detail__dl { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; margin: 0 0 20px; font-size: 14px; }
.ls-is-detail__dl dt { color: #6b778c; font-weight: 600; margin: 0; }
.ls-is-detail__dl dd { margin: 0; color: #0b1630; }
.ls-is-detail__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ls-is-muted { color: #6b778c; font-size: 13px; }

@media (max-width: 640px) {
	.ls-is { padding: 32px 0 48px; }
	.ls-is-card__media { height: 220px; }
	.ls-is-card__preview { opacity: 1; padding: 10px 16px; font-size: 13px; }
	.ls-is-detail__dl { grid-template-columns: 1fr; gap: 4px; }
	.ls-is-detail__dl dt { margin-top: 8px; }
}

/* ---- Demo preview modal ---- */
html.ls-is-demo-open,
html.ls-is-demo-open body {
	overflow: hidden !important;
	height: 100% !important;
	overscroll-behavior: none;
}
.ls-is-demo {
	position: fixed; inset: 0; z-index: 99990;
	display: flex; align-items: stretch; justify-content: center;
	overflow: hidden;
	overscroll-behavior: none;
}
.ls-is-demo[hidden] { display: none !important; }
.ls-is-demo__backdrop {
	position: absolute; inset: 0;
	background: rgba(11,22,48,.72);
	backdrop-filter: blur(6px);
}
.ls-is-demo__panel {
	position: relative; z-index: 1;
	display: flex; flex-direction: column;
	width: min(96vw, 1440px);
	margin: 16px auto;
	height: calc(100dvh - 32px);
	max-height: calc(100vh - 32px);
	background: #f4f7fb;
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: 0 24px 80px rgba(11,22,48,.35);
	overflow: hidden;
}
.ls-is-demo__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	flex-wrap: wrap;
	padding: 14px 18px;
	background: #fff;
	border-bottom: 1px solid #e8eef5;
}
.ls-is-demo__bar-left { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; min-width: 0; }
.ls-is-demo__title { font-size: 1rem; color: #0b1630; white-space: nowrap; }
.ls-is-demo__devices {
	display: inline-flex; gap: 6px; padding: 4px;
	background: #edf1f6; border-radius: 999px;
}
.ls-is-demo__device {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 8px 14px; border: none; background: transparent;
	color: #4a5568; font-weight: 700; font-size: 13px; cursor: pointer;
	border-radius: 999px; transition: background .18s, color .18s;
}
.ls-is-demo__device i { font-size: 14px; }
.ls-is-demo__device.is-active {
	background: linear-gradient(135deg, #00ccf7, #00b4db);
	color: #fff;
	box-shadow: 0 4px 14px rgba(0,204,247,.35);
}
.ls-is-demo__bar-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ls-is-demo__open {
	font-size: 13px; font-weight: 700; color: #0099bb; text-decoration: none;
}
.ls-is-demo__open:hover { color: #00ccf7; }
.ls-is-demo__close {
	width: 40px; height: 40px; border: 1px solid #dbe2ec; background: #fff;
	color: #2a3550; cursor: pointer; font-size: 16px;
	display: inline-flex; align-items: center; justify-content: center;
}
.ls-is-demo__close:hover { border-color: #00ccf7; color: #00ccf7; }

.ls-is-demo__stage {
	position: relative; flex: 1; min-height: 0;
	display: flex; align-items: stretch; justify-content: center;
	padding: 20px 20px 24px;
	overflow: hidden;
	background:
		radial-gradient(900px 400px at 50% 0%, rgba(0,204,247,.08), transparent 60%),
		#e8eef5;
}
.ls-is-demo__loader {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	padding: 12px 20px; background: #fff; border: 1px solid #dbe2ec;
	font-weight: 700; font-size: 14px; color: #2a3550;
	box-shadow: 0 8px 24px rgba(11,22,48,.08);
	z-index: 3;
}
.ls-is-demo__loader.is-hidden { display: none; }

.ls-is-demo__frame-wrap {
	display: flex; flex-direction: column;
	width: 100%; height: 100%;
	max-width: 100%;
	min-height: 0;
	transition: max-width .28s ease;
}
.ls-is-demo__frame-wrap.is-desktop { max-width: 1180px; }
.ls-is-demo__frame-wrap.is-tablet { max-width: 820px; }
.ls-is-demo__frame-wrap.is-mobile { max-width: 390px; }

.ls-is-demo__chrome {
	flex: 0 0 auto;
	display: flex; align-items: center; gap: 7px;
	padding: 10px 14px; background: #0b1630;
}
.ls-is-demo__chrome span {
	width: 10px; height: 10px; border-radius: 50%;
	background: #ff5f57;
}
.ls-is-demo__chrome span:nth-child(2) { background: #febc2e; }
.ls-is-demo__chrome span:nth-child(3) { background: #28c840; }
.ls-is-demo__frame-wrap.is-mobile .ls-is-demo__chrome { border-radius: 22px 22px 0 0; }
.ls-is-demo__frame-wrap.is-mobile .ls-is-demo__viewport {
	border-radius: 0 0 22px 22px;
	border: 8px solid #0b1630;
	border-top: none;
}

/* ONE scrollbar only — inside the iframe. Outer wrapper never scrolls. */
.ls-is-demo__viewport {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid #dbe2ec;
	box-shadow: 0 20px 50px rgba(11,22,48,.12);
}
.ls-is-demo__iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	border: 0;
	background: #fff;
}

@media (max-width: 768px) {
	.ls-is-demo__panel { margin: 0; width: 100vw; height: 100dvh; max-height: 100vh; border: none; }
	.ls-is-demo__device span { display: none; }
	.ls-is-demo__bar { padding: 12px; }
	.ls-is-demo__stage { padding: 12px 10px 16px; }
}

.ls-is-from { font-size: .7em; font-weight: 600; color: #6b778c; margin-right: 4px; }
.ls-is-per { font-size: .65em; font-weight: 600; color: #6b778c; margin-left: 2px; }

/* ---- Plan picker modal ---- */
html.ls-is-buy-open,
html.ls-is-buy-open body {
	overflow: hidden !important;
	height: 100% !important;
}
.ls-is-buy {
	position: fixed; inset: 0; z-index: 99995;
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.ls-is-buy[hidden] { display: none !important; }
.ls-is-buy__backdrop {
	position: absolute; inset: 0;
	background: rgba(11,22,48,.78);
	backdrop-filter: blur(8px);
}
.ls-is-buy__panel {
	position: relative; z-index: 1;
	width: min(980px, 100%);
	max-height: calc(100dvh - 32px);
	overflow: auto;
	background: #fff;
	box-shadow: 0 28px 80px rgba(11,22,48,.35);
	padding: 28px 28px 22px;
}
.ls-is-buy__head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
	margin-bottom: 20px;
}
.ls-is-buy__kicker {
	margin: 0 0 4px; font-size: 12px; font-weight: 800;
	letter-spacing: .12em; text-transform: uppercase; color: #00ccf7;
}
.ls-is-buy__title { margin: 0 0 6px; font-size: 1.55rem; color: #0b1630; }
.ls-is-buy__sub { margin: 0; color: #4a5568; font-size: 14px; }
.ls-is-buy__cycles {
	display: inline-flex; gap: 4px; padding: 4px;
	background: #edf1f6; border-radius: 999px; margin-bottom: 22px;
}
.ls-is-buy__cycle {
	border: 0; background: transparent; cursor: pointer;
	padding: 10px 18px; font-weight: 800; font-size: 14px; color: #4a5568;
	border-radius: 999px;
}
.ls-is-buy__cycle.is-active {
	background: #0b1630; color: #fff;
}
.ls-is-buy__save {
	display: inline-block; margin-left: 6px;
	padding: 2px 8px; border-radius: 999px;
	background: rgba(0,204,247,.2); color: #007a94;
	font-size: 11px; font-weight: 800;
}
.ls-is-buy__cycle.is-active .ls-is-buy__save {
	background: #FDD000; color: #0b1630;
}
.ls-is-buy__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 22px;
}
.ls-is-buy__tier {
	position: relative; text-align: left;
	display: flex; flex-direction: column; gap: 8px;
	padding: 20px 18px 18px;
	border: 2px solid #e8eef5; background: #fff;
	cursor: pointer; transition: border-color .18s, transform .18s, box-shadow .18s;
}
.ls-is-buy__tier:hover { border-color: #00ccf7; transform: translateY(-2px); }
.ls-is-buy__tier.is-active {
	border-color: #00ccf7;
	box-shadow: 0 12px 32px rgba(0,204,247,.18);
	background: linear-gradient(180deg, rgba(0,204,247,.06), #fff 40%);
}
.ls-is-buy__badge {
	position: absolute; top: 12px; right: 12px;
	background: #FDD000; color: #0b1630;
	font-size: 11px; font-weight: 800; padding: 4px 8px;
}
.ls-is-buy__tier-name { font-size: 1.15rem; font-weight: 800; color: #0b1630; }
.ls-is-buy__tier-price {
	font-size: 1.85rem; font-weight: 800; color: #0b1630; line-height: 1;
}
.ls-is-buy__tier-price small { font-size: .45em; font-weight: 700; color: #6b778c; }
.ls-is-buy__tier-save {
	font-size: 12px; font-weight: 800; color: #0a7a3e;
}
.ls-is-buy__tier-blurb { font-size: 13px; color: #4a5568; line-height: 1.45; }
.ls-is-buy__feats {
	list-style: none; margin: 8px 0 0; padding: 0;
	display: grid; gap: 7px;
}
.ls-is-buy__feats li {
	font-size: 13px; color: #2a3550;
	display: flex; gap: 8px; align-items: flex-start;
}
.ls-is-buy__feats i { color: #00ccf7; margin-top: 3px; font-size: 11px; }
.ls-is-buy__foot {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	flex-wrap: wrap;
	padding-top: 8px; border-top: 1px solid #edf1f6;
}
.ls-is-buy__reassure {
	margin: 0; font-size: 13px; color: #6b778c;
	display: flex; align-items: center; gap: 8px;
}
.ls-is-buy__reassure i { color: #00ccf7; }
.ls-is-buy__cta { min-width: 220px; padding: 14px 22px; font-size: 15px; }
.ls-is-buy__cta:disabled { opacity: .55; cursor: not-allowed; }

/* Cart plan switcher — polished card */
.ls-is-cart-card {
	margin-top: 14px;
	max-width: 460px;
	padding: 14px 14px 12px;
	border: 1px solid rgba(11, 22, 48, 0.08);
	border-radius: 14px;
	background:
		linear-gradient(180deg, rgba(0, 204, 247, 0.06), rgba(255, 255, 255, 0.9) 42%),
		#fff;
	box-shadow: 0 8px 24px rgba(11, 22, 48, 0.05);
}
.ls-is-cart-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 10px;
}
.ls-is-cart-card__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #6b778c;
}
.ls-is-cart-card__theme {
	font-size: 12px;
	font-weight: 700;
	color: #0b1630;
}
.ls-is-cart-card__note {
	margin: 10px 0 0;
	font-size: 12px;
	color: #6b778c;
	display: flex;
	align-items: center;
	gap: 7px;
}
.ls-is-cart-card__note i { color: #00ccf7; font-size: 11px; }

.ls-is-cart-plans { margin-top: 0; max-width: none; }
.ls-is-cart-plans__cycles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 6px;
	padding: 4px;
	background: #edf2f7;
	border-radius: 12px;
	margin-bottom: 12px;
}
.ls-is-cart-plans__cycle {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 800;
	color: #4a5568;
	border-radius: 10px;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.ls-is-cart-plans__cycle:hover { color: #0b1630; }
.ls-is-cart-plans__cycle.is-active {
	background: #0b1630;
	color: #fff;
	box-shadow: 0 6px 16px rgba(11, 22, 48, 0.22);
}
.ls-is-cart-plans__cycle span {
	margin-left: 4px;
	color: #0a7a3e;
	font-size: 10px;
	font-weight: 800;
}
.ls-is-cart-plans__cycle.is-active span { color: #FDD000; }
.ls-is-cart-plans__tiers { display: grid; gap: 8px; }
.ls-is-cart-plans__tier {
	display: grid;
	grid-template-columns: 18px 1fr auto;
	align-items: start;
	gap: 10px;
	padding: 12px 12px;
	border: 1.5px solid #e6edf5;
	border-radius: 12px;
	cursor: pointer;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ls-is-cart-plans__tier:hover {
	border-color: rgba(0, 204, 247, 0.45);
}
.ls-is-cart-plans__tier.is-active,
.ls-is-cart-plans__tier:has(input:checked) {
	border-color: #00ccf7;
	background: rgba(0, 204, 247, 0.06);
	box-shadow: 0 0 0 3px rgba(0, 204, 247, 0.12);
}
.ls-is-cart-plans__tier input {
	margin: 3px 0 0;
	accent-color: #00ccf7;
}
.ls-is-cart-plans__tier-body { min-width: 0; }
.ls-is-cart-plans__tier-name {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	font-weight: 800;
	font-size: 14px;
	color: #0b1630;
	line-height: 1.2;
}
.ls-is-cart-plans__tier-name em {
	font-style: normal;
	background: #FDD000;
	color: #0b1630;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 999px;
}
.ls-is-cart-plans__tier-blurb {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	color: #6b778c;
}
.ls-is-cart-plans__tier-price {
	font-weight: 800;
	font-size: 15px;
	color: #0b1630;
	white-space: nowrap;
	text-align: right;
	line-height: 1.1;
}
.ls-is-cart-plans__tier-price small {
	display: block;
	margin-top: 2px;
	font-weight: 600;
	font-size: 11px;
	color: #6b778c;
}
.ls-is-cart-thumb {
	width: 72px !important;
	height: 72px !important;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid #e8eef5;
}

/* Woo cart table Instant Sites row breathing room */
.woocommerce-cart-form .product-thumbnail img.ls-is-cart-thumb {
	width: 96px !important;
	height: 72px !important;
	object-fit: cover;
}
.woocommerce-cart-form .product-name .variation,
.woocommerce-cart-form .product-name dl.variation {
	display: none; /* plan card already shows billing */
}

@media (max-width: 860px) {
	.ls-is-buy__grid { grid-template-columns: 1fr; }
	.ls-is-buy__panel { padding: 20px 16px; }
	.ls-is-buy__foot { flex-direction: column; align-items: stretch; }
	.ls-is-buy__cta { width: 100%; }
	.ls-is-cart-card { max-width: none; }
	.ls-is-cart-plans__tier {
		grid-template-columns: 18px 1fr;
	}
	.ls-is-cart-plans__tier-price {
		grid-column: 2;
		text-align: left;
		margin-top: 4px;
	}
}
