/* Top Bar */
.pp-topbar {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: bold;
}

.pp-topbar-scroll .pp-topbar-slider {
    display: flex;
    animation: scroll var(--scroll-speed, 20s) linear infinite;
    width: max-content;
}

.pp-topbar-scroll.pp-scroll-right .pp-topbar-slider {
    animation-direction: reverse;
}

.pp-topbar-scroll .pp-topbar-slide {
    flex-shrink: 0;
    padding: 0 40px;
    white-space: nowrap;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-5%); /* 1/20th because we repeat 20 times */
    }
}

.pp-topbar.pp-topbar-scroll {
    justify-content: flex-start;
}

.pp-topbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.pp-topbar-scroll .pp-topbar-content {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Topbar rich text styling */
.pp-topbar-slide p {
    display: inline;
    margin: 0;
}

.pp-topbar-slide strong,
.pp-topbar-slide b {
    font-weight: bold;
}

.pp-topbar-slide em,
.pp-topbar-slide i {
    font-style: italic;
}

.pp-topbar-slide a {
    color: inherit;
    text-decoration: underline;
}


/* Hero Section */
body .pp-hero {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.pp-hero-content {
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.pp-hero-inner-box {
    background-color: var(--card-bg);
    padding: 20px 40px;
    border-radius: 20px;
    color: #000;
    max-width: 740px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    width:100%;
    align-items: center;
}

.pp-hero-logo {
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 150px;
    filter:invert(1);
    
}
.pp-hero-logo {

  max-width: 168px !important;
}

.pp-hero-heading {
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color:white;
}

.pp-hero-text {
    font-size: 1.1em;
    margin-bottom: 4px;
}

/* Hero rich text styling */
.pp-hero-text p {
    margin-bottom: 1em;
}

.pp-hero-text p:last-child {
    margin-bottom: 0;
}

.pp-hero-text strong,
.pp-hero-text b {
    font-weight: bold;
}

.pp-hero-text em,
.pp-hero-text i {
    font-style: italic;
}

.pp-hero-text ul,
.pp-hero-text ol {
    margin: 1em 0;
    padding-left: 2em;
}

.pp-hero-text li {
    margin-bottom: 0.5em;
}

.pp-hero-text a {
    text-decoration: underline;
}


.pp-hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #283a2c;
    color: #ffffff;
    border: 1px solid #283a2c;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    text-transform: uppercase;
    font-size: 1.5rem;
    position: relative;
    transform: none;
    margin-top: auto;
    min-width: 291px;
}

@media (max-width: 768px) {
    .pp-hero-inner-box {
        padding: 20px;
    }
    .pp-hero-heading {
        font-size: 1.8em;
    }
    .pp-hero-text {
        font-size: 1em;
    }
    
    /* Ensure hero takes full space on mobile */
    .pp-hero-shortcode,
    .pp-hero-shortcode .elementor-widget-container,
    .elementor-shortcode .pp-hero {
        height: 100% !important;
        min-height: 100% !important;
    }
}

.pp-hero-btn:hover {
    filter: brightness(0.85);
}

/* Popup */
.pp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.pp-popup-container {
    position: relative;
    background: #fff;
    max-width: 600px;
    width: 90%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 10001;
}
   /* Product badge overlay */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    position: relative;
}

.pp-product-badge {
  position: relative;
  top: 0;
  left: 0;
  padding: 5px 10px;
  border-radius: 0;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 999;
  line-height: 1;
  background-color: #283a2c;
  color: #ffffff;
}

/* Single product badge positioning */
.woocommerce div.product,
.woocommerce-page div.product {
    position: relative;
}
.pp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #283a2c;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    z-index: 10002;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s;
}

.pp-popup-close:hover {
    filter: brightness(0.85);
}

.pp-popup-content {
    text-align: center;
    position: relative;
    padding: 60px 40px 40px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-popup-text-content {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pp-popup-logo {
    max-width: 100px;
    margin-bottom: 20px;
}

.pp-popup-heading {
    font-size: 2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #000;
}

.pp-popup-text {
    font-size: 1em;
    margin-bottom: 25px;
    color: #333;
}

/* Popup rich text styling */
.pp-popup-text p {
    margin-bottom: 1em;
}

.pp-popup-text p:last-child {
    margin-bottom: 0;
}

.pp-popup-text strong,
.pp-popup-text b {
    font-weight: bold;
}

.pp-popup-text em,
.pp-popup-text i {
    font-style: italic;
}

.pp-popup-text ul,
.pp-popup-text ol {
    margin: 1em 0;
    padding-left: 2em;
}

.pp-popup-text li {
    margin-bottom: 0.5em;
}

.pp-popup-text a {
    color: #283a2c;
    text-decoration: underline;
}


.pp-popup-content img {
    max-width: 100%;
    height: auto;
    display: block;
}

.pp-popup-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #283a2c;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
    text-transform: uppercase;
    font-size: 1.5rem;
    border: 1px solid #283a2c;
    min-width: 291px;
}

.pp-popup-btn:hover {
    filter: brightness(0.85);
}

@media (max-width: 768px) {
    .pp-popup-container {
        max-width: 95% !important;
        margin: 10px;
    }
    
    .pp-popup-content {
        padding: 50px 15px 20px;
        min-height: auto;
    }
    
    .pp-popup-text-content {
        padding: 15px;
    }
    
    .pp-popup-heading {
        font-size: 1.3em;
    }
    
    .pp-popup-text {
        font-size: 0.9em;
    }
    
    .pp-popup-btn {
        font-size: 1rem;
        padding: 10px 20px;
        min-width: auto;
        width: 100%;
    }
    
    .pp-popup-close {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    
    .pp-popup-logo {
        max-width: 120px;
    }
}

body.pp-popup-open #header {
    z-index: 9998;
}

body.has-potocki-promo-topbar #header {
    top: var(--pp-topbar-height, 40px);
}
/* Product Badges */
/* Product Badges - consolidated above */

/* Ensure badge is visible on product loop */
.woocommerce ul.products li.product .woocommerce-loop-product__link {
    position: relative;
}

/* Ensure badge is visible on single product page */
.woocommerce div.product .woocommerce-product-gallery {
    position: relative;
}

/* Make Elementor shortcode container full height/width for hero */
.pp-hero-shortcode,
.pp-hero-shortcode .elementor-widget-container,
.elementor-shortcode:has(.pp-hero),
.elementor-widget-shortcode:has(.pp-hero) {
    height: 100% !important;
    width: 100%;
}

.elementor-shortcode .pp-hero,
.elementor-widget-shortcode .pp-hero {
    height: 100% !important;
    width: 100%;
    min-height: 100% !important;
}

.pp-hero .pp-hero-content {
    height: auto;
    width: 100%;
}

/* Ensure Elementor column/section containing hero is full height */
.elementor-element:has(.pp-hero) {
    height: 100%;
}


.pp-hero-shortcode > .elementor-shortcode{
    height:100%;
}

.porto-ibanner-layer > :last-child {
    height:100%;
}

.porto-ibanner-layer {
    height:100%;
}

.owl-carousel.nav-pos-inside .owl-nav .owl-prev {
  left: 35px!important;
} 
.owl-carousel.nav-pos-inside .owl-nav .owl-next {
  right: 35px!important;
}
@media (max-width: 768px) {
    .elementor-143 .elementor-element.elementor-element-c978d2a > .elementor-element-populated {
        padding: 0;
    }
}