/**
 * OLA Vault — Product Page Styles
 *
 * Premium single product page matching the approved HTML prototype.
 * Two-column layout: main content (left) + purchase sidebar (right).
 *
 * Uses theme CSS variables (--navy, --coral, --mint, etc.)
 * defined in ola-theme/assets/css/theme.css.
 */

/* ================================================================
   FEATURED PRODUCT HERO (full-width banner above layout)
   ================================================================ */

.ola-featured-hero {
	max-width: 1440px;
	margin: 0 auto;
	padding: 20px 40px 0;
}
.ola-featured-image-wrap {
	position: relative;
	width: 100%;
	height: 340px;
	border-radius: var(--radius-lg, 20px);
	overflow: hidden;
	background: linear-gradient(135deg, var(--navy, #1B2A4A) 0%, var(--navy-light, #253A5E) 40%, var(--navy-muted, #344B6E) 100%);
	box-shadow: var(--shadow-lg, 0 8px 30px rgba(27,42,74,0.12));
}
.ola-featured-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}
.ola-featured-placeholder::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -60px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: rgba(126,206,194,0.1);
}
.ola-featured-placeholder::after {
	content: '';
	position: absolute;
	bottom: -100px;
	left: 10%;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(232,116,124,0.06);
}
.ola-featured-inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 48px;
	padding: 0 60px;
	width: 100%;
}
.ola-featured-cover {
	width: 180px;
	height: 240px;
	border-radius: var(--radius-md, 14px);
	background: #FFFFFF;
	box-shadow: 0 8px 30px rgba(0,0,0,0.25), 0 2px 8px rgba(0,0,0,0.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-shrink: 0;
	position: relative;
	overflow: hidden;
}
.ola-featured-cover::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--coral, #E8747C), var(--mint, #7ECEC2));
}
.ola-featured-cover-icon {
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ola-featured-cover-icon svg { width: 48px; height: 48px; color: var(--navy, #1B2A4A); }
.ola-featured-cover-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--navy, #1B2A4A);
	text-align: center;
	padding: 0 16px;
	line-height: 1.3;
}
.ola-featured-cover-pages {
	font-size: 11px;
	font-weight: 600;
	color: var(--text-light, #9AA5B8);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.ola-featured-text {
	flex: 1;
	color: #FFFFFF;
}
.ola-featured-subject {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1.2px;
	color: var(--mint, #7ECEC2);
	margin-bottom: 10px;
}
.ola-featured-text h1 {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 14px;
	letter-spacing: -0.02em;
	color: #FFFFFF;
}
.ola-featured-meta {
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}
.ola-featured-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.ola-featured-meta svg { width: 14px; height: 14px; opacity: 0.7; }

/* ================================================================
   BREADCRUMB
   ================================================================ */

.ola-breadcrumb {
	max-width: 1440px;
	margin: 0 auto;
	padding: 18px 40px 0;
	font-size: 13px;
	color: var(--text-muted, #6B7A94);
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.ola-breadcrumb a {
	color: var(--text-muted, #6B7A94);
	text-decoration: none;
	transition: color 0.2s;
}
.ola-breadcrumb a:hover { color: var(--coral, #E8747C); }
.ola-breadcrumb .sep { opacity: 0.4; }
.ola-breadcrumb .current { color: var(--text-dark, #1B2A4A); font-weight: 500; }

/* ================================================================
   PRODUCT LAYOUT (Two-Column)
   ================================================================ */

.ola-product-wrap {
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 36px;
	align-items: start;
	margin-top: 20px;
	max-width: 1440px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 40px;
}

/* ================================================================
   LEFT COLUMN
   ================================================================ */

.ola-product-main {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* -- Hero Card -- */
.ola-hero-card {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	overflow: hidden;
	box-shadow: var(--shadow-md, 0 4px 12px rgba(27,42,74,0.08));
}

.ola-hero-banner {
	background: linear-gradient(135deg, var(--navy, #1B2A4A) 0%, var(--navy-light, #253A5E) 50%, var(--navy-muted, #344B6E) 100%);
	padding: 36px 36px 28px;
	position: relative;
	overflow: hidden;
}

.ola-hero-banner::before {
	content: '';
	position: absolute;
	top: -40px;
	right: -40px;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(126,206,194,0.08);
}

.ola-hero-banner::after {
	content: '';
	position: absolute;
	bottom: -60px;
	left: 30%;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(232,116,124,0.05);
}

/* -- Resource Badges (in hero banner) -- */
.ola-resource-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}

.ola-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 14px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.ola-badge-grade { background: rgba(126,206,194,0.2); color: var(--mint, #7ECEC2); }
.ola-badge-subject { background: rgba(245,200,66,0.2); color: var(--yellow, #F5C842); }
.ola-badge-type { background: rgba(232,116,124,0.2); color: #F5A0A6; }
.ola-badge-curriculum { background: rgba(155,126,200,0.2); color: #C4B0E0; }

.ola-hero-title {
	font-size: 28px;
	font-weight: 700;
	color: #FFFFFF;
	line-height: 1.35;
	margin-bottom: 10px;
	position: relative;
	z-index: 1;
	letter-spacing: -0.02em;
}

.ola-hero-subtitle {
	font-size: 14px;
	color: rgba(255,255,255,0.6);
	position: relative;
	z-index: 1;
}

/* -- Meta Strip -- */
.ola-meta-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 0;
	border-bottom: 1px solid var(--border-light, #F0ECE7);
}

.ola-meta-item {
	flex: 1;
	min-width: 120px;
	padding: 16px 20px;
	text-align: center;
	border-right: 1px solid var(--border-light, #F0ECE7);
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ola-meta-item:last-child { border-right: none; }

.ola-meta-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	color: var(--text-light, #9AA5B8);
}

.ola-meta-value {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark, #1B2A4A);
}

/* ================================================================
   SECTION CARDS (generic)
   ================================================================ */

.ola-section-card {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 32px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-section-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-dark, #1B2A4A);
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 10px;
	letter-spacing: -0.01em;
}

.ola-section-title .icon {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-sm, 8px);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ola-section-title .icon svg { width: 16px; height: 16px; }

.icon-coral { background: var(--coral-pale, #FFF0F1); color: var(--coral, #E8747C); }
.icon-mint { background: var(--mint-pale, #E8F8F5); color: var(--mint, #7ECEC2); }
.icon-yellow { background: var(--yellow-pale, #FFF8E1); color: var(--yellow, #F5C842); }
.icon-purple { background: var(--purple-pale, #F3EEFA); color: var(--purple, #9B7EC8); }

.ola-description {
	font-size: 15px;
	line-height: 1.75;
	color: var(--text-muted, #6B7A94);
}

.ola-description p { margin-bottom: 12px; }
.ola-description p:last-child { margin-bottom: 0; }

/* ================================================================
   SPECS GRID
   ================================================================ */

.ola-specs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ola-spec-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	background: var(--bg, #F4F0EB);
	border-radius: var(--radius-md, 14px);
	transition: background 0.2s;
}

.ola-spec-item:hover { background: #EDE9E4; }

.ola-spec-icon {
	width: 36px;
	height: 36px;
	border-radius: var(--radius-sm, 8px);
	background: var(--card, #FFF);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-spec-icon svg { width: 16px; height: 16px; }

.ola-spec-text {
	display: flex;
	flex-direction: column;
}

.ola-spec-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light, #9AA5B8);
}

.ola-spec-value {
	font-size: 14px;
	font-weight: 500;
	color: var(--text-dark, #1B2A4A);
}

/* ================================================================
   WHAT'S INCLUDED (chip grid between specs and preview)
   ================================================================ */

.ola-components-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.ola-component-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 16px;
	background: var(--bg, #F4F0EB);
	border-radius: var(--radius-md, 14px);
	font-size: 13px;
	font-weight: 500;
	color: var(--text-dark, #1B2A4A);
	border: 1px solid var(--border-light, #F0ECE7);
	transition: all 0.2s;
}
.ola-component-chip:hover {
	border-color: var(--mint, #7ECEC2);
	background: var(--mint-pale, #E8F8F5);
}
.ola-component-chip .check {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--mint-pale, #E8F8F5);
	color: var(--mint, #7ECEC2);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
}

/* ================================================================
   PDF PREVIEW (decorative blurred pages)
   ================================================================ */

.ola-preview-section {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 32px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-preview-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.ola-preview-page {
	position: relative;
	aspect-ratio: 210 / 297;
	border-radius: var(--radius-md, 14px);
	overflow: hidden;
	background: #F8F6F3;
	border: 1px solid var(--border, #E8E4DF);
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-preview-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(27,42,74,0.0) 0%, rgba(27,42,74,0.5) 100%);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ola-preview-lock {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.15);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ola-preview-lock svg { width: 18px; height: 18px; color: rgba(255,255,255,0.9); }

.ola-preview-label-text {
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,0.8);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ola-preview-page-num {
	position: absolute;
	bottom: 8px;
	right: 10px;
	font-size: 10px;
	font-weight: 600;
	color: rgba(255,255,255,0.7);
}

/* Fake PDF content lines */
.ola-fake-pdf {
	width: 100%;
	height: 100%;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	filter: blur(3px);
	transform: scale(1.03);
}

.ola-fake-pdf .fh {
	height: 12px;
	border-radius: 3px;
	background: var(--navy, #1B2A4A);
	opacity: 0.15;
	width: 60%;
}

.ola-fake-pdf .fl {
	height: 6px;
	border-radius: 2px;
	background: var(--navy, #1B2A4A);
	opacity: 0.08;
}

.ola-fake-pdf .fl.short { width: 75%; }
.ola-fake-pdf .fl.med { width: 90%; }
.ola-fake-pdf .fl.long { width: 100%; }

.ola-fake-pdf .fbox {
	height: 40px;
	border-radius: 4px;
	background: var(--mint, #7ECEC2);
	opacity: 0.06;
	margin: 4px 0;
}

/* ================================================================
   RATINGS & REVIEWS
   ================================================================ */

.ola-reviews-card {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 32px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-rating-summary {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border-light, #F0ECE7);
}

.ola-rating-big { text-align: center; min-width: 100px; }

.ola-rating-number {
	font-size: 48px;
	font-weight: 700;
	color: var(--text-dark, #1B2A4A);
	line-height: 1;
}

.ola-rating-stars {
	display: flex;
	gap: 2px;
	justify-content: center;
	margin: 6px 0 4px;
	font-size: 16px;
	color: var(--yellow, #F5C842);
}

.ola-rating-count { font-size: 12px; color: var(--text-light, #9AA5B8); }

.ola-rating-bars {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ola-bar-row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ola-bar-label {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-muted, #6B7A94);
	width: 16px;
	text-align: right;
}

.ola-bar-track {
	flex: 1;
	height: 8px;
	background: var(--bg, #F4F0EB);
	border-radius: 4px;
	overflow: hidden;
}

.ola-bar-fill {
	height: 100%;
	border-radius: 4px;
	background: var(--yellow, #F5C842);
	transition: width 0.6s ease;
}

.ola-bar-count {
	font-size: 11px;
	color: var(--text-light, #9AA5B8);
	width: 24px;
}

/* Individual Reviews */
.ola-review {
	padding: 20px 0;
	border-bottom: 1px solid var(--border-light, #F0ECE7);
}

.ola-review:last-child { border-bottom: none; }

.ola-review-header {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.ola-review-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--purple-pale, #F3EEFA);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--purple, #9B7EC8);
	flex-shrink: 0;
}

.ola-review-meta { flex: 1; }
.ola-review-name { font-size: 14px; font-weight: 600; color: var(--text-dark, #1B2A4A); }
.ola-review-date { font-size: 11px; color: var(--text-light, #9AA5B8); }
.ola-review-stars { font-size: 13px; color: var(--yellow, #F5C842); }

.ola-review-text {
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-muted, #6B7A94);
	margin-left: 48px;
}

/* ================================================================
   CONTRIBUTOR CARD (Main Column)
   ================================================================ */

.ola-contributor-card-main {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 28px 32px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-contributor-main-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 16px;
}

.ola-contributor-main-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--navy, #1B2A4A) 0%, var(--navy-light, #253A5E) 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #FFF;
	flex-shrink: 0;
}

.ola-contributor-main-avatar-img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.ola-contributor-main-info { flex: 1; }

.ola-contributor-main-name {
	font-size: 17px;
	font-weight: 600;
	color: var(--text-dark, #1B2A4A);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ola-tier-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.tier-top { background: var(--yellow-pale, #FFF8E1); color: #C4960E; }
.tier-rising { background: var(--mint-pale, #E8F8F5); color: #3A8A7D; }
.tier-starter { background: var(--bg, #F4F0EB); color: var(--text-muted, #6B7A94); }

.ola-contributor-main-role {
	font-size: 13px;
	color: var(--text-muted, #6B7A94);
	margin-top: 2px;
}

.ola-contributor-bio {
	font-size: 14px;
	line-height: 1.65;
	color: var(--text-muted, #6B7A94);
	margin-bottom: 16px;
}

.ola-contributor-stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 0;
	background: var(--bg, #F4F0EB);
	border-radius: var(--radius-md, 14px);
	overflow: hidden;
	margin-bottom: 16px;
}

.ola-cstat {
	text-align: center;
	padding: 12px 8px;
	border-right: 1px solid var(--border-light, #F0ECE7);
}

.ola-cstat:last-child { border-right: none; }

.ola-cstat-value {
	font-size: 18px;
	font-weight: 700;
	color: var(--text-dark, #1B2A4A);
}

.ola-cstat-label {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light, #9AA5B8);
}

.ola-contributor-view-link {
	display: block;
	text-align: center;
	padding: 10px;
	border-radius: var(--radius-sm, 8px);
	font-size: 13px;
	font-weight: 600;
	color: var(--navy, #1B2A4A);
	text-decoration: none;
	background: var(--bg, #F4F0EB);
	transition: all 0.2s;
}

.ola-contributor-view-link:hover {
	background: var(--navy, #1B2A4A);
	color: #FFF;
}

/* ================================================================
   RIGHT COLUMN (Sidebar)
   ================================================================ */

.ola-product-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 80px;
}

/* -- Purchase Card -- */
.ola-purchase-card {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 28px;
	box-shadow: var(--shadow-md, 0 4px 12px rgba(27,42,74,0.08));
	border: 2px solid transparent;
	transition: border-color 0.3s;
}

.ola-purchase-card:hover { border-color: var(--coral-pale, #FFF0F1); }

.ola-price-row {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 20px;
}

.ola-price-currency {
	font-size: 20px;
	font-weight: 600;
	color: var(--coral, #E8747C);
}

.ola-price {
	font-size: 38px;
	font-weight: 700;
	color: var(--coral, #E8747C);
}

.ola-price-note {
	font-size: 12px;
	color: var(--text-light, #9AA5B8);
	font-weight: 500;
	margin-left: 2px;
}

.ola-btn-buy {
	width: 100%;
	padding: 16px 24px;
	background: var(--coral, #E8747C);
	color: #FFF;
	border: none;
	border-radius: var(--radius-md, 14px);
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 4px 14px rgba(232,116,124,0.3);
}

.ola-btn-buy:hover {
	background: var(--coral-hover, #D4636B);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(232,116,124,0.4);
}

.ola-btn-buy svg { width: 18px; height: 18px; }

.ola-btn-wishlist {
	width: 100%;
	padding: 12px 24px;
	background: transparent;
	color: var(--text-muted, #6B7A94);
	border: 1.5px solid var(--border, #E8E4DF);
	border-radius: var(--radius-md, 14px);
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 10px;
}

.ola-btn-wishlist:hover {
	border-color: var(--coral, #E8747C);
	color: var(--coral, #E8747C);
	background: var(--coral-pale, #FFF0F1);
}

.ola-btn-wishlisted {
	border-color: var(--coral, #E8747C);
	color: var(--coral, #E8747C);
	background: var(--coral-pale, #FFF0F1);
}

.ola-purchase-features {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-light, #F0ECE7);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ola-purchase-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--text-muted, #6B7A94);
}

.ola-purchase-feature .feat-icon {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ola-purchase-feature .feat-icon svg { width: 14px; height: 14px; }

.feat-mint { background: var(--mint-pale, #E8F8F5); color: var(--mint, #7ECEC2); }
.feat-yellow { background: var(--yellow-pale, #FFF8E1); color: #C4960E; }
.feat-purple { background: var(--purple-pale, #F3EEFA); color: var(--purple, #9B7EC8); }
.feat-coral { background: var(--coral-pale, #FFF0F1); color: var(--coral, #E8747C); }

.ola-action-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border-light, #F0ECE7);
}

.ola-action-link {
	font-size: 12px;
	color: var(--text-light, #9AA5B8);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 5px;
	transition: color 0.2s;
}

.ola-action-link:hover { color: var(--text-dark, #1B2A4A); }
.ola-action-link svg { width: 13px; height: 13px; }

/* -- Trust Signals Card -- */
.ola-trust-card {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 20px 24px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-trust-items {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ola-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--text-muted, #6B7A94);
}

.ola-trust-icon {
	width: 32px;
	height: 32px;
	border-radius: var(--radius-sm, 8px);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ola-trust-icon svg { width: 16px; height: 16px; }

/* -- Sidebar Related Resources -- */
.ola-sidebar-related {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	padding: 24px;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
}

.ola-sidebar-related-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--text-dark, #1B2A4A);
	margin-bottom: 16px;
}

.ola-sidebar-related-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.ola-sidebar-card {
	border-radius: var(--radius-md, 14px);
	overflow: hidden;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
	transition: all 0.25s;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	display: block;
	border: 1px solid var(--border-light, #F0ECE7);
}

.ola-sidebar-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md, 0 4px 12px rgba(27,42,74,0.08));
	text-decoration: none;
	color: inherit;
}

.ola-sidebar-card-thumb {
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.ola-sidebar-card-body { padding: 10px 12px; }

.ola-sidebar-card-subject {
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light, #9AA5B8);
	margin-bottom: 2px;
}

.ola-sidebar-card-name {
	font-size: 12px;
	font-weight: 600;
	color: var(--text-dark, #1B2A4A);
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.35;
}

.ola-sidebar-card-price {
	font-size: 14px;
	font-weight: 700;
	color: var(--coral, #E8747C);
}

/* Gradient backgrounds for cards */
.grad-math { background: linear-gradient(135deg, #E8F4FD, #D0E8F9); }
.grad-science { background: linear-gradient(135deg, #E8F8F5, #D0F0EA); }
.grad-english { background: linear-gradient(135deg, #FFF0F1, #FFE0E3); }
.grad-bundle { background: linear-gradient(135deg, #F3EEFA, #E4D5F7); }

/* ================================================================
   FULL-WIDTH RELATED SECTION
   ================================================================ */

.ola-related-section {
	margin: 40px auto;
	padding: 0 40px;
	max-width: 1440px;
}

.ola-related-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.ola-related-title {
	font-size: 22px;
	font-weight: 600;
	color: var(--text-dark, #1B2A4A);
}

.ola-related-header a {
	color: var(--coral, #E8747C);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
}

.ola-related-header a:hover { text-decoration: underline; }

.ola-related-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.ola-related-card {
	background: var(--card, #FFF);
	border-radius: var(--radius-lg, 20px);
	overflow: hidden;
	box-shadow: var(--shadow-sm, 0 1px 3px rgba(27,42,74,0.06));
	transition: all 0.25s;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
}

.ola-related-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg, 0 8px 30px rgba(27,42,74,0.12));
	text-decoration: none;
	color: inherit;
}

.ola-related-thumb {
	height: 110px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.ola-related-thumb svg { width: 36px; height: 36px; opacity: 0.5; }
.ola-related-body { padding: 16px; }

.ola-related-subject {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light, #9AA5B8);
	margin-bottom: 4px;
}

.ola-related-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-dark, #1B2A4A);
	margin-bottom: 8px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
}

.ola-related-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ola-related-price {
	font-size: 16px;
	font-weight: 700;
	color: var(--coral, #E8747C);
}

.ola-related-rating {
	font-size: 12px;
	color: var(--text-light, #9AA5B8);
	display: flex;
	align-items: center;
	gap: 4px;
}

.ola-related-rating .star-color { color: var(--yellow, #F5C842); }

/* ================================================================
   ANIMATIONS
   ================================================================ */

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

.ola-product-main > * {
	animation: fadeInUp 0.4s ease forwards;
}

.ola-product-main > *:nth-child(2) { animation-delay: 0.05s; }
.ola-product-main > *:nth-child(3) { animation-delay: 0.1s; }
.ola-product-main > *:nth-child(4) { animation-delay: 0.15s; }
.ola-product-main > *:nth-child(5) { animation-delay: 0.2s; }
.ola-product-main > *:nth-child(6) { animation-delay: 0.25s; }
.ola-product-main > *:nth-child(7) { animation-delay: 0.3s; }

.ola-product-sidebar > * {
	animation: fadeInUp 0.4s ease forwards;
	animation-delay: 0.1s;
}

/* ================================================================
   RESPONSIVE: TABLET (1024px)
   ================================================================ */

@media (max-width: 1024px) {
	.container, .ola-featured-hero, .ola-breadcrumb, .ola-product-wrap, .ola-related-section { padding-left: 24px; padding-right: 24px; }
	.ola-product-wrap { grid-template-columns: 1fr; }

	.ola-product-sidebar {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.ola-purchase-card { grid-column: 1 / -1; }
	.ola-related-grid { grid-template-columns: repeat(2, 1fr); }

	.ola-featured-inner { padding: 0 32px; gap: 28px; }
	.ola-featured-image-wrap { height: 280px; }
	.ola-featured-cover { width: 140px; height: 190px; }
	.ola-featured-text h1 { font-size: 24px; }

	.ola-hero-banner { padding: 28px; }
	.ola-hero-title { font-size: 24px; }
}

/* ================================================================
   RESPONSIVE: MOBILE (768px)
   ================================================================ */

@media (max-width: 768px) {
	.ola-featured-hero { padding: 16px 16px 0; }
	.ola-featured-image-wrap { height: auto; min-height: 200px; }
	.ola-featured-inner {
		flex-direction: column;
		padding: 28px 24px;
		gap: 20px;
		text-align: center;
	}
	.ola-featured-cover { width: 120px; height: 160px; }
	.ola-featured-text h1 { font-size: 20px; }
	.ola-featured-meta { justify-content: center; }

	.ola-hero-title { font-size: 22px; }
	.ola-hero-banner { padding: 24px; }

	.ola-meta-strip { flex-direction: column; }
	.ola-meta-item {
		border-right: none;
		border-bottom: 1px solid var(--border-light, #F0ECE7);
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}
	.ola-meta-item:last-child { border-bottom: none; }

	.ola-specs-grid { grid-template-columns: 1fr; }
	.ola-preview-grid { grid-template-columns: repeat(2, 1fr); }
	.ola-product-sidebar { grid-template-columns: 1fr; }
	.ola-rating-summary { flex-direction: column; }
	.ola-related-grid { grid-template-columns: 1fr; }

	.ola-section-card,
	.ola-preview-section,
	.ola-reviews-card { padding: 20px; }

	.ola-sidebar-related-grid { grid-template-columns: 1fr; }

	.ola-contributor-main-header { flex-direction: column; text-align: center; }
	.ola-contributor-main-name { justify-content: center; }
}

/* ================================================================
   RESPONSIVE: SMALL MOBILE (480px)
   ================================================================ */

@media (max-width: 480px) {
	.ola-hero-title { font-size: 18px; }
	.ola-price { font-size: 32px; }
	.ola-featured-cover { width: 100px; height: 140px; }
	.ola-featured-text h1 { font-size: 18px; }
}

/* ================================================================
   WC COMPAT: Suppress WooCommerce default elements
   ================================================================ */

.ola-product-wrap .quantity,
.ola-product-wrap .woocommerce-product-rating,
.ola-product-wrap .product_meta,
.ola-product-wrap .variations,
.ola-product-wrap .variations_form,
.ola-product-wrap table.variations,
.ola-purchase-card table,
.ola-purchase-card .variations,
.ola-purchase-card label[for^="pa_"] {
	display: none;
}
