/*
File Name: style.css
Theme Name:  NaturaLife - Child Theme
Author: RT-Themes
Version: 1.0
Author URI: http://themeforest.net/user/stmcan
Theme URI: http://themeforest.net/user/stmcan
Description: Designed and developed by RT-Themes - <a href="http://themeforest.net/user/stmcan">stmcan</a>
License: GNU General Public License
License URI: /Licensing/gpl.txt
Text Domain: naturalife
Template: naturalife
*/

body,
button,
input,
textarea,
.tbk-header-main,
.tbk-footer-main {
  font-family: "DM Sans", sans-serif;
}

/* Taubek homepage – Elementor containers, scoped classes */
.tbk-hero,.tbk-section,.tbk-brands{font-family:Arial,Helvetica,sans-serif;color:#151712}
.tbk-hero{min-height:540px;align-items:center;gap:35px;padding:55px max(35px,calc((100vw - 1200px)/2));background:#f5eee8}
.tbk-hero .elementor-heading-title,.tbk-section .elementor-heading-title{color:#111}
.tbk-hero h1,.tbk-section> .e-con-inner > .elementor-widget-heading h2,.tbk-section > .elementor-widget-heading h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em}
.tbk-hero h1{font-size:clamp(42px,4.3vw,70px);line-height:1.03;margin:18px 0 25px}
.tbk-hero h6{font-size:12px;letter-spacing:.17em;font-weight:500}
.tbk-hero p{max-width:390px;font-size:16px;line-height:1.65}
.tbk-hero img{width:100%;height:450px;object-fit:cover;border-radius:4px}
.tbk-hero .elementor-button{background:#253723;color:#fff;border-radius:4px;padding:17px 28px}
.tbk-brands{display:flex;align-items:center;justify-content:space-around;gap:20px;padding:24px 5%;background:#f8f5f1;border-bottom:1px solid #e8e1da}
.tbk-brands .elementor-heading-title{font-size:clamp(13px,1.6vw,22px);letter-spacing:.06em;font-weight:500}
.tbk-section{max-width:1280px;margin:auto;padding:55px 28px;text-align:center}
.tbk-section > .elementor-widget-heading h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(34px,3.6vw,52px);font-weight:400}
.tbk-section > .elementor-widget-text-editor{color:#565656;font-size:15px;margin-bottom:25px}
.tbk-category-grid,.tbk-product-grid{gap:15px;align-items:stretch}
.tbk-category,.tbk-product{text-align:left;min-width:0;flex:1}
.tbk-category{position:relative;overflow:hidden;border-radius:9px;background:#e6d4c8;min-height:320px;padding:0 0 20px}
.tbk-category img{height:260px;width:100%;object-fit:cover}
.tbk-category .elementor-widget-heading,.tbk-category .elementor-widget-text-editor,.tbk-category .elementor-widget-button{margin-left:20px;margin-right:20px}
.tbk-category h3{font-family:Georgia,serif;font-size:26px;font-weight:400;margin:12px 0 5px}
.tbk-category p{font-size:14px;line-height:1.4}
.tbk-category .elementor-button,.tbk-product .elementor-button{background:transparent;color:#1b2119;padding:5px 0;text-decoration:underline;text-underline-offset:4px;font-size:13px}
.tbk-product-grid{gap:18px}
.tbk-product img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:5px}
.tbk-product h5{font-size:13px;font-weight:600;margin:13px 0 4px}
.tbk-product h3{font-family:Georgia,serif;font-size:19px;font-weight:500;line-height:1.1;margin:0 0 6px}
.tbk-product p{font-size:13px;color:#444;line-height:1.35}
@media(max-width:1024px){.tbk-hero{padding:45px 30px}.tbk-hero img{height:380px}.tbk-category-grid{flex-wrap:wrap}.tbk-category{flex-basis:30%}.tbk-product-grid{flex-wrap:wrap}.tbk-product{flex-basis:45%}}
@media(max-width:767px){.tbk-hero{flex-direction:column!important;gap:20px;padding:36px 20px}.tbk-hero>.e-con{width:100%!important}.tbk-hero h1{font-size:46px}.tbk-hero img{height:310px}.tbk-brands{flex-wrap:wrap;gap:14px;padding:20px}.tbk-brands>.elementor-widget{width:auto!important}.tbk-section{padding:45px 18px}.tbk-category-grid,.tbk-product-grid{flex-direction:column!important}.tbk-category,.tbk-product{width:100%!important;flex-basis:auto}.tbk-category img{height:300px}.tbk-product-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))}.tbk-product h3{font-size:17px}}
.page-id-11656 .tbk-footer-cta{
	display: none;
}
/* TAUBEK HEADER + FOOTER — Appearance > Customize > Additional CSS */
.tbk-header-top .elementor-column-gap-no>.elementor-column>.elementor-element-populated{padding:0}
.tbk-topbar{background:#6d7655;color:#fff;text-align:center;font:500 11px/1.4 Arial,sans-serif;letter-spacing:2.3px;padding:12px 8px}
.tbk-header-main .elementor-container{align-items:center}
.tbk-wordmark{display:inline-flex;flex-direction:column;align-items:center;text-decoration:none!important;color:#1c201a!important;line-height:1}
.tbk-wordmark span{font:400 35px/1 Georgia,serif;letter-spacing:3px}.tbk-wordmark small{font:400 11px/1.7 Arial,sans-serif;letter-spacing:5px}
.tbk-nav{display:flex;justify-content:flex-end}.tbk-nav-links{display:flex;align-items:center;justify-content:flex-end;gap:clamp(15px,2.6vw,40px)}
.tbk-nav-links a{color:#1e231d!important;font:400 14px/1.4 Arial,sans-serif;text-decoration:none!important;transition:color .2s}.tbk-nav-links a:hover{color:#7b8561!important}
.tbk-nav-toggle{display:none;background:transparent;border:0;padding:10px;cursor:pointer}.tbk-nav-toggle span{display:block;width:24px;height:2px;margin:5px 0;background:#263022}
.tbk-footer-main a,.tbk-footer-bottom a{color:inherit;text-decoration:none}.tbk-footer-main a:hover,.tbk-footer-bottom a:hover{text-decoration:underline}
.tbk-footer-main p{line-height:1.9}
@media(max-width:767px){.tbk-topbar{font-size:9px;letter-spacing:1.4px}.tbk-header-main .elementor-container{display:flex;flex-wrap:nowrap}.tbk-header-main .elementor-column:first-child{width:65%!important}.tbk-header-main .elementor-column:last-child{width:35%!important}.tbk-wordmark span{font-size:27px}.tbk-wordmark small{font-size:9px;letter-spacing:3px}.tbk-nav-toggle{display:block;margin-left:auto}.tbk-nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:#fbf9f5;z-index:999;box-shadow:0 12px 22px #0002;padding:20px 26px;flex-direction:column;align-items:flex-start;gap:19px}.tbk-nav.is-open .tbk-nav-links{display:flex}.tbk-header-main{position:relative;z-index:50}.tbk-footer-cta .elementor-button-wrapper{text-align:left}.tbk-footer-bottom .elementor-widget-text-editor p{text-align:left!important}}


/* ==========================================
   TAUBEK COSMETICS — HEADER & FOOTER
   ========================================== */

:root {
  --tbk-olive: #70795e;
  --tbk-green: #303d2d;
  --tbk-cream: #f8f6f1;
  --tbk-beige: #eee9e0;
  --tbk-text: #242720;
}

/* HEADER */
.tbk-header-main {
  background: var(--tbk-cream) !important;
  border-bottom: 1px solid rgba(48,61,45,.08);
  padding: 13px 0 !important;
  position: relative;
  z-index: 100;
}

.tbk-header-main > .elementor-container {
  max-width: 1360px !important;
  width: calc(100% - 64px);
  margin: 0 auto;
  align-items: center;
}

.tbk-header-main .elementor-widget-theme-site-logo img {
  width: 155px;
  max-width: 100%;
  height: auto;
  display: block;
}

.tbk-header-main .elementor-widget-wp-widget-nav_menu {
  width: 100%;
}

.tbk-header-main .main-menu-wrapper {
  width: 100%;
}

.tbk-header-main ul.main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tbk-header-main .main-menu > li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tbk-header-main .main-menu > li > a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--tbk-text) !important;
  text-decoration: none;
  transition: color .25s ease;
}

.tbk-header-main .main-menu > li > a:hover,
.tbk-header-main .main-menu > li.current-menu-item > a {
  color: var(--tbk-olive) !important;
}

.tbk-header-main .main-menu > li > a::after {
  display: none;
}

/* DROPDOWN */
.tbk-header-main .main-menu > li > .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  min-width: 245px;
  margin: 0;
  padding: 14px 0;
  list-style: none;
  background: #fff;
  border: 1px solid #eee9e0;
  border-radius: 3px;
  box-shadow: 0 15px 40px rgba(30,35,25,.10);
  transition: opacity .2s ease, transform .2s ease,
              visibility .2s ease;
}

.tbk-header-main .main-menu > li:hover > .sub-menu,
.tbk-header-main .main-menu > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.tbk-header-main .sub-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tbk-header-main .sub-menu li a {
  display: block;
  padding: 10px 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .025em;
  color: #333 !important;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.tbk-header-main .sub-menu li a:hover {
  background: var(--tbk-cream);
  color: var(--tbk-olive) !important;
}

.tbk-header-main .sub-menu li sub {
  display: none;
}

/* FOOTER */
.tbk-footer-main {
  background: var(--tbk-cream) !important;
  padding: 75px 0 65px !important;
  border-top: 1px solid #e8e3d9;
}

.tbk-footer-main > .elementor-container {
  max-width: 1360px !important;
  width: calc(100% - 64px);
  margin: 0 auto;
  align-items: flex-start;
  gap: 28px;
}

.tbk-footer-main .elementor-column {
  min-width: 0;
}

.tbk-footer-main .elementor-widget-theme-site-logo img {
  width: 155px;
  height: auto;
  margin-bottom: 20px;
}

.tbk-footer-main .elementor-heading-title {
  font-family: "DM Sans", sans-serif;
  font-size: 13px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--tbk-green) !important;
  margin-bottom: 18px;
}

.tbk-footer-main .elementor-widget-text-editor {
  color: #696b61;
  font-size: 13px;
  line-height: 1.9;
}

.tbk-footer-main .elementor-widget-text-editor p {
  margin: 0;
}

.tbk-footer-main .elementor-widget-text-editor a {
  color: #696b61;
  text-decoration: none;
  transition: color .2s ease;
}

.tbk-footer-main .elementor-widget-text-editor a:hover {
  color: var(--tbk-green);
}

/* TABLET */
@media (max-width: 1024px) {
  .tbk-header-main > .elementor-container,
  .tbk-footer-main > .elementor-container {
    width: calc(100% - 40px);
  }

  .tbk-header-main ul.main-menu {
    gap: 4px 12px;
  }

  .tbk-header-main .main-menu > li > a {
    font-size: 11px;
  }

  .tbk-footer-main > .elementor-container {
    flex-wrap: wrap;
  }

  .tbk-footer-main .elementor-column {
    width: calc(50% - 14px) !important;
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .tbk-header-main {
    padding: 12px 0 !important;
  }

  .tbk-header-main > .elementor-container,
  .tbk-footer-main > .elementor-container {
    width: calc(100% - 32px);
  }

  .tbk-header-main .elementor-widget-theme-site-logo img {
    width: 130px;
  }

  .tbk-footer-main {
    padding: 50px 0 35px !important;
  }

  .tbk-footer-main > .elementor-container {
    gap: 25px;
  }

  .tbk-footer-main .elementor-column {
    width: 100% !important;
  }

  .tbk-footer-main .elementor-heading-title {
    margin-bottom: 10px;
  }
}

/* TAUBEK HEADER SEARCH */

.tbk-header-search {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tbk-header-search a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #242720 !important;
  text-decoration: none;
  border-radius: 50%;
  transition: background .25s ease, color .25s ease;
}

.tbk-header-search a:hover {
  background: #eee9e0;
  color: #70795e !important;
}

.tbk-header-search .ui-icon-top-search {
  font-size: 19px;
  line-height: 1;
}
.home-slider .slide_second_heading{
	letter-spacing: 2.5px;
    font-size: 12px;
    font-weight: 600 !important;
    text-transform: uppercase;
    color: #737B62 !important;
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 15px;
}
.home-slider .slide-background{
	background-size: cover;
}
.header-navigation .elementor-widget-container{
	display: flex;
	    align-items: center;
    gap: 20px;
}
@media (max-width: 767px) {
  .tbk-header-search a {
    width: 38px;
    height: 38px;
  }
}


/* ==========================================
   TAUBEK COSMETICS — PREMIUM PRODUCT GRID
   Naturalife RT Portfolio List
========================================== */

.proizvodi-grid {
  --product-green: #283a2c;
  --product-olive: #70795e;
  --product-bg: #f4f0eb;
  --product-border: #e7e3dc;
  font-family: "DM Sans", Arial, sans-serif;
}

/* GRID */

.proizvodi-grid .portfolio_list .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  margin-left: -10px;
  margin-right: -10px;
}



/* RESET THEME CARD */

.proizvodi-grid .portfolio_list .loop {
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transform: none;
}

.proizvodi-grid .portfolio-loop-item-wrapper {
  height: 100%;
  display: flex !important;
  flex-direction: column;
  background: transparent !important;
  overflow: visible !important;
}

/* IMAGE AREA */

.proizvodi-grid figure.image-thumbnail {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  margin: 0 0 19px !important;
  padding: 0 !important;
  background: var(--product-bg) !important;
  border-radius: 12px;
  overflow: hidden;
}

.proizvodi-grid figure.image-thumbnail > a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
}

.proizvodi-grid figure.image-thumbnail img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  position: static !important;
  transform: none !important;
  transition: transform .45s ease !important;
}

.proizvodi-grid .loop:hover figure.image-thumbnail img {
  transform: scale(1.055) !important;
}

/* TEXT */

.proizvodi-grid .portfolio-loop-item-wrapper > section.text {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  padding: 0 3px !important;
  margin: 0 !important;
  background: transparent !important;
  text-align: left !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* CATEGORY */

.proizvodi-grid section.text .terms {
  order: -1;
  display: block !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px !important;
  line-height: 1.5 !important;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--product-olive) !important;
}

.proizvodi-grid section.text .terms a {
  color: var(--product-olive) !important;
  text-decoration: none !important;
}

/* PRODUCT TITLE */

.proizvodi-grid section.text h5.title {
  font-family: "DM Sans", sans-serif;
  font-size: 20px !important;
  line-height: 1.12 !important;
  font-weight: 600 !important;
  letter-spacing: -.25px;
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: var(--product-green) !important;
}

.proizvodi-grid section.text h5.title a {
  color: inherit !important;
  text-decoration: none !important;
}

.proizvodi-grid section.text h5.title a:hover {
  color: var(--product-olive) !important;
}


/* HIDE LONG AUTOMATIC PORTFOLIO EXCERPT */


/* TAUBEK — PRODUCT EXCERPT MAX 2 LINES */

.proizvodi-grid section.text > p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;

  overflow: hidden !important;
  text-overflow: ellipsis;

  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 400;
  line-height: 1.6 !important;
  color: #62675e !important;

  margin: 0 0 18px !important;
  padding: 0 !important;

  max-height: 3.2em;
}

/* BUTTON UNDER EXCERPT */

.proizvodi-grid .tbk-product-link {
  margin-top: auto !important;
  align-self: flex-start;
}

/* MOBILE */

@media (max-width: 767px) {
  .proizvodi-grid section.text > p {
    font-size: 12px !important;
    line-height: 1.5 !important;
    max-height: 3em;
    margin-bottom: 12px !important;
  }
}


/* BUTTON — INSERTED BY JAVASCRIPT */

.proizvodi-grid .tbk-product-link {
  display: inline-flex !important;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  margin-top: auto;
  padding: 12px 0 5px;
  color: var(--product-green) !important;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none !important;
  border-bottom: 1px solid var(--product-green);
  transition: color .25s ease, gap .25s ease;
}

.proizvodi-grid .tbk-product-link:hover {
  color: var(--product-olive) !important;
  gap: 19px;
}

.proizvodi-grid .tbk-product-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* TABLET */

@media (max-width: 1024px) {
  .proizvodi-grid .portfolio_list .row > .col {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
  }

  .proizvodi-grid section.text h5.title {
    font-size: 20px !important;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .proizvodi-grid .portfolio_list .row {
    margin-left: -6px;
    margin-right: -6px;
  }

  .proizvodi-grid .portfolio_list .row > .col {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
    padding: 0 6px 25px !important;
  }

  .proizvodi-grid figure.image-thumbnail {
    border-radius: 8px;
    margin-bottom: 13px !important;
  }

  .proizvodi-grid figure.image-thumbnail > a {
    padding: 10px;
  }

  .proizvodi-grid section.text h5.title {
    font-size: 20px !important;
    line-height: 1.12 !important;
  }

  .proizvodi-grid section.text .terms {
    font-size: 9px !important;
    letter-spacing: 1px;
  }

  .proizvodi-grid .tbk-product-link {
    font-size: 12px;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proizvodi-grid figure.image-thumbnail img,
  .proizvodi-grid .tbk-product-link {
    transition: none !important;
  }
}

.proizvodi-grid .tbk-product-link {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 12px 0 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #283a2c !important;
  text-decoration: none !important;
  border-bottom: 1px solid #283a2c;
  transition: gap .25s ease, color .25s ease;
}

.proizvodi-grid .tbk-product-link:hover {
  gap: 19px;
  color: #70795e !important;
}

.proizvodi-grid .tbk-product-link span {
  font-size: 20px;
  line-height: 1;
}


/* =====================================
   TAUBEK — CATEGORY PAGE DESIGN
===================================== */

body.tbk-category-page {
  background: #f8f6f2;
  color: #283a2c;
}

/* Category page typography */

body.tbk-category-page h1,
body.tbk-category-page h2,
body.tbk-category-page h3,
body.tbk-category-page h4,
body.tbk-category-page h5 {
  color: #283a2c;
}


/* Product card */

body.tbk-category-page .portfolio_list .loop {
  width: 100%;
  height: 100%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.tbk-category-page .portfolio-loop-item-wrapper {
  display: flex !important;
  flex-direction: column;
  height: 100%;
}

/* Product image */

body.tbk-category-page figure.image-thumbnail {
  width: 100% !important;
  aspect-ratio: 1 / 1;
  height: auto !important;
  margin: 0 0 18px !important;
  background: #f1eee9 !important;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

body.tbk-category-page figure.image-thumbnail > a {
  display: flex !important;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

body.tbk-category-page figure.image-thumbnail img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  position: static !important;
  transform: none !important;
  transition: transform .35s ease !important;
}

body.tbk-category-page .loop:hover figure.image-thumbnail img {
  transform: scale(1.05) !important;
}

/* Text area */

body.tbk-category-page .portfolio-loop-item-wrapper > section.text {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  position: static !important;
  padding: 0 3px !important;
  background: transparent !important;
  text-align: left !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Category label */

body.tbk-category-page section.text .terms {
  order: -1;
  font-family: "DM Sans", sans-serif;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #70795e !important;
  margin-bottom: 8px !important;
}


/* Excerpt — maximum two lines */

body.tbk-category-page section.text > p {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden !important;
  font-family: "DM Sans", sans-serif;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #62675e !important;
  margin: 8px 0 18px !important;
}

/* Learn more button */

body.tbk-category-page .tbk-product-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 0 5px;
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #283a2c !important;
  text-decoration: none !important;
  border-bottom: 1px solid #283a2c;
  transition: gap .25s ease;
}

body.tbk-category-page .tbk-product-link:hover {
  gap: 19px;
}

/* Tablet */

@media (max-width: 1024px) {
  body.tbk-category-page .portfolio_list .row > .col {
    width: 50% !important;
    max-width: 50% !important;
    flex-basis: 50% !important;
  }
}

/* Mobile */
.proizvodi-list-header h1{
	color: #1F1F1F !important;
}
@media (max-width: 600px) {
  body.tbk-category-page .portfolio_list .row > .col {
    padding: 0 6px 25px !important;
  }

  body.tbk-category-page section.text h5.title,
  body.tbk-category-page section.text h5.title a {
    font-size: 21px !important;
  }

  body.tbk-category-page section.text > p {
    font-size: 12px !important;
  }
}

/* TAUBEK PRODUCT SIDEBAR */

.tbk-product-sidebar {
    --tbk-green: #26382a;
    --tbk-olive: #737e60;
    --tbk-border: #e3dfd6;
    --tbk-active: #e4e7dc;

    width: 100%;
    font-family: "DM Sans", sans-serif;
    color: var(--tbk-green);
}

.tbk-sidebar-heading {
    margin-bottom: 22px;
}

.tbk-sidebar-heading h3 {
    font-family: "Cormorant Unicase", serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--tbk-green);
}

/* Brand groups */

.tbk-brand-group {
    border-bottom: 1px solid var(--tbk-border);
    padding: 7px 0;
}

.tbk-brand-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tbk-brand-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 10px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--tbk-green) !important;
    text-decoration: none !important;
    transition: background .2s ease;
    border-radius: 5px;
}

.tbk-count {
    font-size: 11px;
    font-weight: 400;
    color: var(--tbk-olive);
}

/* Accordion button */

.tbk-category-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 34px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    cursor: pointer;
}

.tbk-category-toggle span {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid var(--tbk-green);
    border-bottom: 1.5px solid var(--tbk-green);
    transform: rotate(45deg);
    transition: transform .25s ease;
}

.tbk-brand-group.is-open .tbk-category-toggle span {
    transform: rotate(225deg);
}

/* Child categories */

.tbk-child-categories {
    padding: 0 0 8px 10px;
}

.tbk-child-categories[hidden] {
    display: none !important;
}

.tbk-child-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    margin: 3px 0;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--tbk-green) !important;
    text-decoration: none !important;
    transition: background .2s ease;
}

/* Hover and active */

.tbk-brand-link:hover,
.tbk-child-link:hover {
    background: #eeeee6;
}

.tbk-brand-link.is-active,
.tbk-child-link.is-active {
    background: var(--tbk-active);
    font-weight: 600;
}

.tbk-brand-group.is-open .tbk-brand-link {
    color: var(--tbk-olive) !important;
}

/* ========================================
   TAUBEK — MOBILE PRODUCT FILTER
======================================== */

.tbk-mobile-filter-button,
.tbk-filter-overlay,
.tbk-filter-panel {
    display: none;
}

@media (max-width: 1024px) {

    /* Archive layout */

    .tbk-archive-layout > .elementor-container {
        flex-direction: column !important;
        flex-wrap: wrap !important;
        gap: 24px !important;
    }

    .tbk-archive-layout .tbk-archive-sidebar,
    .tbk-archive-layout .tbk-archive-products {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 auto !important;
    }

    .tbk-archive-sidebar .tbk-product-sidebar {
        display: none !important;
    }

    .tbk-archive-sidebar .elementor-widget {
        margin-bottom: 0 !important;
    }

    /* Filter button */

    .tbk-mobile-filter-button {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        min-height: 52px;
        padding: 14px 18px !important;
        border: 1px solid #26382a !important;
        border-radius: 6px !important;
        background: #26382a !important;
        color: #fff !important;
        font-family: "DM Sans", sans-serif;
        font-size: 14px !important;
        font-weight: 500;
        text-transform: none !important;
        letter-spacing: .2px;
        cursor: pointer;
        box-shadow: none !important;
    }

    .tbk-filter-arrow {
        margin-left: auto;
    }

    /* Dark overlay */

    .tbk-filter-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 99998;
        background: rgba(22, 30, 23, .48);
        backdrop-filter: blur(3px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease,
                    visibility .35s ease;
    }

    /* Bottom sheet */

    .tbk-filter-panel {
        display: flex;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: 88vh;
        max-height: 88dvh;
        z-index: 99999;
        background: #f8f6f1;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -15px 60px rgba(0,0,0,.12);
        transform: translateY(105%);
        visibility: hidden;
        transition: transform .4s cubic-bezier(.22,1,.36,1),
                    visibility .4s;
        overflow: hidden;
        box-sizing: border-box;
    }

    /* Open state */

    body.tbk-filter-is-open {
        overflow: hidden !important;
    }

    .tbk-filter-is-open .tbk-filter-overlay {
        opacity: 1;
        visibility: visible;
    }

    .tbk-filter-is-open .tbk-filter-panel {
        transform: translateY(0);
        visibility: visible;
    }

    /* Decorative handle */

    .tbk-filter-handle {
        flex-shrink: 0;
        width: 40px;
        height: 4px;
        border-radius: 10px;
        background: #c9ccbf;
        margin: 12px auto 4px;
    }

    /* Panel header */

    .tbk-filter-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        padding: 16px 24px 20px;
        border-bottom: 1px solid #e3dfd6;
    }

    .tbk-filter-header h3 {
        font-family: "Cormorant Unicase", serif;
        font-size: 30px !important;
        font-weight: 700;
        line-height: 1.1;
        color: #26382a !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .tbk-filter-close {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 50% !important;
        background: #eaece3 !important;
        color: #26382a !important;
        border: none !important;
        padding: 0 !important;
        box-shadow: none !important;
        cursor: pointer;
    }

    /* Scrollable categories */

    .tbk-filter-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 16px 24px 24px;
    }

    .tbk-filter-content .tbk-product-sidebar {
        display: block !important;
        width: 100% !important;
    }

    .tbk-filter-content .tbk-sidebar-heading {
        display: none;
    }

    .tbk-filter-content .tbk-brand-link {
        font-size: 15px;
        padding: 15px 10px;
    }

    .tbk-filter-content .tbk-child-link {
        font-size: 14px;
        padding: 13px 15px;
    }

    .tbk-filter-content .tbk-category-toggle {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    /* Bottom button */

    .tbk-filter-footer {
        flex-shrink: 0;
        padding: 16px 24px;
        padding-bottom: calc(
            16px + env(safe-area-inset-bottom, 0px)
        );
        border-top: 1px solid #e3dfd6;
        background: #f8f6f1;
    }

    .tbk-filter-done {
        width: 100%;
        padding: 15px 20px !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: #26382a !important;
        color: #fff !important;
        font-family: "DM Sans", sans-serif;
        font-size: 14px !important;
        font-weight: 600;
        text-transform: none !important;
        cursor: pointer;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tbk-filter-panel,
    .tbk-filter-overlay {
        transition: none !important;
    }
}

/* ========================================
   TAUBEK — MOBILE PRODUCT GRID
======================================== */

@media (max-width: 767px) {

    .tbk-archive-layout {
        padding: 24px 15px 45px !important;
    }

    .tbk-archive-products .proizvodi-grid .rt-row {
        display: flex !important;
        flex-wrap: wrap !important;
        row-gap: 26px;
    }

    .tbk-archive-products .proizvodi-grid
    .rt-row > [class*="col-"] {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
        box-sizing: border-box;
    }

    .tbk-archive-products .proizvodi-grid
    section.text h5.title,
    .tbk-archive-products .proizvodi-grid
    section.text h5.title a {
        font-size: 20px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
    }

    .tbk-archive-products .proizvodi-grid
    section.text p {
        font-size: 12px !important;
        line-height: 1.5 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .tbk-archive-products .proizvodi-grid
    section.text {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
	
}

/* TBK - Fix mobile product grid */

.elementor[data-elementor-post-type="portfolio"] {
    position: relative;
    isolation: isolate;
}

.elementor[data-elementor-post-type="portfolio"]::before,
.elementor[data-elementor-post-type="portfolio"]::after {
    content: "";
    position: absolute;
    width: 108px;
    height: 232px;
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 1;
}

.elementor[data-elementor-post-type="portfolio"]::before {
    top: 0;
    right: 0;
    background-image: url("https://taubek.hr/wp-content/uploads/2026/11/bg-bottom-left.webp");
    background-position: right top;
	transform: rotate(180deg);
}

.elementor[data-elementor-post-type="portfolio"]::after {
    bottom: 0;
    left: 0;
    background-image: url("https://taubek.hr/wp-content/uploads/2026/11/bg-bottom-left.webp");
    background-position: left bottom;
}
.elementor[data-elementor-post-type="portfolio"] h1{
	margin: 0;
	text-align: left;
	font-size: 30px;
}
@media (max-width: 767px) {
    .elementor[data-elementor-post-type="portfolio"]::before,
    .elementor[data-elementor-post-type="portfolio"]::after {
        width: 100px;
        height: 140px;
        opacity: 0.5;
		z-index:0;
		display: none;
    }
}


@media (max-width: 767px) {

    .proizvodi-grid .portfolio_list {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 28px 16px !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Flatten NaturaLife row wrappers */
    .proizvodi-grid .portfolio_list > .row {
        display: contents !important;
    }

    /* Reset original column sizing */
    .proizvodi-grid .portfolio_list > .row > div[class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
    }

    /* Remove Bootstrap clearfix pseudo-elements */
    .proizvodi-grid .portfolio_list::before,
    .proizvodi-grid .portfolio_list::after,
    .proizvodi-grid .portfolio_list > .row::before,
    .proizvodi-grid .portfolio_list > .row::after {
        display: none !important;
        content: none !important;
    }

}
/* =========================================
   TBK - RELATED PRODUCTS CAROUSEL
   ========================================= */

 .portfolio-carousel {
    --tbk-green: #26382a;
    --tbk-image-bg: #f0ece5;
}

/* Remove original boxed styling */
  .portfolio-carousel .boxed {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* Product card layout */
.portfolio-carousel .loop.style-2 {
    display: grid !important;
    grid-template-columns: 42% minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 5px !important;
    overflow: visible !important;
}

/* Product image */
.portfolio-carousel figure.image-thumbnail {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 1 / 1.15;
    height: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    background: var(--tbk-image-bg);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Product image sizing */
 .portfolio-carousel figure.image-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-height: 160px;
    object-fit: contain !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    mix-blend-mode: multiply;
    transition: transform .3s ease;
}

 .single-portfolio .portfolio-carousel .loop:hover figure img {
    transform: scale(1.04) !important;
}

/* Convert overlay into normal content */
.portfolio-carousel .loop .overlay {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    padding: 0 !important;
    display: block !important;
    text-align: left !important;
    pointer-events: auto !important;
}

/* Remove original hover backgrounds */
.portfolio-carousel .loop .overlay::before,
.portfolio-carousel .loop .overlay::after {
    display: none !important;
}

/* Remove original full-image overlay link */
.portfolio-carousel .overlay > a {
    display: none !important;
}

/* Text container */
 .portfolio-carousel section.text {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    text-align: left !important;
    display: block !important;
}

/* Product title */
.portfolio-carousel h5.title {
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.3 !important;
	font-family: 'DM Sans', sans-serif;
}

 .portfolio-carousel h5.title a {
    display: block;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: var(--tbk-green) !important;
    text-decoration: none !important;
}

/* Saznaj više - uses existing product link */
 .portfolio-carousel h5.title a::after {
    content: "Saznaj više  →";
    display: table;
    margin-top: 16px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--tbk-green);
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    color: var(--tbk-green);
    transition: color .2s ease;
}

.portfolio-carousel h5.title a:hover::after {
    color: #87916e;
}

/* Mobile */
@media (max-width: 767px) {

    .portfolio-carousel .loop.style-2 {
        grid-template-columns: 40% minmax(0, 1fr);
        gap: 12px;
        padding: 5px !important;
    }

      .portfolio-carousel figure.image-thumbnail {
        padding: 8px !important;
    }

      .portfolio-carousel h5.title a {
        font-size: 17px !important;
    }

      .portfolio-carousel h5.title a::after {
        font-size: 12px;
        margin-top: 10px;
    }
}

/* =========================================
   TAUBEK — CONTACT FORM
========================================= */

.tbk-contact-form {
    --form-green: #303D2D;
    --form-olive: #70795E;
    --form-border: #DEDCD3;
    --form-text: #656B5D;

    width: 100%;
    font-family: "DM Sans", sans-serif;
}

.tbk-contact-form * {
    box-sizing: border-box;
}

/* Heading */

.tbk-form-heading {
    margin-bottom: 30px;
}

.tbk-form-heading h2 {
    margin: 0 0 12px;
    font-family: "Cormorant Unicase", serif;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--form-green);
}

.tbk-form-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--form-text);
}

/* Form layout */

.tbk-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.tbk-form-full {
    grid-column: 1 / -1;
}

.tbk-contact-form .tbk-form-field p,
.tbk-contact-form .tbk-form-submit p,
.tbk-contact-form .tbk-form-acceptance p {
    margin: 0;
}

.tbk-contact-form .wpcf7-form-control-wrap {
    display: block;
}

/* Input fields */

.tbk-contact-form input[type="text"],
.tbk-contact-form input[type="email"],
.tbk-contact-form input[type="tel"],
.tbk-contact-form select,
.tbk-contact-form textarea {
    display: block;
    width: 100%;
    height: 54px;
    margin: 0;
    padding: 15px 18px;
    border: 1px solid var(--form-border);
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: none;
    outline: none;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--form-green);
    transition: border-color .25s ease,
                box-shadow .25s ease;
}

.tbk-contact-form input::placeholder,
.tbk-contact-form textarea::placeholder {
    color: #85877E;
    opacity: 1;
}

/* Focus */

.tbk-contact-form input:focus,
.tbk-contact-form select:focus,
.tbk-contact-form textarea:focus {
    border-color: var(--form-olive);
    box-shadow: 0 0 0 2px rgba(112, 121, 94, .08);
}

/* Select */

.tbk-contact-form select {
    cursor: pointer;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2370795E' stroke-width='1.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

/* Textarea */

.tbk-contact-form textarea {
    height: 150px;
    min-height: 120px;
    resize: vertical;
}

/* Privacy checkbox */

.tbk-form-acceptance {
    font-size: 12px;
    line-height: 1.6;
    color: var(--form-text);
}

.tbk-form-acceptance .wpcf7-list-item {
    margin: 0;
}

.tbk-form-acceptance label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.tbk-form-acceptance input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    flex-shrink: 0;
    accent-color: var(--form-green);
}

.tbk-form-acceptance a {
    color: var(--form-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Submit button */

.tbk-contact-form input[type="submit"] {
    display: block;
    width: 100%;
    min-height: 54px;
    padding: 16px 30px;
    border: 1px solid var(--form-green);
    border-radius: 0;
    background: var(--form-green);
    color: #FFFFFF;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .05em;
    cursor: pointer;
    transition: all .3s ease;
}

.tbk-contact-form input[type="submit"]:hover {
    background: var(--form-olive);
    border-color: var(--form-olive);
    color: #FFFFFF;
}

.tbk-contact-form input[type="submit"]:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Validation */

.tbk-contact-form .wpcf7-not-valid {
    border-color: #B65C50 !important;
}

.tbk-contact-form .wpcf7-not-valid-tip {
    margin-top: 5px;
    font-size: 11px;
    color: #B65C50;
}

.tbk-contact-form .wpcf7-spinner {
    display: block;
    margin: 12px auto 0;
}

.tbk-contact-form .wpcf7-spinner:not(
    .submitting .wpcf7-spinner
) {
    display: none;
}

/* Response message */

.wpcf7 form:has(.tbk-contact-form)
.wpcf7-response-output {
    margin: 20px 0 0;
    padding: 14px 18px;
    border-width: 1px;
    font-size: 13px;
    line-height: 1.6;
}

/* Mobile */

@media (max-width: 767px) {

    .tbk-form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tbk-form-heading {
        margin-bottom: 24px;
    }

    .tbk-contact-form input[type="text"],
    .tbk-contact-form input[type="email"],
    .tbk-contact-form input[type="tel"],
    .tbk-contact-form select,
    .tbk-contact-form textarea {
        font-size: 16px;
    }

    .tbk-contact-form textarea {
        height: 130px;
    }
	.slide-content-wrapper.fullwidth {
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
	}
}