/*
Theme Name:   Hartreach
Description:  A small, fast theme for the Hartreach learning site. No page builder. Built for LearnLogix and WooCommerce.
Version:      0.11.1
Requires at least: 6.0
Requires PHP: 7.4
Author:       WEB Logix
License:      GPL-2.0-or-later
Text Domain:  hartreach
*/

/* ------------------------------------------------------------------
   Fonts: Inter, served from this theme (no Google request).
------------------------------------------------------------------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin-700.woff2") format("woff2"); }

/* ------------------------------------------------------------------
   Design tokens, taken from the LearnLogix designs.
   Buttons are #F93943 everywhere. Teal stays for links, progress and ticks.
------------------------------------------------------------------- */
:root {
	--hr-ink: #14213d;
	--hr-muted: #4a5568;
	--hr-bg: #f5f7fa;
	--hr-card: #ffffff;
	--hr-line: #e1e6ee;
	--hr-field: #8a94a6;
	--hr-accent: #0f766e;
	--hr-accent-dark: #115e59;
	--hr-tint: #e8f3f1;
	--hr-button: #f93943;
	--hr-button-dark: #d92d36;
	--hr-radius: 12px;
	--hr-radius-sm: 8px;
	--hr-wide: 1120px;
	--hr-narrow: 760px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0;
	background: var(--hr-bg);
	color: var(--hr-ink);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

img, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: var(--hr-accent); }
a:hover { color: var(--hr-accent-dark); }

h1, h2, h3, h4 { margin: 0 0 12px; line-height: 1.25; color: var(--hr-ink); }
h1 { font-size: 32px; font-weight: 700; }
h2 { font-size: 22px; font-weight: 600; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 16px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 100;
	padding: 10px 16px; background: #fff; color: var(--hr-ink); border-radius: var(--hr-radius-sm);
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 2px; }

/* ------------------------------------------------------------------
   Header and footer
------------------------------------------------------------------- */
main { flex: 1 0 auto; width: 100%; }
.container { width: 100%; max-width: var(--hr-wide); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--hr-narrow); }
.container-lesson { max-width: 1160px; }

.site-header { background: #ffffff; border-bottom: 1px solid var(--hr-line); }
.site-header .container {
	display: flex; align-items: center; justify-content: space-between;
	flex-wrap: wrap; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px;
}
.site-brand { display: flex; align-items: center; font-weight: 700; font-size: 18px; color: var(--hr-ink); text-decoration: none; }
.site-brand img { display: block; height: 52px; max-height: 52px; width: auto; max-width: 100%; }
.site-brand:hover { color: var(--hr-ink); }

.main-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.main-nav a {
	display: inline-flex; align-items: center; min-height: 44px;
	color: var(--hr-ink); text-decoration: none;
}
.main-nav a:hover { color: var(--hr-accent); text-decoration: underline; text-underline-offset: 6px; }
.main-nav .current-menu-item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .is-current > a { color: var(--hr-accent); font-weight: 600; }

.site-footer { margin-top: 64px; background: var(--hr-ink); color: #c9d1de; font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: #e8ecf3; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover { color: #ffffff; }

.site-main { padding-top: 40px; }
.page-header { margin-bottom: 28px; }
.page-header h1 { margin-bottom: 4px; }
.page-lead { margin: 0; color: var(--hr-muted); font-size: 16px; }

.entry-content > *:last-child { margin-bottom: 0; }
.entry-content ul, .entry-content ol { padding-left: 24px; }
.entry-content img { border-radius: var(--hr-radius-sm); }
.entry-title a { color: inherit; text-decoration: none; }

.post-card { background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); padding: 24px; margin-bottom: 20px; }
.post-card h2 { margin-bottom: 8px; }

.pagination { display: flex; gap: 12px; margin-top: 24px; }

/* ------------------------------------------------------------------
   Buttons: every primary button on the site is #F93943.
------------------------------------------------------------------- */
.btn,
.button,
button[type="submit"],
input[type="submit"],
.wp-element-button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; padding: 10px 24px;
	background: var(--hr-button); border: 2px solid var(--hr-button); border-radius: var(--hr-radius-sm);
	color: #ffffff; font: inherit; font-size: 16px; font-weight: 600; line-height: 1.3;
	text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover, .btn:focus-visible,
.button:hover, .button:focus-visible,
button[type="submit"]:hover, input[type="submit"]:hover,
.wp-element-button:hover, .wp-block-button__link:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--hr-button-dark); border-color: var(--hr-button-dark); color: #ffffff;
}
.btn:focus-visible, .button:focus-visible, button[type="submit"]:focus-visible { outline-color: var(--hr-ink); }
.button:disabled, button:disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled {
	opacity: 0.55; cursor: not-allowed;
}
.btn-outline {
	background: #ffffff; border-color: #c5cddb; color: var(--hr-ink);
}
.btn-outline:hover, .btn-outline:focus-visible { background: #ffffff; border-color: var(--hr-button); color: var(--hr-button-dark); }

/* ------------------------------------------------------------------
   Forms
------------------------------------------------------------------- */
label { display: inline-block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"],
input[type="number"], input[type="search"], select, textarea {
	width: 100%; min-height: 44px; padding: 10px 12px;
	background: #ffffff; border: 1px solid var(--hr-field); border-radius: var(--hr-radius-sm);
	color: var(--hr-ink); font: inherit; font-size: 16px;
}
textarea { min-height: 120px; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--hr-accent); }
.woocommerce form .form-row { margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label { display: block; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 48.5%; }
.woocommerce form .form-row-first { float: left; }
.woocommerce form .form-row-last { float: right; }
.woocommerce form .form-row-wide, .woocommerce form .clear { clear: both; }
.woocommerce form .woocommerce-form__label-for-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.woocommerce form .password-input { display: block; position: relative; }
.woocommerce form .show-password-input { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; width: 28px; height: 28px; cursor: pointer; }
.woocommerce form .required { color: var(--hr-button-dark); text-decoration: none; }
.woocommerce form em { font-size: 14px; color: var(--hr-muted); }

/* ------------------------------------------------------------------
   WooCommerce: notices
------------------------------------------------------------------- */
.woocommerce-notices-wrapper { margin-bottom: 20px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
	margin: 0 0 16px; padding: 14px 20px; list-style: none;
	background: var(--hr-card); border: 1px solid var(--hr-line); border-left: 4px solid var(--hr-accent); border-radius: var(--hr-radius-sm);
}
.woocommerce-error { border-left-color: var(--hr-button-dark); display: block; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }

/* ------------------------------------------------------------------
   Cards: login, register, lost password, account forms
------------------------------------------------------------------- */
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword,
.woocommerce-EditAccountForm, .woocommerce-address-fields, .lost_reset_password {
	background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); padding: 24px;
}
.woocommerce-form-login::after, .woocommerce-form-register::after, .woocommerce-EditAccountForm::after { content: ""; display: table; clear: both; }
.woocommerce-form-login h2, .woocommerce-form-register h2, #customer_login h2 { font-size: 20px; }
.woocommerce-form-login__rememberme { display: flex !important; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 500; }
.woocommerce div.product div.images { opacity: 1 !important; }
.woocommerce-LostPassword { margin: 16px 0 0; }
.woocommerce-EditAccountForm fieldset { margin: 24px 0 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--hr-line); }
.woocommerce-EditAccountForm legend { padding: 0; margin-bottom: 12px; font-weight: 600; font-size: 18px; }
.woocommerce-EditAccountForm .woocommerce-Button { margin-top: 8px; }

#customer_login, .woocommerce .u-columns {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; align-items: start;
}
#customer_login .u-column1, #customer_login .u-column2 { width: auto; float: none; }
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }

/* ------------------------------------------------------------------
   My account: side navigation and content
------------------------------------------------------------------- */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
	display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start;
}
.woocommerce-MyAccount-navigation {
	flex: 1 1 220px; max-width: 260px;
	background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); overflow: hidden;
}
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--hr-line); }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation a {
	display: flex; align-items: center; min-height: 44px; padding: 12px 20px;
	color: var(--hr-ink); text-decoration: none;
}
.woocommerce-MyAccount-navigation a:hover { background: var(--hr-bg); color: var(--hr-accent); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--hr-tint); color: var(--hr-accent); font-weight: 600; }
.woocommerce-MyAccount-content { flex: 999 1 520px; min-width: 0; }
.woocommerce-MyAccount-content > h2, .hr-section-title { font-size: 20px; margin-bottom: 12px; }

/* Tables (orders) */
.woocommerce table.shop_table, .woocommerce-orders-table {
	width: 100%; border-collapse: separate; border-spacing: 0; overflow: hidden;
	background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); font-size: 15px;
}
.woocommerce table.shop_table th, .woocommerce table.shop_table td {
	padding: 12px 16px; text-align: left; vertical-align: middle; border-top: 1px solid var(--hr-line);
}
.woocommerce table.shop_table thead th { border-top: 0; color: var(--hr-muted); font-size: 13px; font-weight: 600; background: var(--hr-card); }
.woocommerce table.shop_table td a:not(.button) { font-weight: 500; }
.woocommerce-orders-table .button { min-height: 36px; padding: 6px 14px; font-size: 14px; }

/* ------------------------------------------------------------------
   Shop (Courses) and sales page
------------------------------------------------------------------- */
.woocommerce ul.products {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
	margin: 0; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	display: flex; flex-direction: column; width: auto; margin: 0; float: none; overflow: hidden;
	background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius);
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: block; color: inherit; text-decoration: none; }
.woocommerce ul.products li.product img { display: block; width: 100%; height: 160px; object-fit: cover; margin: 0 0 16px; background: #d9e6e4; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { margin: 0; padding: 0 20px; font-size: 20px; font-weight: 600; }
.woocommerce ul.products li.product .price { display: block; margin: 8px 0 0; padding: 0 20px; color: var(--hr-muted); font-weight: 500; }
.woocommerce ul.products li.product .button { margin: 16px 20px 20px; align-self: flex-start; }
.woocommerce ul.products li.product .added_to_cart { margin: 0 20px 20px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { display: none; }

.woocommerce div.product { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.woocommerce div.product > * { flex: 1 1 100%; }
.woocommerce div.product div.images { order: 2; flex: 1 1 360px; min-height: 240px; margin: 0; float: none; width: auto; }
.woocommerce div.product div.images img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; border-radius: var(--hr-radius); background: #d9e6e4; }
.woocommerce div.product div.summary { order: 1; flex: 1 1 420px; float: none; width: auto; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.woocommerce div.product .product_title { font-size: 36px; margin-bottom: 8px; }
.woocommerce div.product p.price { margin: 0 0 12px; font-size: 24px; font-weight: 700; color: var(--hr-ink); }
.woocommerce div.product .woocommerce-product-details__short-description { font-size: 17px; color: var(--hr-muted); }
.woocommerce div.product form.cart { margin: 8px 0 0; }
.woocommerce div.product form.cart .button { min-height: 48px; padding: 12px 28px; }
.woocommerce div.product .quantity { display: none; }
.woocommerce div.product .product_meta { display: none; }
.woocommerce div.product .woocommerce-tabs { order: 3; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: none; }
.woocommerce div.product .woocommerce-tabs .panel { margin: 0; padding: 24px; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); }
.woocommerce div.product .woocommerce-tabs .panel > h2 { font-size: 22px; }
.woocommerce div.product .course-outline { order: 4; }

.owned-note { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 8px; }
.owned-note p { margin: 0; color: var(--hr-muted); }

.course-outline h2 { margin-bottom: 8px; }
.course-outline ol { margin: 0; padding: 0; list-style: none; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); overflow: hidden; counter-reset: lesson; }
.course-outline li { display: flex; align-items: center; gap: 16px; min-height: 44px; padding: 14px 20px; border-bottom: 1px solid var(--hr-line); counter-increment: lesson; }
.course-outline li:last-child { border-bottom: 0; }
.course-outline li::before { content: counter(lesson) "."; color: var(--hr-muted); min-width: 1.5em; }

/* ------------------------------------------------------------------
   Cart and checkout (classic and block versions)
------------------------------------------------------------------- */
.woocommerce-cart-form, .cart-collaterals .cart_totals, #order_review, .woocommerce-checkout #customer_details,
.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar-layout .wc-block-components-sidebar {
	background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius);
}
.woocommerce-cart-form, .cart-collaterals .cart_totals, #order_review, .woocommerce-checkout #customer_details { padding: 24px; margin-bottom: 24px; }
.wc-block-components-sidebar-layout .wc-block-components-main { padding: 24px !important; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { padding: 24px !important; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout h3, #order_review_heading { font-size: 20px; }
.woocommerce #payment { background: transparent; border-radius: 0; }
.woocommerce #payment ul.payment_methods { padding: 0 0 12px; border-bottom: 1px solid var(--hr-line); list-style: none; }
.woocommerce #payment div.payment_box { background: var(--hr-bg); border-radius: var(--hr-radius-sm); color: var(--hr-ink); }
.woocommerce #payment div.payment_box::before { display: none; }
.woocommerce #payment #place_order { width: 100%; min-height: 48px; margin-top: 12px; }
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { min-height: 48px; }
.wc-block-components-product-name { color: var(--hr-ink); font-weight: 600; }
.woocommerce-cart table.cart img { width: 64px; border-radius: 8px; }
.woocommerce a.remove { color: var(--hr-button-dark) !important; }
.woocommerce-checkout .woocommerce-form-coupon-toggle { margin-bottom: 16px; }

/* ------------------------------------------------------------------
   Home
------------------------------------------------------------------- */
.btn.btn-outline { background: transparent; color: var(--hr-ink); border: 2px solid var(--hr-ink); }
.btn.btn-outline:hover { background: var(--hr-ink); color: #fff; border-color: var(--hr-ink); }

.home-hero { background: #fff; border-bottom: 1px solid var(--hr-line); padding: 64px 0; }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.home-hero h1 { font-size: 46px; line-height: 1.12; margin: 0 0 20px; max-width: 14em; }
.home-intro p { font-size: 17px; line-height: 1.65; color: var(--hr-muted); margin: 0 0 12px; max-width: 34em; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-hero-media { min-width: 0; }
.home-hero-panel { display: flex; align-items: center; justify-content: center; min-height: 340px; background: #dbe5df; border-radius: var(--hr-radius); }
.home-hero-panel img { width: 150px; height: auto; }
.home-hero-photo { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: var(--hr-radius); }

.home-heading { font-size: 30px; margin: 0 0 8px; }
.home-sub { margin: 0 0 28px; color: var(--hr-muted); font-size: 16px; }
.home-courses { padding: 64px 0 8px; }
.course-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.course-card { display: flex; flex-direction: column; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); overflow: hidden; }
.course-card-image { display: block; background: #d9e6e4; }
.course-card-image img { display: block; width: 100%; height: 180px; object-fit: cover; }
.course-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.course-card-body h3 { font-size: 20px; margin: 0; }
.course-card-body h3 a { color: var(--hr-ink); text-decoration: none; }
.course-card-body p { margin: 0; color: var(--hr-muted); font-size: 15px; line-height: 1.55; }
.course-card-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 12px; }
.course-card-price { font-size: 20px; font-weight: 700; }
.course-cards.is-single { display: block; }
.course-cards.is-single .course-card { flex-direction: row; }
.course-cards.is-single .course-card-image { flex: 0 0 44%; }
.course-cards.is-single .course-card-image img { height: 100%; min-height: 300px; }
.course-cards.is-single .course-card-body { justify-content: center; padding: 32px; }
.course-cards.is-single .course-card-body h3 { font-size: 26px; }

.home-steps { padding: 56px 0 8px; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); padding: 24px; }
.steps h3 { font-size: 18px; margin: 14px 0 8px; }
.steps p { margin: 0; color: var(--hr-muted); font-size: 15px; line-height: 1.6; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--hr-accent-tint, #e8f3f1); color: var(--hr-accent); font-weight: 700; }

.home-cta { margin-top: 64px; background: var(--hr-accent); color: #fff; padding: 48px 0; }
.home-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.home-cta h2 { color: #fff; font-size: 28px; margin: 0 0 6px; }
.home-cta p { margin: 0; color: #e6f2f0; font-size: 16px; }

/* Course facts badges (shop, product page, cards) */
.ll-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; padding: 0; list-style: none; }
.ll-badges li { margin: 0; padding: 3px 11px; font-size: 13px; line-height: 1.5; color: var(--hr-ink); background: #eef1e6; border: 1px solid #dde3d2; border-radius: 999px; }

/* ------------------------------------------------------------------
   Lesson page uses the wide container; titles come from the plugin
------------------------------------------------------------------- */
.single-ll_course .site-main, .single-ll_lesson .site-main, .hr-plugin-page .site-main { padding-top: 32px; }

@media (max-width: 782px) {
	h1 { font-size: 28px; }
	.container { padding: 0 16px; }
	.site-main { padding-top: 28px; }
	.home-hero { padding: 36px 0; }
	.home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
	.home-hero h1 { font-size: 32px; }
	.home-hero-panel, .home-hero-photo { min-height: 200px; height: 200px; }
	.home-heading { font-size: 26px; }
	.course-cards.is-single .course-card { flex-direction: column; }
	.course-cards.is-single .course-card-image { flex: none; }
	.course-cards.is-single .course-card-image img { height: 200px; min-height: 0; }
	.course-cards.is-single .course-card-body { padding: 22px; }
	.steps { grid-template-columns: 1fr; }
	.home-courses { padding-top: 44px; }
	.woocommerce div.product .product_title { font-size: 30px; }
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { float: none; width: 100%; }
	.woocommerce-MyAccount-navigation { max-width: none; flex-basis: 100%; }
	.woocommerce table.shop_table_responsive tr { display: block; }
}

.single-ll_lesson .site-header .container, .single-ll_lesson .site-footer .container { max-width: 1160px; }

/* Back links above course and lesson pages */
.back-link { margin: 0 0 20px; font-size: 14px; }
.back-link a { text-decoration: none; }
.back-link a:hover { text-decoration: underline; }

/* Block checkout fields in the same shape as the rest of the site */
.wc-block-components-text-input input[type="text"],
.wc-block-components-text-input input[type="email"],
.wc-block-components-text-input input[type="tel"],
.wc-block-components-text-input input[type="password"],
.wc-block-components-combobox .components-combobox-control__suggestions-container,
.wc-blocks-components-select .wc-blocks-components-select__container,
.wc-block-components-textarea {
	border-radius: var(--hr-radius-sm) !important;
	border-color: var(--hr-field) !important;
}
.wc-block-components-radio-control-accordion-option,
.wc-block-components-radio-control__option-checked { border-radius: var(--hr-radius-sm); }

/* Sales page: one main picture, however many the product has */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper > *:not(:first-child),
.woocommerce div.product div.images .flex-control-thumbs { display: none; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
	display: block; width: 100%; height: auto; min-height: 0; aspect-ratio: 3 / 2; object-fit: cover;
}



/* ------------------------------------------------------------------
   Support page and Gravity Forms
------------------------------------------------------------------- */
.page-hero { background: #eef1e6; border-bottom: 1px solid #dde3d2; padding: 40px 0; }
.page-hero h1 { margin: 0 0 8px; }
.support-page { padding-top: 0; }
.support-page > .container { padding-top: 40px; }
.support-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.support-form { background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); padding: 32px; box-shadow: 0 6px 24px rgba(20, 33, 61, .06); }
.support-contact h2 { font-size: 24px; margin: 0 0 12px; }
.support-contact p { color: var(--hr-muted); line-height: 1.65; }
.support-contact ul { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 10px; }
.support-contact li { background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius-sm); padding: 12px 16px; }
.support-contact li a, .support-contact p a { color: var(--hr-accent); font-weight: 600; }
.support-single { max-width: 640px; }

.gform_wrapper { margin: 0; }
.gform_wrapper .gform_title { font-size: 24px; line-height: 1.2; margin: 0 0 20px; }
.gform_wrapper .gform_description { color: var(--hr-muted); margin: 0 0 16px; }
.gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 16px; list-style: none; margin: 0; padding: 0; }
.gform_wrapper .gfield { grid-column: 1 / -1; margin: 0; padding: 0; min-width: 0; }
.gform_wrapper .gfield--width-half { grid-column: span 6; }
.gform_wrapper .gfield_label,
.gform_wrapper legend.gfield_label { display: block; font-size: 15px; font-weight: 600; color: var(--hr-ink); margin: 0 0 6px; padding: 0; }
.gform_wrapper .gfield_required { color: var(--hr-muted); font-weight: 400; margin-left: 4px; font-size: 13px; }
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container input[type="tel"],
.gform_wrapper .ginput_container input[type="url"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container select,
.gform_wrapper .ginput_container textarea {
	display: block; width: 100%; max-width: 100%; min-height: 46px; padding: 11px 14px;
	font: inherit; font-size: 16px; color: var(--hr-ink); background: #fff;
	border: 1px solid var(--hr-field); border-radius: var(--hr-radius-sm); box-shadow: none; inline-size: 100%;
}
.gform_wrapper .ginput_container textarea { min-height: 140px; resize: vertical; }
.gform_wrapper .ginput_container input:focus-visible,
.gform_wrapper .ginput_container select:focus-visible,
.gform_wrapper .ginput_container textarea:focus-visible { outline: 3px solid var(--hr-accent); outline-offset: 1px; border-color: var(--hr-accent); }
.gform_wrapper .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; }
.gform_wrapper .ginput_container_consent input[type="checkbox"] { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hr-accent); }
.gform_wrapper .ginput_container_consent label { font-size: 15px; font-weight: 400; color: var(--hr-muted); margin: 0; }
.gform_wrapper .gfield--type-consent > .gfield_label { display: none; }
.gform_wrapper .gform_footer, .gform_wrapper .gform_page_footer { margin: 24px 0 0; padding: 0; }
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button,
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper .gform_button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 28px;
	font: inherit; font-weight: 600; font-size: 16px; color: #fff; cursor: pointer;
	background: var(--hr-button); border: 2px solid var(--hr-button); border-radius: var(--hr-radius-sm); box-shadow: none; width: auto;
}
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_footer button:hover,
.gform_wrapper .gform_button:hover { background: var(--hr-button-dark); border-color: var(--hr-button-dark); }
.gform_wrapper .gfield_description { font-size: 14px; color: var(--hr-muted); margin-top: 6px; }
.gform_wrapper .gform_validation_errors,
.gform_wrapper .validation_error { margin: 0 0 20px; padding: 12px 16px; border: 1px solid var(--hr-button-dark); border-left-width: 4px; border-radius: var(--hr-radius-sm); background: #fff5f5; color: #8a1b22; font-size: 15px; }
.gform_wrapper .gform_validation_errors h2 { font-size: 16px; margin: 0; color: inherit; }
.gform_wrapper .gfield_error input, .gform_wrapper .gfield_error textarea { border-color: var(--hr-button-dark); }
.gform_wrapper .gfield_validation_message, .gform_wrapper .validation_message { margin-top: 6px; font-size: 14px; color: #8a1b22; }
.gform_confirmation_message { padding: 16px 20px; border: 1px solid var(--hr-line); border-left: 4px solid var(--hr-accent); border-radius: var(--hr-radius-sm); background: #fff; font-size: 16px; }
.gform_wrapper .gform-loader { display: none; }
.gform_wrapper .hidden_label .gfield_label, .gform_wrapper .gform_validation_container { position: absolute; left: -9999px; }

/* Gravity Forms: one look with the checkout and sign-in forms. Doubled class names beat the plugin's own theme. */
body .gform_wrapper.gform_wrapper.gform_wrapper {
	--gf-color-primary: var(--hr-button); --gf-color-primary-darker: var(--hr-button-dark); --gf-color-primary-lighter: var(--hr-button);
	--gf-color-in-ctrl-primary: var(--hr-button); --gf-color-in-ctrl-primary-darker: var(--hr-button-dark);
	--gf-ctrl-border-color: var(--hr-field); --gf-ctrl-border-color-focus: var(--hr-accent); --gf-ctrl-radius: var(--hr-radius-sm);
	--gf-ctrl-size: 48px; --gf-ctrl-font-size: 16px; --gf-ctrl-color: var(--hr-ink); --gf-ctrl-bg-color: #fff;
	--gf-ctrl-label-color-primary: var(--hr-ink); --gf-ctrl-label-font-size-primary: 14px;
	--gf-radius: var(--hr-radius-sm); --gf-font-family-base: inherit;
	font-family: inherit; color: var(--hr-ink);
}
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_heading { margin: 0 0 20px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_title { font-size: 26px; margin: 0 0 8px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 16px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield { grid-column: 1 / -1; margin: 0; padding: 0; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield--width-half, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield.gfield--width-half { grid-column: span 6; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_label, body .gform_wrapper.gform_wrapper.gform_wrapper legend.gfield_label {
	display: block; margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--hr-ink);
}
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_required, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_required_text { margin-left: 4px; font-size: 13px; font-weight: 400; color: var(--hr-muted); font-style: normal; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_required_asterisk { color: var(--hr-button-dark); }
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input[type="text"],
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input[type="email"],
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input[type="tel"],
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input[type="url"],
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input[type="number"],
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input[type="password"],
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container select,
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container textarea {
	display: block; box-sizing: border-box; width: 100%; max-width: 100%; inline-size: 100%; min-height: 48px; margin: 0; padding: 11px 14px;
	background: #fff; border: 1px solid var(--hr-field); border-radius: var(--hr-radius-sm); box-shadow: none;
	color: var(--hr-ink); font: inherit; font-size: 16px; line-height: 1.4;
}
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container textarea { min-height: 150px; resize: vertical; }
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container select { appearance: auto; }
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input:focus, body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container select:focus, body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container textarea:focus {
	outline: 3px solid var(--hr-accent); outline-offset: 1px; border-color: var(--hr-accent); box-shadow: none;
}
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container input::placeholder, body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container textarea::placeholder { color: #8a93a3; }
/* Name, address and other multi-part fields: two columns, sub-labels small and quiet. */
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_complex, body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container.gform-grid-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_complex > span, body .gform_wrapper.gform_wrapper.gform_wrapper .gform-grid-col { display: block; width: auto; min-width: 0; padding: 0; margin: 0; flex: none; }
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_complex label, body .gform_wrapper.gform_wrapper.gform_wrapper .gform-field-label--type-sub, body .gform_wrapper.gform_wrapper.gform_wrapper .gform-field-label--type-sub {
	display: block; margin: 6px 0 0; font-size: 13px; font-weight: 400; color: var(--hr-muted);
}
/* Choices */
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_checkbox, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_radio { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gchoice { display: flex; align-items: center; gap: 10px; margin: 0; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gchoice label, body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container_consent label { margin: 0; font-size: 15px; font-weight: 400; color: var(--hr-ink); max-width: none; }
body .gform_wrapper.gform_wrapper.gform_wrapper input[type="checkbox"], body .gform_wrapper.gform_wrapper.gform_wrapper input[type="radio"] {
	flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; accent-color: var(--hr-accent); box-shadow: none;
}
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container_consent { display: flex; align-items: flex-start; gap: 10px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container_fileupload input[type="file"] { width: 100%; padding: 10px; background: #f7f9fc; border: 1px dashed var(--hr-field); border-radius: var(--hr-radius-sm); font-size: 15px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_description, body .gform_wrapper.gform_wrapper.gform_wrapper .instruction { margin: 6px 0 0; padding: 0; font-size: 14px; color: var(--hr-muted); }
/* Button: same as Sign in and Place order. */
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_footer, body .gform_wrapper.gform_wrapper.gform_wrapper .gform_page_footer { margin: 24px 0 0; padding: 0; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_footer input[type="submit"], body .gform_wrapper.gform_wrapper.gform_wrapper .gform_footer button,
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_page_footer input[type="submit"], body .gform_wrapper.gform_wrapper.gform_wrapper .gform_button, body .gform_wrapper.gform_wrapper.gform_wrapper input.button {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: auto; min-width: 200px; min-height: 52px; margin: 0; padding: 12px 32px;
	background: var(--hr-button) !important; border: 2px solid var(--hr-button) !important; border-radius: var(--hr-radius-sm); box-shadow: none;
	color: #fff !important; font: inherit; font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer;
}
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_footer input[type="submit"]:hover, body .gform_wrapper.gform_wrapper.gform_wrapper .gform_footer button:hover,
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_button:hover, body .gform_wrapper.gform_wrapper.gform_wrapper input.button:hover { background: var(--hr-button-dark) !important; border-color: var(--hr-button-dark) !important; color: #fff !important; }
/* Errors and thank-you */
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_validation_errors, body .gform_wrapper.gform_wrapper.gform_wrapper .validation_error {
	margin: 0 0 20px; padding: 14px 18px; background: #fff5f5; border: 1px solid #f0b9bc; border-left: 4px solid var(--hr-button-dark); border-radius: var(--hr-radius-sm); box-shadow: none; color: #8a1b22;
}
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_validation_errors > h2 { margin: 0; font-size: 16px; font-weight: 600; color: inherit; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_validation_errors > h2 .gform-icon { display: none; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gform_validation_errors ol { margin: 8px 0 0; padding-left: 20px; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error input, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error textarea, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error select { border-color: var(--hr-button-dark); }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error .gfield_label { color: var(--hr-ink); }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_validation_message, body .gform_wrapper.gform_wrapper.gform_wrapper .validation_message {
	margin: 6px 0 0; padding: 0; background: none; border: 0; font-size: 14px; font-weight: 500; color: #8a1b22;
}
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield--type-honeypot, body .gform_wrapper.gform_wrapper.gform_wrapper .gform_validation_container { display: none !important; }
.gform_confirmation_wrapper .gform_confirmation_message, .gform_confirmation_message { padding: 20px 22px; background: #eef6f5; border: 1px solid #cfe5e2; border-left: 4px solid var(--hr-accent); border-radius: var(--hr-radius-sm); color: var(--hr-ink); font-size: 16px; }
body .gform_wrapper.gform_wrapper.gform_wrapper fieldset.gfield { min-width: 0; margin: 0; padding: 0; border: 0; }
body .gform_wrapper.gform_wrapper.gform_wrapper legend.gfield_label { float: none; width: auto; }
.support-form { padding: 36px; }

@media (max-width: 600px) {
	body .gform_wrapper.gform_wrapper.gform_wrapper .gfield--width-half, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield.gfield--width-half { grid-column: 1 / -1; }
	body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_complex, body .gform_wrapper.gform_wrapper.gform_wrapper .ginput_container.gform-grid-row { grid-template-columns: 1fr; }
	body .gform_wrapper.gform_wrapper.gform_wrapper .gform_footer input[type="submit"], body .gform_wrapper.gform_wrapper.gform_wrapper .gform_button { width: 100%; }
	.support-form { padding: 24px 20px; }
}
@media (max-width: 782px) {
	.support-grid { grid-template-columns: 1fr; gap: 28px; }
	.support-form { padding: 22px; }
	.gform_wrapper .gfield--width-half { grid-column: 1 / -1; }
}

.home ~ .site-footer { margin-top: 0; }

/* ------------------------------------------------------------------
   Checkout: details left, sticky order and payment right
------------------------------------------------------------------- */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 16px; padding: 12px 16px; font-size: 15px; }
.hr-checkout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.hr-checkout-main { min-width: 0; }
.woocommerce-checkout #customer_details { padding: 0; background: transparent; border: 0; margin: 0; }
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 { margin: 0 0 20px; padding: 28px; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); }
.woocommerce-checkout #customer_details .col-2:not(:has(input, select, textarea)) { display: none; }
.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3 { margin: 0 0 20px; font-size: 20px; }
.woocommerce-checkout .woocommerce-account-fields { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--hr-line); }
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.woocommerce-checkout .woocommerce-account-fields p.create-account { margin-bottom: 12px; }
.woocommerce-checkout .woocommerce-account-fields .create-account .woocommerce-form__label { font-weight: 600; }
.hr-checkout-side { position: sticky; top: 24px; min-width: 0; }
.hr-summary-card { padding: 28px; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); box-shadow: 0 6px 24px rgba(20, 33, 61, .06); }
.hr-summary-card #order_review_heading { margin: 0 0 16px; font-size: 20px; }
.hr-summary-card #order_review { padding: 0; margin: 0; border: 0; background: transparent; }
.hr-summary-card table.shop_table { width: 100%; margin: 0 0 16px; border: 0; border-collapse: collapse; }
.hr-summary-card table.shop_table thead { display: none; }
.hr-summary-card table.shop_table th,
.hr-summary-card table.shop_table td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--hr-line); text-align: left; vertical-align: middle; }
.hr-summary-card table.shop_table td:last-child,
.hr-summary-card table.shop_table tfoot td { text-align: right; }
.hr-summary-card table.shop_table tfoot .order-total th,
.hr-summary-card table.shop_table tfoot .order-total td { padding-top: 16px; border-bottom: 0; font-size: 20px; font-weight: 700; color: var(--hr-ink); }
.hr-item { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.hr-item-img { flex: 0 0 64px; }
.hr-item-img img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.hr-item-name { min-width: 0; }
.hr-summary-card #payment { margin-top: 4px; }
.hr-summary-card #payment .form-row { padding: 0; margin: 0; }
.hr-summary-card #payment ul.payment_methods { padding: 0 0 12px; border-bottom: 0; }
.hr-summary-card #payment ul.payment_methods li { margin: 0 0 8px; padding: 12px 14px; border: 1px solid var(--hr-line); border-radius: var(--hr-radius-sm); }
.hr-summary-card #payment ul.payment_methods li img { max-height: 24px; margin-left: 8px; vertical-align: middle; }
.hr-summary-card #payment .woocommerce-privacy-policy-text,
.hr-summary-card #payment .woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--hr-muted); margin: 8px 0; }
.hr-summary-card #payment #place_order { float: none; display: block; width: 100%; min-height: 54px; margin-top: 12px; font-size: 17px; font-weight: 700; background: var(--hr-button); border-color: var(--hr-button); color: #fff; }
.hr-trust { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--hr-line); font-size: 14px; color: var(--hr-muted); }
.hr-trust ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.hr-trust li { position: relative; padding-left: 26px; }
.hr-trust li::before { content: ""; position: absolute; left: 0; top: .15em; width: 16px; height: 16px; border-radius: 50%; background: var(--hr-accent); }
.hr-trust li::after { content: ""; position: absolute; left: 5px; top: calc(.15em + 3px); width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hr-trust p { margin: 0; }
.hr-trust a { color: var(--hr-accent); }

/* ------------------------------------------------------------------
   Cart: course rows left, sticky totals right
------------------------------------------------------------------- */
.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; margin: 0; }
.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart .woocommerce-cart-form { margin: 0; padding: 8px 28px; }
.woocommerce-cart .cart-collaterals { width: 100%; float: none; position: sticky; top: 24px; }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; margin: 0; padding: 28px; box-shadow: 0 6px 24px rgba(20, 33, 61, .06); }
.woocommerce-cart .cart_totals h2 { margin: 0 0 16px; font-size: 20px; }
.woocommerce-cart table.cart, .woocommerce-cart .cart_totals table { width: 100%; border: 0; border-collapse: collapse; }
.woocommerce-cart table.cart thead { display: none; }
.woocommerce-cart table.cart td { padding: 20px 8px; border: 0; border-bottom: 1px solid var(--hr-line); vertical-align: middle; }
.woocommerce-cart table.cart td.product-quantity,
.woocommerce-cart table.cart td.product-subtotal { display: none; }
.woocommerce-cart table.cart td.product-remove { width: 36px; padding-left: 0; }
.woocommerce-cart table.cart td.product-thumbnail { width: 92px; }
.woocommerce-cart table.cart td.product-thumbnail img { display: block; width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.woocommerce-cart table.cart td.product-name a { font-weight: 600; font-size: 17px; color: var(--hr-ink); text-decoration: none; }
.woocommerce-cart table.cart td.product-price { text-align: right; font-weight: 700; color: var(--hr-ink); }
.woocommerce-cart table.cart td.actions { padding: 16px 0 12px; border-bottom: 0; text-align: left; }
.woocommerce-cart td.actions button[name="update_cart"] { display: none; }
.woocommerce-cart .coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce-cart .coupon.is-collapsed { display: none; }
.woocommerce-cart .coupon label { display: none; }
.woocommerce-cart .coupon input.input-text { flex: 1; min-width: 160px; }
.hr-coupon-toggle { font: inherit; font-weight: 600; padding: 0; background: none; border: 0; color: var(--hr-accent); font-weight: 600; cursor: pointer; text-decoration: underline; }
.woocommerce-cart .cart_totals th, .woocommerce-cart .cart_totals td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--hr-line); text-align: left; }
.woocommerce-cart .cart_totals td { text-align: right; }
.woocommerce-cart .cart_totals .order-total th, .woocommerce-cart .cart_totals .order-total td { border-bottom: 0; padding-top: 16px; font-size: 20px; font-weight: 700; }
.woocommerce-cart .wc-proceed-to-checkout { padding: 8px 0 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { display: block; width: 100%; box-sizing: border-box; margin: 0; padding: 16px; min-height: 54px; text-align: center; font-size: 17px; font-weight: 700; background: var(--hr-button); color: #fff; border-radius: var(--hr-radius-sm); }
.hr-continue { display: block; margin-top: 14px; text-align: center; color: var(--hr-accent); font-weight: 600; }
.hr-cart-secure { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--hr-muted); }
.woocommerce-cart .cart-empty { grid-column: 1 / -1; }

@media (max-width: 860px) {
	.hr-checkout, .woocommerce-cart .woocommerce:has(.woocommerce-cart-form) { grid-template-columns: 1fr; gap: 20px; }
	.hr-checkout-side, .woocommerce-cart .cart-collaterals { position: static; }
	.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2, .hr-summary-card { padding: 20px; }
	.woocommerce-cart table.cart td.product-price { display: none; }
}
.hr-account-note { margin: 0; padding: 12px 14px; background: #eef6f5; border-radius: var(--hr-radius-sm); font-size: 14px; color: var(--hr-ink); }
.woocommerce-checkout .woocommerce-account-fields:not(:has(*)) { display: none; }
.woocommerce-cart .cart_totals table.shop_table { display: table; width: 100%; table-layout: auto; }
.woocommerce-cart .cart_totals table.shop_table tr { display: table-row; }
.woocommerce-cart .cart_totals table.shop_table th, .woocommerce-cart .cart_totals table.shop_table td { display: table-cell; }
.woocommerce-cart .cart_totals table.shop_table td::before { display: none; }

/* ------------------------------------------------------------------
   Sign in and password reset
------------------------------------------------------------------- */
body.woocommerce-account:not(.logged-in) .entry-title { display: none; }
.hr-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; max-width: 980px; margin: 24px auto 40px; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 40px rgba(20, 33, 61, .08); }
.hr-auth-main { display: flex; align-items: center; padding: 48px; }
.hr-auth-card { width: 100%; }
.hr-auth-card h2 { margin: 0 0 8px; font-size: 28px; }
.hr-auth-sub { margin: 0 0 24px; color: var(--hr-muted); }
.hr-auth .form-row { float: none; width: 100%; margin: 0 0 18px; }
.hr-auth label { display: block; margin-bottom: 6px; font-weight: 600; }
.hr-auth input.input-text { width: 100%; box-sizing: border-box; min-height: 48px; }
.hr-pass { position: relative; display: block; }
.hr-pass input { padding-right: 72px; }
.hr-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 6px 10px; background: none; border: 0; color: var(--hr-accent); font: inherit; font-weight: 600; cursor: pointer; }
.hr-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 22px; }
.hr-auth-row label { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 500; }
.hr-auth-row a, .hr-auth-foot a { color: var(--hr-accent); font-weight: 600; }
.hr-auth .hr-auth-submit { display: block; width: 100%; min-height: 52px; font-size: 16px; font-weight: 700; background: var(--hr-button); border-color: var(--hr-button); color: #fff; }
.hr-auth-foot { margin: 20px 0 0; color: var(--hr-muted); font-size: 15px; }
.hr-auth-foot:empty { display: none; }
.hr-auth-register { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hr-line); }
.hr-auth-register summary { cursor: pointer; color: var(--hr-accent); font-weight: 600; margin-bottom: 16px; }
.hr-auth-done { text-align: center; }
.hr-auth-mark { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 0 16px; border-radius: 50%; background: var(--hr-accent); color: #fff; font-size: 28px; font-weight: 700; }
.hr-auth-side { display: flex; flex-direction: column; justify-content: center; padding: 48px; background: var(--hr-ink); color: #e6ebf3; }
.hr-auth-side h2 { margin: 0 0 12px; color: #fff; font-size: 26px; }
.hr-auth-side p { margin: 0 0 20px; color: #c3cbd9; }
.hr-auth-side ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 12px; }
.hr-auth-side li { position: relative; padding-left: 30px; }
.hr-auth-side li::before { content: ""; position: absolute; left: 0; top: .1em; width: 18px; height: 18px; border-radius: 50%; background: var(--hr-accent); }
.hr-auth-side li::after { content: ""; position: absolute; left: 6px; top: calc(.1em + 3px); width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.hr-auth-side .hr-auth-help { margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); }
.hr-auth-side a { color: #fff; font-weight: 600; text-decoration: underline; }
@media (max-width: 800px) {
	.hr-auth { grid-template-columns: 1fr; min-height: 0; }
	.hr-auth-main, .hr-auth-side { padding: 28px 22px; }
}
.hr-auth form.woocommerce-form, .hr-auth form.lost_reset_password, .hr-auth form.woocommerce-ResetPassword { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error .ginput_container input, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error .ginput_container textarea, body .gform_wrapper.gform_wrapper.gform_wrapper .gfield_error .ginput_container select { border-color: var(--hr-button-dark); }

/* Home: about, FAQ. Footer contact. Rating on cards. */
.home-about { padding: 56px 0 8px; }
.about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.about-card { padding: 28px; background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius); }
.about-card h3 { margin: 0 0 14px; font-size: 20px; }
.about-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.about-card li { position: relative; padding-left: 28px; color: var(--hr-muted); line-height: 1.55; }
.about-card li::before { content: ""; position: absolute; left: 0; top: .2em; width: 16px; height: 16px; border-radius: 50%; background: var(--hr-accent); }
.about-card li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 3px); width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.home-faq { padding: 56px 0 8px; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-item { background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius-sm); }
.faq-item summary { position: relative; padding: 18px 52px 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--hr-accent); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--hr-muted); line-height: 1.65; }
.faq-item a { color: var(--hr-accent); font-weight: 600; }
.footer-contact-wrap { flex: 1 0 100%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-contact-wrap strong { color: #fff; }
.footer-contact { align-items: baseline; }
.footer-contact .contact-address { color: #c9d1de; }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-list li { background: var(--hr-card); border: 1px solid var(--hr-line); border-radius: var(--hr-radius-sm); padding: 12px 16px; }
.contact-list a { color: var(--hr-accent); font-weight: 600; }
.course-updated { margin: 12px 0 0; font-size: 14px; color: var(--hr-muted); }
.course-card .ll-card-rating, .products .ll-card-rating { margin: 0 0 8px; }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

.woocommerce div.product .ll-reviews { order: 5; }
.woocommerce div.product .summary .ll-title-rating { margin-bottom: 4px; }
