/* Sanindo Katalog: follows the Elementor kit (global colors & fonts) with safe fallbacks. */
.sk-page,
.sk-catalog,
.sk-hero {
	--sk-red: var(--e-global-color-d49ac81, #ff0000);
	--sk-red-dark: var(--e-global-color-332724a, #d90000);
	--sk-bg: var(--e-global-color-638d055, #020202);
	--sk-card: var(--e-global-color-cfa1f76, #1c1c1c);
	--sk-card-2: var(--e-global-color-7fbea4f, #2b2b2b);
	--sk-line: var(--e-global-color-4d462f5, #262626);
	--sk-heading: var(--e-global-color-secondary, #ffffff);
	--sk-text: var(--e-global-color-primary, #95969c);
	--sk-wa: #25d366;
	--sk-font-head: var(--e-global-typography-primary-font-family, "Geologica"), sans-serif;
	--sk-font-body: var(--e-global-typography-text-font-family, "Inter"), sans-serif;
	font-family: var(--sk-font-body);
	color: var(--sk-text);
}

.sk-page {
	background: var(--sk-bg);
	padding: 32px 0 96px;
}

.sk-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Hero (brand / category pages) */
.sk-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 112px 0;
	text-align: center;
}
.sk-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--sk-bg);
	opacity: 0.75;
}
.sk-hero .sk-container { position: relative; }
.sk-hero__title {
	margin: 0;
	color: var(--sk-heading);
	font-family: var(--sk-font-head);
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.2;
}
.sk-hero__subtitle {
	margin: 12px 0 0;
	color: var(--sk-heading);
	font-family: var(--sk-font-head);
	font-size: 18px;
	font-weight: 500;
}

/* Breadcrumb */
.sk-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	font-size: 14px;
}
.sk-breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--sk-line); }
.sk-breadcrumb a { color: var(--sk-text); text-decoration: none; }
.sk-breadcrumb a:hover { color: var(--sk-red); }
.sk-breadcrumb [aria-current] { color: var(--sk-heading); }

/* Buttons */
.sk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 0;
	font-family: var(--sk-font-head);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.sk-btn--primary { background: var(--sk-red); color: #fff; }
.sk-btn--primary:hover,
.sk-btn--primary:focus-visible { background: var(--sk-red-dark); color: #fff; }
.sk-btn--ghost { background: transparent; border-color: var(--sk-card-2); color: var(--sk-heading); }
.sk-btn--ghost:hover,
.sk-btn--ghost:focus-visible { border-color: var(--sk-red); color: var(--sk-red); }
.sk-btn--wa { background: var(--sk-wa); color: #fff; }
.sk-btn--wa:hover,
.sk-btn--wa:focus-visible { background: #1da851; color: #fff; }
.sk-btn--lg { min-height: 52px; padding: 14px 28px; font-size: 16px; }
.sk-icon { width: 18px; height: 18px; flex: none; }

/* Filter */
.sk-catalog { padding: 8px 0 0; }
.sk-filter {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr auto;
	gap: 16px;
	align-items: end;
	padding: 24px;
	background: var(--sk-card);
	border-left: 4px solid var(--sk-red);
}
.sk-filter__field label {
	display: block;
	margin-bottom: 8px;
	color: var(--sk-heading);
	font-family: var(--sk-font-head);
	font-size: 14px;
	font-weight: 600;
}
.sk-filter input,
.sk-filter select {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--sk-card-2);
	border-radius: 0;
	background: var(--sk-bg);
	color: var(--sk-heading);
	font-family: var(--sk-font-body);
	font-size: 15px;
}
.sk-filter input::placeholder { color: var(--sk-text); }
.sk-filter input:focus,
.sk-filter select:focus { outline: 2px solid var(--sk-red); outline-offset: 0; border-color: var(--sk-red); }
.sk-filter__actions { display: flex; gap: 8px; }

.sk-result-count {
	margin: 24px 0 16px;
	color: var(--sk-text);
	font-size: 14px;
}

/* Grid & cards */
.sk-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}
.sk-card {
	display: flex;
	flex-direction: column;
	background: var(--sk-card);
	transition: transform 0.2s, box-shadow 0.2s;
}
.sk-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); }
.sk-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--sk-card-2);
	overflow: hidden;
}
.sk-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sk-card__body { flex: 1; padding: 18px 18px 8px; }
.sk-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 10px;
}
.sk-card__brand {
	color: var(--sk-red);
	font-family: var(--sk-font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.sk-card__title {
	margin: 0 0 8px;
	font-family: var(--sk-font-head);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
}
.sk-card__title a { color: var(--sk-heading); text-decoration: none; }
.sk-card__title a:hover { color: var(--sk-red); }
.sk-card__part,
.sk-card__cat { margin: 0 0 4px; font-size: 14px; line-height: 1.4; }
.sk-card__part strong { color: var(--sk-heading); font-weight: 600; }
.sk-card__actions {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 8px;
	padding: 12px 18px 18px;
}
.sk-card__actions .sk-btn { padding: 10px 12px; font-size: 14px; }

/* Stock badge */
.sk-stock {
	display: inline-block;
	padding: 4px 8px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}
.sk-stock.is-available { background: rgba(37, 211, 102, 0.14); color: #4ade80; }
.sk-stock.is-limited { background: rgba(250, 204, 21, 0.14); color: #facc15; }
.sk-stock.is-indent { background: rgba(149, 150, 156, 0.18); color: #c8c9ce; }

/* Placeholder until product photos are uploaded */
.sk-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	height: 100%;
	color: #55565c;
	font-family: var(--sk-font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
}
.sk-placeholder svg { width: 44px; height: 44px; }

/* Pagination */
.sk-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 40px;
}
.sk-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	background: var(--sk-card);
	color: var(--sk-heading);
	font-family: var(--sk-font-head);
	font-weight: 600;
	text-decoration: none;
}
.sk-pagination a.page-numbers:hover { background: var(--sk-red-dark); color: #fff; }
.sk-pagination .page-numbers.current { background: var(--sk-red); color: #fff; }
.sk-pagination .dots { background: transparent; }

.sk-empty {
	padding: 48px 24px;
	background: var(--sk-card);
	text-align: center;
}
.sk-empty p { margin: 0 0 20px; color: var(--sk-heading); font-size: 17px; }

/* Product detail */
.sk-product {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.sk-product__media {
	aspect-ratio: 1 / 1;
	background: var(--sk-card);
	overflow: hidden;
}
.sk-product__media img { width: 100%; height: 100%; object-fit: contain; }
.sk-product__media .sk-placeholder svg { width: 80px; height: 80px; }
.sk-product__media .sk-placeholder { font-size: 18px; }
.sk-product__brand {
	color: var(--sk-red);
	font-family: var(--sk-font-head);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
}
.sk-product__title {
	margin: 8px 0 12px;
	color: var(--sk-heading);
	font-family: var(--sk-font-head);
	font-size: clamp(28px, 4vw, 39px);
	font-weight: 700;
	line-height: 1.2;
}
.sk-product__part { margin: 0 0 28px; font-size: 16px; }
.sk-product__part strong { color: var(--sk-heading); font-size: 18px; }
.sk-product__table { margin: 0 0 32px; border-top: 1px solid var(--sk-line); }
.sk-product__table > div {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--sk-line);
}
.sk-product__table dt { color: var(--sk-heading); font-family: var(--sk-font-head); font-weight: 600; }
.sk-product__table dd { margin: 0; }
.sk-product__table a { color: var(--sk-text); text-decoration: underline; text-underline-offset: 3px; }
.sk-product__table a:hover { color: var(--sk-red); }
.sk-product__desc { margin-top: 32px; }

.sk-related { margin-top: 80px; }
.sk-section-title {
	margin: 0 0 24px;
	color: var(--sk-heading);
	font-family: var(--sk-font-head);
	font-size: 28px;
	font-weight: 700;
}

/* Brand & category lists */
.sk-terms {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sk-terms a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 18px;
	background: var(--sk-card);
	color: var(--sk-heading);
	text-decoration: none;
	transition: background-color 0.2s;
}
.sk-terms a:hover { background: var(--sk-card-2); }
.sk-terms__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	margin: -18px -18px 12px;
	padding: 12px;
	background: #fff;
}
.sk-terms__logo img { max-height: 40px; width: auto; }
.sk-terms__name { font-family: var(--sk-font-head); font-weight: 600; }
.sk-terms__count { color: var(--sk-text); font-size: 13px; }

/* Responsive */
@media (max-width: 1024px) {
	.sk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sk-filter { grid-template-columns: 1fr 1fr; }
	.sk-filter__field--search { grid-column: 1 / -1; }
	.sk-product { gap: 32px; }
}
@media (max-width: 767px) {
	.sk-page { padding: 20px 0 64px; }
	.sk-hero { padding: 64px 0; }
	.sk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.sk-filter { grid-template-columns: 1fr; padding: 18px; }
	.sk-filter__actions .sk-btn { flex: 1; }
	.sk-card__body { padding: 12px 12px 6px; }
	.sk-card__title { font-size: 15px; }
	.sk-card__part, .sk-card__cat { font-size: 13px; }
	.sk-card__actions { grid-template-columns: 1fr; padding: 8px 12px 12px; }
	.sk-product { grid-template-columns: 1fr; }
	.sk-product__table > div { grid-template-columns: 110px 1fr; }
	.sk-related { margin-top: 56px; }
}
@media (max-width: 380px) {
	.sk-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.sk-card, .sk-btn, .sk-terms a { transition: none; }
	.sk-card:hover { transform: none; }
}

/*
 * Elementor kit overrides.
 * The kit styles a, button, h1-h6 and inputs as ".elementor-kit-N <el>", which outranks single classes.
 * These selectors add the element name (and #katalog for inputs) so the catalog keeps its own look.
 */
body a.sk-btn,
body button.sk-btn { font-family: var(--sk-font-head); font-size: 15px; font-weight: 600; line-height: 1; border-radius: 0; }
body a.sk-btn--primary,
body button.sk-btn--primary { background: var(--sk-red); color: #fff; border: 1px solid var(--sk-red); }
body a.sk-btn--primary:hover,
body a.sk-btn--primary:focus-visible,
body button.sk-btn--primary:hover,
body button.sk-btn--primary:focus-visible { background: var(--sk-red-dark); border-color: var(--sk-red-dark); color: #fff; }
body a.sk-btn--ghost { background: transparent; border: 1px solid var(--sk-card-2); color: var(--sk-heading); }
body a.sk-btn--ghost:hover,
body a.sk-btn--ghost:focus-visible { border-color: var(--sk-red); color: var(--sk-red); }
body a.sk-btn--wa { background: var(--sk-wa); border: 1px solid var(--sk-wa); color: #fff; }
body a.sk-btn--wa:hover,
body a.sk-btn--wa:focus-visible { background: #1da851; border-color: #1da851; color: #fff; }
body .sk-card__actions a.sk-btn { font-size: 14px; }
body a.sk-btn--lg { font-size: 16px; }

body .sk-card h3.sk-card__title { margin: 0 0 8px; color: var(--sk-heading); font-family: var(--sk-font-head); font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-transform: none; }
body .sk-card h3.sk-card__title a { color: var(--sk-heading); }
body .sk-card h3.sk-card__title a:hover { color: var(--sk-red); }
body .sk-product h1.sk-product__title { margin: 8px 0 12px; color: var(--sk-heading); font-size: clamp(28px, 4vw, 39px); line-height: 1.2; letter-spacing: 0; }
body .sk-hero h1.sk-hero__title { margin: 0; color: var(--sk-heading); font-size: clamp(32px, 5vw, 48px); line-height: 1.2; }
body .sk-related h2.sk-section-title { margin: 0 0 24px; color: var(--sk-heading); font-size: 28px; line-height: 1.2; letter-spacing: 0; }
body a.sk-product__brand { color: var(--sk-red); }
body .sk-breadcrumb a { color: var(--sk-text); }
body .sk-breadcrumb a:hover { color: var(--sk-red); }
body .sk-terms a { color: var(--sk-heading); }

#katalog .sk-filter input,
#katalog .sk-filter select {
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid var(--sk-card-2);
	border-radius: 0;
	background: var(--sk-bg);
	color: var(--sk-heading);
	font-family: var(--sk-font-body);
	font-size: 15px;
	line-height: 1.4;
}
#katalog .sk-filter input:focus,
#katalog .sk-filter select:focus { border-color: var(--sk-red); outline: 2px solid var(--sk-red); outline-offset: 0; background: var(--sk-bg); color: var(--sk-heading); }

@media (max-width: 767px) {
	body .sk-card h3.sk-card__title { font-size: 15px; }
	body .sk-card__actions a.sk-btn { padding: 10px 8px; }
}

/*
 * Light variant (white/black alternating sections).
 * Add the class "sk-light" to an Elementor section around [sanindo_katalog]; plugin templates use it by default.
 */
.sk-light .sk-catalog,
.sk-page.sk-light {
	--sk-bg: #f2f2f2;
	--sk-card: #ffffff;
	--sk-card-2: #e2e2e2;
	--sk-line: #e5e5e5;
	--sk-heading: var(--e-global-color-text, #020202);
	--sk-text: #4a4a4a;
}
.sk-light .sk-filter { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.sk-light .sk-card { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.sk-light .sk-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14); }
.sk-light #katalog .sk-filter input,
.sk-light #katalog .sk-filter select,
.sk-light #katalog .sk-filter input:focus,
.sk-light #katalog .sk-filter select:focus { background: #ffffff; }
.sk-light .sk-stock.is-available { background: #dcfce7; color: #166534; }
.sk-light .sk-stock.is-limited { background: #fef3c7; color: #92400e; }
.sk-light .sk-stock.is-indent { background: #e5e7eb; color: #374151; }
.sk-light .sk-pagination .page-numbers { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
.sk-light .sk-pagination .dots { box-shadow: none; }
.sk-light .sk-empty { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.sk-light .sk-product__media { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); }
.sk-light .sk-breadcrumb li + li::before { color: #b5b5b5; }
/* The kit colours every <label>; keep filter labels readable in both variants. */
#katalog .sk-filter .sk-filter__field label { color: var(--sk-heading); }
/* Same 4:3 frame as the cards so illustrations and photos fill the box. */
.sk-product__media { aspect-ratio: 4 / 3; }
