/* Team Edition product page additions for Olam 5.4.0. */
body.single-download .olam-download-layout--with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(270px, .78fr);
	align-items: start;
	gap: 24px;
	margin: 0;
}
body.single-download .olam-download-layout--with-sidebar::before,
body.single-download .olam-download-layout--with-sidebar::after { display: none; }
body.single-download .olam-download-layout > .col-lg-9,
body.single-download .olam-download-layout > .col-lg-12,
body.single-download .olam-download-layout > .col-lg-3 {
	float: none;
	width: auto;
	max-width: none;
	padding: 0;
}
body.single-download .page-head.single-download-head {
	max-width: 1320px;
	margin: 0 auto 22px;
	padding: 0 12px;
}
body.single-download .page-head.single-download-head h1 {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.18;
	letter-spacing: -.02em;
}
body.single-download .paper {
	margin: 0;
	padding: 22px;
	border: 1px solid #e0e5e7;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
body.single-download.olam-dark-mode .paper {
	border-color: #343d42;
	background: transparent;
	box-shadow: none;
}
body.single-download .preview-area {
	margin: -22px -22px 22px;
	border-radius: 14px 14px 0 0;
	overflow: hidden;
}
body.single-download .banner-slider.owl-loaded .owl-item {
	opacity: 0;
	transition: opacity 500ms ease;
}
body.single-download .banner-slider.owl-loaded .owl-item.active { opacity: 1; }
body.single-download .banner-slider .owl-nav .owl-prev,
body.single-download .banner-slider .owl-nav .owl-next {
	border-radius: 8px;
	background: #13c9aa;
	color: #07332c;
	transition: transform 160ms ease, background-color 160ms ease;
}
body.single-download .banner-slider .owl-nav .owl-prev:hover,
body.single-download .banner-slider .owl-nav .owl-next:hover {
	transform: translateY(-2px);
	background: #43dfc2;
}
body.single-download .content-area {
	border-radius: 12px;
	padding: 24px;
}
body.single-download.olam-dark-mode .content-area {
	background: #1b1f22;
	border: 1px solid #394147;
	color: #e9eef0;
}
body.single-download .sidebar {
	position: sticky;
	top: 96px;
	padding: 18px;
	border: 1px solid #dce3e4;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
body.single-download.olam-dark-mode .sidebar {
	border-color: #394147;
	background: #202529;
	color: #eef2f4;
}
body.single-download .sidebar .sidebar-item:first-child .cart-box,
body.single-download .sidebar .cart-box {
	margin: 0 0 22px;
	padding: 18px;
	border: 1px solid #e1e6e8;
	border-radius: 12px;
}
body.single-download.olam-dark-mode .sidebar .sidebar-item:first-child .cart-box,
body.single-download.olam-dark-mode .sidebar .cart-box {
	border-color: #3b454b;
	background: #202529;
	color: #eef2f4;
}
body.single-download .sidebar .cart-box .sidebar-title {
	margin: 0 0 12px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
body.single-download .sidebar .cart-box h3 {
	margin: 0 0 16px;
	font-size: clamp(21px, 2vw, 27px);
	line-height: 1.2;
}
body.single-download .olam-widget-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
	padding: 13px 15px;
	border-radius: 9px;
	background: #13c9aa;
	color: #062c26;
	font-size: 23px;
	font-weight: 900;
}
body.single-download .olam-widget-price .olam-widget-price-label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .04em;
}
body.single-download .olam-widget-price .edd_price,
body.single-download .olam-widget-price .edd_price span { color: inherit; }
body.single-download .sidebar .cart-box .edd-submit,
body.single-download .sidebar .cart-box #edd-purchase-button,
body.single-download .sidebar .cart-box a.edd-add-to-cart,
body.single-download .sidebar a.edd-submit,
body.single-download .sidebar #edd-purchase-button,
body.single-download .sidebar input.edd-submit {
	width: 100%;
	max-width: 100%;
	min-height: 48px;
	margin: 0 0 12px;
	border: 0 !important;
	border-radius: 8px !important;
	background: #ffd400 !important;
	color: #17191b !important;
	font-size: 14px;
	font-weight: 900;
	text-align: center;
	box-shadow: 0 7px 18px rgba(255,212,0,.16);
	animation: tem-olam-buy-pulse 4s ease-in-out infinite;
	transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
body.single-download .sidebar .cart-box .edd-submit:hover,
body.single-download .sidebar .cart-box #edd-purchase-button:hover,
body.single-download .sidebar .cart-box a.edd-add-to-cart:hover,
body.single-download .sidebar a.edd-submit:hover,
body.single-download .sidebar #edd-purchase-button:hover,
body.single-download .sidebar input.edd-submit:hover,
body.single-download .sidebar .cart-box .edd-submit:focus-visible,
body.single-download .sidebar a.edd-submit:focus-visible {
	transform: translateY(-2px);
	background: #ffe14a !important;
	box-shadow: 0 10px 25px rgba(255,212,0,.3);
	animation-play-state: paused;
}
body.single-download .sidebar .cart-box .edd-submit:active,
body.single-download .sidebar a.edd-submit:active,
body.single-download .sidebar #edd-purchase-button:active {
	transform: translateY(1px) scale(.985);
}
body.single-download .sidebar .edd-meta .tags,
body.single-download .sidebar .edd_download_tags,
body.single-download .sidebar .download-tags-meta,
body.single-download .sidebar .widget_tag_cloud { display: none !important; }
body.single-download .sidebar .edd-meta .categories a {
	display: inline-block;
	margin: 5px 5px 0 0;
	padding: 5px 9px;
	border: 1px solid #278d7a;
	border-radius: 999px;
	background: rgba(25,210,174,.09);
	color: #078c78;
	font-size: 12px;
	font-weight: 800;
}
body.single-download.olam-dark-mode .sidebar .edd-meta .categories a {
	background: #173a35;
	color: #7ce8d1;
}
@keyframes tem-olam-buy-pulse {
	0%, 100% { box-shadow: 0 7px 18px rgba(255,212,0,.16); }
	50% { box-shadow: 0 7px 25px rgba(255,212,0,.34); }
}
@media (max-width: 900px) {
	body.single-download .olam-download-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
	body.single-download .sidebar { position: static; }
}
@media (max-width: 600px) {
	body.single-download .page-head.single-download-head { margin-bottom: 16px; padding: 0; }
	body.single-download .paper,
	body.single-download .sidebar { padding: 15px; border-radius: 11px; }
	body.single-download .preview-area { margin: -15px -15px 18px; }
	body.single-download .content-area { padding: 18px 16px; }
	body.single-download .olam-widget-price { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
	body.single-download .banner-slider .owl-item,
	body.single-download .banner-slider .owl-nav .owl-prev,
	body.single-download .banner-slider .owl-nav .owl-next,
	body.single-download .sidebar .edd-submit,
	body.single-download .sidebar #edd-purchase-button,
	body.single-download .sidebar input.edd-submit {
		animation: none !important;
		transition: none !important;
	}
}

/* Dark-mode contrast fix for the EDD Reviews per-product widget.
   The widget outputs #edd-per-product-review, not #edd-recent-reviews. */
body.olam-dark-mode.single-download .sidebar #edd-per-product-review,
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-author,
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-author b,
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-metadata,
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-metadata p,
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-metadata .author {
	color: #edf2f4 !important;
}
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-author b {
	display: inline;
	font-weight: 700;
	line-height: 1.5;
	overflow-wrap: anywhere;
}
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-metadata a {
	color: #50e2c5 !important;
}
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-meta-rating .dashicons-star-filled {
	color: #ffd400 !important;
}
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-review-meta-rating .dashicons-star-empty {
	color: #cbd3d7 !important;
}
body.olam-dark-mode.single-download .sidebar #edd-per-product-review .edd-recent-review {
	border-bottom: 1px solid #3b454b;
	padding: 12px 0;
}

/* Dark-mode style for preformatted lines in EDD product descriptions. */
body.olam-dark-mode.single-download .content-area pre {
	background: #252b2f !important;
	border: 1px solid #3b454b !important;
	border-radius: 8px;
	color: #edf2f4 !important;
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.65;
	overflow-wrap: anywhere;
	padding: 14px 16px;
	white-space: pre-wrap;
}
body.olam-dark-mode.single-download .content-area pre strong {
	color: inherit !important;
}

/* Inline checkout button in a product description. */
body.single-download .content-area a.edd-submit.button,
body.single-download .content-area a.edd-submit.button:visited,
body.olam-dark-mode.single-download .content-area a.edd-submit.button,
body.olam-dark-mode.single-download .content-area a.edd-submit.button:visited {
  background: #d8ad00 !important;
  border-color: #d8ad00 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 800;
  text-shadow: 0 1px 1px rgba(0,0,0,.24);
}
body.single-download .content-area a.edd-submit.button:hover,
body.olam-dark-mode.single-download .content-area a.edd-submit.button:hover {
  background: #c59f00 !important;
  border-color: #c59f00 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
body.single-download .content-area a.edd-submit.button i,
body.single-download .content-area a.edd-submit.button span,
body.olam-dark-mode.single-download .content-area a.edd-submit.button i,
body.olam-dark-mode.single-download .content-area a.edd-submit.button span { color: #ffffff !important; }
