/*
 Theme Name: Hello Elementor Child
 Theme URI: https://example.com
 Description: Child tema za Hello Elementor
 Author: Your Name
 Author URI: https://example.com
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-child
 Requires at least: 6.0
 Requires PHP: 8.0
*/



:root {
  /* Colors */
  --color-primary-green: #B3BC35;
  --color-text-dark: #1a1a1a;
  --color-text-light: #ffffff;
  --color-bg-light: #f9f9f9;

  /* Shadows */
  --shadow-card: 0 4px 25px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-base: all 0.3s ease;

  /* Border radius */
  --radius-lg: 16px;
  --radius-md: 10px;

  /* Spacing */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
}

.card, .filter-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
}

summary.e-n-accordion-item-title {
  background: var(--color-bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-base);
  padding: ;
}

.after-price-label {
    font-size: 20px;
    margin-left: 6px;
    white-space: nowrap;
    font-weight: 500;
    color: #b3bc35;
}
.elementor-widget-woocommerce-product-price .after-price-label {
    font-weight: 700;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.text-green {
  color: var(--color-primary-green);
}

.text-dark {
  color: var(--color-text-dark);
}

.text-light {
  color: var(--color-text-light);
}



/*dodatki produkta*/
.wapf-field-label.wapf--above {font-weight: bold;}
.wapf-label-text {font-size: 1rem;}
.wapf-field-input input[type=checkbox], .wapf-field-input input[type=radio] {margin: 2px; transform: scale(1.5);}
/*quantity*/
.woopq-quantity-input-plus, .woopq-quantity-input-minus {border-radius: 50%;}
@media (max-width: 767px) {.woopq-quantity-input {justify-content: flex-end;}}

span.woocommerce-Price-amount.amount {font-weight: 700;}
.page-id-1222 span.woocommerce-Price-amount.amount {font-weight: 700!important;}
.page-id-1222 th.woocommerce-table__product-name.product-name {font-weight: 700 !important; color: #074734 !important;}
.page-id-1222 th.woocommerce-table__product-table.product-total {font-weight: 700 !important; color: #074734 !important;}
.elementor-widget-woocommerce-checkout-page a {font-size: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);}
.e-coupon-anchor-description {display: none;}
button.woocommerce-button.button.e-apply-coupon {padding: 1rem 3rem; border-radius: 0.5rem;  border: none; background-color: #B3BC35; color: white; font-weight: 400; font-size:clamp(0.875rem, 0.8rem + 0.4vw, 1rem);}
button.woocommerce-button.button.e-apply-coupon:hover {background-color: #074734; color: white;}


/* Prevent zoom cursor */
.woocommerce-product-gallery__image a {
    pointer-events: none;
    cursor: default !important;
}


/*filter*/


.wpc-filters-open-button-container a.wpc-open-close-filters-button {border: 1px solid #074734!important; border-radius: 0.875rem!important; padding: 1rem 2rem!important; color: #074734!important; font-weight: 500!important;}

.wapf .wapf-wrapper{
  display: none !important;
  visibility: hidden;
  opacity: 0;
}

.show-wapf-wrapper .wapf .wapf-wrapper{
  display: block !important;
  visibility: visible;
  opacity: 1;
}

.wapf .wapf-product-totals{
  display: block !important;
  visibility: visible;
  opacity: 1;
}
/*.wapf-hidden .wapf .wapf-wrapper{
	display: none !important;
	visibility: hidden;
	opacity: 0;
}*/
	/*order: 2;*/

.wapf-product-totals .wapf--inner{
	padding: 0 0 30px 0;
}
.woocommerce div.product div.images img{
  border-radius: 14px;
}
.single .woocommerce-product-gallery{
  margin-bottom: 0px !important;
}

.sib-default-btn{
  background-color: #b3bc35 !important;
  border-color: #b3bc35 !important;
  padding: 10px 25px;
}
.sib-default-btn:hover{
  transform: none !important;
}
.wapf-selected-options {
  margin-top: 0.35rem;
  font-size: 13px;
  color: #1f2c3b;
}

.wapf-selected-option {
  display: block;
  line-height: 1.3;
  color: #627384;
  font-size: 14px;
  font-weight: 400;
}

.opis-izdelka p {
    padding: 5px 0px;
}

.woocommerce-privacy-policy-text p, .woocommerce-privacy-policy-text a {
    font-size: 12px !important;
}
.woocommerce-terms-and-conditions-wrapper{
  padding-bottom: 20px;
}

/* vsaka vrstica z "Izdelek / Dodatki / Skupna cena" naj bo flex */
.wapf--inner > div {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap; /* omogoči drugo vrstico */
}

/* seznam izbranih dodatkov naj gre v svojo vrstico pod ceno */
.wapf--inner .wapf-selected-options {
  flex: 0 0 100%;
  margin-top: 4px;
  text-align: left;
  font-size: 13px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price {
    color: #B3BC35;
    font-size: 1.25em;
    font-weight: 600;
}

/*Woocommerce message*/

.woocommerce-message{
	border-top-color: #B3BC35;
	margin: 0px !important;
	font-size: 16px;
}
.woocommerce-message:focus-visible {
    outline: none;
}
.woocommerce-message::before{
	color: #B3BC35;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button{background-color: #B3BC35; color: #fff; font-weight: 400; font-size: 16px;}

/*Trgovina*/

.wapf--inner > div:nth-child(1) .wapf-total, .wapf--inner > div:nth-child(2) .wapf-total{color: #69727d !important;}
.wapf--inner > div:nth-child(1),
.wapf--inner > div:nth-child(2){
  font-size:14px;
}
.show-wapf-wrapper .wapf--inner > div:nth-child(1),
.show-wapf-wrapper .wapf--inner > div:nth-child(2){
  display: none !important;
}
.show-wapf-wrapper .wapf-field-label .required,
.show-wapf-wrapper .wapf-field-label .wapf-pricing-hint{
  display: none !important;
}
.show-wapf-wrapper .wapf-field-label span{
  color: #1f2c3b;
  font-size: 16px;
  font-weight: 700;
}
.wapf-product-totals .wapf--inner>div{padding-bottom: 5px !important;}

.limit_check_text{color: #fff !important;}
.instalment_calc{font-size: 14px !important; color: #627384 !important;}
/* parent */
.elementor-add-to-cart.elementor-product-variable, .elementor-add-to-cart.elementor-product-simple{
  display: flex;
  flex-direction: column; /* keep vertical stacking */
}

.leanpay_product_or_txt{
  font-size: 1rem !important;
}

/* child 1: the form goes first */
.elementor-add-to-cart.elementor-product-variable > form.variations_form.cart, .elementor-add-to-cart.elementor-product-simple > form.variations_form.cart{
  order: 1;
}

/* child 2: leanpay wrapper goes second */
.elementor-add-to-cart.elementor-product-variable > .leanpay-product-price-wrapp, .elementor-add-to-cart.elementor-product-simple > .leanpay-product-price-wrapp{
  order: 2;
  margin-top: 30px;
}



/*Filter*/
.filter-card .wpc-filter-title{font-family: "Playfair Display"; color:#1F2C3B; font-size: 24px; font-weight: 500; padding-bottom: 15px;}
.filter-card .wpc-filter-link{color:#1F2C3B !important; font-size: 16px;}
.filter-card .ui-slider-range{background-color: #B3BC35 !important;}
.wpc-filters-main-wrap input[type=radio]:hover, .wpc-filters-main-wrap input[type=checkbox]:hover, .wpc-sorting-form .select2-container--default .select2-selection--single:hover, .wpc-filters-widget-content input[type=email]:hover, .wpc-filters-widget-content input[type=number]:hover, .wpc-filters-widget-content input[type=password]:hover, .wpc-filters-widget-content input[type=search]:hover, .wpc-filters-widget-content input[type=tel]:hover, .wpc-filters-widget-content input[type=text]:hover, .wpc-filters-widget-content input[type=url]:hover{border-color: rgba(131, 196, 113, 0.5) !important;}

.reset_variations,
.woocommerce-variation-price{
  display: none !important;
}
.woocommerce-variation.single_variation .woocommerce-variation-price{display: block !important; padding-bottom: 30px;}

.variations th.label, .variations td.value{
  padding: 0px !important;
  text-align: left;
  background-color: transparent !important;
}

html {
  scrollbar-gutter: stable;
}

body {
  overflow-y: auto; 
}

body.body-locked {
  overflow: hidden;er */
}

@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; } 
  body.body-locked { overflow: hidden; }
}

body.body-locked::-webkit-scrollbar { width: 16px; }
body.body-locked::-webkit-scrollbar-thumb,
body.body-locked::-webkit-scrollbar-track { background: transparent; }
body.body-locked { scrollbar-color: transparent transparent; }

.hidden-text-p p{font-size: 16px !important;}
.addon-box__btn-txt{color: #fff !important; cursor: pointer;}
.open-modal{cursor: pointer;}

/* osnovna sekcija: full screen overlay */
.hidden-section {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* aktivna sekcija */
.hidden-section.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Elementor container = 2 stolpca levo / desno */
.hidden-section .elementor-container {
  width: 100%;
  display: flex;
}

/* levi stolpec = overlay */
.hidden-section .elementor-column:first-child {
  flex: 1 1 auto;
  background: transparent;
  transition: background 0.3s ease;
}

/* ko je sekcija odprta, dobi barvo #1F2C3BBF */
.hidden-section.is-active .elementor-column:first-child {
  background: rgba(31, 44, 59, 0.75); /* #1F2C3BBF */
}

/* desni stolpec = panel z vsebino, start off-screen desno */
.hidden-section .elementor-column:last-child {
  flex: 0 0 50vw;
  max-width: 50vw;
  background: #fff;
  margin-left: auto;
  display: block;
  opacity: 0;
}

@-webkit-keyframes slide-in-right{0%{-webkit-transform:translateX(1000px);transform:translateX(1000px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@keyframes slide-in-right{0%{-webkit-transform:translateX(1000px);transform:translateX(1000px);opacity:0}100%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}}@-webkit-keyframes slide-out-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(1000px);transform:translateX(1000px);opacity:0}}@keyframes slide-out-right{0%{-webkit-transform:translateX(0);transform:translateX(0);opacity:1}100%{-webkit-transform:translateX(1000px);transform:translateX(1000px);opacity:0}}.hidden-section.is-active .hidden-data-panel{-webkit-animation:slide-in-right .5s cubic-bezier(.25,.46,.45,.94) both;animation:slide-in-right .5s cubic-bezier(.25,.46,.45,.94) both}.hidden-section.is-closing .hidden-data-panel{-webkit-animation:slide-out-right .5s cubic-bezier(.55,.085,.68,.53) both;animation:slide-out-right .5s cubic-bezier(.55,.085,.68,.53) both}
.woocommerce span.onsale{
  background-color: #B3BC35 !important;
  padding: 7px !important;
  color: #fff !important;
}

/* mobilna širina panela */
@media (max-width: 767px) {
  .hidden-section .elementor-column:last-child {
    flex: 0 0 90vw;
    max-width: 90vw;
  }
  .single button [type="submit"], .cart .button{
      padding: 10px 15px !important;
      border-radius: 8px;
  }
}

body.hidden-section-open {
  overflow: hidden;
}

.popust{
  position: relative;
}
.overflow-visible{overflow: visible;}
.overflow-visible .swiper{overflow: visible !important;}
.popust::before{
  content: "POPUST\A- 10%";
  position: absolute;
  top: 25px;
  left: 25px;
  transform: translate(-35%, -35%);
  width: 72px;
  height: 72px;
  background: #b3bc35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 12px;
  line-height: 1.1;
  white-space: pre;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  z-index: 10;
}

.panel .quantity, .panel .single_add_to_cart_button{
	display: none !important;
	visibility: hidden;
	opacity: 0;
}
.product_cat-dodatna-oprema .popust::before{display: none !important;}
.close-modal{
  font-size: 20px;
  font-weight: 600;
  color: #1f2c3b;
}
.product_cat-polikarbonatni-rastlinjaki .elementor-widget-woocommerce-product-title{
  min-height: 54px;
}

.elementor-shape[data-negative=false].elementor-shape-bottom, .elementor-shape[data-negative=true].elementor-shape-top{
	transform: none !important;
}


/*Pogosta vprašanja*/
.faq {
  margin-top: 40px;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.faq-item h5 {
  margin: 0 0 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111111;
}

.faq-item p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #444444;
}



/* OPTIONAL: smooth disable of transitions for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hidden-section,
  .hidden-section::before,
  .hidden-section .panel {
    transition: none;
  }
}

.header-search input.e-search-input {
    background: rgba(63, 75, 91);
    font-size: 14px !important;
    line-height: 20px !important;
    height: 40px !important;
    max-height: 40px !important;
    min-height: 40px !important;
}

/*WC Price tables*/
/* Sekcija */
.pt {
  background: transparent;
  padding: 0;
}

/* Glava tabele */
.pt__head h3 {
  margin: 0 0 6px 0;
}
.pt__sub {
  color: #6b7280;
  margin: 0 0 14px 0;
}

/* Tabela in vrstice */
.pt__table {
  display: block;
}
.pt__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.7fr 0.7fr;
  align-items: center;
  padding: 14px 0;
  background: transparent;
  border-radius: 0;
  border-bottom: 1px solid #e9eef5;
  transition: background 0.15s ease;
}
.pt__row--head {
  padding: 0 0 10px 0;
  border-bottom: 1px solid #e1e7ee;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}
.pt__row--item {
  text-decoration: none;
  color: inherit;
}
.pt__row--item:hover {
  background: #f5f6f7;
}

/* Poravnave stolpcev */
.pt__row span:nth-child(1),
.pt__row span:nth-child(2) {
  text-align: left;
}
.pt__row span:nth-child(3),
.pt__row span:nth-child(4) {
  text-align: right;
}

/* Model */
.pt__row span:nth-child(1) {
  font-weight: 500;
}

/* Dimenzije – manjša pisava */
.pt__row span:nth-child(2) {
  font-size: 14px;
  color: #333;
}
.woopq-quantity-input .qty {
    border-color: transparent !important;
    background-color: transparent !important;
}

/* Cene */
.pt__price .price {
  font-weight: 700;
}
.woocommerce p.price{font-weight:700 !important;}
.pt__price .price--sale {
  font-weight: 700;
  color: #16a34a;
  margin-right: 8px;
}
.pt__price .price--reg {
  color: #6b7280;
  font-size: 14px;
}

/* Montaža */
.pt__install span.woocommerce-Price-amount.amount{
  font-weight: 400 !important;
}

/* Badge */
.pt__badge {
  font-size: 12px;
  background: #a3be59;
  color: #22350b;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 8px;
}

/* Responsive */
@media (max-width: 900px) {
  .pt__row {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .pt__row span:nth-child(4) {
    display: none;
  }
}


.elementor-menu-cart__main{
  width: 450px;
}

.addon-panel {

  background: #fff;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}

.addon-panel.is-active {
  display: block;
  opacity: 1;
}


.visible {
  display: block !important;
  opacity: 1 !important;
}


.section-toggle-btn a{
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* enak feeling kot aktivna kartica, z #B3BC35 */
.section-toggle-btn.is-active a{
  border: 1px solid #B3BC35 !important;
  background: #F7F9E6 !important;
  box-shadow: 0 0 0 1px rgba(179, 188, 53, 0.6) !important;
}
.section-toggle-btn.is-active .elementor-button, .section-toggle-btn.is-active .elementor-button-icon{color: #B3BC35 !important; font-weight: 500 !important; fill: #B3BC35 !important;}

/*.open-modal .elementor-button-icon {
    position: absolute;
    right: 15px;
    top: 15px;
}
.open-modal .elementor-button-text {
    position: absolute;
    left: 15px;
    top: 15px;
}*/

.addon-card--child {
  display: none;
}

.addon-card--child.is-visible {
  display: block;
}


/*Checkboxes*/

.addon-card {
  margin: 1rem 0;
}
.wapf-selected-separator {
  margin: 6px 0;
}

.addon-card__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 12px;
  border: 1px solid #dde3eb;
  background: #f9fbff;
  padding: 0.9rem 1.2rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.addon-card__check {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #cfd5e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}

.addon-card__check-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid transparent;
}

/* text */
.addon-card__content {
  flex: 1 1 auto;
}

.addon-card__title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.addon-card__subtitle {
  font-size: 13px;
  color: #6e7686;
}

.addon-card__price {
  font-weight: 600;
  font-size: 15px;
  color: #B3BC35;
  flex-shrink: 0;
}

/* hover */
.addon-card__inner:hover {
  border-color: #B3BC35;
  box-shadow: 0 0 0 1px rgba(179, 188, 53, 0.4);
}

/* aktivno stanje */
.addon-card.is-active .addon-card__inner {
  border-color: #B3BC35;
  background: #F7F9E6;
  box-shadow: 0 0 0 1px rgba(179, 188, 53, 0.6);
}

.addon-card.is-active .addon-card__check {
  background: #E8EDB5;
  border-color: #B3BC35;
}

.addon-card.is-active .addon-card__check-icon {
  border-color: #1f2c3b;
  border-radius: 3px;
  position: relative;
}

.addon-card.is-active .addon-card__check-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  border-left: 2px solid #1f2c3b;
  border-bottom: 2px solid #1f2c3b;
  transform: rotate(-45deg);
  top: 3px;
  left: 2px;
}

.ui-state-default, .ui-widget-content .ui-state-default{
  background: #f6f6f6 !important;
}


/*Checkout and cart*/
.elementor-menu-cart__footer-buttons .elementor-button--checkout{background-color: #1F2C3B !important;}
.woocommerce td.product-name dl.variation dt, .woocommerce-cart-form__cart-item .variation dt, .elementor-menu-cart__product .variation dt{display: none !important;}
.woocommerce td.product-name .wc-item-meta dd,.woocommerce td.product-name dl.variation dd, .variation .wapf-pricing-hint{font-size: 14px !important;}
dl.variation{padding-top: 10px;}