/**
 * Peningkatan Visual Penarik Pembeli (Modular & Reversible)
 * Toko Oleh-Oleh Keranjang Kenangan
 */

/* ==========================================================================
   1. Travel-Ready Badges (Badge Siap Perjalanan)
   ========================================================================== */
.kk-travel-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.2;
	padding: 3px 7px;
	border-radius: 999px;
	margin-top: 4px;
	margin-bottom: 4px;
	width: fit-content;
	letter-spacing: 0.01em;
}
.kk-travel-badge svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
}
.kk-travel-badge.badge-kabin {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}
.kk-travel-badge.badge-tahan {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
}
.kk-travel-badge.badge-dingin {
	background: #e0f2fe;
	color: #0369a1;
	border: 1px solid #bae6fd;
}
/* Di kartu produk WooCommerce */
ul.products li.product .kk-travel-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
/* Pada single product page */
.summary .kk-travel-badge {
	margin-bottom: 12px;
	font-size: 0.8125rem;
	padding: 5px 10px;
}

/* ==========================================================================
   2. Curated Occasion Bundles (Panduan Paket & Pilihan)
   ========================================================================== */
.kk-bundles-section {
	margin: 3.5rem 0;
	padding: 2rem 0;
}
.kk-bundles-header {
	text-align: center;
	margin-bottom: 2rem;
}
.kk-bundles-header .eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #92400e;
	margin-bottom: 0.5rem;
}
.kk-bundles-header h2 {
	font-size: 1.625rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
}
.kk-bundles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.kk-bundle-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	position: relative;
	overflow: hidden;
}
.kk-bundle-card:hover, .kk-bundle-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px -4px rgba(230, 126, 34, 0.18), 0 0 0 1px #e67e22;
	border-color: #e67e22;
	outline: none;
}
.kk-bundle-card-top {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1rem;
}
.kk-bundle-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}
.kk-bundle-card.card-office .kk-bundle-icon { background: #eff6ff; border-color: #bfdbfe; }
.kk-bundle-card.card-family .kk-bundle-icon { background: #fef3c7; border-color: #fde68a; }
.kk-bundle-card.card-hampers .kk-bundle-icon { background: #fdf2f8; border-color: #fbcfe8; }

.kk-bundle-card h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0;
	color: #0f172a;
}
.kk-bundle-card p {
	font-size: 0.875rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0 0 1.25rem 0;
	flex-grow: 1;
}
.kk-bundle-action {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.875rem;
	font-weight: 600;
	color: #92400e;
}

/* ==========================================================================
   3. Storefront & Atmosphere Strip (Foto Suasana Toko Asli)
   ========================================================================== */
.kk-storefront-section {
	margin: 3.5rem 0;
	background: #FAF8F5;
	border: 1px solid #EDE8E1;
	border-radius: 18px;
	padding: 2.75rem 2.25rem 2.25rem;
}

@media (max-width: 640px) {
	.kk-storefront-section {
		padding: 1.75rem 1.25rem;
		margin: 2.5rem 0;
	}
}

/* Header */
.kk-storefront-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2.25rem auto;
}

.kk-storefront-header .eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #92400e;
	margin-bottom: 0.5rem;
}

.kk-storefront-header h2 {
	font-family: var(--font-heading, 'Fraunces', serif);
	font-size: clamp(1.5rem, 2.75vw, 1.95rem);
	font-weight: 600;
	color: #392B20;
	line-height: 1.25;
	margin: 0 0 0.875rem 0;
}

.kk-storefront-lead {
	font-size: 0.9375rem;
	color: #55483B;
	line-height: 1.65;
	margin: 0;
}

/* 2-Card Grid */
.kk-storefront-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

@media (max-width: 768px) {
	.kk-storefront-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}

/* Store Outlet Card */
.kk-store-card {
	background: #FFFFFF;
	border: 1px solid #E8E2D8;
	border-radius: 14px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-shadow: 0 4px 16px rgba(57, 43, 32, 0.03);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.kk-store-card:hover {
	border-color: #D8CEBC;
	box-shadow: 0 8px 24px rgba(57, 43, 32, 0.07);
	transform: translateY(-2px);
}

/* Card Header */
.kk-store-card-header {
	margin-bottom: 16px;
}

.kk-store-card-tags {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}

.kk-store-badge-pusat {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 9px;
	border-radius: 999px;
	background: #FEF3C7;
	color: #92400E;
	border: 1px solid #FDE68A;
}

.kk-store-badge-wisata {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 9px;
	border-radius: 999px;
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
}

.kk-store-status-open {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.75rem;
	font-weight: 600;
	color: #15803D;
}

.kk-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #16A34A;
	display: inline-block;
}

.kk-store-title {
	font-family: var(--font-heading, 'Fraunces', serif);
	font-size: 1.25rem;
	font-weight: 600;
	color: #392B20;
	margin: 0 0 3px 0;
	line-height: 1.3;
}

.kk-store-subtitle {
	font-size: 0.8125rem;
	color: #706456;
	margin: 0;
}

/* Card Body */
.kk-store-card-body {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 20px;
}

.kk-store-address-box {
	background: #FBF9F6;
	border: 1px solid #EFEAE2;
	border-radius: 10px;
	padding: 12px 14px;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.kk-store-address-box .kk-branch-pin {
	color: #92400E;
	flex-shrink: 0;
	margin-top: 2px;
}

.kk-store-address-box address {
	font-style: normal;
	font-size: 0.85rem;
	line-height: 1.5;
	color: #392B20;
	margin: 0;
}

.kk-store-highlights {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kk-store-highlights li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.8125rem;
	color: #55483B;
	line-height: 1.45;
}

.kk-store-highlights li svg {
	color: #16A34A;
	flex-shrink: 0;
	margin-top: 1px;
}

/* Card Action Button */
.kk-store-card-footer {
	padding-top: 4px;
}

.kk-btn-map {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	min-height: 46px;
	padding: 11px 18px;
	background: #503923;
	color: #FFFDF8 !important;
	border: 1px solid #503923;
	border-radius: 9px;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.kk-btn-map:hover {
	background: #392B20;
	border-color: #392B20;
	color: #FFFFFF !important;
}

.kk-btn-map:focus-visible {
	outline: none;
	border-color: #E67E22;
	box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.25);
}

.kk-btn-map svg {
	transition: transform 0.15s ease;
}

.kk-btn-map:hover svg {
	transform: translate(2px, -2px);
}

/* Bottom Note */
.kk-storefront-bottom-note {
	text-align: center;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid #EDE8E1;
}

.kk-storefront-bottom-note p {
	font-size: 0.875rem;
	color: #706456;
	margin: 0;
}

.kk-storefront-contact-link {
	font-weight: 600;
	color: #503923;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

.kk-storefront-contact-link:hover {
	color: #E67E22;
}

.kk-storefront-contact-link:focus-visible {
	outline: none;
	border-radius: 4px;
	box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.25);
}

/* ==========================================================================
   4. 3-Step WhatsApp Guide (Panduan Belanja Santai)
   ========================================================================== */
.kk-steps-section {
	margin: 3.5rem 0;
	padding: 2.25rem 1.5rem;
	background: #ffffff;
	border: 1px solid #f1ede6;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.kk-steps-header {
	text-align: center;
	margin-bottom: 2rem;
}
.kk-steps-header .eyebrow {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #92400e;
	margin-bottom: 0.5rem;
}
.kk-steps-header h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0;
}
.kk-steps-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
	position: relative;
}
.kk-step-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1rem;
}
.kk-step-num {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fef3c7;
	color: #92400e;
	font-weight: 700;
	font-size: 1.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
	border: 2px solid #fde68a;
}
.kk-step-item h3 {
	font-size: 1rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 0.5rem 0;
}
.kk-step-item p {
	font-size: 0.875rem;
	color: #64748b;
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   5. Admin Recommendation Prompt (Tanya Rekomendasi Admin)
   ========================================================================== */
.kk-admin-prompt {
	background: #fdfcf9;
	border: 1px solid #edd9b8;
	border-radius: 12px;
	padding: 1.25rem 1.5rem;
	margin: 2rem 0;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
}
@media (min-width: 640px) {
	.kk-admin-prompt {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}
.kk-admin-prompt-content {
	display: flex;
	align-items: center;
	gap: 14px;
}
.kk-admin-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #25d366;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.kk-admin-avatar svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.kk-admin-prompt-text h3 {
	font-size: 0.9375rem;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 2px 0;
}
.kk-admin-prompt-text p {
	font-size: 0.8125rem;
	color: #64748b;
	margin: 0;
}
.kk-store .kk-admin-prompt .button,
.kk-store .kk-admin-prompt a.button,
.kk-admin-prompt .kk-admin-prompt-btn,
.kk-admin-prompt .button {
	margin: 0 !important;
	white-space: nowrap !important;
	background: #25d366 !important;
	background-color: #25d366 !important;
	color: #ffffff !important;
	border: 1px solid #20ba5a !important;
	border-radius: 8px !important;
	font-family: var(--font-body) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	line-height: 1.2 !important;
	padding: 12px 20px !important;
	min-height: 46px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
	text-decoration: none !important;
	transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
	box-sizing: border-box !important;
}
.kk-store .kk-admin-prompt .button:hover,
.kk-store .kk-admin-prompt .button:focus-visible,
.kk-store .kk-admin-prompt a.button:hover,
.kk-store .kk-admin-prompt a.button:focus-visible,
.kk-admin-prompt .kk-admin-prompt-btn:hover,
.kk-admin-prompt .kk-admin-prompt-btn:focus-visible {
	background: #1ebd5b !important;
	background-color: #1ebd5b !important;
	border-color: #1ba750 !important;
	color: #ffffff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}
.kk-admin-prompt .button svg,
.kk-admin-prompt .kk-admin-prompt-btn svg {
	width: 20px !important;
	height: 20px !important;
	fill: #ffffff !important;
	color: #ffffff !important;
	flex-shrink: 0 !important;
	display: block !important;
	margin: 0 !important;
}
.kk-admin-prompt .button .kk-wa-text,
.kk-admin-prompt .kk-admin-prompt-btn .kk-wa-text {
	color: #ffffff !important;
	font-weight: 700 !important;
	display: inline-block !important;
	line-height: 1 !important;
}

/* ==========================================================================
   6. Quick Taste Pills (Filter Cepat Berdasarkan Selera)
   ========================================================================== */
.kk-taste-pills-bar {
	margin-bottom: 1.5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 6px;
	scrollbar-width: thin;
}
.kk-taste-pills {
	display: flex;
	gap: 8px;
	align-items: center;
	min-width: max-content;
}
.kk-taste-label {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #706456;
	margin-right: 4px;
}
.kk-taste-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8125rem;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 999px;
	background: #f4efe6;
	color: #503923;
	text-decoration: none;
	border: 1px solid #d8cebc;
	transition: all 0.14s ease;
	white-space: nowrap;
}
.kk-taste-pill:hover,
.kk-taste-pill:focus-visible {
	background: #fffdf8;
	color: #392b20;
	border-color: #b49a43;
	box-shadow: 0 0 0 2px rgba(180, 154, 67, 0.25);
	outline: none;
}
.kk-taste-pill.is-active {
	background: #503923;
	color: #fffdf8;
	border-color: #503923;
	box-shadow: 0 2px 6px rgba(80, 57, 35, 0.25);
}
