/*! isPluto Space theme · © SMHosting Co., Ltd. */
/* isPluto Space 1.6.0 (web 1.3): one spacing system for every public page and every screen.
   Loaded last, so it wins ties with design.css · features.css · v024–v026. Only spacing and layout change here:
   colours, fonts, pictures, the mascot, motion and words stay as they were.

   - One container for the menu, the hero, every section and the footer:
       width: min(100% - 2 × --gutter, --container) · centred. 1366 → 83 px from the edge · 1440 → 120 · 1920 → 360.
   - Full-bleed grounds (the hero's planet, the marquee, the ISPLUTO word, the sign-up box) keep their ground; what is
     inside them sits on the container.
   - Breakpoints 600 / 1024 / 1440 (mobile · tablet · 14" · large). */
.cms-theme-ispluto-space {

/* ---------- the variables ---------- */
& {
	--gutter: 20px;       /* the least space left and right */
	--container: 1200px;  /* the widest the content gets */
	--section-y: 60px;    /* from one section to the next: 60 px on every screen (owner, 14/11/2026 — fixed, never changed) */
	--head-gap: 32px;     /* a section's heading → its content */
	--card-gap: 16px;     /* between cards */
	--ip-max: var(--container); /* web 1.1's name for the same width (older rules read it) */
	/* v025's section tokens follow: a section has its space above it only, the last box of a page keeps one below */
	--ip-sp-sec-t: var(--section-y);
	--ip-sp-sec-b: 0px;
	--ip-sp-end: var(--section-y);
}
@media (min-width: 600px) { & { --gutter: 32px; --head-gap: 40px; --card-gap: 20px; } }
@media (min-width: 1024px) { & { --gutter: 48px; --head-gap: 48px; --card-gap: 24px; } }

/* ---------- one container ---------- */
& .ip-top__in, & .ip-menu, & .ip-hero__grid, & .ipf-jumps, & .ip-foot .ip-wrap,
& .main .section > .container, & .main .section > .container-fluid {
	box-sizing: border-box;
	width: min(100% - 2 * var(--gutter), var(--container));
	max-width: none;
	margin-left: auto;
	margin-right: auto;
	/* Kumo's "wide" band is `container-fluid px-lg-5` (48 px, !important): the container gives the space now */
	padding-left: 0 !important;
	padding-right: 0 !important;
}
/* the band's row and columns add nothing on the sides (their ±12 px cancel out) */
& .main .section > .container-fluid > .row, & .main .section > .container > .row { margin-left: 0; margin-right: 0; }
& .main .section > .container-fluid > .row > [class*="col"], & .main .section > .container > .row > [class*="col"] { padding-left: 0; padding-right: 0; }
/* payment, contact and terms bands carried their own widths (ip-w-1200 / ip-w-1240): one width now */
& .main .section.ip-w-1240 > .container, & .main .section.ip-w-1200 > .container,
& .main .section.ip-w-1240 > .container-fluid, & .main .section.ip-w-1200 > .container-fluid { width: min(100% - 2 * var(--gutter), var(--container)); max-width: none; }

/* ---------- section headings: on the container line, never pulled out ---------- */
& .ip-display:not(.ip-display--hero) { font-size: clamp(40px, 8vw, 76px); overflow-wrap: break-word; }
& .ip-head { gap: 8px; margin-left: 0; min-width: 0; max-width: 100%; }
& .ip-section__head { gap: 12px; margin-bottom: var(--head-gap); min-width: 0; }
& .ip-section__head .ip-lead { max-width: 640px; }
/* the handwritten word follows the big word; with no room left it goes to the next line, never over it */
& .ip-head .ip-display { display: block; }
& .ip-head .acc { white-space: nowrap; }

/* ---------- the space between sections ---------- */
& .ip-section { padding: var(--section-y) 0 0; }
& .ip-cta { margin: var(--section-y) 0; }
& .ip-contact, & .ip-terms { padding-bottom: var(--section-y); }
/* a page whose last part is a plain section still ends with the same space above the footer */
& .main > .section:last-child .ip-section:last-child, & .main section.section:last-of-type .ip-section:last-child { padding-bottom: var(--section-y); }

/* ---------- cards: one gap ---------- */
& .ip-grid4, & .ip-grid3, & .ip-plans__grid, & .ip-contact__cards { gap: var(--card-gap); }
& .main .section .row { --bs-gutter-x: var(--card-gap); --bs-gutter-y: var(--card-gap); }

/* ---------- the legal pages: about 75 letters a line ---------- */
& .ip-terms__doc p, & .ip-terms__doc li, & .ip-terms__doc h2, & .ip-terms__doc h3 { max-width: 75ch; }

/* ---------- 14" and up (≥ 1024): the desktop layouts ---------- */
@media (min-width: 1024px) {
	& .ip-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	& .ip-live__stage { grid-template-columns: 1fr auto 1fr; justify-items: stretch; }
	& .ip-live__notes { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
	& .ip-live__notes--l { align-items: flex-end; }
	& .ip-live__notes li::after { display: revert-layer; }
	& .ip-aud__grid, & .ip-steps__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------- tablets (600–1023) ---------- */
@media (max-width: 1023px) {
	& .ip-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* SEE IT LIVE: the phone in the middle, its notes in two columns under it */
	& .ip-live__stage { grid-template-columns: minmax(0, 1fr); justify-items: center; }
	& .ip-live__stage > .ip-live__notes { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px var(--card-gap); }
	& .ip-live__notes li::after { display: none; }
	/* MADE FOR · PHOTO TO MENU: the list first, the picture after */
	& .ip-aud__grid, & .ip-steps__grid { grid-template-columns: minmax(0, 1fr); gap: var(--head-gap); }
	/* the hero: one column, the mascot at most 480 wide in the middle */
	& .ip-hero__grid { grid-template-columns: minmax(0, 1fr); }
	& .ip-hero--home .ip-hero__mascot { position: relative; right: auto; bottom: auto; width: 100%; max-width: 480px; margin: -24px auto 0; }
	/* READY FOR LAUNCH?: the mascot on the left, the words on the right */
	& .ip-cta { grid-template-columns: minmax(0, 200px) minmax(0, 1fr); padding: 32px; gap: 24px; }
	& .ip-cta__mascot { order: -1; width: 100%; max-width: 200px; margin: 0; align-self: end; }
	& .ip-cta__copy { min-width: 0; padding-bottom: 0; }
	& .ip-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	& .ip-foot__about { grid-column: 1 / -1; }
}

/* ---------- mobile (< 600) ---------- */
@media (max-width: 599px) {
	& .ip-grid4, & .ip-grid3 { grid-template-columns: minmax(0, 1fr); }
	& .ip-live__stage > .ip-live__notes { grid-template-columns: minmax(0, 1fr); }
	/* the hero's four orbit labels stay on the screen: a smaller orbit and smaller labels */
	& .ipv--home .ipv-orbit--a { left: 10%; top: 6%; width: 80%; }
	& .ipv--home .ipv-orbit--b { left: 3%; top: 0; width: 94%; }
	/* the handwritten word follows the big word (design.css put it on a line of its own under 560) */
	& .ip-head .acc { display: inline-block; margin: 0 0 0 .3em; font-size: .56em; transform: rotate(-6deg); }
	& .ipv-chip--orb { gap: 6px; padding: 4px 10px 4px 4px; font-size: 12.5px; }
	& .ipv-chip--orb .ipv-ic { width: 26px; height: 26px; border-radius: 9px; }
	& .ip-hero__btns > .ip-btn, & .ip-claim .ip-btn { width: 100%; justify-content: center; }
	/* READY FOR LAUNCH?: the mascot on top, the words under it, the buttons one under another, full width */
	& .ip-cta { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; gap: 16px; text-align: left; }
	& .ip-cta__mascot { order: -1; max-width: 180px; justify-self: center; }
	& .ip-cta__btns { flex-direction: column; align-items: stretch; }
	& .ip-cta .ip-btn { width: 100%; white-space: normal; text-align: center; }
	& .ip-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	& .ip-foot__grid > .ip-foot__about, & .ip-foot__grid > .ip-foot__provider { grid-column: 1 / -1; }
}
/* the smallest phones: a long heading may wrap; it is never cut */
@media (max-width: 380px) {
	& .ip-head .acc { white-space: normal; }
}

/* ---------- 1.6.1 (Pluto 0.31.1): what still broke the one spacing system ---------- */
/* content to content is --section-y everywhere. These blocks added their own space on top of it: */
/* MADE FOR YOUR BUSINESS: the phones' stage was 30 px taller than the phone (590 + its 20 px offset) */
& .ip-aud__stage { height: 610px; }
/* the contact page: its blocks kept their space below them (the form's row then stretched the form card 112 px past
   the report box, and THE SHORT VERSION sat 56 px under it); now every block has --section-y above it only */
& .ip-contact--cards { padding-top: var(--section-y); padding-bottom: 0; }
& .main .section.ip-sec--form { padding-top: var(--section-y); }
& .ip-contact--report { padding-bottom: 0; }
& .ip-contact--short { padding-top: var(--section-y); padding-bottom: var(--section-y); }
& .ip-contact--short .ip-short { padding-top: 0; }
/* the features page: its hero kept 36 px below it (the other pages 44) and the first chapter only 44 px above it;
   the last chapter added 14 px before ONE TRIP, FOUR STOPS. The chapters keep their 28 px between them. */
& .ipf-hero { padding-bottom: 44px; }
& .main .section:has(.ipf-hero) + .section .ipf-svc, & .main #f-bio { padding-top: var(--section-y); }
& .ipf-svc.ipx-add { padding-bottom: 0; }
/* the terms page: its first box sat 8 px under the hero */
& .ip-terms { padding-top: var(--section-y); }
/* the footer starts --section-y after the page's last box (it added 50 + 56 px on top of that) */
& .ip-foot { margin-top: 0; padding-top: 0; }
/* the contact form's card keeps its own 30 px inside: the rule above that zeroes a band's columns is more specific
   than design.css's card padding, so the fields touched the card's edges */
& .main .section > .container-fluid > .row > .ip-form-card, & .main .section > .container > .row > .ip-form-card { padding: 30px; }
@media (max-width: 599px) {
	& .main .section > .container-fluid > .row > .ip-form-card, & .main .section > .container > .row > .ip-form-card { padding: 22px 18px; }
}
/* the form and the report box: --card-gap between them (the zeroed columns had left them touching) */
& .main .section.ip-sec--form > .container-fluid > .row, & .main .section.ip-sec--form > .container > .row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--card-gap); margin-top: 0; }
& .main .section.ip-sec--form > .container-fluid > .row > [class*="col"], & .main .section.ip-sec--form > .container > .row > [class*="col"] { width: auto; max-width: none; margin-top: 0; }
@media (min-width: 992px) {
	& .main .section.ip-sec--form > .container-fluid > .row, & .main .section.ip-sec--form > .container > .row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* PHOTO TO MENU, step 3: the sample booklet is drawn for 560 px and now scales with its box as one piece (the box is
   about 376 px wide at 1440 since web 1.3, and the words stayed 13 px, so rows wrapped and crowded) */
& .ip-steps__show { container-type: inline-size; }
& .ip-mb { width: min(560px, 100cqw); font-size: clamp(9px, calc(100cqw * 13 / 560), 13px); }
& .ip-mb__cover { inset: .46em -.77em -1.08em; }
& .ip-mb__paper { inset: .23em -.31em -.46em; }
& .ip-mb__page { gap: .5em; line-height: 1.3; }
& .ip-mb__brand { gap: .62em; }
& .ip-mb__brand img { width: 2.3em; height: 2.3em; }
& .ip-mb__brand b { font-size: .85em; }
& .ip-mb__brand small, & .ip-mb__foot { font-size: .77em; }
& .ip-mb__h { font-size: 1.62em; }
& .ip-mb__row { gap: .46em; }
& .ip-mb__row small { font-size: .81em; }
& .ip-mb__row i { transform: translateY(-.23em); }
& .ip-mb__tag { padding: .08em .46em; font-size: .73em; }
& .ip-mb__sig { gap: .77em; }
& .ip-mb__sig img { width: 4em; height: 4em; }
& .ip-mb__spine { width: 2em; margin-left: -1em; }
/* the turning page: fading the page itself flattened its 3D, so its front showed through mirrored ("BAKERY" written
   backwards on the left); the page now only turns, and its back fades out instead */
& .ip-mb__leaf { animation-name: ipxLeaf161; }
& .ip-mb__back { animation: ipxLeafBack161 4.2s cubic-bezier(.6,0,.3,1) .4s infinite; }
@media (max-width: 560px) {
	& .ip-mb__h { font-size: 1.5em; }
}
@media (prefers-reduced-motion: reduce) {
	& .ip-mb__back { animation: none; }
}

/* ---------- 1.6.2 (Pluto 0.31.2): the spacing standard, locked (the owner's spacing standard) ---------- */
/* the footer: Kumo's own #footer rule (margin-top 50 px) beat 1.6.1's class rule, so every page had --section-y + 50
   above the footer. The id here wins; the footer starts --section-y after the page's last box, and its own content
   starts --head-gap inside its edge. */
& #footer.ip-foot, & .ip-foot { margin-top: 0; padding-top: var(--head-gap); }
/* MADE FOR · PHOTO TO MENU on two columns: both columns start --head-gap under the heading (the list was centred
   against the phones, 158 px under MADE FOR at 1440) */
& .ip-aud__grid, & .ip-steps__grid { align-items: start; }
@media (min-width: 1024px) {
	/* the front phone sat 20 px down its stage, so the phones started 20 px lower than the list beside them */
	& .ip-aud__phone { top: 0; }
	& .ip-aud__stage { height: 590px; }
}
/* PICK YOUR ORBIT: the plans' row kept 14 px on top for the "แนะนำ" badge; the cards now start --head-gap under the
   heading and the badge sits on the card's edge, in that space */
& .ip-plans__grid { padding-top: 0; }
/* REAL PAGES FOR REAL SHOPS: the chips' row has 6 px inside it, so the chips started 6 px lower than every other
   section's content */
& .ip-ex__tabs { margin-top: -6px; }
}
html.kd-paused .cms-theme-ispluto-space .ip-mb__back { animation-play-state: paused; }
@keyframes ipxLeaf161 { 0%, 14% { transform: rotateY(0deg); } 46%, 100% { transform: rotateY(-179deg); } }
@keyframes ipxLeafBack161 { 0%, 46% { opacity: 1; } 62%, 100% { opacity: 0; } }
