/*
Theme Name:   EduBlink Child
Theme URI:    https://demo.edublink.co/
Author:       DevsBlink
Author URI:   https://themeforest.net/user/devsblink/portfolio
Description:  EduBlink Child Theme For LMS and Education Purpose.
Version:      1.0.0
Template:     edublink
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain:  edublink-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
*/

:root {
  --color-primary-black: #181818;
  --color-primary-red: #fa0158;
  --color-primary-yellow: #f7bf43;
  --color-primary-blue: #0158de;
  --color-primary-pink: #f96ffa;
  --color-primary-green: #3ee997;
  --color-light-blue: #f0f6ff;
  --color-light-blue-2: #d6e7ff;
}

html {
  font-size: 62.5%;
  scroll-padding-top: 12rem;
}

body {
  font-size: 1.6rem;
}

.elementor-kit-89 {
  --e-global-typography-primary-font-family: var(--edublink-font-primary);
  --e-global-typography-secondary-font-family: var(--edublink-font-secondary);
  --e-global-typography-text-font-family: var(--edublink-font-primary);
  --e-global-typography-accent-font-family: var(--edublink-font-secondary);
}

.edublink-ll-course-wrapper,
.tutor-wrap.course-archive-page,
body.learnpress-checkout.learnpress-page .site-content,
.elementor-page.single .edublink-main-content-inner,
.edublink-section-gap,
.edublink-main-content-inner,
.post-type-archive-zoom-meetings .vczapi-primary {
  padding-bottom: 0;
}

.edublink-section-heading .pre-heading {
  font-family: var(--edublink-font-secondary);
}

/* Page Title */
.post-thumbnail {
  display: none;
}

/* Buttons */
.edublink-button-item {
  line-height: 1.5;
  height: auto;
  width: auto;
  padding: 1.2rem 2rem;
}

@media (min-width: 768px) {
  .edublink-button-item {
    padding: 1.6rem 3rem;
  }
}

@media (min-width: 768px) {
  .lp-button,
  .edublink-header-area ul.edublink-navbar-nav li a {
    font-size: 2rem !important;
  }
}

.edublink-header-right-side .edu-btn,
.elementor-widget-edublink-pricing-table .edu-btn,
.elementor-widget-edublink-pricing-table .pricing-header .title.title,
#learn-press-profile .learn-press-form-login button[type='submit'],
#learn-press-profile .learn-press-form-register button[type='submit'] {
  font-size: 2rem;
}

body.learnpress-page .lp-button:hover {
  background: var(--edublink-color-primary) !important;
}

body.learnpress-page .lp-button {
  text-align: center;
  color: #ffffff;
  background: var(--color-primary-blue);
  font-size: 15px;
  font-weight: 500;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

body.learnpress-page .lp-button::after,
.edublink-header-area .edu-btn a::after,
.edublink-mobile-menu .edu-btn a::after {
  content: '';
  height: 100%;
  width: 0;
  background: -webkit-linear-gradient(right, var(--edublink-color-primary-alt) 0%, var(--edublink-color-primary) 100%);
  background: var(--edublink-gradient-primary);
  border-radius: inherit;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

body.learnpress-page .lp-button:hover::after,
.edublink-header-area .edu-btn a:hover::after,
.edublink-mobile-menu .edu-btn a:hover::after {
  width: 100%;
  left: 0;
}

/* Checkout */
.learnpress-checkout .lp-archive-courses {
  margin: 8rem 0;
  padding: 0 1.5rem;
}

.woocommerce.woocommerce-checkout .woocommerce-additional-fields .invoice-data {
  display: none;
}

.woocommerce.woocommerce-checkout .woocommerce-additional-fields:has(#invoice_has:checked) .invoice-data {
  display: block;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email::before,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone::before {
  display: none;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone {
  padding-left: 0;
}

.woocommerce-order .woocommerce-order-overview {
  padding-left: 0;
}

.woocommerce.woocommerce-checkout form.woocommerce-checkout strong {
  color: inherit;
}

.woocommerce form .form-row .input-checkbox {
  vertical-align: initial;
}

.woocommerce form .form-row .input-checkbox:checked {
  background-color: var(--color-primary-blue);
  border-color: var(--color-primary-blue);
}

.woocommerce form *[id*='info_field'] {
  font-size: 1.4rem;
  color: var(--edublink-color-body);
}

.woocommerce.woocommerce-checkout .form-row a {
  color: var(--color-primary-blue);
}

.woocommerce.woocommerce-checkout .form-row a:hover,
.woocommerce.woocommerce-checkout .form-row a:focus-visible {
  text-decoration: underline;
}

.woocommerce.woocommerce-checkout .form-row .woocommerce-terms-and-conditions-wrapper > * + * {
  margin-top: 2.4rem;
}

.woocommerce-checkout fieldset.form-row {
  border: none;
}

.woocommerce-checkout fieldset.form-row legend {
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--edublink-color-heading);
}

.woocommerce-checkout fieldset.form-row label {
  background: var(--edublink-color-white);
  border: 1px solid var(--edublink-color-border);
  border-radius: 10px;
  padding: 1.2rem;
  gap: 1.6rem;
}

.woocommerce-checkout
  #billing_faktura_field:has(input[type='checkbox']:not(:checked))
  ~ #billing_wrapper_start_field
  #billing_faktura_typ_field,
.woocommerce-checkout
  #billing_faktura_field:has(input[type='checkbox']:not(:checked))
  ~ #billing_wrapper_start_field
  #billing_faktura_person_info_field,
.woocommerce-checkout
  #billing_faktura_typ_field:has(#billing_faktura_typ_osoba-prywatna:checked)
  ~ #billing_company_field,
.woocommerce-checkout #billing_faktura_typ_field:has(#billing_faktura_typ_osoba-prywatna:checked) ~ #billing_nip_field {
  display: none !important;
}

.woocommerce-checkout #billing_faktura_heading_field {
  margin-bottom: 0;
}

.checkout-section,
.woocommerce-checkout-review-order > .checkout-heading,
.woocommerce-checkout-review-order table.woocommerce-checkout-review-order-table,
.woocommerce-checkout-payment {
  padding: 1.6rem;
  border: 1px solid var(--edublink-color-border);
  border-radius: 10px;
}

.woocommerce-checkout-review-order > .checkout-heading {
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  margin-bottom: 0;
}

.woocommerce-checkout-review-order table.woocommerce-checkout-review-order-table,
.woocommerce-checkout-payment {
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
  padding-top: 0;
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
  margin-inline: 0;
  margin-bottom: 3rem;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  padding: 0;
}

.order_review_container {
  display: flex;
  flex-direction: column;
  margin-bottom: 3rem;
}

.order_review_container > * {
  width: auto !important;
  float: none !important;
}

.woocommerce.woocommerce-checkout form #order_review_heading,
.woocommerce-additional-fields h3,
.woocommerce-billing-fields h3,
.woocommerce-account-fields h3,
.order_review_container h3 {
  font-size: 2.2rem;
  margin: 0;
  padding: 0;
  border: none;
}

.woocommerce.woocommerce-checkout form #order_review,
.woocommerce.woocommerce-checkout form #order_review_heading,
.woocommerce-page.woocommerce-checkout form #order_review,
.woocommerce-page.woocommerce-checkout form #order_review_heading {
  width: auto;
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
  width: min-content !important;
}

.checkout-heading {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 1.6rem;
}

.checkout-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 100%;
  background: var(--color-light-blue);
  color: var(--color-primary-blue);
  width: 6rem;
  height: 6rem;
}

.checkout-heading-icon svg,
.checkout-heading-icon-svg {
  width: auto;
  height: auto;
  max-width: 3.2rem;
  max-height: 3.2rem;
}

.checkout-heading-icon-svg {
  content: url('assets/img/document.svg');
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  text-align: start;
}

.woocommerce table.shop_table tr *:last-child {
  text-align: end;
}

.woocommerce table.shop_table > tbody > tr > td,
.woocommerce table.shop_table > tfoot > tr > th,
.woocommerce table.shop_table > tfoot > tr > td {
  border-width: 0.1rem;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > thead > tr > th {
  border-bottom: 0;
}

.woocommerce table.shop_table.woocommerce-checkout-review-order-table > tfoot > tr > td > small {
  display: block;
}

.woocommerce table.shop_table .order-total strong .woocommerce-Price-amount {
  font-size: 2.4rem;
  font-weight: 600;
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background: none;
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: none;
}

#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
  border: 1px solid var(--edublink-color-border);
  border-radius: 10px;
  padding: 1.2rem;
}

#add_payment_method #payment ul.payment_methods li label,
.woocommerce-cart #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods li label {
  cursor: pointer;
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
  background: var(--color-light-blue);
  margin-bottom: 0;
  border: 1px solid var(--edublink-color-border);
  border-radius: inherit;
}

#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

#add_payment_method #payment div.payment_box .woocommerce-error,
.woocommerce-cart #payment div.payment_box .woocommerce-error,
.woocommerce-checkout #payment div.payment_box .woocommerce-error {
  margin-bottom: 0;
}

#add_payment_method #payment div.form-row,
.woocommerce-cart #payment div.form-row,
.woocommerce-checkout #payment div.form-row {
  padding: 0;
  margin: 0;
}

.woocommerce-terms-and-conditions-wrapper {
  border: 1px solid var(--edublink-color-border);
  border-radius: 8px;
  padding: 1.6rem;
}

.woocommerce.woocommerce-checkout .form-row .woocommerce-terms-and-conditions-wrapper > *:last-child {
  margin-bottom: 0;
}

.woocommerce-checkout {
  color: var(--color-primary-black);
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
  margin-bottom: 0 !important;
}

.woocommerce.woocommerce-checkout .thank-you-note {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  color: var(--edublink-color-body);
  margin-top: 2rem;
  width: 100%;
}

.woocommerce.woocommerce-checkout .thank-you-note svg {
  max-height: 1em;
}

.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
  border-color: var(--edublink-color-border);
}

.woocommerce.woocommerce-checkout .woocommerce-account-fields .create-account-note {
  font-size: 1.4rem;
  color: var(--edublink-color-body);
}

.woocommerce-form-login-toggle .woocommerce-info::before {
  content: '\e038';
}

@media screen and (min-width: 576px) {
  .woocommerce-checkout .woocommerce .checkout .form-row.form-row-first,
  .woocommerce-account .woocommerce .form-row.form-row-first,
  .woocommerce form .woocommerce-address-fields .form-row.form-row-first,
  .woocommerce-checkout .woocommerce .checkout .form-row.form-row-last,
  .woocommerce-account .woocommerce .form-row.form-row-last,
  .woocommerce form .woocommerce-address-fields .form-row.form-row-last,
  .woocommerce-checkout fieldset.form-row label {
    --gap: 1.6rem;
    width: calc(50% - (var(--gap) / 2));
    clear: none;
  }

  .woocommerce-checkout .woocommerce .checkout .form-row.form-row-first,
  .woocommerce-account .woocommerce .form-row.form-row-first,
  .woocommerce form .woocommerce-address-fields .form-row.form-row-first,
  .woocommerce-checkout fieldset.form-row label:nth-of-type(odd) {
    float: left;
  }

  .woocommerce-checkout .woocommerce .checkout .form-row.form-row-last,
  .woocommerce-account .woocommerce .form-row.form-row-last,
  .woocommerce form .woocommerce-address-fields .form-row.form-row-last,
  .woocommerce-checkout fieldset.form-row label:nth-of-type(even) {
    float: right;
  }
}

.woocommerce-checkout .input-checkbox,
.woocommerce-checkout .input-radio {
  width: 2rem !important;
  height: 2rem !important;
  transform: translateY(0.25em);
  flex-shrink: 0;
}

.woocommerce-checkout .checkout-bottom-card-container {
  clear: both;
}

@media screen and (max-width: 991px) {
  .woocommerce-checkout .checkout-bottom-card-container {
    padding-top: 3rem;
  }
}

.woocommerce-checkout .checkout-bottom-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3.2rem;
  padding: 3.2rem;
  border-radius: 1rem;
  background: var(--color-light-blue);
  border: 0.1rem solid var(--edublink-color-border);
}

.woocommerce-checkout .checkout-bottom-cards__card {
  display: flex;
  align-items: center;
  gap: 2.4rem;
}

.woocommerce-checkout .checkout-bottom-cards__card .card-icon {
  max-width: 4.8rem;
  max-height: 4.8rem;
  color: var(--color-primary-blue);
}

.woocommerce-checkout .checkout-bottom-cards__card .card-icon svg {
  max-width: inherit;
  max-height: inherit;
}

.woocommerce-checkout .form-row.inspire_checkout_fields_hide {
  display: none !important;
}

/* =============================================
   Invoice fields group – wrapped via CSS sibling
   Wrapper start marker:  #billing_wrapper_start_field
   Wrapper end marker:    #billing_wrapper_end_field
   ============================================= */

#billing_wrapper_start_field,
#billing_wrapper_end_field {
  /* invisible marker – no visual */
  margin: 0;
  padding: 0;
}

/* All fields after wrapper-start up to wrapper-end */
#billing_wrapper_start_field ~ * {
  background: var(--color-light-blue);
  border-left: 1px solid var(--edublink-color-border);
  border-right: 1px solid var(--edublink-color-border);
  border-top: none;
  padding: 0 1.6rem;
}

/* Reset for wrapper-end and everything after it */
#billing_wrapper_end_field,
#billing_wrapper_end_field ~ * {
  background: none;
  border: none;
  padding: revert;
}

/* First visible field in the group – top border + radius */
#billing_wrapper_start_field ~ #billing_faktura_typ_field {
  position: relative;
  border-top: 1px solid var(--edublink-color-border);
  border-radius: 10px 10px 0 0;
  padding-top: 6.4rem;
  padding-bottom: 1.6rem;
  margin-bottom: 0;
}

#billing_wrapper_start_field ~ #billing_faktura_typ_field legend {
  position: absolute;
  top: 0.75em;
  font-size: 2rem;
}

#billing_wrapper_start_field ~ #billing_company_field,
#billing_wrapper_start_field ~ #billing_nip_field {
  width: 50%;
  padding-bottom: 1.6rem;
}

#billing_wrapper_start_field ~ #billing_company_field {
  border-bottom: 1px solid var(--edublink-color-border);
  border-radius: 0 0 0 1rem;
  border-right: none;
}

#billing_wrapper_start_field ~ #billing_nip_field {
  border-bottom: 1px solid var(--edublink-color-border);
  border-radius: 0 0 1rem 0;
  border-left: none;
}

#billing_wrapper_start_field ~ #billing_faktura_person_info_field {
  border-bottom: 1px solid var(--edublink-color-border);
  border-radius: 0 0 1rem 1rem;
  padding-bottom: 1.6rem;
}

@media screen and (max-width: 575px) {
  #billing_wrapper_start_field ~ #billing_company_field,
  #billing_wrapper_start_field ~ #billing_nip_field {
    width: auto;
  }

  #billing_wrapper_start_field ~ #billing_company_field {
    border-right: 1px solid var(--edublink-color-border);
    border-bottom: none;
    margin-bottom: 0;
    border-radius: 0;
  }

  #billing_wrapper_start_field ~ #billing_nip_field {
    border-left: 1px solid var(--edublink-color-border);
    border-bottom-left-radius: 1rem;
  }
}

/* =============================================
   Order confirmation – thank-you page
   ============================================= */

/* Notice: subtle light box instead of big bold centred text */
.woocommerce-order .woocommerce-notice {
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-primary-black);
  text-align: left;
  background: #f8f9fa;
  border: 1px solid var(--edublink-color-border);
  border-radius: 5px;
  padding: 1.4rem 2rem;
  margin-bottom: 3rem;
}

/* Order overview – card grid (label on top, value below) */
.woocommerce-order ul.woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 3rem;
  padding: 0;
  background: #fff;
  border: 1px solid var(--edublink-color-border);
  border-radius: 5px;
  overflow: hidden;
}

.woocommerce-order ul.woocommerce-order-overview li {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 1.6rem 2rem;
  border-right: 1px solid var(--edublink-color-border);
  font-size: 1.4rem;
  color: #888;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.woocommerce-order ul.woocommerce-order-overview li:last-child {
  border-right: none;
}

.woocommerce-order ul.woocommerce-order-overview li strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary-black);
  text-transform: none;
  letter-spacing: 0;
}

@media (max-width: 600px) {
  .woocommerce-order ul.woocommerce-order-overview {
    flex-direction: column;
  }

  .woocommerce-order ul.woocommerce-order-overview li {
    border-right: none;
    border-bottom: 1px solid var(--edublink-color-border);
  }

  .woocommerce-order ul.woocommerce-order-overview li:last-child {
    border-bottom: none;
  }
}

/* =============================================
   Thank-you card – custom confirmation banner
   ============================================= */

.tulirytmika-thank-you-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3.2rem;
  background: #fff;
  border: 1px solid var(--edublink-color-border);
  border-radius: 10px;
  padding: 3.2rem;
  margin-bottom: 3rem;
  overflow: clip;
}

/* ---- illustration column ---- */
.tulirytmika-thank-you-card__illustration {
  position: relative;
  flex-shrink: 0;
  width: 22rem;
  min-height: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tulirytmika-thank-you-card__cloud {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translate(-40%, 40%);
  width: fit-content;
  height: fit-content;
  color: var(--color-light-blue);
}

.tulirytmika-thank-you-card__cloud img {
  width: 100%;
  height: auto;
  max-height: 20rem;
}

.tulirytmika-thank-you-card__checkmark {
  position: relative;
  z-index: 1;
  width: 12.5rem;
  height: 12.5rem;
  border-radius: 50%;
  background: var(--color-light-blue);
  border: 2px solid var(--color-light-blue);
  outline: 1rem solid #fff;
  outline-offset: -1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.tulirytmika-thank-you-card__checkmark img {
  width: 4.8rem;
  height: 4.8rem;
}

.tulirytmika-thank-you-card__decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tulirytmika-thank-you-card__deco {
  position: absolute;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
}

.tulirytmika-thank-you-card__deco--star {
  top: 55%;
  left: 0.6rem;
}

.tulirytmika-thank-you-card__deco--star-2 {
  top: 10%;
  right: 0.6rem;
}

.tulirytmika-thank-you-card__deco--note {
  bottom: 3rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
}

.tulirytmika-thank-you-card__deco--dots {
  top: 15%;
  left: 1.5rem;
}

/* ---- content column ---- */
.tulirytmika-thank-you-card__content {
  flex: 1;
  min-width: 0;
  padding-block: 3.2rem;
  padding-right: 3.2rem;
  border-right: 1px solid var(--edublink-color-border);
}

.tulirytmika-thank-you-card__title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-primary-black);
  margin: 0 0 1.2rem;
}

.tulirytmika-thank-you-card__text {
  color: var(--edublink-color-body);
}

.tulirytmika-thank-you-card__text:last-child {
  margin-bottom: 0;
}

/* ---- actions column ---- */
.tulirytmika-thank-you-card__actions {
  flex-basis: 35rem;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.tulirytmika-thank-you-card .edu-btn {
  display: inline-flex;
  align-items: center;
  font-size: 2rem;
  gap: 1rem;
  width: fit-content;
}

.tulirytmika-thank-you-card__button-icon {
  flex-shrink: 0;
}

.tulirytmika-thank-you-card__button-icon img {
  width: 1em;
  height: 1em;
  border-radius: 0 !important;
}

.tulirytmika-thank-you-card__hint {
  margin: 0;
  color: var(--edublink-color-body);
}

/* ---- responsive ---- */
@media (max-width: 991px) {
  .tulirytmika-thank-you-card {
    flex-direction: column;
    text-align: center;
    gap: 2.4rem;
    padding: 2.4rem;
  }

  .tulirytmika-thank-you-card__illustration {
    width: 160px;
    min-height: 120px;
  }

  .tulirytmika-thank-you-card__cloud {
    top: 0;
    transform: translate(40%, 40%);
    rotate: 180deg;
  }

  .tulirytmika-thank-you-card__checkmark {
    width: 8rem;
    height: 8rem;
  }

  .tulirytmika-thank-you-card__checkmark img {
    width: 3.2rem;
    height: 3.2rem;
  }

  .tulirytmika-thank-you-card__content {
    padding: 0 0 2.4rem 0;
    border-right: none;
    border-bottom: 1px solid var(--edublink-color-border);
  }

  .tulirytmika-thank-you-card__actions {
    flex-basis: auto;
    align-items: center;
  }

  .tulirytmika-thank-you-card .edu-btn {
    font-size: 1.8rem;
  }
}

/* Order details section headings */
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1.6rem;
}

/* Order details table – new Ilość / Cena / Suma columns */
.woocommerce-order ul.woocommerce-order-overview li {
  flex-basis: auto;
  margin: 0;
}

.woocommerce-order .woocommerce-order-details__table-wrapper {
  overflow-x: auto;
}

.woocommerce-order .woocommerce-table--order-details thead {
  background: #f8f9fa;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead th {
  min-width: 12rem;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details thead th:first-child {
  text-align: start;
}

.woocommerce-table.woocommerce-table--order-details.shop_table.order_details tfoot th {
  text-align: end;
}

.woocommerce-order .woocommerce-table--order-details .product-qty,
.woocommerce-order .woocommerce-table--order-details .product-price,
.woocommerce-order .woocommerce-table--order-details .product-total {
  text-align: center;
  white-space: nowrap;
}

.woocommerce-order .woocommerce-table--order-details tfoot th[colspan='3'] {
  text-align: right;
}

@media (max-width: 767px) {
  .woocommerce table.shop_table > tbody > tr > td.product-name {
    min-width: 20rem;
  }
}

/* Payment + notes meta table */
.woocommerce-order .tulirytmika-order-meta-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--edublink-color-border);
  border-top: none;
}

.woocommerce-order .tulirytmika-order-meta-table tr {
  background-color: #f8f9fa !important;
}

.woocommerce-order .tulirytmika-order-meta-table td.tulirytmika-order-meta-table__cell {
  padding: 1.6rem 2rem;
  vertical-align: top;
  text-align: start;
  width: 50%;
  border-right: 1px solid var(--edublink-color-border);
  border-top: none;
}

.woocommerce-order .tulirytmika-order-meta-table td.tulirytmika-order-meta-table__cell:last-child {
  border-right: none;
}

.woocommerce-order .tulirytmika-order-meta-table td.tulirytmika-order-meta-table__cell strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary-black);
  margin-bottom: 4px;
}

.woocommerce-order .tulirytmika-order-meta-table td.tulirytmika-order-meta-table__cell span {
  font-size: 1.5rem;
  color: var(--color-primary-black);
}

/* Billing address box */
.woocommerce-order .woocommerce-customer-details address {
  background: #fff;
  border: 1px solid var(--edublink-color-border);
  border-radius: 5px;
  padding: 2rem 2.4rem;
  font-style: normal;
  line-height: 1.8;
}

/* Login */
.learn-press-form .form-fields .form-field label {
  font-weight: 400;
  font-style: initial;
}

.learn-press-form form p:not(:last-child) {
  margin-bottom: 2rem;
}

#checkout-account-login .lp-checkout-sign-up-link,
#checkout-account-register .lp-checkout-sign-in-link,
#checkout-account-login .lp-checkout-sign-up-link a label,
#checkout-account-register .lp-checkout-sign-in-link a label {
  font-weight: 500 !important;
  font-size: 2rem;
}

.woocommerce-account .learn-press-form form input {
  border: revert;
  border-radius: revert;
  width: revert;
  height: revert;
}

.learn-press-form-register form.register {
  padding: 0;
  border: none;
}

.learn-press-form-register form.register button[type='submit']:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Price list */
.elementor-widget-edublink-pricing-table,
.elementor-widget-edublink-pricing-table .eb-pricing-table-wrapper {
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.elementor-widget-edublink-pricing-table:hover {
  transform: scale(1.025);
}

.elementor-widget-edublink-pricing-table .eb-pricing-table-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.elementor-widget-edublink-pricing-table .eb-pricing-table-wrapper .pricing-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  margin-top: auto;
  width: fit-content;
}

.edu-link {
  font-size: 1.8rem;
  font-weight: 500;
  font-family: var(--edublink-font-secondary);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.edu-link .eb-pricing-button_icon {
  position: relative;
  top: 0.2rem;
}

.elementor-widget-edublink-pricing-table .eb-pricing-table-wrapper .duration {
  font-size: 2.4rem !important;
}

/* Course page */
@media (max-width: 992px) {
  .single-lp_course .edublink-row .ed-course-sidebar {
    order: -9999;
  }
}

.single-lp_course .edublink-row .ed-course-sidebar .edublink-course-feature-item-value {
  text-align: right;
}

.single-lp_course .edublink-yoast-breadcrumb {
  display: none;
}

.single-lp_course .lp-modal-dialog .lp-modal-header {
  background-color: var(--edublink-color-primary);
}

.single-lp_course .lp-modal-dialog .lp-modal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
}

.single-lp_course .lp-modal-dialog .lp-modal-footer .lp-button {
  margin: 0 !important;
}

.eb-course-single-4-preview .edublink-course-details-card-preview:after,
.edublink-course-details-sidebar .edublink-course-details-card-preview:after {
  display: none;
}

body.learnpress-page .edublink-course-details-page {
  padding-top: 40px;
}

body.learnpress-page .edublink-course-details-sidebar {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  body.learnpress-page .edublink-course-details-sidebar {
    margin-top: -300px;
  }
}

.single-lp_course
  .course-curriculum
  a.course-item__link:has(.course-item-ico.completed:not(.in-progress))
  .course-item-title {
  color: var(--edublink-color-body);
  text-decoration: line-through;
}

.single-lp_course .course-curriculum .course-item {
  color: var(--color-primary-black);
}

.single-lp_course .course-curriculum .course-item.current {
  font-weight: 600;
}

.single-lp_course #learn-press-content-item .learn-press-form.form-button {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

.single-lp_course #learn-press-content-item .form-button-finish-course {
  display: none;
}

@media screen and (min-width: 1620px) {
  .single-lp_course #popup-header .form-button-finish-course {
    position: absolute;
    top: 50%;
    right: 8rem;
    transform: translateY(-50%);
  }
}

.single-lp_course #popup-header .form-button-finish-course .lp-btn-finish-course {
  margin: 0 !important;
  padding: 12px 30px;
  line-height: 1.25;
}

.single-lp_course .edublink-course-details-sidebar .lp-course-buttons > .lp-button:last-child {
  margin: 0 !important;
}

.single-lp_course .edublink-course-details-sidebar .lp-course-buttons .lp-button {
  width: 100%;
}

ul.tutor-course-details-widget-list li:after,
.edublink-ul-style-check li:after {
  content: url('/wp-content/uploads/2026/08/check.svg');
}

.courses-container s {
  color: #8a90a0;
  font-size: 2rem;
  font-family: var(--edublink-font-secondary);
}

.courses-container .pre-heading {
  font-family: var(--edublink-font-secondary);
}

.courses-container .elementor-widget-edublink-button .edublink-button-item {
  width: 100%;
}

/* Profile */
.profile-recover-order,
.form-field.form-field__profile-social,
.form-field.form-field__bio {
  display: none;
}

#learn-press-profile-basic-information {
  display: flex;
  flex-direction: column;
  justify-content: start;
}

#learn-press-profile-basic-information button[type='submit'] {
  width: fit-content;
}

.learn-press-form .form-fields .form-field input[type='tel'] {
  height: 60px;
  padding: 0 30px !important;
  width: 100%;
  margin-bottom: 30px;
  background: var(--edublink-color-white);
  border: 0;
  font-family: var(--edublink-font-primary);
  font-weight: 400;
  border: 1px solid transparent;
  border-radius: 5px;
  transition: 0.3s;
  box-shadow: var(--edublink-shadow-darker);
  font-size: 15px;
}

#learn-press-profile .learn-press-profile-course__statistic {
  display: none;
}

body .lp-user-profile #profile-content-settings .learn-press-form .form-fields .form-field .form-field-input input {
  margin-bottom: 0;
}

/* Contact Form */
.edublink-contact-form-single-item-content.edublink-contact-form-single-item-content input,
.edublink-contact-form-single-item-content.edublink-contact-form-single-item-content textarea {
  border-color: var(--edublink-color-border);
}

.eb-contact-me-form .edublink-contact-form-single-item.eb-contact-button.eb-contact-button {
  width: 100%;
}

.edublink-contact-form-wrapper .edublink-row,
.edublink-contact-form-wrapper .edublink-row .edublink-col-lg-6 {
  margin-bottom: 0px !important;
}

.edublink-contact-form-single-item.eb-contact-button input[type='submit'],
.edublink-contact-form-single-item.eb-contact-button p,
.edublink-contact-form-single-item .eb-contact-button-wrapper {
  width: 100%;
  height: 100%;
}

.eb-contact-me-form .edublink-contact-form-single-item.eb-contact-button.eb-contact-button {
  padding: 0;
}

.edublink-contact-form-single-item.eb-contact-button .eb-contact-button-wrapper::after {
  right: calc(50% - 4rem);
}

.edublink-contact-form-wrapper .wpcf7 .wpcf7-form.submitting .wpcf7-spinner {
  display: inline-block;
  visibility: visible;
  margin-inline: auto;
  position: absolute;
  right: calc(50% - 8rem);
  top: 50%;
  transform: translateY(-50%);
}

.edublink-contact-form-wrapper .wpcf7 .wpcf7-list-item input[type='checkbox'] {
  width: 20px;
  height: 20px;
  transform: translateY(0.25em);
  margin-right: 0.25em;
}

.edublink-contact-form-wrapper .wpcf7 .wpcf7-list-item input[type='checkbox']:focus-visible {
  outline-width: 3px;
  outline-style: solid;
  outline-color: var(--edublink-color-primary);
}

.edublink-contact-form-wrapper .wpcf7 .wpcf7-list-item {
  margin: 0;
}

.edublink-contact-form-wrapper .wpcf7 .wpcf7-list-item .wpcf7-list-item-label a {
  color: var(--edublink-color-primary);
  text-decoration: underline;
}

.edublink-contact-form-wrapper .wpcf7 .wpcf7-list-item .wpcf7-list-item-label a:hover {
  text-decoration: none;
}

/* 404 */
.error404 .thumbnail {
  display: none;
}

/* Menu */

/* gdy header sticky — zarezerwuj jego wysokość w flow */
body:has(header.edublink-header-sticky)::before {
  content: '';
  display: block;
  height: 8rem;
}

.site-header .edublink-header-area .edublink-header-right-side {
  margin-left: 0;
}

.site-header .edublink-header-area .edu-btn a,
.edublink-mobile-menu .edu-btn a {
  position: relative !important;
  border-radius: 3rem 0.5rem !important;
  padding: 2rem 3rem !important;
  padding-right: 4.6rem !important;
  margin: auto 0 !important;
  margin-left: 2rem !important;
  text-align: center;
  border-radius: 5px;
  display: inline-flex;
  height: 60px;
  line-height: 1 !important;
  color: var(--edublink-color-white) !important;
  background: var(--edublink-color-primary) !important;
  font-size: 15px;
  font-weight: 500;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  font-family: var(--edublink-font-secondary);
  border: 0 none;
  overflow: hidden;
  position: relative;
  z-index: 1;
  height: auto !important;
}

.site-header .edublink-header-area .edu-btn a:hover,
.edublink-mobile-menu .edu-btn a:hover {
  border-radius: 0.5rem 3rem !important;
}

.edublink-header-area .edu-btn a::before,
.edublink-mobile-menu .edu-btn a::before {
  position: absolute;
  right: 1.8rem;
  color: inherit !important;
  top: 50%;
  transform: translate(0, -55%);
  display: inline-block;
  content: '\e903';
  font-family: 'icomoon' !important;
  font-size: 11px;
  speak: never;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}

.site-header .edublink-header-area ul.edublink-navbar-nav > li.menu-item.edu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.edublink-mobile-menu .edu-btn a {
  margin-top: 2rem !important;
  margin-left: 0 !important;
}

/* Logo */
.logo-wrapper,
.edublink-site-logo-widget-container {
  max-width: 20rem;
  max-height: 8rem;
}

.logo-wrapper .navbar-brand.site-main-logo,
.edublink-site-logo-widget-container .edublink-site-main-logo,
.edublink-site-logo-widget-container a {
  display: flex;
  max-height: inherit;
}

.logo-wrapper .site-logo,
.edublink-site-logo-widget-container img {
  max-height: inherit;
  max-width: 15rem;
}

.edublink-site-logo-widget-container img {
  width: 15rem;
}

/* Courses */
/* .edublink-course-page-header {
	background-color: var(--color-primary-yellow);
} */

/* Default Theme styles */
@media (min-width: 1200px) {
  .eb-course-thumb-400 .edublink-single-course.course-style-5 img {
    min-height: 400px;
    object-fit: cover;
  }
}

.eb-instagram-grid.edublink-row {
  margin-right: -7.5px;
  margin-left: -7.5px;
}

.eb-instagram-grid .edublink-col-md-4 {
  padding-right: 5px;
  padding-left: 5px;
}

/*===Photography===*/
.edublink-pagination-box-wrap {
  position: relative;
}

.edublink-pagination-box-wrap::before,
.edublink-pagination-box-wrap::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  bottom: 0;
  left: 0;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.edublink-pagination-box-wrap::before {
  -webkit-animation: ripple_2 3s linear infinite;
  animation: ripple_2 3s linear infinite;
}

.edublink-pagination-box-wrap::after {
  -webkit-animation: ripple_2 3s linear 1s infinite;
  animation: ripple_2 3s linear 1s infinite;
}

#dashboard-statistic {
  display: none;
}

#profile-content .learn-press-tabs {
  display: none;
}

#checkout-account-login .lp-checkout-sign-up-link {
  margin-bottom: 32px;
}

.woocommerce-terms-and-conditions-wrapper {
  margin-bottom: 20px;
}

.woocommerce-checkout-review-order .shop_table.woocommerce-checkout-review-order-table .cart_item .product-total {
  min-width: 100px;
}

.woocommerce-error a * {
  color: #ffffff;
}

.woocommerce-error a:hover {
  color: #ffffff;
}

/* =============================================
   Profile – LP item cards (tulirytmika-lp-card)
   Used by: Courses tab, Quizzes tab
   ============================================= */

.lp-user-profile .lp-profile-content .tulirytmika-lp-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card {
  background: var(--edublink-color-white);
  border: 1px solid var(--edublink-color-border);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: var(--edublink-shadow-darker3);
}

/* ---- top: image + title ---- */
.lp-user-profile .lp-profile-content .tulirytmika-lp-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--edublink-color-border);
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__img {
  width: 120px;
  flex-shrink: 0;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__img img {
  width: 120px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-primary-black);
  text-decoration: none;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__title:hover {
  color: var(--color-primary-blue);
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__title .course-title {
  font-size: inherit;
  font-weight: inherit;
}

/* ---- bottom: meta + button ---- */
.lp-user-profile .lp-profile-content .tulirytmika-lp-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__meta {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__meta-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 160px;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__meta-row dt {
  font-size: 12px;
  color: var(--edublink-color-body);
  white-space: nowrap;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__meta-row dd {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary-black);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__btn {
  flex-shrink: 0;
  white-space: nowrap;
  margin-top: 0;
  font-size: inherit !important;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card__btn:hover {
  background: var(--edublink-color-primary);
  color: var(--edublink-color-white);
}

/* ---- quiz status badge ---- */
.lp-user-profile .lp-profile-content .tulirytmika-lp-card .lp-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: #e9e9e9;
  color: #555;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card .lp-label.label-passed:not(.label-failed),
.lp-user-profile .lp-profile-content .tulirytmika-lp-card .lp-label.label-completed:not(.label-failed) {
  background: #d4f5e2;
  color: #1a7a45;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card .lp-label.label-failed {
  background: #fde8e8;
  color: #b91c1c;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-card .lp-label.label-started {
  background: #dbeafe;
  color: #1d4ed8;
}

.lp-user-profile .lp-profile-content .tulirytmika-lp-cards-nav {
  margin-top: 32px;
}

.quiz-intro {
  justify-content: center;
}

/* ---- responsive ---- */
@media (max-width: 600px) {
  .lp-user-profile .lp-profile-content .tulirytmika-lp-card__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-user-profile .lp-profile-content .tulirytmika-lp-card__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .lp-user-profile .lp-profile-content .tulirytmika-lp-card__btn {
    width: 100%;
    text-align: center;
  }
}

/* Lost Password Page */
.woocommerce-lost-password .edublink-main-content-inner {
  padding-bottom: 0;
}

.woocommerce-lost-password .lost_reset_password {
  width: 100%;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.08) !important;
  padding: 48px;
  border-radius: 12px;
  background-color: var(--edublink-color-white);
  border: inherit;
  max-width: 555px;
  margin-left: auto;
  margin-right: auto;
}

.reset-card-header {
  text-align: center;
  margin-bottom: 30px;
}

.reset-icon-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

.reset-icon-wrapper svg {
  width: 64px;
  height: 64px;
}

.reset-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.reset-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 0;
}

.woocommerce-lost-password .lost_reset_password label {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 8px;
  display: block;
}

.input-with-icon {
  position: relative;
  display: block;
}

.input-with-icon .user-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-with-icon input.input-text {
  padding-left: 48px !important;
  border-radius: 8px;
  border: 1px solid var(--edublink-color-border);
}

.input-with-icon input.input-text::placeholder {
  color: #9ca3af;
  font-size: 14px;
}

.woocommerce-lost-password .lost_reset_password .form-row:has(button[type='submit']) {
  margin-bottom: 0;
}

.woocommerce-lost-password .lost_reset_password .form-row button[type='submit'] {
  margin-bottom: 0 !important;
  width: 100%;
}

.woocommerce-lost-password .lost_reset_password .form-row button[type='submit']:disabled {
  padding: 0 30px;
}

@media (max-width: 600px) {
  .woocommerce-lost-password .lost_reset_password {
    padding: 32px 24px;
  }
}

/* Quiz Result Certificate Injection */
.quiz-result-certificate {
  margin: 30px 0;
}
.certificate-info-box {
  background-color: #f6faff;
  border: 1px solid #c8dcf6;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  color: var(--color-primary-blue);
  border-radius: 4px;
  margin-bottom: 24px;
  position: relative;
}
.cert-info-icon {
  color: var(--color-primary-blue);
  flex-shrink: 0;
  background: var(--color-primary-blue);
  color: #fff;
  border-radius: 50%;
  padding: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(13, 110, 253, 0.2);
}
.cert-info-text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
.cert-info-small {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 400;
  color: #6c757d;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}
.cert-info-small-icon {
  width: 16px;
  height: 16px;
  color: #6c757d;
}
.cert-info-pointing-arrow {
  position: absolute;
  top: 70%;
  left: 50px;
}
.cert-info-pointing-arrow svg {
  width: auto;
  max-height: 100px;
}
.certificate-cta .form-button-finish-course {
  display: block !important;
  float: none !important;
}
#learn-press-quiz-app .certificate-cta .lp-btn-finish-course {
  background-color: var(--color-primary-yellow) !important;
  border-radius: 6px !important;
  transition: all 0.3s ease;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 16px 24px !important;
  cursor: pointer;
  text-align: left;
  height: auto !important;
  line-height: 1.2 !important;
  margin: 0 auto !important;
}
.certificate-cta .btn-icon svg {
  width: 24px;
  height: 24px;
}
.certificate-cta .btn-text {
  display: flex;
  flex-direction: column;
  font-size: 16px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
.certificate-cta .btn-text small {
  font-size: 13px;
  font-weight: 500;
  text-shadow: none;
  opacity: 0.9;
}
@media (max-width: 600px) {
  .certificate-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }
  .cert-info-small {
    justify-content: center;
  }
  .certificate-cta .lp-btn-finish-course {
    flex-direction: column;
    text-align: center;
  }
}
