/* Homepage/landing styles extracted from css/style.css */
.gnmr {
    margin-top: 1.5em;
    font-size: 2.8em;
}

.icon-why {
    max-height: 5em;
}

.why-text {
    font-size: 1.2em;
}

.main-slider h1 {
    font-family: "Katahdin Round Regular" !important;
    font-weight: bold;
    font-size: 5em;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.1;
    text-align: left;
    color: #ffffff;
}

.main-slider h3 {
    font-size: 2.2em;
}

.preliv {
    position: absolute;
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    max-height: 100%;
    min-height: 100%;
    top: 0;
    left: -1em;
    z-index: 1000;
}

.preliv-2 {
    position: absolute;
    top: 0;
    max-height: 100%;
    min-height: 100%;
    right: -1em;
    z-index: 1000;
}

.play-btn {
    margin-top: 10em;
    min-width: 8em;
    opacity: 0.9;
}

.play-btn:hover {
    opacity: 1;
}

.veterinar {
   background-image: url("../../../img/veterinar.webp");
    background-repeat: no-repeat;
    background-position: center;
    min-height: 20em;
    background-size: contain;
    background-position: top;
}

.jak-to-funguje {
   background-image: url("../../../img/jak-to-funguje.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.farmy {
   background-image: url("../../../img/farmy.png");
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1em;
    min-height: 100%;
    padding: 2em;
}

.farmy h4 {
    font-size: 1.4em;
}

.farmy p {
    letter-spacing: 0.02em;
}

.quote {
    margin-top: 1em;
    opacity: 0.7;
    font-size: 1em;
   background: url(../../../img/quote.svg) no-repeat;
    color: #292528 !important;
}

.instagram_gallery img:hover {
    opacity: 0.8;
}

.eapps-link {
    display: none !important;
}

.div-baliky {
    min-height: 26em;
}

/* FAQ section */
.faq-hero {
    background: #006837;
}

.faq-container {
    background-color: #00341c;
    color: #ffffff;
}

.faq-container .faq-content {
    padding-top: 20px;
}

.faq-menu {
    width: 100%;
    background-color: #00341c;
}

.faq-menu .faq-category {
    width: 100%;
    text-align: left;
    border: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.faq-menu .faq-category img {
    max-width: 30px;
    max-height: 30px;
}

.faq-menu .btn {
    font-size: 1.2em;
    margin-bottom: 0;
    padding: 0.5em 0.3em;
}

.faq-menu-row {
    width: 100% !important;
}

.faq-list {
    margin-top: 20px;
}

.faq-card {
    background-color: #ffffff;
}

.faq-card-header {
    background-color: #006837;
    color: #ffffff;
}

.faq-item {
    border-radius: 8px;
}

.faq-card-body {
    background-color: #f8f9fa;
}

.faq-category.active {
    border: 0 !important;
    background: #f59e05 !important;
    border-radius: 0 !important;
}

.faq-container-category:hover,
.faq-container-category.active {
    background: #f59e05 !important;
}

#searchInputfaq:focus {
    box-shadow: none !important;
    border: 0 !important;
}

.faq-answer {
    font-size: 0.85em;
    color: #512035 !important;
    font-weight: 500;
    line-height: 19px;
}

.text-semibold {
    font-weight: 800;
}

.faq-title {
    font-weight: 800;
    color: #512035 !important;
    font-size: 1.1em;
}

.faq-row {
    margin-right: -15px;
    margin-left: -15px;
}

.faq-row > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.faq-link-answer {
    color: #512035 !important;
    font-weight: 600;
    text-decoration: underline;
}

.faq-book-image {
    max-width: 90%;
}

.faq-heading {
    font-size: 1.5em;
}

.faq-search {
    background: transparent;
}

.faq-search-icon {
    background: #ffffff;
    border: 0 !important;
}

.faq-search-icon-image {
    max-width: 1em;
}

.faq-search-input {
    border: 0 !important;
    font-size: 1.3em;
    max-height: 1.95em;
    background: #ffffff !important;
}

.faq-corner-image {
    position: absolute;
    bottom: 0;
}

.input-group>.custom-select:not(:first-child),
.input-group>.form-control:not(:first-child) {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Articles section */
.article-container {
    margin-top: 20px;
}

.article {
    position: relative;
    margin-bottom: 0.5em;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
}

.article img {
    width: 100%;
    height: auto;
    filter: brightness(0.8);
}

.article-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(1, 1, 1, 5)) !important;
    color: #ffffff !important;
}

a:hover .article-title {
    background: linear-gradient(to bottom, rgba(255, 165, 0, 0), rgba(255, 160, 10, 1)) !important;
}

.article-title-text {
    color: #ffffff;
    text-align: left;
    margin-left: 0.5em;
}

.article-title-text-sm {
    font-size: 1em;
}

.article-title-lg {
    font-size: 1.1em;
}

.orange-line {
    width: 5px;
    position: absolute;
    height: 60% !important;
    background-color: orange;
    margin-right: 10px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: orange;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    color: #ffffff;
    opacity: 0.9;
}

.social-icon:hover {
    color: #ffffff !important;
    opacity: 1;
}

.index-clanky {
    height: 10em !important;
}

.article-heading {
    margin-bottom: 0;
}

.article-heading-icon {
    width: 1.5em;
}

.article-all-link {
    font-size: 1em !important;
    font-weight: 400 !important;
}

.article-all-icon {
    max-width: 1.6em;
}

.article-featured-col {
    padding-bottom: 1em !important;
    margin-right: -0.9em;
}

.article-featured {
    height: 100% !important;
}

.article-grid-col {
    margin-right: -0.9em;
    margin-bottom: -0.9em;
}

@media (max-width: 767.98px) {
    .social-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .index-clanky {
        height: 15em !important;
    }
}

/* Instagram/social section */
.logo-img {
    max-width: 10em;
    max-height: 9em;
}

.ig-name .social-link {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0;
}

.ig-name .top-nav-icon {
    width: 2em;
}

.social-divider {
    color: #e6dce1;
    margin: 0 1em;
}

.dog-icon {
    position: absolute;
    top: -2em;
    right: 10em;
}

.social-link {
    color: #3d182c !important;
}

.social-link:hover {
    color: #ffffff !important;
}

.sec-headline {
    font-size: 1.3em !important;
}

.thrid-headline {
    letter-spacing: 0.1px !important;
    font-size: 1.3em !important;
    font-family: 'Proxima Soft' !important;
    font-weight: 800;
}

.ig-widget {
    padding: 0 !important;
    margin-bottom: -10px !important;
}

.lightwidget-widget {
    width: 100%;
    border: 0;
    overflow: hidden;
    min-height: 200px; /* Reduced from 400px to avoid large gap */
}

.lightwidget-widget iframe {
    width: 100% !important;
    /* min-height removed to let it adapt */
}

@media (max-width: 768px) {
    .lightwidget-widget {
        min-height: 95px;
    }
}

.bg-orange-2 {
    background: #f59e05;
}

.ig-span {
    font-size: 1.2em;
    font-weight: 550;
}

.image-nadpis-new {
    width: 3.5em; /* Keep this size for the title heart icon */
    /* margin-right: -1em; Removed negative margin causing overlap */
}

/* Specific style for social icons in IG header to fix large size */
.social-link .top-nav-icon {
    width: 48px !important;
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .image-nadpis-new {
        width: 3em;
        margin-top: 0;
        margin-right: 0;
    }

    .social-link {
        font-size: 0.9em !important;
    }
    
    .sec-headline {
        font-size: 1.2em !important;
    }
}

/* Products slider */
.product-image {
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: 16px !important;
}

.product-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffa500b0;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1em;
    cursor: pointer;
}

.product-image:hover .product-image-overlay {
    opacity: 1;
}

.product-image:hover img {
    transform: scale(1.02);
}

.product-image-overlay .product-overlay-icon,
.product-overlay-icon.img-fluid {
    max-width: 60px !important;
    width: 60px !important;
    height: auto;
}

.product-details {
    text-align: center;
    padding: 15px 0;
}

.product-title {
    font-size: 0.85em;
    margin-bottom: 5px;
    text-align: left;
    font-weight: 600;
}

.product-price {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 0.9em !important;
}

.product-price.product-price-big {
    font-size: 1.1em !important;
}

.product-price-strong {
    font-weight: 800;
    color: #3d182c;
}

.product-large {
    padding: 1.5em;
}

.product-featured-card {
    background: #ffffff;
    border-radius: 8px;
}

.product-featured-img {
    max-width: 95%;
    text-align: center;
}

.custom-rating .orange-star {
    color: orange;
    font-size: 0.95em;
}

.custom-rating .gray-star {
    color: gray;
    font-size: 0.9em;
}

.custom-rating-inline {
    display: inline;
}

.custom-rating-large .orange-star,
.custom-rating-large .gray-star {
    font-size: 2em;
}

.custom-rating-small .orange-star,
.custom-rating-small .gray-star {
    font-size: 0.8em;
}

.custom-rating-value {
    color: orange;
    font-size: 0.6em;
    margin-left: 0.5em;
    font-weight: 600;
}

.custom-rating-count {
    color: gray;
    font-size: 0.6em;
    margin-left: 0.5em;
}

.product-slider-cta {
    color: #ffffff !important;
    font-weight: 400 !important;
    font-size: 1em !important;
    background: #ee9623 !important;
    margin-top: -1em !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
}

.product-slider-cta-icon {
    max-width: 1.5em;
}

.woocommerce-Price-amount {
    font-weight: 800 !important;
}

.product-slider-icon {
    width: 1em;
    margin-top: -0.2em !important;
}

.product-slider-all-link {
    font-size: 0.8em !important;
    font-weight: 400 !important;
}

.product-title-lg {
    text-align: left;
    color: #3d182c;
    font-size: 1.55em;
    font-weight: 600;
    margin-bottom: 0 !important;
}

.product-title-sm {
    margin-bottom: -0.3em !important;
    color: #3d182c;
}

.add-to-cart-custom {
    font-size: 0.6em !important;
    color: orange !important;
    margin: 0 !important;
    text-align: right !important;
    font-weight: 400 !important;
}

.product-add-cart-mobile {
    width: 100%;
    margin-bottom: 6px !important;
    text-align: center !important;
}

.product-price-info {
    font-size: 0.9em;
    color: #ee9623 !important;
}

/* How it works */
.mt-desk-5 {
    margin-top: 3rem;
}

@media only screen and (max-width: 767px) {
    .mt-desk-5 {
        margin-top: 0 !important;
    }
}

/* Why feed with Rawbark */
.five-cols .custom-col {
    padding: 0 15px;
    margin-bottom: 30px;
}

@media (min-width: 992px) {
    .five-cols .custom-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .five-cols .custom-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .five-cols .custom-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.small-desct-why {
    font-size: 0.7em;
    font-weight: 600;
    color: #512035;
}

/* Homepage main header */
.snow_tab {
    max-width: 100%;
    top: 0;
    position: absolute;
    left: 0;
    margin-top: -1.65em;
    z-index: 1;
}

@media (max-width: 768px) {
    .snow_tab {
        margin-top: -0.3em;
    }
}

@media (min-width: 768px) and (max-width: 1224px) {
    .snow_tab {
        margin-top: -1em;
    }
}

.flip-image {
    position: absolute;
    width: 95%;
    backface-visibility: hidden;
    z-index: 2;
    transition: transform 1s, opacity 1s;
}

.flip-image-front {
    transform: rotateY(0deg);
    opacity: 1;
}

.flip-image-back {
    transform: rotateY(180deg);
    opacity: 0;
}

.winter-slider::after, 
.winter-sliderr::after {
    content: "";
    background-image: none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.heart {
    color: #ff3366;
    position: fixed;
    top: -1vh;
    font-size: 1.5em;
    animation: fall 10s linear forwards;
    z-index: 1;
}

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(105vh) rotate(360deg);
        opacity: 0;
    }
}

.heart:nth-child(2n) {
    left: 10vw;
    animation-delay: 1s;
    animation-duration: 8s;
}

.heart:nth-child(3n) {
    left: 30vw;
    animation-delay: 2s;
    animation-duration: 9s;
}

.heart:nth-child(4n) {
    left: 50vw;
    animation-delay: 3s;
    animation-duration: 11s;
}

.heart:nth-child(5n) {
    left: 70vw;
    animation-delay: 4s;
    animation-duration: 7s;
}

.heart:nth-child(6n) {
    left: 90vw;
    animation-delay: 5s;
    animation-duration: 10s;
}

.heart::before {
    content: "\2764";
}

@media (max-width: 768px) {
    .heart {
        font-size: 1em;
    }
}

.winter-slider-sn-spot {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("https://rawbark.cz/wp-content/uploads/2024/12/snowflakes-overlay.png");
    background-size: cover;
    opacity: 0.4;
    pointer-events: none;
}

.glow-effect {
    animation: heartbeatGlow 1.5s infinite;
}

@keyframes heartbeatGlow {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 105, 180, 0.6);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(255, 105, 180, 0.8);
    }
}

#valentines-title {
    color: #ff3366;
    font-family: 'Pacifico', cursive;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}

#valentine-image {
    transition: transform 0.3s ease;
}

#valentine-image:hover {
    transform: scale(1.1);
}

.valentine-button {
    background-color: #ff3366;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
}

.valentine-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    background-color: #ff6b8f;
}

.valentine-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #ff3366;
}

.main-header-title {
    font-family: 'Proxima Soft' !important;
    font-weight: 1000;
    font-size: 6em;
    line-height: 0.8em;
    margin-top: 0.55em;
}

.main-header-subtitle {
    font-size: 1.9em;
}

.main-header-cta-row {
    margin-bottom: 2.3em;
}

.main-header-link {
    color: #ffffff !important;
    text-decoration: none;
    margin-right: 0 !important;
    margin-left: 0 !important;
    font-weight: 400 !important;
}

.main-header-cta {
    background: #ee9623 !important;
    margin-left: 0 !important;
    color: #ffffff !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    font-weight: 400 !important;
}

.main-header-cta-icon {
    max-width: 1.5em;
}

.main-header-price {
    color: #ffffff;
    line-height: 3em;
    margin: auto;
    font-size: 0.8em;
    text-align: center;
    margin-left: -1em;
    margin-top: -0.4em;
}

.main-header-price-icon {
    font-size: 0.9em;
    color: #7a4b63 !important;
}

/* Meat vs dust (video) */
.tv-frame {
    background-image: url("/wp-content/uploads/2024/02/Datovy-zdroj-6.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding-top: 56.25%;
    position: relative;
    width: 100%;
}

.tv-frame iframe {
    position: absolute;
    top: 45.5%;
    left: 49.8%;
    transform: translate(-50%, -50%);
    width: 83%;
    height: 84%;
}

.meat-vs-dust-heading {
    margin-bottom: 0.3em !important;
    margin-top: 0 !important;
}

.meat-vs-dust-text {
    color: #3d182c;
    font-size: 0.84em;
    line-height: 17px;
    margin-bottom: 0 !important;
}

.meat-vs-dust-info {
    font-size: 0.8em !important;
}

.meat-vs-dust-cta {
    max-width: 15em;
    color: #ffffff !important;
    font-size: 0.8em !important;
    border-color: #f69e05 !important;
    background: #f69e05 !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

.meat-vs-dust-cta-icon {
    max-width: 1.5em;
}

/* Dogs case study slider */
.dogs-case-study .custom-nav {
    position: relative;
    margin-top: 20px;
    text-align: center;
}

.dogs-case-study .wp-gr .wp-google-wr {
    margin: 35px auto 8px -6px !important;
}

.dogs-case-study .custom-prev, 
.dogs-case-study .custom-next {
    background-color: transparent !important;
    color: #ffffff;
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    position: absolute;
    cursor: pointer;
    font-size: 25px;
    top: 5em;
    z-index: 10;
}

.dogs-case-study .custom-prev {
    left: -3em;
}

.dogs-case-study .custom-next {
    right: -3em;
}

.dogs-case-study .custom-item {
    padding-top: 4rem;
}

/* Dog Sticker Wrapper */
.dog-sticker-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: -1em; /* Negative margin to overlap dog photo slightly if needed, adjust as per design */
    z-index: 100;
}

.dogs-case-study .custom-col-left .custom-dog-name {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    width: 100%;
    margin: 0;
    color: #ffffff;
    font-family: "Katahdin Round Regular" !important;
    z-index: 100000;
    font-size: clamp(1rem, 2vw, 1.5rem); /* Dynamic font size to prevent overflow */
}

.dogs-case-study .custom-name-box {
    width: 100% !important;
    display: block;
}


/* Review Bubble Wrapper */
.review-bubble-wrapper {
    position: relative;
    width: 90%;
    margin: 0 auto;
}

.dogs-case-study .custom-col-right .custom-text-box {
    width: 100% !important;
    height: auto;
    display: block;
}

.dogs-case-study .custom-scrollable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: hidden; /* Hide scroll unless hovered/needed */
    padding: 2.5em 2em 2em 2em; /* Adjust padding to fit inside the bubble image */
    font-size: 0.75em !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dogs-case-study .custom-scrollable p {
    margin: 0;
    max-height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}


.dogs-case-study .custom-user-info {
    width: 50%;
    margin-top: 1em;
    line-height: 17px;
}

.dogs-case-study .custom-username {
    font-weight: 600 !important;
}

.dogs-case-study .custom-date {
    color: #dbd4d8;
}

.dogs-case-study .custom-star-rating {
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.dogs-case-study .owl-carousel .owl-item img {
    /* max-width: 16.5em !important;  Removed constraint causing centering issues */
    width: 100%;
}

.dogs-case-study .palec-rec {
    max-width: 1.5em;
    margin-top: -0.7em;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .review-bubble-wrapper {
        width: 100%;
        margin-top: -2em;
    }

    .dogs-case-study .custom-scrollable {
         padding: 1.5em;
         font-size: 0.7em !important;
    }

    .dogs-case-study .custom-user-info {
        width: 100% !important;
        margin-top: 2em; 
    }
    
    .dogs-case-study .custom-prev,
    .dogs-case-study .custom-next {
        top: 8em !important;
    }
    .dogs-case-study .custom-prev { left: 0.5em !important; }
    .dogs-case-study .custom-next { right: 0.5em !important; }
}

@media (max-width: 767px) {
    .review-bubble-wrapper {
        width: 100%;
        margin-top: -4em; /* Pull up to overlap dog image */
        margin-bottom: 1em;
    }

    .dogs-case-study .custom-scrollable {
        padding: 3em 2.5em 2.5em 2.5em; /* Specific padding for mobile bubble */
        font-size: 0.8em !important;
    }

    .dogs-case-study .custom-user-info {
        width: 100% !important;
    }

    .dogs-case-study .custom-prev,
    .dogs-case-study .custom-next {
        top: 8em !important;
    }
    .dogs-case-study .custom-prev { left: 0.25em !important; }
    .dogs-case-study .custom-next { right: 0.25em !important; }

    .dogs-case-study .palec-rec {
        max-width: 1.5em !important;
        margin-top: -0.7em !important;
        position: absolute !important;
        margin-left: -2em !important;
        top: 2.1em !important;
    }
}

@media (max-width: 480px) {
    /* Further adjustments for small screens */
    .review-bubble-wrapper {
         margin-top: -3em;
    }
}


/* Fix for homepage slider responsiveness / overlap issues */
@media (min-width: 992px) and (max-width: 1400px) {
    .main-slider h1, 
    .main-slider h1.gnmr {
        font-size: clamp(2.5rem, 3.5vw, 4em); /* Dynamic sizing between tablet/desktop */
    }
    
    .subtitle-slider {
        font-size: 1.3em;
    }

    /* Adjust button column spacing/wrapping */
    .main-header-cta-row .btn {
        white-space: normal;
        padding: 0.5rem 1rem;
        font-size: 0.95em;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .main-slider h1, 
    .main-slider h1.gnmr {
        font-size: 2.8em; /* Significantly smaller for tablet portrait */
    }

    .subtitle-slider {
        font-size: 1.2em;
    }

    /* Stack buttons on tablet to avoid overlap */
    .main-header-cta-row .col-5,
    .main-header-cta-row .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 15px !important; 
        margin-bottom: 1em;
    }
    
    .main-header-cta-row {
        margin-left: 0;
    }

    .main-header-img-col {
         margin-top: 2em;
    }
}
