/*!/wp-content/themes/salient-child/style.css*//*
Theme Name:   Salient Child (Heaolukliinik)
Description:  Heaolukliinik child theme for Salient. ALL site CSS lives in this one file.
Template:     salient
Version:      2.0.0
Text Domain:  salient-child
*/

/* ==========================================================================
   WHERE TO CHANGE WHAT
   1. TOKENS ......... brand colours + fonts (change a colour here, it changes everywhere)
   2. BASE ........... web fonts, text, links
   3. LAYOUT ......... header, menus, mobile menu, footer, page title bars
   4. COMPONENTS ..... buttons, breadcrumbs, badges/labels, product card, prices, quantity box
   5. WOOCOMMERCE .... shop + category pages, single product page, cart/checkout/account
   6. CONTENT ........ blog list + post, home page, info pages, 404, courses
   9. CAMPAIGNS ...... temporary rules - delete when the campaign is over

   Quick tweaks: Salient -> Theme Options -> Custom CSS is printed AFTER this file (it wins);
   move tweaks from there into the right section here now and then.
   Page-only rules use :where(body.single-product) etc. (adds no extra specificity).
   2026-11-27: merged from the old style.css + YellowPencil (Global, Product, Post, Front page).
   ========================================================================== */


/* ==========================================================================
   1. TOKENS – colours and fonts (the only place for colour codes)
   ========================================================================== */

/* --- Colour + font variables --- */
:root {
    --tumerroheline: #1c4245;
    --roosa: #e0b0d4;
    --beez: #e5d1b8;
    --tumepruun: #382e2b;
    --valge: #ffffff;
    --pastellroheline: #91a1a1;
    --heleroosa: #ebd9e8;
    --helebeez: #f2e8db;
    --pastellpruun: #999694;
    --mandariini-oranz: #de4d26;
    --tumerroheline-rgb: 28, 66, 69;
    --roosa-rgb: 224, 176, 212;
    --beez-rgb: 229, 209, 184;
    --tumepruun-rgb: 56, 46, 43;
    --valge-rgb: 255, 255, 255;
    --pastellroheline-rgb: 145, 161, 161;
    --heleroosa-rgb: 235, 217, 232;
    --helebeez-rgb: 242, 232, 219;
    --pastellpruun-rgb: 153, 150, 148;
    --mandariini-oranz-rgb: 222, 77, 38;
}

:root {
    --main-font: 'heaolu', sans-serif;
}


/* ==========================================================================
   2. BASE – fonts, text, links
   ========================================================================== */

/* --- Web fonts --- */
@font-face{font-family:'heaolu';src:url('/wp-content/fonts/heaolu.woff2') format('woff2');font-weight:400;font-style:normal;font-optical-sizing:auto;font-display:swap;}

@font-face{font-family:'kliinik';src:url('/wp-content/fonts/ilukliinik.woff2') format('woff2');font-weight:400;font-style:normal;font-optical-sizing:auto;font-display:swap;}

/* --- Text --- */
::selection {
    background-color: var(--beez);
    color: var(--tumerroheline);
}

h1::selection {
    background-color: var(--beez);
    color: var(--tumepruun);
}

p .bold,
strong,
b {
    letter-spacing: 0.5px!important;
}

body h3 {
    color: var(--tumerroheline);
}

body p strong {
    color: var(--tumerroheline);
}

* {
    text-decoration: none!important;
}

/* --- Icons (Font Awesome) --- */
.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    color: var(--valge);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
   3. LAYOUT – header, menus, footer, page titles
   ========================================================================== */

/* --- Header --- */
@media only screen and (min-width: 1000px) {
    header#top {
        background-color: var(--roosa);
    }
}

.single .post-content header#top {
    background-color: var(--tumerroheline);
}

#header-outer header#top nav > ul.buttons > li.menu-item-has-children > ul.sub-menu > li > a {
    display: block;
    padding: 8px 8px;
    line-height: 20px;
}

#header-outer.transparent header#top nav > ul > li > a,
#header-outer.transparent header#top nav ul #search-btn a span.icon-salient-search,
#header-outer.transparent header#top nav ul #nectar-user-account a span,
#header-outer.transparent nav > ul > li > a > .sf-sub-indicator [class^="icon-"],
#header-outer.transparent nav > ul > li > a > .sf-sub-indicator [class*=" icon-"],
#header-outer.transparent .cart-menu .cart-icon-wrap .icon-salient-cart,
.ascend #boxed #header-outer.transparent .cart-menu .cart-icon-wrap .icon-salient-cart {
    opacity: 0.95!important;
}

#header-outer #mobile-menu ul li>a {
    font-size: 18px!important;
    padding: 12px 0;
}

#header-outer #mobile-menu:before {
    background-color: var(--heleroosa) !important;
}

#header-outer #mobile-menu .off-canvas-social-links {
    margin-top: 14px;
    text-align: center;
}

@media only screen and (max-width: 690px) {
    body.material #header-outer[data-header-resize="0"]:not([data-format=left-header]):not(.scrolled-down):not(.fixed-menu) {
        background-color: var(--roosa);
    }
}

@media only screen and (max-width: 690px) {
    #header-outer #mobile-menu .below-menu-items-wrap p {
        font-size: 12px;
        text-align: center;
    }
}

body #header-outer .widget_shopping_cart .cart_list li .product-meta .product-details>a {
    font-family: 'Overlock';
}

/* --- Menus (desktop, slide-out, mobile) --- */
#slide-out-widget-area.fullscreen .inner li a,
#slide-out-widget-area .off-canvas-social-links li a,
#slide-out-widget-area.slide-out-from-right .inner .off-canvas-menu-container li a,
#slide-out-widget-area.slide-out-from-right-hover .inner .off-canvas-menu-container li a,
#slide-out-widget-area .menuwrapper li small {
    opacity: 0.95;
}

#slide-out-widget-area.slide-out-from-right-hover .inner .off-canvas-menu-container li a:hover,
#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a:hover {
    color: var(--valge)!important;
    background-color: #00000069!important;
    padding-left: 10px!important;
    padding-right: 10px!important;
}

#slide-out-widget-area .widget.widget_nav_menu ul ul a {
    font-size: 20px!important;
    line-height: 22px!important;
    font-weight: 500!important;
    letter-spacing: 0px!important;
    display: none!important;
}

@media only screen and (min-width: 1000px) {
    ul#menu-top-navigation-menu-pull-right-1 {
        display: none!important;
    }
}

body #slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li a:hover {
    color: var(--valge)!important;
}

#slide-out-widget-area.fullscreen-alt .inner .widget.widget_nav_menu li a {
    color: var(--valge)!important;
    font-weight: 600;
    letter-spacing: 0px;
}

ul#menu-top-navigation-menu-pull-right-2 li.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-30086 {
    display: none;
}

#slide-out-widget-area.fullscreen-alt .inner .off-canvas-menu-container li.current-menu-item a {
    color: #333!important;
}

/* --- Page title bars --- */
#page-header-bg[data-alignment=center],
.page-header-no-bg[data-alignment=center] {
    background-color: var(--tumerroheline) !important;
}

/* --- Back-to-top button --- */
#to-top[style="bottom: 17px;"] {
    transform: scale(2) translateX(-10px) translateY(-10px)!important;
}

body [data-button-style*="rounded"] #to-top {
    transition: all 0.2s cubic-bezier(.55,0,.1,1),background-color 0.1s linear!important;
    -webkit-transition: all 0.2s cubic-bezier(.55,0,.1,1),background-color 0.1s linear;
    -moz-transition: all 0.2s cubic-bezier(.55,0,.1,1),background-color 0.1s linear;
}

/* --- Footer --- */
body #footer-outer[data-cols="1"][data-disable-copyright="false"] .row {
    padding-top: 50px!important;
    padding-bottom: 40px;
}

.footerp {
    text-align: center!important;
    padding-top: 3%;
}

.social-icons {
    list-style-type: none;
    display: inline-table;
}

tab {
    margin: 0 18px;
    float: left;
}

.circle {
    padding: 10px 10px;
    width: 20px;
    font-size: 44px;
    text-align: center;
    background: #fff;
    border-radius: 100%;
    border: solid 0px;
}

.screen-reader {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.social-icons i[class*="fa-"] {
    display: inline-block;
    font-size: 44px!important;
    word-spacing: 1px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    max-width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

li.tab {
    list-style: none;
}

#footer-outer .col.span_5 {
    width: 100%;
}

span.footer-vulkano {
    float: right;
    color: #ffffff8c;
    margin-right: -50px;
    font-size: 0.8em;
}

@media only screen and (min-width: 1000px) {
    #footer-outer .row {
        padding-bottom: 20px;
    }
}

@media only screen and (max-width: 690px) {
    #footer-outer #copyright {
        padding: 0px 0;
    }
}

@media only screen and (max-width: 690px) {
    span.footer-vulkano {
        float: right;
        color: #ffffff8c;
        margin-right: 0px;
        font-size: 0.8em;
    }
}

.footer-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    position: relative;
}

.footer-item {
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--valge);
    transition: all 0.3s ease-in-out;
}

p.footer-subtitle {
    padding-bottom: 10px !important;
    color: var(--heleroosa) !important;
}

.footer-item::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--roosa);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: -14px;
    transform: translateY(-50%);
}


/* ==========================================================================
   4. COMPONENTS – used on many pages
   ========================================================================== */

/* --- Buttons --- */
.full-width-section .light .nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3),
.full-width-section .light .nectar-button.wpb_animate_when_almost_visible.animated:not(.see-through):not(.see-through-2):not(.see-through-3) {
    opacity: 1!important;
}

.ascend .container-wrap input[type="submit"],
.ascend .container-wrap button[type="submit"],
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    font-size: 16px!important;
}

.nectar-button span {
    font-family: var(--main-font);
}

button.single_add_to_cart_button.button.alt {
    font-family: var(--main-font);
    letter-spacing: 1px!important;
}

a.nectar-button.priitbtn {
    color: var(--valge);
    background-color: var(--tumerroheline);
}

body.single-product .single_variation_wrap .woocommerce-variation-add-to-cart {
    border-radius: 0px !important;
}

body.single-product.woocommerce-page button[type="submit"].single_add_to_cart_button,
body.single-product .woocommerce-page button[type="submit"].single_add_to_cart_button,
body.single-product[data-form-submit="regular"].woocommerce-page .container-wrap button[type=submit].single_add_to_cart_button {
    border-radius: 0px !important;
}

/* --- Breadcrumbs --- */
.woocommerce-breadcrumb [class*="fa-"] {
    color: var(--tumerroheline)!important;
}

.woocommerce.single-product div.product_meta a,
.woocommerce .woocommerce-breadcrumb a {
    background-image: linear-gradient(to right, var(--tumerroheline) 0%, var(--tumerroheline) 100%)!important;
}

body.single-product.woocommerce .woocommerce-breadcrumb a,
body.single-product .woocommerce .woocommerce-breadcrumb a,
body.single-product .nectar-shop-header > .woocommerce-ordering .select2-container--default .select2-selection__rendered,
body.single-product.woocommerce div.product .woocommerce-review-link,
body.single-product .woocommerce div.product .woocommerce-review-link,
body.single-product.woocommerce.single-product div.product_meta a,
body.single-product .woocommerce.single-product div.product_meta a {
    background-image: linear-gradient(to right, #f02800 0%, #fd386b 100%);
}

/* --- Badges: product labels (WooCommerce Advanced Product Labels) --- */
.wapl-flash .product-label {
    display: block;
    background: #ffe0c0!important;
    border: 1px solid #000000;
    color: #000000!important;
    box-shadow: 4px 4px 0 rgb(0 0 0 / 10%);
    border-radius: 0;
    line-height: 1;
    padding: 5px 5px 2px 5px!important;
    font-size: 0.8125rem!important;
    height: auto;
    min-width: auto!important;
    width: 95px;
    min-height: auto;
    text-transform: uppercase;
    font-weight: 600;
}

.wapl-label-id-28019.label-wrap.wapl-flash {
    right: 50px;
    top: 4px;
    left: auto;
    height: 0px;
    z-index: 1000;
    position: absolute;
}

.wapl-label-id-28020.label-wrap.wapl-flash .product-label {
    width: 50px!important;
    background: #fff591!important;
}

.wapl-label-id-28020.label-wrap.wapl-flash {
    right: 0px;
    top: 4px;
    left: 4px;
    height: 0px;
    z-index: 1000;
    position: absolute;
}

.wapl-label-id-28019.label-wrap.wapl-flash .product-label {
    width: 95px;
    background: #B9EDF8!important;
}

.wapl-label-id-28021.label-wrap.wapl-flash {
    right: 0px;
    top: 4px;
    left: 4px;
    height: 0px;
    z-index: 1000;
    position: absolute;
}

.wapl-label-id-28021.label-wrap.wapl-flash .product-label {
    background: #ffd9d9;
}

.wapl-label-id-28022.label-wrap.wapl-flash {
    right: 50px;
    top: 4px;
    left: auto;
    height: 0px;
    z-index: 1000;
    position: absolute;
}

.wapl-label-id-28022.label-wrap.wapl-flash .product-label {
    background: #EAEAEA!important;
}

.wapl-label-id-28889.label-wrap.wapl-flash.label-red {
    right: 5px;
    top: 2px;
    width: auto;
    height: auto;
    line-height: 1;
    z-index: 1000;
}

.wapl-label-id-28890.label-wrap.wapl-flash.label-red {
    right: 5px;
    top: 2px;
    width: auto!important;
    height: auto;
    line-height: 1;
    z-index: 1000;
}

.wapl-label-id-28890.label-wrap.wapl-flash span.woocommerce-advanced-product-label.product-label.label-red {
    width: 122px;
}

/* --- Badges: "Tasuta transport" --- */
.woocommerce ul.products li.product .hk-free-shipping {
    display: inline-block;
    margin: 6px 0 2px;
    padding: 3px 9px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--tumerroheline);
    background-color: var(--helebeez);
    border-radius: 3px;
}

/* --- Product card (shop lists, home, posts, related products) --- */
@media only screen and (min-width: 1000px) {
    .woocommerce .material.product .product-wrap .product-add-to-cart .price .amount,
    .woocommerce .material.product .product-wrap .product-add-to-cart a,
    .woocommerce .material.product .product-wrap .product-add-to-cart .price,
    .material.product .product-wrap .product-add-to-cart a.nectar_quick_view {
        font-size: 15px!important;
    }
}

@media only screen and (min-width: 1000px) {
    .woocommerce .material.product .product-wrap .product-meta {
        padding: 20px 15px 20px 20px;
    }
}

@media only screen and (min-width: 1000px) {
    .woocommerce ul.products li.product.material .price {
        font-size: 18px;
    }
}

@media (max-width:470px) {
    .products a h2 {
        margin-right: -15px !important;
        line-height: 1.2em !important;
        margin-left: -10px !important;
        font-size: 16px !important;
    }
}

/* --- Product grids inside blog posts --- */
.single .post-content .woocommerce ul.products a {
    position: static;
}

.single .post-content .woocommerce ul.products a::after {
    content: none;
    display: none;
}

.single .post-content .woocommerce ul.products li.product.material .price {
    color: #000 !important;
}

/* --- Prices --- */
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
    text-decoration: line-through!important;
}

small.includes_tax,
small.includes_tax span.woocommerce-Price-amount.amount {
    font-size: 13px!important;
}

.woocommerce table.shop_table td del {
    font-weight: 400;
    text-decoration: line-through!important;
}

span.quantity del {
    text-decoration: line-through!important;
}

body.single-product span.woocommerce-Price-currencySymbol:after {
    content: "/tk";
}

/* --- Quantity box --- */
.woocommerce div.product form.cart div.quantity {
    border-color: var(--tumerroheline)!important;
}

.cart div.quantity,
.woocommerce-mini-cart div.quantity {
    border: 1px solid rgb(255 0 0 / 40%);
    border-radius: 0px;
}

body.single-product .nectar-prod-wrap .entry-summary .quantity input[type=number] {
    font-weight: 600 !important;
}

body.single-product.woocommerce div.product form.cart div.quantity,
body.single-product .woocommerce div.product form.cart div.quantity {
    border-color: #f02800;
    border-width: 1px;
    border-radius: 0px;
    width: 140px;
}

body.single-product.woocommerce div.product form.cart div.quantity:hover,
body.single-product .woocommerce div.product form.cart div.quantity:hover {
    border-color: #f02800;
}

/* --- Variation buttons (size + other product options; inc/woocommerce.php) --- */
.variations select[data-hk-hidden] {
    display: none !important;              /* WooCommerce's own dropdown stays in the page, hidden */
}

.variations td.value:has(.hk-vb) .reset_variations {
    display: none !important;              /* "Puhasta" not needed: just tap another option */
}

.hk-vb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 4px;
}

.hk-vb__opt {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.hk-vb__opt input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.hk-vb__opt > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 46px;                      /* big enough for a thumb */
    padding: 8px 14px;
    border: 1px solid var(--tumerroheline);
    background: var(--valge);
    color: var(--tumerroheline);
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-align: center;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.hk-vb__opt:hover > span {
    background: var(--helebeez);
}

.hk-vb__opt input:checked + span {
    background: var(--tumerroheline);
    color: var(--valge);
}

.hk-vb__opt input:focus-visible + span {
    outline: 2px solid var(--roosa);
    outline-offset: 2px;
}

.hk-vb__opt.is-out {
    cursor: not-allowed;
}

.hk-vb__opt.is-out > span {                /* sold out: visible but crossed out */
    color: var(--pastellpruun);
    border-color: #d6d3d1;
    background: linear-gradient(to top right, transparent calc(50% - 1px), #d6d3d1 calc(50% - 1px), #d6d3d1 calc(50% + 1px), transparent calc(50% + 1px));
}

/* "Suurus" label line: label on the left, stock ("Viimased 4 tk") or the hint on the right.
   This line always exists, so choosing a size never moves anything. */
form.variations_form:has(.hk-vb) table.variations,
form.variations_form:has(.hk-vb) table.variations tbody,
form.variations_form:has(.hk-vb) table.variations tr {
    display: block;
    width: 100%;                           /* full width, so the stock text can sit at the right edge */
}

.woocommerce div.product form.variations_form:has(.hk-vb) table.variations th.label {   /* beats the "display:block !important" rule in section 5 */
    width: 100%;
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.hk-vb__status {
    margin-left: auto;
    font-size: 15px;
    line-height: 1;                        /* never taller than the label line -> showing/hiding it moves nothing */
    white-space: nowrap;
    color: var(--tumerroheline);
}

.hk-vb__status.is-hint {
    color: var(--mandariini-oranz);
}

/* WooCommerce's own price/stock block shows ~0.3 s late with a slide animation - replaced by the label line
   and the main price. (It still works in the background for the cart.) :has() = no shift while loading. */
form.variations_form:has(.hk-vb) .woocommerce-variation.single_variation {
    display: none !important;
}

form.variations_form:has(.hk-vb) table.variations {
    margin-bottom: 24px !important;       /* was 40px */
}

form.variations_form:has(.hk-vb) .woocommerce-variation-add-to-cart {
    margin-top: 0 !important;             /* WooCommerce adds 30px after the first choice -> jump */
}

/* As soon as an option is chosen the button looks ready (WooCommerce enables it ~0.3 s later;
   a click in between is completed automatically). */
.hk-vb-form.hk-vb--chosen .single_add_to_cart_button.disabled {
    opacity: 1 !important;
    cursor: pointer;
}

.hk-vb--need .hk-vb__opt:not(.is-out) > span {
    border-color: var(--mandariini-oranz);
    animation: hk-vb-nudge 0.35s ease;
}

@keyframes hk-vb-nudge {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
    .hk-vb--need .hk-vb__opt:not(.is-out) > span { animation: none; }
}

/* --- Toggles / accordions --- */
div[data-style="default"] .toggle h3 a,
div[data-style="default"] .toggle h3 {
    font-size: 17px!important;
    line-height: 17px!important;
    letter-spacing: 0.5px!important;
}

toggle h3 a {
    color: #1a1a1a;
    font-weight: 400!important;
    background-color: rgba(0,0,0,0.04);
}

toggle h3 a i {
    color: #f02800;
    line-height: 18px!important;
    font-size: 17px;
}

/* --- Boxes --- */
.nectar-fancy-box[data-style="color_box_hover"] .inner p {
    opacity: 0.95;
}


/* ==========================================================================
   5. WOOCOMMERCE PAGES
   ========================================================================== */

/* --- Shop + category pages --- */
.woocommerce .woocommerce-result-count {
    right: 10px;
    color: var(--pastellpruun);
}

.woocommerce .woocommerce-ordering {
    display: none;
}

@media only screen and (max-width: 690px) {
    html body.woocommerce:not(.single-product) ul.products[data-n-phone-columns="2"] {
        width: 114%!important;
        margin-left: -20px;
    }
}

.ocm-effect-wrap .nectar-shop-header nav,
.ocm-effect-wrap .nectar-shop-header p {
    display: none!important;
}

#sidebar div h4 {
    color: #070707;
}

.product-categories > li > a {
    text-transform: uppercase !important;
}

.product-categories > .cat-parent > .children > li > a {
    font-size: 15px;
}

li.cat-item.cat-item-59 a:after {
    display: inline-block;
    content: ' ';
    background-image: url(https://heaolukliinik.ee/wp-content/uploads/water-drop-pool.svg);
    background-size: 24px 24px;
    height: 24px;
    width: 24px;
    margin-left: 5px;
    margin-bottom: -5px;
}

li.cat-item.cat-item-60 a:after {
    display: inline-block;
    content: ' ';
    background-image: url(https://heaolukliinik.ee/wp-content/uploads/water-drop-tyhi.svg);
    background-size: 24px 24px;
    height: 24px;
    width: 24px;
    margin-left: 5px;
    margin-bottom: -5px;
}

li.cat-item.cat-item-58 a:after {
    display: inline-block;
    content: ' ';
    background-image: url(https://heaolukliinik.ee/wp-content/uploads/water-drop-full.svg);
    background-size: 24px 24px;
    height: 24px;
    width: 24px;
    margin-left: 5px;
    margin-bottom: -5px;
}

@media (min-width:1301px) {
    #sidebar div h4 {
        font-size: 20px !important;
        line-height: 1.4em;
    }
}

/* --- Single product page --- */
@media only screen and (min-width: 1000px) {
    #ajax-content-wrap .related.products h2,
    #ajax-content-wrap .upsells.products h2,
    #ajax-content-wrap .cross-sells h2 {
        font-size: 24px;
        line-height: 30px;
    }
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    display: block !important;
    line-height: 1em;
}

body.single-product .variations tr td:nth-child(2) {
    visibility: visible;
    display: none !important;
}

body.single-product #tab-additional_information {
    padding-top: 0px !important;
}

body.single-product.woocommerce-product-attributes-item p,
body.single-product .woocommerce-product-attributes-item p {
    line-height: 1em;
}

body.single-product .product_meta .posted_in a {
    font-weight: 400 !important;
}

body.single-product .entry-summary .product_meta .posted_in {
    font-weight: 600;
}

body.single-product .entry-summary .woocommerce-product-details__short-description p {
    padding-bottom: 15px !important;
}

body.single-product .entry-summary .rp_wcdpd_product_page .rp_wcdpd_product_page_title {
    text-align: center;
    font-size: 17px;
    padding-bottom: 7px;
}

body.single-product .rp_wcdpd_pricing_table tr td {
    text-align: center;
}

@media (min-width:691px) {
    body.single-product .ocm-effect-wrap .ocm-effect-wrap-inner #ajax-content-wrap .container-wrap .container .row .product .nectar-prod-wrap .single-product-summary .entry-summary .rp_wcdpd_product_page .rp_wcdpd_pricing_table {
        width: 75% !important;
        transform: translate3d(15%, 0,0)!important;
    }
}

/* --- Cart, checkout, my account --- */
.woocommerce table.order-review th,
.woocommerce-page table.order-review th,
.woocommerce table.order-review tfoot td,
.woocommerce table.order-review tfoot th,
.woocommerce-page table.shop_table tfoot td,
.woocommerce-page table.shop_table tfoot th {
    font-family: var(--main-font);
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before {
    line-height: 1.3!important;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before {
    line-height: 1.5!important;
}

#wc_customer_source_checkout_field.select {
    padding: 10px!important;
    font-family: inherit!Important;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}

.montonio-aspsp-grid-logos .montonio-aspsp-grid-item {
    border-radius: 15px;
    margin: 0 12px 12px !important;
}


/* ==========================================================================
   6. CONTENT PAGES – blog, home, 404, info pages
   ========================================================================== */

/* --- Blog lists --- */
body #post-area.masonry article.post .post-meta {
    display: none!important;
}

article.post .content-inner {
    border-bottom: none;
}

body[data-bg-header="true"].archive .container-wrap,
body[data-bg-header="true"].category .container-wrap,
body[data-bg-header="true"].blog .container-wrap {
    background-color: var(--valge)!important;
}

.masonry-blog-item h3.title {
    font-size: 28px!important;
    line-height: 34px!important;
    padding-top: 5px!important;
}

@media only screen and (max-width: 690px) {
    .masonry-blog-item h3.title {
        font-size: 20px!important;
        line-height: 26px!important;
        padding-top: 2px!important;
    }
}

.nectar-recent-posts-single_featured .grav-wrap > a,
.nectar-recent-posts-single_featured .grav-wrap .text > span {
    display: none;
}

#page-header-bg[data-post-hs="default_minimal"] .inner-wrap >a,
body.material #page-header-bg.fullscreen-header .inner-wrap >a {
    color: #fff;
    padding: 5px 12px;
    margin: 5px 6px 15px 5px;
    font-size: 14px;
    line-height: 21px;
    text-transform: inherit;
    letter-spacing: 0.2px;
}

:where(body.single-post) .blog-recent[data-style*="classic_enhanced"][data-color-scheme="light"] h3.title {
    text-align: center;
}

@media (max-width:690px) {
    :where(body.single-post) .blog-recent[data-style*="classic_enhanced"] .excerpt {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width:691px) {
    :where(body.single-post) .blog-recent[data-style*="classic_enhanced"] .excerpt {
        font-size: 14px;
        line-height: 20px;
    }
}

/* --- Blog post --- */
body #single-below-header {
    display: none !important;
}

.masonry.material .masonry-blog-item .grav-wrap .text a,
.related-posts[data-style="material"] .grav-wrap .text a,
.post-area.featured_img_left article .grav-wrap .text a {
    display: none!important;
}

@media only screen and (max-width: 690px) {
    .masonry.material .masonry-blog-item .article-content-wrap,
    .related-posts[data-style="material"] .article-content-wrap {
        padding: 10px 15px 20px 20px!important;
    }
}

.single .post-content a {
    position: relative;
    color: var(--tumerroheline);
    text-decoration: none;
}

.single .post-content a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30%;
    background-color: var(--beez);
    z-index: -1;
}

.single .post-content a:hover {
    color: var(--tumerroheline);
}

.related-post-wrap .row-bg-wrap {
    background-color: var(--heleroosa);
}

:where(body.single-post) .ocm-effect-wrap .related-post-wrap .related-title {
    text-align: center;
}

@media (max-width:690px) {
    :where(body.single-post) .ocm-effect-wrap .blog_next_prev_buttons ul {
        padding-bottom: 0px !important;
    }
}

@media (max-width:690px) {
    :where(body.single-post) .ocm-effect-wrap .related-post-wrap .related-title {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        font-size: 30px !important;
    }
}

@media (min-width:691px) {
    :where(body.single-post) .container .row .related-post-wrap .related-title {
        padding-top: 60px !important;
    }
}

/* --- Author line in the title image, under the title (inc/authors.php) --- */
.blog-title .hk-post-meta {
    display: inline-flex;                  /* follows the title's alignment */
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    text-align: left;
    color: var(--valge);
}

.row .col.section-title .hk-post-meta span {   /* Salient pads every span in the title area - not here */
    padding-left: 0;
    top: 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.hk-post-meta__photo img {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 !important;
    border: 2px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hk-post-meta__text {
    display: flex;
    flex-direction: column;
    gap: 0px;
    line-height: 1.3;
}

#page-header-bg .hk-post-meta__author {
    font-size: 18px;
    color: var(--valge) !important;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

#page-header-bg .hk-post-meta__date {
    font-size: 15px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

@media only screen and (max-width: 690px) {
    .blog-title .hk-post-meta {
        margin-top: 16px;
        gap: 10px;
    }
    .hk-post-meta__photo img {
        width: 44px;
        height: 44px;
    }
    #page-header-bg .hk-post-meta__author {
        font-size: 16px;
    }
    #page-header-bg .hk-post-meta__date {
        font-size: 14px;
    }
}

/* --- Post cards "Classic enhanced" (related posts "Seotud postitused"): date centred,
       author with photo on the right, no line above it. Photo: inc/authors.php hk_related_cards_html() --- */
.blog-recent.related-posts h3.title {
    line-height: 1.2;
}

.blog-recent[data-style*="classic_enhanced"] .post-header > .meta,
.masonry.classic_enhanced .post-header > .meta {
    display: block;
    text-align: center;
}

.blog-recent[data-style*="classic_enhanced"] .post-meta,
.masonry.classic_enhanced .post-meta {
    border-top: none !important;
    text-align: right;
}

body .blog-recent[data-style*="classic_enhanced"].related-posts .article-content-wrap {
    padding-bottom: 16px;                  /* Salient: padding 30px all round */
}

body .blog-recent.related-posts[data-style*="classic_enhanced"] .post-meta,
body .masonry.classic_enhanced .masonry-blog-item .post-meta {
    bottom: 8px;                           /* 8px up; beats Salient's "body .blog-recent[...] .post-meta { bottom: 0 }" */
}

.blog-recent[data-style*="classic_enhanced"] .post-meta .meta-author a,
.masonry.classic_enhanced .post-meta .meta-author a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.post-meta .meta-author img.hk-avatar {
    width: 30px;
    height: 30px;
    margin: 0 !important;
}

/* Uploaded author photos (inc/authors.php): always round and never stretched */
img.hk-avatar {
    border-radius: 50%;
    object-fit: cover;
}

/* --- Home page --- */
@media only screen and (max-width: 1000px) and (min-width: 1px) {
    .pealkiri {
        padding-top: 0px;
    }
}

@media only screen and (max-width: 1000px) and (min-width: 1px) {
    .page-hero h1 {
        margin-top: -10px;
    }
}

#home-hero .nectar-video-wrap {
    height: calc(100% + 1px) !important;
}

:where(body.home) #home-hero .using-image .using-image {
    background-image: url("https://heaolukliinik.ee/wp-content/uploads/image-02-2.jpg") !important;
}

:where(body.home) .backdrop_filter_blur .wpb_wrapper h1 {
    transform: translatex(0px) translatey(0px);
}

/* --- Info pages (fixed-width sections) --- */
#max-1000,
#menstruaalanum,
#rasedustest,
#menstruatsioon,
#pereplaneerimine,
#menstruatsioon-vahekord,
#korvaltoimed,
#olen-rase,
#laste-saamine,
#ovulatsioon {
    max-width: 1000px!important;
    margin-left: 0!important;
    margin-right: 0!important;
    padding-left: 0!important;
    padding-right: 0!important;
    left: 50%;
    transform: translate3d(-50%, 0,0)!important;
}

/* --- 404 page --- */
p.custom-404-announcement {
    font-size: 26px;
    padding-top: 2%;
}

p.custom-404-details {
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--nectar-accent-color);
}

.error-404 h1 {
    font-size: 5.5rem !important;
    line-height: 1.3 !important;
}

.error-404 h2 {
    font-size: 1.8rem !important;
    line-height: 1.3!important;
}

.custom-404-announcement {
    margin-top: 0;
}

.custom-404-details {
    margin-top: 1rem;
}

.custom-404-announcement,
.custom-404-details {
}

/* --- Online courses (Thrive video) --- */
.tve_responsive_video_container .iframe-embed {
    width: 950px !important;
    height: 532px !important;
}

.tve_responsive_video_container {
    position: relative !important;
}

.tve_responsive_video_container .iframe-embed {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}


/* ==========================================================================
   9. CAMPAIGNS / TEMPORARY – delete when over
   ========================================================================== */

/* (empty) Put temporary campaign rules here, each with a comment: what it is for + end date.
   2026-11-27: removed old Convert Pro popup rules (plugin no longer installed) and the
   "Ukraina" product label rules (label is a draft). */