/* ============================================================================
   SunSeason — Cart page stylesheet
   One stylesheet per template. Chrome (tokens/top bar/menu/dropdown/footer)
   duplicated here; cart layout (prefix ss-cart-) + scoped WooCommerce cart
   styling follow.
   ============================================================================ */

/* ============================================================================
   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; }
}

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

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

/* ---- masthead ---- */
.ss-cart-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-cart-masthead-inner { max-width: 1280px; margin: 0 auto; padding: 48px 24px 44px; }
.ss-cart-crumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #8a8078; margin-bottom: 14px; flex-wrap: wrap; }
.ss-cart-crumb a { color: var(--ss-amber-dark); text-decoration: none; font-weight: 600; }
.ss-cart-crumb a:hover { text-decoration: underline; }
.ss-cart-crumb span[aria-hidden] { color: #cbbfa8; }
.ss-cart-masthead-title { margin: 0; font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; letter-spacing: -0.5px; color: var(--ss-ink); }

/* ---- body ---- */
.ss-cart-body-inner { max-width: 1280px; margin: 0 auto; padding: 40px 24px 84px; }

/* two-column layout: items left, totals right (from the default cart output) */
.ss-cart .woocommerce {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: 32px;
	align-items: start;
}
.ss-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.ss-cart form.woocommerce-cart-form { grid-column: 1; min-width: 0; }
.ss-cart .cart-collaterals { grid-column: 2; width: auto; }
.ss-cart .cart-collaterals .cross-sells { grid-column: 1 / -1; }

/* ---- cart items table ---- */
.ss-cart table.shop_table {
	width: 100%;
	border: 1px solid #efe6d8;
	border-radius: 16px;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: #fff;
}
.ss-cart table.cart thead th {
	background: var(--ss-cream);
	padding: 15px 16px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: #7a7168;
	text-align: left;
	border: 0;
}
.ss-cart table.cart td {
	padding: 18px 16px;
	border: 0;
	border-top: 1px solid #f1ebe1;
	vertical-align: middle;
	font-size: 15px;
	color: var(--ss-ink);
}
.ss-cart table.cart .product-thumbnail { width: 84px; }
.ss-cart table.cart .product-thumbnail img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #efe6d8; border-radius: 10px; background: #f7f2ea; }
.ss-cart table.cart .product-name a { color: var(--ss-ink); text-decoration: none; font-weight: 700; }
.ss-cart table.cart .product-name a:hover { color: var(--ss-amber-dark); }
.ss-cart table.cart .product-price,
.ss-cart table.cart .product-subtotal { font-weight: 700; }
.ss-cart table.cart .product-subtotal { color: var(--ss-ink); }

/* remove button */
.ss-cart table.cart .product-remove a.remove {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	background: #f4ece0; color: #b23b2e !important; font-size: 18px; line-height: 1; text-decoration: none;
	transition: background-color .16s ease, color .16s ease;
}
.ss-cart table.cart .product-remove a.remove:hover { background: #c0392b; color: #fff !important; }

/* quantity */
.ss-cart .quantity input.qty {
	width: 68px; height: 42px; padding: 0 8px; text-align: center;
	font-size: 15px; font-weight: 700; color: var(--ss-ink);
	background: #faf7f2; border: 1.5px solid #e6dccb; border-radius: 10px;
}
.ss-cart .quantity input.qty:focus { outline: none; border-color: var(--ss-amber); }

/* actions row (coupon + update) */
.ss-cart table.cart td.actions { padding: 18px 16px; background: #fcfaf6; }
.ss-cart td.actions .coupon { display: inline-flex; gap: 10px; float: none; }
.ss-cart td.actions .coupon label { display: none; }
.ss-cart td.actions .coupon input#coupon_code {
	width: 190px; height: 44px; padding: 0 14px; font-size: 14px;
	background: #fff; border: 1.5px solid #e6dccb; border-radius: 10px;
}
.ss-cart td.actions .coupon input#coupon_code:focus { outline: none; border-color: var(--ss-amber); }

/* buttons: out-specify Woo's default button styling */
.ss-cart .button,
.ss-cart button.button {
	display: inline-flex; align-items: center; justify-content: center;
	height: 44px; padding: 0 22px;
	background: var(--ss-navy); color: #fff;
	font-size: 14px; font-weight: 700; border: 0; border-radius: 10px; cursor: pointer;
	transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.ss-cart .button:hover,
.ss-cart button.button:hover { background: var(--ss-amber); color: var(--ss-navy); }
.ss-cart td.actions button[name="update_cart"] { float: right; background: #efe6d8; color: var(--ss-ink); }
.ss-cart td.actions button[name="update_cart"]:hover { background: var(--ss-amber); color: var(--ss-navy); }
.ss-cart td.actions button[name="update_cart"]:disabled { opacity: .55; cursor: default; }

/* ---- totals card ----
   Out-specify Woo's `.cart-collaterals .cart_totals { width:48%; float:right }`
   (and cross-sells) so the totals fill the grid column. */
.ss-cart .cart-collaterals,
.ss-cart .cart-collaterals .cart_totals,
.ss-cart .cart-collaterals .cross-sells { width: 100%; float: none; }
.ss-cart .cart-collaterals .cart_totals {
	background: var(--ss-cream);
	border: 1px solid #efe6d8;
	border-radius: 16px;
	padding: 24px 24px 26px;
	position: sticky;
	top: 96px;
}
.ss-cart .cart_totals h2 { margin: 0 0 16px; font-size: 19px; font-weight: 800; color: var(--ss-ink); }
.ss-cart .cart_totals table.shop_table { border: 0; border-radius: 0; background: transparent; }
.ss-cart .cart_totals table th,
.ss-cart .cart_totals table td { border: 0; border-top: 1px solid #ece3d4; padding: 13px 0; font-size: 15px; background: transparent; text-align: left; }
.ss-cart .cart_totals tr:first-child th, .ss-cart .cart_totals tr:first-child td { border-top: 0; }
.ss-cart .cart_totals th { font-weight: 600; color: #6a655f; }
.ss-cart .cart_totals td { text-align: right; font-weight: 700; color: var(--ss-ink); }
.ss-cart .cart_totals .order-total th { font-size: 16px; font-weight: 800; color: var(--ss-ink); }
.ss-cart .cart_totals .order-total td { font-size: 20px; font-weight: 800; }
.ss-cart .cart_totals .order-total .amount { color: var(--ss-ink); }

/* proceed to checkout */
.ss-cart .wc-proceed-to-checkout { padding: 20px 0 0; }
.ss-cart .wc-proceed-to-checkout a.checkout-button,
.ss-cart a.checkout-button.button.alt {
	display: flex; align-items: center; justify-content: center;
	width: 100%; height: 52px; padding: 0 24px; margin: 0;
	box-sizing: border-box; white-space: nowrap;
	background: var(--ss-amber); color: var(--ss-navy);
	font-size: 16px; font-weight: 800; text-decoration: none; border-radius: 12px;
	box-shadow: 0 10px 24px rgba(246, 162, 53, 0.3);
	transition: background-color .18s ease, transform .18s ease;
}
.ss-cart .wc-proceed-to-checkout a.checkout-button:hover { background: var(--ss-amber-dark); transform: translateY(-2px); }

/* ---- empty cart ---- */
.ss-cart .cart-empty.woocommerce-info,
.ss-cart .wc-empty-cart-message {
	text-align: center; font-size: 18px; color: #6a655f;
	background: var(--ss-cream); border: 1px solid #efe6d8; border-radius: 16px; padding: 40px 24px; margin: 0 0 22px;
}
.ss-cart .return-to-shop { text-align: center; }
.ss-cart .return-to-shop a.button {
	display: inline-flex; height: 50px; padding: 0 28px; align-items: center;
	background: var(--ss-amber); color: var(--ss-navy); font-weight: 700; border-radius: 999px; text-decoration: none;
}
.ss-cart .return-to-shop a.button:hover { background: var(--ss-amber-dark); }

/* Woo notices */
.ss-cart .woocommerce-message,
.ss-cart .woocommerce-info,
.ss-cart .woocommerce-error {
	position: relative;
	border-radius: 12px; border: 1.5px solid #e6dccb; background: #fdf8f0; padding: 14px 18px 14px 46px; font-size: 14.5px; list-style: none;
}
.ss-cart .woocommerce-message::before,
.ss-cart .woocommerce-info::before,
.ss-cart .woocommerce-error::before { left: 18px; top: 15px; margin: 0; }
.ss-cart .woocommerce-message { border-color: #46b978; background: #edf9f1; color: #1c7d4a; }
/* The notice's action button ("View cart" / "Undo?") keeps Woo's grey #e9e6ed
   because Woo's button rule out-specifies `.ss-cart .button` — colour it from
   this (0,3,1) selector, which already wins for height/padding. */
.ss-cart .woocommerce-message a.button,
.ss-cart .woocommerce-error a.button {
	height: 38px; padding: 0 16px;
	background: var(--ss-navy); color: #fff;
}
.ss-cart .woocommerce-message a.button:hover,
.ss-cart .woocommerce-error a.button:hover { background: var(--ss-amber); color: var(--ss-navy); }

/* ---- responsive ---- */
@media (max-width: 900px) {
	.ss-cart .woocommerce { grid-template-columns: 1fr; }
	.ss-cart form.woocommerce-cart-form,
	.ss-cart .cart-collaterals { grid-column: 1; }
	.ss-cart .cart_totals { position: static; }
	.ss-cart td.actions .coupon input#coupon_code { width: 150px; }
	.ss-cart td.actions button[name="update_cart"] { float: none; margin-top: 12px; width: 100%; }
}
@media (max-width: 560px) {
	/* let WooCommerce's responsive table stacking take over */
	.ss-cart table.cart thead { display: none; }
	/* the stacked table leaves the actions cell too narrow for the coupon field
	   and button side by side — put the field on its own full-width row so the
	   button below it stops squeezing and wrapping its label onto two lines */
	.ss-cart td.actions .coupon { display: flex; flex-wrap: wrap; width: 100%; }
	.ss-cart td.actions .coupon input#coupon_code { flex: 1 1 100%; width: 100%; }
	.ss-cart td.actions .coupon button { white-space: nowrap; }
	/* Woo floats the notice's action button right, where it lands on top of the
	   message text once the notice is narrow */
	.ss-cart .woocommerce-message a.button,
	.ss-cart .woocommerce-error a.button { float: none; display: flex; width: 100%; margin-top: 12px; }
}
/* ---- 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; }
}
