﻿/* ============================================================
   Jumia-style PDP Extra Sections
   ============================================================ */

/* ---- Trust Badges ---- */
.sz-trust-badges {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sz-trust-badge {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 12px;
	background: #fafafa;
	border: 1px solid var(--sz-border, #e5e7eb);
	border-radius: var(--sz-radius, 8px);
	transition: all .18s ease;
}
.sz-trust-badge:hover {
	border-color: var(--brand-primary, #e4002b);
	background: #fff;
	box-shadow: 0 4px 16px rgba(228,0,43,.08);
	transform: translateY(-2px);
}
.sz-trust-badge .sz-icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	color: var(--brand-primary, #e4002b);
	stroke-width: 2;
}
.sz-trust-badge-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.sz-trust-badge-content strong {
	font-size: 13px;
	font-weight: 700;
	color: var(--text-main, #1f2937);
	line-height: 1.3;
}
.sz-trust-badge-content span {
	font-size: 11px;
	color: var(--text-muted, #6b7280);
	line-height: 1.3;
}

/* ---- Share Buttons ---- */
.sz-share-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sz-share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--sz-border, #e5e7eb);
	border-radius: var(--sz-radius, 8px);
	background: #fff;
	color: var(--text-main, #1f2937);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
	transition: all .15s ease;
	white-space: nowrap;
}
.sz-share-btn svg { flex-shrink: 0; }
.sz-share-btn:hover {
	background: #fafafa;
	border-color: var(--brand-primary, #e4002b);
	color: var(--brand-primary, #e4002b);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(228,0,43,.12);
}
.sz-share-whatsapp:hover { border-color: #25d366; background: #f0fff4; color: #25d366; }
.sz-share-facebook:hover { border-color: #1877f2; background: #f0f5ff; color: #1877f2; }
.sz-share-twitter:hover { border-color: #1da1f2; background: #f0f9ff; color: #1da1f2; }
.sz-share-copy:hover { border-color: var(--brand-primary, #e4002b); background: var(--brand-primary-light, #ffe5ef); color: var(--brand-primary, #e4002b); }

/* ---- Questions & Answers ---- */
.sz-qa-list { display: flex; flex-direction: column; gap: 16px; }
.sz-qa-item {
	padding: 16px;
	background: #fafafa;
	border: 1px solid var(--sz-border, #e5e7eb);
	border-radius: var(--sz-radius, 8px);
}
.sz-qa-question, .sz-qa-answer {
	display: flex;
	gap: 12px;
	margin-bottom: 12px;
}
.sz-qa-answer { margin-bottom: 0; padding-top: 12px; border-top: 1px dashed var(--sz-border, #e5e7eb); }
.sz-qa-badge {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 800;
	color: #fff;
}
.sz-qa-question .sz-qa-badge { background: var(--brand-primary, #e4002b); }
.sz-qa-answer .sz-qa-badge { background: var(--brand-secondary, #0097ff); }
.sz-qa-content p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: var(--text-main, #1f2937); }
.sz-qa-meta { font-size: 11px; color: var(--text-muted, #6b7280); }
.sz-ask-question-form textarea { resize: vertical; }
.sz-ask-question-form .sz-btn { margin-right: 8px; }

/* ---- Frequently Bought Together ---- */
.sz-bundle-main {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 16px;
	background: #fafafa;
	border: 1px solid var(--sz-border, #e5e7eb);
	border-radius: var(--sz-radius, 8px);
}
.sz-bundle-item {
	display: flex;
	align-items: center;
	gap: 10px;
}
.sz-bundle-main-item { flex: 1; min-width: 200px; }
.sz-bundle-item-thumb img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	border: 1px solid var(--sz-border, #e5e7eb);
	background: #fff;
}
.sz-bundle-item-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.sz-bundle-item-info strong { font-size: 13px; font-weight: 600; color: var(--text-main, #1f2937); }
.sz-bundle-item-price { font-size: 13px; font-weight: 700; color: var(--brand-primary, #e4002b); }
.sz-bundle-plus {
	font-size: 20px;
	font-weight: 700;
	color: var(--text-muted, #6b7280);
	padding: 0 4px;
}
.sz-bundle-total {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	background: var(--brand-primary-light, #ffe5ef);
	border-radius: var(--sz-radius, 8px);
	margin-bottom: 16px;
}
.sz-bundle-total-label { font-size: 13px; font-weight: 600; color: var(--text-main, #1f2937); }
.sz-bundle-total-price { font-size: 20px; font-weight: 800; color: var(--brand-primary, #e4002b); }
.sz-bundle-save {
	margin-left: auto;
	padding: 4px 10px;
	background: var(--brand-primary, #e4002b);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	border-radius: 6px;
}
.sz-add-bundle { width: 100%; justify-content: center; }

/* ---- Price Drop Alert ---- */
.sz-price-alert { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sz-price-alert p { margin: 0; font-size: 14px; color: var(--text-main, #1f2937); }
.sz-alert-active { color: var(--brand-secondary, #0097ff); font-weight: 600; }

/* ===== Responsive for new sections ===== */
@media (max-width: 900px) {
	.sz-trust-badges { grid-template-columns: repeat(2, 1fr); }
	.sz-bundle-main { flex-direction: column; align-items: stretch; }
	.sz-bundle-main-item { width: 100%; }
	.sz-bundle-item { justify-content: center; }
	.sz-bundle-plus { display: none; }
}
@media (max-width: 640px) {
	.sz-trust-badges { grid-template-columns: 1fr; }
	.sz-share-btn { flex: 1 1 calc(50% - 5px); }
	.sz-qa-question, .sz-qa-answer { flex-direction: column; gap: 8px; }
	.sz-qa-badge { width: auto; height: auto; padding: 4px 10px; border-radius: 6px; display: inline-block; }
	.sz-price-alert { flex-direction: column; align-items: stretch; }
	.sz-price-alert .sz-btn { width: 100%; }
}
