/* PoopReads: WordPress + WooCommerce layer on top of Lateral Demo 06.
   Palette: teal #27ada6 → #40fdab, dark teal #005e59, orange #ffba00, light grey #f7f8f9 */

/* ---------- General ---------- */
a.header__logo-title { text-decoration: none; }
.intro__title { margin: 0; font-weight: 300; }
#main { display: block; }
.section--intro { height: 100vh; min-height: 640px; max-height: 1000px; }
.grid--about .grid__text, .grid--features .grid__text { color: #4a4a4a; }
.grid--about .grid__image img { max-width: 100%; height: auto; }
.pr-step {
	width: 44px; height: 44px; line-height: 44px; border-radius: 50%;
	background: #ffba00; color: #fff; font-weight: 700; font-size: 20px; text-align: center; margin: 0 0 20px 0;
}
#how-it-works .section__title { padding-bottom: 60px; }
.pr-cta-spacer { height: 140px; padding-bottom: 0; }
.pr-cart-count {
	display: inline-block; min-width: 20px; height: 20px; line-height: 20px; margin-left: 6px;
	border-radius: 10px; background: #fff; color: #ffba00; font-size: 12px; font-weight: 700; text-align: center;
}
.header__btn--signup a:hover .pr-cart-count { background: #ffba00; color: #fff; }

/* ---------- Language switcher ---------- */
.trp-floating-switcher { display: none !important; }   /* theme has its own EN | LV switcher */
.header__menu ul li.pr-lang { margin: 0 10px 0 0; }
.header__menu ul li.pr-lang a { display: inline-block; padding: 0 5px !important; margin: 0; font-size: 13px; opacity: .6; }
.header__menu ul li.pr-lang a.is-active { opacity: 1; font-weight: 700; }
.header__menu ul li.pr-lang a + a::before { content: "|"; position: relative; left: -7px; opacity: .5; font-weight: 400; }

/* ---------- Product cards (front page) ---------- */
.pr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; clear: both; }
.pr-card {
	display: block; background: #f7f8f9; border-radius: 25px; overflow: hidden; color: #1d1d1d;
	transition: transform .25s ease, box-shadow .25s ease;
}
.pr-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 94, 89, .12); }
.pr-card__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.pr-card__img--empty { background: linear-gradient(60deg, #27ada6, #40fdab); }
.pr-card__body { padding: 25px 25px 30px; text-align: center; }
.pr-card__title { font-size: 22px; font-weight: 700; color: #000; margin: 0 0 8px; }
.pr-card__price { font-size: 20px; color: #005e59; font-weight: 700; margin: 0 0 10px; }
.pr-card__price del { opacity: .5; font-weight: 400; }
.pr-card__text { text-align: center; font-size: 15px; line-height: 22px; min-height: 22px; }
.pr-card__btn {
	display: inline-block; margin-top: 18px; padding: 10px 40px; border-radius: 25px; font-size: 14px;
	color: #fff; background: #ffba00; border: 2px solid #ffba00; transition: all .3s ease;
}
.pr-card:hover .pr-card__btn { background: transparent; color: #ffba00; }
.pr-empty { text-align: center; font-size: 18px; padding: 20px 0; }
.pr-products__more { margin-top: 50px; }

/* ---------- Inner pages ---------- */
.pr-page { padding-top: 70px; background: #fff; }
.pr-page__content { padding: 60px 0 100px; }
.pr-page__title { font-size: 44px; line-height: 50px; font-weight: 700; color: #000; margin: 0 0 40px; }
.pr-content, .pr-woo { font-size: 17px; line-height: 28px; }
.pr-content p, .pr-woo .woocommerce-product-details__short-description p, .pr-woo .woocommerce-Tabs-panel p { margin: 0 0 1em; line-height: 28px; }
.pr-content ul, .pr-woo .woocommerce-Tabs-panel ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.pr-content ol { list-style: decimal; padding-left: 22px; margin: 0 0 1em; }
.pr-content h2, .pr-woo h2 { font-size: 30px; line-height: 36px; font-weight: 700; margin: 1.2em 0 .5em; }
.pr-content h3, .pr-woo h3 { font-size: 22px; line-height: 28px; font-weight: 700; margin: 1em 0 .5em; }
.pr-content strong, .pr-woo strong, .pr-woo b { font-weight: 700; }
.pr-content a { text-decoration: underline; }
.pr-404-buttons .btn { margin: 10px 10px 0 0; }
.pr-post { padding: 0 0 30px; }

/* ---------- WooCommerce: buttons ---------- */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link), .wp-element-button.wc-block-cart__submit-button {
	background-color: #ffba00 !important; color: #fff !important; border: 2px solid #ffba00 !important;
	border-radius: 25px !important; padding: 12px 34px !important; font-weight: 700 !important;
	font-size: 14px !important; letter-spacing: .5px; line-height: 1.2 !important; font-family: inherit !important;
	transition: all .3s ease; text-transform: uppercase;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background-color: transparent !important; color: #ffba00 !important;
}
.woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

/* ---------- WooCommerce: shop grid ---------- */
.woocommerce .woocommerce-breadcrumb { font-size: 14px; color: #a8a8a8; margin: 0 0 25px; }
.woocommerce .woocommerce-breadcrumb a { color: #005e59; }
.woocommerce .woocommerce-products-header__title { font-size: 44px; line-height: 50px; font-weight: 700; margin: 0 0 30px; }
.woocommerce .woocommerce-result-count { font-size: 15px; color: #838383; }
.woocommerce .woocommerce-ordering select { border: 1px solid #ebeced; border-radius: 20px; padding: 8px 14px; font-family: inherit; }
.woocommerce ul.products li.product {
	background: #f7f8f9; border-radius: 25px; padding: 0 0 25px; overflow: hidden; text-align: center;
	transition: transform .25s ease, box-shadow .25s ease;
}
.woocommerce ul.products li.product:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 94, 89, .12); }
.woocommerce ul.products li.product a img { margin: 0 0 15px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px !important; font-weight: 700; color: #000; padding: 0 15px !important; }
.woocommerce ul.products li.product .price { color: #005e59 !important; font-size: 18px !important; font-weight: 700; }
.woocommerce span.onsale { background: #27ada6; border-radius: 25px; min-height: auto; line-height: 1; padding: 8px 12px; }

/* ---------- WooCommerce: single product ---------- */
.woocommerce div.product .product_title { font-size: 40px; line-height: 46px; font-weight: 700; color: #000; margin: 0 0 15px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: #005e59 !important; font-size: 28px; font-weight: 700; }
.woocommerce div.product div.images img { border-radius: 20px; }
.woocommerce div.product form.cart .quantity .qty { border: 1px solid #ebeced; border-radius: 20px; padding: 10px; height: auto; font-family: inherit; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border-radius: 20px 20px 0 0; }
.woocommerce .product_meta { font-size: 14px; color: #838383; }

/* ---------- WooCommerce: notices, forms ---------- */
.woocommerce-message, .woocommerce-info { border-top-color: #27ada6 !important; }
.woocommerce-message::before, .woocommerce-info::before { color: #27ada6 !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	border: 1px solid #ebeced; border-radius: 8px; padding: 10px 12px; font-family: inherit; font-size: 16px;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 0; border-bottom: 1px solid #ebeced; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { color: #ffba00; font-weight: 700; }
.wc-block-components-totals-item__value, .wc-block-components-product-price { color: #005e59; font-weight: 700; }
.pr-content .wp-block-woocommerce-cart, .pr-content .wp-block-woocommerce-checkout { font-size: 16px; }
.pr-content .wc-block-components-product-name { text-decoration: none; }

/* ---------- Responsive ---------- */
@media screen and (max-width: 1240px) {
	.pr-cards { gap: 20px; }
}
@media screen and (max-width: 800px) {
	.section--intro { height: auto; min-height: 0; max-height: none; padding-bottom: 110px; }
	.section--intro .intro { width: 100%; }
	.intro-animation { display: none; }
	.pr-cards { grid-template-columns: repeat(2, 1fr); }
	.pr-page { padding-top: 50px; }
	.pr-page__content { padding: 30px 0 60px; }
	.pr-page__title, .woocommerce .woocommerce-products-header__title { font-size: 30px; line-height: 36px; }
	.woocommerce div.product .product_title { font-size: 28px; line-height: 34px; }
	.pr-cart-count { background: #ffba00; color: #fff; }
	.intro__title { font-size: 40px; line-height: 46px; }
}
@media screen and (max-width: 600px) {
	.pr-cards { grid-template-columns: 1fr; }
	.pr-cta-spacer { height: 80px; }
}

/* =========================================================
   Product page (woocommerce/content-single-product.php)
   ========================================================= */
.pr-product .woocommerce-breadcrumb { margin-bottom: 30px; }
.pr-product__top { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 60px; align-items: start; }

/* Gallery */
.pr-gallery__main { border-radius: 24px; overflow: hidden; background: #eef3f2; aspect-ratio: 1 / 1; }
.pr-gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pr-gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-gallery__img--empty { background: linear-gradient(60deg, #27ada6, #40fdab); }
.pr-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 14px; }
.pr-gallery__thumb { padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #eef3f2; cursor: pointer; aspect-ratio: 1 / 1; transition: border-color .2s; }
.pr-gallery__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-gallery__thumb:hover { border-color: #b7dcd9; }
.pr-gallery__thumb.is-active { border-color: #27ada6; }

/* Buy box */
.pr-buy { position: sticky; top: 100px; }
.pr-buy__eyebrow { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: #27ada6; font-weight: 700; margin-bottom: 8px; }
.pr-buy__eyebrow a { color: inherit; }
.pr-buy__title { font-size: 46px; line-height: 50px; font-weight: 700; color: #000; margin: 0 0 14px; }
.pr-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 18px; }
.pr-buy__price .price { font-size: 30px; font-weight: 700; color: #005e59; }
.pr-buy__price .price del { font-size: 20px; opacity: .5; font-weight: 400; }
.pr-buy__format { font-size: 14px; color: #838383; }
.pr-buy__intro { font-size: 17px; line-height: 27px; color: #4a4a4a; margin-bottom: 26px; }
.pr-buy__intro p { margin: 0 0 .6em; }

.pr-width { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.pr-width__label { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; color: #000; padding: 0; margin-bottom: 4px; }
.pr-width__step { width: 26px; height: 26px; line-height: 26px; border-radius: 50%; background: #ffba00; color: #fff; font-size: 14px; text-align: center; }
.pr-width__hint { font-size: 14px; line-height: 20px; color: #838383; margin: 0 0 14px 36px; }

.pr-chips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pr-chip { position: relative; display: block; cursor: pointer; }
.pr-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pr-chip span { display: block; padding: 13px 4px; line-height: 26px; border: 2px solid #e3ecea; border-radius: 14px; text-align: center; font-size: 19px; font-weight: 700; color: #1d1d1d; background: #fff; transition: all .15s ease; }
.pr-chip span small { font-size: 12px; font-weight: 400; color: #838383; }
.pr-chip:hover span { border-color: #b7dcd9; }
.pr-chip input:focus-visible + span { outline: 3px solid rgba(39, 173, 166, .35); outline-offset: 2px; }
.pr-chip input:checked + span { border-color: #27ada6; background: #eaf7f6; color: #005e59; }
.pr-chip input:checked + span small { color: #27ada6; }
.pr-chip--custom span { font-size: 15px; line-height: 26px; }

.pr-custom { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 16px; margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: #f7f8f9; }
.pr-custom[hidden] { display: none; }
.pr-custom__range { width: 100%; accent-color: #27ada6; }
.pr-custom__num { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #005e59; }
.pr-custom__num input { width: 74px; padding: 8px 10px; border: 2px solid #27ada6; border-radius: 10px; font: inherit; font-size: 18px; text-align: center; color: #005e59; }
.pr-custom__range-note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: #838383; }
.pr-custom.is-invalid .pr-custom__range-note { color: #c0392b; font-weight: 700; }
.pr-custom.is-invalid .pr-custom__num input { border-color: #c0392b; color: #c0392b; }

.pr-preview { display: flex; align-items: center; gap: 18px; padding: 14px 18px; margin-bottom: 18px; border-radius: 16px; border: 1px dashed #cfe3e1; }
.pr-preview__svg { width: 64px; height: auto; flex: 0 0 auto; }
.pr-door { fill: #fff; stroke: #005e59; stroke-width: 1.4; }
.pr-door__handle { fill: #005e59; }
.pr-floor { stroke: #005e59; stroke-width: 1.4; }
.pr-poster { fill: rgba(39, 173, 166, .22); stroke: #27ada6; stroke-width: 1.2; }
.pr-preview__size { font-size: 17px; color: #838383; }
.pr-preview__size.is-set { color: #1d1d1d; }
.pr-preview__size b { color: #005e59; font-size: 20px; }
.pr-preview__note { font-size: 13px; color: #a8a8a8; margin-top: 2px; }

.pr-form .pr-buy__btn { display: flex !important; justify-content: space-between; align-items: center; width: 100%; padding: 18px 28px !important; font-size: 16px !important; }
.pr-buy__btn-price { font-weight: 700; }
.pr-buy__btn-price .woocommerce-Price-amount { color: inherit; }
.pr-form__error { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #fff3f0; color: #c0392b; font-size: 15px; }
.pr-form__error[hidden] { display: none; }
.pr-soon { padding: 14px 18px; border-radius: 14px; background: #f7f8f9; font-weight: 700; }

.pr-perks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.pr-perks li { position: relative; padding-left: 30px; font-size: 15px; color: #4a4a4a; }
.pr-perks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
	background: #eaf7f6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2327ada6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* Details + FAQ */
.pr-info { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; margin-top: 80px; }
.pr-info__block { background: #f7f8f9; border-radius: 25px; padding: 36px 40px; }
.pr-info__block h2, .pr-faq h2 { font-size: 26px !important; line-height: 32px !important; margin: 0 0 16px !important; color: #000; }
.pr-info__text p { color: #4a4a4a; margin: 0 0 1em !important; }
.pr-info__text p:last-child { margin-bottom: 0 !important; }
.pr-info__steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.pr-info__steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; color: #4a4a4a; line-height: 25px; }
.pr-info__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: #27ada6; color: #fff; text-align: center; font-weight: 700; font-size: 14px; }
.pr-faq { margin-top: 60px; max-width: 860px; }
.pr-faq details { border-bottom: 1px solid #ebeced; }
.pr-faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-size: 18px; font-weight: 700; color: #1d1d1d; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 26px; font-weight: 300; color: #27ada6; transition: transform .2s; }
.pr-faq details[open] summary::after { transform: rotate(45deg); }
.pr-faq details p { margin: 0 0 18px; color: #4a4a4a; line-height: 26px; }
.pr-product .related { margin-top: 70px; }

/* Lightbox */
.pr-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10, 30, 28, .88); display: flex; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
.pr-lightbox[hidden] { display: none; }
.pr-lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.pr-lightbox__close { position: absolute; top: 14px; right: 20px; border: 0; background: none; color: #fff; font-size: 44px; line-height: 1; cursor: pointer; }
body.pr-noscroll { overflow: hidden; }

@media screen and (max-width: 1000px) {
	.pr-product__top { grid-template-columns: 1fr; gap: 34px; }
	.pr-buy { position: static; }
	.pr-info { grid-template-columns: 1fr; }
}
@media screen and (max-width: 600px) {
	.pr-buy__title { font-size: 34px; line-height: 38px; }
	.pr-chips { grid-template-columns: repeat(3, 1fr); }
	.pr-info__block { padding: 26px 22px; }
	.pr-gallery__thumbs { gap: 8px; }
}
