/*
 * Sareo Theme Custom Styles v2.0
 * File: assets/css/sareo-custom.css
 */

/* ============================================================
   GLOBAL RESETS & TOKENS
   Design System v1.0 — sareo-custom.css
   Reference: docs/design-system/index.html
   ============================================================ */
:root {

	/* ── BRAND COLORS ─────────────────────────────────────────── */
	--sareo-gold:        #c8a97e;   /* Brand primary — warm champagne gold */
	--sareo-gold-light:  #f5ece0;   /* Gold tint — backgrounds, hover fills */
	--sareo-gold-dark:   #a8845a;   /* Gold shade — pressed/active states */
	--sareo-dark:        #222222;   /* Text primary / dark surfaces */
	--sareo-navy:        #1e3a5f;   /* Accent navy — use sparingly */
	--sareo-white:       #ffffff;
	--sareo-black:       #000000;   /* Promo bar / maximum contrast */

	/* ── NEUTRAL SCALE ────────────────────────────────────────── */
	--sareo-neutral-50:  #f8f8f8;   /* Muted backgrounds */
	--sareo-neutral-100: #f4f4f4;   /* Page / section backgrounds (--sareo-light) */
	--sareo-neutral-200: #eeeeee;   /* Borders — cards, dividers */
	--sareo-neutral-300: #dddddd;   /* Borders — inputs, strong dividers */
	--sareo-neutral-400: #aaaaaa;   /* Text — placeholder, muted labels */
	--sareo-neutral-500: #888888;   /* Icons, search placeholder */
	--sareo-neutral-600: #666666;   /* Text secondary (--sareo-grey) */
	--sareo-neutral-700: #444444;   /* Body text in secondary contexts */
	--sareo-neutral-800: #333333;   /* Text — strong secondary */
	--sareo-neutral-900: #222222;   /* Text primary (= --sareo-dark) */
	/* legacy aliases */
	--sareo-light:       var(--sareo-neutral-100);
	--sareo-grey:        var(--sareo-neutral-600);

	/* ── SEMANTIC COLORS ──────────────────────────────────────── */
	--sareo-success:        #16a34a;
	--sareo-success-bg:     #f0fdf4;
	--sareo-error:          #dc3545;
	--sareo-error-bg:       #fff5f5;
	--sareo-warning:        #d97706;
	--sareo-warning-bg:     #fffbeb;
	--sareo-info:           #2563eb;
	--sareo-info-bg:        #eff6ff;
	--sareo-cart-badge:     #e94a4a;   /* Cart item count dot */

	/* ── TYPOGRAPHY ───────────────────────────────────────────── */
	--sareo-font-main:   "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
	--sareo-font-sans:   "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
	--sareo-font-ui:     "Inter", system-ui, -apple-system, sans-serif;   /* admin/dashboard */

	/* Font size scale */
	--sareo-text-xs:     10px;   /* micro — badge counter */
	--sareo-text-sm:     12px;   /* caption, timestamp */
	--sareo-text-base:   13px;   /* body secondary, nav items */
	--sareo-text-md:     14px;   /* body primary */
	--sareo-text-lg:     15px;   /* prominent body */
	--sareo-text-xl:     17px;   /* small heading */
	--sareo-text-2xl:    20px;   /* section heading */
	--sareo-text-3xl:    24px;   /* page sub-title */
	--sareo-text-4xl:    26px;   /* page title */
	--sareo-text-5xl:    36px;   /* display / hero */

	/* Font weight scale */
	--sareo-weight-normal:   400;
	--sareo-weight-medium:   500;
	--sareo-weight-semibold: 600;
	--sareo-weight-bold:     700;
	--sareo-weight-black:    900;

	/* Line height */
	--sareo-leading-tight:   1.2;
	--sareo-leading-snug:    1.4;
	--sareo-leading-base:    1.5;
	--sareo-leading-relaxed: 1.6;

	/* Letter spacing */
	--sareo-tracking-tight:  -0.01em;
	--sareo-tracking-normal:  0;
	--sareo-tracking-wide:    0.05em;
	--sareo-tracking-wider:   0.1em;

	/* ── SPACING SCALE ────────────────────────────────────────── */
	--sareo-space-1:   4px;
	--sareo-space-2:   6px;
	--sareo-space-3:   8px;
	--sareo-space-4:   12px;
	--sareo-space-5:   16px;
	--sareo-space-6:   20px;
	--sareo-space-7:   24px;
	--sareo-space-8:   32px;
	--sareo-space-9:   48px;
	--sareo-space-10:  60px;
	--sareo-space-11:  80px;

	/* ── BORDER RADIUS ────────────────────────────────────────── */
	--sareo-radius-none: 0;
	--sareo-radius-xs:   2px;
	--sareo-radius-sm:   4px;   /* badges, buttons (default) */
	--sareo-radius-md:   6px;   /* small cards, inputs */
	--sareo-radius-lg:   8px;   /* cards, list items, avatars */
	--sareo-radius-xl:   10px;  /* partner image, upgrade cards */
	--sareo-radius-2xl:  12px;  /* stat cards, filters */
	--sareo-radius-pill: 20px;  /* search bar, chip inputs */
	--sareo-radius-full: 999px; /* fully round pill buttons */
	--sareo-radius-circle: 50%; /* avatars, icon circles */

	/* ── SHADOWS ──────────────────────────────────────────────── */
	--sareo-shadow-xs:  0 1px 2px rgba(0,0,0,0.04);
	--sareo-shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
	--sareo-shadow-md:  0 2px 8px rgba(0,0,0,0.08);
	--sareo-shadow-lg:  0 8px 25px -5px rgba(0,0,0,0.10);
	--sareo-shadow-xl:  0 20px 60px rgba(0,0,0,0.12);

	/* ── TRANSITIONS ──────────────────────────────────────────── */
	--sareo-transition-fast:   0.15s ease;
	--sareo-transition-base:   0.20s ease;
	--sareo-transition-slow:   0.30s ease;
	--sareo-transition-bounce: 0.25s ease;

	/* ── LAYOUT ───────────────────────────────────────────────── */
	--sareo-container-max:    1200px;
	--sareo-container-gutter: 24px;
	--sareo-header-height:    60px;

	/* ── Z-INDEX SCALE ────────────────────────────────────────── */
	--sareo-z-base:    1;
	--sareo-z-sticky:  100;
	--sareo-z-header:  1000;
	--sareo-z-dropdown:1100;
	--sareo-z-modal:   9000;
	--sareo-z-promo:   9999;
}

body {
	background-color: #ffffff !important;
}

/* ── Sticky header fix ──────────────────────────────────────────────────────
   style-theme-json.css sets `html, body { overflow-x: hidden }`.
   CSS spec: if overflow-x is hidden AND overflow-y is visible, browser
   forces overflow-y → auto, making body a scroll container — which breaks
   position:sticky on children (body becomes their sticky root, but body
   itself doesn't scroll; html does).
   Fix: use overflow-x: clip instead of hidden. `clip` prevents horizontal
   overflow without creating a scroll container, so the spec rule
   "visible + non-visible → auto" does NOT apply (spec explicitly excludes
   `clip` from that coercion). Result: body's overflow-y stays visible →
   not a scroll container → sticky children use html (the real scroll root).
   ──────────────────────────────────────────────────────────────────────── */
html,
body {
	overflow-x: clip !important;
}
body {
	overflow-y: visible !important;
}


/* Montserrat is loaded via wp_enqueue_style('sareo-google-fonts') in sareo-custom.php — removed @import to prevent duplicate */

body,
html,
input,
button,
textarea,
select,
p,
span,
div,
li,
a,
label,
h1,
h2,
h3,
h4,
h5,
h6,
.mega-menu-link,
.mega-menu-item a,
.mega-sub-menu a,
.sareo-header-btn,
.sareo-nav-list>li>a,
.price,
.price span,
.price bdi,
.sareo-bestseller-badge,
.sareo-review-count {
	font-family: var(--sareo-font-main) !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Safeguard for Icons: Ensure they don't get overridden by the global serif font */
.fa,
.fas,
.far,
.fab,
.dashicons,
.genericon,
[class^="icon-"],
[class*=" icon-"],
[class^="vk-"],
[class*=" vk-"],
i {
	font-family: inherit;
	/* Fallback to theme or specific font-face */
}

/* Fix specific disappears icons */
.sareo-search-icon i,
.sareo-header-icon i {
	font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", "FontAwesome", sans-serif !important;
	font-weight: 900 !important;
}

/* ============================================================
   1. TOP PROMO BAR
   ============================================================ */
.sareo-promo-bar {
	background: #000;
	color: #fff;
	font-size: 13px;
	font-weight: 500;
	text-align: center;
	padding: 7px 48px;
	position: relative;
	z-index: 9999;
	letter-spacing: 0.4px;
}

.sareo-promo-bar__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.sareo-promo-bar__text {
	color: #fff;
}

.sareo-promo-bar__cta {
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none !important;
	letter-spacing: 1.5px;
}

.sareo-promo-bar__cta:hover {
	text-decoration: underline !important;
}

.sareo-promo-bar__close {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: #fff;
	font-size: 18px;
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
	text-decoration: none !important;
	font-weight: 700;
}

.sareo-promo-bar__close:hover {
	color: var(--sareo-gold);
}

/* ============================================================
   2. HEADER
   ============================================================ */
.sareo-header {
	background: #fff;
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.sareo-header__inner {
	display: grid;
	grid-template-areas:
		"logo logo logo"
		"search nav actions";
	grid-template-columns: auto 1fr auto;
	grid-template-rows: auto auto;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 8px 24px 4px;
	gap: 4px 16px;
}

/* LEFT: search */
.sareo-header__left {
	grid-area: search;
	display: flex;
	align-items: center;
}

.sareo-header-search {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	border: 1px solid #ddd !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	height: 38px !important;
	/* height adjusted for consistency */
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	min-width: 200px !important;
}

.sareo-search-icon {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	color: #888 !important;
	cursor: pointer !important;
	font-size: 14px !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 38px !important;
	width: 38px !important;
	flex-shrink: 0 !important;
	line-height: normal !important;
}

.sareo-search-input {
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	font-size: 13px !important;
	color: #333 !important;
	padding: 0 10px 0 0 !important;
	width: 100% !important;
	background: transparent !important;
	margin: 0 !important;
	height: 38px !important;
	min-height: 0 !important;
	line-height: 38px !important;
	flex-grow: 1 !important;
}

/* CENTER: logo — row 1, centered */
.sareo-header__center {
	grid-area: logo;
	display: flex;
	align-items: center;
	justify-content: center;
	justify-self: center;
	padding-top: 6px;
}

.sareo-header__logo-link {
	display: block;
	text-decoration: none !important;
}

.sareo-header__logo-link img,
.sareo-header__logo-link svg {
	height: 60px;
	max-height: 60px;
	width: auto;
	max-width: 280px;
	object-fit: contain;
}

/* Nav — row 2, center column */
.sareo-header__nav {
	grid-area: nav;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.sareo-nav-list {
	display: flex !important;
	gap: 0;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: nowrap;
}

.sareo-nav-list>li>a {
	display: block;
	padding: 4px 14px;
	font-size: 13px;
	font-weight: 500;
	color: #333 !important;
	text-decoration: none !important;
	white-space: nowrap;
	transition: color 0.2s;
}

.sareo-nav-list>li>a:hover,
.sareo-nav-list>li.current-menu-item>a {
	color: var(--sareo-gold) !important;
}

/* Hide icons inside nav menu items — show text only */
.sareo-nav-list>li>a>i,
.sareo-nav-list>li>a>.menu-item-icon {
	display: none !important;
}

/* RIGHT: action buttons */
.sareo-header__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.sareo-header-icon {
	position: relative;
	color: #333;
	font-size: 18px;
	text-decoration: none !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.sareo-header-icon:hover {
	color: var(--sareo-gold);
}

.sareo-header-badge {
	position: absolute;
	top: -7px;
	right: -7px;
	background: #e94a4a;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 50%;
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding-top: 1px;
	padding-left: 1px;
	line-height: 1;
	text-align: center;
	box-sizing: border-box;
}

.sareo-header-btn {
	font-size: 14px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 4px;
	text-decoration: none !important;
	transition: all 0.2s;
	white-space: nowrap;
}

.sareo-header-btn--outline {
	border: 1px solid #ccc;
	color: #333 !important;
	background: transparent;
}

.sareo-header-btn--outline:hover {
	border-color: #333;
}

.sareo-header-btn--solid {
	background: #222;
	color: #fff !important;
	border: 1px solid #222;
}

.sareo-header-btn--solid:hover {
	background: #444;
}

.sareo-header-btn--logout {
	border: 1px solid #eeeeee;
	color: #444 !important;
	background: #f8f8f8;
}

.sareo-header-btn--logout:hover {
	border-color: #dc3545;
	color: #dc3545 !important;
	background: #fff5f5;
}

.sareo-header-btn--logout i {
	margin-right: 6px;
	font-size: 0.9em;
}

.sareo-header-lang {
	position: relative;
	display: flex;
	align-items: center;
}

.sareo-lang-toggle {
	display: flex;
	align-items: center;
	gap: 4px;
	border: 1px solid #ccc;
	background: none;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #333;
	border-radius: 3px;
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s;
}

.sareo-lang-toggle:hover {
	border-color: #333;
	color: #000;
}

.sareo-lang-caret {
	font-size: 10px;
	transition: transform 0.2s;
}

.sareo-header-lang.is-open .sareo-lang-caret {
	transform: rotate(180deg);
}

.sareo-lang-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
	list-style: none;
	margin: 0;
	padding: 4px 0;
	min-width: 130px;
	z-index: 9999;
}

.sareo-header-lang.is-open .sareo-lang-dropdown {
	display: block;
}

.sareo-lang-option {
	display: block;
	width: 100%;
	background: none;
	border: none;
	padding: 8px 16px;
	text-align: left;
	font-size: 13px;
	color: #333;
	cursor: pointer;
	transition: background 0.15s;
}

.sareo-lang-option:hover {
	background: #f5f5f5;
}

.sareo-lang-option.is-active {
	font-weight: 700;
	color: #000;
}

/* ============================================================
   3. BRAND LOGO STRIP
   ============================================================ */
.home .sareo-brand-strip {
	display: none !important;
}

.sareo-brand-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	padding: 16px 0;
}

.sareo-brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px 32px;
	text-decoration: none !important;
	transition: opacity 0.2s;
}

.sareo-brand-item:hover {
	opacity: 0.75;
}

.sareo-brand-logo-img {
	max-height: 36px;
	width: auto;
	object-fit: contain;
	filter: grayscale(20%);
	transition: filter 0.2s;
}

.sareo-brand-item:hover .sareo-brand-logo-img {
	filter: grayscale(0);
}

.sareo-brand-text {
	font-size: 17px;
	font-weight: 700;
	color: #333;
	letter-spacing: 0.5px;
	font-style: italic;
}

.sareo-brand-sep {
	width: 1px;
	height: 36px;
	background: #e0e0e0;
	flex-shrink: 0;
}

/* ============================================================
   4. SLIDER / MIDDLE BANNER
   ============================================================ */
/* Remove overlay tint from vk-blocks slides */
.vk_slider_item-background-area.has-bg-primary-background-color.has-background-dim {
	background-color: transparent !important;
	opacity: 0 !important;
}

.wp-block-cover__background.has-bg-primary-background-color.has-background-dim {
	background-color: transparent !important;
	opacity: 0 !important;
}

/* Slide images fill naturally */
.wp-block-vk-blocks-slider .wp-block-cover {
	min-height: 280px !important;
}

.wp-block-vk-blocks-slider .wp-block-cover__image-background {
	object-fit: cover !important;
	object-position: center !important;
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
	color: transparent !important;
	/* Hide default icon text */
	background: transparent !important;
	border-radius: 0 !important;
	width: 70px !important;
	height: 70px !important;
	margin-top: -35px !important;
	z-index: 99 !important;
	pointer-events: auto !important;
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	background-size: 46px 46px !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	transition: opacity 0.3s ease !important;
	opacity: 0.7 !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	opacity: 1 !important;
}

/* Hide Swiper's default font icon */
.swiper-button-next::after,
.swiper-button-prev::after {
	display: none !important;
	content: "" !important;
}

/* Custom SVG for Left Arrow */
.swiper-button-prev {
	left: 30px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='4'%3E%3Cpath stroke-linecap='square' stroke-linejoin='miter' d='M15 19l-7-7 7-7'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Custom SVG for Right Arrow */
.swiper-button-next {
	right: 30px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='4'%3E%3Cpath stroke-linecap='square' stroke-linejoin='miter' d='M9 5l7 7-7 7'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* ============================================================
   5. BUSINESS PARTNER SECTION
   ============================================================ */
.sareo-partner-section {
	background: transparent;
	padding: 60px 0;
}

.home .sareo-partner-section:first-of-type {
	padding-top: 0 !important;
}

.sareo-partner-section__title {
	text-align: left;
	font-size: 20px;
	font-weight: 700;
	color: var(--sareo-dark);
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	line-height: 1.4;
	border: none !important;
}

.sareo-partner-section__title::before,
.sareo-partner-section__title::after {
	display: none !important;
	content: none !important;
}

.sareo-partner-section__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: flex-start;
}

.sareo-partner-section__inner.sareo-no-image {
	grid-template-columns: 1fr;
}


/* LEFT */

.sareo-bp-header-wrap {
	display: block;
	max-width: 100%;
}

.sareo-no-image .sareo-partner-section__title,
.sareo-no-image .sareo-partner-section__title p,
.sareo-no-image .sareo-partner-section__title span {
	text-align: center !important;
	justify-content: center !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
}

.sareo-bp-tabs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
	width: 100%;
}

.sareo-no-image .sareo-bp-tabs {
	max-width: 400px;
	margin-left: auto;
	margin-right: auto;
}

.sareo-no-image .sareo-bp-subtitle {
	text-align: center;
}

.sareo-bp-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	width: 100%;
}

.sareo-bp-col-left,
.sareo-bp-col-right {
	text-align: left;
	/* Explicitly left align */
}

@media (max-width: 768px) {
	.sareo-bp-cols {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

.sareo-bp-tab {
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s;
	border: 1px solid #222;
	background: #222;
	color: #fff;
	width: 100%;
}

.sareo-bp-tab:not(.active) {
	background: transparent;
	color: #222;
}

.sareo-bp-tab:hover {
	opacity: 0.8;
}

.sareo-bp-panel {
	display: none;
}

.sareo-bp-panel.active {
	display: block;
	animation: bpFadeIn 0.25s ease;
}

@keyframes bpFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

.sareo-bp-subtitle {
	font-size: 14px;
	font-weight: 600;
	color: var(--sareo-dark);
	margin-bottom: 16px;
}

/* Benefits list */
.sareo-bp-benefits {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sareo-bp-benefits li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-size: 13px;
	color: #444;
	line-height: 1.5;
	margin-bottom: 24px;
}

.sareo-bp-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--sareo-gold);
	font-size: 15px;
}

/* Steps list */
.sareo-bp-steps {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sareo-bp-steps li {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	font-size: 13px;
	color: #444;
	line-height: 1.5;
	margin-bottom: 24px;
}

.sareo-bp-step-num {
	flex-shrink: 0;
	font-size: 36px;
	font-weight: 900;
	color: #a0a0a0;
	line-height: 1;
	width: 44px;
	text-align: center;
}

/* RIGHT: image */

.sareo-partner-img {
	width: 100%;
	border-radius: 10px;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.sareo-partner-section__inner {
		grid-template-columns: 1fr;
	}

	.sareo-partner-right {
		order: -1;
	}

	.sareo-bp-benefits,
	.sareo-bp-steps {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	/* Section 3.6: reduce padding & centre title on mobile */
	.sareo-partner-section {
		padding: 32px 16px 28px;
	}

	.sareo-partner-section__title {
		font-size: 18px;
	}

	.sareo-bp-subtitle {
		font-size: 16px;
	}
}

@media (max-width: 480px) {

	/* Stack tabs vertically on very small screens */
	.sareo-bp-tabs {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   6. SUCCESS STORIES / CERITA SUKSES
   ============================================================ */
.sareo-testi-section {
	background: transparent;
	padding: 60px 0;
	border: none !important;
}

/* Force elementor wrapper to have no background or borders around the custom widget */
.elementor-widget-sareo_reseller_stories,
.elementor-widget-sareo_reseller_stories .elementor-widget-container {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.sareo-testi-title,
.sareo-testi-title::before,
.sareo-testi-title::after {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--sareo-dark);
	margin-bottom: 36px;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0;
}

.sareo-testi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

@media (max-width: 768px) {

	/* Section 3.7: 2-column review cards on mobile */
	.sareo-testi-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px;
	}

	.sareo-testi-title {
		font-size: 18px;
		margin-bottom: 24px;
	}

	.sareo-testi-card {
		padding: 20px 14px;
		border-radius: 12px;
	}

	.sareo-testi-section {
		padding: 32px 0;
	}
}

@media (max-width: 480px) {

	/* Single column reviews on very small screens */
	.sareo-testi-grid {
		grid-template-columns: 1fr !important;
	}
}

.sareo-testi-empty {
	text-align: center;
	color: #888;
	font-size: 18px;
	padding: 40px 0;
	width: 100%;
}

.sareo-testi-card {
	background: #f0f2f5;
	border-radius: 16px;
	padding: 32px 24px;
	text-align: center;
	transition: transform 0.2s;
}

.sareo-testi-card:hover {
	transform: translateY(-4px);
}

.sareo-testi-avatar-wrap {
	margin-bottom: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.sareo-testi-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto;
}

.sareo-testi-avatar-placeholder {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--sareo-gold);
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.sareo-testi-name,
.sareo-testi-name::before,
.sareo-testi-name::after {
	font-weight: 700;
	font-size: 13px;
	color: #111;
	margin: 0 0 10px 0 !important;
	text-transform: capitalize;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	display: block;
}

.sareo-testi-stars {
	color: #FFB800;
	font-size: 14px;
	margin-bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 4px;
}



.sareo-testi-star.filled {
	color: #FFB800;
}

.sareo-testi-star.empty-star {
	color: #e2e2e2;
}

.sareo-testi-text {
	font-size: 14px;
	color: #444;
	line-height: 1.5;
	margin: 0;
	font-style: normal;
}

@media (max-width: 991px) {
	.sareo-stories-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 480px) {
	.sareo-stories-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
   7. FOOTER
   ============================================================ */
.sareo-footer__topbar {
	background: #555555;
	padding: 22px 0;
}

.sareo-footer__topbar-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-left: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px));
}

.sareo-footer__brand {
	font-size: 20px;
	font-weight: 900;
	color: #fff;
	letter-spacing: 2px;
}

.sareo-footer__logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none !important;
	flex-shrink: 0;
	margin-left: -13px;
}

.sareo-footer__logo,
body.woocommerce-shop .sareo-footer__logo,
body.tax-product_brand .sareo-footer__logo {
	height: 44px !important;
	width: auto !important;
	max-width: 200px !important;
	object-fit: contain !important;
	display: block !important;
}

.sareo-footer__tagline {
	font-size: 16px;
	color: #ccc;
	font-style: normal;
	letter-spacing: 0.5px;
}

.sareo-footer__main {
	background: #f4f4f4;
	padding: 40px 0 50px;
}



.sareo-footer__main>.container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px)) !important;
	padding-right: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px)) !important;
}



.sareo-footer__grid {
	display: grid;
	grid-template-columns: 1.3fr 0.9fr 1.1fr 1.2fr;
	gap: 40px 32px;
	align-items: start;
}



/* Tighten spacing between each WordPress footer widget block */
.sareo-footer__col .sareo-footer-widget {
	margin-bottom: 2px !important;
	padding: 0 !important;
}

.sareo-footer__col .sareo-footer-widget p,
.sareo-footer__col .sareo-footer-widget strong {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.5 !important;
	font-size: 13px !important;
}

.sareo-footer__col-title,
.sareo-footer__col h6.wp-block-heading,
.sareo-footer__col .wp-block-heading {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #222 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.5px !important;
	margin-top: 0 !important;
	margin-bottom: 10px !important;
	display: block !important;
	padding-bottom: 0 !important;
	border-bottom: none !important;
}


.sareo-footer__col p {
	font-size: 13px;
	color: #555;
	line-height: 1.5;
	margin: 0 0 4px;
}

/* Override WordPress widget default paragraph spacing */
.sareo-footer__col .widget p,
.sareo-footer__col .textwidget p {
	margin: 0 0 4px !important;
	line-height: 1.5 !important;
}

/* Align icon + text in p tags that contain images (phone/email icons) */
.sareo-footer__col .sareo-footer-widget p:has(img) {
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	line-height: 1 !important;
}

/* Specifically for small 14px icons (WhatsApp, email) - keep tight gap */
.sareo-footer__col .sareo-footer-widget p:has(img[style*="width: 14px"]) {
	gap: 6px !important;
	width: auto !important;
	justify-content: flex-start !important;
}


.sareo-footer__col .sareo-footer-widget p img {
	display: inline-block !important;
	vertical-align: middle !important;
	flex-shrink: 0;
}

.sareo-footer__col .widget> :first-child {
	margin-top: 0;
}


.sareo-footer__col a {
	color: #555 !important;
	text-decoration: none;
	font-size: 13px;
	transition: color 0.2s;
}

.sareo-footer__col a:hover {
	color: var(--sareo-gold) !important;
}

.sareo-footer__links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sareo-footer__links li {
	margin-bottom: 5px;
}


.sareo-footer__social {
	display: flex;
	gap: 10px;
	margin-bottom: 4px;
}

/* Widget containing social icon images - add gap before Payment Options */
.sareo-footer__col .sareo-footer-widget:has(p img[class*="wp-image"]:not([width="14"])),
.sareo-footer__col .sareo-footer-widget:has(.sareo-footer__social) {
	margin-bottom: 28px !important;
}

/* Social icon widget in col 4 - add bottom spacing before Payment Options */
.sareo-footer__col .sareo-footer-widget p:has(img[class*="wp-image-158"]) {
	margin-bottom: 14px !important;
}

/* Add top margin to Payment Options widget (any widget containing 'Payment' heading) */
.sareo-footer__col .sareo-footer-widget h6.wp-block-heading:not(:first-child) {
	margin-top: 20px !important;
}

/* Specifically the 2nd heading in col4 = PAYMENT OPTIONS - needs more breathing room */
.sareo-footer__col:last-child .sareo-footer-widget:nth-child(3) {
	margin-top: 20px !important;
	padding-top: 4px !important;
}



.sareo-footer__social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #ddd;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	color: #444 !important;
	transition: background 0.2s, color 0.2s;
}

.sareo-footer__social a:hover {
	background: var(--sareo-gold);
	color: #fff !important;
}

.sareo-footer__payments {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.sareo-footer__payment-logo {
	height: 28px;
	width: auto;
	object-fit: contain;
}

/* Constrain payment bank logos (large images in col 4) - override inline width:150px */
.sareo-footer__col .sareo-footer-widget p img[class*="wp-image"] {
	max-height: 28px !important;
	max-width: 80px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	object-position: left center !important;
	display: inline-block !important;
}

/* Payment logos container - max 3 per row, compact sizing */
.sareo-footer__col .sareo-footer-widget p:has(img[class*="wp-image"]:not([style*="width: 14px"])) {
	display: grid !important;
	grid-template-columns: repeat(3, max-content) !important;
	gap: 10px 14px !important;
	align-items: center !important;
	justify-items: start !important;
	width: fit-content !important;
	flex-direction: unset !important;
	flex-wrap: unset !important;
}





/* But keep small social icons at their size */
.sareo-footer__col .sareo-footer-widget p img[style*="width: 14px"] {
	max-height: 14px !important;
	width: 14px !important;
}




.sareo-footer__bottom {
	background: #222;
	padding: 14px 24px;
	text-align: center;
}

.sareo-footer__bottom p {
	font-size: 12px;
	color: #888;
	margin: 0;
}

.sareo-footer__bottom .container {
	width: 100% !important;
	max-width: none !important;
	display: flex;
	justify-content: center;
	padding-left: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px)) !important;
	padding-right: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px)) !important;
}

@media (max-width: 991px) {
	.sareo-footer__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 24px;
	}
}

@media (max-width: 600px) {
	.sareo-footer__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}


/* ============================================================
   8. RESPONSIVE HEADER
   ============================================================ */
@media (max-width: 991px) {
	.sareo-header__inner {
		grid-template-columns: 1fr auto;
		height: 60px;
	}

	.sareo-header__left {
		display: none;
	}

	.sareo-header__right {
		gap: 6px;
	}

	.sareo-header-btn {
		padding: 5px 12px;
		font-size: 12px;
	}

	.sareo-brand-item {
		padding: 8px 18px;
	}
}

/* ============================================================
   8b. MOBILE SEARCH — icon in header + slide-down overlay
   ============================================================ */

/* Search toggle button — hidden on desktop */
.sareo-mobile-search-toggle {
	display: none;
}

/* Search overlay — hidden by default */
.sareo-mobile-search {
	display: none;
}

@media (max-width: 991px) {
	/* Show search icon in mobile header */
	.sareo-mobile-search-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: none;
		cursor: pointer;
		font-size: 18px;
		color: #333;
		padding: 6px;
		margin: 0;
		order: -1;
		-webkit-tap-highlight-color: transparent;
	}
	.sareo-mobile-search-toggle__hint {
		display: none;
	}

	/* Search overlay container */
	.sareo-mobile-search {
		display: block;
		max-height: 0;
		overflow: hidden;
		background: #fff;
		border-bottom: 1px solid #eee;
		transition: max-height 0.3s ease;
	}

	.sareo-mobile-search.is-open {
		max-height: 70px;
	}

	/* Search form inside overlay */
	.sareo-mobile-search__form {
		display: flex;
		align-items: center;
		padding: 10px 16px;
		gap: 10px;
	}

	.sareo-mobile-search__icon {
		color: #999;
		font-size: 16px;
		flex-shrink: 0;
	}

	.sareo-mobile-search__input {
		flex: 1;
		border: none;
		outline: none;
		font-size: 15px;
		color: #333;
		background: transparent;
		padding: 8px 0;
		font-family: var(--sareo-font-main);
	}

	.sareo-mobile-search__input::placeholder {
		color: #aaa;
	}

	/* Hide browser native clear button on search input */
	.sareo-mobile-search__input::-webkit-search-cancel-button,
	.sareo-mobile-search__input::-webkit-search-decoration {
		-webkit-appearance: none;
		appearance: none;
	}

	.sareo-mobile-search__close {
		display: flex;
		align-items: center;
		justify-content: center;
		background: transparent;
		border: none;
		cursor: pointer;
		font-size: 16px;
		color: #999;
		padding: 6px;
		-webkit-tap-highlight-color: transparent;
	}

	.sareo-mobile-search__close:hover {
		color: #333;
	}
}

@media (max-width: 768px) {

	/* -- 3.3 Hero Slider: smaller chevron arrows on mobile -- */
	.swiper-button-next,
	.swiper-button-prev,
	.ltg-slide-button-next,
	.ltg-slide-button-prev {
		width: 36px !important;
		height: 36px !important;
		margin-top: -18px !important;
		background-size: 24px 24px !important;
		opacity: 0.85 !important;
	}

	.swiper-button-prev,
	.ltg-slide-button-prev {
		left: 8px !important;
	}

	.swiper-button-next,
	.ltg-slide-button-next {
		right: 8px !important;
	}

	/* -- 3.4 Sareo Brand Strip (.sareo-brand-strip widget): wrap to 2 columns -- */
	.sareo-brand-strip {
		flex-wrap: wrap !important;
		padding: 12px 0 !important;
		gap: 0 !important;
	}

	.sareo-brand-item {
		padding: 8px 16px !important;
		width: 50% !important;
		box-sizing: border-box !important;
		justify-content: center !important;
	}

	.sareo-brand-sep {
		display: none !important;
	}

	.sareo-brand-logo-img {
		max-height: 28px !important;
	}

	.sareo-brand-text {
		font-size: 14px !important;
	}

	/* -- 3.4 Brand Logo Strip + Global Elementor overflow prevention -- */
	/* Root cause: Elementor sections have fixed widths + left margins → overflow right */

	/* Prevent page-level horizontal overflow/scrollbar */
	html,
	body {
		max-width: 100vw !important;
		overflow-x: clip !important; /* clip, not hidden — doesn't create scroll container, keeps sticky working */
	}

	/* Reset Elementor top-level sections to full viewport width, no side margins */
	.elementor-section,
	.elementor-top-section,
	.e-con,
	.elementor-container {
		width: 100% !important;
		max-width: 100vw !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
	}

	/* Inner wrappers: prevent overflow but don't force to 100vw (they can be padded) */
	.e-con-inner,
	.elementor-widget-wrap,
	.elementor-widget-container,
	.elementor-column,
	.elementor-column-wrap {
		max-width: 100% !important;
		overflow-x: hidden !important;
		box-sizing: border-box !important;
	}

	/* Brand logo strip: add symmetric 16px gap on left AND right */
	.brand-logo-strip.elementor-widget {
		margin: 0 16px !important;
		width: calc(100% - 32px) !important;
		max-width: calc(100% - 32px) !important;
		box-sizing: border-box !important;
	}

	.brand-logo-strip .elementor-widget-container,
	.brand-logo-strip .swiper {
		width: 100% !important;
		max-width: 100% !important;
		overflow: hidden !important;
		box-sizing: border-box !important;
	}

	.brand-logo-strip {
		padding: 12px 0 !important;
	}

	.brand-logo-strip .swiper-slide img {
		max-height: 36px !important;
	}
}


/* ============================================================
   MOBILE NAV TOGGLE + DRAWER
   ============================================================ */

/* Hamburger button — hidden on desktop, shown via media query on mobile */
.sareo-mobile-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
	flex-shrink: 0;
	z-index: 100;
	/* No position:absolute — it sits as a flex item inside header__inner */
}

.sareo-mobile-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #222;
	border-radius: 2px;
	transition: all 0.25s ease;
	transform-origin: center;
}

/* Animate to X when open */
.sareo-mobile-toggle.is-open span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.sareo-mobile-toggle.is-open span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.sareo-mobile-toggle.is-open span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer — hidden by default */
.sareo-mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	display: block;
	overflow: hidden;
	max-height: 0;
	background: #fff;
	border-top: 1px solid #eee;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
	transition: max-height 0.3s ease;
	z-index: 1000;
}

/* Drawer open state */
.sareo-mobile-nav.is-open {
	max-height: 85vh;
	overflow-y: auto;
}

/* Mobile nav list items */
.sareo-mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 8px 0;
}

/* Support both old (li) and new (.sareo-mobile-nav__item) selectors */
.sareo-mobile-nav__list li,
.sareo-mobile-nav__item {
	display: block !important;
}

.sareo-mobile-nav__list li a,
.sareo-mobile-nav__link {
	display: block;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 500;
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #f5f5f5;
	transition: background 0.15s ease;
}

.sareo-mobile-nav__list li a:hover,
.sareo-mobile-nav__link:hover {
	background: #f9f9f9;
	color: #000;
}

/* Submenu layout */
.sareo-mobile-nav__link-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #f5f5f5;
}

.sareo-mobile-nav__link-wrapper .sareo-mobile-nav__link {
	border-bottom: none;
	flex: 1;
}

.sareo-mobile-nav__sub-toggle {
	background: transparent;
	border: none;
	padding: 12px 18px;
	cursor: pointer;
	color: #999;
	transition: all 0.2s;
}

.sareo-mobile-nav__sub-toggle.is-active i {
	transform: rotate(180deg);
}

.sareo-mobile-nav__sub-menu {
	display: none;
	list-style: none;
	padding: 0;
	margin: 0;
	background: #fdfcf9;
}

.sareo-mobile-nav__sub-menu.is-active {
	display: block;
}

.sareo-mobile-nav__item--child .sareo-mobile-nav__link {
	padding-left: 40px;
	font-size: 14px;
	font-weight: 400;
	color: #666;
}

/* Login/Register buttons in mobile drawer */
.sareo-mobile-nav__actions {
	display: flex;
	gap: 10px;
	padding: 16px 20px;
	border-top: 1px solid #eee;
}

.sareo-mobile-nav__actions .sareo-header-btn {
	flex: 1;
	text-align: center;
	font-size: 14px !important;
	padding: 10px 12px !important;
}

/* Language switcher inside mobile drawer (injected by WPCode snippet) */
/* Reorder: nav list (1) → lang (2) → actions (3) */
/* Mobile only — di desktop nav.sareo-mobile-nav harus hidden supaya drawer lang switcher tidak leak */
@media (max-width: 991px) {
	nav.sareo-mobile-nav,
	nav#sareo-mobile-nav {
		display: flex !important;
		flex-direction: column !important;
	}
}
@media (min-width: 992px) {
	nav.sareo-mobile-nav,
	nav#sareo-mobile-nav {
		display: none !important;
	}
}

/* TRP language switcher overlay — hide default, show on hover/focus/click */
/* Defensive override: TRP JS kadang gagal init di prod, overlay stay visible */
/* Anchor TIDAK di-hide — itu visible EN button yang user lihat default.
   Overlay overlap anchor via top:0 + z-index 9999 (TRP V2 default).
   Saat overlay visible, ia menutupi anchor via z-index, user lihat overlay content.
   Saat overlay hidden, user lihat anchor (EN button).
   top:100% (sebelumnya) menempatkan overlay di BAWAH anchor → DOUBLE. */
@media (min-width: 992px) {
	.sareo-header-lang-trp .trp-shortcode-overlay {
		visibility: hidden;
		opacity: 0;
		pointer-events: none;
		top: 0 !important;
		transition: visibility 0.15s, opacity 0.15s;
	}
	/* Reveal trigger: hover (mouse), focus-within (keyboard tab),
	   aria-expanded=true (click — TRP V2 JS toggle attribute), atau overlay
	   sendiri di-hover/focus (cegah close saat user move mouse ke dropdown list) */
	.sareo-header-lang-trp:hover .trp-shortcode-overlay,
	.sareo-header-lang-trp:focus-within .trp-shortcode-overlay,
	.sareo-header-lang-trp .trp-shortcode-overlay[aria-expanded="true"],
	.sareo-header-lang-trp .trp-shortcode-overlay:hover,
	.sareo-header-lang-trp .trp-shortcode-overlay:focus-within {
		visibility: visible;
		opacity: 1;
		pointer-events: auto;
	}
}
nav.sareo-mobile-nav .sareo-mobile-nav__list { order: 1; }
nav.sareo-mobile-nav .sareo-drawer-lang { order: 2; }
nav.sareo-mobile-nav .sareo-mobile-nav__actions { order: 3; }

.sareo-drawer-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 14px 20px;
}

/* Hide JS-injected duplicate — only keep the PHP-rendered version */
.sareo-drawer-lang:not(.sareo-drawer-lang--php) {
	display: none !important;
}

.sareo-drawer-lang__label {
	font-size: 16px;
	line-height: 1;
	flex-shrink: 0;
}

.sareo-drawer-lang__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 20px;
	font-size: 14px;
	font-weight: 600;
	color: #999;
	background: #f5f5f5;
	border: 1.5px solid #ccc;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.2s;
}

.sareo-drawer-lang__btn--active {
	color: #fff;
	background: #222;
	border-color: #222;
}

.sareo-drawer-lang__btn:hover:not(.sareo-drawer-lang__btn--active) {
	color: #333;
	background: #eee;
	border-color: #999;
}

/* ─── VK Mobile Nav: hide globally at ALL times (we use our own hamburger) ─── */
#vk-mobile-nav-btn,
#vk-mobile-nav-menu-btn,
.vk-mobile-nav--btn-toggle,
.vk-mobile-nav-wrapper__btn,
.vk-mobile-nav-wrapper,
#vk-mobile-nav {
	display: none !important;
	visibility: hidden !important;
	width: 0 !important;
	height: 0 !important;
	overflow: hidden !important;
}



/* ============================================================
   SPECIFICITY OVERRIDES — Force new layout over theme defaults
   ============================================================ */

/* Header grid layout */

header#site-header.sareo-header {
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06) !important;
	padding: 0 !important;
	overflow: visible !important;
}

header#site-header .sareo-header__inner,
#site-header .sareo-header__inner {
	display: grid !important;
	grid-template-areas: "logo logo logo" "search nav actions" !important;
	grid-template-columns: 1fr auto 1fr !important;
	grid-template-rows: 80px auto !important;
	align-items: center !important;
	gap: 0 16px !important;
	max-width: 100% !important;
	padding: 8px 24px 4px !important;
	height: auto !important;
	overflow: visible !important;
}

header#site-header .sareo-header__center,
#site-header .sareo-header__center {
	grid-area: logo !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	justify-self: center !important;
}

header#site-header .sareo-header__left,
#site-header .sareo-header__left {
	grid-area: search !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	padding-top: 5px !important;
}

header#site-header .sareo-header__nav,
#site-header .sareo-header__nav {
	grid-area: nav !important;
	display: flex !important;
	justify-content: center !important;
}

header#site-header .sareo-header__right,
#site-header .sareo-header__right {
	grid-area: actions !important;
	padding-top: 5px !important;
}

/* Language Switcher TranslatePress di dalam header (via shortcode) */
.sareo-header-lang-trp {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

/* (old TRP static override removed) */

/* Force nav list horizontal */
header#site-header .sareo-nav-list,
#site-header nav ul.sareo-nav-list,
#site-header ul.sareo-nav-list {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0 !important;
}

#site-header ul.sareo-nav-list>li,
header#site-header .sareo-nav-list>li {
	display: inline-flex !important;
	align-items: center !important;
}

header#site-header .sareo-nav-list>li>a {
	padding: 4px 12px !important;
	font-size: 14px !important;
	white-space: nowrap !important;
	color: #333 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	letter-spacing: 0.01em !important;
}

/* Logo: fixed size — independent of uploaded image dimensions */
header#site-header .sareo-header__logo-link img,
#site-header .sareo-header__logo-link img,
header#site-header .sareo-header__logo-link svg {
	height: 60px !important;
	/* tinggi tetap, sesuaikan jika perlu */
	max-height: 60px !important;
	width: auto !important;
	max-width: 280px !important;
	object-fit: contain !important;
	display: block !important;
}

/* MegaMenu horizontal override (renders as #mega-menu-global-nav) */
header#site-header ul.mega-menu.mega-menu-horizontal,
#site-header #mega-menu-global-nav {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	gap: 0 !important;
}

header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-item,
#site-header #mega-menu-global-nav>li.mega-menu-item {
	display: inline-flex !important;
	align-items: center !important;
}

header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-item>a.mega-menu-link,
#site-header #mega-menu-global-nav>li.mega-menu-item>a.mega-menu-link {
	padding: 4px 18px !important;
	font-size: 15px !important;
	white-space: nowrap !important;
	color: #333 !important;
	text-decoration: none !important;
	font-weight: 500 !important;
	background: none !important;
	box-shadow: none !important;
}

/* Hide all icons inside mega menu links */
#site-header .mega-menu-link>i,
#site-header .mega-menu-link>span.mega-menu-icon,
#site-header .mega-menu-link>img.mega-menu-icon,
#site-header .mega-menu-link .mega-menu-icon,
#site-header .mega-menu-link>span[class*="dashicons"],
#site-header .mega-menu-link>span[class*="fa"],
#site-header .mega-menu-link>.mega-indicator {
	display: none !important;
}

/* Dashicons rendered as ::before on the <a> tag itself (Max Mega Menu) */
#site-header a.mega-menu-link[class*="dashicons"]::before,
#site-header a.mega-menu-link[class*="dashicons"]::after {
	display: none !important;
	content: none !important;
}

/* Also hide icons from sareo-nav-list (non-mega-menu fallback) */
.sareo-nav-list>li>a>i,
.sareo-nav-list>li>a>span[class*="fa"],
.sareo-nav-list>li>a>span[class*="icon"] {
	display: none !important;
}

/* Keep mega-menu container at natural width */
header#site-header .mega-menu-wrap {
	width: auto !important;
	position: static !important;
}

/* Force specific alignment for the Brand mega menu dropdown */
header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-megamenu {
	position: relative !important;
}

header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-megamenu>ul.mega-sub-menu {
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: max-content !important;
	min-width: 200px !important;
	max-width: 100vw !important;
	padding: 12px 30px !important;
	margin: 0 !important;
}

/* Specific targeting for item-71 (Brand) to anchor it correctly */
header#site-header ul.mega-menu.mega-menu-horizontal>li#mega-menu-item-71 {
	position: relative !important;
}

header#site-header ul.mega-menu.mega-menu-horizontal>li#mega-menu-item-71>ul.mega-sub-menu {
	position: absolute !important;
	top: calc(100% + 4px) !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	right: auto !important;
	margin-top: 0 !important;
	background: #f5f5f5 !important;
	border: 1px solid #e5e5e5 !important;
}

/* Override Bootstrap grid for the Brands shortcode inside the Mega Menu */
header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-megamenu>ul.mega-sub-menu #brands_a_z .row {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 30px !important;
	justify-content: flex-start !important;
}

header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-megamenu>ul.mega-sub-menu #brands_a_z .row>[class*="col-"] {
	width: auto !important;
	flex: 0 0 auto !important;
	max-width: none !important;
	padding: 0 !important;
}

/* Hide hamburger on desktop */
header#site-header .mega-menu-toggle {
	display: none !important;
}

@media (max-width: 991px) {
	header#site-header .mega-menu-toggle {
		display: flex !important;
	}

	header#site-header ul.mega-menu.mega-menu-horizontal {
		display: none !important;
	}
}

/* On mobile (max-width: 768px): also hide the Mega Menu plugin toggle + wrap entirely */
@media (max-width: 768px) {

	/* Hide the Mega Menu plugin's own hamburger toggle */
	header#site-header .mega-menu-toggle,
	#site-header .mega-menu-toggle {
		display: none !important;
	}

	/* Hide the Mega Menu wrapper (nav container) */
	header#site-header .mega-menu-wrap,
	#site-header .mega-menu-wrap {
		display: none !important;
	}

	/* Also hide any direct nav element wrapping our menu */
	header#site-header .sareo-header__nav,
	#site-header .sareo-header__nav {
		display: none !important;
	}

	/* Fix: prevent header from clipping logo */
	header#site-header,
	#site-header {
		overflow: visible !important;
	}
}



/* ============================================================
   FLOATING HEADER — Compact Scrolled State
   Class sareo-header--scrolled toggled via JS scroll listener.
   Desktop: collapses from 2-row (logo + nav) to 1-row compact.
   Mobile: already compact, only shadow enhancement.
   ============================================================ */

/* Smooth transitions */
header#site-header,
#site-header {
	transition: box-shadow 0.28s ease;
}
header#site-header .sareo-header__inner,
#site-header .sareo-header__inner {
	transition: padding 0.28s ease;
}
header#site-header .sareo-header__center,
#site-header .sareo-header__center {
	transition: padding 0.28s ease;
}
header#site-header .sareo-header__logo-link img,
header#site-header .sareo-header__logo-link svg,
#site-header .sareo-header__logo-link img,
#site-header .sareo-header__logo-link svg {
	transition: height 0.28s ease, max-height 0.28s ease;
}

/* ── Desktop scrolled: collapse to single row ── */
@media (min-width: 992px) {
	header#site-header.sareo-header--scrolled,
	#site-header.sareo-header--scrolled {
		box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1) !important;
	}
	header#site-header.sareo-header--scrolled .sareo-header__inner,
	#site-header.sareo-header--scrolled .sareo-header__inner {
		grid-template-areas: "logo search nav actions" !important;
		grid-template-columns: auto auto 1fr auto !important;
		grid-template-rows: 52px !important;
		padding: 0 24px !important;
	}
	header#site-header.sareo-header--scrolled .sareo-header__center,
	#site-header.sareo-header--scrolled .sareo-header__center {
		justify-self: start !important;
		justify-content: flex-start !important;
		padding: 0 16px 0 0 !important;
	}
	header#site-header.sareo-header--scrolled .sareo-header__logo-link img,
	header#site-header.sareo-header--scrolled .sareo-header__logo-link svg,
	#site-header.sareo-header--scrolled .sareo-header__logo-link img,
	#site-header.sareo-header--scrolled .sareo-header__logo-link svg {
		height: 34px !important;
		max-height: 34px !important;
	}
	/* Hide full search form, show icon-only toggle that opens the search overlay */
	header#site-header.sareo-header--scrolled .sareo-header__left,
	#site-header.sareo-header--scrolled .sareo-header__left {
		display: none !important;
	}
	header#site-header.sareo-header--scrolled .sareo-mobile-search-toggle,
	#site-header.sareo-header--scrolled .sareo-mobile-search-toggle {
		display: flex !important;
		grid-area: search !important;
		align-items: center !important;
		gap: 7px !important;
		height: 36px !important;
		padding: 0 14px 0 12px !important;
		margin-right: 8px !important;
		background: var(--sareo-neutral-100) !important;
		border: 1.5px solid var(--sareo-neutral-300) !important;
		border-radius: 18px !important;
		color: var(--sareo-neutral-500) !important;
		font-size: 13px !important;
		font-family: var(--sareo-font-main) !important;
		cursor: pointer !important;
		white-space: nowrap !important;
		transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.15s ease !important;
	}
	header#site-header.sareo-header--scrolled .sareo-mobile-search-toggle:hover,
	#site-header.sareo-header--scrolled .sareo-mobile-search-toggle:hover {
		border-color: var(--sareo-gold) !important;
		background: var(--sareo-gold-light) !important;
		color: var(--sareo-gold-dark) !important;
	}
	header#site-header.sareo-header--scrolled .sareo-mobile-search-toggle:active,
	#site-header.sareo-header--scrolled .sareo-mobile-search-toggle:active {
		transform: scale(0.96) !important;
	}
	header#site-header.sareo-header--scrolled .sareo-mobile-search-toggle__icon,
	#site-header.sareo-header--scrolled .sareo-mobile-search-toggle__icon {
		font-size: 12px !important;
		flex-shrink: 0 !important;
	}
	header#site-header.sareo-header--scrolled .sareo-mobile-search-toggle__hint,
	#site-header.sareo-header--scrolled .sareo-mobile-search-toggle__hint {
		font-size: 13px !important;
		font-weight: var(--sareo-weight-normal) !important;
		letter-spacing: 0 !important;
	}
	header#site-header.sareo-header--scrolled .sareo-header__right,
	#site-header.sareo-header--scrolled .sareo-header__right {
		padding-top: 0 !important;
	}
	header#site-header.sareo-header--scrolled .sareo-header__nav,
	#site-header.sareo-header--scrolled .sareo-header__nav {
		align-items: center !important;
	}
}

/* ── Mobile scrolled: shadow enhancement only (already compact) ── */
@media (max-width: 991px) {
	header#site-header.sareo-header--scrolled,
	#site-header.sareo-header--scrolled {
		box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
	}
}

/* ── Search overlay: allow on desktop when compact header is active ── */
header#site-header.sareo-header--scrolled .sareo-mobile-search {
	display: block;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.25s ease;
	background: #fff;
	border-bottom: 1px solid #eee;
}
header#site-header.sareo-header--scrolled .sareo-mobile-search.is-open {
	max-height: 70px !important;
}
header#site-header.sareo-header--scrolled .sareo-mobile-search__form {
	display: flex;
	align-items: center;
	padding: 10px 24px;
	gap: 10px;
	max-width: 600px;
	margin: 0 auto;
}
header#site-header.sareo-header--scrolled .sareo-mobile-search__icon {
	color: #999;
	font-size: 16px;
	flex-shrink: 0;
}
header#site-header.sareo-header--scrolled .sareo-mobile-search__input {
	flex: 1;
	border: none;
	outline: none;
	font-size: 15px;
	color: #333;
	background: transparent;
	padding: 8px 0;
	font-family: var(--sareo-font-main);
}
header#site-header.sareo-header--scrolled .sareo-mobile-search__close {
	display: flex;
	align-items: center;
	justify-content: center;
	background: none;
	border: none;
	color: #999;
	font-size: 16px;
	cursor: pointer;
	padding: 4px;
}

/* ── Admin bar offset ── */
.admin-bar header#site-header,
.admin-bar #site-header {
	top: 32px !important;
}
@media screen and (max-width: 782px) {
	.admin-bar header#site-header,
	.admin-bar #site-header {
		top: 46px !important;
	}
}

/* Brand strip: force horizontal */
.sareo-brand-strip {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
}

.sareo-brand-item {
	display: inline-flex !important;
}

/* Success stories: force 4-col grid */
.sareo-stories-grid {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 991px) {
	.sareo-stories-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	header#site-header .sareo-header__inner,
	#site-header .sareo-header__inner {
		grid-template-columns: 1fr 1fr !important;
		height: 60px !important;
	}

	#site-header .sareo-header__left {
		display: none !important;
	}

	/* Promo bar: font lebih kecil di tablet */
	.sareo-promo-bar {
		font-size: 12px !important;
		padding: 6px 40px !important;
	}

	.sareo-promo-bar__cta {
		font-size: 13px !important;
	}
}

@media (max-width: 575px) {
	.sareo-stories-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ============================================================
   RESPONSIVE: Mobile (max-width: 768px)
   Promo Bar & Header Layout
   ============================================================ */
@media (max-width: 768px) {

	/* Promo Bar: satu baris saja, ikon > tetap muncul di kanan */
	.sareo-promo-bar {
		padding: 5px 36px 5px 12px !important;
		font-size: 11px !important;
		text-align: left !important;
	}

	.sareo-promo-bar__inner {
		justify-content: flex-start !important;
		gap: 4px !important;
	}

	.sareo-promo-bar__cta {
		font-size: 11px !important;
		letter-spacing: 0.5px !important;
	}

	.sareo-promo-bar__close {
		right: 10px !important;
		font-size: 16px !important;
	}

	/* ─── Mobile Header Layout ─── */

	/* Hide desktop nav & right actions on mobile */
	.sareo-header__nav,
	header#site-header .sareo-header__nav,
	#site-header .sareo-header__nav {
		display: none !important;
	}

	/* Show cart icon + language switcher on mobile (was fully hidden).
	   Login/Register/Logout buttons stay hidden — those are in mobile menu. */
	.sareo-header__right,
	header#site-header .sareo-header__right,
	#site-header .sareo-header__right {
		display: flex !important;
		align-items: center !important;
		gap: 12px !important;
		margin-left: auto !important;
		flex-shrink: 0 !important;
		min-height: 40px !important;
	}

	.sareo-header-icon[title="Cart"],
	.sareo-header-icon[href*="cart"] {
		display: flex !important;
		align-items: center !important;
		min-height: 40px !important;
	}

	/* Hide Login / Register / Logout text buttons on mobile */
	.sareo-header__right .sareo-header-btn {
		display: none !important;
	}

	.sareo-header__left,
	header#site-header .sareo-header__left,
	#site-header .sareo-header__left {
		display: none !important;
	}

	/* Header inner: flex row with relative positioning for absolute-centered logo */
	header#site-header .sareo-header__inner,
	#site-header .sareo-header__inner,
	.sareo-header__inner {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		position: relative !important;
		/* needed for absolute logo centering */
		padding: 10px 16px !important;
		height: auto !important;
		min-height: 60px !important;
		gap: 0 !important;
		grid-template-areas: unset !important;
		grid-template-columns: unset !important;
		grid-template-rows: unset !important;
	}

	/* Logo: flex-grow allowing natural centering WITHOUT overlapping right actions */
	header#site-header .sareo-header__center,
	#site-header .sareo-header__center,
	.sareo-header__center {
		position: static !important;
		transform: none !important;
		left: auto !important;
		display: flex !important;
		flex-grow: 1 !important;
		justify-content: center !important;
		align-items: center !important;
		pointer-events: auto !important;
	}

	/* Scale down language switcher & cart slightly on mobile to fit nicely */
	.sareo-header__right .sareo-header-icon {
		font-size: 16px !important;
	}

	.sareo-header__right .sareo-header-badge {
		font-size: 9px !important;
		min-width: 15px !important;
		height: 15px !important;
		top: -5px !important;
		right: -5px !important;
	}

	/* Language switcher: align-self:center ensures it centers inside the flex parent
	   regardless of how parent uses min-height vs height */
	.sareo-header-lang-trp {
		margin: 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		align-self: center !important;
		padding: 0 !important;
		flex-shrink: 0 !important;
	}

	/* Size the visible button compact — applies to both anchor (sizing) and overlay (visible) */
	.sareo-header-lang-trp .trp-current-language-item__wrapper {
		padding: 2px 8px !important;
		min-height: 28px !important;
		box-sizing: border-box !important;
		display: flex !important;
		align-items: center !important;
	}

	/* IMPORTANT: anchor must stay in flow (visibility:hidden, NOT display:none).
	   The overlay (position:absolute) positions itself relative to the anchor.
	   If anchor is display:none → wrapper width=0 → overlay floats off-screen! */
	.sareo-header-lang-trp .trp-shortcode-anchor {
		visibility: hidden !important;
		pointer-events: none !important;
	}

	/* Overlay: top:0 means it starts at top of the wrapper (anchor provides sizing),
	   dropdown list expands DOWNWARD naturally when opened.
	   NO translateY — that caused dropdown to appear to "open upward" when expanded */
	.sareo-header-lang-trp .trp-shortcode-overlay {
		top: 0 !important;
		transform: none !important;
		left: auto !important;
		right: 0 !important;
		overflow: visible !important;
	}

	/* Dropdown list: right-align so it doesn't overflow right edge of viewport */
	.sareo-header-lang-trp .trp-switcher-dropdown-list {
		right: 0 !important;
		left: auto !important;
	}

	/* Make logo link itself clickable again */
	header#site-header .sareo-header__logo-link,
	#site-header .sareo-header__logo-link,
	.sareo-header__logo-link {
		pointer-events: auto !important;
	}

	/* Logo size on mobile */
	header#site-header .sareo-header__logo-link img,
	#site-header .sareo-header__logo-link img,
	.sareo-header__logo-link img,
	.sareo-header__logo-link svg {
		height: 40px !important;
		max-height: 40px !important;
		width: auto !important;
		max-width: 180px !important;
	}

	/* Hide VK Mobile Nav toggle (parent theme) — we use our own hamburger */
	#vk-mobile-nav-btn,
	.vk-mobile-nav--btn-toggle,
	.vk-mobile-nav-wrapper__btn {
		display: none !important;
	}

	/* Show mobile toggle button on mobile */
	.sareo-mobile-toggle {
		display: flex !important;
	}

	/* Show mobile nav drawer container (max-height controls open/close) */
	.sareo-mobile-nav {
		display: block !important;
	}

	/* Position header as sticky on mobile — floats after promo bar scrolls away */
	header#site-header.sareo-header,
	#site-header {
		position: sticky !important;
		top: 0 !important;
		overflow: visible !important;
	}

	/* Aggressively hide Mega Menu plugin toggle at mobile */
	header#site-header .mega-menu-toggle,
	#site-header .mega-menu-toggle,
	.mega-menu-toggle,
	[class*="mega-menu-toggle"] {
		display: none !important;
		visibility: hidden !important;
		width: 0 !important;
		height: 0 !important;
		overflow: hidden !important;
	}

	/* ─── 3.5 Promo Banners: stack vertically on mobile ─── */
	/* Fix left space: zero out Elementor e-con-inner padding inside promo banner section */
	.elementor-element-15dca57>.e-con-inner,
	.elementor-element-f9e6249>.e-con-inner,
	.elementor-element-163015a>.e-con-inner,
	.elementor-element-af7b612>.e-con-inner,
	.elementor-element-5467777>.e-con-inner {
		padding: 0 !important;
		max-width: 100% !important;
	}

	/* Parent container: column stack, 8px gap between banner 1→2 */
	.elementor-element-15dca57 {
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		gap: 8px !important;
		row-gap: 8px !important;
	}

	/* Left column (Je-nauli large banner) */
	.elementor-element-f9e6249 {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: unset !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Right column (hypure + HONIQ stack), 8px gap between banner 2→3 */
	.elementor-element-163015a {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: unset !important;
		flex-direction: column !important;
		padding: 0 !important;
		margin: 0 !important;
		gap: 8px !important;
		row-gap: 8px !important;
	}

	.elementor-element-af7b612,
	.elementor-element-5467777 {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		min-height: unset !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* All promo banner images: natural aspect ratio, no stretching */
	.elementor-element-15dca57 img,
	.elementor-element-f9e6249 img,
	.elementor-element-163015a img,
	.elementor-element-af7b612 img,
	.elementor-element-5467777 img {
		width: 100% !important;
		height: auto !important;
		object-fit: cover !important;
		display: block !important;
	}
}



/* ============================================================
   LANGUAGE SWITCHER: fix untuk TranslatePress versi baru
   Class asli: .trp-shortcode-switcher__wrapper
   ============================================================ */

/* Wrapper .sareo-header-lang-trp: inline-flex agar masuk dalam flow */
.sareo-header-lang-trp {
	display: inline-flex !important;
	align-items: center !important;
	position: relative !important;
	/* konteks untuk dropdown absolute */
	flex-shrink: 0;
}

/*
 * Jangan paksa position: static pada children TRP!
 * Elemen OVERLAY TranslatePress harus tetap position: absolute/fixed
 * agar tidak ikut merender dalam flow dan terlihat sebagai tombol kedua.
 */
.sareo-header-lang-trp .trp-shortcode-switcher__wrapper {
	display: inline-flex !important;
	align-items: center !important;
	flex-shrink: 0;
	/* JANGAN set position: static di sini */
}

/* Samakan ukuran language switcher dengan tombol Login & Register */
.sareo-header-lang-trp .trp-shortcode-switcher__wrapper,
.sareo-header-lang-trp [class*="trp-shortcode-switcher"] {
	font-size: 13px !important;
	font-weight: 600 !important;
	border-radius: 4px !important;
	min-height: 31px !important;
	/* match height tombol Login/Register */
}

/* Padding pada ANCHOR element (tombol yang terlihat) */
.sareo-header-lang-trp .trp-shortcode-switcher__anchor {
	padding: 5px 10px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	border-radius: 4px !important;
	min-height: 31px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 4px !important;
}

/* TranslatePress v2: override padding & font pada current language wrapper */
.sareo-header-lang-trp .trp-current-language-item__wrapper {
	padding: 5px 10px !important;
	min-height: 31px !important;
	box-sizing: border-box !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	justify-content: center !important;
}

/* TranslatePress v2: sesuaikan font teks bahasa currentnya */
.sareo-header-lang-trp .trp-language-item-name {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #333 !important;
}

/* TranslatePress v2: override padding item di ANCHOR / shortcode */
.sareo-header-lang-trp .trp-shortcode-switcher .trp-language-item {
	padding: 5px 10px !important;
	min-height: 21px !important;
}

/* Pastikan switcher shortcode tidak punya extra padding */
.sareo-header-lang-trp .trp-shortcode-switcher {
	padding: 0 !important;
}

/* Fix white space gap above content when scrolling (overrides theme JS header_scrolled margin) */
body.header_scrolled .elementor-location-header+*,
body.header_scrolled header#site-header+* {
	margin-top: 0 !important;
}

/* --- 3.4 Brand Logos Strip --- */
.brand-logo-strip {
	background-color: transparent !important;
	padding: 20px 0 !important;
	border: 1px solid #ccc !important;
	width: 100% !important;
}

.brand-logo-strip .swiper-slide {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 15px;
}

/* Center images and apply optional visual effects */
.brand-logo-strip .swiper-slide img {
	max-height: 50px;
	width: auto;
	object-fit: contain;
	transition: all 0.3s ease;
}

/* Optional hover effect on logos */
.brand-logo-strip .swiper-slide:hover img {
	transform: scale(1.05);
}

/* ============================================================
   9. FEATURED PRODUCTS CUSTOM UI
   ============================================================ */

/* Background Color for the section like the mockup */
body.home .woocommerce.columns-4,
body.tax-product_brand.woocommerce.columns-4,
body.tax-product_brand.woocommerce.columns-4 {
	background-color: #f7f9fc !important;
	padding: 20px !important;
	border-radius: 12px !important;
}

/* The product Card container */
body.home .woocommerce ul.products li.product {
	background: #f9f9f9 !important;
	padding: 0 !important;
	padding-bottom: 68px !important;
	/* space for the absolute button */
	margin-bottom: 30px !important;
	text-align: left !important;
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: hidden !important;
	border: 1px solid #e5e5e5 !important;
}

body.post-type-archive-product.woocommerce ul.products li.product,
body.woocommerce-shop.woocommerce ul.products li.product,
body.tax-product_brand.woocommerce ul.products li.product {
	background: #f9f9f9 !important;
	padding: 0 !important;
	padding-bottom: 88px !important;
	/* space for the absolute button */
	margin-bottom: 30px !important;
	text-align: left !important;
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: hidden !important;
	border: 1px solid #e5e5e5 !important;
}

/* Override wpautop P tags inside the product card */
body.home .woocommerce ul.products li.product p,
body.post-type-archive-product.woocommerce ul.products li.product p,
body.woocommerce-shop.woocommerce ul.products li.product p,
body.tax-product_brand.woocommerce ul.products li.product p {
	margin: 0 !important;
	padding: 0 !important;
}

/* Badge Styling */
body.home .woocommerce ul.products li.product .sareo-bestseller-badge,
body.post-type-archive-product.woocommerce ul.products li.product .sareo-bestseller-badge,
body.woocommerce-shop.woocommerce ul.products li.product .sareo-bestseller-badge,
body.tax-product_brand.woocommerce ul.products li.product .sareo-bestseller-badge {
	display: none !important;
}

/* Image container */
body.home .woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
body.post-type-archive-product.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
body.woocommerce-shop.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
body.tax-product_brand.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail {
	margin-bottom: 0 !important;
	padding: 0 !important;
	display: block !important;
	margin: 0 auto !important;
	background: transparent !important;
	object-fit: contain !important;
	aspect-ratio: 1/1 !important;
	width: 100% !important;
	mix-blend-mode: multiply !important;
}

/* Hide Heart Icon / Wishlist — only on brand archive, not home */
body.tax-product_brand.woocommerce ul.products li.product .icon_above_image,
body.tax-product_brand.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
body.home .woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
body.post-type-archive-product.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
body.woocommerce-shop.woocommerce ul.products li.product .yith-wcwl-add-to-wishlist,
body.tax-product_brand.woocommerce ul.products li.product .tinv-wraper,
body.home .woocommerce ul.products li.product .tinv-wraper,
body.post-type-archive-product.woocommerce ul.products li.product .tinv-wraper,
body.woocommerce-shop.woocommerce ul.products li.product .tinv-wraper,
body.home .woocommerce ul.products li.product .tinvwl_add_to_wishlist_button,
body.tax-product_brand.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button,
body.post-type-archive-product.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button,
body.woocommerce-shop.woocommerce ul.products li.product .tinvwl_add_to_wishlist_button {
	display: none !important;
}

/* WT WooCommerce Wishlist — circular button, top-right corner of product card */
.woocommerce ul.products li.product .icon_above_image {
	position: absolute !important;
	top: 8px !important;
	right: 8px !important;
	z-index: 20 !important;
	width: 32px !important;
	height: 32px !important;
	background: rgba(255, 255, 255, 0.95) !important;
	border-radius: 50% !important;
	border: 1.5px solid rgba(200, 169, 126, 0.25) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10) !important;
	transition: background 0.2s, border-color 0.2s, box-shadow 0.2s !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Hover: gold border — matches header icon hover */
.woocommerce ul.products li.product .icon_above_image:hover {
	background: #fff !important;
	border-color: var(--sareo-gold) !important;
	box-shadow: 0 3px 10px rgba(200, 169, 126, 0.25) !important;
}

/* In-wishlist: red border — JS sets data-action="remove" on <i> after AJAX */
.woocommerce ul.products li.product .icon_above_image:has(i[data-action="remove"]) {
	border-color: #e94a4a !important;
}

.woocommerce ul.products li.product .icon_above_image>a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 100% !important;
}

/* <i> renders the heart as an SVG background-image — bypasses the plugin PNG */
.woocommerce ul.products li.product .icon_above_image i {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") no-repeat center / contain !important;
	flex-shrink: 0 !important;
}

/* In-wishlist: red filled heart — JS changes data-action to "remove" on AJAX success */
.woocommerce ul.products li.product .icon_above_image i[data-action="remove"] {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e94a4a' stroke='%23e94a4a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E") !important;
}

/* Hide the plugin's PNG — <img> stays in DOM for JS AJAX, but invisible */
.woocommerce ul.products li.product .icon_above_image img {
	position: absolute !important;
	opacity: 0 !important;
	width: 0 !important;
	height: 0 !important;
	pointer-events: none !important;
}

/* Hide stray <br> and "View wishlist" link */
.woocommerce ul.products li.product .icon_above_image br,
.woocommerce ul.products li.product .browse_wishlist {
	display: none !important;
}

/* Rating Wrap */
body.home .sareo-product-rating-wrap,
body.post-type-archive-product .sareo-product-rating-wrap,
body.woocommerce-shop .sareo-product-rating-wrap,
body.tax-product_brand .sareo-product-rating-wrap {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px !important;
	margin: 25px 20px 10px !important;
	flex-wrap: wrap !important;
}

/* wpautop wrapping the review count */
body.home .sareo-product-rating-wrap p,
body.post-type-archive-product .sareo-product-rating-wrap p,
body.woocommerce-shop .sareo-product-rating-wrap p,
body.tax-product_brand .sareo-product-rating-wrap p {
	display: inline-flex !important;
	margin: 0 !important;
}

body.home .sareo-stars,
body.post-type-archive-product .sareo-stars,
body.woocommerce-shop .sareo-stars,
body.tax-product_brand .sareo-stars {
	color: #f5c518 !important;
	font-size: 15px !important;
	line-height: 1 !important;
	letter-spacing: 1px !important;
	display: inline-block !important;
	width: auto !important;
}

body.home .sareo-star.filled,
body.post-type-archive-product .sareo-star.filled,
body.woocommerce-shop .sareo-star.filled,
body.tax-product_brand .sareo-star.filled {
	color: #f5c518 !important;
}

body.home .sareo-star,
body.post-type-archive-product .sareo-star,
body.woocommerce-shop .sareo-star,
body.tax-product_brand .sareo-star {
	color: #eaeaea !important;
}

/* Push review count down to center with stars */
body.home .sareo-review-count,
body.post-type-archive-product .sareo-review-count,
body.woocommerce-shop .sareo-review-count,
body.tax-product_brand .sareo-review-count {
	font-size: 12px !important;
	color: #666 !important;
	line-height: 1 !important;
	font-weight: 500 !important;
	position: relative !important;
	top: -1px;
}

/* Product title */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.woocommerce-shop.woocommerce ul.products li.product .woocommerce-loop-product__title,
body.tax-product_brand.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0 20px 10px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #222 !important;
	line-height: 1.4 !important;
	text-align: left !important;
	margin-bottom: 0 !important;
}

/* Product price and its implicit P wrapper */
body.home .woocommerce ul.products li.product>p,
body.post-type-archive-product.woocommerce ul.products li.product>p,
body.woocommerce-shop.woocommerce ul.products li.product>p,
body.tax-product_brand.woocommerce ul.products li.product>p {
	text-align: left !important;
	margin-bottom: 0 !important;
	margin-top: 0 !important;
	width: 100% !important;
}

/* Force broken anchor tags wrapping the price to behave normally */
body.home .woocommerce ul.products li.product a.woocommerce-LoopProduct-link:not(:first-child),
body.post-type-archive-product.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:not(:first-child),
body.woocommerce-shop.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:not(:first-child),
body.tax-product_brand.woocommerce ul.products li.product a.woocommerce-LoopProduct-link:not(:first-child) {
	color: #222 !important;
	text-align: left !important;
	display: block !important;
	width: 100% !important;
	text-decoration: none !important;
}

body.home .woocommerce ul.products li.product .price,
body.post-type-archive-product.woocommerce ul.products li.product .price,
body.woocommerce-shop.woocommerce ul.products li.product .price,
body.tax-product_brand.woocommerce ul.products li.product .price {
	display: block !important;
	position: static !important;
	left: auto !important;
	margin-left: 0 !important;
	padding: 0 20px 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #222 !important;
	text-align: left !important;
	margin: 0 !important;
	width: 100% !important;
}

body.home .woocommerce ul.products li.product .price span.amount,
body.post-type-archive-product.woocommerce ul.products li.product .price span.amount,
body.woocommerce-shop.woocommerce ul.products li.product .price span.amount,
body.tax-product_brand.woocommerce ul.products li.product .price span.amount,
body.home .woocommerce ul.products li.product .price span.woocommerce-Price-currencySymbol,
body.post-type-archive-product.woocommerce ul.products li.product .price span.woocommerce-Price-currencySymbol,
body.woocommerce-shop.woocommerce ul.products li.product .price span.woocommerce-Price-currencySymbol,
body.tax-product_brand.woocommerce ul.products li.product .price span.woocommerce-Price-currencySymbol,
body.home .woocommerce ul.products li.product .price bdi,
body.post-type-archive-product.woocommerce ul.products li.product .price bdi,
body.woocommerce-shop.woocommerce ul.products li.product .price bdi,
body.tax-product_brand.woocommerce ul.products li.product .price bdi {
	color: #222 !important;
	text-align: left !important;
	font-size: inherit !important;
}

/* Hide Sales text & Short Description & Compare & QuickView */
body.home .woocommerce ul.products li.product .sold-count,
body.post-type-archive-product.woocommerce ul.products li.product .sold-count,
body.woocommerce-shop.woocommerce ul.products li.product .sold-count,
body.tax-product_brand.woocommerce ul.products li.product .sold-count,
body.home .woocommerce ul.products li.product .woocommerce-product-details__short-description,
body.post-type-archive-product.woocommerce ul.products li.product .woocommerce-product-details__short-description,
body.woocommerce-shop.woocommerce ul.products li.product .woocommerce-product-details__short-description,
body.tax-product_brand.woocommerce ul.products li.product .woocommerce-product-details__short-description,
body.home .woocommerce ul.products li.product .compare.button,
body.post-type-archive-product.woocommerce ul.products li.product .compare.button,
body.woocommerce-shop.woocommerce ul.products li.product .compare.button,
body.tax-product_brand.woocommerce ul.products li.product .compare.button,
body.home .woocommerce ul.products li.product .yith-wcqv-button,
body.post-type-archive-product.woocommerce ul.products li.product .yith-wcqv-button,
body.woocommerce-shop.woocommerce ul.products li.product .yith-wcqv-button,
body.tax-product_brand.woocommerce ul.products li.product .yith-wcqv-button {
	display: none !important;
}

/* Add to Cart button */
body.home .woocommerce ul.products li.product a.button.add_to_cart_button,
body.post-type-archive-product.woocommerce ul.products li.product a.button.add_to_cart_button,
body.woocommerce-shop.woocommerce ul.products li.product a.button.add_to_cart_button,
body.tax-product_brand.woocommerce ul.products li.product a.button.add_to_cart_button,
body.home .woocommerce ul.products li.product a.button.product_type_simple,
body.post-type-archive-product.woocommerce ul.products li.product a.button.product_type_simple,
body.woocommerce-shop.woocommerce ul.products li.product a.button.product_type_simple,
body.tax-product_brand.woocommerce ul.products li.product a.button.product_type_simple,
body.home .woocommerce ul.products li.product a.button.product_type_variable,
body.post-type-archive-product.woocommerce ul.products li.product a.button.product_type_variable,
body.woocommerce-shop.woocommerce ul.products li.product a.button.product_type_variable,
body.tax-product_brand.woocommerce ul.products li.product a.button.product_type_variable {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 44px !important;
	padding: 0 !important;
	background: #c8a97e !important;
	color: #fff !important;
	text-align: center !important;
	border: 2px solid #c8a97e !important;
	border-radius: 0 !important;
	box-sizing: border-box !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	transition: all 0.2s !important;

	/* Force visibility */
	opacity: 1 !important;
	visibility: visible !important;

	/* Absolute position at bottom */
	transform: none !important;
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	box-shadow: none !important;
	float: none !important;
	margin: 0 !important;
	margin-top: -10px !important;
	z-index: 5 !important;
}

body.home .woocommerce ul.products li.product a.button::after,
body.post-type-archive-product.woocommerce ul.products li.product a.button::after,
body.woocommerce-shop.woocommerce ul.products li.product a.button::after,
body.tax-product_brand.woocommerce ul.products li.product a.button::after {
	display: none !important;
	/* Hide Storefront cart icon */
	content: none !important;
}

body.home .woocommerce ul.products li.product a.button::before,
body.post-type-archive-product.woocommerce ul.products li.product a.button::before,
body.woocommerce-shop.woocommerce ul.products li.product a.button::before,
body.tax-product_brand.woocommerce ul.products li.product a.button::before {
	display: none !important;
	content: none !important;
}

body.home .woocommerce ul.products li.product a.button:hover,
body.post-type-archive-product.woocommerce ul.products li.product a.button:hover,
body.woocommerce-shop.woocommerce ul.products li.product a.button:hover,
body.tax-product_brand.woocommerce ul.products li.product a.button:hover {
	background: #b8956a !important;
	border-color: #b8956a !important;
	color: #fff !important;
}

/* Remove Storefront's hover effects which might hide buttons or zoom */
body.home .woocommerce ul.products li.product:hover,
body.post-type-archive-product.woocommerce ul.products li.product:hover,
body.woocommerce-shop.woocommerce ul.products li.product:hover,
body.tax-product_brand.woocommerce ul.products li.product:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
	transform: none !important;
}

/* Promo Banners Elementor Helper */
.sareo-promo-masonry {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 20px;
}

.sareo-promo-masonry img {
	width: 100%;
	height: 100%;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.sareo-promo-right {
	display: flex;
	flex-direction: column;
	gap: 20px;
	height: 100%;
}

.sareo-promo-right-item {
	flex: 1;
	min-height: 0;
	/* Prevents flex item from expanding past image intrinsic height */
	height: 100%;
}

/* Force Promo Container to stretch to 1440px to align with products section */
.e-con:has(.elementor-widget-sareo_promo_banners),
.e-con-inner:has(.elementor-widget-sareo_promo_banners) {
	max-width: 1440px !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

@media (max-width: 768px) {
	.sareo-promo-masonry {
		grid-template-columns: 1fr;
	}

	.sareo-promo-right-item {
		height: auto;
	}

	.sareo-promo-right-item img {
		height: auto;
		/* Let it scale naturally */
	}

	.sareo-promo-left img {
		height: auto;
	}
}

/* ============================================================
   FOOTER HEADING OVERRIDES - Remove base-theme grey background from h4
   ============================================================ */
.sareo-footer h4.sareo-footer__col-title,
.sareo-footer .sareo-footer__col h4,
footer.sareo-footer h4.sareo-footer__col-title,
footer .sareo-footer__col h4 {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 0 6px 0 !important;
	margin: 0 0 14px 0 !important;
	display: block !important;
}

/* 2. Brand Hero Banner */
.sareo-brand-banner--custom {
	width: 100%;
	margin-bottom: 30px;
	border-radius: 0;
	overflow: hidden;
	display: block;
	background: #f4f4f4;
}

.sareo-brand-banner--custom img {
	width: 100%;
	height: auto;
	max-height: 400px;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.sareo-brand-banner--auto {
	display: flex;
	gap: 16px;
	padding: 20px 0;
	margin-bottom: 30px;
	overflow-x: auto;
	scrollbar-width: none;
}

.sareo-brand-banner--auto::-webkit-scrollbar {
	display: none;
}

.sareo-brand-banner-item {
	flex: 0 0 calc(20% - 13px);
	aspect-ratio: 1/1;
	border-radius: 8px;
	overflow: hidden;
	background: #f8f8f8;
}

.sareo-brand-banner-item img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 10px;
}

/* ============================================================
   MEGA MENU: Override blue (#109cde) → brand black for underline
   active, hovered, and open-submenu nav links
   ============================================================ */
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item>a.mega-menu-link:hover,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item>a.mega-menu-link:focus,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item.mega-toggle-on>a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item.mega-current-menu-ancestor>a.mega-menu-link,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item.mega-current-page-ancestor>a.mega-menu-link {
	border-color: var(--sareo-dark) !important;
}

/* Brand mega menu dropdown: brand name links hover → gold */
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-megamenu>ul.mega-sub-menu #brands_a_z ul.brands li a:hover,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-megamenu>ul.mega-sub-menu #brands_a_z ul.brands li a:focus {
	color: var(--sareo-gold) !important;
	text-decoration: none !important;
}

/* Force Brands MegaMenu Submenu Links to Black (Matches Home) — Specific override for Member Area */
#mega-menu-wrap-global-nav #mega-menu-global-nav ul.mega-sub-menu ul.brands li a,
.mega-menu-wrap .mega-sub-menu ul.brands li a {
    color: #000000 !important;
}

/* ============================================================
   SIDEBAR FILTERS - Custom Styling
   ============================================================ */

/* 1. Buttons (Search, Clear, Filter) */
.sub-section .wp-block-search__button,
.sub-section .button,
.sub-section button.wp-element-button,
.sub-section .wp-block-button__link,
.sub-section .woocommerce-widget-layered-nav-dropdown__submit {
	background: #000 !important;
	color: #fff !important;
	border: none !important;
	border-radius: 4px !important;
	padding: 10px 24px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	transition: background 0.2s ease !important;
	text-transform: none !important;
	box-shadow: none !important;
	display: inline-block !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
}

.sub-section .wp-block-search__button:hover,
.sub-section button.wp-element-button:hover,
.sub-section .wp-block-button__link:hover,
.sub-section .woocommerce-widget-layered-nav-dropdown__submit:hover {
	background: #333 !important;
}

/* 2. Active Filter Chips (Removable Chips) */
.sub-section .wc-block-product-filter-removable-chips {
	margin-top: 5px !important;
	margin-bottom: 30px !important;
}

.sub-section .wc-block-product-filter-removable-chips__items {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 12px !important;
	padding: 10px 0 !important;
	list-style: none !important;
	margin: 0 !important;
}

/* Chip style - transformed into pill tags */
.sub-section li.wc-block-product-filter-removable-chips__item,
.sub-section .wc-block-product-filter-removable-chips__item {
	background: #fff !important;
	border: 2px solid #000 !important;
	/* Thicker black border */
	border-radius: 40px !important;
	padding: 6px 16px !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 10px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #000 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
	transition: all 0.2s ease !important;
	margin: 0 !important;
	cursor: default !important;
}

.sub-section .wc-block-product-filter-removable-chips__item:hover {
	background: #fdfcf9 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

/* Remove button inside chip */
.sub-section .wc-block-product-filter-removable-chips__remove {
	background: #f0f0f0 !important;
	color: #000 !important;
	width: 24px !important;
	height: 24px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	transition: all 0.2s ease !important;
	margin-left: 6px !important;
	cursor: pointer !important;
	border: none !important;
}

.sub-section .wc-block-product-filter-removable-chips__item:hover .wc-block-product-filter-removable-chips__remove {
	background: #000 !important;
	color: #fff !important;
}

/* 3. Filter Titles Decoration */
.sub-section .widget-title,
.sub-section h2,
.sub-section h3.wp-block-heading,
.sub-section .wc-block-product-categories__title,
.sub-section .wc-block-category-filter__title,
.sub-section .wc-block-price-filter__title,
.sub-section .wc-block-attribute-filter__title,
.sub-section .wc-block-rating-filter__title,
.sub-section .wc-block-stock-filter__title {
	font-size: 13px !important;
	font-weight: 700 !important;
	color: #000 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	padding-bottom: 8px !important;
	margin-top: 15px !important;
	margin-bottom: 20px !important;
	border-bottom: 1px solid #aaa !important;
	display: block !important;
	width: 90% !important;
	position: relative !important;
}

/* 4. Checkbox list font size restoration (Nuclear) */
.sub-section .wc-block-product-filter-checkbox-list li {
	margin-bottom: 12px !important;
}

.sub-section .wc-block-product-filter-checkbox-list__label,
.sub-section .wc-block-product-filter-checkbox-list__text-wrapper,
.sub-section .wc-block-product-filter-checkbox-list__text {
	font-size: 16px !important;
	/* Restored font size */
	color: #222 !important;
	cursor: pointer !important;
	line-height: 1.4 !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	/* Smaller gap */
}

.sub-section .wc-block-product-filter-checkbox-list__item:hover .wc-block-product-filter-checkbox-list__label {
	color: #000 !important;
}

.sub-section .wc-block-product-filter-checkbox-list__input {
	accent-color: #000 !important;
	cursor: pointer !important;
	width: 20px !important;
	height: 20px !important;
	margin-right: 0 !important;
	/* Removed margin-right */
}

/* 5. Price Range Slider Colors */
.sub-section .wc-block-price-filter__range-input-progress {
	--range-color: #000 !important;
}

.sub-section .wc-block-price-filter__range-input {
	accent-color: #000 !important;
}

.sub-section .wc-block-product-filter-price-slider .text input[type=text] {
	font-weight: 600 !important;
	font-size: 15px !important;
	text-align: left !important;
}

.sub-section .wc-block-price-filter__range-input-wrapper {
	padding: 15px 0 !important;
}

/* Cleanup for titles with default theme underscores */
.sub-section .widget h2:after,
.sub-section .widget-title:after {
	display: none !important;
}

/* ── Sidebar search icon button (shop & brand archive pages) ── */
.sub-section .wp-block-search__no-button .wp-block-search__inside-wrapper {
	position: relative !important;
}

.sub-section .wp-block-search__no-button .wp-block-search__input {
	padding-left: 40px !important;
}

.sareo-search-submit-icon {
	position: absolute !important;
	left: 10px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: none !important;
	border: none !important;
	padding: 4px !important;
	margin: 0 !important;
	cursor: pointer !important;
	color: #888 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-shadow: none !important;
	line-height: 1 !important;
	transition: color 0.2s ease !important;
}

.sareo-search-submit-icon:hover {
	color: #000 !important;
}

/* ── No Products Found — Sareo brand style ── */
.sareo-no-products {
	text-align: center;
	padding: 64px 24px;
	max-width: 500px;
	margin: 0 auto;
}

.sareo-no-products__icon {
	font-size: 52px;
	color: var(--sareo-gold);
	margin-bottom: 28px;
	line-height: 1;
	opacity: 0.7;
}

.sareo-no-products__title {
	font-family: var(--sareo-font-sans) !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 3px !important;
	color: var(--sareo-dark) !important;
	margin: 0 0 20px !important;
	border-bottom: none !important;
	display: block !important;
	width: auto !important;
	padding-bottom: 0 !important;
}

/* Kill the origin3 theme ::after pseudo-element that adds a colored line under h3 */
.sareo-no-products__title::after {
	display: none !important;
	border-bottom: none !important;
	content: none !important;
}

.sareo-no-products__text {
	font-family: var(--sareo-font-sans);
	font-size: 15px;
	color: var(--sareo-grey);
	line-height: 1.8;
	margin: 0 0 36px;
}

.sareo-no-products__keyword {
	color: var(--sareo-dark);
	font-weight: 600;
}

.sareo-no-products__btn {
	display: inline-block;
	padding: 13px 36px;
	border: 2px solid var(--sareo-dark);
	color: var(--sareo-dark);
	font-family: var(--sareo-font-sans);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-decoration: none !important;
	transition: background 0.25s ease, color 0.25s ease;
}

.sareo-no-products__btn:hover {
	background: var(--sareo-dark);
	color: #fff !important;
}

/* 6. Sidebar Filter Background - Match Product Card Grey (#f9f9f9) */
.sub-section .my-woo-filters,
.tax-product_brand .my-woo-filters,
.post-type-archive-product .my-woo-filters,
.archive.shop .my-woo-filters {
	background-color: #f9f9f9 !important;
	padding: 24px !important;
	border-radius: 16px !important;
	border: 1px solid #eee !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* Ensure background remains grey even on smaller screens or different contexts */
.sub-section .widget_block .my-woo-filters,
.sub-section aside .my-woo-filters {
	background-color: #f9f9f9 !important;
}

/* 7. Product List Areas & Cards Background → White (#ffffff) */
/* Targeted selectors to override theme specific styles on Home, Shop, and Brand pages */

/* Product Cards Background - Reverted to Grey (#f9f9f9) as requested */
body.home .woocommerce ul.products li.product,
body.archive.tax-product_brand ul.products li.product,
body.woocommerce-shop.woocommerce ul.products li.product,
body.post-type-archive-product ul.products li.product,
li.product,
.wc-block-grid__product {
	background-color: #f9f9f9 !important;
	background: #f9f9f9 !important;
	border: 1px solid #eee !important;
	box-shadow: none !important;
}


/* Container Wrapper (Grid Area) Background */
body.home div.woocommerce.columns-4,
body.archive.tax-product_brand ul.products,
body.woocommerce-shop.woocommerce ul.products,
body.post-type-archive-product ul.products,
.front-page .woocommerce,
.archive.shop .products,
.archive.tax-product_brand .products {
	background-color: #ffffff !important;
	background: #ffffff !important;
}

/* ── Password Toggle ── */
.password-wrapper {
	position: relative;
	width: 100%;
}

.password-wrapper input {
	padding-right: 40px !important;
}

.password-toggle {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
	color: #999;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
	z-index: 5;
}

.password-toggle:hover {
	color: var(--sareo-gold, #c8a97e);
}

/* ============================================================
   8. REGISTER PAGE REFACTOR
   ============================================================ */

/* Force scrolling on portal pages */
body.post-name-member-registration,
body.post-name-member-login,
body.post-name-reset-password,
body.post-name-registrasi-berhasil {
	overflow: visible !important;
	overflow-x: hidden !important;
	position: relative !important;
	height: auto !important;
}

/* Ensure HTML allows standard scrolling */
html {
	overflow-y: auto !important;
}

/* ── Full-width breakout for registration page (Adjusted for site header) ── */
.post-name-member-registration .site-body-container.container,
.post-name-member-registration .site-body-container,
.post-name-member-registration .site-body,
.post-name-member-registration .main-section,
.post-name-member-registration .entry,
.post-name-member-registration .entry-body,
.post-name-member-login .site-body-container.container,
.post-name-member-login .site-body-container,
.post-name-member-login .site-body,
.post-name-member-login .main-section,
.post-name-member-login .entry,
.post-name-member-login .entry-body,
.post-name-member-registration .entry-body,
.post-name-reset-password .site-body-container.container,
.post-name-reset-password .site-body-container,
.post-name-reset-password .site-body,
.post-name-reset-password .main-section,
.post-name-reset-password .entry,
.post-name-reset-password .entry-body,
.post-name-registrasi-berhasil .site-body-container.container,
.post-name-registrasi-berhasil .site-body-container,
.post-name-registrasi-berhasil .site-body,
.post-name-registrasi-berhasil .main-section,
.post-name-registrasi-berhasil .entry,
.post-name-registrasi-berhasil .entry-body {
	max-width: 100% !important;
	width: 100% !important;
	margin: 0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	overflow: visible !important;
	min-height: auto !important; /* Menghilangkan celah putih karena 100vh */
	height: auto !important;
	display: block !important;
}

/* Hide theme's default title as requested */
.post-name-member-registration .page-header,
.post-name-member-registration .entry-header {
	display: none !important;
}

.post-name-member-registration .sareo-promo-bar,
.post-name-member-registration .sareo-header {
	display: block !important;
}

.post-name-member-registration .entry-content,
.post-name-member-registration .post-content {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 100% !important;
}

/* ── Auth pages: base reset ── */
html.post-name-member-login,
html.post-name-member-registration,
html.post-name-reset-password,
html.post-name-registrasi-berhasil,
html.post-name-daftar-mlm,
html.post-name-daftar-affiliate,
body.post-name-member-login,
body.post-name-member-registration,
body.post-name-reset-password,
body.post-name-registrasi-berhasil,
body.post-name-daftar-mlm,
body.post-name-daftar-affiliate {
    overflow-x: hidden !important;
}

/* ══════════════════════════════════════════════════════════════════
   ── AUTH PAGES: STICKY BANNER + NORMAL SCROLL LAYOUT ──
   ══════════════════════════════════════════════════════════════════ */

/* Hide breadcrumbs/page-header */
body:has(.register-container) .page-header,
body:has(.register-container) .entry-header,
body:has(.register-container) .breadcrumb-section,
body:has(.register-container) .site-body-bottom {
	display: none !important;
}

/* Strip WP wrapper container constraints */
body:has(.register-container) .site-body,
body:has(.register-container) .site-body-container,
body:has(.register-container) .main-section,
body:has(.register-container) article,
body:has(.register-container) .entry,
body:has(.register-container) .entry-full,
body:has(.register-container) .entry-body,
body:has(.register-container) .entry-content {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* Eliminate clearfix pseudo-elements that can add height */
body:has(.register-container) .site-body::after,
body:has(.register-container) .site-body-container::after,
body:has(.register-container) .main-section::after,
body:has(.register-container) .entry::after,
body:has(.register-container) .entry-body::after {
	display: none !important;
	content: none !important;
}

/* Hide auto-generated WP elements (empty <p> tags, post navigation, etc.) */
body:has(.register-container) .entry-content > *:not(.register-page-wrapper):not(.register-container):not(style):not(script),
body:has(.register-container) .entry-body > *:not(.register-page-wrapper):not(.register-container):not(style):not(script),
body:has(.register-container) .entry-footer,
body:has(.register-container) .post-navigation,
body:has(.register-container) .author-box,
body:has(.register-container) .comments-area {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Footer: flush against content */
body:has(.register-container) footer,
body:has(.register-container) .sareo-footer {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* Ensure no trailing space from site-content, primary, or main wrappers */
body:has(.register-container) #content,
body:has(.register-container) .site-content,
body:has(.register-container) #primary,
body:has(.register-container) #main,
body:has(.register-container) .site-main {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* ── Wrapper: pass-through ── */
.register-page-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

/* ── Layout: flex row, full-width ── */
.register-container {
	display: flex !important;
	flex-direction: row !important;
	align-items: stretch !important;
	min-height: 100vh !important;
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
	box-shadow: none !important;
	/* Split background: dark left (extends banner), white right (extends form panel).
	   Covers the gap when banner (100vh) is shorter than the form panel. */
	background: linear-gradient(to right, #1a1a1a 50%, #ffffff 50%) !important;
}

/* ── Right Panel: stretches to match container height, form centered vertically ── */
.register-form-container {
	flex: 0 0 50% !important;
	background: #fff !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	padding: 0 !important;
}

/* ── Inner form wrapper: holds all padding + centering ── */
.form-wrapper {
	max-width: 500px;
	width: 100%;
	margin: 0 auto;
	padding: 60px 40px 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
body:has(.register-container) .form-wrapper {
	margin-left: auto !important;
}

/* ── Header ── */
.register-header {
	margin-bottom: 12px;
}

.register-header .welcome-text {
	font-family: var(--sareo-font-main) !important;
	font-size: 34px !important;
	font-weight: 700 !important;
	color: var(--sareo-dark, #222222) !important;
	line-height: 1.2;
}

.register-header .subtitle-text {
	font-family: var(--sareo-font-sans) !important;
	font-size: 13px !important;
	text-transform: uppercase !important;
	letter-spacing: 2.5px !important;
	color: #999 !important;
	margin-top: 6px !important;
	font-weight: 600 !important;
}

/* ── Form Fields ── */
.register-form-container .form-field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 8px;
}

.register-form-container .form-field label {
	font-family: var(--sareo-font-sans) !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.2px !important;
	color: var(--sareo-dark, #222222) !important;
}

.register-form-container .form-field input,
.register-form-container .form-field select {
	height: 44px;
	padding: 8px 16px;
	border: 1px solid #e0e0e0 !important;
	border-radius: 4px !important;
	font-size: 14px !important;
	font-family: var(--sareo-font-sans) !important;
	transition: all 0.2s ease;
	box-sizing: border-box;
	width: 100%;
	background: #fcfcfc !important;
}

/* Hide Spinners for Mobile Phone Number */
.register-form-container input[type=number]::-webkit-inner-spin-button,
.register-form-container input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.register-form-container input[type=number] {
	-moz-appearance: textfield;
	appearance: textfield;
}

.register-form-container .form-field input:focus,
.register-form-container .form-field select:focus {
	border-color: var(--sareo-gold, #c8a97e) !important;
	outline: none;
	box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.1);
	background: #fff !important;
}

.register-form-container .register-row,
.register-form-container .row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 12px !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.register-form-container .col-5,
.register-form-container .col-6,
.register-form-container .col-7,
.register-form-container .row>div {
	flex: 1 1 0% !important;
	max-width: calc(50% - 6px) !important;
	padding: 0 !important;
	margin: 0 !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

.register-form-container .form-field input,
.register-form-container .form-field select {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	display: block !important;
}


/* ── Terms Section ── */
.terms-section {
	margin: 15px 0;
	padding: 15px;
	background: #f9f9f9;
	border-radius: 4px;
	border: 1px solid #eee;
}

.checkbox-option {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 8px;
}

.checkbox-option:last-child {
	margin-bottom: 0;
}

.checkbox-option input[type="checkbox"] {
	margin-top: 3px;
	accent-color: var(--sareo-dark);
}

.checkbox-option label {
	font-family: var(--sareo-font-sans) !important;
	font-size: 13px !important;
	color: #666 !important;
	line-height: 1.4 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: normal !important;
}

.checkbox-option label a {
	color: var(--sareo-gold) !important;
	text-decoration: none !important;
	font-weight: 600;
}

/* ── Submit Button ── */
#uap_submit_bttn {
	width: auto;
	height: 36px;
	background: var(--sareo-dark, #222222) !important;
	border: none !important;
	border-radius: 4px !important;
	font-family: var(--sareo-font-sans) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	text-transform: uppercase !important;
	letter-spacing: 2px !important;
	color: #fff !important;
	cursor: pointer;
	margin-top: 15px;
	transition: all 0.3s ease;
	padding: 0 24px;
}

#uap_submit_bttn:hover {
	background: var(--sareo-gold, #c8a97e) !important;
	transform: translateY(-1px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ── Login Link ── */
.login-link {
	text-align: center;
	font-family: var(--sareo-font-sans) !important;
	font-size: 14px !important;
	margin-top: 25px !important;
	color: #888 !important;
}

.login-link a {
	color: var(--sareo-gold, #c8a97e) !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	margin-left: 5px;
}

.login-link a:hover {
	text-decoration: underline !important;
}

/* ── Left Panel (Banner): sticky, full viewport height ── */
.register-background {
	flex: 0 0 50% !important;
	position: sticky !important;
	top: 0 !important;
	height: 100vh !important;
	align-self: flex-start !important;
	background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 50%, #222222 100%);
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: hidden !important;
	padding: 40px 40px 0 40px !important; /* Bottom padding removed to stay flush with footer */
}

.register-background__logo {
	max-width: 320px;
	width: 100%;
	opacity: 0.9;
	display: block;
}

/* ============================================================
   REGISTER PAGE — Step 2: Post-Registration Upgrade
   ============================================================ */
.sareo-post-register {
	text-align: center;
}

.sareo-post-register__icon {
	font-size: 40px;
	color: var(--sareo-gold, #c8a97e);
	margin-bottom: 10px;
}

.sareo-post-register__title {
	font-family: var(--sareo-font-main) !important;
	font-size: 26px !important;
	font-weight: 700 !important;
	color: var(--sareo-dark, #222222) !important;
	margin: 0 0 8px !important;
}

.sareo-post-register__subtitle {
	font-family: var(--sareo-font-sans) !important;
	font-size: 13px !important;
	color: #666 !important;
	margin: 0 auto 20px !important;
	max-width: 380px;
	line-height: 1.5 !important;
}

.sareo-post-register__options {
	display: flex;
	gap: 20px;
	margin-top: 20px;
}

.sareo-upgrade-card {
	flex: 1;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 30px 20px;
	text-align: center;
	transition: all 0.3s ease;
	background: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.sareo-upgrade-card:hover {
	border-color: var(--sareo-gold, #c8a97e);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
	transform: translateY(-5px);
}

.sareo-upgrade-card__header i {
	font-size: 32px;
	color: var(--sareo-gold, #c8a97e);
	display: block;
	margin-bottom: 12px;
}

.sareo-upgrade-card__header h3 {
	font-family: var(--sareo-font-sans) !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	margin-bottom: 10px !important;
}

.sareo-upgrade-card p {
	font-size: 13px !important;
	color: #777 !important;
	margin-bottom: 20px !important;
	min-height: 40px;
}

.sareo-upgrade-card__btn {
	background: var(--sareo-dark) !important;
	color: #fff !important;
	border: none !important;
	padding: 10px 20px !important;
	border-radius: 4px !important;
	font-family: var(--sareo-font-sans) !important;
	font-weight: 700 !important;
	font-size: 12px !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	cursor: pointer;
}

.sareo-upgrade-card:hover .sareo-upgrade-card__btn {
	background: var(--sareo-gold) !important;
}

.sareo-post-register__skip {
	font-family: var(--sareo-font-sans) !important;
	font-size: 13px;
	color: #999 !important;
	text-decoration: none !important;
	margin-top: 16px !important;
	display: block;
	transition: color 0.2s;
}

.sareo-post-register__skip:hover {
	color: var(--sareo-dark) !important;
}

/* ── Responsive: single column, normal page scroll ── */
@media (max-width: 768px) {
	/* Reset body/html: normal page scroll */
	html:has(.register-container) {
		overflow: auto !important;
		height: auto !important;
	}
	body:has(.register-container) {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
	body:has(.register-container) .site-body {
		flex: none !important;
		overflow: visible !important;
		height: auto !important;
	}

	/* Reset all inner wrappers to auto height */
	body:has(.register-container) .site-body-container,
	body:has(.register-container) .main-section,
	body:has(.register-container) article,
	body:has(.register-container) .entry-body,
	body:has(.register-container) .entry-content {
		height: auto !important;
	}
	.register-page-wrapper,
	.register-container {
		height: auto !important;
		min-height: 0 !important;
		overflow: visible !important;
	}

	/* Stack single-column */
	.register-container {
		display: block !important;
		height: auto !important;
	}

	/* Banner strip on top — reset sticky */
	.register-background {
		flex: none !important;
		width: 100% !important;
		height: 220px !important;
		position: relative !important;
		align-self: auto !important;
	}

	/* Normal flow, no scroll container */
	.register-form-container {
		flex: none !important;
		width: 100% !important;
		height: auto !important;
		overflow-y: visible !important;
		overflow-x: visible !important;
		display: block !important;
	}

	.form-wrapper {
		padding: 30px 20px !important;
	}

	.sareo-post-register__options {
		flex-direction: column;
	}
}

/* General WooCommerce grid areas */
.woocommerce-page .products,
.woocommerce ul.products,
.woocommerce-page ul.products {
	background-color: #ffffff !important;
	background: #ffffff !important;
}

/* Remove black line at the bottom of Mega Menu box */
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>ul.mega-sub-menu,
#mega-menu-wrap-global-nav #mega-menu-global-nav>li.mega-menu-item>ul.mega-sub-menu,
header#site-header ul.mega-menu.mega-menu-horizontal>li.mega-menu-item>ul.mega-sub-menu {
	border-bottom: 0 !important;
}

/* Menghilangkan garis biru di bawah judul sidebar filter */
.my-woo-filters .wp-block-heading::after {
	display: none !important;
}

/* =============================================================================
   ── MEMBER AREA ──
   ============================================================================= */

/* ── Hide UAP default top banner/stats section ── */
.uap-user-page-top-wrapper {
	display: none !important;
}

/* ── Member Area: Page wrapper ── */
.uap-user-page-wrapper {
	padding: 0 !important;
	background: transparent !important;
	margin-bottom: 0 !important;
}

.uap-user-page-content-wrapper {
	padding: 0 !important;
}

/* ── Member Area: Content area ── */
.uap-user-page-content {
	background: #ffffff;
	border-radius: 12px;
	border: 1px solid #eeeeee;
	padding: 28px;
	min-height: 400px;
}

/* ── Hide redundant tab title in content area ── */
.uap-user-page-content>div>h3:first-child {
	display: none !important;
}

/* ── Fix footer container width on Member Area page ──
   UAP plugin loads bootstrap.css which caps .container at 1170px.
   Override it specifically inside the footer so columns match the Home page. */
.post-name-member-area .sareo-footer .container,
.post-name-member-area .sareo-footer__main .container,
.post-name-member-area .sareo-footer__bottom .container,
.page-id-582 .sareo-footer .container,
.page-id-582 .sareo-footer__main .container,
.page-id-582 .sareo-footer__bottom .container {
	width: 100% !important;
	min-width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding-left: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px)) !important;
	padding-right: max(10px, calc((100vw - 1140px) / 2 * 0.1 + 10px)) !important;
}

/* =============================================================================
   ── MEMBER AREA: Shared Components (used across UAP templates)
   ============================================================================= */

/* ── Section label divider ── */
.sareo-db-section {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight: 700;
	color: #aaaaaa;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.sareo-db-section::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #eeeeee;
}

/* ── Stat card ── */
.sareo-stat-card {
	background: #ffffff !important;
	border: 1px solid #eeeeee !important;
	border-radius: 12px !important;
	padding: 22px 24px !important;
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	position: relative !important;
	overflow: hidden !important;
}
.sareo-stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: #c8a97e;
	border-radius: 12px 0 0 12px;
}
.sareo-stat-card__content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sareo-stat-card__label {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #aaaaaa;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.sareo-stat-card__icon {
	width: 44px;
	height: 44px;
	background: rgba(200, 169, 126, 0.12);
	border-radius: 10px;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0;
	text-align: center;
}
.sareo-stat-card__icon i {
	font-size: 17px !important;
	color: #c8a97e !important;
	line-height: 1 !important;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	height: auto !important;
}
.sareo-stat-card__value {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #222222;
	line-height: 1.1;
}
.sareo-stat-card__footer {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	color: #bbbbbb;
	letter-spacing: 0.5px;
}

/* ── Upgrade / info card ── */
.sareo-up-card {
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	overflow: hidden;
}
.sareo-up-card__head {
	background: #222222;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}
.sareo-up-card__head i {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1;
	display: flex;
	align-items: center;
	align-self: center;
}
.sareo-up-card__title {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1;
	display: flex;
	align-items: center;
	align-self: center;
}
.sareo-up-card__body {
	padding: 20px;
}
.sareo-up-card__list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.sareo-up-card__list li {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	color: #555555;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}
.sareo-up-card__list li::before {
	display: none;
}
/* Hide any legacy font-awesome icons inside upgrade list items */
.sareo-up-card__list li i {
	display: none !important;
}
.sareo-up-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 12px 20px;
	background: #222222;
	color: #ffffff !important;
	border: none;
	border-radius: 6px;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.2s ease;
}
.sareo-up-card__btn:hover {
	background: #c8a97e !important;
	color: #ffffff !important;
}

/* ── Welcome bar (dashboard) ── */
.sareo-db-welcome {
	background: #222222;
	border-radius: 12px;
	padding: 28px 32px;
	margin-bottom: 28px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 16px;
}
.sareo-db-welcome__area {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.sareo-db-welcome__name {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.2;
	margin-bottom: 4px;
}
.sareo-db-welcome__type {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 500;
	color: #c8a97e;
	margin-bottom: 8px;
}
.sareo-db-welcome__sub {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}

/* ── Affiliate info card (chart wrapper, summary rows, referral box) ── */
.sareo-aff-card {
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 24px;
}
.sareo-aff-card__head {
	background: #f9f9f9;
	border-bottom: 1px solid #eeeeee;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.sareo-aff-card__title {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight: 700;
	color: #888888;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0;
}
.sareo-aff-card__badge {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	color: #c8a97e;
}
.sareo-aff-card__body {
	padding: 20px;
}
.sareo-aff-summary-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 9px 0;
	border-bottom: 1px solid #f5f5f5;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
}
.sareo-aff-summary-row:last-child {
	border-bottom: none;
}
.sareo-aff-summary-row__label {
	color: #888888;
}
.sareo-aff-summary-row__value {
	color: #222222;
	font-weight: 600;
}
.sareo-aff-ref-box {
	background: #f9f9f9;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	padding: 14px 18px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px;
}
.sareo-aff-ref-code {
	flex: 1;
	font-family: 'Montserrat', monospace;
	font-size: 12px;
	color: #444444;
	word-break: break-all;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.sareo-aff-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	background: #222222;
	color: #ffffff !important;
	border: none;
	border-radius: 6px;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
	cursor: pointer;
	white-space: nowrap;
	text-decoration: none !important;
	transition: background 0.2s ease;
	flex-shrink: 0;
}
.sareo-aff-copy-btn:hover {
	background: #c8a97e !important;
	color: #ffffff !important;
}
.sareo-aff-qr {
	text-align: center;
	padding: 12px;
}
.sareo-aff-qr img {
	max-width: 110px;
	border-radius: 8px;
	border: 1px solid #eeeeee;
	margin-bottom: 8px;
}
.sareo-aff-qr a {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight: 600;
	color: #c8a97e !important;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none !important;
}
.sareo-aff-chart-wrap {
	position: relative;
	height: 180px;
}
.sareo-aff-chart-wrap canvas {
	max-height: 180px !important;
}
.sareo-aff-stat-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
	margin-bottom: 32px;
}
@media (min-width: 768px) {
	.sareo-aff-stat-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}
.sareo-aff-ref-hint {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	color: #aaaaaa;
	margin: 0;
}

/* ── Welcome bar — extended elements ── */
.sareo-db-welcome__since {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin-top: 4px;
}
.sareo-db-welcome__since i {
	font-size: 10px;
	color: rgba(200, 169, 126, 0.5);
}
.sareo-db-welcome__stats {
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sareo-db-welcome__stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}
.sareo-db-welcome__stat-label {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.4);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.sareo-db-welcome__stat-value {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #c8a97e;
	line-height: 1;
}
.sareo-db-welcome__inner {
	width: 100%;
}
.sareo-db-welcome__rank-progress {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: left;
}
.sareo-db-welcome__rank-progress-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
	margin-bottom: 7px;
}
.sareo-db-welcome__rank-progress-bar {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 4px;
	height: 6px;
	overflow: hidden;
}
.sareo-db-welcome__rank-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #c8a97e 0%, #e8c99e 100%);
	border-radius: 4px;
	transition: width 0.6s ease;
	min-width: 2px;
}

/* ════════════════════════════════════════════════════════════════════
   Dashboard Cards (MLM overview — below welcome bar)
════════════════════════════════════════════════════════════════════ */

/* ── Stat Cards (top 3) — mirrors .sareo-stat-card ── */
.sareo-dash-stats { margin-top: 24px; }

.sareo-dash-stat {
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	padding: 22px 24px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	position: relative;
	overflow: hidden;
	height: 100%;
}
.sareo-dash-stat::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 4px; height: 100%;
	background: #c8a97e;
	border-radius: 12px 0 0 12px;
}
.sareo-dash-stat__icon {
	width: 44px; height: 44px;
	background: rgba(200, 169, 126, 0.12);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #c8a97e;
	font-size: 17px;
}
.sareo-dash-stat__icon img,
.sareo-dash-stat__icon i {
	display: block !important;
	margin: 0 auto !important;
	line-height: 1 !important;
}
.sareo-dash-stat__body { display: flex; flex-direction: column; gap: 6px; }
.sareo-dash-stat__label {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px; font-weight: 600;
	color: #aaaaaa;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.sareo-dash-stat__value {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px; font-weight: 700;
	color: #222222; line-height: 1.1;
	word-break: break-all;
}
.sareo-dash-stat__note {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px; color: #bbbbbb;
	display: flex; align-items: center; gap: 4px;
}
.sareo-dash-stat__note.is-up      { color: #10b981; }
.sareo-dash-stat__note.is-down    { color: #ef4444; }
.sareo-dash-stat__note.is-neutral { color: #aaaaaa; }

/* ── Periode header ── */
.sareo-dash-periode {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px; font-weight: 700;
	color: #aaaaaa;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	border-top: 1px solid #eeeeee;
	border-bottom: 1px solid #eeeeee;
	padding: 11px 0;
	margin: 8px 0 20px;
	display: flex; align-items: center; justify-content: center; gap: 8px;
}
.sareo-dash-periode i { color: #c8a97e; }

/* ── Section card — mirrors .sareo-aff-card ── */
.sareo-dash-card {
	background: #ffffff;
	border: 1px solid #eeeeee;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 20px;
}
.sareo-dash-card--share { display: block; }
.sareo-dash-card__head {
	background: #f9f9f9;
	border-bottom: 1px solid #eeeeee;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: 'Montserrat', sans-serif;
	font-size: 10px; font-weight: 700;
	color: #888888;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.sareo-dash-card__body { padding: 20px; }
.sareo-dash-card__badge {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px; font-weight: 600;
	color: #c8a97e;
	letter-spacing: 0;
	text-transform: none;
}
.sareo-dash-btn {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px; font-weight: 600;
	letter-spacing: 1px;
	color: #ffffff !important;
	background: #222222;
	border: none; border-radius: 6px;
	padding: 6px 14px;
	text-decoration: none;
	transition: background 0.2s;
	display: inline-block; cursor: pointer;
}
.sareo-dash-btn:hover { background: #c8a97e; color: #ffffff !important; }

/* ── Progress items ── */
.sareo-dash-progress-item { margin-bottom: 14px; }
.sareo-dash-progress-item--last { margin-bottom: 0; }
.sareo-dash-progress-label {
	display: flex; justify-content: space-between; align-items: center;
	margin-bottom: 6px;
	font-family: 'Montserrat', sans-serif; font-size: 11px;
}
.sareo-dash-progress-label > span:first-child { color: #888888; }
.sareo-dash-progress-label > span:last-child  { color: #444444; font-weight: 500; }
.sareo-dash-progress-track {
	background: #f3f4f6;
	border-radius: 4px; height: 6px; overflow: hidden;
}
.sareo-dash-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #c8a97e 0%, #e8c99e 100%);
	border-radius: 4px; transition: width 0.6s ease; min-width: 2px;
}

/* ── Tables ── */
.sareo-dash-table-wrap { overflow-x: auto; padding: 0 20px 20px; }
.sareo-dash-table {
	width: 100%; border-collapse: collapse;
	font-family: 'Montserrat', sans-serif;
}
.sareo-dash-table th {
	text-align: left; padding: 10px 8px;
	font-size: 10px; font-weight: 600;
	letter-spacing: 1px; text-transform: uppercase;
	color: #aaaaaa;
	border-bottom: 1px solid #eeeeee;
}
.sareo-dash-table th.text-right  { text-align: right; }
.sareo-dash-table th.text-center { text-align: center; }
.sareo-dash-table td {
	padding: 10px 8px; font-size: 12px; color: #444444;
	border-bottom: 1px solid #f5f5f5;
}
.sareo-dash-table tr:last-child td { border-bottom: none; }
.uap-user-page-content .sareo-dash-table__amount,
.uap-user-page-content .sareo-dash-table__amount *,
.sareo-dash-table__amount,
.sareo-dash-table__amount * { color: #c8a97e !important; text-align: right; font-weight: 700; }
.sareo-dash-table__source { color: #444444; }
.sareo-dash-table__source, .sareo-dash-table__source a { color: #444444 !important; font-weight: 500 !important; text-decoration: none !important; }
.sareo-dash-table__source .sareo-username, .sareo-dash-table__source .sareo-username * { color: #222222 !important; font-weight: 700 !important; }
.sareo-dash-table__source a:hover { color: #222222 !important; }
.sareo-dash-table__empty { text-align: center !important; color: #bbbbbb !important; padding: 24px 8px !important; }

/* ── Downline Tree ── */
.sareo-dash-tree { max-height: 320px; overflow-y: auto; padding: 16px 20px 20px; }
.sareo-dash-tree__node {
	display: flex; align-items: center; gap: 8px;
	padding: 8px 12px;
	background: #f9f9f9;
	border-radius: 8px; margin-bottom: 8px;
}
.sareo-dash-tree__dot { width: 8px; height: 8px; min-width: 8px; border-radius: 50%; }
.sareo-dash-tree__name { flex: 1; font-size: 12px; font-weight: 600; color: #222222; }
.sareo-dash-tree__count { font-size: 12px; color: #aaaaaa; }

/* ── Legend ── */
.sareo-dash-legend { display: flex; gap: 12px; flex-wrap: wrap; }
.sareo-dash-legend__item {
	display: flex; align-items: center; gap: 6px;
	font-family: 'Montserrat', sans-serif; font-size: 11px; color: #888888;
}
.sareo-dash-legend__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }

/* ── Share section ── */
.sareo-dash-share__label {
	font-family: 'Montserrat', sans-serif; font-size: 12px; color: #888888;
	display: block; margin-bottom: 12px; padding: 20px 20px 0;
}
.sareo-dash-share__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 0 20px 20px; }
.sareo-dash-share__link {
	font-size: 13px; color: #c8a97e;
	background: rgba(200, 169, 126, 0.07);
	border: 1px solid rgba(200, 169, 126, 0.25);
	border-radius: 6px; padding: 6px 12px;
	flex: 1; min-width: 0;
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block;
}
.sareo-dash-share__copy {
	font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600;
	color: #ffffff; background: #222222;
	border: none; border-radius: 6px; padding: 8px 16px;
	cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.sareo-dash-share__copy:hover { background: #c8a97e; }

/* ── Order History: Status Badge Colors ── */
/* Standard WooCommerce statuses */
.sareo-status-badge.status-completed          { background: #059669 !important; color: #ffffff !important; }
.sareo-status-badge.status-processing         { background: #2563eb !important; color: #ffffff !important; }
.sareo-status-badge.status-on-hold            { background: #d97706 !important; color: #ffffff !important; }
.sareo-status-badge.status-pending,
.sareo-status-badge.status-pending-payment    { background: #dc2626 !important; color: #ffffff !important; }
.sareo-status-badge.status-cancelled          { background: #dc2626 !important; color: #ffffff !important; }
.sareo-status-badge.status-failed             { background: #111827 !important; color: #ffffff !important; }
.sareo-status-badge.status-refunded           { background: #7c3aed !important; color: #ffffff !important; }
/* Custom statuses via plugin (menunggukonfirm, dikirim, dll) — colors injected dynamically via wp_head bridge in sareo-custom.php */
/* Statuses from other plugins (not managed by custom-order-statuses plugin): */
.sareo-status-badge.status-return-approved    { background: #86efac !important; color: #166534 !important; }
.sareo-status-badge.status-return-requested   { background: #6b7280 !important; color: #ffffff !important; }
.sareo-status-badge.status-return-cancelled   { background: #FEE2E2 !important; color: #991b1b !important; }

/* ── Order Details Page ── */

/* Inner card-details sections: remove nested-card look, use dividers instead */
.sareo-view-order .card-details {
	background: transparent !important;
	border: none !important;
	border-top: 1px solid #f0f0f0 !important;
	border-radius: 0 !important;
	padding: 20px 0 !important;
	margin-bottom: 0 !important;
	box-shadow: none !important;
	min-height: unset !important;
}
.sareo-view-order .card-details:first-child { border-top: none !important; }
.sareo-view-order .card-details h5,
.sareo-view-order .card-details h5.wp-block-post-title,
.sareo-view-order .card-details h5.title {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	color: #999999 !important;
	margin: 0 0 16px !important;
}

/* ── Rincian Pesanan (order items) ── */
.sareo-view-order .detail-item {
	padding: 16px 0;
	border-bottom: 1px solid #f0f0f0;
}
.sareo-view-order .detail-item:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}
.sareo-view-order .detail-item:first-of-type {
	padding-top: 0;
}

/* Flex row: image | text | qty+price */
.sareo-view-order .product-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	font-family: 'Montserrat', sans-serif;
}
.sareo-view-order .product-item > img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
	border: 1px solid #eeeeee;
}

/* Product name */
.sareo-view-order .product-name {
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 700;
	color: #222222;
	line-height: 1.4;
}
.sareo-view-order .product-name a {
	color: #222222 !important;
	text-decoration: none !important;
}
.sareo-view-order .product-name a:hover {
	color: #c8a97e !important;
}

/* Short description / variant */
.sareo-view-order .product-variant {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	color: #999999;
	margin-top: 4px;
	line-height: 1.4;
}

/* Unit price */
.sareo-view-order .product-price {
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	color: #222222;
	font-weight: 600;
	margin-top: 6px;
}
.sareo-view-order .product-price .woocommerce-Price-amount,
.sareo-view-order .product-price bdi {
	color: #222222 !important;
}

/* Qty × amount column (right side) */
.sareo-view-order .product-qty {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #444444;
	text-align: right;
	white-space: nowrap;
	flex-shrink: 0;
	padding-top: 2px;
}
.sareo-view-order .product-quantity {
	font-size: 11px;
	font-weight: 500;
	color: #999999;
}
/* Line subtotal (amount per line) */
.sareo-view-order .product-qty .woocommerce-Price-amount,
.sareo-view-order .product-qty bdi {
	font-size: 14px;
	font-weight: 700;
	color: #222222 !important;
	display: block;
	margin-top: 4px;
}

/* Order totals row */
.sareo-view-order .d-flex.justify-content-between {
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	color: #444444;
	padding: 4px 0;
}
.sareo-view-order .d-flex.justify-content-between span:first-child { color: #888888; text-transform: uppercase; letter-spacing: 0.5px; font-size: 9px; font-weight: 600; }
.sareo-view-order .d-flex.justify-content-between span:last-child { font-weight: 600; color: #222222; font-size: 13px; }
.sareo-view-order .d-flex.justify-content-between span:last-child small.shipped_via { font-size: 1em; font-weight: 600; }
.sareo-view-order .d-flex.justify-content-between span:last-child .woocommerce-Price-amount,
.sareo-view-order .d-flex.justify-content-between span:last-child bdi { font-size: 1em !important; }
.sareo-view-order hr { border: none; border-top: 1px solid #eeeeee; margin: 12px 0; }

/* Shipping/billing address text */
.sareo-view-order .ship-address { font-family: 'Montserrat', sans-serif; font-size: 12px; color: #444444; line-height: 1.7; }
.sareo-view-order .ship-phone { font-family: 'Montserrat', sans-serif; font-size: 14px; color: #666666; margin-bottom: 4px; }
.sareo-view-order .ship-phone i { color: #c8a97e; margin-right: 6px; }

/* Status badges used inside order details (payment status, review, etc.) */
.sareo-od-badge {
	font-family: 'Montserrat', sans-serif;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 5px 12px;
	border-radius: 4px;
}
.sareo-od-badge--success { background: #059669; color: #ffffff; }
.sareo-od-badge--warning { background: #d97706; color: #ffffff; }
.sareo-od-badge--review  { background: #222222; color: #ffffff; text-decoration: none !important; }
.sareo-od-badge--review i { color: #FFD700; margin-right: 5px; }

/* Print button (from woocommerce-delivery-notes plugin) */
.sareo-view-order p.order-print {
	margin: 16px 0 20px;
}
.sareo-view-order p.order-print a.button.print {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	background: #f4f4f4 !important;
	color: #444444 !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 20px !important;
	padding: 7px 18px !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	text-decoration: none !important;
	transition: background 0.2s, border-color 0.2s, color 0.2s !important;
	box-shadow: none !important;
}
.sareo-view-order p.order-print a.button.print::before {
	content: '\f02f';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 11px;
}
.sareo-view-order p.order-print a.button.print:hover {
	background: #222222 !important;
	color: #ffffff !important;
	border-color: #222222 !important;
}

/* Bank Details table (Our Bank Details section in view-order) */
.sareo-bank-table {
	width: 100%;
	border-collapse: collapse;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
}
.sareo-bank-table thead tr {
	border-bottom: 2px solid #222222;
}
.sareo-bank-table thead th {
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: #888888;
	padding: 0 0 8px;
	text-align: left !important;
}
.sareo-bank-table tbody tr {
	border-bottom: 1px solid #f0f0f0;
}
.sareo-bank-table tbody tr:last-child {
	border-bottom: none;
}
.sareo-bank-table tbody td {
	padding: 12px 16px 12px 0;
	color: #222222;
	font-size: 13px !important;
	font-weight: 500;
	vertical-align: middle;
}
.sareo-bank-table tbody td:first-child {
	font-weight: 700;
}
/* Remove default widefat/wc_input_table styles that bleed in */
.sareo-view-order .sareo-bank-table th,
.sareo-view-order .sareo-bank-table td {
	background: transparent !important;
	box-shadow: none !important;
}

/* Order Updates (notes) section in view-order.php */
.sareo-notes-list .sareo-note-item { font-family: 'Montserrat', sans-serif; }
.sareo-notes-list .sareo-note-date { font-size: 10px; font-weight: 700; color: #aaaaaa; text-transform: uppercase; letter-spacing: 0.8px; display: block; margin-bottom: 6px; }
.sareo-notes-list .sareo-note-content { font-size: 13px; color: #444444; line-height: 1.6; }
.sareo-notes-list .sareo-note-content p { margin: 0; }

/* ═══════════════════════════════════════════════════════════
   WPS RMA — View Order Messages
   ═══════════════════════════════════════════════════════════ */

/* Outer card wrapper */
.wps_rma_order_msg_react_wrapper {
	font-family: 'Montserrat', sans-serif;
	background: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Back button */
.wps-order-msg-back,
.wps-order-msg-back a,
.wps-order-msg-back .button {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	background: transparent !important;
	color: #222222 !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 20px !important;
	padding: 7px 18px !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	text-decoration: none !important;
	margin: 20px 24px 16px !important;
	transition: background 0.2s, color 0.2s !important;
	box-shadow: none !important;
}
.wps-order-msg-back a:hover,
.wps-order-msg-back .button:hover {
	background: #222222 !important;
	color: #ffffff !important;
	border-color: #222222 !important;
}

/* Header row: "Shop Manager" | "Customer" */
.wps-order-msg_column {
	background: #222222 !important;
	padding: 14px 24px !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
}
.wps-order-msg_column_name {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.5px !important;
	color: rgba(255,255,255,0.5) !important;
}
.wps-order-msg_column_name.shop_man-title {
	color: #c8a97e !important;
}

/* Messages area */
.wps_order_msg_sub_container {
	padding: 20px 24px !important;
	min-height: 180px;
	background: #fafafa !important;
}
.wps_order_msg_sender_details {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.8px !important;
	color: #aaaaaa !important;
	margin-bottom: 4px;
}
.wps_order_msg_date {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 10px !important;
	color: #aaaaaa !important;
}
.wps_order_msg_detail_container {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	color: #444444 !important;
	line-height: 1.6 !important;
	background: #ffffff !important;
	border: 1px solid #eeeeee !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
}

/* Input row wrapper (textarea + send button) */
.wps-rma-order-msg-wrapper {
	padding: 0 24px 20px !important;
	margin-top: 12px !important;
}

/* Message input & attachment area */
.wps_rma_order_msg_react_wrapper textarea,
.wps_rma_order_msg_react_wrapper input[type="text"] {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	padding: 12px 16px !important;
	color: #444444 !important;
	background: #ffffff !important;
}
.wps_rma_order_msg_react_wrapper textarea:focus,
.wps_rma_order_msg_react_wrapper input[type="text"]:focus {
	border-color: #c8a97e !important;
	outline: none !important;
}

/* Send button */
.wps-order-msg-btn,
.wps-order-msg-btn button,
.wps-order-msg-btn .button {
	background: #222222 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	padding: 10px 16px !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
}
.wps-order-msg-btn:hover,
.wps-order-msg-btn button:hover,
.wps-order-msg-btn .button:hover {
	background: #c8a97e !important;
}


/* ═══════════════════════════════════════════════════════════
   WPS RMA — Refund Request Form
   ═══════════════════════════════════════════════════════════ */

/* Outer card */
#wps_rma_template1.wps_rma_template1 {
	font-family: 'Montserrat', sans-serif !important;
	border-radius: 12px !important;
	border: 1px solid #e8e8e8 !important;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03) !important;
	padding: 0 !important;
	overflow: hidden;
}

/* Page title */
#wps_rma_template1.wps_rma_template1 h1.wps-rma-form__heading {
	font-size: 16px !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
#wps_rma_template1.wps_rma_template1 .wps-rma-form__header {
	background: #fff !important;
	border: 1px solid #ece8e1 !important;
	border-radius: 12px !important;
	padding: 20px 24px !important;
	margin-bottom: 14px !important;
}

/* Table section — rounded container */
#wps_rma_template1.wps_rma_template1 .wps_rma_product_table_wrapper {
	padding: 0 !important;
	margin: 0 28px 20px !important;
	border: 1px solid #e8e8e8 !important;
	border-radius: 10px !important;
	overflow: hidden;
}
#wps_rma_template1.wps_rma_template1 table th {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1.2px !important;
	color: #888888 !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 2px solid #222222 !important;
	padding: 16px 16px 10px !important;
	text-align: left !important;
	vertical-align: middle !important;
}
#wps_rma_template1.wps_rma_template1 table td {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	color: #444444 !important;
	background: transparent !important;
	border: none !important;
	border-bottom: 1px solid #f0f0f0 !important;
	padding: 14px 16px !important;
	text-align: left !important;
	vertical-align: middle !important;
}
/* Total Refund Amount row */
#wps_rma_template1.wps_rma_template1 table tbody tr:last-of-type th,
#wps_rma_template1.wps_rma_template1 table tbody tr:last-of-type td {
	border-top: 2px solid #222222 !important;
	border-bottom: none !important;
	font-weight: 700 !important;
	color: #222222 !important;
	padding-top: 14px !important;
	vertical-align: middle !important;
}
#wps_rma_template1.wps_rma_template1 table thead th:nth-child(2) {
	text-align: center !important;
}
#wps_rma_template1.wps_rma_template1 table td.product-quantity {
	text-align: center !important;
}
#wps_rma_template1.wps_rma_template1 table thead th:last-child {
	text-align: center !important;
}
#wps_rma_template1.wps_rma_template1 table td.wps_rma_total_amount_wrap {
	text-align: center !important;
}
#wps_rma_template1.wps_rma_template1 table td.product-total {
	font-weight: 700 !important;
	color: #c8a97e !important;
	text-align: center !important;
}
#wps_rma_template1.wps_rma_template1 table tbody tr:last-of-type td {
	color: #c8a97e !important;
}

/* Product image */
#wps_rma_template1.wps_rma_template1 table .product-name img {
	border-radius: 8px !important;
	border: 1px solid #eeeeee !important;
}

/* Qty input */
#wps_rma_template1.wps_rma_template1 table .product-quantity input[type=number] {
	font-family: 'Montserrat', sans-serif !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	padding: 8px !important;
	font-size: 13px !important;
	width: 72px !important;
	max-width: 72px !important;
	text-align: center !important;
	display: block !important;
	margin: 0 auto !important;
	/* Hide browser number spinners so text stays truly centered */
	-webkit-appearance: textfield !important;
	-moz-appearance: textfield !important;
	appearance: textfield !important;
}
#wps_rma_template1.wps_rma_template1 table .product-quantity input[type=number]::-webkit-inner-spin-button,
#wps_rma_template1.wps_rma_template1 table .product-quantity input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none !important;
	margin: 0 !important;
}

/* Form fields section — remove side padding so col margin controls width */
#wps_rma_template1.wps_rma_template1 .wps-rma-row__pd,
#wps_rma_template1.wps_rma_template1 .wps-rma-refund-request__row {
	padding: 0 !important;
	gap: 0 !important;
}
/* Form column — rounded container matching product table style */
#wps_rma_template1.wps_rma_template1 .wps-rma-col:last-of-type {
	background: #ffffff !important;
	border: 1px solid #e8e8e8 !important;
	border-radius: 10px !important;
	padding: 20px 20px 24px !important;
	margin: 0 28px 20px !important;
}
#wps_rma_template1.wps_rma_template1 label {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	color: #888888 !important;
}
#wps_rma_template1.wps_rma_template1 textarea,
#wps_rma_template1.wps_rma_template1 input[type=text],
#wps_rma_template1.wps_rma_template1 select {
	font-family: 'Montserrat', sans-serif !important;
	font-size: 13px !important;
	color: #222222 !important;
	border: 1px solid #e0e0e0 !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
	background: #ffffff !important;
}
#wps_rma_template1.wps_rma_template1 textarea:focus,
#wps_rma_template1.wps_rma_template1 input[type=text]:focus,
#wps_rma_template1.wps_rma_template1 select:focus {
	border-color: #c8a97e !important;
	background: #ffffff !important;
	outline: none !important;
}

/* Subject dropdown — custom chevron */
#wps_rma_template1.wps_rma_template1 .wps_rma_subject_dropdown select {
	-webkit-appearance: none !important;
	-moz-appearance: none !important;
	appearance: none !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	padding-right: 38px !important;
}
/* Hide chevron when only 1 option exists */
#wps_rma_template1.wps_rma_template1 .wps_rma_subject_dropdown.wps-rma-single-option select {
	background-image: none !important;
	padding-right: 14px !important;
	pointer-events: none;
	cursor: default;
}

/* Submit button */
#wps_rma_template1.wps_rma_template1 .button,
#wps_rma_template1.wps_rma_template1 input.btn {
	background: #222222 !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 8px !important;
	font-family: 'Montserrat', sans-serif !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 1px !important;
	padding: 12px 24px !important;
	min-height: unset !important;
	cursor: pointer !important;
	transition: background 0.2s !important;
}
#wps_rma_template1.wps_rma_template1 .button:hover,
#wps_rma_template1.wps_rma_template1 input.btn:hover {
	background: #c8a97e !important;
}

/* Customer detail / order summary section — default appearance preserved */
#wps_rma_template1.wps_rma_template1 .wps_rma_customer_detail {
	padding: 20px 28px !important;
}
/* Rincian biaya — amount color black */
#wps_rma_template1 .wps_rma_customer_detail .woocommerce-Price-amount,
#wps_rma_template1 .wps_rma_customer_detail .woocommerce-Price-amount bdi,
#wps_rma_template1 .wps_rma_customer_detail .amount { color: #222222 !important; }

/* Shipping/Billing address text & icons — match Order Detail colors */
#wps_rma_template1 .wps_rma_customer_detail .ship-address { color: #444444 !important; line-height: 1.7 !important; }
#wps_rma_template1 .wps_rma_customer_detail .ship-phone { color: #666666 !important; }
#wps_rma_template1 .wps_rma_customer_detail .ship-phone i { color: #c8a97e !important; }

.wps_field_mendatory { color: #dc2626 !important; }

/* ─────────────────────────────────────────────
   REFUND REQUEST FORM STYLING
   ───────────────────────────────────────────── */
#wps_rma_template1.wps_rma_template1 table td.product-total,
#wps_rma_template1.wps_rma_template1 table td.product-total *,
#wps_rma_template1.wps_rma_template1 .wps_rma_total_amount_wrap,
#wps_rma_template1.wps_rma_template1 #wps_rma_total_refund_amount,
#wps_rma_template1.wps_rma_template1 #wps_rma_total_refund_amount * {
    color: #000000 !important;
}

/* ─────────────────────────────────────────────
   WISHLIST PREIMIUM STYLING (CONSOLIDATED)
   ───────────────────────────────────────────── */

/* 1. Main Card Container */
.sareo-profile-detail:has(.wt_frontend_wishlist_table) {
    background: #ffffff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin-bottom: 40px !important;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.03) !important;
}

/* 2. Banner Header */
.sareo-profile-detail:has(.wt_frontend_wishlist_table) .sareo-profile-detail__header {
    background: #222222 !important;
    padding: 16px 24px !important;
    border: none !important;
    margin: 0 !important;
}

.sareo-profile-detail:has(.wt_frontend_wishlist_table) .sareo-profile-detail__title {
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin: 0 !important;
}

/* 3. Table Clean Look (No vertical lines) */
table.wt_frontend_wishlist_table,
.wt_frontend_wishlist_table.border {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 !important;
    background: #fff !important;
}

/* Force kill ALL borders on all table elements first */
.wt_frontend_wishlist_table,
.wt_frontend_wishlist_table tr,
.wt_frontend_wishlist_table th,
.wt_frontend_wishlist_table td {
    border: none !important;
}

/* Header Cells - No side borders */
.wt_frontend_wishlist_table th {
    background-color: #222222 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding: 16px 20px !important;
    border: none !important;
    text-align: center !important; /* Center Align Header */
    font-family: 'Montserrat', sans-serif !important;
}

/* Fix wishlist header turning white on hover */
.uap-user-page-wrapper table.wt_frontend_wishlist_table tbody tr:hover > th,
.wt_frontend_wishlist_table th:hover {
    background-color: #222222 !important;
}

/* Row & Data Cells - Clean & Proportional */
.wt_frontend_wishlist_table tr:not(:first-child):hover {
    background-color: #fcfcfc !important;
}

/* Force override for the stubborn blue border */
.uap-user-page-content table.wt_frontend_wishlist_table td,
.wt-wishlist-container table.wt_frontend_wishlist_table td,
table.wt_frontend_wishlist_table tr td,
.wt_frontend_wishlist_table.border td {
    border: none !important;
    border-bottom: 1px solid #eeeeee !important; /* Soft grey divider */
    padding: 16px 20px !important;
    vertical-align: middle !important;
    color: #444444 !important;
    font-size: 13px !important;
    font-family: 'Montserrat', sans-serif !important;
    text-align: center !important; /* Center Align Data */
}

/* Tighten Layout - Column specific tweaks */
.wt_frontend_wishlist_table td:nth-child(1) { 
    width: 40px !important; 
    padding-right: 0 !important; 
    text-align: center !important;
} /* Remove Column */

.wt_frontend_wishlist_table td:nth-child(2) { 
    width: 70px !important; 
    min-width: 70px !important;
    max-width: 70px !important;
    padding: 16px 0 !important; 
    text-align: center !important;
} /* Image Column - Balanced 70px */

.wt_frontend_wishlist_table td:nth-child(2) img {
    width: 50px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
}

.wt_frontend_wishlist_table td:nth-child(3),
.wt_frontend_wishlist_table td.product-name { 
    padding-left: 15px !important;
    text-align: left !important;
    width: auto !important;
} /* Name Column - Balanced left padding */

/* Font Color Overrides */
.wt_frontend_wishlist_table tbody td a,
.wt_frontend_wishlist_table tbody td .product-name a,
.wt_frontend_wishlist_table tbody td:nth-child(4),
.wt_frontend_wishlist_table tbody td .woocommerce-Price-amount {
    color: #000000 !important;
}




/* Remove last row border */
.wt_frontend_wishlist_table tr:last-child td {
    border-bottom: none !important;
}




/* 4. Product Components */
/* Remove/X Icon - More Vibrant & Interactive */
.remove_wishlist_single {
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    max-width: 14px !important;
    padding: 3px !important;
    background-color: #fee2e2 !important; /* Soft light red background */
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 0.8 !important; /* More visible by default */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.remove_wishlist_single img {
    width: 8px !important; /* Small white X icon inside */
    height: 8px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Glow & Scale effect on hover */
.remove_wishlist_single:hover {
    background-color: #ef4444 !important; /* Vibrant Red on hover */
    opacity: 1 !important;
    transform: scale(1.2) !important;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.4) !important;
}

.wt_frontend_wishlist_table tr:hover .remove_wishlist_single {
    opacity: 1 !important;
}


/* Product Image */
.wt_frontend_wishlist_table img:not(.remove_wishlist_single img) {
    border-radius: 8px !important;
    max-width: 60px !important;
    min-width: 60px !important;
    height: auto !important;
    object-fit: cover !important;
    border: 1px solid #f0f0f0 !important;
    padding: 3px !important;
    background: #fff !important;
}

/* Product Link */
.wt_frontend_wishlist_table td.product-name a {
    color: #222222 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 13px !important;
}

.wt_frontend_wishlist_table td.product-name a:hover {
    color: var(--sareo-gold) !important;
}

/* Price */
.wt_frontend_wishlist_table td.product-price .amount {
    color: #111111 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}

/* Stock Badge (Matching Theme) */
.wt_frontend_wishlist_table .wishlist-in-stock,
.wt_frontend_wishlist_table .in-stock,
.wt_frontend_wishlist_table [class*="in-stock"] {
    background-color: #f0fdf4 !important;
    color: #166534 !important;
    padding: 5px 12px !important;
    border-radius: 4px !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    border: none !important;
}

/* 5. Buttons */
#bulk-add-to-cart, 
.single-add-to-cart,
.wt_frontend_wishlist_table .button {
    background-color: #222222 !important;
    border: 1px solid #222222 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Add to Cart Icon Button Specific */
.wt_frontend_wishlist_table .single-add-to-cart,
.wt_frontend_wishlist_table .button.product_type_simple {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
}

#bulk-add-to-cart:hover, 
.single-add-to-cart:hover,
.wt_frontend_wishlist_table .button:hover {
    background-color: var(--sareo-gold) !important;
    border-color: var(--sareo-gold) !important;
}

/* 6. Page Layout Adjustments */
.wt_frontend_wishlist_table .button-wrap {
    margin-bottom: 20px !important;
    text-align: right !important;
}

.sareo-profile-detail:has(.wt_frontend_wishlist_table) .sareo-profile-detail__body {
    padding: 24px !important;
    background: #ffffff !important;
}

/* Remove outer uap container border if it exists */
.uap-user-page-content:has(.wt_frontend_wishlist_table) {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   7. WISHLIST EMPTY STATE
   ═══════════════════════════════════════════════════════════ */

/* Target the empty state container we added in account_page-custom_tab.php */
.sareo-wishlist-empty {
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 100px 0 !important;
    margin: 0 !important;
    background: #ffffff;
    border-radius: 0 0 12px 12px !important; /* Bottom corners rounded to match card */
}

.sareo-wishlist-empty__icon {
    display: block !important;
    width: 100% !important;
    font-size: 80px;
    color: #f5f5f5;
    margin-bottom: 20px;
    line-height: 1;
    text-align: center !important;
}

.sareo-wishlist-empty__icon i {
    display: inline-block !important;
    margin: 0 auto !important;
}

.sareo-wishlist-empty__text {
    display: block !important;
    width: 100% !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: #aaaaaa;
    margin: 0 !important;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-align: center !important;
}

/* Hide any stubborn default plugin messages or borders in the wishlist tab */
.sareo-wishlist-tab .sareo-profile-detail__body {
    border-top: none !important;
    position: relative;
    padding: 0 !important; /* Neutralize parent padding for perfect inner centering */
}

/* Style the wishlist header with black background and white text */
.sareo-wishlist-tab .sareo-profile-detail__header {
    background: #222222 !important;
    padding: 16px 24px !important;
    border-radius: 12px 12px 0 0 !important; /* Top corners rounded to match card */
}

.sareo-wishlist-tab .sareo-profile-detail__title {
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin: 0 !important;
}

/* Force neutralization of the blue border-top often seen in WT Wishlist */
.sareo-wishlist-tab .wt-wishlist-empty-msg,
.sareo-wishlist-tab .webtoffee_wishlist_table_container {
    border-top: none !important;
}

/* ============================================================
   CART PAGE — Sareo Custom Layout
   ============================================================ */

/* Page wrapper */
.woocommerce-cart .woocommerce {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Two-column layout */
.sareo-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

/* ---- Cart Items Panel ---- */
.sareo-cart-items {
    background: #fff;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.sareo-cart-heading {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #222222;
    margin: 0 0 24px;
    padding: 0;
    border: none;
    background: none;
}

/* Cart table */
.sareo-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.sareo-cart-table thead th {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 0 12px;
    background: none;
}

.sareo-cart-table thead .sareo-col-product { text-align: left; }
.sareo-cart-table thead .sareo-col-total   { text-align: right; }

.sareo-cart-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.sareo-cart-table tbody tr:last-child {
    border-bottom: none;
}

.sareo-cart-table td.sareo-col-product {
    padding: 24px 16px 24px 0;
    vertical-align: top;
}

.sareo-cart-table td.sareo-col-total {
    padding: 24px 0;
    vertical-align: top;
    text-align: right;
    font-weight: 700;
    font-size: 15px;
    color: #222222;
    white-space: nowrap;
}

/* Product inner flex */
.sareo-cart-item-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Thumbnail */
.sareo-cart-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.sareo-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Product info block */
.sareo-cart-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sareo-cart-name {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #222222;
}

.sareo-cart-name a {
    color: inherit;
    text-decoration: none;
}

.sareo-cart-name a:hover {
    color: #c8a97e;
}

.sareo-cart-unit-price {
    font-size: 13px;
    color: #555;
}

.sareo-cart-unit-price .woocommerce-Price-amount {
    color: #555;
}

/* Remove link */
.sareo-remove-item {
    display: inline-block;
    margin-top: 6px;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999 !important;
    text-decoration: none !important;
    transition: color .2s;
}

.sareo-remove-item:hover {
    color: #e94a4a !important;
}

/* Actions row (hidden — nonce is still submitted) */
.sareo-cart-table .actions {
    display: none;
}

/* ---- Qty Stepper ---- */
.sareo-qty-wrap {
    margin-top: 10px;
}

.sareo-qty-stepper {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: fit-content;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.sareo-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}

.sareo-qty-stepper .sareo-qty-btn:first-child {
    border: 1px solid #222 !important;
    border-right: none !important;
}

.sareo-qty-stepper .sareo-qty-btn:last-child {
    border: 1px solid #222 !important;
    border-left: none !important;
}

.sareo-qty-btn:hover {
    background: #c8a97e;
    color: #fff;
}

.sareo-qty-stepper input.qty,
.sareo-qty-stepper input[type="number"] {
    width: 42px;
    height: 32px;
    text-align: center;
    border: 1px solid #222;
}

.sareo-qty-stepper input.qty::-webkit-inner-spin-button,
.sareo-qty-stepper input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ============================================================
   SINGLE PRODUCT — Detail Page Styling
   ============================================================ */

/* Product image gallery — contained with subtle border */
.single-product .woocommerce-product-gallery,
.single-product div.product .images {
    background: transparent !important;
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06) !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    border-radius: 4px !important;
}

.single-product .woocommerce-product-gallery img,
.single-product div.product .images img {
    background: transparent !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* Entry summary — positioning context + left-aligned */
.woocommerce div.product .entry-summary {
    text-align: left !important;
    position: relative !important;
}

.woocommerce div.product .entry-summary > *,
.woocommerce div.product .entry-summary .product_title,
.woocommerce div.product .entry-summary .woocommerce-product-rating,
.woocommerce div.product .entry-summary .price,
.woocommerce div.product .entry-summary .sold-count,
.woocommerce div.product .entry-summary .stock,
.woocommerce div.product .entry-summary .woocommerce-product-details__short-description,
.woocommerce div.product .entry-summary .cart,
.woocommerce div.product .entry-summary .product_meta {
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    float: none !important;
}

/* Sold count chip — keep its internal padding intact */
.woocommerce div.product .entry-summary .sold-count {
    padding: 3px 10px !important;
    display: inline-block !important;
}

/* Cart form (+/- qty stepper + button) — starts flush left */
.woocommerce div.product .entry-summary .cart,
.single-product .entry-summary form.cart,
.single-product .entry-summary .sareo-qty-wrap,
.single-product .entry-summary .sareo-qty-stepper {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Remove WooCommerce clearfix pseudo-elements on form.cart — same issue as product-rating */
.single-product .entry-summary form.cart::before,
.single-product .entry-summary form.cart::after {
    display: none !important;
    content: none !important;
}

/* Product title — remove dotted border, clean bold */
.single-product .product_title.entry-title,
.single .entry-summary .product_title.entry-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #222 !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    padding-right: 52px !important;
    margin-bottom: 12px !important;
    line-height: 1.3 !important;
}

@media (min-width: 992px) {
    .single-product .product_title.entry-title {
        font-size: 32px !important;
    }
}

/* Font — apply Montserrat uniformly across all single product page text */
body.single-product,
body.single-product .entry-summary,
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-tabs .wc-tab,
body.single-product .related.products,
body.single-product .upsells.products,
body.single-product .woocommerce-product-details__short-description,
body.single-product .product_meta,
body.single-product .woocommerce-product-rating,
body.single-product .woocommerce-review-link,
body.single-product .wc-tabs li a,
body.single-product .woocommerce-Reviews,
body.single-product .comment-text,
body.single-product #review_form,
body.single-product #review_form label,
body.single-product #review_form input,
body.single-product #review_form textarea {
    font-family: var(--sareo-font-main) !important;
}

/* Rating row — left-aligned flush with product title */
.woocommerce div.product .entry-summary .woocommerce-product-rating,
.single-product .entry-summary .woocommerce-product-rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    margin: 0 0 14px 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: both !important;
    line-height: 1 !important;
    width: 100% !important;
    text-align: left !important;
}

/* Remove WooCommerce clearfix pseudo-elements — they become flex items and push stars right */
.woocommerce div.product .entry-summary .woocommerce-product-rating::before,
.woocommerce div.product .entry-summary .woocommerce-product-rating::after,
.single-product .entry-summary .woocommerce-product-rating::before,
.single-product .entry-summary .woocommerce-product-rating::after {
    display: none !important;
    content: none !important;
}

/* Star icons — larger and left-anchored */
.woocommerce div.product .entry-summary .woocommerce-product-rating .star-rating,
.single-product .entry-summary .woocommerce-product-rating .star-rating {
    float: none !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 17px !important;
    height: 1em !important;
    line-height: 1 !important;
    width: 5.4em !important;
}

/* Review count link — size to match stars */
.woocommerce div.product .entry-summary .woocommerce-review-link,
.single-product .entry-summary .woocommerce-review-link {
    font-size: 15px !important;
    color: #888 !important;
    text-decoration: underline !important;
    text-underline-offset: 2px !important;
    font-family: var(--sareo-font-main) !important;
    line-height: 1 !important;
}

.woocommerce div.product .entry-summary .woocommerce-review-link:hover,
.single-product .entry-summary .woocommerce-review-link:hover {
    color: #c8a97e !important;
}

/* Price */
.single-product .entry-summary .price,
.single .entry-summary .price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 14px !important;
    line-height: 1.2 !important;
}

.single-product .entry-summary .price ins,
.single .entry-summary ins {
    font-size: inherit !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    color: #222 !important;
}

.single-product .entry-summary .price del {
    font-size: 0.7em !important;
    color: #999 !important;
    font-weight: 400 !important;
}

/* Sold count */
.single-product .entry-summary .sold-count {
    display: inline-block !important;
    background: #f0f0f0 !important;
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 12px !important;
    margin-bottom: 14px !important;
}

/* Stock status — bold + flex row for icon alignment */
.single-product .entry-summary .stock {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-bottom: 18px !important;
}

.single-product .entry-summary .in-stock {
    color: #2e7d32 !important;
}

.single-product .entry-summary .out-of-stock {
    color: #c62828 !important;
}

/* Stock icons */
.single-product .entry-summary .sareo-stock-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 17px !important;
    height: 17px !important;
    border-radius: 50% !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    color: #fff !important;
}

.single-product .entry-summary .sareo-stock-icon--in {
    background: #2e7d32 !important;
}

.single-product .entry-summary .sareo-stock-icon--in::before {
    content: "✓" !important;
}

.single-product .entry-summary .sareo-stock-icon--out {
    background: #c62828 !important;
}

.single-product .entry-summary .sareo-stock-icon--out::before {
    content: "✕" !important;
}

/* Short description */
.single-product .entry-summary .woocommerce-product-details__short-description {
    font-size: 15px !important;
    color: #555 !important;
    margin-bottom: 20px !important;
    line-height: 1.7 !important;
}

.single-product .entry-summary .woocommerce-product-details__short-description p {
    font-size: inherit !important;
    line-height: inherit !important;
    margin-bottom: 8px !important;
}

/* Add to cart form — flex row: qty stepper + button */
.single-product .entry-summary .cart {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    flex-wrap: nowrap !important;
}

.single-product .entry-summary .cart .quantity {
    width: auto !important;
    flex-shrink: 0 !important;
    float: none !important;
}

/* Add to Cart button */
.single-product .entry-summary .single_add_to_cart_button,
.single-product .entry-summary button.single_add_to_cart_button {
    flex: 1 !important;
    width: auto !important;
    float: none !important;
    height: 42px !important;
    padding: 0 24px !important;
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background .2s !important;
    box-sizing: border-box !important;
}

.single-product .entry-summary .single_add_to_cart_button:hover {
    background: #c8a97e !important;
}

/* Qty stepper — single product sizing with rounded corners like Add to Cart */
.single-product .sareo-qty-stepper {
    border-radius: 6px !important;
    overflow: hidden !important;
    border: none !important; /* Move border to individual elements to fix hover clipping */
    height: 42px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
}

.single-product .sareo-qty-btn {
    height: 100% !important;
    width: 36px !important;
    border-radius: 0 !important;
    font-size: 18px !important;
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #222 !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 2 !important; /* Button kasta menengah */
}

.single-product .sareo-qty-stepper .sareo-qty-btn:first-child {
    margin-right: -1px !important; /* Overlap with input border */
}

.single-product .sareo-qty-stepper .sareo-qty-btn:last-child {
    margin-left: -1px !important; /* Overlap with input border */
}

.single-product .sareo-qty-btn:hover {
    background: #c8a97e !important;
    border-color: #c8a97e !important;
    z-index: 3 !important;
    box-shadow: 0 0 0 1px #c8a97e !important; /* Edge seal to hide black line */
}

.single-product .sareo-qty-btn:disabled,
.single-product .sareo-qty-btn[disabled] {
    background: #aaa !important;
    border-color: #aaa !important;
    color: #fff !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

/* Qty input field — centered number, with its own borders */
.single-product .sareo-qty-stepper input.qty,
.single-product .sareo-qty-stepper input[type="number"],
.woocommerce .single-product .sareo-qty-stepper input.qty,
.single-product .entry-summary .quantity input {
    height: 100% !important;
    width: 48px !important;
    font-size: 14px !important;
    text-align: center !important;
    border-top: 1px solid #222 !important;
    border-bottom: 1px solid #222 !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #222 !important;
    position: relative !important;
    z-index: 1 !important; /* Input kasta paling bawah */
}


/* ---- Wishlist button — repositioned to top-right of entry-summary ---- */

/* Remove from normal flow, float it to top-right corner */
/* Positioning the wishlist container absolutely and locking its center */
.single-product .entry-summary .single_product_div {
    position: absolute !important;
    top: 5px !important;
    right: 0px !important;
    z-index: 99 !important;
    width: 32px !important;   /* Fixed box to anchor the center points */
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Anchor — no circle, clean minimal */
.single-product .entry-summary .single_product_div a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    padding: 4px !important;
    border-radius: 0 !important;
    background: none !important;
    border: none !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.single-product .entry-summary .single_product_div a:hover {
    background: none !important;
    border: none !important;
    opacity: 0.65 !important;
}

/* Ensure no circles or backgrounds appear on click/loading */
.single-product .entry-summary .single_product_div i,
.single-product .entry-summary .single_product_div i *,
.single-product .entry-summary .single_product_div i:before,
.single-product .entry-summary .single_product_div i:after,
.single-product .entry-summary .single_product_div .webtoffee_wishlist,
.single-product .entry-summary .single_product_div .webtoffee_wishlist_remove,
.single-product .entry-summary .single_product_div .wt-wishlist-button,
.single-product .entry-summary .single_product_div .wt-wishlist-button:before,
.single-product .entry-summary .single_product_div .wt-wishlist-button:after {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    content: none !important;
}

.single-product .entry-summary .single_product_div .wt-wishlist-button::before,
.single-product .entry-summary .single_product_div .wt-wishlist-button::after {
    display: none !important;
}

/* Positioning the wishlist container absolutely and locking its center */
.single-product .entry-summary .single_product_div {
    position: absolute !important;
    top: 0px !important;
    right: 0px !important;
    z-index: 99 !important;
    width: 32px !important;   /* Fixed box to anchor the center */
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure Parent Summary has relative positioning for the anchor above */
.single-product .entry-summary {
    position: relative !important;
}

/* Heart icon — Strictly using plugin's original size but locking center position */
.single-product .entry-summary .single_product_div img,
.single-product .entry-summary .single_product_div .wishlist_text_icon_image,
.single-product .entry-summary .single_product_div i.webtoffee_wishlist img,
.single-product .entry-summary .single_product_div i.webtoffee_wishlist_remove img {
    width: auto !important;      /* Use native plugin size */
    height: auto !important;
    max-width: none !important;
    display: block !important;
    object-fit: contain !important;
    filter: none !important;
    margin: 0 !important;
}

/* 1. SVG State / Initial Load */
.single-product .entry-summary .single_product_div img[src*="favourite.svg"] {
    opacity: 1 !important;
}

/* 2. PNG Outline State */
.single-product .entry-summary .single_product_div img[src*="icon_unfavourite"] {
    opacity: 0.6 !important;
}

/* 3. PNG Red State (icon_favourite) */
.single-product .entry-summary .single_product_div img[src*="icon_favourite"],
.single-product .entry-summary .single_product_div img.webtoffee_wishlist_remove,
.single-product .entry-summary .single_product_div i.webtoffee_wishlist_remove img {
    opacity: 1 !important;
    position: static !important;
    top: auto !important;
    left: auto !important;
}

/* Hide text label & "View wishlist" link — icon only */
.single-product .entry-summary .single_product_div span.webtoffee_wishlist,
.single-product .entry-summary .single_product_div span.webtoffee_wishlist_remove,
.single-product .entry-summary .single_product_div .browse_wishlist {
    display: none !important;
}

/* Meta (SKU, Categories, Brand) */
.single-product .entry-summary .product_meta {
    font-size: 12px !important;
    color: #888 !important;
    margin-top: 16px !important;
    line-height: 1.8 !important;
}

.single-product .entry-summary .product_meta a {
    color: #555 !important;
}

.single-product .entry-summary .product_meta a:hover {
    color: #c8a97e !important;
}

/* Related / Upsell products on single product page */
body.single-product .related.products,
body.single-product .upsells.products {
    margin-top: 20px !important;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #222 !important;
    margin-bottom: 24px !important;
    border-bottom: none !important;
    text-align: center !important;
}

body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove WC clearfix pseudo-elements that become grid items */
body.single-product .related.products ul.products::before,
body.single-product .related.products ul.products::after,
body.single-product .upsells.products ul.products::before,
body.single-product .upsells.products ul.products::after {
    display: none !important;
    content: none !important;
}

body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
    background: #f9f9f9 !important;
    padding: 0 !important;
    padding-bottom: 88px !important;
    margin: 0 !important;
    text-align: left !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    border: 1px solid #e5e5e5 !important;
    float: none !important;
    width: auto !important;
}

body.single-product .related.products ul.products li.product:hover,
body.single-product .upsells.products ul.products li.product:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transform: none !important;
}

/* P tag reset inside cards */
body.single-product .related.products ul.products li.product p,
body.single-product .upsells.products ul.products li.product p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Wishlist icon — explicitly show, matching brand archive behaviour */
body.single-product .related.products ul.products li.product .icon_above_image.sareo-wishlist,
body.single-product .upsells.products ul.products li.product .icon_above_image.sareo-wishlist {
    display: flex !important;
}

/* Rating wrap — stars + review count, matching brand archive */
body.single-product .related.products .sareo-product-rating-wrap,
body.single-product .upsells.products .sareo-product-rating-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 25px 20px 10px !important;
    flex-wrap: wrap !important;
}

body.single-product .related.products .sareo-product-rating-wrap p,
body.single-product .upsells.products .sareo-product-rating-wrap p {
    display: inline-flex !important;
    margin: 0 !important;
}

body.single-product .related.products .sareo-stars,
body.single-product .upsells.products .sareo-stars {
    color: #f5c518 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    letter-spacing: 1px !important;
    display: inline-block !important;
    width: auto !important;
}

body.single-product .related.products .sareo-star.filled,
body.single-product .upsells.products .sareo-star.filled {
    color: #f5c518 !important;
}

body.single-product .related.products .sareo-star,
body.single-product .upsells.products .sareo-star {
    color: #eaeaea !important;
}

body.single-product .related.products .sareo-review-count,
body.single-product .upsells.products .sareo-review-count {
    font-size: 12px !important;
    color: #666 !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    position: relative !important;
    top: -1px;
}

/* Link anchor — flex column so price is pushed to bottom */
body.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link:not(:first-child),
body.single-product .upsells.products ul.products li.product a.woocommerce-LoopProduct-link:not(:first-child) {
    color: #222 !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    width: 100% !important;
    text-decoration: none !important;
}

/* Product image */
body.single-product .related.products ul.products li.product img.attachment-woocommerce_thumbnail,
body.single-product .upsells.products ul.products li.product img.attachment-woocommerce_thumbnail {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    mix-blend-mode: multiply !important;
    display: block !important;
    margin: 0 auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Product title */
body.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
body.single-product .upsells.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    padding: 0 20px 10px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
}

/* Price */
body.single-product .related.products ul.products li.product .price,
body.single-product .upsells.products ul.products li.product .price {
    display: block !important;
    position: static !important;
    left: auto !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
    text-align: left !important;
    padding: 0 20px 0 !important;
    margin: 0 !important;
    margin-top: auto !important;
    width: 100% !important;
}

body.single-product .related.products ul.products li.product .price del,
body.single-product .upsells.products ul.products li.product .price del {
    font-size: 12px !important;
    color: #999 !important;
    font-weight: 400 !important;
    margin-right: 4px !important;
}

/* Star rating */
body.single-product .related.products ul.products li.product .star-rating,
body.single-product .upsells.products ul.products li.product .star-rating {
    padding: 0 20px 6px !important;
    margin: 0 !important;
    font-size: 12px !important;
}

/* Hide unwanted elements */
body.single-product .related.products ul.products li.product .sareo-bestseller-badge,
body.single-product .upsells.products ul.products li.product .sareo-bestseller-badge,
body.single-product .related.products ul.products li.product .yith-wcwl-add-to-wishlist,
body.single-product .upsells.products ul.products li.product .yith-wcwl-add-to-wishlist,
body.single-product .related.products ul.products li.product .tinv-wraper,
body.single-product .upsells.products ul.products li.product .tinv-wraper,
body.single-product .related.products ul.products li.product .tinvwl_add_to_wishlist_button,
body.single-product .upsells.products ul.products li.product .tinvwl_add_to_wishlist_button,
body.single-product .related.products ul.products li.product .sold-count,
body.single-product .upsells.products ul.products li.product .sold-count,
body.single-product .related.products ul.products li.product .woocommerce-product-details__short-description,
body.single-product .upsells.products ul.products li.product .woocommerce-product-details__short-description,
body.single-product .related.products ul.products li.product .compare.button,
body.single-product .upsells.products ul.products li.product .compare.button,
body.single-product .related.products ul.products li.product .yith-wcqv-button,
body.single-product .upsells.products ul.products li.product .yith-wcqv-button {
    display: none !important;
}

/* Font safety — cover any button class not listed below */
body.single-product .related.products ul.products li.product a.button,
body.single-product .upsells.products ul.products li.product a.button {
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}

/* Add to Cart button — absolute at bottom */
body.single-product .related.products ul.products li.product a.button.add_to_cart_button,
body.single-product .upsells.products ul.products li.product a.button.add_to_cart_button,
body.single-product .related.products ul.products li.product a.button.product_type_simple,
body.single-product .upsells.products ul.products li.product a.button.product_type_simple,
body.single-product .related.products ul.products li.product a.button.product_type_variable,
body.single-product .upsells.products ul.products li.product a.button.product_type_variable {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 !important;
    background: #c8a97e !important;
    color: #fff !important;
    text-align: center !important;
    border: 2px solid #c8a97e !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    transition: all 0.2s !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: none !important;
    float: none !important;
    margin: 0 !important;
    margin-top: -10px !important;
    z-index: 5 !important;
}

body.single-product .related.products ul.products li.product a.button::before,
body.single-product .related.products ul.products li.product a.button::after,
body.single-product .upsells.products ul.products li.product a.button::before,
body.single-product .upsells.products ul.products li.product a.button::after {
    display: none !important;
    content: none !important;
}

body.single-product .related.products ul.products li.product a.button.add_to_cart_button:hover,
body.single-product .upsells.products ul.products li.product a.button.add_to_cart_button:hover,
body.single-product .related.products ul.products li.product a.button.product_type_simple:hover,
body.single-product .upsells.products ul.products li.product a.button.product_type_simple:hover,
body.single-product .related.products ul.products li.product a.button.product_type_variable:hover,
body.single-product .upsells.products ul.products li.product a.button.product_type_variable:hover {
    background: #b8956a !important;
    border-color: #b8956a !important;
    color: #fff !important;
    border-color: #000 !important;
}

@media (max-width: 991px) {
    body.single-product .related.products ul.products,
    body.single-product .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 599px) {
    body.single-product .related.products ul.products,
    body.single-product .upsells.products ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ---- Cart Totals Sidebar ---- */
.sareo-cart-sidebar .cart_totals {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    background: #fff;
}

.sareo-cart-totals-heading {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: #222222;
    margin: 0;
    padding: 18px 24px;
    border: none;
}

.sareo-cart-totals-body {
    padding: 24px;
}

/* Coupon toggle button */
.sareo-coupon-toggle {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: #fff;
    border: 1.5px solid #c8a97e;
    color: #c8a97e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, color .2s;
    margin-bottom: 16px;
}

.sareo-coupon-toggle:hover,
.sareo-coupon-toggle[aria-expanded="true"] {
    background: #c8a97e;
    color: #fff;
}

/* Coupon form */
.sareo-coupon-form {
    margin-bottom: 16px;
}

.sareo-coupon-row {
    display: flex;
    gap: 8px;
}

.sareo-coupon-row input[type="text"] {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
}

.sareo-coupon-apply {
    padding: 10px 16px;
    background: #222222;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s;
}

.sareo-coupon-apply:hover {
    background: #c8a97e;
}

/* Totals table */
.sareo-totals-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

.sareo-totals-table tr th,
.sareo-totals-table tr td {
    padding: 8px 0;
    border: none;
    font-size: 14px;
    vertical-align: middle;
}

.sareo-totals-table tr th {
    color: #555;
    font-weight: 400;
    text-align: left;
}

.sareo-totals-table tr td {
    text-align: right;
    font-weight: 700;
    color: #222222;
}

.sareo-estimated-total th,
.sareo-estimated-total td {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #222222 !important;
    padding-top: 12px !important;
    border-top: 1px solid #f0f0f0 !important;
}

/* Shipping note */
.sareo-shipping-note {
    font-size: 12px;
    color: #888;
    margin: 4px 0 20px;
    text-align: left;
}

/* Proceed to checkout button */
.sareo-cart-sidebar .wc-proceed-to-checkout {
    margin-top: 16px;
}

.sareo-cart-sidebar .wc-proceed-to-checkout .checkout-button,
.sareo-cart-sidebar .wc-proceed-to-checkout a.button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: #222222;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s;
    box-sizing: border-box;
}

.sareo-cart-sidebar .wc-proceed-to-checkout .checkout-button:hover,
.sareo-cart-sidebar .wc-proceed-to-checkout a.button:hover {
    background: #c8a97e;
}

/* Coupon discounts shown in totals */
.sareo-cart-sidebar .cart-discount th,
.sareo-cart-sidebar .cart-discount td {
    color: #2a9d2a;
    font-size: 13px;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    .sareo-cart-layout {
        grid-template-columns: 1fr;
    }

    .sareo-cart-sidebar .cart_totals {
        margin-top: 0;
    }
}

@media (max-width: 600px) {
    .sareo-cart-items {
        padding: 20px 16px;
    }

    .sareo-cart-thumb {
        width: 60px;
        height: 60px;
    }

    .woocommerce-cart .woocommerce {
        padding: 20px 12px;
    }
}

/* ============================================================
   QTY STEPPER — JS behaviour (auto-submit on change)
   ============================================================ */

/* ============================================================
   WooCommerce BLOCKS CART — Sareo Custom Styling
   Targets: sareo.local/cart/ (WC Blocks-based, not classic shortcode)
   ============================================================ */

/* --- Cart page spacing --- */
.woocommerce-cart .entry-body {
    padding: 20px 0 40px;
}

/* Prevent panels from stretching to match each other's height */
.wp-block-woocommerce-filled-cart-block {
    align-items: flex-start !important;
}

/* --- Left panel card --- */
.wp-block-woocommerce-cart-items-block {
    background-color: #f5f5f5 !important;
    border-radius: 8px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: none !important;
}

/* --- Left panel: "SHOPPING CART" heading — JS-injected h2 --- */
.wp-block-woocommerce-cart-items-block .sareo-cart-heading-injected {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #222222;
    margin: 0 0 28px;
    padding: 0;
    border: none;
    background: none;
}

/* CSS ::before fallback (if JS hasn't run yet) */
.wp-block-woocommerce-cart-items-block:not(:has(.sareo-cart-heading-injected))::before {
    content: "SHOPPING CART";
    display: block;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #222222;
    margin-bottom: 28px;
    padding: 0;
    border: none;
}

/* --- Hide cross-sells (not needed) --- */
.wp-block-woocommerce-cart-items-block .wp-block-woocommerce-product-collection {
    display: none !important;
}

/* ── Column headers ── */
table.wc-block-cart-items {
    overflow: visible !important;
}
table.wc-block-cart-items .wc-block-cart-items__header th {
    font-size: 14px !important;
    font-weight: 400 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #000 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 0 0 10px !important;
    background: none !important;
    text-align: left !important;
    overflow: visible !important;
}

/* keep image-header column but hide its text */
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-image {
    width: 96px !important;
    visibility: hidden !important;
}

/* Replace "Details" text with "PRODUCT", shifted left to align with heading */
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product {
    visibility: visible !important;
    font-size: 0 !important;
    position: relative !important;
    overflow: visible !important;
}
table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-product::after {
    content: "PRODUCT";
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #000;
    position: absolute;
    left: -96px;
    top: 0;
    white-space: nowrap;
}

table.wc-block-cart-items .wc-block-cart-items__header .wc-block-cart-items__header-total {
    text-align: right !important;
    color: #000 !important;
}

/* ── Item rows ── */
.wc-block-cart__main table.wc-block-cart-items td {
    border-top: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 20px 0 !important;
    vertical-align: top !important;
}

.wc-block-cart__main table.wc-block-cart-items td.wc-block-cart-item__image {
    width: 96px !important;
    padding-right: 24px !important;
}

/* thumbnail */
table.wc-block-cart-items .wc-block-cart-item__image img {
    border-radius: 8px !important;
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    display: block !important;
}

/* product name */
table.wc-block-cart-items .wc-block-components-product-name {
    display: block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #222 !important;
    text-decoration: none !important;
    margin-bottom: 10px !important;
    max-width: none !important;
    line-height: 1.4 !important;
}

table.wc-block-cart-items .wc-block-components-product-name:hover {
    color: #c8a97e !important;
}

/* unit price */
table.wc-block-cart-items .wc-block-cart-item__prices {
    font-size: 13px !important;
    color: #000 !important;
    font-weight: 700 !important;
    margin-bottom: 14px !important;
    line-height: 1.4 !important;
}

table.wc-block-cart-items .wc-block-cart-item__prices .woocommerce-Price-amount {
    color: #000 !important;
    font-weight: 700 !important;
}

/* quantity cell */
table.wc-block-cart-items .wc-block-cart-item__quantity {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
}

/* remove link */
table.wc-block-cart-items .wc-block-cart-item__remove-link {
    display: inline-block !important;
    margin-top: 8px !important;
    font-size: 10px !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #000 !important;
    text-decoration: none !important;
    opacity: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer !important;
}

table.wc-block-cart-items .wc-block-cart-item__remove-link:hover {
    color: #e94a4a !important;
}

/* total column */
.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__total {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #222 !important;
    text-align: right !important;
    white-space: nowrap !important;
    border-top: none !important;
    border-bottom: none !important;
    vertical-align: top !important;
}

/* Hapus semua border dari elemen dalam Total cell agar tidak ada garis ganda */
.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__total > *,
.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__total span,
.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__total div,
.wc-block-cart__main table.wc-block-cart-items .wc-block-cart-item__total .woocommerce-Price-amount {
    border: none !important;
}

/* ── Quantity stepper wrapper ── */
.wc-block-components-quantity-selector {
    border: 1px solid #e5e7eb !important;
    border-radius: 4px !important;
    background: #fff !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 30px !important;
    gap: 0 !important;
}

/* ── Buttons: enabled → hitam ── */
.woocommerce-cart .wp-block-woocommerce-cart-items-block .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--minus,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button--plus,
button.wc-block-components-quantity-selector__button,
.woocommerce-cart .wc-block-components-quantity-selector__button {
    background: #000000 !important;
    background-color: #000000 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: background .15s !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

/* Disabled → abu-abu (specificity harus lebih tinggi dari rule enabled di atas) */
.woocommerce-cart .wp-block-woocommerce-cart-items-block .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button[disabled],
.woocommerce-cart .wp-block-woocommerce-cart-items-block .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled,
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button[disabled],
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled,
button.wc-block-components-quantity-selector__button[disabled],
button.wc-block-components-quantity-selector__button:disabled,
.woocommerce-cart .wc-block-components-quantity-selector__button[disabled],
.woocommerce-cart .wc-block-components-quantity-selector__button:disabled {
    background: #b0b0b0 !important;
    background-color: #b0b0b0 !important;
    cursor: not-allowed !important;
    opacity: 1 !important;
}

/* Hover: gold hanya ketika enabled */
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:not([disabled]):not(:disabled):hover,
.woocommerce-cart .wc-block-components-quantity-selector__button:not([disabled]):not(:disabled):hover,
button.wc-block-components-quantity-selector__button:not([disabled]):not(:disabled):hover {
    background: #c8a97e !important;
    background-color: #c8a97e !important;
}

.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* SVG icon — centered */
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button svg,
button.wc-block-components-quantity-selector__button svg {
    fill: #fff !important;
    width: 10px !important;
    height: 10px !important;
    display: block !important;
    margin: 0 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
}

.wc-block-components-quantity-selector__input {
    width: 36px !important;
    min-width: 36px !important;
    border: none !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #222 !important;
    height: 30px !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ── Right panel: order summary — gray card, merges with Proceed button below ── */
.wp-block-woocommerce-cart-order-summary-block {
    background-color: #f5f5f5 !important;
    border-radius: 8px 8px 0 0 !important;
    border: 1px solid #e5e7eb !important;
    border-bottom: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    outline: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Right panel: JS-injected "Cart Totals" heading — override default h2 theme styles */
.wp-block-woocommerce-cart-order-summary-block .sareo-cart-heading-injected {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #222222 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    outline: none !important;
    background: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

/* CART TOTALS heading — no separator line */
.wp-block-woocommerce-cart-order-summary-heading-block {
    background: none !important;
    padding: 0 0 16px !important;
    margin: 0 0 16px !important;
    border-bottom: none !important;
}

.wp-block-woocommerce-cart-order-summary-heading-block h2,
.wp-block-woocommerce-cart-order-summary-heading-block .wp-block-heading {
    color: #222 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    line-height: 1.2 !important;
}

/* coupon section — remove all separator lines */
.wp-block-woocommerce-cart-order-summary-coupon-form-block,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-panel,
.wc-block-components-totals-coupon {
    border-bottom: none !important;
    border-top: none !important;
}

/* ── ADD COUPONS toggle — full-width white button, hover → black ── */
.wc-block-components-totals-coupon .wc-block-components-panel__button,
.wc-block-components-totals-coupon .wc-block-components-panel__button:not(:focus) {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: center !important;
    padding: 13px 16px !important;
    background: #fff !important;
    border: 1.5px solid #e0e0e0 !important;
    color: #222 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background .15s, color .15s, border-color .15s !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button:hover,
.wc-block-components-totals-coupon .wc-block-components-panel__button[aria-expanded="true"] {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button svg {
    display: none !important;
}

/* coupon "Apply" button */
.wc-block-components-totals-coupon__button {
    background: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    padding: 10px 16px !important;
    cursor: pointer !important;
    transition: background .15s !important;
}

.wc-block-components-totals-coupon__button:hover,
.wp-block-woocommerce-cart-totals-block .wc-block-components-totals-coupon__button:hover,
.wp-block-woocommerce-cart-order-summary-coupon-form-block .wc-block-components-totals-coupon__button:hover {
    background: #c8a97e !important;
    background-color: #c8a97e !important;
    color: #fff !important;
}

/* ── Enter Code input — hover & focus border → gold ── */
.wc-block-components-totals-coupon .wc-block-components-text-input input:hover,
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input input:hover {
    border-color: #c8a97e !important;
}
.wc-block-components-totals-coupon .wc-block-components-text-input input:focus,
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__input input:focus {
    border-color: #c8a97e !important;
    box-shadow: 0 0 0 1px #c8a97e !important;
    outline: none !important;
}

/* ── Totals table rows ── */
.wc-block-components-totals-item {
    padding: 8px 0 !important;
}

.wc-block-components-totals-footer-item {
    border-top: none !important;
    border-bottom: none !important;
    padding: 14px 0 8px !important;
    margin-top: 4px !important;
}

.wc-block-components-totals-footer-item ~ *,
.wc-block-components-totals-footer-item + .wc-block-components-totals-wrapper {
    border-top: none !important;
}

.wc-block-components-totals-item__label {
    font-size: 14px !important;
    color: #555 !important;
    font-weight: 400 !important;
}

.wc-block-components-totals-item__value {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
}

/* "Estimated total" row (footer) */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
}

/* shipping note */
.wc-block-components-totals-shipping,
.wc-block-components-totals-footer-item-shipping {
    font-size: 12px !important;
    color: #888 !important;
}

/* ── Proceed to Checkout button ── */
.wp-block-woocommerce-proceed-to-checkout-block .wp-element-button {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 20px !important;
    background: #222 !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    text-decoration: none !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background .15s !important;
    margin-top: 0 !important;
}

.wp-block-woocommerce-proceed-to-checkout-block .wp-element-button:hover {
    background: #c8a97e !important;
}

/* override woo.css blue → dark */
.wp-block-woocommerce-cart-totals-block .wp-element-button {
    background-color: #222 !important;
    border-radius: 6px !important;
}

/* ── Proceed to Checkout — visually inside Cart Totals container ── */
.wp-block-woocommerce-proceed-to-checkout-block {
    background: #f5f5f5 !important;
    border: 1px solid #e5e7eb !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    padding: 16px 24px 24px !important;
    margin-top: 0 !important;
}


/* ── Hide elements not in screenshot ── */
.wp-block-woocommerce-cart-accepted-payment-methods-block,
.wp-block-woocommerce-cart-express-payment-block {
    display: none !important;
}

/* hide duplicate "Cart totals" sidebar toggle on desktop */
.wc-block-cart .wc-block-cart__totals-title {
    display: none !important;
}

/* ============================================================
   EMPTY CART — "New in Store" Product Cards (WC Blocks grid)
   Targets: .wc-block-grid__product inside the empty cart block
   Mirror: Home page & Brand page ul.products li.product styling
   ============================================================ */

/* ── Hilangkan garis abu-abu di atas section "New in store" ── */

/* Hapus border-top/bottom pada heading h2 "New in store" */
.wp-block-woocommerce-empty-cart-block h2 {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Sembunyikan hr separator (dots ···) di atas heading */
.wp-block-woocommerce-empty-cart-block hr,
.wp-block-woocommerce-empty-cart-block .wp-block-separator {
    display: none !important;
    border: none !important;
    margin: 0 !important;
}

/* Hapus border-top pada section container "storefront-promoted-products" */
.wp-block-woocommerce-empty-cart-block .storefront-promoted-products,
.wp-block-woocommerce-empty-cart-block [class*="storefront-product-section"] {
    border-top: none !important;
    border-bottom: none !important;
}

/* Grid wrapper — no background, no extra spacing */
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Card container */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    background: #f9f9f9 !important;
    padding: 0 !important;
    padding-bottom: 68px !important; /* space for the absolute Add to Cart button */
    margin-bottom: 30px !important;
    text-align: left !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    border: 1px solid #e5e5e5 !important;
    list-style: none !important;
}

/* --- Product Image ----------------------------------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    line-height: 0 !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image a,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
    display: block !important;
    text-decoration: none !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image img,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product img {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    mix-blend-mode: multiply !important;
}

/* --- Product Title ----------------------------------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-title {
    display: block !important;
    padding: 16px 20px 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin: 0 !important;
    text-decoration: none !important;
}

/* Also cover .wc-block-grid__product-link if it wraps text */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-link {
    color: #222 !important;
    text-decoration: none !important;
}

/* --- Product Price ----------------------------------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price {
    display: block !important;
    padding: 0 20px 8px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: left !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price .price,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price .woocommerce-Price-amount,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price .woocommerce-Price-currencySymbol,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-price bdi {
    color: #222 !important;
    font-size: inherit !important;
    font-weight: 700 !important;
    text-align: left !important;
}

/* --- Star Ratings ------------------------------------------ */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-rating {
    display: none !important; /* hide block-style rating — no sareo-stars equivalent */
}

/* --- Add to Cart button — pinned at bottom ----------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a.button,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a.add_to_cart_button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 !important;
    background: #c8a97e !important;
    color: #fff !important;
    border: 2px solid #c8a97e !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-family: var(--sareo-font-main) !important;
    text-decoration: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
    box-shadow: none !important;
    margin: 0 !important;
    text-align: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    /* NOT absolute — wrapper is already pinned; button fills it */
    position: static !important;
    transform: none !important;
    float: none !important;
}

/* Extra specificity to override WooCommerce Blocks hide-until-hover opacity */
.wp-block-woocommerce-empty-cart-block .wc-block-grid .wc-block-grid__product .wc-block-grid__product-add-to-cart .wp-block-button__link,
.wp-block-woocommerce-empty-cart-block .wc-block-grid .wc-block-grid__product .wc-block-grid__product-add-to-cart a.add_to_cart_button,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product .wp-block-button .wp-block-button__link {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a:hover,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart .wp-block-button__link:hover {
    background: #b8956a !important;
    border-color: #b8956a !important;
    color: #fff !important;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a::after,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-add-to-cart a::before {
    display: none !important;
    content: none !important;
}

/* --- Hide extras (compare, quickview, badges) -------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product .compare.button,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product .yith-wcqv-button,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product .sareo-bestseller-badge,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product .sold-count {
    display: none !important;
}

/* --- Card hover — no image lift, darker button ------------- */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transform: none !important;
}

/* Blokir efek gambar naik saat hover */
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover img,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product img:hover,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product-image:hover img,
.wp-block-woocommerce-empty-cart-block .wc-block-grid__product .wc-block-grid__product-image a:hover img {
    transform: none !important;
    top: 0 !important;
    margin-top: 0 !important;
    transition: none !important;
}

/* ── ALSO keep legacy ul.products selector (fallback) ─────── */
/* Card container */
.wp-block-woocommerce-empty-cart-block ul.products li.product {
    background: #f9f9f9 !important;
    padding: 0 !important;
    padding-bottom: 88px !important;
    margin-bottom: 30px !important;
    text-align: left !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    border: 1px solid #e5e5e5 !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product p {
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product img.attachment-woocommerce_thumbnail {
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    background: transparent !important;
    object-fit: contain !important;
    aspect-ratio: 1/1 !important;
    width: 100% !important;
    mix-blend-mode: multiply !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product .sareo-bestseller-badge,
.wp-block-woocommerce-empty-cart-block ul.products li.product .yith-wcwl-add-to-wishlist,
.wp-block-woocommerce-empty-cart-block ul.products li.product .tinv-wraper,
.wp-block-woocommerce-empty-cart-block ul.products li.product .tinvwl_add_to_wishlist_button,
.wp-block-woocommerce-empty-cart-block ul.products li.product .sold-count,
.wp-block-woocommerce-empty-cart-block ul.products li.product .woocommerce-product-details__short-description,
.wp-block-woocommerce-empty-cart-block ul.products li.product .compare.button,
.wp-block-woocommerce-empty-cart-block ul.products li.product .yith-wcqv-button {
    display: none !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product .woocommerce-loop-product__title {
    padding: 0 20px 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    margin-bottom: 0 !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product .price {
    display: block !important;
    position: static !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
    text-align: left !important;
    margin: 0 !important;
    width: 100% !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product .price span.amount,
.wp-block-woocommerce-empty-cart-block ul.products li.product .price span.woocommerce-Price-currencySymbol,
.wp-block-woocommerce-empty-cart-block ul.products li.product .price bdi {
    color: #222 !important;
    text-align: left !important;
    font-size: inherit !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product a.button.add_to_cart_button,
.wp-block-woocommerce-empty-cart-block ul.products li.product a.button.product_type_simple,
.wp-block-woocommerce-empty-cart-block ul.products li.product a.button.product_type_variable {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 44px !important;
    padding: 0 !important;
    background: #c8a97e !important;
    color: #fff !important;
    border: 2px solid #c8a97e !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    transition: all 0.2s !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: none !important;
    float: none !important;
    margin: 0 !important;
    z-index: 5 !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product a.button::after,
.wp-block-woocommerce-empty-cart-block ul.products li.product a.button::before {
    display: none !important;
    content: none !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product a.button:hover {
    background: #b8956a !important;
    border-color: #b8956a !important;
    color: #fff !important;
}

.wp-block-woocommerce-empty-cart-block ul.products li.product:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    transform: none !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .wp-block-woocommerce-cart-items-block::before {
        font-size: 15px;
    }
}

/* ============================================================
   SINGLE PRODUCT PAGE — Visual Refinements
   Target: woocommerce div.product (standard WC template, not blocks)
   Sesuai: plugin-override-best-practices.md → CSS Override Strategy
   ============================================================ */

/* ── 0. Sembunyikan "Brand" page-header di atas nama produk ──── */
body.single-product .page-header {
    display: none !important;
}

/* ── 1. Price: warna hitam (bukan biru bawaan tema) ──────────── */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price .woocommerce-Price-amount,
.woocommerce div.product .price bdi,
.woocommerce div.product .price .woocommerce-Price-currencySymbol {
    color: #222 !important;
}

.woocommerce div.product p.price {
    font-size: 26px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

/* ── 2. Star rating — tampilkan ikon bintang di bawah nama produk ─── */
/* Force WooCommerce 'star' icon font — Montserrat tema menimpa default */
.woocommerce div.product .woocommerce-product-rating .star-rating,
.woocommerce div.product .woocommerce-product-rating .star-rating::before,
.woocommerce div.product .woocommerce-product-rating .star-rating span::before {
    font-family: star !important;
}
.woocommerce div.product .woocommerce-product-rating .star-rating {
    overflow: hidden !important;
    font-size: 14px !important;
    height: 1.2em !important;
    display: inline-block !important;
    vertical-align: middle !important;
}
.woocommerce div.product .woocommerce-product-rating .star-rating::before {
    font-size: 14px !important;
    color: #e0e0e0 !important;
}
.woocommerce div.product .woocommerce-product-rating .star-rating span::before {
    font-size: 14px !important;
    color: #c9a84c !important;
}
.woocommerce div.product .woocommerce-product-rating {
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* ── 3. "in stock" badge — styling halus ─────────────────────── */
.woocommerce div.product .stock {
    font-size: 13px !important;
    color: #2e7d32 !important;
    font-weight: 500 !important;
}

/* ── 4. Tabs — hapus garis biru, seragamkan ke abu tipis ──────── */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 1px solid #ddd !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid #ddd !important;
    border-bottom: none !important;
    background: #f9f9f9 !important;
    border-radius: 4px 4px 0 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: #fff !important;
    border-bottom-color: #fff !important;
    border-top: 2px solid #222 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: #555 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #222 !important;
    font-weight: 600 !important;
}

/* Hapus pseudo-element bawaan WC — kalau dibiarkan bisa menutupi border kiri tab pertama */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    content: none !important;
}

/* Pastikan tab pertama (Deskripsi) punya border kiri yang terlihat */
.woocommerce div.product .woocommerce-tabs ul.tabs li:first-child {
    border-left: 1px solid #ddd !important;
    margin-left: 0 !important;
}

/* Tab content border */
.woocommerce div.product .woocommerce-tabs .panel {
    border: none !important;
    padding: 24px 0 !important;
}

/* Sembunyikan judul h2 di dalam panel tab (Deskripsi, Additional Information) */
.woocommerce div.product .woocommerce-tabs .panel h2 {
    display: none !important;
}

/* ── Additional Information — tabel atribut produk ─────────────── */

.woocommerce div.product .woocommerce-tabs table.shop_attributes {
    width: 100% !important;
    border-collapse: collapse !important;
    border: none !important;
    margin: 0 !important;
    font-family: var(--sareo-font-main) !important;
}

/* Baris — garis tipis bawah */
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr {
    border-bottom: 1px solid #eeeeee !important;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:first-child {
    border-top: 1px solid #eeeeee !important;
}

/* Hover baris */
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:hover th,
.woocommerce div.product .woocommerce-tabs table.shop_attributes tr:hover td {
    background: #fafafa !important;
}

/* Label kolom kiri */
.woocommerce div.product .woocommerce-tabs table.shop_attributes th {
    width: 32% !important;
    padding: 13px 16px !important;
    background: #f7f7f7 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #555 !important;
    text-align: left !important;
    vertical-align: middle !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    border: none !important;
    border-right: 1px solid #eeeeee !important;
}

/* Nilai kolom kanan */
.woocommerce div.product .woocommerce-tabs table.shop_attributes td {
    padding: 13px 16px !important;
    background: #ffffff !important;
    font-size: 14px !important;
    color: #222 !important;
    vertical-align: middle !important;
    border: none !important;
}

/* Link di dalam value (misal: category, tag) */
.woocommerce div.product .woocommerce-tabs table.shop_attributes td a {
    color: #555 !important;
    text-decoration: none !important;
}

.woocommerce div.product .woocommerce-tabs table.shop_attributes td a:hover {
    color: #c8a97e !important;
}

/* ── 5. Related Products — mirip kartu Home/Brand page ───────── */

/* Section title */
.woocommerce div.product .related.products > h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #222 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border: none !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 16px !important;
    margin-bottom: 24px !important;
}

/* Grid layout — 4 kolom seperti home page */
.woocommerce div.product .related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 16px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Kartu product */
.woocommerce div.product .related.products ul.products li.product {
    background: #f9f9f9 !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    padding-bottom: 60px !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
    box-sizing: border-box !important;
}

/* Gambar produk */
.woocommerce div.product .related.products ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    margin: 0 !important;
    padding: 0 !important;
    mix-blend-mode: multiply !important;
    display: block !important;
}

/* Sembunyikan star rating & review count di related products */
.woocommerce div.product .related.products ul.products li.product .star-rating,
.woocommerce div.product .related.products ul.products li.product .starrating,
.woocommerce div.product .related.products ul.products li.product [class*="star-"],
.woocommerce div.product .related.products ul.products li.product .woocommerce-product-rating,
.woocommerce div.product .related.products ul.products li.product .review-count-wrapper,
.woocommerce div.product .related.products ul.products li.product .sold-count,
.woocommerce div.product .related.products ul.products li.product .sareo-bestseller-badge,
.woocommerce div.product .related.products ul.products li.product [class*="review"] {
    display: none !important;
}

/* Judul produk */
.woocommerce div.product .related.products ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #222 !important;
    padding: 14px 16px 6px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Harga: warna hitam — container block, konten inline agar Rp & angka satu baris */
.woocommerce div.product .related.products ul.products li.product .price {
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 0 16px 10px !important;
    display: block !important;
    text-align: left !important;
    position: static !important;
    line-height: 1.5 !important;
}
.woocommerce div.product .related.products ul.products li.product .price .woocommerce-Price-amount,
.woocommerce div.product .related.products ul.products li.product .price bdi {
    color: #222 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: inline !important;
    padding: 0 !important;
}
.woocommerce div.product .related.products ul.products li.product .price .woocommerce-Price-currencySymbol {
    color: #222 !important;
    display: inline !important;
    padding: 0 !important;
    font-size: 14px !important;
}

/* Tombol Add to Cart — absolute di bawah kartu */
.woocommerce div.product .related.products ul.products li.product .button.add_to_cart_button,
.woocommerce div.product .related.products ul.products li.product a.button {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #c8a97e !important;
    color: #fff !important;
    border: 2px solid #c8a97e !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    visibility: visible !important;
    float: none !important;
    transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.woocommerce div.product .related.products ul.products li.product .button.add_to_cart_button:hover,
.woocommerce div.product .related.products ul.products li.product a.button:hover {
    background: #b8956a !important;
    border-color: #b8956a !important;
    color: #fff !important;
}

/* Sembunyikan pseudo elements yang membuat efek animasi */
.woocommerce div.product .related.products ul.products li.product a.button::before,
.woocommerce div.product .related.products ul.products li.product a.button::after {
    display: none !important;
    content: none !important;
}

/* Hover card: no transform/lift */
.woocommerce div.product .related.products ul.products li.product:hover {
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
}

.woocommerce div.product .related.products ul.products li.product:hover img {
    transform: none !important;
}

/* Hapus garis biru di atas "Related Products" section */
.woocommerce div.product .related.products,
.woocommerce .related.products {
    border-top: none !important;
    padding-top: 40px !important;
}

/* Lightbox (PhotoSwipe) Fix: Hide Promo Bar and Header elements when zooming images */
.pswp--open ~ .sareo-promo-bar,
.pswp--open ~ .site-header,
body:has(.pswp--open) .sareo-promo-bar,
body:has(.pswp--open) .site-header {
    display: none !important;
}

/* Ensure Lightbox is actually on top of any other potential overlays */
.pswp {
    z-index: 99999 !important;
}

/* Responsive: 2 kolom di tablet */
@media (max-width: 900px) {
    .woocommerce div.product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .woocommerce div.product .related.products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── WooCommerce cart notice — Sareo theme styling ── */
/* ul = flex container; height auto-fits content */
.woocommerce-notices-wrapper .woocommerce-message,
ul.woocommerce-message {
    background: #fff !important;
    color: #222 !important;
    border: 1px solid #e5e5e5 !important;
    border-left: 4px solid #c8a97e !important;
    border-top: none !important;
    border-radius: 0 !important;
    padding: 8px 12px !important;
    margin: 0 auto 20px !important;
    max-width: 520px !important;
    font-size: 13px !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    list-style: none !important;
    box-sizing: border-box !important;
}

/* Hide default WooCommerce icon font checkmark */
.woocommerce-notices-wrapper .woocommerce-message::before,
ul.woocommerce-message::before {
    display: none !important;
    content: none !important;
}

/* li fills the ul flex container */
.woocommerce-notices-wrapper .woocommerce-message li,
ul.woocommerce-message li {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    gap: 8px !important;
    line-height: 1.4 !important;
    min-height: 0 !important;
}

/* Green checkmark circle */
.woocommerce-notices-wrapper .woocommerce-message li::before,
ul.woocommerce-message li::before {
    content: '✓' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    background: #4caf50 !important;
    color: #fff !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    order: 0 !important;
}

/* View Cart button — flex item, pushed far right via order + margin-left: auto */
.woocommerce-notices-wrapper .woocommerce-message .button,
ul.woocommerce-message .button,
.woocommerce-notices-wrapper .woocommerce-message a.wc-forward,
ul.woocommerce-message a.wc-forward {
    background: #222 !important;
    color: #fff !important;
    border: 1px solid #222 !important;
    border-radius: 0 !important;
    padding: 7px 16px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    font-family: 'Montserrat', sans-serif !important;
    float: none !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: background 0.2s, border-color 0.2s !important;
    white-space: nowrap !important;
    order: 2 !important;
    margin-left: auto !important;
    position: static !important;
    transform: none !important;
}

.woocommerce-notices-wrapper .woocommerce-message .button:hover,
ul.woocommerce-message .button:hover,
.woocommerce-notices-wrapper .woocommerce-message a.wc-forward:hover,
ul.woocommerce-message a.wc-forward:hover {
    background: #c8a97e !important;
    border-color: #c8a97e !important;
    color: #fff !important;
}

/* ============================================================
   6. CHECKOUT PAGE (WooCommerce Blocks) Styling
   ============================================================ */

/* Global checkout background and container */
.wc-block-checkout {
    background: transparent !important;
}

/* Hide page header title specifically on checkout */
.woocommerce-checkout .page-header {
    display: none !important;
}

/* Section headings */
.wc-block-components-title, 
.wc-block-checkout__billing-address-title,
.wc-block-checkout__shipping-address-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #222 !important;
    margin-bottom: 20px !important;
    letter-spacing: -0.01em !important;
}

/* Input Fields & Focus States */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.wc-block-components-textarea textarea {
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox-control input:focus,
.wc-block-components-textarea textarea:focus,
.wc-block-checkout textarea:focus,
.woocommerce-checkout #order_comments:focus,
.woocommerce-checkout .form-row.notes textarea:focus {
    border-color: #c8a97e !important;
    box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.15) !important;
    outline: none !important;
}

/* Checkbox & Radio Aksen (Gold) */
.wc-block-components-checkbox__input,
.wc-block-components-radio-control__input,
.wc-block-components-checkout-step--active .wc-block-components-radio-control__input {
    accent-color: #c8a97e !important;
}

/* Checkout Columns Positioning & Colors */
.wc-block-components-sidebar-layout.wc-block-checkout {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 48px !important;
    align-items: flex-start !important;
}

/* Grey outer container */
.wc-block-checkout__main {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    background: #f5f5f5 !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 16px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* White inner container — semua step membentuk satu kotak putih di dalam abu-abu */
.wc-block-components-checkout-step {
    background: #ffffff !important;
    padding: 28px 32px !important;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* Sudut atas rounded pada step pertama */
.wc-block-components-checkout-step:first-of-type {
    border-radius: 10px 10px 0 0 !important;
}

/* Sudut bawah rounded pada step terakhir + hapus border bawah */
.wc-block-components-checkout-step:last-of-type {
    border-radius: 0 0 10px 10px !important;
    border-bottom: none !important;
}

/* Headings di dalam step */
.wc-block-components-checkout-step .wc-block-components-title {
    margin-top: 0 !important;
}

.wc-block-checkout__sidebar {
    flex: 0 0 500px !important; /* Increased width for summary sidebar as requested */
    background: #f9f9f9 !important;
    border: 1px solid #eee !important;
    border-radius: 12px !important;
    padding: 32px !important;
    box-sizing: border-box !important;
}

/* Primary "Place Order" Button — Using higher specificity to override WC Blocks default blue */
.wp-block-woocommerce-checkout .wc-block-checkout .wp-element-button.wc-block-components-checkout-place-order-button,
.wc-block-components-checkout-place-order-button,
button.wc-block-components-checkout-place-order-button {
    background-color: #222 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 16px 40px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    transition: background-color 0.2s !important;
    width: auto !important;
    min-width: 200px !important;
    box-shadow: none !important;
}

.wp-block-woocommerce-checkout .wc-block-checkout .wp-element-button.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-checkout-place-order-button:hover,
button.wc-block-components-checkout-place-order-button:hover {
    background-color: #c8a97e !important;
}

/* Coupon section */
.wc-block-components-totals-coupon-link,
.wc-block-components-totals-coupon-form .wc-block-components-button {
    color: #222 !important;
}

.wc-block-components-totals-coupon-form button[type="submit"] {
    background-color: #222 !important;
    border-radius: 4px !important;
}

.wc-block-components-totals-coupon-form button[type="submit"]:hover {
    background-color: #c8a97e !important;
}

/* Checkout Dropdown and Input Focus Colors — Branding Gold Override */
.wc-block-checkout__form select:focus,
.wc-blocks-components-select__select:focus,
.wc-block-components-combobox__input:focus,
.wc-block-components-combobox-control input:focus,
.wc-block-components-text-input input:focus {
    border-color: #c8a97e !important;
    box-shadow: 0 0 0 2px rgba(200, 169, 126, 0.1) !important;
    outline: none !important;
}

/* Checkout Address Search "Add" Button Hover — Branding Gold */
.addButton:hover,
.addButton.form_option_shipping:hover,
.addButton.form_option_billing:hover {
    background-color: #c8a97e !important;
    color: #ffffff !important;
}

/* Sinkronisasi Ikon Tutup Pop-up Alamat dengan Member Area */
.ssad_modal-header .ssad_close {
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    cursor: pointer !important;
    transition: 0.2s ease-in-out !important;
    z-index: 10 !important;
}

/* Ukuran Ikon 'X' dan Warna Putih Awal */
.ssad_modal-header .ssad_close i {
    font-size: 15px !important;
    color: #ffffff !important;
}

/* Efek Hover Emas Sareo — Tanpa Background */
.ssad_modal-header .ssad_close:hover {
    background: transparent !important;
    background-color: transparent !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.ssad_modal-header .ssad_close:hover i {
    color: #c8a97e !important;
}

/* Hapus garis aksen emas di bawah bar judul pop-up */
.ssad_modal-header {
    border-bottom: none !important;
}

/* Scrollbar Ultra-Minimalis (Lebih Tipis & Abu-abu Sangat Muda) */
.ssad_modal-body::-webkit-scrollbar {
    width: 6px !important;
}

.ssad_modal-body::-webkit-scrollbar-track {
    background: transparent !important;
}

.ssad_modal-body::-webkit-scrollbar-thumb {
    background: #e0e0e0 !important;
    border-radius: 10px !important;
}

.ssad_modal-body::-webkit-scrollbar-thumb:hover {
    background: #cccccc !important;
}

/* Penyesuaian Tinggi Field agar Ultra-Kompak (40px) */
.ssad_modal-body .input-text, 
.ssad_modal-body select {
    height: 40px !important;
    padding: 8px 15px !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    border: 1px solid #dddddd !important;
    border-radius: 4px !important;
}

/* Jarak antar baris formulir yang lebih rapat (8px) */
.ssad_modal-body .form-row {
    margin-bottom: 8px !important;
}

/* State Focus Emas Sareo pada seluruh Field Isian */
.ssad_modal-body .input-text:focus, 
.ssad_modal-body select:focus {
    border-color: #c8a97e !important;
    outline: none !important;
    box-shadow: 0 0 0 1px rgba(200, 169, 126, 0.2) !important;
}

/* Textarea tetap kompak namun proporsional */
.ssad_modal-body textarea.input-text {
    height: auto !important;
    min-height: 70px !important;
}

/* Konsolidasi Bagian Bawah: Merapatkan Checkbox & Button ke Field Kode Pos */
.ssad_modal-body .form-row:has(.input-checkbox) {
    margin-top: 0 !important;
    margin-bottom: 12px !important; /* Jeda ideal antar checkbox */
}

/* Penyesuaian khusus agar checkbox pertama tetap dekat dengan field Kode Pos di atasnya */
#set_as_shipping_field, 
#set_as_shipping_add_ship_field, 
#set_as_shipping_add_bill_field {
    margin-top: 5px !important;
}

.ssad_modal-body #ssad_add_shipping_form_submit, 
.ssad_modal-body #ssad_add_billing_form_submit {
    margin-top: 5px !important;
}

/* Order notes: gabungkan dengan step sebelumnya tanpa border pemisah */
.wc-block-checkout__order-notes.wc-block-components-checkout-step {
    border-top: none !important;
    padding-top: 0 !important;
}

/* Checkbox Hitam saat Tercentang */
.ssad_modal-body .input-checkbox:checked {
    accent-color: #000000 !important;
}

/* Fix for standard WooCommerce checkout if used as fallback */
.woocommerce-checkout #payment #place_order {
    background: #222 !important;
    color: #fff !important;
    border-radius: 6px !important;
}

.woocommerce-checkout #payment #place_order:hover {
    background: #c8a97e !important;
}

/* ── 1. "Return to Cart" — hover → gold ── */
.wc-block-components-checkout-return-to-cart-button,
.wc-block-components-checkout-return-to-cart-button a,
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button {
    color: #222 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.wc-block-components-checkout-return-to-cart-button:hover,
.wc-block-components-checkout-return-to-cart-button a:hover,
.wc-block-checkout .wc-block-components-checkout-return-to-cart-button:hover {
    color: #c8a97e !important;
}

/* ── 2. Order Summary product names — kill origin3 h3 border + ::after blue accent line ── */
.wc-block-components-order-summary h3.wc-block-components-product-name,
.wc-block-components-order-summary-item h3.wc-block-components-product-name,
.wc-block-checkout__sidebar h3.wc-block-components-product-name,
h3.wc-block-components-product-name,
.wc-block-components-order-summary-item__name,
.wc-block-components-product-name {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    text-decoration: none !important;
}

.wc-block-components-order-summary h3.wc-block-components-product-name::after,
.wc-block-components-order-summary-item h3.wc-block-components-product-name::after,
.wc-block-checkout__sidebar h3.wc-block-components-product-name::after,
h3.wc-block-components-product-name::after,
.wc-block-components-order-summary-item__name::after,
.wc-block-components-product-name::after {
    display: none !important;
    content: none !important;
    border-bottom: none !important;
    border: none !important;
}

/* ── 3. Coupon "Apply" button — black default, gold hover ── */
.wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon-form button[type="submit"],
.wc-block-checkout .wc-block-components-totals-coupon__button,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__button,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon-form button[type="submit"],
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__button,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block button[type="submit"] {
    background: #222 !important;
    background-color: #222 !important;
    color: #fff !important;
    border-color: #222 !important;
}

.wc-block-components-totals-coupon__button:hover,
.wc-block-components-totals-coupon-form button[type="submit"]:hover,
.wc-block-checkout .wc-block-components-totals-coupon__button:hover,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon__button:hover,
.wc-block-checkout__sidebar .wc-block-components-totals-coupon-form button[type="submit"]:hover,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block .wc-block-components-totals-coupon__button:hover,
.wp-block-woocommerce-checkout-order-summary-coupon-form-block button[type="submit"]:hover {
    background: #c8a97e !important;
    background-color: #c8a97e !important;
    color: #fff !important;
    border-color: #c8a97e !important;
}

/* ── Checkbox "Additional order information" — checked state → black ── */
/* WC Blocks custom checkbox: target box background + border + SVG mark fill */
.wc-block-checkout__order-fields .wc-block-components-checkbox__input[type="checkbox"]:checked,
.wc-block-checkout__order-notes .wc-block-components-checkbox__input[type="checkbox"]:checked {
    background: #222 !important;
    background-color: #222 !important;
    border-color: #222 !important;
}

.wc-block-checkout__order-fields .wc-block-components-checkbox__input[type="checkbox"]:checked + .wc-block-components-checkbox__mark,
.wc-block-checkout__order-notes .wc-block-components-checkbox__input[type="checkbox"]:checked + .wc-block-components-checkbox__mark {
    fill: #fff !important;
    color: #fff !important;
}

/* ── Thank You Page (sareo-thankyou) ── */

/* Page background */
body.woocommerce-order-received {
    background-color: #faf8f6 !important;
}

.woocommerce-order-received .site-main,
.woocommerce-order-received .contents,
.woocommerce-order-received .page-body {
    padding-top: 0 !important;
}

/* WooCommerce container — strip WC chrome, full width for 2-col layout */
.woocommerce-order-received .woocommerce {
    background: transparent !important;
    max-width: var(--sareo-container-max) !important;
    margin: var(--sareo-space-6) auto var(--sareo-space-10) !important;
    padding: 0 var(--sareo-container-gutter) !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Entry animation */
@keyframes sareoTyFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}
@keyframes tyHeroIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: none; }
}

/* Outer wrapper — passthrough, no width constraint (layout handles it) */
.sareo-thankyou {
    width: 100%;
}

/* ============================================================
   FAILED STATE — keep card-style hero for error
   ============================================================ */
.sareo-ty-hero {
    background: var(--sareo-white);
    border: 1px solid var(--sareo-neutral-200);
    border-radius: var(--sareo-radius-xl);
    box-shadow: var(--sareo-shadow-md);
    padding: var(--sareo-space-10) var(--sareo-space-8) var(--sareo-space-9);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sareo-space-4);
    max-width: 640px;
    margin: 0 auto;
    animation: sareoTyFadeUp 0.35s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.sareo-ty-hero--failed {
    border-color: var(--sareo-error);
}

.sareo-ty-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--sareo-radius-circle);
    background: var(--sareo-gold-light);
    color: var(--sareo-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
    border: none !important;
    outline: none !important;
    box-shadow: 0 0 0 8px rgba(200, 169, 126, 0.15);
    margin-bottom: var(--sareo-space-3);
}

.sareo-ty-icon--error {
    background: var(--sareo-error-bg);
    color: var(--sareo-error);
    box-shadow: 0 0 0 8px rgba(220, 53, 69, 0.1);
}

.sareo-ty-title {
    font-size: var(--sareo-text-4xl);
    font-weight: var(--sareo-weight-bold);
    color: var(--sareo-dark);
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-top: none !important;
    line-height: 1.25;
}

.sareo-ty-sub {
    font-size: var(--sareo-text-md);
    color: var(--sareo-neutral-600);
    max-width: 440px;
    margin: 0;
    line-height: 1.65;
}

.sareo-ty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sareo-space-4);
    justify-content: center;
}

/* ============================================================
   SUCCESS STATE — Elevated Curator design tokens
   ============================================================ */
.sareo-thankyou {
    --ty-bg:            #faf8f6;
    --ty-surface:       #ffffff;
    --ty-surface-muted: #f6f3f0;
    --ty-border:        rgba(200,169,126,.14);
    --ty-gold:          #a8845a;
    --ty-text:          #1c1b1a;
    --ty-muted:         #6b6056;
    --ty-ghost:         rgba(160,140,120,.18);
}

/* ── HERO ── */
.ty-hero {
    margin-bottom: 48px;
    animation: tyHeroIn .5s cubic-bezier(0.23,1,0.32,1) both;
}

.ty-hero-icon {
    display: none; /* desktop: hidden — mobile CSS overrides */
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--sareo-gold-light);
    color: var(--sareo-gold-dark);
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 26px;
    line-height: 1;
}

.ty-hero-icon i {
    display: block;
    line-height: 1;
}

.ty-hero-order {
    display: none; /* desktop: hidden — mobile CSS overrides */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ty-gold);
    margin-top: 12px;
}

.ty-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ty-gold);
    margin-bottom: 16px;
}

.ty-headline {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--ty-text);
    margin-bottom: 16px;
    border: none !important;
    border-top: none !important;
    padding: 0 !important;
}

.ty-subline {
    font-size: 15px;
    font-weight: 300;
    color: var(--ty-muted);
    line-height: 1.6;
    max-width: 560px;
    margin: 0;
}

.ty-subline strong {
    font-weight: 600;
    color: var(--ty-text);
}

/* ── LAYOUT GRID ── */
.ty-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "main  status"
        "main  side";
    gap: 28px;
    align-items: start;
}

.ty-col-main {
    grid-area: main;
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: tyHeroIn .5s .08s cubic-bezier(0.23,1,0.32,1) both;
}

.ty-status-wrapper {
    grid-area: status;
    animation: tyHeroIn .5s .16s cubic-bezier(0.23,1,0.32,1) both;
}

.ty-col-side {
    grid-area: side;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: tyHeroIn .5s .24s cubic-bezier(0.23,1,0.32,1) both;
}

/* ── CARD BASE ── */
.ty-card {
    background: var(--ty-surface);
    border-radius: 12px;
    border: 1px solid var(--ty-border);
    padding: 36px;
}

.ty-card-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ty-text);
    margin-bottom: 32px;
    border: none !important;
    padding: 0 !important;
}

/* ── ORDER ITEMS ── */
.ty-items {
    display: flex;
    flex-direction: column;
}

.ty-product {
    display: flex;
    gap: 28px;
    padding: 0 0 28px;
}

.ty-product + .ty-product {
    padding-top: 28px;
    border-top: 1px solid var(--ty-ghost);
}

.ty-product-img-wrap {
    width: 100px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.ty-product-img-wrap img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

.ty-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px 0;
}

.ty-product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ty-text);
    margin-bottom: 5px;
    letter-spacing: -0.01em;
}

.ty-product-variant {
    font-size: 12px;
    color: var(--ty-muted);
    margin-bottom: 4px;
}

.ty-product-qty {
    font-size: 13px;
    font-weight: 400;
    color: var(--ty-muted);
}

.ty-product-unit-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--ty-muted);
}

.ty-product-subtotal {
    font-size: 14px;
    font-weight: 600;
    color: var(--sareo-dark);
    text-align: right;
    flex-shrink: 0;
    align-self: flex-end;
    padding-bottom: 4px;
    white-space: nowrap;
}

/* ── PRICING BREAKDOWN ── */
.ty-pricing {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid var(--ty-ghost);
}

.ty-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 7px 0;
    font-size: 14px;
    color: var(--ty-muted);
}

.ty-pricing-row-label { font-weight: 400; }
.ty-pricing-row-value {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    color: var(--sareo-dark);
}

/* Shipping method title ("via JNE Reguler") — push below the amount */
.ty-pricing-row-value small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: var(--ty-muted);
    margin-top: 2px;
    text-align: right;
}

/* WC price spans inherit their own color from the theme — force override here */
.sareo-thankyou .ty-product-subtotal .woocommerce-Price-amount,
.sareo-thankyou .ty-product-subtotal bdi,
.sareo-thankyou .ty-pricing-row-value .woocommerce-Price-amount,
.sareo-thankyou .ty-pricing-row-value bdi,
.sareo-thankyou .ty-pricing-total-value .woocommerce-Price-amount,
.sareo-thankyou .ty-pricing-total-value bdi {
    color: var(--sareo-dark) !important;
    font-size: inherit;
    font-weight: inherit;
}

/* Discount row — green value */
.ty-pricing-discount .ty-pricing-row-value {
    color: var(--sareo-success);
    font-weight: 600;
}
.sareo-thankyou .ty-pricing-discount .ty-pricing-row-value .woocommerce-Price-amount,
.sareo-thankyou .ty-pricing-discount .ty-pricing-row-value bdi {
    color: var(--sareo-success) !important;
}

/* Total row */
.ty-pricing-total {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--ty-ghost);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.ty-pricing-total-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ty-text);
}

.ty-pricing-total-value {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--sareo-dark);
    white-space: nowrap;
}

/* ── CTA BUTTONS ── */
.ty-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 8px 0;
}

.ty-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--ty-text);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: opacity .15s ease, transform .15s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.ty-btn-dark:hover { opacity: .88; color: #fff; }
.ty-btn-dark:active { transform: scale(0.97); }

.ty-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--ty-muted);
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    border: 1px solid var(--ty-ghost);
    transition: all .15s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.ty-btn-outline:hover {
    color: var(--ty-text);
    border-color: rgba(160,140,120,.4);
    background: var(--ty-surface-muted);
}

.ty-btn-outline:active { transform: scale(0.97); }

/* ── STATUS CARD ── */
.ty-status-card {
    background: var(--ty-surface);
    border-radius: 12px;
    border: 1px solid var(--ty-border);
    padding: 28px;
}

.ty-status-heading {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    border: none !important;
    padding: 0 !important;
}

.ty-status-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.ty-status-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sareo-warning-bg);
    color: var(--sareo-warning);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.ty-status-icon--success {
    background: var(--sareo-success-bg);
    color: var(--sareo-success);
}

.ty-status-stage-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--ty-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 3px;
}

.ty-status-stage-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--sareo-warning);
}

.ty-status-stage-value--paid {
    color: var(--sareo-success);
}

.ty-status-note {
    font-size: 12.5px;
    color: var(--ty-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 12px 14px;
    background: var(--sareo-warning-bg);
    border-radius: 8px;
    border-left: 3px solid var(--sareo-warning);
}

.ty-status-note strong {
    color: var(--ty-text);
    font-weight: 600;
}

.ty-status-track {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ty-surface-muted);
    color: var(--ty-text);
    border: 1px solid var(--ty-ghost);
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
}

.ty-status-track:hover {
    background: var(--ty-border);
    border-color: rgba(160,140,120,.3);
    color: var(--ty-text);
}

/* ── DETAILS CARD (address + payment) ── */
.ty-details-card {
    background: var(--ty-surface);
    border-radius: 12px;
    border: 1px solid var(--ty-border);
    padding: 28px;
    display: flex;
    flex-direction: column;
}

.ty-detail-section {
    padding: 0 0 20px;
}

.ty-detail-section + .ty-detail-section {
    padding-top: 20px;
    border-top: 1px solid var(--ty-ghost);
}

.ty-detail-section:last-child {
    padding-bottom: 0;
}

.ty-detail-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--sareo-neutral-500);
    margin-bottom: 12px;
}

.ty-address {
    font-size: 13.5px;
    color: var(--ty-muted);
    line-height: 1.7;
    font-style: normal;
}

.ty-address strong {
    font-weight: 600;
    color: var(--ty-text);
}

.ty-bank-row {
    display: grid;
    grid-template-columns: minmax(60px, auto) 1fr;
    grid-template-areas:
        "name number"
        "name holder";
    column-gap: 12px;
    row-gap: 1px;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 4px;
    background: var(--ty-surface-muted);
    align-items: center;
}

.ty-bank-row:last-child { margin-bottom: 0; }

.ty-bank-name {
    grid-area: name;
    align-self: center;
    font-size: 10px;
    font-weight: 700;
    color: var(--ty-gold);
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
    text-align: center;
    background: rgba(168,132,90,.1);
    border: 1px solid rgba(168,132,90,.22);
    border-radius: 4px;
    padding: 4px 7px;
}

.ty-bank-number {
    grid-area: number;
    font-size: 14px;
    font-weight: 600;
    color: var(--sareo-dark);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

.ty-bank-holder {
    grid-area: holder;
    font-size: 11px;
    color: var(--ty-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

/* ── VIRTUAL ACCOUNT BLOCK (BRI VA payment) ── */
.ty-va-block {
    background: var(--sareo-warning-bg);
    border: 1px solid rgba(217,119,6,.22);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.ty-va-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sareo-warning);
    margin-bottom: 8px;
}

.ty-va-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ty-va-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--ty-text);
    letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.ty-va-copy {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--sareo-warning);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    flex-shrink: 0;
    transition: opacity .15s ease, transform .15s ease, background .2s ease;
    font-family: inherit;
}

.ty-va-copy:hover  { opacity: .85; }
.ty-va-copy:active { transform: scale(0.95); }
.ty-va-copy.copied { background: var(--sareo-success); }

.ty-va-expire {
    font-size: 11px;
    color: var(--sareo-warning);
    margin-top: 7px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile: slightly smaller VA number */
@media (max-width: 767px) {
    .ty-va-number { font-size: 17px; letter-spacing: .04em; }
}

/* ── PROMO BANNER ── */
.ty-promo {
    position: relative;
    background: var(--sareo-gold-dark);
    border-radius: 12px;
    padding: 28px;
    overflow: hidden;
    color: #fff;
}

.ty-promo-headline {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    border: none !important;
    padding: 0 !important;
}

.ty-promo-sub {
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.6;
    opacity: .85;
    max-width: 220px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.ty-promo-sub strong {
    font-weight: 700;
}

.ty-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.18);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease;
    position: relative;
    z-index: 1;
    text-decoration: none;
}

.ty-promo-cta:hover {
    background: rgba(255,255,255,.28);
    color: #fff;
}

.ty-promo::before {
    content: '';
    position: absolute;
    right: -32px;
    bottom: -32px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,.08);
    border-radius: 50%;
    filter: blur(32px);
}

.ty-promo-icon {
    position: absolute;
    right: -8px;
    top: 10px;
    opacity: .12;
    font-size: 110px;
    line-height: 1;
    z-index: 0;
}

/* ── REDUCE MOTION ── */
@media (prefers-reduced-motion: reduce) {
    .ty-hero,
    .ty-col-main,
    .ty-status-wrapper,
    .ty-col-side {
        animation: none;
    }
}

/* ── MOBILE (≤ 767px) ── */
@media (max-width: 767px) {

    .woocommerce-order-received .woocommerce {
        margin-top: var(--sareo-space-4) !important;
        padding: 0 16px !important;
    }

    /* Hero — centered with circle icon */
    .ty-hero {
        text-align: center;
        margin-bottom: 28px;
    }

    .ty-hero-icon {
        display: flex;
    }

    .ty-hero-order {
        display: block;
    }

    .ty-headline {
        font-size: 28px;
        letter-spacing: -0.02em;
        line-height: 1.15;
    }

    .ty-subline {
        max-width: 100%;
        font-size: 13.5px;
        margin: 0 auto;
    }

    /* Layout → single column, CSS order: status → summary → details */
    .ty-layout {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: stretch; /* override desktop align-items:start so all cards fill full width */
    }

    .ty-status-wrapper { order: 1; width: 100%; }
    .ty-col-main       { order: 2; gap: 16px; width: 100%; }
    .ty-col-side       { order: 3; gap: 12px; width: 100%; }

    /* Cards */
    .ty-card {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .ty-card-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* Products */
    .ty-product { gap: 14px; padding: 0 0 20px; }
    .ty-product + .ty-product { padding-top: 20px; }
    .ty-product-img-wrap { width: 76px; }
    .ty-product-name { font-size: 13.5px; }
    /* Pricing */
    .ty-pricing { margin-top: 20px; padding-top: 18px; }
    .ty-pricing-total-label { font-size: 17px; }
    .ty-pricing-total-value { font-size: 20px; }

    /* CTA buttons — full-width stacked */
    .ty-actions {
        flex-direction: column;
        gap: 8px;
        padding: 4px 0 0;
    }

    .ty-btn-dark,
    .ty-btn-outline {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    /* Status card */
    .ty-status-card {
        padding: 20px 18px;
        border-radius: 10px;
    }

    /* Details card */
    .ty-details-card {
        padding: 20px 18px;
        border-radius: 10px;
    }

    .ty-address { font-size: 13px; }
    .ty-bank-number { font-size: 13px; }
    .ty-bank-row { column-gap: 10px; padding: 8px 10px; }

    /* Promo */
    .ty-promo { padding: 24px 20px; border-radius: 10px; }
    .ty-promo-icon { font-size: 80px; top: 16px; right: -4px; }
    .ty-promo-sub { max-width: 100%; }

    /* Failed state mobile */
    .sareo-ty-hero {
        padding: var(--sareo-space-8) var(--sareo-space-5) var(--sareo-space-7);
    }

    .sareo-ty-title {
        font-size: var(--sareo-text-3xl);
    }

    .sareo-ty-actions {
        flex-direction: column;
    }

    .sareo-ty-actions .sareo-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Privacy Policy & Terms Page (page-id-3, page-id-584) ── */

/* 1. Hilangkan judul halaman */
body.page-id-3 .page-header,
body.page-id-584 .page-header {
    display: none !important;
}

/* Jarak antara menu bar dan konten */
body.page-id-3 .site-body {
    padding-top: 48px !important;
}

/* ── Contact Us Page (page-id-521) ── */

/* 1. Hilangkan judul halaman */
body.page-id-521 .page-header {
    display: none !important;
}

/* Jarak antara menu bar dan konten */
body.page-id-521 .site-body {
    padding-top: 48px !important;
}

/* 2. H3 section titles dalam grey bar */
body.page-id-521 h3.elementor-image-box-title {
    background-color: #f0f0f0;
    padding: 10px 16px;
    margin-bottom: 16px;
    border-bottom: none !important;
    border: none !important;
}

/* 3. Hilangkan garis dekoratif (::after / ::before) di bawah h3 */
body.page-id-521 h3.elementor-image-box-title::after,
body.page-id-521 h3.elementor-image-box-title::before {
    display: none !important;
    content: none !important;
}

/* ── Bestie Deals / E-Catalog Page (page-id-529) ── */

/* 1. Hilangkan judul halaman */
body.page-id-529 .page-header {
    display: none !important;
}

/* 2. Hilangkan garis biru (border-top) dan garis abu-abu (border-bottom / ::after) pada heading */
body.page-id-529 h2.elementor-heading-title {
    border-top: none !important;
    border-bottom: none !important;
    border: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.page-id-529 h2.elementor-heading-title::after,
body.page-id-529 h2.elementor-heading-title::before {
    display: none !important;
    content: none !important;
}

/* =====================================================
   E-Catalog / Bestie Deals (page-id-529) — Spacing
   ===================================================== */

/* Spacing between Je-nauli and Menu Bar */
body.page-id-529 .site-body {
    padding-top: 48px !important;
}

/* Spacing between Hypure / Honiq and button above */
body.page-id-529 .elementor-element-e043fb2,
body.page-id-529 .elementor-element-91d8b8d {
    margin-top: 48px !important;
}

/* ── Business Partner Page — hilangkan garis biru dari wrapper ── */
.post-name-stay-informed-inspired .elementor-widget-container,
.post-name-stay-informed-inspired .e-con,
.post-name-stay-informed-inspired .elementor-section {
    border-top: none !important;
}

/* ========================================
   SAREO BUSINESS PARTNER FULL PAGE WIDGET
   sareo-bpfull-*
   ======================================== */

.sareo-bpfull-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}
.sareo-bpfull-container--narrow {
    max-width: 760px;
}

.sareo-bpfull-section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 48px;
    position: relative;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-bpfull-section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #c8a97e;
    margin: 12px auto 0;
    border-radius: 2px;
}
.sareo-bpfull-section-title--light {
    color: #fff;
}
.sareo-bpfull-section-title--light::after {
    background: rgba(255, 255, 255, 0.4);
}

/* Buttons */
.sareo-bpfull-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    cursor: pointer;
    line-height: 1;
    text-align: center;
}
.sareo-bpfull-btn--gold {
    background: #c8a97e;
    color: #fff !important;
    border: 2px solid #c8a97e;
}
.sareo-bpfull-btn--gold:hover {
    background: #b8956a;
    border-color: #b8956a;
    color: #fff !important;
}
.sareo-bpfull-btn--outline {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.sareo-bpfull-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}
.sareo-bpfull-btn--gold-outline {
    background: transparent;
    color: #c8a97e !important;
    border: 2px solid #c8a97e;
}
.sareo-bpfull-btn--gold-outline:hover {
    background: rgba(200, 169, 126, 0.08);
    color: #c8a97e !important;
}
.sareo-bpfull-btn--lg {
    padding: 18px 52px;
    font-size: 1.05rem;
}

/* ── HERO ─────────────────────────────── */
.sareo-bpfull-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-color: #222222;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sareo-bpfull-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 34, 34, 0.72);
}
.sareo-bpfull-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 64px 24px;
    max-width: 760px;
    width: 100%;
}
.sareo-bpfull-hero__logo {
    height: 60px;
    width: auto;
    margin-bottom: 28px;
    opacity: 0.9;
}
.sareo-bpfull-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 16px;
}
.sareo-bpfull-hero__title strong {
    color: #c8a97e;
}
.sareo-bpfull-hero__sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
    line-height: 1.6;
}
.sareo-bpfull-hero__ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── KENAPA BERGABUNG ─────────────────── */
.sareo-bpfull-why {
    padding: 72px 0;
    background: #fff;
}
.sareo-bpfull-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.sareo-bpfull-icon-box {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid rgba(200, 169, 126, 0.2);
    border-radius: 8px;
    transition: box-shadow 0.2s;
}
.sareo-bpfull-icon-box:hover {
    box-shadow: 0 4px 20px rgba(200, 169, 126, 0.15);
}
.sareo-bpfull-icon-box__icon {
    margin-bottom: 16px;
}
.sareo-bpfull-icon-box__icon i,
.sareo-bpfull-icon-box__icon svg {
    font-size: 2rem;
    color: #c8a97e;
    width: 2rem;
    height: 2rem;
}
.sareo-bpfull-icon-box__title {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 8px;
    margin-top: 0;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-bpfull-icon-box__title::after,
.sareo-bpfull-icon-box__title::before {
    display: none !important;
    content: none !important;
}
.sareo-bpfull-icon-box__desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* ── TIPE PARTNERSHIP ─────────────────── */
.sareo-bpfull-types {
    padding: 72px 0;
    background: #f9f6f2;
}
.sareo-bpfull-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.sareo-bpfull-card {
    background: #fff;
    border: 1px solid rgba(200, 169, 126, 0.25);
    border-radius: 12px;
    padding: 40px 36px;
    transition: box-shadow 0.2s;
}
.sareo-bpfull-card:hover {
    box-shadow: 0 8px 32px rgba(200, 169, 126, 0.18);
}
.sareo-bpfull-card--featured {
    border-color: #c8a97e;
    border-width: 2px;
}
.sareo-bpfull-card__badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #c8a97e;
    background: rgba(200, 169, 126, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.sareo-bpfull-card--featured .sareo-bpfull-card__badge {
    background: #c8a97e;
    color: #fff;
}
.sareo-bpfull-card__icon {
    margin-bottom: 12px;
}
.sareo-bpfull-card__icon i {
    font-size: 2.4rem;
    color: #c8a97e;
}
.sareo-bpfull-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 6px;
    margin-top: 0;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-bpfull-card__name::after,
.sareo-bpfull-card__name::before {
    display: none !important;
    content: none !important;
}
.sareo-bpfull-card__tagline {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 24px;
    font-style: italic;
}
.sareo-bpfull-card__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.sareo-bpfull-card__bullets li {
    padding: 9px 0 9px 28px;
    position: relative;
    font-size: 0.9rem;
    color: #444;
    border-bottom: 1px solid rgba(200, 169, 126, 0.1);
    line-height: 1.4;
}
.sareo-bpfull-card__bullets li:last-child {
    border-bottom: none;
}
.sareo-bpfull-card__bullets li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 9px;
    color: #c8a97e;
    font-size: 0.75rem;
}
.sareo-bpfull-card .sareo-bpfull-btn {
    width: 100%;
}

/* ── CARA KERJA ───────────────────────── */
.sareo-bpfull-steps {
    padding: 72px 0;
    background: #fff;
}
.sareo-bpfull-steps-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.sareo-bpfull-step {
    text-align: center;
    flex: 1;
    min-width: 160px;
    max-width: 260px;
    padding: 0 16px;
}
.sareo-bpfull-step__num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #c8a97e;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.sareo-bpfull-step__title {
    font-size: 1rem;
    font-weight: 600;
    color: #222222;
    margin-bottom: 8px;
    margin-top: 0;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-bpfull-step__title::after,
.sareo-bpfull-step__title::before {
    display: none !important;
    content: none !important;
}
.sareo-bpfull-step__desc {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}
.sareo-bpfull-step__arrow {
    color: #c8a97e;
    font-size: 1.2rem;
    padding-top: 28px;
    flex-shrink: 0;
}

/* ── BENEFIT ──────────────────────────── */
.sareo-bpfull-benefits {
    padding: 72px 0;
    background: #222222;
}
.sareo-bpfull-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.sareo-bpfull-benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 169, 126, 0.2);
    border-radius: 8px;
    padding: 20px 22px;
}
.sareo-bpfull-benefit-item__icon i,
.sareo-bpfull-benefit-item__icon svg {
    color: #c8a97e;
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
}
.sareo-bpfull-benefit-item__title {
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
    display: block;
}
.sareo-bpfull-benefit-item__note {
    font-size: 0.72rem;
    color: #c8a97e;
    display: block;
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* ── Simulator section ────────────────── */
.sareo-bpfull-simulator {
    padding: 72px 0;
    background: #fff;
}
.sareo-bpfull-simulator__sub {
    font-size: 15px;
    color: #888;
    text-align: center;
    margin: -12px 0 32px;
    line-height: 1.6;
}

/* ── FAQ ──────────────────────────────── */
.sareo-bpfull-faq {
    padding: 72px 0;
    background: #f9f6f2;
}
.sareo-bpfull-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sareo-bpfull-faq-item {
    background: #fff;
    border: 1px solid rgba(200, 169, 126, 0.2);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.sareo-bpfull-faq-item[open] {
    box-shadow: 0 4px 16px rgba(200, 169, 126, 0.12);
}
.sareo-bpfull-faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #222222;
    font-size: 0.95rem;
    list-style: none;
    user-select: none;
    gap: 16px;
}
.sareo-bpfull-faq-item__q::-webkit-details-marker { display: none; }
.sareo-bpfull-faq-item__q::marker { display: none; }
.sareo-bpfull-faq-item__chevron {
    color: #c8a97e;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.sareo-bpfull-faq-item[open] .sareo-bpfull-faq-item__chevron {
    transform: rotate(180deg);
}
.sareo-bpfull-faq-item__a {
    padding: 0 24px 20px;
    border-top: 1px solid rgba(200, 169, 126, 0.1);
}
.sareo-bpfull-faq-item__a p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
    margin: 16px 0 0;
}

/* ── CTA PENUTUP ──────────────────────── */
.sareo-bpfull-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sareo-bpfull-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(200, 169, 126, 0.12) 0%, transparent 70%);
    pointer-events: none;
}
.sareo-bpfull-cta .sareo-bpfull-container {
    position: relative;
    z-index: 1;
}
.sareo-bpfull-cta__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    margin-top: 0;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-bpfull-cta__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ── RESPONSIVE ───────────────────────── */
@media (max-width: 1023px) {
    .sareo-bpfull-icon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sareo-bpfull-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .sareo-bpfull-hero__title {
        font-size: 1.6rem;
    }
    .sareo-bpfull-section-title {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }
    .sareo-bpfull-cards {
        grid-template-columns: 1fr;
    }
    .sareo-bpfull-card {
        padding: 28px 24px;
    }
    .sareo-bpfull-icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sareo-bpfull-benefits-grid {
        grid-template-columns: 1fr;
    }
    .sareo-bpfull-steps-row {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .sareo-bpfull-step {
        max-width: 100%;
        padding: 0 0 24px;
    }
    .sareo-bpfull-step__arrow {
        transform: rotate(90deg);
        padding: 0 0 24px;
    }
    .sareo-bpfull-hero__ctas {
        flex-direction: column;
        align-items: stretch;
    }
    .sareo-bpfull-cta__title {
        font-size: 1.5rem;
    }
    .sareo-bpfull-why,
    .sareo-bpfull-types,
    .sareo-bpfull-steps,
    .sareo-bpfull-benefits,
    .sareo-bpfull-faq,
    .sareo-bpfull-cta {
        padding: 48px 0;
    }
}


/* ========================================
   SAREO FAQ WIDGET (standalone)
   sareo-faq-widget-*
   ======================================== */

.sareo-faq-widget__container {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Section title */
.sareo-faq-widget__title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 48px;
    position: relative;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-faq-widget__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #c8a97e;
    margin: 12px auto 0;
    border-radius: 2px;
}
.sareo-faq-widget__title::before {
    display: none !important;
    content: none !important;
}
.sareo-faq-widget__title--light {
    color: #fff;
}
.sareo-faq-widget__title--light::after {
    background: rgba(255, 255, 255, 0.5);
}

/* Accordion list */
.sareo-faq-widget__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Item (details element) */
.sareo-faq-widget__item {
    background: #fff;
    border: 1px solid rgba(200, 169, 126, 0.22);
    border-radius: 8px;
    transition: box-shadow 0.2s;
}
.sareo-faq-widget__item[open] {
    box-shadow: 0 4px 16px rgba(200, 169, 126, 0.12);
}
.sareo-faq-widget__item--dark {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}
.sareo-faq-widget__item--dark[open] {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Question (summary) */
.sareo-faq-widget__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: #222222;
    gap: 16px;
    list-style: none;
    user-select: none;
}
.sareo-faq-widget__q::-webkit-details-marker { display: none; }
.sareo-faq-widget__q::marker               { display: none; }
.sareo-faq-widget__item--dark .sareo-faq-widget__q {
    color: #fff;
}

/* Chevron icon */
.sareo-faq-widget__chevron {
    color: #c8a97e;
    font-size: 0.85rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.sareo-faq-widget__item[open] .sareo-faq-widget__chevron {
    transform: rotate(180deg);
}

/* Answer */
.sareo-faq-widget__a {
    padding: 0 24px 20px;
    border-top: 1px solid rgba(200, 169, 126, 0.1);
}
.sareo-faq-widget__a p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.65;
    margin: 12px 0 0;
}
.sareo-faq-widget__item--dark .sareo-faq-widget__a {
    border-top-color: rgba(255, 255, 255, 0.08);
}
.sareo-faq-widget__item--dark .sareo-faq-widget__a p {
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive */
@media (max-width: 767px) {
    .sareo-faq-widget__title {
        font-size: 1.4rem;
        margin-bottom: 32px;
    }
    .sareo-faq-widget__q {
        padding: 14px 18px;
        font-size: 0.9rem;
    }
    .sareo-faq-widget__a {
        padding: 0 18px 16px;
    }
}

/* ========================================
   SAREO POLICY PAGE WIDGET
   sareo-policy-*
   (Return Policy · Privacy Policy · Terms of Service)
   ======================================== */

.sareo-policy {
    padding: 64px 24px;
    background: #fff;
}
.sareo-policy__inner {
    margin: 0 auto;
}

/* ── Header ─────────────────────────────── */
.sareo-policy__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 56px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eeeeee;
}
.sareo-policy__badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(200, 169, 126, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
    overflow: hidden;
}
.sareo-policy__badge i {
    font-size: 1.6rem;
    color: #c8a97e;
    margin: 0 !important; /* Forces centering by removing global icon margin */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}
.sareo-policy__title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 12px;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-policy__title::after,
.sareo-policy__title::before {
    display: none !important;
    content: none !important;
}
.sareo-policy__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #888;
    margin: 0 0 20px;
}
.sareo-policy__meta i {
    color: #c8a97e;
    font-size: 0.8rem;
}
.sareo-policy__intro {
    max-width: 680px;
    margin: 0 auto;
    text-align: left;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    background: #f9f6f2;
    padding: 20px 24px;
    border-radius: 8px;
    border-left: 3px solid #c8a97e;
}
.sareo-policy__intro p { margin: 0; }

/* ── Content sections ───────────────────── */
.sareo-policy__section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}
.sareo-policy__section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.sareo-policy__section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #222222;
    margin: 0 0 16px;
    border: none !important;
    padding-top: 0 !important;
}
.sareo-policy__section-title::after,
.sareo-policy__section-title::before {
    display: none !important;
    content: none !important;
}
.sareo-policy__section-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: #c8a97e;
    color: #fff;
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 700;
}
.sareo-policy__section-body {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.8;
}
.sareo-policy__section-body p        { margin: 0 0 12px; }
.sareo-policy__section-body p:last-child { margin-bottom: 0; }
.sareo-policy__section-body ul,
.sareo-policy__section-body ol       { padding-left: 2.5em; margin: 8px 0 8px 1em; }
.sareo-policy__section-body li       { margin-bottom: 6px; }
.sareo-policy__section-body a        { color: #c8a97e; text-decoration: underline; }
.sareo-policy__section-body strong   { color: #222; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 767px) {
    .sareo-policy {
        padding: 40px 16px;
    }
    .sareo-policy__title {
        font-size: 1.6rem;
    }
    .sareo-policy__header {
        margin-bottom: 36px;
        padding-bottom: 28px;
    }
    .sareo-policy__section {
        margin-bottom: 28px;
        padding-bottom: 28px;
    }
    .sareo-policy__section-title {
        font-size: 1rem;
    }
}

/* ============================================================
   MOBILE FIXES — Applied 2026-04-08
   ============================================================ */

/* ── 1. Single product page — padding L/R (mobile ≤767.98px) ── */
@media (max-width: 767.98px) {
    .single .summary.entry-summary {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .woocommerce-tabs.wc-tabs-wrapper {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
    .related.products,
    .up-sells.products {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ── 2. Footer container — padding L/R (mobile ≤768px) ── */
@media (max-width: 768px) {
    .footer-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ── 3. Shop/archive toolbar — result count & ordering (mobile ≤767.98px) ── */
@media (max-width: 767.98px) {
    .woocommerce-result-count {
        padding-left: 16px !important;
    }
    .woocommerce-ordering {
        padding-right: 16px !important;
    }
}

/* ── 4. Product gallery — remove border/shadow ── */
.single-product .woocommerce-product-gallery,
.single-product div.product .images {
    border: none !important;
    box-shadow: none !important;
}
.woocommerce-product-gallery img,
.woocommerce div.product .images img,
.single-product .woocommerce-product-gallery img,
.single-product div.product .images img {
    border: none !important;
    box-shadow: none !important;
}

/* ============================================================
   MOBILE FIXES #2 — Applied 2026-04-08
   ============================================================ */

/* ── 1. Wishlist icon — padding right di mobile ── */
@media (max-width: 767.98px) {
    .single .entry-summary .yith-wcwl-add-to-wishlist,
    .single .entry-summary .tinvwl_add_to_wishlist_button,
    .single .entry-summary .wt-wishlist-btn,
    .single .entry-summary .webtoffee_wishlist,
    .single .entry-summary .single_product_div {
        padding-right: 16px !important;
    }
}

/* ── 2. Scroll-to-top — sejajarkan right dengan standar 16px mobile ── */
@media (max-width: 767.98px) {
    #page_top,
    .page_top_btn {
        right: 16px !important;
    }
}

/* ── 3. Related products — kurangi gap di mobile ── */
@media (max-width: 767.98px) {
    .woocommerce div.product .related.products,
    .woocommerce .related.products,
    body.single-product .related.products {
        padding-top: 30px !important;
        margin-top: 0 !important;
    }
    .woocommerce-tabs.wc-tabs-wrapper {
        margin-bottom: 8px !important;
    }
}

/* ── 4. PhotoSwipe lightbox — close & fullscreen buttons di pojok kanan atas ── */
.pswp__button--close,
.pswp__button--fs,
.pswp__button--zoom {
    right: 10px !important;
    top: 10px !important;
    position: absolute !important;
}
.pswp__top-bar {
    justify-content: flex-end !important;
}

/* ============================================================
   MOBILE FIXES #3 — Applied 2026-04-08
   ============================================================ */

/* ── Shop toolbar: result-count & ordering gap di mobile ── */
/* Keduanya sibling langsung (no parent wrapper), disable float lalu stack */
@media (max-width: 767.98px) {
    .woocommerce-result-count {
        float: none !important;
        display: block !important;
        width: 100% !important;
        padding-left: 16px !important;
        margin-bottom: 6px !important;
    }
    .woocommerce-ordering {
        float: right !important;
        display: block !important;
        padding-right: 16px !important;
        margin-bottom: 8px !important;
    }
    .woocommerce-ordering select.orderby {
        max-width: calc(100vw - 32px) !important;
    }
}

/* ============================================================
   MOBILE FIXES #4 — Applied 2026-04-08
   ============================================================ */

/* ── Off-screen sidebar on mobile — keeps DOM accessible for WC Interactivity API ── */
/* WC filter block is moved to body via JS; sidebar wrapper visually hidden */
@media (max-width: 991.98px) {
    .post-type-archive-product .sub-section,
    .archive.shop .sub-section,
    .tax-product_brand .sub-section,
    .woocommerce-page.archive .sub-section {
        clip: rect(0 0 0 0) !important;
        clip-path: inset(50%) !important;
        height: 1px !important;
        overflow: hidden !important;
        position: absolute !important;
        width: 1px !important;
        white-space: nowrap !important;
        pointer-events: none !important;
    }
    /* Once filter block is moved to body, show it normally */
    body > .wc-block-product-filters,
    body > .wp-block-woocommerce-product-filters {
        clip: auto !important;
        clip-path: none !important;
        height: auto !important;
        overflow: visible !important;
        position: static !important;
        width: auto !important;
        white-space: normal !important;
        pointer-events: auto !important;
    }
}

/* ============================================================
   MOBILE FILTER DRAWER — Applied 2026-04-08
   ============================================================ */

/* Body lock when drawer open */
body.sareo-drawer-open {
    overflow: hidden !important;
}

/* Overlay backdrop */
#sareo-filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99990;
    opacity: 0;
    transition: opacity 0.3s ease;
}
#sareo-filter-overlay.is-visible {
    display: block;
    opacity: 1;
}

/* Drawer panel */
#sareo-filter-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99991;
    background: #fff;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
#sareo-filter-drawer.is-open {
    transform: translateY(0);
}

/* Drawer header */
#sareo-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
#sareo-filter-drawer-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    font-family: var(--sareo-font-main);
}
#sareo-filter-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 20px;
    color: #555;
    line-height: 1;
    transition: color 0.2s;
}
#sareo-filter-close:hover {
    color: #222;
}

/* Drawer scrollable body */
#sareo-filter-body {
    overflow-y: auto;
    flex: 1;
    padding: 20px;
    -webkit-overflow-scrolling: touch;
}

/* Strip sidebar styling from cloned filter inside drawer */
#sareo-filter-body .my-woo-filters {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Drawer footer */
#sareo-filter-drawer-footer {
    padding: 16px 20px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}
#sareo-filter-apply {
    display: block;
    width: 100%;
    padding: 14px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--sareo-font-main);
    transition: background 0.2s;
}
#sareo-filter-apply:hover {
    background: #C8A97E;
}

/* Sticky filter button */
#sareo-filter-btn {
    display: none;
}
@media (max-width: 991.98px) {
    #sareo-filter-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        background: #222;
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 12px 28px;
        font-size: 0.9rem;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
        font-family: var(--sareo-font-main);
        letter-spacing: 0.5px;
        transition: background 0.2s, box-shadow 0.2s;
        white-space: nowrap;
    }
    #sareo-filter-btn:hover {
        background: #C8A97E;
        box-shadow: 0 6px 20px rgba(200, 169, 126, 0.4);
    }
    #sareo-filter-btn svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    /* Hide overlay and drawer on desktop */
    #sareo-filter-overlay,
    #sareo-filter-drawer {
        display: none;
    }
    #sareo-filter-overlay.is-visible {
        display: block;
    }
    #sareo-filter-drawer.is-open {
        display: flex;
    }
}

/* ── Hide floating elements when filter drawer is open ── */
body.sareo-drawer-open #page_top,
body.sareo-drawer-open .page_top_btn,
body.sareo-drawer-open .vk_icon,
body.sareo-drawer-open .wp-block-vk-blocks-icon,
body.sareo-drawer-open #sareo-filter-btn {
    display: none !important;
}

/* ============================================================
   WC FILTER DRAWER — Mobile Override — Applied 2026-04-08
   WC product-filters block moved to body via JS; extend overlay
   mode from WC default (≤600px) up to ≤991.98px.
   ============================================================ */

/* Hide our custom drawer markup — WC native drawer used instead */
#sareo-filter-drawer,
#sareo-filter-overlay {
    display: none !important;
}

@media (max-width: 991.98px) {
    /* ── Style WC's open-overlay button as sticky pill ── */
    .wc-block-product-filters__open-overlay {
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 9998 !important;
        background: #222 !important;
        color: #fff !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 12px 28px !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        font-family: var(--sareo-font-main) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
        letter-spacing: 0.5px !important;
        white-space: nowrap !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        cursor: pointer !important;
        transition: background 0.2s, box-shadow 0.2s !important;
    }
    .wc-block-product-filters__open-overlay:hover {
        background: #C8A97E !important;
        box-shadow: 0 6px 20px rgba(200, 169, 126, 0.4) !important;
    }

    /* ── Extend WC overlay/drawer mode to 991.98px ── */
    /* WC defaults to inline (no overlay) at ≥601px — we re-enable overlay */
    .wc-block-product-filters {
        display: block !important;
    }
    .wc-block-product-filters .wc-block-product-filters__overlay {
        background-color: transparent !important;
        inset: 0 !important;
        pointer-events: none !important;
        position: fixed !important;
        top: 0 !important;
        transition: background-color 0.3s !important;
    }
    .wc-block-product-filters.is-overlay-opened .wc-block-product-filters__overlay {
        background-color: rgba(0, 0, 0, 0.45) !important;
        pointer-events: auto !important;
        z-index: 9997 !important;
    }
    .wc-block-product-filters .wc-block-product-filters__overlay-wrapper {
        height: 100% !important;
        position: relative !important;
        width: 100% !important;
        background: transparent !important;
    }
    .wc-block-product-filters .wc-block-product-filters__overlay-dialog {
        position: absolute !important;
        transform: translateY(100vh) !important;
        transition: none !important;
        inset: auto 0 0 0 !important;
        max-height: 85vh !important;
        border-radius: 20px 20px 0 0 !important;
    }
    .wc-block-product-filters.is-overlay-opened .wc-block-product-filters__overlay-dialog {
        transform: translateY(0) !important;
        transition: transform 0.3s ease !important;
    }
    .wc-block-product-filters .wc-block-product-filters__overlay-header,
    .wc-block-product-filters .wc-block-product-filters__overlay-footer {
        display: flex !important;
    }
    .wc-block-product-filters .wc-block-product-filters__overlay-content {
        overflow-y: scroll !important;
        padding: 0 16px !important;
        background: inherit !important;
        color: inherit !important;
        flex-grow: 1 !important;
    }

    /* ── Hide page_top and vk_icon when WC overlay is open ── */
    .wc-block-product-filters.is-overlay-opened ~ #page_top,
    .wc-block-product-filters.is-overlay-opened ~ .page_top_btn {
        display: none !important;
    }
}

/* ============================================================
   SHOP / PRODUCT ARCHIVE: Mobile/Tablet 2-column grid
   Note: .woocommerce class is on <body>, not a wrapper div.
   Selectors must NOT include a descendant .woocommerce combinator.
   ============================================================ */
@media (max-width: 991.98px) {
	body.woocommerce-shop ul.products,
	body.post-type-archive-product ul.products,
	body.tax-product_brand ul.products {
		display: flex !important;
		flex-wrap: wrap !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 0 !important;
		gap: 8px !important;
		box-sizing: border-box !important;
	}

	/* Kill WooCommerce clearfix pseudo-elements — they become invisible
	   flex items that push the first product off its row. */
	body.woocommerce-shop ul.products::before,
	body.woocommerce-shop ul.products::after,
	body.post-type-archive-product ul.products::before,
	body.post-type-archive-product ul.products::after,
	body.tax-product_brand ul.products::before,
	body.tax-product_brand ul.products::after {
		display: none !important;
	}

	body.woocommerce-shop ul.products li.product,
	body.post-type-archive-product ul.products li.product,
	body.tax-product_brand ul.products li.product {
		width: calc(50% - 4px) !important;
		margin: 0 !important;
		float: none !important;
		clear: none !important;
		box-sizing: border-box !important;
	}
}

/* ═══════════════════════════════════════════════════════════════
   WISHLIST LOGIN MODAL — Guest user prompt
   JS creates this element and appends to <body>.
   Opens via .sareo-wishlist-modal--open modifier.
   ═══════════════════════════════════════════════════════════════ */
.sareo-wishlist-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.sareo-wishlist-modal--open {
	display: flex;
}

.sareo-wishlist-modal__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.sareo-wishlist-modal__box {
	position: relative;
	background: #fff;
	padding: 40px 32px 32px;
	border-radius: 12px;
	z-index: 1;
	text-align: center;
	max-width: 400px;
	width: 90%;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.sareo-wishlist-modal__close {
	position: absolute;
	top: 12px;
	right: 16px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #999;
	line-height: 1;
	padding: 4px;
}

.sareo-wishlist-modal__close:hover {
	color: #333;
}

.sareo-wishlist-modal__icon {
	font-size: 36px;
	color: #e74c6f;
	margin-bottom: 16px;
}

.sareo-wishlist-modal__title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 8px;
	color: #222;
}

.sareo-wishlist-modal__text {
	font-size: 14px;
	color: #666;
	margin: 0 0 24px;
	line-height: 1.5;
}

.sareo-wishlist-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.sareo-wishlist-modal__btn {
	display: inline-block;
	padding: 10px 28px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 0.2s;
	cursor: pointer;
}

.sareo-wishlist-modal__btn:hover {
	opacity: 0.85;
	text-decoration: none;
}

.sareo-wishlist-modal__btn--primary {
	background: #222;
	color: #fff;
}

.sareo-wishlist-modal__btn--primary:hover {
	color: #fff;
}

.sareo-wishlist-modal__btn--outline {
	background: transparent;
	color: #222;
	border: 1px solid #ddd;
}

.sareo-wishlist-modal__btn--outline:hover {
	color: #222;
	border-color: #bbb;
}

/* ============================================================
   MEMBER DASHBOARD (sdb-*)
   Scope: .uap-account-dashboard-tab
   ============================================================ */

/* ── Hero membership card ─────────────────────────────────── */
.sdb-hero {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #ececec;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	border-left: 4px solid var(--sdb-rank-color, #c8a97e);
	margin-bottom: 20px;
	overflow: hidden;
}
.sdb-hero__main {
	flex: 1;
	padding: 20px 22px;
}
.sdb-hero__side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: space-between;
	padding: 20px 22px;
	border-left: 1px solid #f0f0f0;
	min-width: 170px;
}
.sdb-hero__label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 4px;
}
.sdb-hero__name {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 4px;
	line-height: 1.2;
}
.sdb-hero__badge-row {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.sdb-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3px;
	background: var(--sareo-gold-light, #f5ece0);
	color: var(--sareo-gold-dark, #a8845a);
	border: 1px solid var(--sareo-gold, #c8a97e);
	margin-bottom: 0;
}
.sdb-hero__rank-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
	padding: 3px 10px;
	border-radius: 12px;
	border: 1.5px solid currentColor;
	background: rgba(255,255,255,0.6);
	letter-spacing: .3px;
}
.sdb-hero__rank-chip .fas { font-size: 11px; }
.sdb-hero__badge--mlm       { background: #eff6ff; color: #1d4ed8; border-color: #93c5fd; }
.sdb-hero__badge--affiliate { background: #f0fdf4; color: #15803d; border-color: #86efac; }
.sdb-hero__badge--dual      { background: #faf5ff; color: #7e22ce; border-color: #c4b5fd; }
.sdb-hero__since {
	font-size: 11px;
	color: #999;
	margin-bottom: 14px;
}
.sdb-hero__since i { margin-right: 4px; }
.sdb-hero__verified {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.5px;
	margin-left: 8px;
}
.sdb-hero__verified--yes { background: #dbeafe; color: #1e40af; }
.sdb-hero__verified--no  { background: #fef3c7; color: #92400e; }
.sdb-hero__stat-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: #bbb;
	margin-bottom: 2px;
}
.sdb-hero__stat-value {
	font-size: 22px;
	font-weight: 800;
	color: var(--sareo-gold, #c8a97e);
	line-height: 1;
}
.sdb-hero__stat-sub {
	font-size: 11px;
	color: #aaa;
	margin-top: 3px;
}
.sdb-hero__progress-head {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #888;
	margin: 14px 0 4px;
}
.sdb-hero__progress-track {
	height: 5px;
	background: #f0f0f0;
	border-radius: 10px;
	overflow: hidden;
}
.sdb-hero__progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--sareo-gold, #c8a97e), #e8c98e);
	border-radius: 10px;
	transition: width 0.6s ease;
}

/* ── Quick actions strip ──────────────────────────────────── */
.sdb-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.sdb-actions__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	border: none;
	background: #fff;
	transition: all 0.18s ease;
	white-space: nowrap;
	height: 44px;
	box-sizing: border-box;
}
/* Fixed-width utility for the two main buttons */
.sdb-actions__btn--fixed {
	min-width: 170px;
}
.sdb-actions__btn--primary {
	background: var(--sareo-gold, #c8a97e);
	color: #fff;
}
.sdb-actions__btn--primary:hover {
	background: var(--sareo-gold-dark, #a8845a);
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}
.sdb-actions__btn--outline {
	color: #555;
	border: 1px solid #e0e0e0;
}
.sdb-actions__btn--outline:hover {
	border-color: var(--sareo-gold, #c8a97e);
	color: var(--sareo-gold-dark, #a8845a);
	text-decoration: none;
	transform: translateY(-1px);
}
/* Mobile: two main buttons side-by-side, referral copy full-width below */
@media (max-width: 600px) {
	.sdb-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
	}
	.sdb-actions__btn--fixed {
		min-width: 0;
		width: 100%;
	}
	.sdb-actions .sdb-referral-copy {
		grid-column: 1 / -1;
		max-width: 100%;
	}
}
/* Narrow mobile (≤420px): stack buttons single column — "Request Withdrawal" too long for half-width */
@media (max-width: 420px) {
	.sdb-actions {
		grid-template-columns: 1fr;
	}
	.sdb-actions__btn--fixed {
		width: 100%;
	}
}

/* ── Active Campaign Cards (compact 2-col grid) ──────────────────────────────────── */

.sdb-camp-section {
	margin-bottom: var(--sareo-space-7, 24px);
}

/* Section header — tight single row */
.sdb-camp-section__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}
.sdb-camp-section__icon {
	width: 28px;
	height: 28px;
	background: var(--sareo-gold-light, #f5ece0);
	border-radius: var(--sareo-radius-md, 6px);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--sareo-gold-dark, #a8845a);
	flex-shrink: 0;
}
.sdb-camp-section__title {
	font-family: var(--sareo-font-main, 'Montserrat', sans-serif);
	font-size: 11px;
	font-weight: 700;
	color: var(--sareo-neutral-900, #222);
	text-transform: uppercase;
	letter-spacing: .6px;
}
.sdb-camp-section__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	background: var(--sareo-gold, #c8a97e);
	color: #fff;
	border-radius: var(--sareo-radius-full, 999px);
	font-size: 10px;
	font-weight: 700;
	line-height: 1;
}

/* 2-col grid — side by side */
.sdb-camp-section > .sdb-camp-card:nth-child(2) ~ .sdb-camp-card,
.sdb-camp-section .sdb-camp-grid-wrap {
	/* grid applied below */
}
.sdb-camp-section {
	--sdb-camp-cols: 1;
}
@media (min-width: 540px) {
	.sdb-camp-section { --sdb-camp-cols: 2; }
}

/* Grid wrapper injected via PHP when >1 campaigns */
.sdb-camp-grid {
	display: grid;
	grid-template-columns: repeat(var(--sdb-camp-cols, 1), 1fr);
	gap: 10px;
}

/* ── Card ── */
.sdb-camp-card {
	background: #fff;
	border: 1px solid var(--sareo-neutral-200, #eee);
	border-radius: var(--sareo-radius-lg, 8px);
	box-shadow: var(--sareo-shadow-xs);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow var(--sareo-transition-base, .2s ease);
}
.sdb-camp-card:hover { box-shadow: var(--sareo-shadow-md); }

/* Left accent border */
.sdb-camp-card {
	border-left: 3px solid var(--sareo-gold, #c8a97e);
}
.sdb-camp-card.is-qualified {
	border-left-color: var(--sareo-success, #16a34a);
}

/* ── Top row: trophy + name + chips ── */
.sdb-camp-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	padding: 12px 14px 0;
}
.sdb-camp-card__name-row {
	display: flex;
	align-items: flex-start;
	gap: 7px;
	min-width: 0;
	flex: 1;
}
.sdb-camp-card__trophy {
	color: var(--sareo-gold, #c8a97e);
	font-size: 12px;
	margin-top: 2px;
	flex-shrink: 0;
}
.sdb-camp-card.is-qualified .sdb-camp-card__trophy {
	color: var(--sareo-success, #16a34a);
}
.sdb-camp-card__name {
	font-family: var(--sareo-font-main, 'Montserrat', sans-serif);
	font-size: 12px;
	font-weight: 700;
	color: var(--sareo-neutral-900, #222);
	line-height: 1.35;
}
.sdb-camp-card__chips {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex-shrink: 0;
}
.sdb-camp-card__chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 2px 7px;
	border-radius: var(--sareo-radius-full, 999px);
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .3px;
	white-space: nowrap;
	line-height: 1.6;
}
.sdb-camp-card__chip--met {
	background: var(--sareo-success-bg, #f0fdf4);
	color: var(--sareo-success, #16a34a);
}
.sdb-camp-card__chip--days {
	background: var(--sareo-neutral-100, #f4f4f4);
	color: var(--sareo-neutral-500, #888);
}
.sdb-camp-card__chip--days.is-urgent {
	background: #fff5f5;
	color: var(--sareo-error, #dc3545);
}

/* ── Compact criteria list ── */
.sdb-camp-card__crit-list {
	padding: 10px 14px 0;
	flex: 1;
}
.sdb-camp-card__crit {
	display: grid;
	grid-template-columns: 72px 1fr 28px;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
}
.sdb-camp-card__crit-lbl {
	font-size: 10px;
	font-weight: 600;
	color: var(--sareo-neutral-600, #666);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	/* fixed width = all bars align perfectly */
}
.sdb-camp-card__bar {
	height: 5px;
	background: var(--sareo-neutral-100, #f4f4f4);
	border-radius: var(--sareo-radius-full, 999px);
	overflow: hidden;
}
.sdb-camp-card__bar-fill {
	height: 100%;
	background: var(--sareo-gold, #c8a97e);
	border-radius: var(--sareo-radius-full, 999px);
	transition: width var(--sareo-transition-slow, .3s ease);
	min-width: 2px;
}
.sdb-camp-card__crit.is-met .sdb-camp-card__bar-fill {
	background: var(--sareo-success, #16a34a);
}
.sdb-camp-card__crit-pct {
	font-size: 10px;
	font-weight: 700;
	color: var(--sareo-neutral-400, #aaa);
	min-width: 24px;
	text-align: right;
}
.sdb-camp-card__crit.is-met .sdb-camp-card__crit-pct { color: var(--sareo-success, #16a34a); }
.sdb-camp-icon--met { font-size: 10px; }

/* Sub-row: current / threshold values */
.sdb-camp-card__crit-vals {
	display: flex;
	gap: 4px;
	align-items: baseline;
	padding: 0 14px;
	margin-bottom: 8px;
	margin-top: -1px;
}
.sdb-camp-card__crit-cur {
	font-size: 10px;
	font-weight: 700;
	color: var(--sareo-neutral-800, #333);
}
.sdb-camp-card__crit-cur.is-met { color: var(--sareo-success, #16a34a); }
.sdb-camp-card__crit-sep {
	font-size: 10px;
	color: var(--sareo-neutral-400, #aaa);
}

/* ── Bottom row: top reward + pcount ── */
.sdb-camp-card__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 14px 12px;
	margin-top: auto;
	border-top: 1px solid var(--sareo-neutral-100, #f4f4f4);
	gap: 6px;
}
/* reward chip is now a <button> */
.sdb-camp-card__reward-chip {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: var(--sareo-gold-light, #f5ece0);
	border: none;
	border-radius: var(--sareo-radius-full, 999px);
	padding: 3px 8px 3px 6px;
	font-size: 11px;
	font-weight: 700;
	color: var(--sareo-gold-dark, #a8845a);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 160px;
	cursor: pointer;
	transition: background var(--sareo-transition-base, .2s);
}
.sdb-camp-card__reward-chip:hover,
.sdb-camp-card__reward-chip[aria-expanded="true"] {
	background: #eddfc6;
}
.sdb-camp-card__reward-chevron {
	font-size: 8px;
	transition: transform var(--sareo-transition-base, .2s);
	flex-shrink: 0;
}
.sdb-camp-card__reward-chip[aria-expanded="true"] .sdb-camp-card__reward-chevron {
	transform: rotate(180deg);
}
.sdb-camp-card__reward-more {
	font-size: 9px;
	font-weight: 700;
	background: rgba(168,132,90,.15);
	color: var(--sareo-gold-dark, #a8845a);
	border-radius: var(--sareo-radius-full, 999px);
	padding: 1px 5px;
	flex-shrink: 0;
}
.sdb-camp-card__pcount {
	font-size: 10px;
	color: var(--sareo-neutral-400, #aaa);
	white-space: nowrap;
	flex-shrink: 0;
}

/* ── Reward tiers panel ── */
.sdb-camp-card__rewards-panel {
	border-top: 1px solid var(--sareo-neutral-100, #f4f4f4);
	padding: 10px 14px 12px;
	background: var(--sareo-neutral-50, #fafafa);
	animation: sdb-panel-in .15s ease;
}
@keyframes sdb-panel-in {
	from { opacity: 0; transform: translateY(-4px); }
	to   { opacity: 1; transform: translateY(0); }
}
.sdb-camp-card__rewards-inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.sdb-camp-card__reward-row {
	display: grid;
	grid-template-columns: 18px 1fr;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 2px 6px;
}
.sdb-camp-card__reward-medal {
	grid-row: 1 / 3;
	align-self: center;
	font-size: 14px;
	line-height: 1;
	text-align: center;
}
.sdb-camp-card__reward-rl {
	/* row 1, col 2 — label */
	font-size: 11px;
	font-weight: 700;
	color: var(--sareo-neutral-800, #333);
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	align-self: end;
}
.sdb-camp-card__reward-meta {
	/* row 2, col 2 — reward value + pemenang inline */
	display: flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	align-self: start;
}
.sdb-camp-card__reward-rv {
	font-size: 10px;
	font-weight: 700;
	color: var(--sareo-gold-dark, #a8845a);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sdb-camp-card__reward-nw {
	font-size: 10px;
	color: var(--sareo-neutral-400, #aaa);
	white-space: nowrap;
	flex-shrink: 0;
}

/* ── Days chip tooltip ── */
.sdb-camp-card__chip--days {
	position: relative;
	cursor: default;
}
.sdb-camp-card__chip--days[data-camp-tip]::after {
	content: attr(data-camp-tip);
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: var(--sareo-neutral-900, #222);
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.5;
	padding: 6px 10px;
	border-radius: 6px;
	white-space: pre;
	pointer-events: none;
	opacity: 0;
	transition: opacity .15s;
	z-index: 100;
	min-width: 160px;
	max-width: 220px;
	text-transform: none;
	letter-spacing: 0;
	box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
.sdb-camp-card__chip--days[data-camp-tip]:hover::after {
	opacity: 1;
}

/* ── Standalone (single campaign, no grid) ── */
.sdb-camp-section > .sdb-camp-card {
	/* margin if rendered outside grid */
	margin-bottom: 0;
}

/* ── Segmented control (dual members only) ────────────────── */
.sdb-seg {
	display: inline-flex;
	background: #f5f5f5;
	border-radius: 10px;
	padding: 4px;
	margin-bottom: 24px;
	gap: 2px;
}
.sdb-seg__btn {
	padding: 8px 22px;
	border-radius: 7px;
	font-size: 13px;
	font-weight: 600;
	color: #888;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: all 0.18s ease;
}
.sdb-seg__btn.is-active {
	background: var(--sareo-gold, #c8a97e);
	color: #fff;
	box-shadow: 0 2px 6px rgba(200,169,126,0.35);
}

/* ── KPI cards grid ───────────────────────────────────────── */
.sdb-kpi-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin-bottom: 24px;
}
.sdb-kpi {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 16px 18px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	position: relative;
	overflow: hidden;
}
.sdb-kpi::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 3px; height: 100%;
	background: var(--sareo-gold, #c8a97e);
	border-radius: 3px 0 0 3px;
}
.sdb-kpi__label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color: #aaa;
	margin-bottom: 6px;
}
.sdb-kpi__value {
	font-size: 22px;
	font-weight: 800;
	color: #1a1a1a;
	line-height: 1;
	margin-bottom: 6px;
}
.sdb-kpi__value--gold { color: var(--sareo-gold, #c8a97e); }
.sdb-kpi__trend {
	font-size: 11px;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 3px;
}
.sdb-kpi__trend.is-up      { color: #16a34a; }
.sdb-kpi__trend.is-down    { color: #dc2626; }
.sdb-kpi__trend.is-neutral { color: #999; }

/* ── Section title divider ────────────────────────────────── */
.sdb-section-title {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #bbb;
	padding-bottom: 8px;
	border-bottom: 1px solid #f0f0f0;
	margin: 28px 0 16px;
}

/* ── Tab panels ───────────────────────────────────────────── */
.sdb-panel { display: none; }
.sdb-panel.is-active { display: block; }

/* ── Progress bars (rank hold / next rank) ────────────────── */
.sdb-rank-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 24px;
}
.sdb-rank-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 16px 18px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.sdb-rank-card__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
}
.sdb-rank-card__title {
	font-size: 12px;
	font-weight: 700;
	color: #555;
}
.sdb-rank-card__badge {
	font-size: 11px;
	font-weight: 700;
	padding: 2px 10px;
	border-radius: 20px;
	background: var(--sareo-gold-light, #f5ece0);
	color: var(--sareo-gold-dark, #a8845a);
	border: 1px solid var(--sareo-gold, #c8a97e);
}
.sdb-progress-item {
	margin-bottom: 12px;
}
.sdb-progress-item:last-child { margin-bottom: 0; }
.sdb-progress-label {
	display: flex;
	justify-content: space-between;
	font-size: 11px;
	color: #888;
	margin-bottom: 5px;
}
.sdb-progress-track {
	height: 6px;
	background: #f0f0f0;
	border-radius: 10px;
	overflow: hidden;
}
.sdb-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--sareo-gold, #c8a97e), #e8c98e);
	border-radius: 10px;
	transition: width 0.6s ease;
}
.sdb-periode {
	font-size: 12px;
	color: #aaa;
	margin-bottom: 16px;
}
.sdb-periode i { margin-right: 5px; color: var(--sareo-gold, #c8a97e); }

/* ── Data tables ──────────────────────────────────────────── */
.sdb-table-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}
.sdb-table-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid #f5f5f5;
}
.sdb-table-head__title {
	font-size: 13px;
	font-weight: 700;
	color: #333;
}
.sdb-table-head__link {
	font-size: 12px;
	color: var(--sareo-gold, #c8a97e);
	text-decoration: none;
	font-weight: 600;
}
.sdb-table-head__link:hover {
	color: var(--sareo-gold-dark, #a8845a);
	text-decoration: none;
}
.sdb-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}
.sdb-table th {
	padding: 9px 14px;
	text-align: left;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	color: #bbb;
	background: #fafafa;
	border-bottom: 1px solid #f0f0f0;
}
.sdb-table td {
	padding: 10px 14px;
	border-bottom: 1px solid #f7f7f7;
	color: #444;
	vertical-align: middle;
}
.sdb-table tbody tr:last-child td { border-bottom: none; }
.sdb-table tbody tr:hover td { background: #fdfaf6; }
.sdb-table__amount {
	font-weight: 700;
	color: var(--sareo-gold, #c8a97e) !important;
	text-align: right;
}
.sdb-table__amount * { color: var(--sareo-gold, #c8a97e) !important; font-weight: 700 !important; }
.sdb-table__source .woocommerce-Price-amount,
.sdb-table__source .woocommerce-Price-amount * {
	color: var(--sareo-gold, #c8a97e) !important;
	font-weight: 700 !important;
}
.sdb-table__empty {
	text-align: center;
	color: #bbb;
	padding: 24px 14px !important;
	font-style: italic;
}
.sdb-status {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
}
.sdb-status--paid    { background: #dcfce7; color: #15803d; }
.sdb-status--process { background: #fef9c3; color: #854d0e; }
.sdb-status--failed  { background: #fee2e2; color: #b91c1c; }

/* ── Referral copy widget — unified pill ───────────────────── */
.sdb-referral-copy {
	display: inline-flex;
	align-items: stretch;
	border: 1.5px solid #e0d8ce;
	border-radius: 10px;
	overflow: hidden;
	background: #faf8f5;
	box-shadow: 0 2px 8px rgba(200,169,126,.12);
	transition: border-color .18s, box-shadow .18s;
	max-width: 420px;
	width: 100%;
}
.sdb-referral-copy:focus-within {
	border-color: var(--sareo-gold, #c8a97e);
	box-shadow: 0 2px 12px rgba(200,169,126,.22);
}
.sdb-referral-copy__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	color: #c8a97e;
	font-size: 13px;
	background: #faf8f5;
	flex-shrink: 0;
}
.sdb-referral-copy__username {
	flex: 1 1 0;
	min-width: 0;
	padding: 11px 10px 11px 0;
	border: none;
	background: transparent;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: #444;
	cursor: default;
	outline: none;
}
.sdb-referral-copy__username:focus { outline: none; box-shadow: none; }
.sdb-referral-copy__divider {
	width: 1.5px;
	background: #e0d8ce;
	flex-shrink: 0;
	align-self: stretch;
}
.sdb-referral-copy__btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 11px 18px;
	border: none;
	border-radius: 0;
	background: linear-gradient(135deg, #c8a97e 0%, #b8925e 100%);
	color: #fff !important;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	cursor: pointer;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background .18s, transform .12s;
	text-decoration: none !important;
}
.sdb-referral-copy__btn:hover {
	background: linear-gradient(135deg, #b8925e 0%, #a07840 100%);
	color: #fff !important;
	transform: none;
}
.sdb-referral-copy__btn i { font-size: 12px; }
@media (max-width: 600px) {
	.sdb-referral-copy { max-width: 100%; }
	.sdb-referral-copy__btn { padding: 11px 14px; font-size: 11px; }
}

/* ── Invite / share link block ────────────────────────────── */
.sdb-invite {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 18px 20px;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}
.sdb-invite__inner {
	display: flex;
	align-items: flex-start;
	gap: 20px;
}
.sdb-invite__body { flex: 1; }
.sdb-invite__hint {
	font-size: 12px;
	color: #999;
	margin: 6px 0 0;
}
.sdb-invite__box {
	display: flex;
	align-items: center;
	background: #fafafa;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 6px;
}
.sdb-invite__url {
	flex: 1;
	padding: 10px 14px;
	font-size: 12px;
	color: #555;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sdb-invite__copy {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 16px;
	background: var(--sareo-gold, #c8a97e);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.18s;
	flex-shrink: 0;
}
.sdb-invite__copy:hover { background: var(--sareo-gold-dark, #a8845a); }
.sdb-invite__copy.is-copied { background: #16a34a; }
.sdb-invite__qr { flex-shrink: 0; text-align: center; }
.sdb-invite__qr img { width: 80px; height: 80px; display: block; border-radius: 6px; }
.sdb-invite__qr a {
	font-size: 10px;
	color: var(--sareo-gold, #c8a97e);
	text-decoration: none;
	display: block;
	margin-top: 4px;
}

/* ── Affiliate links list ─────────────────────────────────── */
.sdb-link-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.sdb-link-item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 8px;
	padding: 12px 16px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.sdb-link-item__name { flex: 1; font-size: 13px; font-weight: 600; color: #333; }
.sdb-link-item__url {
	flex: 1;
	font-size: 11px;
	color: #aaa;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sdb-link-item__copy {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 6px 12px;
	border-radius: 6px;
	background: #f5f5f5;
	color: #555;
	font-size: 11px;
	font-weight: 600;
	border: none;
	cursor: pointer;
	transition: all 0.15s;
	white-space: nowrap;
}
.sdb-link-item__copy:hover {
	background: var(--sareo-gold-light, #f5ece0);
	color: var(--sareo-gold-dark, #a8845a);
}
.sdb-link-item__copy.is-copied { background: #dcfce7; color: #15803d; }

/* ── Downline tree card ────────────────────────────────────── */
.sdb-tree-card {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.04);
	margin-bottom: 24px;
}
.sdb-tree-node {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 14px;
	margin-bottom: 6px;
	background: #f9f9f9;
	border-radius: 8px;
}
.sdb-tree-node--you {
	background: #fff7ed;
	border: 1px solid #eeeeee;
}
.sdb-tree-node__level {
	flex-shrink: 0;
	width: 30px;
	text-align: center;
	font-size: 9px;
	font-weight: 700;
	color: #bbb;
	letter-spacing: .3px;
	font-family: 'Montserrat', sans-serif;
}
.sdb-tree-node--you .sdb-tree-node__level { visibility: hidden; }
.sdb-tree-node__toggle {
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	width: 16px;
	height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--sareo-gold, #c8a97e);
	font-size: 10px;
}
.sdb-tree-node__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.sdb-tree-node__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sdb-tree-node__avatar i  { color: #fff; font-size: 14px; }
.sdb-tree-node__info { flex: 1; min-width: 0; }
.sdb-tree-node__name { font-size: 13px; font-weight: 600; color: #222; }
.sdb-tree-node__rank { font-size: 11px; color: #aaa; }
.sdb-tree-node__date { font-size: 10px; color: #ccc; }
.sdb-tree-node__count { font-size: 11px; color: #aaa; flex-shrink: 0; }
.sdb-tree-legend {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}
.sdb-tree-legend__item {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 11px;
	color: #888;
}
.sdb-tree-legend__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* ── Swim-lane Tree (matches admin User Profile V2 style) ─── */
.sdb-swim-viz {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.sdb-swim-lanes {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 480px;
	padding: 16px 16px 16px 0;
}
.sdb-swim-lane {
	display: flex;
	align-items: center;
	min-height: 90px;
	border-bottom: 1px dashed #f0ece6;
}
.sdb-swim-lane:last-of-type { border-bottom: none; }
.sdb-swim-lane__label {
	flex-shrink: 0;
	width: 130px;
	padding: 0 12px 0 16px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	border-right: 1px solid #e8e0d8;
}
.sdb-swim-lane__overline {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	color: #bbb;
	font-family: 'Montserrat', sans-serif;
}
.sdb-swim-lane__name {
	font-size: 14px;
	font-weight: 700;
	color: #c8a97e;
	font-family: 'Montserrat', sans-serif;
}
.sdb-swim-lane__nodes {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 12px 16px;
}
.sdb-swim-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 8px 14px 8px 8px;
	cursor: default;
	transition: box-shadow .15s, border-color .15s;
	min-width: 170px;
}
.sdb-swim-card:hover {
	box-shadow: 0 2px 8px rgba(200,169,126,.12);
	border-color: #d8c9b2;
}
.sdb-swim-card--you {
	border: 2px solid #c8a97e;
	background: #fff9f3;
}
.sdb-swim-card__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
	color: #fff;
	font-family: 'Montserrat', sans-serif;
	overflow: hidden;
}
.sdb-swim-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.sdb-swim-card__body { min-width: 0; }
.sdb-swim-card__name {
	font-size: 13px;
	font-weight: 600;
	color: #222;
	display: flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
}
.sdb-swim-card__sub {
	font-size: 11px;
	color: #aaa;
	margin-top: 2px;
}
.sdb-swim-card__viewing {
	font-size: 10px;
	font-weight: 700;
	background: #1e293b;
	color: #fff;
	padding: 1px 6px;
	border-radius: 4px;
	letter-spacing: .3px;
	font-family: 'Montserrat', sans-serif;
}
.sdb-swim-card__count {
	font-size: 10px;
	font-weight: 700;
	background: #e8f5e9;
	color: #2e7d32;
	padding: 1px 6px;
	border-radius: 10px;
	font-family: 'Montserrat', sans-serif;
}
.sdb-swim-svg {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	overflow: visible;
}
.sdb-swim-empty {
	padding: 24px;
	text-align: center;
	color: #aaa;
	font-size: 13px;
}
.sdb-swim-card--upline .sdb-swim-card__avatar {
	opacity: 0.7;
}
.sdb-swim-card--upline .sdb-swim-card__sub::before {
	content: '↑ ';
	color: #b0a090;
}
.sdb-async-notice {
	text-align: center;
	font-size: 12px;
	color: #b0a090;
	padding: 8px 16px;
}


/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
	.sdb-hero { flex-direction: column; }
	.sdb-hero__side {
		border-left: none;
		border-top: 1px solid #f0f0f0;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		min-width: unset;
	}
	.sdb-kpi-grid { grid-template-columns: 1fr 1fr; }
	.sdb-rank-cards { grid-template-columns: 1fr; }
	.sdb-invite__inner { flex-direction: column; }
	.sdb-invite__qr { display: none; }
}
@media (max-width: 480px) {
	.sdb-kpi-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════════════════
   Refund Request Form — sdb design system skin
   Scope: .wps_rma_refund_form_wrapper  (WPS RMA plugin template)
   ════════════════════════════════════════════════════════════════════════════ */

/* Page background */
body:has(.wps_rma_refund_form_wrapper) { background: #f4f2ef !important; }
body:has(.wps_rma_refund_form_wrapper) #main,
body:has(.wps_rma_refund_form_wrapper) .site-content,
body:has(.wps_rma_refund_form_wrapper) #contents { background: transparent !important; }

/* Outer wrapper */
.wps_rma_refund_form_wrapper.wps-rma-form__wrapper {
	max-width: 860px !important;
	margin: 0 auto 40px !important;
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
}

/* ── Page header card ── */
.wps_rma_refund_form_wrapper .wps-rma-form__header {
	background: #fff !important;
	border: 1px solid #ece8e1 !important;
	border-radius: 12px !important;
	padding: 20px 24px !important;
	margin-bottom: 14px !important;
}
.wps_rma_refund_form_wrapper h1.wps-rma-form__heading {
	color: #1a1a1a !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	padding: 0 !important;
	margin: 0 !important;
	letter-spacing: .03em !important;
}

/* ── Product table card ── */
.wps_rma_refund_form_wrapper .wps_rma_product_table_wrapper {
	background: #fff !important;
	border: 1px solid #ece8e1 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	margin-bottom: 14px !important;
	padding: 0 !important;
}
.wps_rma_refund_form_wrapper .wps-rma-product__table { min-width: unset !important; width: 100% !important; }
.wps_rma_refund_form_wrapper table th {
	background: #faf8f5 !important;
	border: 0 !important;
	border-bottom: 1px solid #ece8e1 !important;
	padding: 12px 20px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: .06em !important;
	color: #888 !important;
	text-align: left !important;
}
.wps_rma_refund_form_wrapper table td {
	border: 0 !important;
	border-bottom: 1px solid #f0ede8 !important;
	padding: 14px 20px !important;
	text-align: left !important;
	vertical-align: middle !important;
	background: transparent !important;
}
.wps_rma_refund_form_wrapper table tbody tr:last-child td { border-bottom: 0 !important; }
.wps_rma_refund_form_wrapper table tbody tr:nth-child(2n) td { background: transparent !important; }
.wps_rma_refund_form_wrapper .wps-rma-product__wrap { justify-content: flex-start !important; }
.wps_rma_refund_form_wrapper .wps-rma-product__wrap img {
	width: 56px !important; height: 56px !important;
	border-radius: 8px !important; object-fit: cover;
	border: 1px solid #ece8e1 !important;
}
.wps_rma_refund_form_wrapper .wps_rma_product_title { padding: 0 0 0 12px !important; }
.wps_rma_refund_form_wrapper .wps_rma_product_title a { font-weight: 600; color: #1a1a1a; }
.wps_rma_refund_form_wrapper .wps_rma_product_title p { margin: 4px 0 0; font-size: 12px; color: #888; }
.wps_rma_refund_form_wrapper .product-quantity input[type=number] {
	width: 64px !important; height: 36px !important;
	text-align: center !important; border-radius: 8px !important;
	border: 1px solid #ddd !important; font-size: 14px !important;
}
.wps_rma_refund_form_wrapper table tr th[scope=row] {
	background: #faf8f5 !important;
	font-size: 13px !important; font-weight: 600 !important;
	text-transform: none !important; letter-spacing: 0 !important;
	color: #555 !important; text-align: left !important;
}
.wps_rma_refund_form_wrapper #wps_rma_total_refund_amount { font-size: 16px; font-weight: 700; color: #1a1a1a; }

/* ── Form fields card ── */
.wps_rma_refund_form_wrapper .wps-rma-refund-request__row {
	background: #fff !important;
	border: 1px solid #ece8e1 !important;
	border-radius: 12px !important;
	padding: 24px !important;
	margin-bottom: 14px !important;
	display: block !important;
}
.wps_rma_refund_form_wrapper .wps-rma-col { width: 100% !important; padding: 0 !important; }
.wps_rma_refund_form_wrapper label,
.wps_rma_refund_form_wrapper label b {
	font-size: 13px !important; font-weight: 600 !important; color: #555 !important;
}
.wps_rma_refund_form_wrapper .wps_field_mendatory { color: #c8a97e !important; }
.wps_rma_refund_form_wrapper input[type=text],
.wps_rma_refund_form_wrapper input[type=number],
.wps_rma_refund_form_wrapper input[type=tel],
.wps_rma_refund_form_wrapper textarea,
.wps_rma_refund_form_wrapper select {
	border: 1px solid #ddd !important;
	border-radius: 8px !important;
	padding: 10px 14px !important;
	font-size: 14px !important;
	color: #1a1a1a !important;
	background: #fff !important;
	width: 100% !important;
	box-shadow: 0 1px 3px rgba(0,0,0,.04) !important;
	transition: border-color .2s !important;
	min-height: 42px !important;
}
.wps_rma_refund_form_wrapper input:focus,
.wps_rma_refund_form_wrapper textarea:focus,
.wps_rma_refund_form_wrapper select:focus {
	border-color: #c8a97e !important;
	outline: none !important;
	box-shadow: 0 0 0 3px rgba(200,169,126,.12) !important;
}
.wps_rma_refund_form_wrapper .wps-rma-subject__dropdown,
.wps_rma_refund_form_wrapper .wps_rma_other_subject,
.wps_rma_refund_form_wrapper .wps_rma_reason_description,
.wps_rma_refund_form_wrapper #bank_details { margin-top: 20px !important; }
.wps_rma_refund_form_wrapper .wps_rma_attach_files { margin-top: 12px !important; }
/* submit */
.wps_rma_refund_form_wrapper input[type=submit],
.wps_rma_refund_form_wrapper input.btn.button {
	background: #1a1a1a !important;
	color: #fff !important;
	border: none !important;
	border-radius: 8px !important;
	padding: 12px 28px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	letter-spacing: .05em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background .2s !important;
	min-height: 44px !important;
	margin-top: 20px !important;
	width: auto !important;
}
.wps_rma_refund_form_wrapper input[type=submit]:hover { background: #333 !important; }
.wps_rma_refund_form_wrapper .wps_rma_return_request_morefiles {
	background: #f5f0e8 !important; color: #c8a97e !important;
	border: 1px solid #e8dcc8 !important; border-radius: 8px !important;
	padding: 8px 16px !important; font-size: 12px !important; font-weight: 600 !important;
	cursor: pointer !important; margin-top: 8px !important;
}

/* ── Customer details card ── */
.wps_rma_refund_form_wrapper .wps_rma_customer_detail {
	background: #fff !important;
	border: 1px solid #ece8e1 !important;
	border-radius: 12px !important;
	padding: 24px !important;
	overflow: hidden !important;
}
.wps_rma_refund_form_wrapper .wps_rma_customer_detail h2.woocommerce-column__title {
	font-size: 11px !important; font-weight: 700 !important;
	text-transform: uppercase !important; letter-spacing: .07em !important;
	color: #888 !important; margin-bottom: 12px !important; border: none !important;
}
.wps_rma_refund_form_wrapper .wps_rma_customer_detail address {
	font-size: 13px !important; line-height: 1.7 !important; color: #555 !important;
}
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-columns {
	display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 16px !important;
}
.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-column {
	border: 1px solid #ece8e1 !important; border-radius: 10px !important;
	padding: 16px 20px !important; margin: 0 !important;
}
@media (max-width: 640px) {
	.wps_rma_refund_form_wrapper .wps_rma_customer_detail .woocommerce-columns {
		grid-template-columns: 1fr !important;
	}
}
