/* Tab navigation */
.ppt-tabs {
	width: 100%;
}

.ppt-tabs__nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: #f2f2f2;
	border-radius: 50px;
	padding: 6px;
	margin-bottom: 24px;
}

.ppt-tabs__btn {
	flex: 1;
	appearance: none;
	border: none;
	background: transparent;
	color: #888;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	padding: 12px 16px;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	text-align: center;
	white-space: nowrap;
}

.ppt-tabs__btn:hover {
	color: #4b2c4e;
}

.ppt-tabs__btn--active {
	background: #fff;
	color: #4b2c4e;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ppt-tabs__panels {
	width: 100%;
}

.ppt-tabs__panel[hidden] {
	display: none !important;
}

/* Overview grid */
.ppt-overview {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.ppt-overview__card {
	background: #f9f9f9;
	border: none;
	border-radius: 12px;
	padding: 16px 20px;
}

.ppt-overview__card--full {
	grid-column: 1 / -1;
}

.ppt-overview__label {
	font-size: 12px;
	color: #888;
	margin-bottom: 6px;
	text-transform: capitalize;
}

.ppt-overview__value {
	font-size: 16px;
	font-weight: 600;
	color: #111;
	line-height: 1.5;
}

.ppt-overview__note-sep {
	font-weight: 400;
	color: #111;
}

/* Ingredients */
.ppt-ingredients__section {
	margin-bottom: 32px;
}

.ppt-ingredients__section:last-child {
	margin-bottom: 0;
}

.ppt-ingredients__title {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
	text-align: center;
	color: #4b2c4e;
}

.ppt-ingredients__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.ppt-ingredients__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 80px;
}

.ppt-ingredients__image-wrap {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	overflow: hidden;
}

.ppt-ingredients__image {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 50%;
	display: block;
}

.ppt-ingredients__placeholder {
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #eee;
}

.ppt-ingredients__label {
	font-size: 12px;
	text-align: center;
	margin-top: 8px;
	color: #333;
}

/* Reviews */
.ppt-reviews-wrap {
	width: 100%;
}

.ppt-review-form {
	background: #f9f9f9;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 24px;
}

.ppt-review-form__title {
	font-size: 18px;
	font-weight: 700;
	color: #4b2c4e;
	margin: 0 0 16px;
}

.ppt-review-form__success {
	background: #e8f5e9;
	color: #2e7d32;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.ppt-review-form__notice,
.ppt-reviews__empty {
	font-size: 14px;
	color: #888;
	margin: 0;
}

.ppt-review-form__field {
	margin-bottom: 16px;
}

.ppt-review-form__label {
	display: block;
	font-size: 13px;
	color: #888;
	margin-bottom: 6px;
	font-weight: 500;
}

.ppt-review-form__label .required {
	color: #e74c3c;
}

.ppt-review-form__input,
.ppt-review-form__textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.5;
	box-sizing: border-box;
	background: #fff;
}

.ppt-review-form__textarea {
	resize: vertical;
	min-height: 100px;
}

.ppt-review-form__input:focus,
.ppt-review-form__textarea:focus {
	border-color: #4b2c4e;
	outline: none;
	box-shadow: 0 0 0 1px #4b2c4e;
}

.ppt-review-form__stars {
	display: flex;
	gap: 4px;
}

.ppt-review-form__star {
	appearance: none;
	border: none;
	background: none;
	font-size: 28px;
	color: #ddd;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: color 0.15s ease, transform 0.15s ease;
}

.ppt-review-form__star:hover,
.ppt-review-form__star--active {
	color: #f5a623;
}

.ppt-review-form__star:hover {
	transform: scale(1.1);
}

.ppt-review-form__submit {
	appearance: none;
	border: none;
	background: #4b2c4e;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	padding: 12px 28px;
	border-radius: 50px;
	cursor: pointer;
	transition: background 0.2s ease;
}

.ppt-review-form__submit:hover {
	background: #3a223c;
}

.ppt-reviews {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.ppt-reviews__card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ppt-reviews__name {
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 4px;
}

.ppt-reviews__stars {
	color: #f5a623;
	font-size: 16px;
	margin-bottom: 8px;
	letter-spacing: 1px;
}

.ppt-reviews__text {
	font-size: 14px;
	color: #444;
	line-height: 1.6;
}

.ppt-review-item {
	/* Hook target for theme overrides */
}

@media (max-width: 768px) {
	.ppt-tabs__nav {
		flex-direction: column;
		border-radius: 20px;
		padding: 8px;
	}

	.ppt-tabs__btn {
		width: 100%;
		white-space: normal;
	}

	.ppt-overview {
		grid-template-columns: 1fr;
	}

	.ppt-overview__card--full {
		grid-column: auto;
	}

	.ppt-reviews {
		grid-template-columns: 1fr;
	}
}
