/* ============================================================================
   SunSeason — Generic page stylesheet (any Page without a specific template)
   One stylesheet per template. Chrome duplicated here; page masthead + content
   typography (prefix ss-page-) follow. Elementor page content keeps its own CSS.
   ============================================================================ */

/* ============================================================================
   SunSeason — Homepage stylesheet
   One stylesheet per template (no shared component CSS). This sheet also holds
   the shared chrome (top bar, menu) until sibling templates are built.

   Brand tokens carried over from the old design (logo + colours only):
     amber #f6a235 · navy/ink #1a1819 · cream #faf5ef · sand #e7dfd5
   ============================================================================ */

:root {
	--ss-amber: #f6a235;
	--ss-amber-dark: #e2860f;
	--ss-navy: #1a1819;
	--ss-ink: #1a1819;
	--ss-cream: #faf5ef;
	--ss-sand: #e7dfd5;
	--ss-white: #ffffff;
	--ss-topbar-bg: #17151a;
	--ss-topbar-fg: #cbc6bf;
	--ss-topbar-fg-strong: #ffffff;
	--ss-topbar-line: rgba(255, 255, 255, 0.14);
}

* { box-sizing: border-box; }

.ss-home-page {
	font-family: "Catamaran", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--ss-ink);
	overflow-x: clip;
}

/* ------------------------------------------------------------------ TOP BAR */

.ss-home-topbar {
	background: var(--ss-topbar-bg);
	color: var(--ss-topbar-fg);
	font-size: 13px;
	line-height: 1;
	border-bottom: 1px solid var(--ss-topbar-line);
}

.ss-home-topbar-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	min-height: 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ss-home-topbar-left,
.ss-home-topbar-right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.ss-home-topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ss-topbar-fg);
	text-decoration: none;
	white-space: nowrap;
	transition: color .18s ease;
}

.ss-home-topbar-item:hover { color: var(--ss-topbar-fg-strong); }

.ss-home-topbar-icon { color: var(--ss-amber); flex: 0 0 auto; }

.ss-home-topbar-address span { letter-spacing: .1px; }

.ss-home-topbar-phone { font-weight: 600; }

.ss-home-topbar-divider {
	width: 1px;
	height: 18px;
	background: var(--ss-topbar-line);
}

/* socials */
.ss-home-topbar-socials { display: inline-flex; align-items: center; gap: 6px; }

.ss-home-topbar-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	color: var(--ss-topbar-fg);
	background: transparent;
	transition: color .18s ease, background-color .18s ease, transform .18s ease;
}

.ss-home-topbar-social:hover {
	color: var(--ss-navy);
	background: var(--ss-amber);
	transform: translateY(-1px);
}

/* language switcher */
.ss-home-topbar-lang {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 700;
	letter-spacing: .3px;
}

.ss-home-topbar-lang-link {
	color: var(--ss-topbar-fg);
	text-decoration: none;
	transition: color .18s ease;
}

.ss-home-topbar-lang-link:hover { color: var(--ss-topbar-fg-strong); }

.ss-home-topbar-lang-link.is-active { color: var(--ss-amber); }

.ss-home-topbar-lang-sep { color: var(--ss-topbar-line); font-weight: 400; }

/* ------------------------------------------------------ TOP BAR responsive */

@media (max-width: 980px) {
	.ss-home-topbar-address { display: none; }
}

@media (max-width: 640px) {
	.ss-home-topbar-inner { padding: 8px 16px; flex-wrap: wrap; gap: 10px 16px; min-height: 0; }
	.ss-home-topbar-email span { display: none; }
	.ss-home-topbar-left, .ss-home-topbar-right { gap: 14px; }
}

/* ---------------------------------------------------------------- MENU BAR */

.ss-home-menu {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ss-white);
	box-shadow: 0 1px 0 rgba(26, 24, 25, 0.08), 0 6px 24px rgba(26, 24, 25, 0.05);
}

.ss-home-menu-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	min-height: 78px;
	display: flex;
	align-items: center;
	gap: 24px;
}

.ss-home-menu-logo {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.ss-home-menu-logo img {
	height: 40px;
	width: auto;
	display: block;
}

/* nav panel (list + CTA) sits to the right, list pushed to the far side */
.ss-home-menu-panel {
	display: flex;
	align-items: center;
	gap: 26px;
	margin-left: auto;
}

.ss-home-menu-list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ss-home-menu-item > a {
	display: inline-block;
	padding: 10px 16px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .2px;
	color: var(--ss-ink);
	text-decoration: none;
	border-radius: 8px;
	position: relative;
	transition: color .18s ease, background-color .18s ease;
}

.ss-home-menu-item > a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 4px;
	height: 2px;
	background: var(--ss-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}

.ss-home-menu-item > a:hover { color: var(--ss-amber-dark); }
.ss-home-menu-item > a:hover::after { transform: scaleX(1); }

.ss-home-menu-item.is-active > a { color: var(--ss-amber-dark); }
.ss-home-menu-item.is-active > a::after { transform: scaleX(1); }

/* WhatsApp CTA */
.ss-home-menu-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 20px;
	background: #25d366;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	white-space: nowrap;
	transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.ss-home-menu-cta:hover {
	background: #1fb457;
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* cart */
.ss-home-menu-cart {
	position: relative;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--ss-ink);
	border-radius: 50%;
	transition: color .18s ease, background-color .18s ease;
}

.ss-home-menu-cart:hover { color: var(--ss-amber-dark); background: var(--ss-cream); }

.ss-home-menu-cart-badge {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--ss-amber);
	color: var(--ss-navy);
	font-size: 11px;
	font-weight: 800;
	line-height: 1;
	border-radius: 999px;
}

.ss-home-menu-cart-badge[data-count="0"] { display: none; }

/* mobile burger — hidden on desktop */
.ss-home-menu-toggle-input,
.ss-home-menu-burger { display: none; }

/* ------------------------------------------------------- MENU responsive */

@media (max-width: 900px) {
	.ss-home-menu-inner { min-height: 66px; gap: 16px; }
	.ss-home-menu-logo img { height: 34px; }

	.ss-home-menu-burger {
		order: 3;
		margin-left: auto;
		display: inline-flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		padding: 10px;
		cursor: pointer;
		border-radius: 8px;
	}
	.ss-home-menu-burger span {
		display: block;
		height: 2px;
		width: 100%;
		background: var(--ss-ink);
		border-radius: 2px;
		transition: transform .22s ease, opacity .22s ease;
	}

	.ss-home-menu-cart { order: 2; }

	/* collapsed panel */
	.ss-home-menu-panel {
		order: 4;
		flex-basis: 100%;
		margin-left: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		transition: max-height .28s ease, opacity .2s ease, padding .28s ease;
	}
	.ss-home-menu-list { flex-direction: column; align-items: stretch; gap: 2px; }
	.ss-home-menu-item > a { padding: 12px 8px; border-radius: 8px; }
	.ss-home-menu-item > a::after { display: none; }
	.ss-home-menu-item.is-active > a,
	.ss-home-menu-item > a:hover { background: var(--ss-cream); }

	.ss-home-menu-cta { justify-content: center; margin: 8px 0 14px; }

	/* open state */
	.ss-home-menu-toggle-input:checked ~ .ss-home-menu-panel {
		max-height: 420px;
		opacity: 1;
		padding-top: 8px;
	}
	.ss-home-menu-toggle-input:checked ~ .ss-home-menu-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ss-home-menu-toggle-input:checked ~ .ss-home-menu-burger span:nth-child(2) { opacity: 0; }
	.ss-home-menu-toggle-input:checked ~ .ss-home-menu-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------------------------------------------------------------------ FOOTER */

.ss-home-footer { background: var(--ss-navy); color: rgba(255, 255, 255, 0.72); }

.ss-home-footer-top { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.ss-home-footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 68px 24px 56px;
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
	gap: 44px;
}

.ss-home-footer-logo { height: 38px; width: auto; display: block; margin-bottom: 20px; }
/* WooCommerce's `.woocommerce img, .woocommerce-page img { height:auto }` (0,1,1)
   out-specifies the line above on every store page and blows the mark up to its
   intrinsic 2532px. Pin it back with a 0,2,0 selector. */
.ss-home-footer .ss-home-footer-logo { height: 38px; width: auto; max-width: 100%; }

.ss-home-footer-tagline {
	margin: 0 0 22px;
	font-size: 14.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.6);
	max-width: 34ch;
}

.ss-home-footer-socials { display: flex; gap: 10px; }
.ss-home-footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.ss-home-footer-socials a:hover { background: var(--ss-amber); color: var(--ss-navy); transform: translateY(-2px); }

.ss-home-footer-title {
	margin: 0 0 18px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .3px;
	color: #fff;
}

.ss-home-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ss-home-footer-col li { margin-bottom: 11px; }
.ss-home-footer-col a {
	color: rgba(255, 255, 255, 0.66);
	text-decoration: none;
	font-size: 14.5px;
	transition: color .16s ease, padding-left .16s ease;
}
.ss-home-footer-col a:hover { color: var(--ss-amber); }

.ss-home-footer-contact-item {
	display: flex;
	gap: 11px;
	align-items: flex-start;
	font-size: 14.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.66);
}
.ss-home-footer-contact-item svg { flex: 0 0 auto; margin-top: 2px; color: var(--ss-amber); }
.ss-home-footer-contact-item a { color: rgba(255, 255, 255, 0.66); text-decoration: none; }
.ss-home-footer-contact-item a:hover { color: var(--ss-amber); }

.ss-home-footer-bottom-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.ss-home-footer-copy,
.ss-home-footer-made { margin: 0; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.ss-home-footer-made { color: var(--ss-amber); font-weight: 600; }

@media (max-width: 900px) {
	.ss-home-footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; padding: 52px 24px 44px; }
	.ss-home-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.ss-home-footer-inner { grid-template-columns: 1fr; }
	.ss-home-footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ------------------------------------------------- MENU DROPDOWN (submenus) */
.ss-home-menu-item { position: relative; }

/* caret on parents with children */
.ss-home-menu-item.menu-item-has-children > a { padding-right: 30px; }
.ss-home-menu-item.menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 13px;
	top: 44%;
	width: 7px;
	height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	opacity: .8;
	transition: transform .2s ease;
}
.ss-home-menu-item.menu-item-has-children:hover > a::before,
.ss-home-menu-item.menu-item-has-children:focus-within > a::before {
	transform: translateY(-20%) rotate(225deg);
}

/* dropdown panel */
.ss-home-menu-list .sub-menu {
	position: absolute;
	top: calc(100% - 2px);
	left: 0;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--ss-white);
	border: 1px solid #eee4d5;
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(26, 24, 25, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
	z-index: 60;
}
.ss-home-menu-item:hover > .sub-menu,
.ss-home-menu-item:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.ss-home-menu-list .sub-menu .menu-item { display: block; }
.ss-home-menu-list .sub-menu a {
	display: block;
	padding: 9px 14px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ss-ink);
	text-decoration: none;
	white-space: nowrap;
}
.ss-home-menu-list .sub-menu a::after { display: none; }
.ss-home-menu-list .sub-menu a:hover { background: var(--ss-cream); color: var(--ss-amber-dark); }
.ss-home-menu-list .sub-menu .is-active > a,
.ss-home-menu-list .sub-menu .current-menu-item > a { color: var(--ss-amber-dark); background: var(--ss-cream); }

/* mobile: submenus render inline (static, indented) inside the burger panel */
@media (max-width: 900px) {
	.ss-home-menu-list .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		background: transparent;
		min-width: 0;
		padding: 0 0 4px 14px;
	}
	.ss-home-menu-item.menu-item-has-children > a::before { display: none; }
	.ss-home-menu-list .sub-menu a { color: #5a5652; padding: 10px 8px; }
}

/* =================================================================== PAGE */

.ss-page-main { background: #fff; }

/* ---- masthead ---- */
.ss-page-masthead {
	background:
		radial-gradient(900px 340px at 88% -30%, rgba(246, 162, 53, 0.16), transparent 60%),
		linear-gradient(180deg, var(--ss-cream) 0%, #ffffff 100%);
}
.ss-page-masthead-inner { max-width: 1000px; margin: 0 auto; padding: 52px 24px 48px; }
.ss-page-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #8a8078; margin-bottom: 16px; flex-wrap: wrap; }
.ss-page-crumb a { color: var(--ss-amber-dark); text-decoration: none; font-weight: 600; }
.ss-page-crumb a:hover { text-decoration: underline; }
.ss-page-crumb span[aria-hidden] { color: #cbbfa8; }
.ss-page-masthead-title { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.5px; color: var(--ss-ink); }

/* ---- body ---- */
.ss-page-body-inner { max-width: 1000px; margin: 0 auto; padding: 40px 24px 84px; }
.ss-page-content { min-width: 0; }

/* content typography (applies to classic content; Elementor brings its own) */
.ss-page-content > h1,
.ss-page-content > h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.3px; color: var(--ss-ink); margin: 32px 0 14px; line-height: 1.2; }
.ss-page-content > h3 { font-size: 22px; font-weight: 700; color: var(--ss-ink); margin: 26px 0 12px; }
.ss-page-content > h4 { font-size: 18px; font-weight: 700; color: var(--ss-ink); margin: 22px 0 10px; }
.ss-page-content > p { font-size: 16.5px; line-height: 1.8; color: #5a5652; margin: 0 0 18px; }
.ss-page-content > ul,
.ss-page-content > ol { font-size: 16.5px; line-height: 1.8; color: #5a5652; margin: 0 0 18px; padding-left: 24px; }
.ss-page-content > ul li,
.ss-page-content > ol li { margin-bottom: 8px; }
.ss-page-content > * :first-child { margin-top: 0; }
.ss-page-content a { color: var(--ss-amber-dark); }
.ss-page-content img { max-width: 100%; height: auto; border-radius: 12px; }
.ss-page-content blockquote {
	margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--ss-amber);
	background: var(--ss-cream); border-radius: 0 12px 12px 0; color: #5a5652; font-size: 17px;
}
.ss-page-content table { width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.ss-page-content th, .ss-page-content td { padding: 12px 14px; border: 1px solid #efe6d8; text-align: left; font-size: 15px; }
.ss-page-content th { background: var(--ss-cream); font-weight: 700; color: var(--ss-ink); }

/* Elementor content: neutralise its full-bleed section padding inside our frame,
   and cap its service-nav list so a thin demo page still looks tidy. */
.ss-page-content .elementor { max-width: 100%; }
.ss-page-content .elementor-widget-icon-list ul,
.ss-page-content > ul.elementor-icon-list-items { list-style: none; padding-left: 0; }
/* ---- account icon (left of cart) ---- */
.ss-home-menu-account {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--ss-ink);
	border-radius: 50%;
	transition: color .18s ease, background-color .18s ease;
}
.ss-home-menu-account:hover { color: var(--ss-amber-dark); background: var(--ss-cream); }
@media (max-width: 900px) { .ss-home-menu-account { order: 2; } }

/* tighten gap between account + cart icons */
.ss-home-menu-account { margin-right: -14px; }
.ss-home-menu-account { margin-right: -19px; }
/* fix: let the collapsed nav panel wrap to its own line so the top-row icons
   (incl. the hamburger) keep their size instead of being squeezed */
@media (max-width: 900px) {
	.ss-home-menu-inner { flex-wrap: wrap; }
	.ss-home-menu-burger { flex: 0 0 auto; }
	.ss-home-menu-account,
	.ss-home-menu-cart { flex: 0 0 auto; }
}
/* ===== mobile menu: robust overlay (supersedes the flex-wrap approach) ===== */
@media (max-width: 900px) {
	.ss-home-menu-inner { flex-wrap: nowrap; position: relative; gap: 10px; }
	.ss-home-menu-logo { margin-right: auto; }
	.ss-home-menu-logo img { height: 30px; }
	.ss-home-menu-account,
	.ss-home-menu-cart,
	.ss-home-menu-burger { flex: 0 0 auto; }
	.ss-home-menu-burger { margin-left: 0; }

	/* nav panel becomes an absolute dropdown so the top row never wraps */
	.ss-home-menu-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		width: auto;
		order: 0;
		margin: 0;
		background: var(--ss-white);
		border-top: 1px solid #eee4d5;
		box-shadow: 0 16px 30px rgba(26, 24, 25, 0.12);
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		padding: 0 20px;
		transition: max-height .3s ease, opacity .2s ease, padding .3s ease;
		z-index: 90;
	}
	.ss-home-menu-toggle-input:checked ~ .ss-home-menu-panel {
		max-height: calc(100vh - 110px);
		overflow-y: auto;
		opacity: 1;
		padding: 12px 20px 18px;
	}
}

/* ===== fix: burger panel — active parent and active child ran together =====
   Top-level links were inline-block (pill only as wide as the label) while
   submenu links are block, so an active parent sat directly on top of its
   active child and the two highlights read as one shape. Rows are now full
   width, the current section's parent keeps the amber label without a filled
   pill, and the submenu is a grouped, indented list with its own rail. */
@media (max-width: 900px) {
	.ss-home-menu-panel .ss-home-menu-item > a { display: block; }

	.ss-home-menu-list > .ss-home-menu-item.current-menu-ancestor:not(.current-menu-item) > a,
	.ss-home-menu-list > .ss-home-menu-item.current-menu-parent:not(.current-menu-item) > a,
	.ss-home-menu-list > .ss-home-menu-item.current_page_parent:not(.current-menu-item) > a {
		background: transparent;
		color: var(--ss-amber-dark);
	}

	.ss-home-menu-list .sub-menu {
		margin: 2px 0 10px;
		padding: 0 0 0 12px;
		border-left: 2px solid #efe6d8;
	}
	.ss-home-menu-list .sub-menu a { border-radius: 8px; }
	.ss-home-menu-list .sub-menu .is-active > a,
	.ss-home-menu-list .sub-menu .current-menu-item > a {
		background: var(--ss-cream);
		box-shadow: inset 2px 0 0 var(--ss-amber);
	}
}

/* ===== footer: Jelajahi + Layanan share one column, About gets its own =====
   The min-width guard matters: this block is appended after the footer's
   @media (max-width:900px) rules, so an unguarded grid declaration would
   re-apply four columns on mobile. */
.ss-home-footer-group + .ss-home-footer-group { margin-top: 26px; }
@media (min-width: 901px) {
	.ss-home-footer-inner { grid-template-columns: 1.5fr 1fr 1.15fr 1.25fr; }
}

/* ===== footer bottom bar: Terms / Privacy links ===== */
.ss-home-footer-legal { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.4); }
.ss-home-footer-legal a { color: rgba(255, 255, 255, 0.62); text-decoration: none; transition: color .16s ease; }
.ss-home-footer-legal a:hover { color: var(--ss-amber); }
@media (max-width: 520px) {
	.ss-home-footer-legal { justify-content: center; }
}

/* ===== top bar: legal links took the address slot (and its hide rule) ===== */
@media (max-width: 980px) {
	.ss-home-topbar-legal { display: none; }
}
