/*
Theme Name: skup
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tinos:ital,wght@0,400;0,700;1,400;1,700&display=swap');

p,
.porto-u-sub-heading {
  line-height: 1;
}

body.boxed .page-wrapper {
  box-shadow: none;
  border-top: 0;
  overflow: hidden;
}

th.product-add-to-cart span.nobr,
td.product-add-to-cart .quickview {
  display: none;
}

.woocommerce-ordering select {
  width: 180px;
  border-radius: 10px;
}

.woocommerce-ordering select,
.woocommerce-viewing select,
.gridlist-toggle #grid,
.gridlist-toggle>a {
  border-radius: 10px;
}

.header-wrapper {
  z-index: 2;
}

header .header-top {
  background: linear-gradient(180deg, #FFFFFF 34.62%, #FEF8E1 67.79%, #FDE2C2 100%);
}

#header .header-bottom .main-menu {
  z-index: 5555;
  flex-wrap: nowrap;
  gap: 10px;
}

#header .header-main .main-menu>li.menu-item>a {
  color: #000;
  font-weight: 700;
  font-size: 12px;
  font-style: italic;
}

#header .main-menu>li.menu-item>a {
  text-wrap: nowrap;
}

#header .main-menu:not(.secondary-menu)>li.menu-item>a {
  margin: 0 6px 0 6px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 5px;
}

:not(:lang(pl)) #header .main-menu.secondary-menu>li.menu-item>a {
  margin: 0 20px 0 20px;
}

:not(:lang(pl)) #header .main-menu:not(.secondary-menu)>li.menu-item>a {
  padding-left: 10px;
  padding-right: 10px;
}

header .header-bottom {
  box-shadow: rgb(156, 156, 156) 0px 2px 4px;
  height: 61px;
}

section.page-top {
  border-radius: 30px;
}

#header .header-top {
  z-index: unset !important;
}

#header .header-top .header-row>.header-col.header-right.hidden-for-sm,
#header .header-top .header-row>.header-col.header-right {
  position: absolute;
  right: 0;
  z-index: 3333;
}

#header .logo {
  position: absolute;
  z-index: 2222;
  max-width: 150px;
  margin-left: 15px;
  bottom: -40px;
}

header#header .header-main {
  background-color: #FAC090;
  margin-top: -1px;
}

header#header .header-main .container {
  min-height: 0;
}

#header .tooltip-icon,
#header .searchform-popup .search-toggle,
#header .my-account,
#header .my-wishlist,
#header .yith-woocompare-open,
#mini-cart .minicart-icon {
  color: #fff;
}

#header .mobile-menu>li.nav-yellow-default>a {
  color: #fdff84;
}

#header .main-menu>li.nav-yellow-default>a:hover,
#header .mobile-menu>li.nav-yellow-default>a:hover {
  color: #e86f1e;
}

#header .main-menu>li.menu-item.active>a,
#header .main-menu>li.menu-item:hover>a {
  color: #e86f1e;
}

#nav-panel .accordion-menu li.menu-item.active>a,
#nav-panel .accordion-menu li.menu-item:hover>a {
  background-color: inherit;
  color: #e86f1e;
}

#header.sticky-header .main-menu-wrap,
.main-menu-wrap {
  display: flex;
}

#header .tooltip-icon:hover,
#header .searchform-popup .search-toggle:hover,
#header .my-account:hover,
#header .my-wishlist:hover,
#header .yith-woocompare-open:hover,
#mini-cart .minicart-icon:hover {
  color: #e86f1e;
}

#mini-cart .cart-items,
.gutenberg-hb .compare-count,
.my-wishlist .wishlist-count,
header .compare-count {
  background-color: #e86f1e;
}

#header .header-bottom>.container {
  background-color: #000000;
}

#header .header-bottom .header-row>.header-col.header-right.hidden-for-sm {
  display: grid;
  grid-template-columns: 50px 50px 50px 180px;
  height: 40px;
}

.snails-app-button,
.snails-app-button {
  height: 100%;
}

.snails-app-button img,
.snails-app-button img {
  height: 100%;
  width: unset;
}

.snails-app-button-mobile {
  position: absolute;
  width: 100px;
  height: 30px;
}

.snails-app-button-block {
  width: fit-content;
  margin-left: 20px;
}

.snails-app-button-block .image-button {
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  align-items: end;
  justify-content: start;
}

.snails-app-button-block .image-button h4,
.snails-app-button-block .image-button span,
.snails-app-button-block p {
  margin: 0;
}

.snails-app-button-block .image-button h4 {
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 20px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #91B845;
}

.snails-app-button-block .image-button span {
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 9px;
  letter-spacing: 0%;
  vertical-align: middle;

  color: #fff;
}

.snails-app-button-block .below-text {
  position: absolute;
  bottom: -30px;
  text-wrap: nowrap;
  right: 0;
  color: #4D7400;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 11px;
  letter-spacing: 0%;
  text-align: right;

}

.snails-app-button-block img {
  height: 36px;
  margin-bottom: 2px;
}

.visible-for-sm .snails-app-button-block .below-text {
  position: unset;
  text-wrap: nowrap;
}

.visible-for-sm .snails-app-button-block {
  margin-left: 0;
  z-index: 2222;
  position: relative;
}

.visible-for-sm .snails-app-button-block .image-button {
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.snails-app-button-block.snails-app-button-block-popup {
  margin-left: 0;
  margin-bottom: 10px;
}

.snails-app-button-block.snails-app-button-block-popup .image-button {
  text-align: right;
}

.snails-app-button-block.snails-app-button-block-popup .image-button h4 {
  font-size: 26px;
}

.snails-app-button-block.snails-app-button-block-popup .image-button span {
  font-size: 13px;
  color: #e46C0A;
}

.snails-app-button-block.snails-app-button-block-popup img {
  height: 50px;
}

#header .header-bottom .header-col.header-left {
  position: relative;
  max-width: 80px;
}

:lang(pl) #header .header-bottom .header-col.header-left {
  max-width: 260px;
}

#header .header-bottom .header-col.header-left::after {
  content: "";
  display: block;
  background-image: url(assets/images/Safari.png), url(assets/images/SafariSun.png);
  background-position: bottom, center -1px;
  position: absolute;
  top: -115px;
  left: 160px;
  height: 100px;
  width: 250px;
  z-index: 3000;
  background-size: contain;
  background-repeat: no-repeat;
}

#header .header-bottom .header-col.header-left::before {
  content: "";
  display: block;
  background-image: url(assets/images/SafariTreeSmall.png);
  position: absolute;
  top: -73px;
  left: -12px;
  height: 70px;
  width: 44px;
  z-index: 333;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

#header .header-bottom .header-col.header-right {
  position: relative;
}

#header .header-bottom .header-col.header-right>div,
#header .header-bottom .header-col.header-right>a {
  z-index: 2222;
}

#header .header-bottom .header-col.header-right::before {
  content: "";
  display: block;
  background-image: url(assets/images/SafariTree.png);
  position: absolute;
  top: -85px;
  right: 0;
  height: 100px;
  width: 150px;
  z-index: 2000;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* .header-top a,
.header-top p,
.header-top .custom-html a:not(.btn) {
  color: #284d32;
  font-size: 21px;
  font-family: "DM Serif Display", cursive;
  padding-bottom: 25px;
  text-align: center;
  line-height: 31px;
}

p.dancing {
  color: #284d32;
  font-size: 18px;
  font-family: "DM Serif Display", cursive;
  max-width: 70%;
  margin: 20px auto auto auto;
  text-align: center;
} */

.header-top a:hover,
.header-top .custom-html a:not(.btn):hover {
  color: #e86f1e;
}

.header-top .custom-html a:not(.btn) {
  color: #fff;
}

.header-top .header-row .header-center {
  padding: 0;
  max-width: 781px;
}

#header .header-row .nav-konto-pupila {
  display: none;
}

#nav-panel .nav-konto-pupila {
  background: #536E1D;
}

#nav-panel .accordion-menu>li.nav-konto-pupila>a {
  text-transform: none;
}

.main-menu-wrap {
  border-top: 0px solid #e86f1e;
}

.br-20,
.br-20 img {
  border-radius: 20px;
}

.product-image img,
.product-image {
  border-radius: 0;
}

.owl-carousel .img-thumbnail img,
.product-thumbs-slider.owl-carousel .owl-item.selected .img-thumbnail,
html:not(.touch) .product-thumbs-slider .owl-item:hover .img-thumbnail,
.shop_table .product-thumbnail img {
  border-radius: 20px;
}

.owl-nav span {
  display: none;
}

.wc-proceed-to-checkout .btn,
#mini-cart .buttons a {
  border-radius: 4px;
}

button.xoo-wl-action-btn {
  border-radius: 0;
}

.footer-right img {
  max-width: 170px;
}

.footer .widget-title {
  font-size: 16px;
  font-weight: 700 !important;
}

#footer .footer-main {
  background: #000000;
  border-radius: 6px;
  box-shadow: rgb(156, 156, 156) 0px 2px 4px;
}

.button {
  border-radius: 5px;
}

/* .header-top,*/
#footer .footer-main {
  border-radius: 6px;
}

body.page-id-10217 .no-breadcrumbs .main-content,
body.archive #main>.container .main-content {
  padding-top: 0;
}

.main-content {
  padding-bottom: 0;
}

#footer .footer-bottom {
  /* border-top: 5px solid #0ccc49; */
}

/* #main{
    background-image: radial-gradient(#f3f3f3 2px, transparent 2px);
    background-size: 32px 32px;
    background-color: #ffffff;
  } */
.homelink a i {
  font-size: 14px;
}

#place_order {
  border-radius: 15px;
}

#login-form-popup .button {
  background: #e86f1e;
  font-style: italic;
  padding: 6px 10px !important;
  border-radius: 0;
  margin: 0;
}

#login-form-popup .button:hover,
#login-form-popup .button:focus {
  border-color: #464547;
  background-color: #464547;
}

#login-form-popup .input-text {
  padding: 8px 10px !important;
  border-radius: 0;
  line-height: 1 !important;
}

#mini-cart .buttons a,
#place_order,
.wc-proceed-to-checkout .btn {
  background-color: #e86f1e;
}

#mini-cart .buttons a:hover,
#place_order:hover,
.wc-proceed-to-checkout .btn:hover {
  background-color: #464547;
}

#popup-overlay span,
#popup-overlay p {
  line-height: 1.2;
}

/* #popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.popup-content {
    background: #4A452A;
    padding: 20px;
    border-radius: 5px;
    max-width: 900px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #ffffff;
	padding: 1px 7px;
    background: #000000;
	border: 1;
	border-radius: 100px 100px;
} */
/* a.pedigree-link i {
  font-size: 18px;
  margin-right: 5px;
}
a.gallery-link {
  color:#000;
  font-size: 14px;
}
a.pedigree-link {
  color:#000;
  font-size: 14px;
}
a.gallery-link:hover{
  color:#496eb8;
}
a.pedigree-link:hover{
  color:#e86f1e;
}
a.gallery-link i {
  color:#496eb8;
  font-size: 18px;
  margin-right: 5px;
}
a.pedigree-link i {
  color:#e86f1e;
} */
ul.products h3 {
  font-size: 16px;
  font-weight: 800;
  font-style: italic;
}

ul.products .product-image {
  margin-bottom: 0;
}

ul.products .product-content {
  padding: 0 15px 15px 15px;
}

ul.products .product-col.instock.purchasable:not(.onbackorder) .product-inner {
  box-shadow: inset 0 0 0 1px #0ccc49;

  &:hover,
  &:active,
  &:focus {
    box-shadow: inset 0 0 0 1px #0ccc49,
      4px 4px 15px -2px rgba(0, 0, 0, 0.5);
  }
}

ul.products .product-col.outofstock .product-inner {
  box-shadow: inset 0 0 0 1px #8e948e;

  &:hover,
  &:active,
  &:focus {
    box-shadow: inset 0 0 0 1px #8e948e,
      4px 4px 15px -2px rgba(0, 0, 0, 0.5);
  }
}

ul.products .product-col.onbackorder .product-inner {
  box-shadow: inset 0 0 0 1px #e86f1e;

  &:hover,
  &:active,
  &:focus {
    box-shadow: inset 0 0 0 1px #e86f1e,
      4px 4px 15px -2px rgba(0, 0, 0, 0.5);
  }
}

/* ul.products  .clo{
  color:#0ccc49;
}
ul.products li.product.outofstock .clo{
  color:#8e948e;
}
ul.products li.product.onbackorder .clo{
  color: #e86f1e;
}
ul.products li.product.outofstock a.pedigree-link i, ul.products li.product.outofstock a.gallery-link i, ul.products li.product.outofstock a.gallery-link, ul.products li.product.outofstock a.pedigree-link{
  color:#8e948e; 
} */
/* .product-inner:hover .product-content{
  border-color: #e86f1e;
} */
/* .product-inner:hover{
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
} */
.product-inner {
  transition: box-shadow 0.2s ease-in-out;
  border-radius: 5px;
  height: 100%;
  padding-bottom: 35px;
  position: relative;
  overflow: hidden;
}

body.archive {

  .product-col:hover .product-inner,
  .product-col:active .product-inner,
  .product-col:focus .product-inner {
    .product-content>ul>li:nth-last-child(-n+2) {
      color: #e86f1e !important;

      span,
      ul,
      li {
        color: #e86f1e !important;
      }
    }
  }
}

/* div.quantity .minus {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
div.quantity .plus{
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
} */
ul.products .woocommerce-loop-product__title {
  white-space: wrap;
}

.single-add-to-cart .type-product .view-cart-btn {
  border-radius: 4px;
  position: absolute;
  background-color: #0ccc49;
  width: 120px;
  padding: 0;
}

.single-add-to-cart .type-product .view-cart-btn:hover,
.single-add-to-cart .type-product .view-cart-btn:focus,
.single-add-to-cart .type-product .view-cart-btn:active {
  background-color: #3b7c39;
}

.woocommerce-boost-sales .wbs-breadcrum .wbs-product {
  width: 45% !important;
  padding: 0 !important;
}

.woocommerce-boost-sales .wbs-breadcrum .wbs-header-right {
  width: 55% !important;
  padding: 0 !important;
}

.woocommerce-boost-sales .wbs-breadcrum p.wbs-notify_added {
  font-weight: bold;
  color: #e86f1e !important;
}

a.wbs-p-url {
  color: #000;
  font-weight: bold;
}

.wbs-header-right a,
a.wbs-product-link {
  border-radius: 10px;
}

.woocommerce-boost-sales .wbs-breadcrum .wbs-p-image img,
.woocommerce-boost-sales img,
.woocommerce-boost-sales .wbs-upsells.wbs-upsells-atc-style-hover .wbs-product:hover .product-controls {
  border-radius: 15px;
}

.woocommerce-boost-sales .wbs-breadcrum {
  border-radius: 20px 20px 0 0;
}

.gridlist-toggle {
  display: none;
}

.product-images .img-thumbnail .inner {
  border-radius: 20px;
}

.single-product .cart:not(.variations_form),
.single_variation_wrap {
  border: none;
}

.wpcf7-form input,
.wpcf7-form textarea {
  width: 100%;
  font-style: italic;
}

.wpcf7 form .wpcf7-response-output {
  margin: 1em 0 1em;
}

.add_to_cart_read_more {
  display: none !important;
}

ul.products .product-inner:hover .product-image .img-effect .hover-image {
  opacity: 1;
  animation: fadeIn 0.25s;
}

.shop-loop-before {
  display: none !important;
}

.wlt-product-likes-product {
  right: 27px !important;
  top: -5px;
}

button.xoo-wl-action-btn:not(.xoo-wl-submit-btn) {
  color: #5d615d;
  line-height: 1.5;
  font-weight: 600;
  font-size: 12px;
  overflow: hidden;
  text-transform: uppercase;
  text-wrap: wrap;
  padding: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: end;
  align-items: center;
  font-style: italic;
  background: none;
  border: none;
  gap: 15px;
  max-width: 400px;
  justify-self: right;
}

button.xoo-wl-action-btn::before {
  width: 100%;
  line-height: normal;
  font-style: italic;
}

:lang(pl) button.xoo-wl-action-btn::before {
  content: "Powiadom o dostępności";
}

:lang(en) button.xoo-wl-action-btn::before {
  content: "Notify me when available";
}

:lang(fr) button.xoo-wl-action-btn::before {
  content: "Prévenez-moi lorsque disponible";
}

:lang(de) button.xoo-wl-action-btn::before {
  content: "Benachrichtigen Sie mich, wenn verfügbar";
}

:lang(cs) button.xoo-wl-action-btn::before {
  content: "Upozornit, až bude k dispozici";
}

:lang(da) button.xoo-wl-action-btn::before {
  content: "Giv mig besked, når tilgængelig";
}

:lang(hu) button.xoo-wl-action-btn::before {
  content: "Értesítsen, ha elérhető";
}

:lang(it) button.xoo-wl-action-btn::before {
  content: "Avvisami quando disponibile";
}

:lang(sk) button.xoo-wl-action-btn::before {
  content: "Upozorniť, keď bude dostupné";
}

:lang(es) button.xoo-wl-action-btn::before {
  content: "Avísame cuando esté disponible";
}

button.xoo-wl-action-btn:not(.xoo-wl-submit-btn)::before {
  text-transform: uppercase;
  border: 1px solid var(--porto-gray-2);
  padding: 0 5px;
  height: 34px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


button.xoo-wl-action-btn::after {
  content: "\f0e0";
  font-family: "Font Awesome 6 Free";
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 4px;
  font-style: normal;
}

button.xoo-wl-action-btn:not(.xoo-wl-submit-btn)::after {
  font-weight: 900;
  font-size: 17.33px;
  background: #8e948e;
  border-color: #8e948e;
  min-width: 30%;
}

button.xoo-wl-action-btn:hover,
button.xoo-wl-action-btn:focus,
button.xoo-wl-action-btn:active {
  color: #5d615d;
  box-shadow: none;
  background: none;
}

button.xoo-wl-action-btn:hover:not(.xoo-wl-submit-btn)::after,
button.xoo-wl-action-btn:focus:not(.xoo-wl-submit-btn)::after,
button.xoo-wl-action-btn:active:not(.xoo-wl-submit-btn)::after {
  background: #5d615d;
  border-color: #5d615d;
}

.wpb-get-a-quote-button-btn:before {
  width: 100%;
  line-height: normal;
  font-style: italic;
  text-transform: uppercase;
  border: 1px solid var(--porto-gray-2);
  padding: 0 5px;
  height: 34px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

:lang(pl) .wpb-get-a-quote-button-btn:before {
  content: "Zapytaj o produkt";
}

:lang(en) .wpb-get-a-quote-button-btn:before {
  content: "Ask for product";
}

:lang(fr) .wpb-get-a-quote-button-btn:before {
  content: "Demander le produit";
}

:lang(de) .wpb-get-a-quote-button-btn:before {
  content: "Fragen Sie nach dem Produkt";
}

:lang(cs) .wpb-get-a-quote-button-btn:before {
  content: "Zeptejte se na produkt";
}

:lang(da) .wpb-get-a-quote-button-btn:before {
  content: "Spørg om produktet";
}

:lang(hu) .wpb-get-a-quote-button-btn:before {
  content: "Érdeklődjön a termékről";
}

:lang(it) .wpb-get-a-quote-button-btn:before {
  content: "Chiedi del prodotto";
}

:lang(sk) .wpb-get-a-quote-button-btn:before {
  content: "Opýtajte sa na produkt";
}

:lang(es) .wpb-get-a-quote-button-btn:before {
  content: "Preguntar por el producto";
}

.wpb-get-a-quote-button-btn:after {
  content: "\f059";
  font-family: "Font Awesome 6 Free";
  padding: 8px 12px;
  font-style: normal;
  color: #fff;
  min-width: 30%;
  border-radius: 4px;
  font-weight: 900;
  font-size: 17.33px;
}

.onbackorder .wpb-get-a-quote-button-btn::after {
  background: #e86f1e;
  border-color: #e86f1e;
}

.onbackorder .wpb-get-a-quote-button-btn:hover::after,
.onbackorder .wpb-get-a-quote-button-btn:focus::after,
.onbackorder .wpb-get-a-quote-button-btn:active::after {
  background: #a44f16;
}

.onbackorder .wpb-get-a-quote-button-btn::before {
  color: #9b4c18;
}

.instock:not(.onbackorder) .wpb-get-a-quote-button-btn::after {
  background: #0ccc49;
  border-color: #0ccc49;
}

.instock:not(.onbackorder) .wpb-get-a-quote-button-btn:hover::after,
.instock:not(.onbackorder) .wpb-get-a-quote-button-btn:focus::after,
.instock:not(.onbackorder) .wpb-get-a-quote-button-btn:active::after {
  background: #3b7c39;
}

.instock:not(.onbackorder) .wpb-get-a-quote-button-btn::before {
  color: var(--porto-heading-color);
}

.outofstock .wpb-get-a-quote-button-btn::after {
  background: #8e948e;
  border-color: #8e948e;
}

.outofstock .wpb-get-a-quote-button-btn:hover::after,
.outofstock .wpb-get-a-quote-button-btn:focus::after,
.outofstock .wpb-get-a-quote-button-btn:active::after {
  background: #5d615d;
}

.outofstock .wpb-get-a-quote-button-btn::before {
  color: #5d615d;
}

.wpb-get-a-quote-button-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
  padding-left: 20%;
  max-width: 400px;
  justify-self: right;
}

.wpb-get-a-quote-button-btn.wpb-get-a-quote-button-btn-large {
  padding: 0;
  font-weight: 600;
  font-size: 12px;
  background: none;
  color: var(--porto-body-color);
}

.button.custom_order_button {
  color: #9b4c18;
  line-height: 1.5;
  font-weight: 600;
  font-size: 12px;
  overflow: hidden;
  text-transform: uppercase;
  text-wrap: wrap;
  padding: 0;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: end;
  align-items: center;
  font-style: italic;
  border: none;
  background: none;
  gap: 15px;
  max-width: 400px;
  justify-self: right;
  border-radius: 0;
}

.button.custom_order_button span {
  width: 100%;
  border: 1px solid var(--porto-gray-2);
  height: 34px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.button.custom_order_button::after {
  content: "\f14a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 17.33px;
  background: #e86f1e;
  border-color: #e86f1e;
  color: #ffffff;
  padding: 4px 12px;
  min-width: 30%;
  border-radius: 4px;
  font-style: normal;
}

.button.custom_order_button:hover,
.button.custom_order_button:focus,
.button.custom_order_button:active {
  color: #9b4c18;
  box-shadow: none;
  background: none;
}

.button.custom_order_button:hover::after,
.button.custom_order_button:focus::after,
.button.custom_order_button:active::after {
  background: #a44f16;
}

/* .custom_order_button_product {
  font-weight: 600;
  margin-bottom: 20px;
  padding: 10px 20px 12px;
  font-size: 15px;
  border-radius: 3px;
} */

.product-content .add-links-wrap,
.product-content .xoo-wl-btn-container {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: calc(100% - 30px);
  max-width: 400px;
}

.xoo-wl-btn-container>button {
  max-width: 100%;
}

.add-links .add_to_cart_button:hover,
.add-links .add_to_cart_button:focus,
.single_add_to_cart_button:hover,
.single_add_to_cart_button:focus {
  background: #3b7c39 !important;
  border-color: #3b7c39 !important;
  box-shadow: none;
}

.onbackorder .add-links div.quantity,
.onbackorder .summary div.quantity {
  display: none;
}

li.onbackorder .product-content .add_to_cart_button {
  display: none !important;
}

.product.onbackorder .single_add_to_cart_button {
  display: none !important;
}

/* .archive-products .add-links .add_to_cart_button::before, .archive-products .add-links .add_to_cart_read_more::before,.archive-products .add-links .yith-compare::before{
  margin-right: 7px;
  padding: 0px 0px 15px 5px;
} */
/* .archive-products div.quantity .plus {
  border-radius: 0;
  margin-top: 5px;
  width: 65px;
  height: 35px;
}
.archive-products div.quantity .minus {
  border-radius: 0;
  margin-top: 5px;
  width: 65px;
  height: 35px;
}
.archive-products div.quantity .qty {
  border-radius: 0;
  margin-top: 5px;
  width: 80px;
  height: 35px;
}
ul.products div.quantity .plus {
  border-radius: 0;
  margin-top: 5px;
  width: 65px;
  height: 35px;
}
ul.products div.quantity .minus {
  border-radius: 0;
  margin-top: 5px;
  width: 65px;
  height: 35px;
}
ul.products div.quantity .qty {
  border-radius: 0;
  margin-top: 5px;
  width: 80px;
  height: 35px;
} */
.product-stock-quantity {
  font-weight: bold;
  color: #333;
  margin: 0;
  margin-top: -19px;
  font-size: 14px;
}

/* Calculator Products Styling */
.calculator-products-grid.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 0px;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.calculator-products-grid.products .product-col {
  display: flex;
  width: 100%;
}

.calculator-products-grid.products .product-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.calculator-products-header {
  margin-bottom: 20px;
}

.calculator-products-header h4 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
}

/* Responsive adjustments for calculator products */
@media (max-width: 1200px) {
  .calculator-products-grid.products {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .calculator-products-grid.products {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .calculator-products-grid.products {
    grid-template-columns: 1fr;
  }
}

.product-image .stock,
.shop-loop-after {
  display: none !important;
}

.product-image {
  width: 101%;
  margin: -1px;
}

ul.product_attributes,
.summary .description .product_attributes {
  font-size: 14px;
  /* font-family: "DM Serif Display"; */
  font-family: "Tinos", serif;
  font-weight: 600;
  font-style: italic;
}

ul.product_attributes strong,
.summary .description .product_attributes strong {
  font-weight: 600;
}

ul.products .price {
  font-size: 14px;
  font-family: "Tinos", serif;
  font-weight: 600;
  font-style: italic;
  text-transform: uppercase;
  padding-top: 7px;
}

ul.products .price span {
  font-weight: bolder !important;
  font-size: 1.1rem;
}

.woocommerce-Price-currencySymbol {
  text-transform: none !important;
}

.product_meta .posted_in,
.product_meta .product-stock,
.product_meta .sku_wrapper,
.product_meta .tags,
.product-layout-full_width .product-summary-wrap .price,
.summary .description p.product_attributes,
.summary .description>ul li {
  font-family: "Tinos", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1rem !important;
  line-height: 1 !important;
  color: var(--porto-body-color);
}

.product-summary-wrap .price {
  margin: 0;
}

.single-product .product_meta span span,
.single-product .product_meta span a {
  font-weight: 600;
  color: var(--porto-body-color);
}

.single-product .product_meta a:hover {
  color: #e86f1e;
}

.product_meta .posted_in,
.product_meta .product-stock,
.product_meta .sku_wrapper,
.product_meta .tags {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.product_meta .posted_in {
  display: none;
}

.woocommerce-boost-sales .wbs-upsells.wbs-upsells-atc-style-theme_default .button {
  margin-top: 10px !important;
  border-radius: 10px !important;
}

.woocommerce-boost-sales .wbs-upsells .product-controls .quantity .qty {
  border-radius: 10px !important;
  ;
}

/* .add-links .add_to_cart_button::before, .add-links .add_to_cart_read_more::before, .add-links .yith-compare::before{
  font-family: "Porto";
  content: "\e8ba";
  font-weight: 600;
  padding: 0px 0px 15px 5px;
} */

.woocommerce-boost-sales .wbs-upsells .product-controls button.wbs-single_add_to_cart_button {
  font-family: "Porto";
  content: "\e8ba";
}

.woocommerce-boost-sales .wbs-breadcrum .wbs-header-right p.wbs-current_total_cart {
  margin-top: 10px !important;
  line-height: 17px !important;
}

.woocommerce-tabs .tab-content p {
  font-size: 17px;
  line-height: 17px;
  font-family: "Tinos", serif;
}

li.product:hover .product-image {
  box-shadow: none;
}

span.wlt-product-likes-button.like path.wcpl_heart {
  fill: white;
  stroke: red;
  stroke-width: 2px;
}

span.wlt-product-likes-button.unlike path.wcpl_heart {
  fill: red;
  stroke: red;
  stroke-width: 2px;
}

ul.products .product-inner .product-image .img-effect .hover-image {
  opacity: 0;
  transform: scale(1, 1) translateZ(0);
  transition: transform 1.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

ul.products .product-inner:hover .product-image .img-effect .hover-image {
  opacity: 1;
  transform: scale(1, 1) translateZ(0);
  transition: transform 3.5s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.woocommerce-loop-product__title {
  min-height: 48px;
}

.woocommerce-product-details__description {
  font-size: 12px;
  font-weight: 400;
  color: #000;
  font-style: italic;
  line-height: 10px;
}

.product-stock-quantity {
  position: inline;
  font-weight: bold;
  color: #333;
  margin: 0;
  margin-top: -15x;
  font-size: 15px;
}

.no-breadcrumbs .left-sidebar {
  width: 240px;
}

.woocommerce-checkout label {
  margin-bottom: 3px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 13px;
}

/* popups */
#customOrderModalContent,
.xoo-wl-srcont {
  display: flex;
  flex-direction: column;
  font-style: italic;

  >:not(.bc-after-popup) {
    &.snowflake {
      position: absolute;
      top: 20px;
      /* Start above the container */
      width: 25px;
      height: 25px;
      opacity: 0.1;
      background-size: contain;
      background-repeat: no-repeat;

      &:nth-child(1) {
        left: 25%;
        top: 20px;
        width: 45px;
        height: 45px;
        opacity: 0.6;
      }

      &:nth-child(2) {
        left: 12%;
        top: 40px;
      }

      &:nth-child(3) {
        left: 70%;
        top: 50px;
        width: 35px;
        height: 35px;
        opacity: 0.3;
      }

      &:nth-child(4) {
        left: 80%;
      }

      &:nth-child(even) {
        filter: grayscale(100%);
      }
    }

    h2 {
      text-shadow: -2px -2px 0 white, 2px -2px 0 white, 2px 2px 0 white, -2px 2px 0 white;
      line-height: 1.4rem;
      font-size: 1.2rem;
      margin-bottom: 1.1rem;
    }

    h3 {
      line-height: 1.3rem;
      font-size: 1.05rem;
      margin-bottom: 0;
    }

    h4 {
      position: relative;
      margin-bottom: 0;
    }

    &.custom-order-form-footer {
      display: inline-flex;
      align-items: center;
      margin-left: -25px;
      margin-bottom: -15px;

      img {
        filter: drop-shadow(1px 1px 3px);
      }
    }

    p,
    input,
    textarea,
    button,
    li,
    h4,
    .xwh-subheading {
      font-style: italic;
      line-height: 1rem;
      font-size: .9rem;
    }

    p,
    .xwh-subheading {
      margin-bottom: 1.1rem;
      margin-top: 0;
    }

    input,
    textarea,
    select,
    button {
      border-radius: 0;
      border-color: #575757;
      width: 100%;
      margin-bottom: 8px !important;
      padding: 6px 10px;
      height: auto;
    }

    /* Make the textarea resizable and increase its height */
    textarea {
      width: 100%;
      /* Full width to fit the container */
      height: calc(36px + 2rem);
      /* Default height, adjust as needed */
      resize: vertical;
      /* Allow the user to resize it vertically */
      padding: 6px 10px;
      box-sizing: border-box;
      /* Include padding and border in the element's total width/height */
    }

    /* Styling the submit button */
    input[type="submit"],
    button.xoo-wl-action-btn,
    .ebook-shop-button {
      color: white;
      /* White text */
      padding: 6px 10px;
      cursor: pointer;
      /* Pointer cursor */
      width: 100%;
      /* Full width */
      box-sizing: border-box;
      /* Make sure padding does not overflow */
      font-weight: 500;
      border-color: #e86f1e;
      background-color: #e86f1e;
      text-transform: none;
      box-shadow: none;
    }

    input[type="submit"]:hover,
    button.xoo-wl-action-btn:hover,
    button.xoo-wl-action-btn:focus,
    button.xoo-wl-action-btn:active,
    .ebook-shop-button:hover,
    .ebook-shop-button:focus,
    .ebook-shop-button:active {
      border-color: #464547;
      background-color: #464547;
    }
  }
}

#flexslider-up-sell {
  overflow-x: clip;
}

.vi-flexslider {
  background: none !important;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product {
  background: #fff;
  border-radius: 10px;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-top {
  margin-bottom: 10px;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-top img {
  border-radius: 10px 10px 0 0;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-desc {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0 7px;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-desc .woocommerce-loop-product__title {
  height: 0;
  overflow: hidden;
  display: block;
  font-style: italic;
  line-height: 1rem;
  font-size: .9rem;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .price {
  font-size: 1.1rem !important;
  line-height: 2rem;
  font-weight: 600;
  color: var(--porto-color-price);
  margin: 0 !important;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-controls {
  margin-bottom: 10px;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-controls button {
  background: #0ccc49 !important;
  border-color: #0ccc49 !important;
  color: var(--porto-primary-color-inverse);
  font-size: .8rem !important;
  padding: 8px 12px !important;
  border-radius: 4px !important;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-upsells .product-controls .woocommerce-variation-add-to-cart.wbs-upsells-hide-quantity .wbs-single_add_to_cart_button,
#wbs-content-upsells.woocommerce-boost-sales .wbs-upsells .product-controls .woocommerce-boost-sales-cart-form.wbs-upsells-hide-quantity .wbs-single_add_to_cart_button {
  width: auto !important;
  font-size: .8rem !important;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-controls button:hover {
  background: #3b7c39 !important;
  border-color: #3b7c39 !important;
}

.vi-flexslider .vi-wbs-chosen.wbs-variation.wbs-product .product-controls .quantity.buttons_added {
  display: none;
}

.woocommerce-boost-sales-direction-nav a.woocommerce-boost-sales-next:before,
.woocommerce-boost-sales-direction-nav a.woocommerce-boost-sales-prev:before {
  font-style: normal;
}

.woocommerce-boost-sales-direction-nav .woocommerce-boost-sales-prev,
.woocommerce-boost-sales-direction-nav .woocommerce-boost-sales-next {
  top: 100px;
}

.bc-after-popup {
  position: absolute;
  top: 100%;
  width: 100%;
  left: 0;
  padding: 0 5px;
  margin: 0 -5px;
  max-width: 770px;
  margin-top: 20px;
  text-align: start;
  overflow-x: clip;
}

.bc-after-popup .vi-wbs-chosen.wbs-variation.wbs-product,
.bc-after-popup .wbs-upsells-item,
.bc-after-popup .wbs-upsells-item:nth-child(2n+1) {
  box-shadow: 2px 2px 10px black;
}

.bc-after-popup .upsell-title {
  color: #fff;
  margin: 0 0 15px 0 !important;
  font-style: italic;
}

.xoo-wl-user-added .xoo-wl-sidebar,
.xoo-wl-header,
.xoo-wl-form {
  display: block !important;
}

.xoo-wl-notices {
  position: absolute;
  top: 100%;
  margin: 0;
  width: 100%;
  font-size: .9rem;
  line-height: 1rem;
  text-align: center;
}

.xoo-wl-notice-error,
.xoo-wl-notice-success {
  border-radius: 0;
  border: none;
  margin: 0;
  padding: 6px 10px;
  color: #fff;
}

.xoo-wl-notice-success {
  background-color: #3b7c39;
}

.xoo-wl-notice-error {
  background-color: #dc3545;
}

.xoo-wl-user-added .xoo-wl-main {
  background-color: #fff;
  padding: 0 !important;
}

.xoo-wl-sidebar {
  background-size: contain;
  margin-right: 15px;
  height: 200px;
}

.xoo-wl-main {
  position: relative;
  margin-bottom: 28px;
  padding: 0;
}

.xoo-wl-main span.xwh-heading {
  text-align: start;
  line-height: 1.2rem;
  font-size: 1rem;
}

.xoo-wl-main .xoo-aff-group {
  margin-bottom: 0;
  width: 100%;
}

.xoo-wl-modal:before {
  height: auto;
}

.bc-result-box {
  color: white;
  padding: 6px 10px;
  margin-bottom: 8px;
  text-align: center;
  overflow: hidden;
}

#customOrderModal,
.xoo-wl-modal,
#popup-overlay,
.swal2-container,
#ebookFullPagePopup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  padding: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.swal2-container {
  display: flex !important;
  position: fixed !important;
  z-index: 1000 !important;
  padding: 20px !important;
  left: 0 !important;
  top: 0 !important;
  height: 100% !important;
  overflow: auto !important;
}

.swal2-html-container {
  margin: 0 !important;
  width: 100% !important;
  overflow: hidden !important;
}

.swal2-html-container img {
  max-width: 50%;
}

#popup-overlay .popup-footer {
  text-align: center;
}

/* przed otwarciem animacjastart */
.custom-order-modal,
.xoo-wl-popup-active.xoo-wl-popup .xoo-wl-modal,
#popup-overlay .popup-content,
#wbs-content-upsells.woocommerce-boost-sales .wbs-content .wbs-content-inner,
#ebookPopupContent {
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.8);
}

#ebookPopupContent h4 {
  color: #e86f1e;
}

#customOrderModal,
.xoo-wl-popup .xoo-wl-modal,
#ebookFullPagePopup,
#pupilAccountPopup {
  scrollbar-width: none;
}

/* po otwarciu animacjaend */
.custom-order-modal-active .custom-order-modal,
.xoo-wl-popup-active.xoo-wl-popup.upsells-loaded .xoo-wl-modal,
#popup-overlay.active .popup-content,
#wbs-content-upsells.active.woocommerce-boost-sales .wbs-content .wbs-content-inner,
#ebookFullPagePopup.ebook-popup-active #ebookPopupContent {
  opacity: 1;
  transition: all 0.2s ease-in-out;
  transform: scale(1);
}

#customOrderModal,
#ebookFullPagePopup,
#pupilAccountPopup {
  visibility: hidden;
  transition: visibility 0s linear 0.2s;
}

/* Pupil Account Popup Styles */
#pupilAccountPopup {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 1000;
  padding: 20px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

#pupilPopupContent {
  position: relative;
  background: linear-gradient(180deg, #FFF8E5 63.46%, #F4CC9A 100%);
  margin: 0 auto;
  padding: 30px 40px;
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 2px 2px 10px black;
  text-align: center;
  opacity: 0;
  transition: all 0.2s ease-in-out;
  transform: scale(0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#pupilAccountPopup.pupil-popup-active #pupilPopupContent {
  opacity: 1;
  transform: scale(1);
}

#pupilPopupContent h2 {
  margin-bottom: 20px;
}

#pupilPopupContent p {
  font-family: 'Tinos';
  font-weight: 400;
  font-style: Italic;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
}

#pupilPopupContent .main-button {
  color: #000;
  padding: 3px 5px;
  width: 100%;
  max-width: 200px;
  box-sizing: border-box;
  text-transform: none;
  box-shadow: none;
}

#pupilPopupContent .main-button:hover,
#pupilPopupContent .main-button:focus,
#pupilPopupContent .main-button:active {
  background-color: #E46C0A;
  color: #fff;
}

#pupilPopupContent .kp-popup-video {
  margin-bottom: 20px;
}

#pupilPopupClose {
  position: absolute;
  top: -10px;
  right: -10px;
  color: #E46C0A;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  height: 15px;
  width: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FDEADA;
  padding: 18px;
  border-radius: 100%;
  box-shadow: 0px 2.9px 2.9px 0px #00000040;
}

.kp-popup-video {
  margin-bottom: 15px;
  max-width: calc(100% + 1px);
  height: auto;
  border-radius: 12px;
}

/* background popupów */
#customOrderModal,
.xoo-wl-opac,
#popup-overlay,
.swal2-container,
#wbs-content-upsells.woocommerce-boost-sales .wbs-overlay,
.mfp-bg,
#ebookFullPagePopup {
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1 !important;
  z-index: 210;
}

.swal2-container {
  background-color: rgba(0, 0, 0, 0.8) !important;
  z-index: 10 !important;
}

#customOrderModal.custom-order-modal-active,
.xoo-wl-popup-active.xoo-wl-popup.upsells-loaded,
#ebookFullPagePopup.ebook-popup-active,
#pupilAccountPopup.pupil-popup-active {
  visibility: visible;
  transition: visibility 0s linear 0s;
}

.xoo-wl-popup-active.xoo-wl-popup {
  visibility: hidden;
}

html.xoo-wl-popup-active,
body.xoo-wl-popup-active {
  overflow-y: auto;
}

.button.view-product-button {
  font-size: 14px;
}

#popup-overlay.no-background .popup-content {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
  max-width: 1098px;
}

/* layout popupów */
#customOrderModalContent,
.xoo-wl-inmodal,
.popup-content,
.swal2-modal,
#login-form-popup .featured-box,
#ebookPopupContent {
  position: relative;
  background-color: #fff;
  margin: 0 auto;
  padding: 30px 40px;
  width: 100%;
  max-width: 770px;
  border-radius: 40px;
  box-shadow: 2px 2px 10px black;
}

#ebookPopupContent .ebook-ribbon {
  margin-left: -40px;
  margin-right: -40px;
}

#ebookPopupContent {
  text-align: center;
  background: linear-gradient(180deg, #FFFFFF 34.62%, #FEF8E1 67.79%, #FDE2C2 100%);
}

#login-form-popup .featured-box .box-content {
  padding: 0;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-content .wbs-content-inner {
  position: relative;
  margin: 0 auto;
  width: 770px;
  max-width: 770px;
  border-radius: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  background: none;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-breadcrum {
  background-color: unset;
  border-bottom: none;
  padding: 30px 40px;
  background-color: #fff;
  box-shadow: 2px 2px 10px black;
  border-radius: 40px;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-content-inner .wbs-bottom {
  padding: 0;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-content-inner .wbs-bottom .upsell-title {
  color: #fff;
  font-style: italic;
  font: var(--porto-h3-fst, normal) var(--porto-h3-fw, 700) var(--porto-h3-fs, 1.8em) / var(--porto-h3-lh, 32px) var(--porto-h3-ff, var(--porto-body-ff)), sans-serif;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-upsells-add-items {
  display: none;
  height: 0;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-upsells .product-desc .woocommerce-loop-product__title {
  font-weight: normal;
  color: #e86f1e;
  margin: 0;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-upsells .product-controls .wbs-cart form {
  margin: 0;
}

.woocommerce-boost-sales .wbs-upsells .product-controls button.wbs-single_add_to_cart_button,
.woocommerce-boost-sales .wbs-upsells-items .product-controls button.wbs-single_add_to_cart_button,
.wbs-content-inner-crs .wbs-crosssells-button-atc button.wbs-single_add_to_cart_button,
.woocommerce-boost-sales .wbs-upsells .product-controls .wbs-cart .wbs-product-link,
.wbs-content-inner-crs .wbs-crosssells-button-atc button.wbs-single_add_to_cart_button,
.woocommerce-boost-sales .wbs-breadcrum .wbs-header-right a,
.vi-wbs-btn-redeem {
  background-color: #e86f1e !important;
  padding: 0px 12px !important;
  border-radius: 4px !important;
  font-size: 14px !important;

}

#wbs-content-upsells.woocommerce-boost-sales .wbs-breadcrum .wbs-header-right a::before {
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
  -webkit-transition: none;
  transition: transform 0.4s, opacity 0.4s;
  -webkit-transition-timing-function: none;
  transition-timing-function: none;
}

.swal2-modal {
  position: relative !important;
  background-color: #fff !important;
  padding: 30px 40px !important;
  width: 100% !important;
  max-width: 770px !important;
  border-radius: 40px !important;
}

#popup-overlay.no-background .close-popup {
  top: -46px;
  right: -34px;
}

/* zamknij popup */
#customOrderModalClose,
span.xoo-wl-close,
.close-popup,
.swal2-close,
#wbs-content-upsells.woocommerce-boost-sales .wbs-close,
.mfp-close,
.mfp-close-btn-in .mfp-close,
#ebookPopupClose {
  position: absolute;
  top: 0;
  right: 0;
  color: #b66d31;
  font-size: 40px;
  font-weight: bold;
  padding: 5px 15px;
  cursor: pointer;
}

#ebookPopupClose {
  line-height: 1.2;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-close {
  border: none;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 7px;
}

.mfp-close,
.mfp-close-btn-in .mfp-close {
  opacity: 1;
}

.mfp-close-btn-in .mfp-close:before,
.mfp-close:before {
  width: 19px;
  top: 20px;
  left: 12px;
  border-top: 3px solid;
}

.mfp-close-btn-in .mfp-close:after,
.mfp-close:after {
  height: 19px;
  top: 12px;
  left: 20px;
  border-left: 3px solid;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-close span {
  display: none;
}

#wbs-content-upsells.woocommerce-boost-sales .wbs-close::before {
  content: "\00D7";
  font: var(--porto-body-fst, normal) var(--porto-body-fw, 400) var(--porto-body-fs, 14px) / var(--porto-body-lh, 24px) var(--porto-body-ff), sans-serif;
  font-size: 40px;
  font-weight: bold;
}

.swal2-close {
  color: #b66d31 !important;
  font-size: 40px !important;
  padding: 20px !important;
  margin: 20px !important;
  cursor: pointer !important;
}

.xoo-wl-icon-cross:before {
  content: "\00D7";
}

.xoo-wl-action-btn:before {
  font-style: normal;
}

.xwh-heading::after {
  content: "\01F60A";
  font-style: normal;
}

span.xoo-wl-close {
  box-shadow: none;
  background-color: transparent;
}

#customOrderModalClose:hover,
#customOrderModalClose:focus,
span.xoo-wl-close.xoo-wl-icon-cross:hover,
span.xoo-wl-close.xoo-wl-icon-cross:focus,
.swal2-close:hover,
#wbs-content-upsells.woocommerce-boost-sales .wbs-close:hover,
#wbs-content-upsells.woocommerce-boost-sales .wbs-close:focus,
.mfp-close,
.mfp-close-btn-in .mfp-close:hover,
.mfp-close,
.mfp-close-btn-in .mfp-close:focus,
#ebookPopupClose:hover,
#ebookPopupClose:focus {
  color: #464547;
  text-decoration: none;
  cursor: pointer;
}

.swal2-close:hover {
  color: #464547 !important;
}

.swal2-close:focus {
  box-shadow: none !important;
}

.customOrderFormCol {
  width: 50%;
  float: left;
}

#bc-floating-right {
  position: fixed;
  z-index: 100;
  right: 0;
  top: 5vh;
  font-style: normal;
}

#bc-floating-right .bc-facebook a {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  text-wrap: nowrap;
  height: 60px;
  padding: 5px 15px;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  font-size: 0.85rem;
  background: #1877F2;
  color: #fff;
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.2);
  font-style: italic;
}

#bc-floating-right .bc-facebook a .bc-logo {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  font-style: normal;
  margin-bottom: 5px;
}

#bc-floating-right .bc-facebook a .bc-logo::before {
  content: "\f082";
  font-family: var(--fa-style-family-brands, "Font Awesome 6 Brands");
  text-indent: 0;
  margin-right: 5px;
  z-index: 2;
  text-align: center;
}

#bc-floating-right .bc-facebook a:hover {
  background: #0f4fa4;
}

.wpb_button,
.wpb_content_element {
  margin-bottom: 0;
}

ul.products .price {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.97rem;
  text-transform: none;
  padding-top: 0;
}

ul.products .price bdi {
  text-align: right;
  font-weight: 600;
}

ul.products .price bdi span {
  font-weight: 600;
}

ul.products .price span {
  color: var(--porto-body-color) !important;
  text-align: left;
  font-weight: 500;
}

ul.products .add-links {
  display: inline-flex;
  flex-wrap: nowrap;
  margin-bottom: 0;
  width: 100%;
  justify-content: right;
}

ul.products .add-links div.quantity,
.summary .quantity.buttons_added {
  margin-bottom: 0;
  margin-right: 15px;
}

.product-content p {
  display: none;
}

.product-content p.product_attributes,
.product-content>ul li,
.summary .description p.product_attributes,
.summary .description>ul li {
  display: flex;
  justify-content: space-between;
  text-align: right;
  margin-bottom: 10px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--porto-body-color);
  line-height: var(--porto-body-lh);
}

.product-content p.product_attributes span,
.product-content .product_attributes li span,
.product-content>ul:not(.product_attributes)>li,
.summary .description p.product_attributes span,
.summary .description .product_attributes li span,
.summary .description>ul:not(.product_attributes)>li {
  color: var(--porto-body-color) !important;
  text-align: left;
  font-weight: 500;
}

.summary .description>ul {
  padding-left: 0;
  margin-bottom: 0;
}

.product-content>ul ul,
.product-content>ul ul li,
.summary .description>ul ul,
.summary .description>ul ul li {
  margin: 0;
}

.product-content>ul,
.summary .description>ul {
  margin-bottom: 10px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  flex-direction: column;
}

.product-summary-wrap .description,
.product-summary-wrap .product_meta {
  margin: 0;
}

.product-layout-full_width .product-summary-wrap .product_meta {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.product-content div.quantity .qty,
.summary div.quantity .qty {
  width: 100% !important;
  min-width: 2.5em;
}

.product-content div.quantity .minus,
.product-content div.quantity .plus,
.summary div.quantity .minus,
.summary div.quantity .plus {
  min-width: 2em;
}

.product-layout-full_width .entry-summary .quantity .plus {
  font-size: unset;
}

.product-content .add-links .add_to_cart_button,
.single_add_to_cart_button {
  background: #0ccc49;
  border-color: #0ccc49;
  color: #fff;
  font-style: normal;
  min-width: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.product-content .add-links .add_to_cart_button:before,
.product-summary-wrap .single_add_to_cart_button:before {
  margin-right: 0;
}

.product-content .quantity.buttons_added {
  width: 100%;
}

.summary .quantity.buttons_added {
  width: calc(70% - 15px);
}

.bc-hodowla-galeria {
  display: flex;
  justify-content: left;
  text-align: center;
  margin-left: -16px;
  margin-right: -16px;
  background-color: #ECEFF1;
}

.bc-hodowla-galeria.shortcode {
  margin-left: 0;
  margin-right: 0;
}

.bc-hodowla-galeria .hodowla,
.bc-hodowla-galeria .galeria,
.bc-hodowla-galeria .rodowod {
  padding: 20px 16px;
  border-radius: 5px;
  transition: color 0.2s ease-in-out;
  align-content: center;
}

.bc-hodowla-galeria .hodowla:hover,
.bc-hodowla-galeria .galeria:hover,
.bc-hodowla-galeria .rodowod:hover {
  color: #813a0a;
}

.bc-hodowla-galeria .hodowla .svg-custom svg path,
.bc-hodowla-galeria .galeria .svg-custom svg path,
.bc-hodowla-galeria .rodowod .svg-custom svg path {
  transition: stroke 0.2s ease-in-out;
}

.bc-hodowla-galeria .hodowla:hover .svg-custom svg path,
.bc-hodowla-galeria .galeria:hover .svg-custom svg path,
.bc-hodowla-galeria .rodowod:hover .svg-custom svg path {
  stroke: #813a0a;
}

.bc-hodowla-galeria .bc-hg-e-book {
  margin-left: auto;
  background-color: #FAC090;
  align-content: center;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 20px 20px 70px;
  position: relative;
  color: #000;
  transition: color 0.2s ease-in-out;
}

.bc-hodowla-galeria .bc-hg-e-book:hover {
  color: #e86f1e;
}

.bc-hodowla-galeria .bc-hg-e-book:before {
  content: "";
  display: block;
  background-image: url(assets/images/ebook-icon.png);
  position: absolute;
  top: 0;
  right: calc(100% - 90px);
  height: 100px;
  width: 150px;
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.bc-shipping-info {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 700;
}

.bc-pedigree-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0 8px 0;
  flex-wrap: wrap;
  font-size: 1rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}


.bc-pedigree-container .pedigree-link,
.bc-pedigree-container .gallery-link,
.bc-pedigree-container .product-like-button {
  color: #e86f1e;
  width: auto;
  background-color: #fff;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease-in-out;
}

.bc-pedigree-container .pedigree-link:hover,
.bc-pedigree-container .gallery-link:hover,
.bc-pedigree-container .product-like-button:hover,
.summary .product-like-button:hover {
  color: #813a0a;
}

.bc-pedigree-container .pedigree-link .svg-custom svg path,
.bc-pedigree-container .gallery-link .svg-custom svg path {
  transition: stroke 0.2s ease-in-out;
}

.bc-pedigree-container .pedigree-link:hover .svg-custom svg path,
.bc-pedigree-container .gallery-link:hover .svg-custom svg path {
  stroke: #813a0a;
}

.bc-pedigree-container .pedigree-link i,
.bc-pedigree-container .gallery-link i {
  margin-right: 5px;
}

.bc-pedigree-container .product-like-button i {
  margin-left: 5px;
}

.bc-pedigree-container .pedigree-link.liked,
.bc-pedigree-container .gallery-link.liked,
.bc-pedigree-container .product-like-button.liked,
.summary .product-like-button.liked i {
  background-color: #fff;
  color: red;
}

.bc-pedigree-container .pedigree-link.liked .product-like-count,
.bc-pedigree-container .gallery-link.liked .product-like-count,
.bc-pedigree-container .product-like-button.liked .product-like-count {
  color: #e86f1e;
}

.bc-pedigree-container .pedigree-link.liked:hover .product-like-count,
.bc-pedigree-container .gallery-link.liked:hover .product-like-count,
.bc-pedigree-container .product-like-button.liked:hover .product-like-count {
  color: #813a0a;
}

.bc-pedigree-container .pedigree-link.liked:hover,
.bc-pedigree-container .gallery-link.liked:hover,
.bc-pedigree-container .product-like-button.liked:hover,
.summary .product-like-button.liked:hover,
.summary .product-like-button.liked:hover i {
  color: #813a0a;
}

.single-product .product-images .image-galley-viewer,
.single-product .product-images .zoom {
  display: none;
}

.summary .product-like-container {
  position: absolute;
  top: 0;
  right: 0;
  margin-top: 10px;
  font-size: 1.3rem;
  padding-right: calc(var(--bs-gutter-x) / 2);
}

.main-boxed .product-layout-full_width .product_title,
.single-product.boxed .product-layout-full_width .product_title {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1;
}

.single-product .product_title {
  margin-bottom: 15px;
}

.fpf-fields,
.product-layout-full_width .product-summary-wrap form.cart {
  margin: 0;
}

.single-product .cart:not(.variations_form) {
  padding: 0;
}

.single-product form.cart:not(.variations_form) {
  gap: 0;
  width: 100%;
  display: block;
}

.product-layout-full_width .product-summary-wrap {
  padding-right: 0;
}

.product-layout-full_width .product-summary-wrap {
  margin-left: 0;
  margin-right: 0;
  margin-top: 20px;
}

.summary .entry-summary {
  justify-self: right;
}

.fpf-fields-config-wrapper {
  display: none;
}

.bc-add-to-cart-container {
  max-width: 400px;
  justify-self: right;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
}

.ifb-flip-box-section {
  padding: 0;
}

.flip-box-icon .aio-icon-img {
  width: 100%;
}

.flip-box-icon .img-icon {
  height: 30vh;
  object-fit: cover;
  border-radius: 5px !important;
  width: 100%;
}

.ifb-face {
  border-radius: 5px;
}

.flip-box-wrap,
.wpb_row .wpb_column .wpb_wrapper .flip-box-wrap {
  margin-bottom: 16px;
}

.flip-box-wrap .flip-box .flipbox_heading {
  margin-top: 0;
}

.flip-box-wrap .horizontal_flip_left .ifb-back {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-box-wrap .flip_link a {
  width: 100%;
  line-height: normal;
  font-style: italic;
  text-transform: uppercase;
  padding: 10px 15px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e86f1e;
  border-color: #e86f1e;
  font-size: 20px;
}

.flip-box-wrap .flip_link a:hover,
.flip-box-wrap .flip_link a:focus,
.flip-box-wrap .flip_link a:active {
  background: #813a0a;
  border-color: #813a0a;
}

.free-shipping-notice,
#privacy_policy_reg_field {
  margin: 15px 0 0 0;
}

.alg-wc-alfs-progress {
  margin-top: 10px;
}

.product-image .viewcart:before {
  font-family: "Porto";
  content: "\e8ba";
  font-style: normal;
}

.product-image .viewcart {
  color: #fff;
  background-color: #e86f1e;
}

.product-image .viewcart:hover,
.product-image .viewcart:focus {
  background-color: #813a0a;
}

.bc-ebook-header .bc-ebook-header-book.wpb_single_image.vc_align_left {
  text-align: center;
}

.bc-ebook-header p {
  line-height: 1.1;
}

.bc-ebook-header .bc-ebook-header-book.wpb_single_image.vc_align_left {
  max-height: 100px;
}

.bc-ebook-header .bc-ebook-header-book.wpb_single_image.vc_align_left img {
  width: 200px;
}

.bc-header-text {
  color: #E46C0A;
  font-size: 18px;
  font-style: italic;
  width: 100%;
  max-width: 100%;
  text-align: center;
  line-height: 18px;
  padding: 20px;
}

.bc-header-text .bc-header-text-below {
  margin-top: 20px;
  color: #000;
}

.bc-ebook-open {
  max-width: 80%;
  width: 800px;
  justify-self: center;
  min-height: 150px;
  display: none;
  align-items: center;
}

.bc-ebook-open a {
  font-size: 16px;
  color: var(--porto-body-color);
}

.bc-ebook-open.open {
  display: flex;
}

.bc-ebook-closed.closed {
  display: none;
}

.ebook-header {
  font-size: 22px;
  color: #e86f1e;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ebook-header::before {
  content: "";
  background-image: url('/wp-content/uploads/2025/04/rose-cien-1.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 35px;
  height: 35px;
  display: inline-block;
}

.ebook-header::after {
  content: "";
  background-image: url('/wp-content/uploads/2025/04/smile-cien-2.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 50px;
  height: 50px;
  display: inline-block;
}


.bc-ebook-open>a:after {
  content: "";
  background-image: url('/wp-content/uploads/2025/04/Opened_Left_Crop.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 300px;
  height: 150px;
  display: inline-block;
  margin-left: 5px;
  position: absolute;
  top: 0;
  left: 100%;

  @media only screen and (max-width: 991px) {
    position: unset;
    margin-top: 20px;
  }
}

#bc-ebook-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 250px;
  cursor: pointer;

  @media only screen and (max-width: 991px) {
    position: unset;
  }
}

.shop_table.cart-table a.remove,
.shop_table.review-order a.remove,
.widget_shopping_cart .product-image .remove-product,
.wishlist-popup .remove_from_wishlist,
.wishlist_table.traditional .remove_from_wishlist:not(.button) {
  top: -10px;
  right: -10px;
}

.product .upsells.products ul.products .owl-stage,
.product .upsells.products ul.products .owl-stage .owl-item,
.product .upsells.products ul.products .owl-stage .owl-item li,
.cross-sells .slider-wrapper .products li.product,
.cross-sells .slider-wrapper .products .owl-stage,
.cross-sells .slider-wrapper .products .owl-stage .owl-item {
  height: 100%;
}

.product .upsells.products ul.products .owl-stage-outer,
.cross-sells .slider-wrapper .products .owl-stage-outer {
  padding-bottom: 20px;
}

.woocommerce-account .featured-boxes,
.woocommerce-checkout .featured-boxes,
.woocommerce-thankyou .featured-boxes {
  border: 1px solid #e86f1e;
  border-radius: 40px;
  background-color: #FFFCF0;
}

.woocommerce-account .featured-boxes .icon-featured,
.woocommerce-checkout .featured-boxes .icon-featured,
.woocommerce-thankyou .featured-boxes .icon-featured {
  background-color: #e86f1e !important;
  border-radius: 50px;
  padding: 20px;
  width: 95px;
  height: 95px;
}

/* Make sure icons show properly */
.woocommerce-account .featured-box .icon-featured::before {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  content: "";
  width: 55px;
  height: 55px;
  display: block;
}

.woocommerce-account .featured-box .icon-featured.orders-icon::before {
  background-image: url(assets/images/account/orders.svg);
}

.woocommerce-account .featured-box .icon-featured.downloads-icon::before {
  background-image: url(assets/images/account/ebooks.png);
  width: 200px;
  height: 200px;
  margin: -70px;
}

.woocommerce-account .featured-box .icon-featured.addresses-icon::before {
  background-image: url(assets/images/account/addresses.svg);
}

.woocommerce-account .featured-box .icon-featured.account-details-icon::before {
  background-image: url(assets/images/account/account-details.svg);
}

.woocommerce-account .featured-box .icon-featured.wishlist-icon::before {
  background-image: url(assets/images/account/wishlist.svg);
}

.woocommerce-account .featured-box .icon-featured.logout-icon::before {
  background-image: url(assets/images/account/logout.svg);
}

.account-list-icon {
  padding: 0 10px;
}

.account-list-icon img {
  width: 24px;
  height: 24px;
}

.wgb-item-thumb::after {
  content: "";
  background-image: url(assets/images/wstazka.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: left;
  display: inline-block;
  position: absolute;
  width: 100%;
  height: 75px;
  left: 0;
  top: 0;
}

#mini-cart .buttons a.button.wc-forward:not(.checkout) {
  display: block;
}

#mini-cart .buttons a.checkout {
  display: none;
}

.product.product_cat-e-booki .price,
.product.product_cat-e-booki form.cart,
.product.product_cat-e-booki .add-links {
  display: none;
}

.wpml-ls-legacy-dropdown {
  width: 140px;
}

.wpml-ls-legacy-dropdown .wpml-ls-item a {
  display: flex;
  justify-content: left;
}

.wpml-ls-legacy-dropdown .wpml-ls-item a span {
  display: flex;
  color: inherit;
  align-items: center;
  font-family: "Tinos", serif;
}

form.cart .wc-stripe-product-checkout-container {
  justify-self: right;
  width: 400px;
  max-width: 100%;
}

.woof_list.woof_list_sd.woof_list_radio_sd {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.woof_list.woof_list_sd.woof_list_radio_sd .woof-sd-ie-radio>label,
.woof_list.woof_list_sd.woof_list_radio_sd .woof-sd-ie-radio>label>span,
.woof_list.woof_list_sd.woof_list_radio_sd .woof-sd-ie-radio>label:hover>span {
  border-radius: 5px !important;
}

.woof_submit_search_form_container {
  justify-content: center;
}

.button.woof_reset_search_form {
  border-radius: 5px;
}

.woof_container {
  margin-top: 20px;
  margin-bottom: -5px;
  padding-bottom: 0;
}

.wpml-dostawa-link {
  font-size: 14px;
  text-align: center;
}

.woocommerce-boost-sales .wbs-wrapper,
.woocommerce-boost-sales .wbs-content .wbs-content-inner {
  overflow: visible !important;
}

.wbs-content-inner .wbs-bottom {
  display: none !important;
}

.woof_radio_term_reset img {
  width: 20px;
}

div.woof-sd-ie.woof-sd-ie-radio>input[checked]+label>span {
  background-color: #e86f1e !important;
}


div.woof-sd-ie.woof-sd-ie-radio>input[checked]+label>span>span {
  color: #fff;
}

div.woof-sd-ie.woof-sd-ie-radio>input[checked]+label {
  border: none !important;
}

.animal-form-trigger {
  text-align: center;
  margin: 20px 0;
}

.animal-form-open-btn {}

.animal-form-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  overflow-y: auto;
  justify-content: center;
  align-items: center;
}

.animal-form-popup-content,
.mec-form-popup-content {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mec-form-popup-content {
  max-width: 800px;
}

.animal-form-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.animal-form-container h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #e86f1e;
  font-size: 1.5em;
}

.animal-form-container hr {
  margin-left: -30px;
  margin-right: -30px;
  background: #93979F;
}

.animal-form-success {
  background: #dff0d8;
  color: #3c763d;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.animal-form .form-row {
  margin-bottom: 1em;
}

.animal-form label {
  display: block;
  margin-bottom: 0.5em;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 14px;
  letter-spacing: 0%;
  color: #000000;
}

.animal-form input {
  width: 100%;
  padding: 14px;
  box-sizing: border-box;
  font-size: 14px;
  border-radius: 10px;
  background: #F2F3F7 !important;
  border: 1px solid #DBDCE3;
}

.animal-form-submit {
  margin-top: 1.5em;
}

.mec-form-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
  overflow-y: auto;
}

/* Make sure the popup form is properly styled */
.mec-form-popup-content .mec-fes-form {
  margin: 0;
  padding: 0;
}

.mec-form-popup-content .mec-fes-form-top-actions {
  margin-top: 0;
}

#mec-event-data,
#mec-event-banner,
#mec-tags {
  display: none;
}

.mec-fes-form #mec_reg_form_field_types .button.red:hover,
.mec-fes-form #mec_reg_form_field_types .button:hover,
.mec-fes-form .mec-form-row .button:not(.wp-color-result):hover,
.mec-fes-form .mec-form-row .quicktags-toolbar input.button.button-small:hover,
.mec-fes-list .mec-form-row .button:hover,
.mec-fes-list ul li .mec-fes-event-edit a:hover,
.mec-fes-list ul li .mec-fes-event-export a:hover,
.mec-fes-list ul li .mec-fes-event-view a:hover {
  background: #e86f1e !important;
  color: #fff;
}

.mec-fes-form .mec-meta-box-fields h4,
.mec-fes-form .quicktags-toolbar,
.mec-fes-form div.mce-toolbar-grp {
  background: #F0F0F0;
}

.animals-grid {
  display: flex;
  position: relative;
  margin-bottom: 40px;
  height: 135px;
  gap: 20px;
}

.animals-grid.owl-carousel .owl-nav .owl-next,
.animals-grid.owl-carousel .owl-nav .owl-prev,
.animals-grid.owl-carousel .owl-nav [class*=owl-]:active,
.animals-grid.owl-carousel .owl-nav [class*=owl-]:focus,
.animals-grid.owl-carousel .owl-nav [class*=owl-]:hover,
.animals-grid.owl-carousel .owl-nav [class*=owl-]:hover {
  background: none;
  color: #000000;
  font-style: normal;
  font-size: 30px;
}

.animal-card {
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid #d2d2d2;
  height: 135px;
  overflow: hidden;
  background-color: #fff;
  padding: 0;
  width: 100%;
}

.animal-card-columns {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.animal-card.selected {
  border-color: #E46C0A;
  background: #fff;
  box-shadow: 0px 0px 13.3px 0px #E46C0A80;
}

.animal-card:hover {
  box-shadow: 0px 0px 13.3px 0px #E46C0A80;
}

.animal-card-right,
.animal-card-left {
  padding: 20px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.animal-card-left {
  float: left;
}

.animal-card-right {
  background: #F0F0F0;
  float: right;
  padding: 0;
  height: 100%;
  display: block;
}

.animal-details {
  width: 100%;
  display: flex;
  gap: 30px;
  background-color: #fff;
  margin: 20px 0;
  align-items: center;
}

.animal-card.selected .animal-details {
  display: flex;
}

.animal-card h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.2;
}

.animal-card p {
  margin: 0;
  font-size: 16px;
  font-style: italic;
}

.animal-card strong {
  color: #333;
  font-weight: 600;
}

.animal-photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.animal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  justify-self: center;
  object-position: center;
}

.animal-form input[type="file"] {}

.animal-form-open-btn.animal-card .animal-card-right {
  display: flex;
}

.animal-actions {
  margin-left: auto;
  display: flex;
  gap: 10px;
}

.deselect-animal {
  color: #666;
  background: #f0f0f0;
}

.deselect-animal:hover {
  background: #e0e0e0;
}

.add-event-button {
  background: #e86f1e;
  color: #fff !important;
}

.add-event-button:hover {
  background: #d76416;
}

.animal-btn {
  background: none;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  position: relative;
  margin-left: auto;
  font-style: italic;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  border: 1px solid #E46C0A;
}

.animal-btn.add-event-animal-btn {
  background-color: #FAC090;
  color: #000;
}

.unselect-animal-btn {
  color: #000;
}

.animal-btn.add-event-animal-btn:hover,
.animal-btn:hover {
  background-color: #E46C0A;
  color: #fff;
}

.edit-animal-btn::after,
.add-event-animal-btn::after,
.unselect-animal-btn::after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
  font-size: 18px;
  vertical-align: middle;
  font-style: normal;
}

.edit-animal-btn::after {
  content: "\f303";
}

.add-event-animal-btn {
  padding: 0px 0 0px 16px;
  align-items: center;
}

.add-event-animal-btn::after {
  content: "\f067";
  margin-left: 16px;
  background-color: #e46C0A;
  padding: 8px 16px;
  border-radius: 0 5px 5px 0;
  color: #fff;
}

.unselect-animal-btn::after {
  content: "\00D7";
}

.edit-animal-close,
.animal-form-close,
.mec-form-close {
  position: absolute;
  right: 30px;
  top: 30px;
  font-size: 16px;
  cursor: pointer;
  color: #000;
  z-index: 1;
  border: 1px solid;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.animal-form .form-submit {
  margin-top: 1.5em;
  display: flex;
  gap: 10px;
  justify-content: end;
}

.delete-animal-btn {
  background: #f6838e !important;
  border-color: #c82333 !important;
}

.delete-animal-btn:hover {
  background: #c82333 !important;
}

.animals-main-img {
  width: 100%;
  height: 500px;
  margin-bottom: 30px;
  background: #f5f5f5;
  overflow: hidden;
  position: relative;
}

.animals-main-img img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: 100%;
}

.animals-header {
  margin-bottom: -80px;
  background-color: #F0D8BE;
  text-align: center;
  padding-bottom: 50px;
  padding-top: 10px;
  position: relative;
}

.animals-header .header-image-logo {
  margin: 15px 0;
}

.animals-header h2 {
  margin-bottom: 10px;
}

.animals-header p {
  width: 50%;
  margin: 0 auto;
}

.animals-header p.ending-phrase {
  font-style: italic;
  position: relative;
  padding-bottom: 30px;
  font-weight: 700;
}

.animals-header p.ending-phrase::after {
  content: "\2193";
  display: block;
  color: #e86f1e;
  font-size: 50px;
  text-align: center;
  line-height: 1;
}

.animals-header .header-image-left,
.animals-header .header-image-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25%;
}

.animals-header .header-image-left {
  left: 0;
}

.animals-header .header-image-right {
  right: 0;
}

.mec-fes-form,
.mec-fes-form .html-active .switch-html,
.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix,
.mec-fes-form .tmce-active .switch-tmce,
.mec-fes-form .wp-editor-tabs .wp-switch-editor:active,
.mec-fes-list {
  background: none;
}

.mec-fes-form-top-actions a.mec-fes-form-back-to {
  display: none;
}

.mec-fes-form #mec_bfixed_form_field_types .button,
.mec-fes-form #mec_reg_form_field_types .button,
.mec-fes-form .html-active .switch-html,
.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .mec-booking-attendees-tooltip:before,
.mec-fes-form .mec-form-row .button:not(.wp-color-result),
.mec-fes-form .mec-form-row .quicktags-toolbar input.button.button-small,
.mec-fes-form .mec-meta-box-fields h4,
.mec-fes-form .mec-meta-box-fields h4 label,
.mec-fes-form .mec-title span.mec-dashicons,
.mec-fes-form .tmce-active .switch-tmce,
.mec-fes-form .wp-editor-tabs .wp-switch-editor:active,
.mec-fes-form input[type=file],
.mec-fes-list .mec-form-row .button,
.mec-fes-list ul li a:hover {
  color: #000;
}

.mec-fes-form #mec-event-data input[type=date],
.mec-fes-form #mec_bfixed_form_field_types .button,
.mec-fes-form #mec_bfixed_form_fields input[type=checkbox],
.mec-fes-form #mec_bfixed_form_fields input[type=radio],
.mec-fes-form #mec_reg_form_field_types .button,
.mec-fes-form #mec_reg_form_fields input[type=checkbox],
.mec-fes-form #mec_reg_form_fields input[type=radio],
.mec-fes-form .mce-tinymce.mce-container.mce-panel,
.mec-fes-form .mce-toolbar .mce-btn-group .mce-btn.mce-listbox,
.mec-fes-form .mec-meta-box-fields,
.mec-fes-form .quicktags-toolbar,
.mec-fes-form .wp-editor-tabs .wp-switch-editor,
.mec-fes-form div.mce-toolbar-grp,
.mec-fes-form input[type=checkbox],
.mec-fes-form input[type=email],
.mec-fes-form input[type=number],
.mec-fes-form input[type=password],
.mec-fes-form input[type=radio],
.mec-fes-form input[type=tel],
.mec-fes-form input[type=text],
.mec-fes-form input[type=url],
.mec-fes-form select,
.mec-fes-form textarea,
.mec-fes-form ul#mec_bfixed_form_fields li,
.mec-fes-form ul#mec_reg_form_fields li,
.mec-fes-list input[type=search],
.mec-fes-list select,
.mec-fes-list ul li {
  border-color: #e8e8e8;
}

.mec-fes-form .mec-form-row .button:not(.wp-color-result),
.mec-fes-list .mec-form-row .button {
  border-color: #e8e8e8;
}

.mec-fes-form #mec_bfixed_form_fields input[type="checkbox"]:hover,
.mec-fes-form #mec_bfixed_form_fields input[type="radio"]:hover,
.mec-fes-form #mec_reg_form_field_types .button.red:hover,
.mec-fes-form #mec_reg_form_field_types .button:hover,
.mec-fes-form #mec_reg_form_fields input[type="checkbox"]:hover,
.mec-fes-form #mec_reg_form_fields input[type="radio"]:hover,
.mec-fes-form .mec-attendees-wrapper .mec-attendees-list .w-clearfix:first-child,
.mec-fes-form .mec-form-row .button:not(.wp-color-result):hover,
.mec-fes-form input[type="checkbox"]:hover,
.mec-fes-form input[type="file"],
.mec-fes-form input[type="radio"]:hover,
.mec-fes-list .mec-form-row .button:hover,
.mec-fes-list ul li .mec-fes-event-edit a:hover,
.mec-fes-list ul li .mec-fes-event-export a:hover,
.mec-fes-list ul li .mec-fes-event-view a:hover {
  border-color: #e86f1e;
}

.mec-fes-form #mec-event-data input[type=date]:focus,
.mec-fes-form #mec_bfixed_form_fields input[type=checkbox]:focus,
.mec-fes-form #mec_bfixed_form_fields input[type=radio]:focus,
.mec-fes-form #mec_reg_form_fields input[type=checkbox]:focus,
.mec-fes-form #mec_reg_form_fields input[type=radio]:focus,
.mec-fes-form input[type=checkbox]:focus,
.mec-fes-form input[type=email]:focus,
.mec-fes-form input[type=number]:focus,
.mec-fes-form input[type=password]:focus,
.mec-fes-form input[type=radio]:focus,
.mec-fes-form input[type=tel]:focus,
.mec-fes-form input[type=text]:focus,
.mec-fes-form input[type=url]:focus,
.mec-fes-form select:focus,
.mec-fes-form textarea:focus,
.mec-fes-list input[type=search]:focus,
.mec-fes-list select:focus {
  border-color: #e8e8e8;
}

.mec-fes-form .quicktags-toolbar,
.mec-fes-form div.mce-toolbar-grp {
  box-shadow: none;
}

.mec-form-row.mec-fes-title label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0px;
  text-transform: capitalize;
  margin: 0px -20px 20px;
  padding: 15px 20px;
  background: #F0F0F0;
  color: #000;
}

.mec-fes-form label:not(.mec-title label),
.mec-fes-form span.mec-label {
  line-height: 27px;
}

.mec-fes-form input[type=text]#mec_fes_title {
  width: 100%;
  margin-bottom: 20px;
}

.mec-form-row.mec-fes-editor {
  margin-bottom: 20px;
}

.mec-fes-form .mec-available-color-row span.color-selected {
  box-shadow: 0 0 0 2px #000;
}

#wp-mec_fes_content-editor-container .mce-toolbar .mce-btn-group .mce-btn:not(.mce-menubtn) button .mce-ico {
  color: #595959;
}

#wp-mec_fes_content-editor-container .mce-toolbar .mce-btn-group .mce-btn:not(.mce-menubtn) button:hover {
  background: #e86f1e;
}

.mec-fes-form #mec_bfixed_form_fields input[type=checkbox]:checked,
.mec-fes-form #mec_bfixed_form_fields input[type=radio]:checked,
.mec-fes-form #mec_reg_form_fields input[type=checkbox]:checked,
.mec-fes-form #mec_reg_form_fields input[type=radio]:checked,
.mec-fes-form .mec-form-row input[type=checkbox]:checked,
.mec-fes-form .mec-form-row input[type=radio]:checked {
  box-shadow: 0 1px 6px -2px #e86f1e inset 0 0 0 3px #fff;
  border-color: #e86f1e;
  background: #e86f1e;
}

.calculator-options-image {
  margin-bottom: -30px;
}

.mec-fes-form button[type=submit].mec-fes-sub-button,
.mec-fes-form button[type=submit].mec-fes-sub-button:hover {
  box-shadow: none;
}

.terrarium-calculator {
  font-family: Arial, sans-serif;
  padding: 0 30px 100px 30px;
  position: relative;
}

.calculator-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-message {
  background-color: #FAC090;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.overlay-message h3 {
  margin-bottom: 15px;
  color: #000;
}

.overlay-message p {
  margin-bottom: 20px;
  color: #333;
}

.main-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e86f1e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.main-button:hover {
  background-color: #d65f0e;
  color: white;
}

.calculator-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #F9C8A0 100%);
  border-radius: 0 0 20px 20px;
  padding: 30px 60px;
}

.calculator-header h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: bold;
}

.calculator-header p {
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 30px;
}

.calculator-inputs {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 15px;
  margin-bottom: 10px;
}

.volume-calculator-wrapper {
  overflow-x: auto;
}

/* Scrollbar styling for volume calculator */
.volume-calculator-wrapper::-webkit-scrollbar {
  height: 8px;
}

.volume-calculator-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.volume-calculator-wrapper::-webkit-scrollbar-thumb {
  background: #FAC090;
  border-radius: 10px;
}

.volume-calculator-wrapper::-webkit-scrollbar-thumb:hover {
  background: #e6a66b;
}

.volume-calculator-section {
  margin: 80px 0 20px;
  display: flex;
  align-items: center;
  background: #FEEADA;
  border: 1px solid #E46C0A;
  border-radius: 10px;
  width: 100%;
  min-width: 600px;
}

.volume-calculator-section h4 {
  text-align: center;
  margin-bottom: 20px;
  color: #e86f1e;
  font-size: 18px;
}

.volume-bar-container {
  position: relative;
  width: 100%;
}

.volume-bar-head {
  background-color: #FAC090;
  display: flex;
  gap: 20px;
  padding: 7.5px 10px;
  flex-wrap: nowrap;
  border-radius: 10px 0 0 10px;
}

.volume-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: bold;
  color: #666;
}

.volume-bar {
  position: relative;
  height: 30px;
}

.volume-fill {
  height: 100%;
  background: #FAC090;
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 0 10px 10px 0;
}

.volume-marker {
  position: absolute;
  top: -35px;
  transform: translateX(-50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
  transition: left 0.3s ease;
  z-index: 22;
}

.volume-marker .marker-image {
  width: 176px;
  max-width: none;
}

.volume-marker .volume-value {
  position: absolute;
  top: -60px;
  left: 50px;
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  background-image: url(assets/images/konto-pupila/leaf-marker.png);
  background-size: contain;
  width: 100px;
  background-repeat: no-repeat;
  height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
}

.volume-scale {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
  pointer-events: none;
  z-index: 10;
}

.volume-calculator-section span {
  font-size: 13px;
  color: #000;
  font-weight: bold;
  font-family: 'Tinos';
}

.volume-scale span {
  padding: 2px 4px;
  text-shadow: none;
}

.terrarium-inputs {}

.terrarium-inputs h4 {
  margin-bottom: 15px;
  text-align: center;
}

.input-group {
  text-align: center;
  align-items: unset;
  width: unset;
}

.input-group-sizes {
  display: flex;
  width: 100%;
  gap: 15px;
  align-items: start;
  max-width: 500px;
}

.calculator-inputs .input-group,
.dimension-inputs .input-group {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.calculator-inputs .input-group {
  align-items: start;
  text-align: left;
  width: 100%;
  max-width: 400px;
}

.calculator-inputs .input-with-unit,
.calculator-inputs .select-input-kp,
.select-input-kp {
  padding: 6px 20px;
  border-radius: 10px !important;
  background-color: #FFF;
  width: 100%;
  text-align: left;
  border: 1px solid #E46C0A;
  color: #000;
  font-style: italic;
}

.calculator-inputs .input-with-unit input {
  background-color: unset;
}

.calculator-inputs .calculate-button {
  width: 100%;
}

/* new button styles */
.return-to-konto-btn,
.animal-form button,
.mec-fes-form button[type=submit].mec-fes-sub-button,
.calculator-inputs .calculate-button,
#pupilPopupContent .main-button {
  background-color: #FAC090;
  border: 1px solid #E46C0A;
  border-radius: 10px !important;
  text-wrap: nowrap;
  font-style: italic;
  transition: background-color 0.3s ease;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

.return-to-konto-btn:hover,
.calculator-inputs .calculate-button:hover:not(:disabled),
.animal-form button:hover {
  background-color: #d45e17;
  color: #fff;
}

.return-to-konto-btn:disabled,
.calculator-inputs .calculate-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.dimension-inputs .input-group {
  border: 1px solid #E46C0A;
  position: absolute;
  background-color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  z-index: 2;
}

.dimension-inputs .input-with-unit input {
  padding: 0;
  min-width: 60px;
}

.dimension-inputs .input-with-unit .unit {
  right: 0;
}

.input-group label {
  display: block;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 16px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 5px;
  color: #000;
}

.input-group select {
  width: 100px;
  padding: 8px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  background: white;
}

.terrarium-status {
  text-align: center;
  margin-bottom: 20px;
}

.status-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin: 0 auto 10px;
  transition: background-color 0.3s ease;
}

.status-indicator.optimal {
  background: #4CAF50;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-indicator.acceptable {
  background: #FF9800;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

.status-indicator.problematic {
  background: #F44336;
  box-shadow: 0 0 10px rgba(244, 67, 54, 0.5);
}

.status-indicator.neutral {
  background: #2196F3;
  box-shadow: 0 0 10px rgba(33, 150, 243, 0.5);
}

.status-text {
  font-weight: bold;
}

.terrarium-accessories {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.accessory {
  position: absolute;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.accessory.house {
  width: 20px;
  height: 20px;
  background: #8B4513;
  top: 20%;
  right: 15%;
  border-radius: 4px;
}

.accessory.house::after {
  content: '🏠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
}

.accessory.bowl {
  width: 15px;
  height: 15px;
  background: #87CEEB;
  bottom: 25%;
  left: 20%;
  border: 2px solid #4682B4;
}

.snail {
  position: absolute;
  width: 15px;
  height: 15px;
  background: #DEB887;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.snail::after {
  content: '🐌';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
}

.second-snail {
  top: 40%;
  right: 30%;
}

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

.input-with-unit.warning {
  border: 1px solid #CB0000;
}

.input-with-unit input {
  border-radius: 5px;
  font-size: 16px;
  border: none;
  padding: 0 10px;
  color: #000;
  width: 100%;
}

.input-with-unit .unit {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #93979F;
  font-size: 12px;
  padding: 5px 10px;
  background-color: #E8E8E8;
  border-radius: 5px;
  font-style: normal;
}


.terrarium-status-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 8px;
  font-family: 'Tinos', serif;
  font-weight: 700;
  font-size: 14px;
  position: absolute;
  top: 20px;
  z-index: 10;
}

.input-warning,
#species-warning {
  display: none;
  color: #CB0000;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 12px;
  line-height: 109.00000000000001%;
  letter-spacing: 0%;
  vertical-align: middle;

  margin-top: 5px;
  top: 100%;
  position: absolute;
}

.status-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 14px;
  text-shadow: none;
}

.status-icon::before {
  width: 24px;
  content: "\f00c";
  display: flex;
  height: 24px;
  justify-content: center;
  align-items: center;
}

.status-icon.status-optimal {
  background: #769835;
}

.status-icon.status-warning {
  background: #FF9900;
}

.status-icon.status-danger {
  background: #CB0000;
}

.status-text.status-optimal {
  color: #769835;
}

.status-text.status-warning {
  color: #FF9900;
}

.status-text.status-danger {
  color: #CB0000;
}

.status-text {
  flex: 1;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 16px;
  line-height: 109.00000000000001%;
  letter-spacing: 0%;
  vertical-align: middle;
}

/* Hide status notice by default */
.terrarium-status-notice[style*="display: none"] {
  display: none !important;
}

.terrarium-visualization {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.terrarium-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  flex-direction: column;
}

.terrarium-frame {
  width: 100%;
  max-width: 800px;
  position: relative;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.terrarium-image-container {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  /* 4:3 Aspect Ratio */
}

.terrarium-image-container img.terrarium-back,
.terrarium-image-container img.terrarium-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.3s ease;
  padding: 70px;
}

.terrarium-item {
  position: absolute;
  transition: opacity 0.3s ease;
}

.kp-domek {
  bottom: calc(70px + (100% - 140px) / 3.0);
  right: calc(70px + (100% - 140px) / 15);
  width: calc((100% - 140px) / 4);
  height: auto;
}

.kp-mech {
  bottom: calc(70px + (100% - 140px) / 2.1);
  left: calc(70px + (100% - 140px) / 2.5);
  width: calc((100% - 140px) / 3);
  height: auto;
}

.kp-miska {
  bottom: calc(70px + (100% - 140px) / 2.85);
  left: calc(70px + (100% - 140px) / 9);
  width: calc((100% - 140px) / 5.6);
  height: auto;
}

.kp-sepia {
  top: calc(70px + (100% - 140px) / 2.53);
  right: calc(70px + (100% - 140px) / 1.84);
  width: calc((100% - 140px) / 7);
  height: auto;
}

.kp-lisc {
  top: calc(70px + (100% - 140px) / 2);
  left: calc(70px + (100% - 140px) / 1.35);
  width: calc((100% - 140px) / 8);
  height: auto;
}

.kp-lisc2 {
  top: calc(70px + (100% - 140px) / 1.6);
  left: calc(70px + (100% - 140px) / 4.5);
  width: calc((100% - 140px) / 7);
  height: auto;
}

.kp-snail {
  bottom: calc(70px + (100% - 140px) / 4.5);
  right: calc(70px + (100% - 140px) / 2.8);
  width: calc((100% - 140px) / 3);
  height: auto;
  transition: opacity 0.3s ease;
}

.kp-snail-2 {
  bottom: calc(70px + (100% - 140px) / 3.2);
  right: calc(70px + (100% - 140px) / 4.2);
  width: calc((100% - 140px) / 3);
  height: auto;
  transition: opacity 0.3s ease;
}

.dark-orange {
  color: #BE4F00;
}

/* Default state (no shadow) */
#terrarium-display .terrarium-image-container img.terrarium-back {
  filter: none;
}

/* Optimal state (green) */
#terrarium-display.optimal .terrarium-image-container img.terrarium-back {
  filter: drop-shadow(0px 0px 20px #769835);
}

/* Warning state (orange) */
#terrarium-display.warning .terrarium-image-container img.terrarium-back {
  filter: drop-shadow(0px 0px 20px #FF9900);
}

/* Danger state (red) */
#terrarium-display.danger .terrarium-image-container img.terrarium-back {
  filter: drop-shadow(0px 0px 20px #CB0000);
}

.terrarium-dimensions {
  width: 100%;
  pointer-events: none;
}

.dimension-label {
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  color: #4a7c59;
  font-weight: bold;
}

/* 
    .width-label {
        left: 5%;
        top: 50%;
        transform: translateY(-50%);
    }

    .length-label {
        left: 50%;
        bottom: 10px;
        transform: translateX(-50%);
    }

    .height-label {
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
    } */

.terrarium-legend {
  display: flex;
  justify-content: left;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: nowrap;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.legend-item h4 {
  margin-bottom: 0;
}

.legend-color {
  min-width: 12px;
  height: 12px;
  border-radius: 50%;
}

.calculator-options {
  margin: 30px 0 0 0;
}

.calculator-options h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

.calculator-options-columns {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.calculator-options-left,
.calculator-options-right {
  flex: 1 1 300px;
  min-width: 260px;
  background-color: #fff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
}

.ventilation-guide {
  height: 100%;
}

.calculator-column-header {
  margin-bottom: 20px;
}

.calculator-column-header h4 {
  font-size: 16px;
  margin: 0;
  border-radius: 10px;
  background-color: #fff;
  border: 1px solid #e86f1e;
  padding: 8px 20px;
  text-align: center;
  position: absolute;
  transform: translateX(-50%);
  left: 50%;
  top: -24px;
  text-wrap: nowrap;
}

.ventilation-guide .guide-content h5 {
  color: #e86f1e;
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: bold;
  text-align: center;
}

.ventilation-tips {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.ventilation-tips li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 15px;
  line-height: 1.4;
  font-size: 14px;
}

.ventilation-tips li::before {
  content: "•";
  color: #e86f1e;
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.terrarium-diagram {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.terrarium-diagram .kp-sidebar-image {
  max-width: 100%;
  height: auto;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 2px solid #252525;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  color: transparent;
  font-size: 12px;
  transition: all 0.3s ease;
}

.checkmark::before {
  content: "\f00c";
  display: flex;
  height: 30px;
  width: 30px;
  justify-content: center;
  align-items: center;
  font-size: 16px;
}

.checkbox-item input[type="checkbox"]:checked+.checkmark {
  background: linear-gradient(270deg, #27AF2B 0%, #0A8F0F 100%);
  border: none;
  color: #fff;
}

.checkbox-item input[type="checkbox"]:not(:checked)+.checkmark {
  color: transparent;
}

.checkbox-text {
  line-height: 1.4;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 18px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: #000000;
}

.checkbox-text small {
  color: #252525;
  font-family: 'Tinos';
  font-weight: 400;
  font-style: Italic;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0%;
  vertical-align: middle;
  min-height: 42.2px;
  display: block;
}

/* .calculator-results {
        margin-top: 30px;
        padding: 20px;
        background: rgba(255,255,255,0.3);
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.5);
    }

    .calculator-results h4 {
        margin-bottom: 15px;
    } */

.results-content {
  line-height: 1.6;
}

/* Calculator Products Grid */
.calculator-products {
  margin: 40px 0;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 20px;
}

.calculator-products-header {
  text-align: center;
  margin-bottom: 30px;
}

.calculator-products-header h4 {
  font-size: 24px;
  color: #e86f1e;
  margin: 0;
  font-weight: bold;
}

.calculator-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.calculator-product-item {
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.calculator-product-item:hover {
  border-color: #e86f1e;
  box-shadow: 0 5px 15px rgba(232, 111, 30, 0.2);
  transform: translateY(-3px);
}

.calculator-product-item .product-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.calculator-product-item .product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculator-product-item .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.calculator-product-item:hover .product-image img {
  transform: scale(1.05);
}

.calculator-product-item .product-details {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calculator-product-item .product-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #333;
  line-height: 1.3;
  min-height: 40px;
}

.calculator-product-item .product-price {
  font-size: 18px;
  font-weight: bold;
  color: #e86f1e;
  margin-top: auto;
}

.calculator-product-item .product-price .amount {
  color: #e86f1e;
}

.calculator-product-item .product-actions {
  padding: 0 20px 20px;
}

.calculator-product-item .product-actions .button {
  width: 100%;
  padding: 12px 20px;
  background-color: #e86f1e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.calculator-product-item .product-actions .button:hover {
  background-color: #d45f0e;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(232, 111, 30, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calculator-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }

  .calculator-product-item .product-details {
    padding: 15px;
  }

  .calculator-product-item .product-title {
    font-size: 14px;
    min-height: 35px;
  }

  .calculator-product-item .product-price {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .calculator-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }

  .calculator-products {
    padding: 20px;
  }
}

body.page-id-10217 #main>.container {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.kp-container {
  display: flex;
  background-color: #eceff1;
}

.kp-sidebar-left {
  width: 180px;
  background-color: #000;
  text-align: center;
  padding: 15px;
  z-index: 1;
}

.kp-sidebar-expand {
  display: none;
  background: none;
  border: none;
  font-size: 25px;
}

.kp-sidebar-expand i::before {
  color: #FAC090;
}

.kp-content-right {
  width: calc(100% - 180px);
  margin: 0 20px;
}

.kp-sidebar {
  display: flex;
  flex-direction: column;
}

.kp-sidebar h3 {
  font-size: 16px;
  color: #FFFF99;
  text-transform: uppercase;
  line-height: 1.2;
}

.kp-sidebar ul {
  list-style: none;
  padding: 0;
}

.kp-sidebar li {
  margin: 20px 0;
}

.kp-sidebar h4,
.kp-sidebar span {
  color: #FAC090;
  font-size: 14px;
  line-height: 1.2;
  margin-top: 10px;
  text-transform: uppercase;
  margin-bottom: 0;
}

.kp-sidebar span {
  color: #fff;
  font-size: 12px;
  text-transform: none;
}

.kp-sidebar hr {
  background: #fff;
}

.kp-notice {
  position: relative;
  padding: 20px;
  color: #fff;
  background-color: #F44336;
}

.kp-notice a {
  color: #fff;
  text-decoration: underline;
}

.kp-section-toggle.active {
  border: 3px solid #FAC090;
  box-shadow: 0 0 7px #FAC090;
  padding: 7px;
}

.kp-section-toggle,
.kp-section-toggle-external {
  transition: background-color, border, box-shadow 0.3s ease;
  display: block;
  padding: 10px;
  text-decoration: none;
  border-radius: 10px;
}

.kp-section-toggle:hover,
.kp-section-toggle-external:hover {
  box-shadow: 0 0 7px #FAC090;
}

.kp-section-toggle img,
.kp-section-toggle-external img {
  width: unset !important;
  display: inline !important;
  height: 60px;
}

.kp-section-toggle-external img {
  height: unset;
  max-height: 60px;
}

#kalendarz {
  padding: 30px;
  background-color: #fff;
  position: relative;
  margin-bottom: 20px;
}

#terrarium {
  margin-left: -20px;
  margin-right: -20px;
  background: linear-gradient(180deg, #EDF0F2 0%, #FFFFFF 26.44%, #FFFFFF 27.4%, #FCD6B7 83.17%);
}

#kalendarz::before {
  content: "";
  background-image: url(assets/images/konto-pupila/kp-calendar-spiral.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 50px;
  position: absolute;
  top: -22px;
  left: 30px;
}

#kalendarz::after {
  content: "";
  background-image: url(assets/images/konto-pupila/kp-calendar-spiral.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 200px;
  height: 50px;
  position: absolute;
  top: -22px;
  right: 10px;
}

.porto-tooltip-wrap.empty-tooltip .tooltip-inner {
  margin: 0;
}


.custom-species-dropdown {
  position: relative;
  width: 100%;
}

.species-input-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9.925px 20px;
  border: 1px solid #E46C0A;
  border-radius: 10px;
  background-color: white;
  cursor: pointer;
  font-size: 12px;
  color: #333;
}

.dropdown-arrow {
  font-size: 12px;
  color: #031214;
  transition: transform 0.2s;
}

.species-dropdown-menu {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #E46C0A;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 1000px;
  overflow-y: auto;
  z-index: 1000;
  padding-top: 12px;
}

.section-header {
  font-weight: 700;
  font-style: Italic;
  font-size: 16px;
  line-height: 177%;
  text-align: center;
  vertical-align: middle;
  color: #252525;
  margin-bottom: 0;
  margin-top: 10px;
}

.dropdown-item {
  padding: 4px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
}

.dropdown-item:hover {
  background-color: #f9f9f9;
}

.dropdown-item.nocolors:hover .species-name {
  color: #E46C0A;
}

.dropdown-item .color-options {
  display: none;
  gap: 10px;
  align-items: center;
}

.dropdown-item:hover .color-options {
  display: flex;
}

.dropdown-item:hover .color-options::before {
  content: "Wybierz kolor:";
  font-size: 12px;
  color: #E46C0A;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
}


.dropdown-item.default-item {
  font-weight: 500;
  color: #666;
}

.species-name,
.facebook-group-title {
  display: block;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 14px;
  line-height: 1.2;
  vertical-align: middle;
  color: #828587;
}

.facebook-group-title {
  min-width: 90px;
  margin: 0;
}

.color-option,
#species-display-text[data-color="ciemny"]::after,
#species-display-text-2[data-color="ciemny"]::after,
#species-display-text[data-color="jasny"]::after,
#species-display-text-2[data-color="jasny"]::after {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  width: 20px;
  height: 20px;
}


#species-display-text[data-color="ciemny"]::after,
#species-display-text-2[data-color="ciemny"]::after,
#species-display-text[data-color="jasny"]::after,
#species-display-text-2[data-color="jasny"]::after {
  position: absolute;
  right: -30px;
}

.color-option.light,
#species-display-text[data-color="jasny"]::after,
#species-display-text-2[data-color="jasny"]::after {
  background: #FFFFFF;
  border: 1px solid #BDBDBD;
}

.color-option.dark,
#species-display-text[data-color="ciemny"]::after,
#species-display-text-2[data-color="ciemny"]::after {
  background: #5F3327;
  border: 1px solid #BDBDBD;
}

.color-option.available:hover {
  transform: scale(1.05);
}

.color-option.unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  font-style: italic;
  color: #dc3545 !important;
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
}

.color-option.selected {
  border: 2px solid #FAC090;
  box-shadow: 0px 0px 4px 0px #FAC090;
}


#species-display-text[data-color="ciemny"]::after,
#species-display-text-2[data-color="ciemny"]::after,
#species-display-text[data-color="jasny"]::after,
#species-display-text-2[data-color="jasny"]::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  cursor: default;
}

#species-display-text,
#species-display-text-2 {
  display: flex;
  align-items: center;
  position: relative;
}

/* Scrollbar styling for dropdown */
.species-dropdown-menu::-webkit-scrollbar {
  width: 8px;
}

.species-dropdown-menu::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 0 10px 10px 0;
  border-right: 1px solid #E46C0A;
}

.species-dropdown-menu::-webkit-scrollbar-thumb {
  background: #FAC090;
  border-radius: 10px;
}

.species-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #e6a66b;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .species-dropdown-menu {
    border-right: none;
    max-height: 300px;
  }

  .dropdown-item {
    padding: 12px 15px;
  }

  .color-options {
    gap: 8px;
  }

  .color-option {
    text-align: center;
    padding: 8px;
  }
}

#second-species-container {
  margin-left: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

body.page-id-10217 .page-content {
  background-color: #eceff1;
}

.kp-footer {
  display: flex;
  margin-left: -20px;
  margin-right: -20px;
  max-height: 100px;
  margin-bottom: 200px;
  background-color: #fff;
}

.kp-footer-left {
  background: #000;
  width: 25%;
  position: relative;
  height: 100px;
  min-width: 100px;
}

.kp-footer-left img {
  position: absolute;
  right: -75px;
  min-width: 150px;
  z-index: 2;
}

.kp-footer-right {
  height: 100px;
  display: flex;
  justify-content: space-between;
  width: 75%;
  align-items: center;
  margin-left: 75px;
}

.kp-footer-right span {
  text-wrap: wrap;
  margin: 20px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  color: #252525;
}

.kp-footer-right img {
  margin: 20px;
  margin-left: 0;
}

.share-section {
  background: #fff;
  border-radius: 6px;
  padding: 12px 0;
  box-shadow: 0px 0px 4px 0px #0000001A;
  position: relative;
}

.share-section::after {
  content: "";
  position: absolute;
  top: -8px;
  right: 30px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}

.share-container h3 {
  color: #e86f1e;
  margin-bottom: 10px;
  font-size: 18px;
}

.share-container p {
  margin-bottom: 15px;
  color: #666;
}

.share-link-container {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.share-link-row {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background: white;
  margin: 0 12px;
}

input.share-link-input {
  border: none;
  padding-left: 0;
}

.copy-btn,
.close-share-btn {
  padding: 10px 20px;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

.share-btn {
  border: none;
  background: none;
  color: #E46C0A;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  transition: all 0.3s ease;
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 700;
  background: #fff;
  padding: 10px;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:not(.btn-wrapper):hover {
  text-decoration: underline;
}

.share-btn.btn-wrapper {
  top: 40px;
  right: 40px;
  cursor: default;
}

.share-btn-min {
  border: none;
  background: none;
  color: #E46C0A;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Tinos';
  font-style: italic;
  font-weight: 700;
}

.view-mode-notice {
  background: #e3f2fd;
  border: 1px solid #2196f3;
  border-radius: 5px;
  padding: 10px 15px;
  margin-bottom: 20px;
  color: #1976d2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-mode-notice i {
  margin-right: 8px;
}

.view-mode-notice p {
  margin: 0;
}

.view-mode-label {
  background: #6c757d;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.share-section-popdown {
  position: absolute;
  top: 40px;
  right: 0;
}

.share-link-row {
  display: flex;
  align-items: center;
}

.copy-btn {
  cursor: pointer;
  padding: 11px;
  color: white;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.copy-btn:hover i {
  transform: scale(1.2);
  opacity: 0.9;
}

.copy-btn i {
  color: #6c757d;
  transition: transform 0.3s, opacity 0.3s;
}

.share-link-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  background: white;
}

/* Social Media Share Icons */
.social-share-icons {
  display: flex;
  justify-content: left;
  gap: 5px;
  margin: 0 0 10px 0;
  padding: 0 12px 10px 12px;
  border-bottom: 1px solid #DBDBDB;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: white !important;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
}

.social-icon:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.facebook-icon {
  background-color: #3b5998;
}

.email-icon {
  background-color: #6c757d;
}

.twitter-icon {
  background-color: #1da1f2;
}

.pinterest-icon {
  background-color: #bd081c;
}

.feature-soon {
  width: 100%;
  height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mec-calendar:not(.mec-liquid-custom-scrollbar, .mec-liquid-daily) .mec-event-article .mec-event-image {
  max-width: none;
  margin-right: 0;
}

.mec-calendar:not(.mec-liquid-custom-scrollbar) .mec-event-article {
  flex-direction: column;
  gap: 15px;
}

.kp-terra-x {
  left: 70%;
  transform: translate(-30%, -22%);
  top: 78%;
}

.kp-terra-y {
  top: 76%;
  transform: translate(-80%, -24%);
  left: 20%;
}

.kp-terra-z {
  top: 50%;
  right: 92.5%;
  transform: translate(-7.5%, -50%);
}

#billing_country_field {
  float: left;
}



/* Calculator Share Button Styles */
.calculator-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 15px;
}

.calculator-title-row h3 {
  margin: 0;
  flex: 1;
}

.calculator-share-btn {
  z-index: 3;
}

.terrarium-inputs {
  position: relative;
}

.calculator-share-btn .share-section-popdown {
  right: 0;
  left: auto;
  min-width: 350px;
}


.facebook-group-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #252525;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.facebook-group-link:hover {
  color: #252525;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.facebook-group-link i {
  font-size: 18px;
  color: #3b5998;
}

.facebook-group-link:hover i {
  color: #2d4373;
}

.facebook-group-invite {
  justify-content: space-between;
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  border-top: 1px solid #E46C0A;
  margin-top: 20px;
}

#pwa-install-btn {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 0px;
  background: linear-gradient(135deg, #91B845 0%, #7c9f37 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 50px 0 0 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 15px #91B84566;
  z-index: 9999;
  transition: all 0.3s ease;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    box-shadow: 0 4px 15px #91B84566;
  }

  50% {
    box-shadow: 0 4px 25px #91B84588;
  }
}

#pwa-install-btn:hover,
#pwa-install-btn:active {
  background: linear-gradient(135deg, #719033 0%, #5f792a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px #91B84577;
}

#pwa-install-btn i {
  margin-right: 8px;
}

/* Hide button if already in PWA mode */
body.pwa-mode #pwa-install-btn {
  display: none !important;
}

/* responsive */

@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .share-link-container {
    flex-direction: column;
  }

  .share-link-input {
    width: 100%;
  }
}

@media screen and (max-width: 1375px) {
  .facebook-group-invite {
    flex-direction: column;
  }

  .dropdown-item:hover .color-options::before {
    content: "Wybierz:";
  }

  .calculator-header {
    padding: 30px;
  }

  .animal-actions {
    flex-direction: column;
    gap: 15px;
  }
}

@media screen and (min-width: 1392px) {

  #header .header-main .main-menu>li.menu-item>a[href="#open-ebook-popup"]::after {
    content: "";
    background-image: url(assets/images/ebook-icon-bg-v4.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 210px;
    height: 134px;
    position: absolute;
    top: -8px;
  }

  .bc-hodowla-galeria .bc-hg-e-book {
    display: none;
  }

  #menu-nawigacja li.menu-item:nth-child(3)>a {
    position: absolute;
    left: 250px;
    z-index: 2;
  }

  :not(:lang(pl)) #menu-nawigacja li.menu-item:nth-child(3)>a {
    left: 280px;
  }
}

@media (min-width:1156px) {
  img.standard-logo {
    max-width: 194px !important;
  }
}

@media screen and (min-width: 992px) {

  .bc-shipping-info {
    display: none;
  }

  .archive-products {
    padding-top: 20px;
  }

  #header .header-main .header-col.header-left {
    min-width: 370px;
    max-width: 370px;
  }
}

@media screen and (max-width: 991px) {
  #header .mobile-toggle {
    margin-right: 0;
  }

  .header-col.visible-for-sm.header-left .porto-block {
    margin-left: 0;
  }

  .header-col.visible-for-sm.header-right .custom-html {
    margin-left: 0;
  }

  header .header-bottom {
    height: 95px;
  }

  .kp-terra-x {
    left: 70%;
    transform: translate(-30%, -27%);
    top: 73%;
  }

  .kp-terra-y {
    top: 77%;
    transform: translate(-80%, -23%);
    left: 30%;
  }

  .kp-terra-z {
    top: 27%;
    left: 10px;
    transform: translateY(-73%);
    right: unset;
  }

  .terrarium-frame {
    margin-top: 60px;
  }

  .terrarium-status-notice {
    top: 40px;
  }

  .calculator-share-btn {
    top: 15px;
    right: 10px;
  }

  .terrarium-image-container img.terrarium-back,
  .terrarium-image-container img.terrarium-front {
    padding: 35px;
  }

  .kp-domek {
    bottom: calc(35px + (100% - 70px) / 3.0);
    right: calc(35px + (100% - 70px) / 15);
    width: calc((100% - 70px) / 4);
    height: auto;
  }

  .kp-mech {
    bottom: calc(35px + (100% - 70px) / 2.1);
    left: calc(35px + (100% - 70px) / 2.5);
    width: calc((100% - 70px) / 3);
    height: auto;
  }

  .kp-miska {
    bottom: calc(35px + (100% - 70px) / 2.85);
    left: calc(35px + (100% - 70px) / 9);
    width: calc((100% - 70px) / 5.6);
    height: auto;
  }

  .kp-sepia {
    top: calc(35px + (100% - 70px) / 2.53);
    right: calc(35px + (100% - 70px) / 1.84);
    width: calc((100% - 70px) / 7);
    height: auto;
  }

  .kp-lisc {
    top: calc(35px + (100% - 70px) / 2);
    left: calc(35px + (100% - 70px) / 1.35);
    width: calc((100% - 70px) / 8);
    height: auto;
  }

  .kp-lisc2 {
    top: calc(35px + (100% - 70px) / 1.6);
    left: calc(35px + (100% - 70px) / 4.5);
    width: calc((100% - 70px) / 7);
    height: auto;
  }

  .kp-snail {
    bottom: calc(35px + (100% - 70px) / 4.5);
    right: calc(35px + (100% - 70px) / 2.8);
    width: calc((100% - 70px) / 3);
    height: auto;
    transition: opacity 0.3s ease;
  }

  .kp-snail-2 {
    bottom: calc(35px + (100% - 70px) / 3.2);
    right: calc(35px + (100% - 70px) / 4.2);
    width: calc((100% - 70px) / 3);
    height: auto;
    transition: opacity 0.3s ease;
  }

  #bc-floating-right .bc-facebook a {
    padding: 40px 10px 30px 10px;
    font-size: .8rem;
  }

  #bc-floating-right .bc-facebook a .bc-logo {
    margin-bottom: 5px;
  }

  #bc-floating-right .bc-facebook a .bc-logo::before {
    font-size: 2rem;
    margin-right: 0;
  }

  .bc-header-text .bc-header-text-below {
    display: none;
  }

  .bc-header-text {
    padding: 20px 0 20px 0;
    font-size: 14px;
    margin-bottom: 40px !important;
  }

  #header .logo {
    width: 120px;
    bottom: 65px;
  }

  header#header .header-main {
    background-color: #000;
  }

  #header .header-main .header-row .header-col-wide {
    justify-content: end;
  }

  #header .header-bottom .visible-for-sm.header-right>.header-col-wide {
    justify-content: right;
  }

  #header .header-bottom .header-col.header-left::after {
    top: -55px;
    left: 90px;
    height: 60px;
  }

  #header .header-bottom .header-col.header-left::before {
    top: -45px;
  }

  #header .header-bottom .header-col.header-right::before {
    top: -50px;
    height: 60px;
    width: 100px;
  }

  #header .header-main.header-has-center.header-has-not-center-sm {
    position: absolute;
    top: 100%;
    width: 100%;
    z-index: 5555;
  }

  .bc-ebook-open {
    max-width: 60%;
  }

  .kp-container {
    flex-direction: column;

    .kp-sidebar-left,
    .kp-content-right {
      width: 100%;
      margin: 0;
    }
  }

  #terrarium {
    margin: 0;
  }

  .terrarium-calculator {
    padding: 0;
  }

  .volume-calculator-section {
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .calculator-options-columns {
    flex-direction: row !important;
    row-gap: 40px !important;
    column-gap: 20px !important;
    padding: 10px;
    padding-bottom: 50px;
  }

  .calculator-options-left,
  .calculator-options-right {
    min-width: 0 !important;
    position: relative;
  }

  .volume-bar-head {
    border-radius: 0;
  }

  .kp-sidebar span {
    display: none;
  }

  .kp-sidebar-left {
    background-color: #303030;
  }

  .kp-sidebar-left ul {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    max-height: 130px;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .kp-footer-right span {
    font-size: 14px;
  }
}

@media screen and (max-width: 810px) {
  #wbs-content-upsells.woocommerce-boost-sales .wbs-content .wbs-content-inner {
    width: 100%;
  }
}

@media only screen and (max-width: 769px) {
  .xoo-wl-sidebar {
    display: block;
    margin: 0;
  }

  .xoo-wl-wrap {
    flex-direction: column;
  }
}

.xoo-wl-wrap {
  height: 100%;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {

  .animal-form-popup-content {
    width: 95%;
    margin: 20px auto;
  }

  .animals-grid {
    grid-template-columns: 1fr;
  }

  .mec-form-popup-content,
  .animal-form-popup-content {
    width: 95%;
    margin: 20px auto;
  }
}

@media (min-width:767px) {
  #billing_country_field {
    width: 50%;
    padding-right: 10px;
  }

  #billing_postcode_field {
    padding-left: 10px;
  }

  #billing_postcode_field {
    padding-right: 0;
  }
}

@media (max-width:767px) {

  #footer .footer-main,
  .footer-left,
  .footer-right {
    text-align: center !important;
  }
}

@media (max-width: 600px) {
  .kp-footer-right img {
    width: 60px;
  }

  .calculator-inputs {
    flex-direction: column;
    column-gap: 20px;
    row-gap: 40px;
  }

  .calculator-inputs .input-group,
  .calculator-inputs .input-group-sizes {
    max-width: 100%;
  }

  .terrarium-legend {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .conditional-new-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .conditional-new-line b {
    text-align: center;
  }

  .woocommerce-boost-sales .wbs-breadcrum .wbs-header-right {
    width: 100% !important;
  }

  #kalendarz::after {
    display: none;
  }

  #kalendarz::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media only screen and (max-width: 1391px) {
  ul.pcols-lg-4 li.product-col {
    width: 33.3333%;
  }
}

@media only screen and (max-width: 991px) {
  ul.pcols-md-3 li.product-col {
    width: 50%;
  }

  .animals-main-img {
    height: 400px;
  }
}

@media only screen and (max-width: 620px) {
  ul.pcols-md-3 li.product-col {
    width: 100%;
  }
}

@media only screen and (max-width: 559px) {
  .animals-main-img {
    height: 250px;
  }

  .animal-details {
    flex-direction: column;
    gap: 0;
  }

  .animal-actions {
    margin-left: 0;
  }

  .animal-btn {
    margin-left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

@media only screen and (max-width: 768px) {
  .calculator-title-row {
    flex-direction: column;
    align-items: stretch;
  }

  .calculator-share-btn {
    align-self: flex-end;
  }

  .calculator-share-btn .share-section-popdown {
    right: 0;
    left: auto;
  }
}

@media (max-width: 768px) {

  .facebook-group-link {
    padding: 10px 16px;
    font-size: 13px;
    gap: 8px;
  }

  .facebook-group-link i {
    font-size: 16px;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  #pwa-install-btn {
    border-radius: 50px;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    font-size: 14px;
    padding: 12px 24px;
    width: auto;
    max-width: calc(100% - 40px);
  }

  #pwa-install-btn:hover,
  #pwa-install-btn:active {
    transform: translateX(50%) translateY(-2px);
  }
}

[data-plugin-sticky] {
  z-index: 1;
}

header#header .header-main .container {
  max-height: 28px;
}

#header .header-main .main-menu>li.menu-item>a {
  padding: 10px 25px 10px 25px;
}

#header .header-main .main-menu {
  flex-wrap: nowrap;
}

.page-content li,
.page-content p {
  line-height: 1.1;
  margin-bottom: 5px;
}


.diet-container {
  margin: 0 auto;
}

.diet-header {
  text-align: center;
  margin-bottom: 30px;
  display: flex;
    flex-direction: column;
    align-items: center;
}

.diet-header h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}

.diet-header p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  max-width: 650px;
}

/* Assistant Selection Cards */
.diet-assistant-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.diet-assistant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 326px;
  background: #fff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  padding-top: 20px;
}

.diet-assistant-card:hover,
.diet-assistant-card.active {
  box-shadow: 0px 0px 15.7px 0px #00000040;
}

.diet-assistant-card .diet-assistant-static-image {
  object-fit: contain;
  width: 100%;
}

.diet-assistant-card .diet-assistant-image-container {
  margin-bottom: 20px;
  width: 100%;
  position: relative;
}

.diet-assistant-card .diet-assistant-image-container .diet-assistant-static-image,
.diet-assistant-card .diet-assistant-image-container .diet-assistant-video {
  transition: opacity 0.4s ease-in-out;
  width: 100%;
  height: auto;
  display: block;
}

.diet-assistant-card .diet-assistant-image-container .diet-assistant-static-image {
  position: relative;
  z-index: 1;
}

.diet-assistant-card .diet-assistant-image-container .diet-assistant-video {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 2;
}

.diet-assistant-card .diet-assistant-image-container .diet-assistant-video.active {
  opacity: 1;
}

.diet-assistant-card .diet-assistant-image-container .diet-assistant-static-image.fading {
  opacity: 0;
}

.diet-assistant-card h3 {
  font-size: 26px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  font-style: italic;
}

.diet-assistant-card p {
  font-size: 15px;
  color: #666;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 30px;
  padding: 0 10px;
}

.diet-select-button {
  width: 100%;
  padding: 18px 30px;
  background: #333;
  color: #fff;
  border: none;
  border-radius: 0 0 17px 17px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0;
}

.diet-assistant-card:first-child .diet-select-button {
  background: #383838;
  border-top: 1px solid #252525;
  color: #fff;
}

.diet-assistant-card:first-child:hover .diet-select-button, .diet-assistant-card:first-child.active .diet-select-button {
  background: #484848;
}

.diet-assistant-card:last-child:hover .diet-select-button, .diet-assistant-card:last-child.active .diet-select-button {
  background: #F9D4B5;
}  

.diet-assistant-card:last-child .diet-select-button {
  background: #FCE7D6;
  border-top: 1px solid #F9CBA9;
  color: #E46C0A;
}

.diet-assistant-card:first-child {
  border: 1px solid #252525;
}

.diet-assistant-card:last-child {
  border: 1px solid #F9CBA9;
}

/* Main Tabs */
.diet-tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  background: #EEECE1;
}

.diet-tab {
  padding: 12px 24px;
  background: #D5D1B7;
  border: none;
  border-radius: 5px 5px 0 0;
  cursor: pointer;
  color: #453F1D;
  flex: 1;
  font-family: 'Tinos';
  font-weight: 700;
  font-style: Italic;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 55px;
}

.diet-tab.active {
  background: #fff;
  border: 1px solid #948A54;
  border-bottom: none;
  margin-bottom: -1px;
}

.diet-tab img{
  display: none;
}

/* Tab Content */
.diet-tab-content {
  padding: 30px 0;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #948A54;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
}

.diet-content {
  display: none;
}

.diet-content.active {
  display: block;
}

/* Diet Boxes */
.diet-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.diet-box {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.diet-box:hover {
  border-color: #FAC090;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.diet-box-icon {
  margin-bottom: 20px;
}

.diet-box-icon img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.diet-box h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.diet-box p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.diet-button {
  padding: 10px 30px;
  background: #FAC090;
  color: #fff;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.diet-button:hover {
  background: #F5A970;
  transform: translateY(-2px);
}

/* Remember Choice */
.diet-remember-choice {
  text-align: center;
  margin-top: 20px;
}

.diet-remember-choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.diet-remember-choice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Coming Soon */
.diet-coming-soon {
  text-align: center;
  padding: 60px 20px;
}

.diet-coming-soon p {
  font-size: 18px;
  color: #999;
}

/* Product Search Section */
.diet-search-container {
  display: flex;
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

#diet-product-search {
  flex: 1;
  padding: 14px 24px;
  border: 2px solid #948A54;
  border-radius: 10px 0 0 10px;
  font-size: 15px;
  background: #EEECE1;
  transition: all 0.3s ease;
  font-family: inherit;
  color: #333;
}

#diet-product-search::placeholder {
  color: #999;
  font-style: italic;
}

.diet-search-button {
  padding: 14px 28px;
  background: #948A54;
  border: none;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(148, 138, 84, 0.3);
}

.diet-product-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
  flex-direction: column;
  padding-top: 100px;
}

.diet-product-image,
.diet-product-image-right {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  position: absolute;
  top: 0;
}

.diet-product-image {
  left: 35px;
}

.diet-product-image-right {
  right: 35px;
}

.diet-product-image img,
.diet-product-image-right img,
#diet-product-video {
  width: 260px;
  height: 260px;
  object-fit: contain;
}

.diet-product-header h3 {
  flex: 1;
  text-align: center;
  font-size: 28px;
  color: #453F1D;
  font-weight: 700;
  margin: 0;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(69, 63, 29, 0.1);
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #FFFFFF 0px, #FFFFFF 300px, #CCC6A4 87.98%);
  padding: 10px;
  width: 100%;
}

.diet-product-header span {
  font-family: 'Poppins';
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: bottom;
  color: #506329;
  max-width: 650px;
  margin: 0 295px;
}

.diet-product-section {
  margin: 0 35px 30px 35px;
  padding: 20px;
  border-radius: 10px;
  border-width: 1px 1px 1px 8px;
  border-style: solid;
  border-color: #DDD9C3;
  background-color: rgba(221, 217, 195, 0.1);
  transition: all 0.3s ease;
}

.diet-product-section-desc {
  border-color: #C3D69B;
}

.diet-product-section h4 {
  font-family: 'Poppins';
  font-style: normal;
  font-size: 18px;
  color: #453F1D;
  margin-bottom: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.diet-product-section p {
  font-family: 'Poppins';
    font-style: normal;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  text-align: justify;
}

/* Product Nutrition Table */
.diet-product-nutrition {
  margin: 35px 35px 0 35px;
}

.diet-nutrition-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  overflow: hidden;
}

.diet-nutrition-table th {
  padding: 14px 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
}

.diet-nutrition-table th:first-child {
  border-radius: 10px 0 0 0;
}

.diet-nutrition-table th:last-child {
  border-radius: 0 10px 0 0;
}

.diet-nutrition-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #F0EBE5;
  font-size: 14px;
  color: #555;
  transition: all 0.2s ease;
}

.diet-nutrition-table tbody tr:last-child td {
  border-bottom: none;
}

.diet-nutrition-table tbody tr {
  transition: all 0.2s ease;
}

/* Nutrition Layout with Sidebar */
.diet-nutrition-layout {
  display: flex;
  position: relative;
    flex-direction: column;
}

.diet-nutrition-sidebar {
  display: flex;
  gap: 15px;
    width: 100%;
    min-width: 100%;
    height: 50px;
}

.diet-nutrition-btn {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 50px;
  text-align: left;
  border-bottom: none;
  border-radius: 5px 5px 0 0;
  width: 100%;
  position: relative;
}

  .diet-nutrition-btn.active {
    border-bottom: none;
    height: 51px;
    padding-bottom: 1px;
  }

.diet-nutrition-btn:nth-child(1) {
  z-index: 5;
}

.diet-nutrition-btn:nth-child(2) {
  z-index: 4;
}

.diet-nutrition-btn:nth-child(3) {
  z-index: 3;
}

.diet-nutrition-btn:nth-child(4) {
  z-index: 2;
}

.diet-nutrition-btn:nth-child(5) {
  z-index: 1;
}


.diet-nutrition-btn:not(.active) img, .diet-nutrition-btn:not(.active) svg {
  filter: brightness(0);
  opacity: 0.5;
}

.diet-nutrition-btn-content p {
  flex: 1;
  position: relative;
  z-index: 1;
  font-family: Tinos;
font-weight: 400;
font-style: Regular;
font-size: 14px;
line-height: 120%;
letter-spacing: 0%;
    margin-bottom: 20px;
}

/* Individual nutrition tab button styles */
.diet-nutrition-btn[data-nutrition-tab="makroskladniki"] {
  background-color: #F0F8FA;
  border-color: #C6D9F1;
}

#nutrition-makroskladniki .diet-nutrition-btn-content h4{
  color: #2D5A93;
}

.diet-nutrition-btn[data-nutrition-tab="makroelementy"] {
  background-color: #E7E0F4;
  border-color: #D9D9D9;
  
}
#nutrition-makroelementy .diet-nutrition-btn-content h4{
  color: #583E79;
}

.diet-nutrition-btn[data-nutrition-tab="witaminy"] {
  background-color: #FFFFE5;
  border-color: #FCD5B5;
  
}
#nutrition-witaminy .diet-nutrition-btn-content h4{
  color: #C36417;
}

.diet-nutrition-btn[data-nutrition-tab="bioaktywne"] {
  background-color: #EBF1DE;
  border-color: #D7E4BD;
  
}
#nutrition-bioaktywne .diet-nutrition-btn-content h4{
  color: #6E8E2F;
}

.diet-nutrition-btn[data-nutrition-tab="toksyczne"] {
  background-color: #F7EAE9;
  border-color: #E6B9B8;
  
}
#nutrition-toksyczne .diet-nutrition-btn-content h4{
  color: #A0413E;
}

#nutrition-makroskladniki {
  border-color: #C6D9F1;
}
#nutrition-makroelementy {
  border-color: #D9D9D9;
}
#nutrition-witaminy {
  border-color: #FCD5B5;
}
#nutrition-bioaktywne {
  border-color: #D7E4BD;
}
#nutrition-toksyczne {
  border-color: #E6B9B8;
}


  #nutrition-makroskladniki .diet-nutrition-btn-content {
    background-color: #F0F8FA;
  }
  #nutrition-makroelementy .diet-nutrition-btn-content {
    background-color: #E7E0F4;
  }
  #nutrition-witaminy .diet-nutrition-btn-content {
    background-color: #FFFFE5;
  }
  #nutrition-bioaktywne .diet-nutrition-btn-content {
    background-color: #EBF1DE;
  }
  #nutrition-toksyczne .diet-nutrition-btn-content {
    background-color: #F7EAE9;
  }

.diet-nutrition-content {
  flex: 1;
  min-width: 0;
}

.diet-nutrition-btn-content h4 {
  font-family: Tinos;
font-weight: 700;
font-style: Bold;
font-size: 22px;
line-height: 27px;
letter-spacing: 0%;
text-transform: uppercase;

}

.diet-nutrition-tab-content {
  display: none;
  border: 1px solid;
  height: 100%;
}

.diet-nutrition-tab-content>* {
  padding: 15px;
}

.diet-nutrition-tab-content.active {
  display: block;
}

/* Individual nutrition tab content table styling */
#nutrition-makroskladniki .diet-nutrition-table tbody tr:nth-child(odd) {
  background-color: #F0F8FA;
}

#nutrition-makroelementy .diet-nutrition-table tbody tr:nth-child(odd) {
  background-color: #E7E0F4;
}

#nutrition-witaminy .diet-nutrition-table tbody tr:nth-child(odd) {
  background-color: #FFFFE5;
}

#nutrition-bioaktywne .diet-nutrition-table tbody tr:nth-child(odd) {
  background-color: #EBF1DE;
}

#nutrition-toksyczne .diet-nutrition-table tbody tr:nth-child(odd) {
  background-color: #F7EAE9;
}

.diet-autocomplete-dropdown {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #ddd;
            border-top: none;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            z-index: 1000;
            max-height: 300px;
            overflow-y: auto;
            margin-top: -1px;
        }
        
        .diet-autocomplete-item {
            padding: 12px 16px;
            cursor: pointer;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.2s;
        }
        
        .diet-autocomplete-item:last-child {
            border-bottom: none;
        }
        
        .diet-autocomplete-item:hover {
            background-color: #f8f9fa;
        }
        
        .diet-autocomplete-category {
            font-size: 12px;
            color: #666;
            padding: 2px 8px;
            background: #f0f0f0;
            border-radius: 12px;
            margin-left: 10px;
        }
        
        .diet-search-container {
            position: relative;
        }

        .diet-info-section {
          margin-bottom: 20px;
        }


        .diet-info-section .diet-info-section-wrap {
          display: flex; gap: 10px; align-items: center; justify-content: flex-start;
        }

        .diet-info-section .diet-info-section-wrap p {
          margin: 0; 
          font-family: Tinos;
          font-weight: 400;
          font-style: Italic;
          font-size: 12px;
          line-height: 140%;
          letter-spacing: 0%;
          color: #828587;
         }

         .diet-nutrition-table-top-header {
          display: none;
         }
         
/* Responsive */
@media (max-width: 1375px) {

  .diet-product-header {
    flex-direction: column;
    padding-top: 0;
    gap: 260px;
  }
  
  .diet-product-header span {
    margin: 0;
  }

  .diet-product-header h3 {
    font-size: 24px;
  }

  .diet-product-image,
  .diet-product-image-right {
    top: 52px;
  }

  .diet-product-image {
    left: 0;
  }

  .diet-product-image-right {
    right: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {

.diet-tab img{
  display: block;
}

.diet-tab span{
  display: none;
}

  .diet-container {
    padding: 0 10px;
  }

  .diet-product-nutrition {
    margin: 35px 0 0 0;
  }

  .diet-product-section {
    margin: 0 0 30px 0;
  }

  .diet-assistant-tabs {
    margin: 5px;
    gap: 0;
    flex-wrap: wrap;
  }

  .diet-assistant-card {
    margin: 5px;
  }

  .diet-boxes {
    grid-template-columns: 1fr;
  }


  .diet-nutrition-table {
    font-size: 12px;
    padding-top: 0;
  }

  .diet-nutrition-table th,
  .diet-nutrition-table td {
    padding: 8px;
  }

  .diet-search-container {
    padding: 0 10px;
  }

  .diet-nutrition-btn span {
    white-space: nowrap;
  }

  .diet-product-result {
    margin: 0 10px;
  }

  /* Mobile table toggle functionality */
  .diet-nutrition-table thead th:not(:first-child) {
    display: none;
  }

  .diet-nutrition-table thead th {
    font-weight: 700;
    font-style: Bold;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0%;
  }

  .diet-nutrition-table thead th::before {
    content: "• ";
    margin-right: 5px;
  }

  .diet-nutrition-table-top-header {
    display: block;
    font-weight: 700;
    font-style: Bold;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0%;
    padding-bottom: 0;
  }

  .diet-nutrition-table tbody tr {
    display: block;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
  }

  .diet-nutrition-table tbody td {
    display: block;
    text-align: left;
    border: none;
    position: relative;
  }

  .diet-nutrition-table tbody td:last-child {
    border-bottom: none;
  }

  /* First cell (toggle cell) styling */
  .diet-nutrition-table tbody td.mobile-toggle-cell {
    padding: 12px;
    position: relative;
  }

  .diet-nutrition-table tbody td.mobile-toggle-cell::after {
    content: '▼';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    font-size: 12px;
  }

  .diet-nutrition-table tbody tr.mobile-expanded td.mobile-toggle-cell::after {
    transform: translateY(-50%) rotate(180deg);
  }

  /* Hidden cells (collapsed by default) */
  .diet-nutrition-table tbody td.mobile-hidden-cell {
    display: none;
    padding: 10px 12px;
  }

  .diet-nutrition-table tbody td.mobile-hidden-cell::before {
    content: attr(data-label) ": ";
    font-weight: bold;
    color: #000;
    margin-right: 5px;
  }

  /* Show hidden cells when expanded */
  .diet-nutrition-table tbody tr.mobile-expanded td.mobile-hidden-cell {
    display: block;
  }

  
/* Individual nutrition tab content table styling */
#nutrition-makroskladniki .diet-nutrition-table tbody tr{
  background-color: #F0F8FA;
}

#nutrition-makroelementy .diet-nutrition-table tbody tr{
  background-color: #E7E0F4;
}

#nutrition-witaminy .diet-nutrition-table tbody tr{
  background-color: #FFFFE5;
}

#nutrition-bioaktywne .diet-nutrition-table tbody tr{
  background-color: #EBF1DE;
}

#nutrition-toksyczne .diet-nutrition-table tbody tr{
  background-color: #F7EAE9;
}

.diet-nutrition-table .mobile-toggle-cell {
font-weight: 400;
font-style: normal;
font-size: 16px;
line-height: 150%;
letter-spacing: 0%;
}

#nutrition-makroskladniki .diet-nutrition-table .mobile-toggle-cell, #nutrition-makroskladniki .diet-nutrition-table thead tr:not(.diet-nutrition-table-top-header) th {
  color: #2D5A93;
}
#nutrition-makroelementy .diet-nutrition-table .mobile-toggle-cell, #nutrition-makroelementy .diet-nutrition-table thead tr:not(.diet-nutrition-table-top-header) th {
  color: #583E79;
}
#nutrition-witaminy .diet-nutrition-table .mobile-toggle-cell, #nutrition-witaminy .diet-nutrition-table thead tr:not(.diet-nutrition-table-top-header) th {
  color: #C36417;
}
#nutrition-bioaktywne .diet-nutrition-table .mobile-toggle-cell, #nutrition-bioaktywne .diet-nutrition-table thead tr:not(.diet-nutrition-table-top-header) th {
  color: #6E8E2F;
}
#nutrition-toksyczne .diet-nutrition-table .mobile-toggle-cell, #nutrition-toksyczne .diet-nutrition-table thead tr:not(.diet-nutrition-table-top-header) th {
  color: #A0413E;
}

}