:root {
    /* --ciotolandia-green: #2f6b3f; */
    /* --ciotolandia-orange: #f26b2a; */
    --ciotolandia-green: #017f42;
    --ciotolandia-light-green: #4eaf48;
    --ciotolandia-orange: #ef5b2a;
    --ciotolandia-orange-light: #f06b3e;
    --ciotolandia-orange-bg: rgba(249, 101, 52, 0.05);
    --ciotolandia-green-50: #017f4250;
    --ciotolandia-green-30: #017f4230;
    --ciotolandia-green-bg: #017f4205;
    --text: #2b2b2b;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Bricolage Grotesque;
}

html,
body {
    font-family:
        system-ui,
        -apple-system,
        sans-serif;
    color: var(--text);
    background-color: white;
    overflow-x: hidden !important;
}

#gif-loader {
    opacity: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: -1;
    background-color: white;
    top: 0;
    transition: 0.3s;
}

#gif-loader.shown {
    opacity: 1;
    z-index: 1001;
}

#gif-loader #dog-boxes {
    width: 15vw;
}

.color-green {
    color: var(--ciotolandia-green) !important;
}
.color-orange {
    color: var(--ciotolandia-orange) !important;
}

section.hero {
    height: 80dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

main {
    margin-top: calc(var(--topnav1-height) + var(--topnav2-height) + var(--topnav3-height));
}

section.hero h2 {
    font-size: 4.5rem;
    font-family: Bricolage Grotesque;
    font-weight: 800;
    color: var(--ciotolandia-orange);
    text-shadow: 4px 4px 0px rgba(255, 255, 255, 0.8);
}

.with-logo-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.with-logo-text img {
    height: 55px;
    margin-bottom: -2px;
}

img.logo-text {
    height: 40px;
    margin-bottom: 0px;
}

p img.logo-text {
    height: 18px;
    margin-bottom: 3px;
}

.with-logo-text.with-logo-text-2 {
    display: flex !important;
    justify-content: start;
    align-items: center !important;
}

section.hero p {
    font-size: 3rem;
    font-family: Bricolage Grotesque;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    position: relative;
    top: 0;
    right: 0;
}

.hero video {
    position: absolute;
    left: 0;
    /* top: -30%; */
    width: 100%;
    filter: brightness(.6);
}

.btn {
    padding: 0.9rem 1.4rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.btn.primary {
    background: var(--ciotolandia-orange);
    color: white;
    transition: all 0.3s;
}

.btn.primary:hover {
    transform: translateY(-5%);
    transform: scale(105%);
}

.btn.secondary {
    background: var(--ciotolandia-green);
    color: white;
    border: none;
}

.btn.tertiary {
    background: white;
    color: var(--ciotolandia-green);
    border: none;
}

.btn.link {
    color: var(--ciotolandia-green);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff9;
    padding: 1.5rem;
    border-radius: 16px;
}

.card.profile {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    padding: 20px;
    transform: rotateZ(-1.5deg);
}

.why h3 {
    color: var(--ciotolandia-green);
    font-weight: 800;
    font-size: 2rem;
    font-family: Bricolage Grotesque;
}

.card.profile ul {
    padding: 0;
    list-style: none;
}

/* .dog-info {
    display: flex;
    align-items: center;
    gap: 20px;
} */

.dog-info img {
    width: 25%;
}

.dog-info .dog-name {
    font-weight: 550;
    font-size: 23px;
    color: var(--ciotolandia-green);
}

.cta {
    text-align: center;
    margin-top: 3rem;
}

/* Cursore personalizzato per elementi clickabili */
a,
button,
[role="button"],
.btn,
input[type="submit"],
input[type="button"],
select,
[onclick],
[cursor="pointer"],
*[style*="cursor:pointer"],
*[style*="cursor: pointer"] {
    cursor: url("/images/paw-cursor.webp"), pointer !important;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.mobile .hero-image img {
    position: relative;
    width: 100vw;
    top: unset;
    right: unset;
    z-index: 1;
}

.mobile .hero h1 {
    font-size: 2.5rem;
    text-shadow: 1px 1px 10px white;
}

.mobile .hero-actions {
    justify-content: center;
}

@media (max-width: 900px) {
    .hero {
        padding: 0;
    }
}

.first-topnav {
    background-color: var(--ciotolandia-orange);
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1000;
    transition: .3s;
}

.second-topnav {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    position: fixed;
    top: var(--topnav1-height);
    width: 100vw;
    z-index: 1000;
    transition: .3s;
}

.first-topnav.cta-not-sticky {
    top: calc(-1 * var(--topnav1-height));
}

.second-topnav.cta-not-sticky {
    top: calc(-1 * var(--topnav2-height));
}

.third-topnav.cta-not-sticky {
    top: calc(-1 * calc(var(--topnav1-height) + var(--topnav2-height)));
}

.second-topnav .navbar-brand:hover svg {
    transform: scale(1.05) rotate(5deg);
    transition: transform 0.3s ease;
}

.nav-link-custom {
    color: var(--ciotolandia-green) !important;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-link-custom:hover {
    color: var(--ciotolandia-green) !important;
    transform: translateY(-2px);
}

.nav-link-custom::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--ciotolandia-green);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-link-custom:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.dropdown-toggle-custom {
    color: var(--ciotolandia-green) !important;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
}

.dropdown-toggle-custom:hover {
    color: var(--ciotolandia-green) !important;
    transform: translateY(-2px);
}

.dropdown-toggle-custom::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 3px;
    background: var(--ciotolandia-green);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.dropdown-toggle-custom:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.second-topnav .dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 8px;
    overflow: hidden;
}

.second-topnav .dropdown-item {
    padding: 0.75rem 1.25rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.second-topnav .dropdown-item:hover {
    background: linear-gradient(
        90deg,
        rgba(47, 107, 63, 0.1),
        rgba(242, 107, 42, 0.05)
    );
    color: var(--ciotolandia-green);
    transform: translateX(8px);
}

.btn-cta-outline {
    border: 2px solid var(--ciotolandia-green);
    color: var(--ciotolandia-green);
    background: transparent;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-outline::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--ciotolandia-green), var(--ciotolandia-orange));
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-cta-outline:hover::before {
    left: 0;
}

.btn-cta-outline:hover {
    color: white;
    border-color: var(--ciotolandia-green);
}

.btn-cta-solid {
    background: var(--ciotolandia-green);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 107, 63, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-solid:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(47, 107, 63, 0.4);
    background: linear-gradient(135deg, var(--ciotolandia-orange), var(--ciotolandia-green));
}

.second-topnav .navbar-toggler {
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
}

.second-topnav .navbar-toggler:hover {
    background-color: rgba(47, 107, 63, 0.1);
    transform: scale(1.05);
}

.third-topnav {
    background: var(--ciotolandia-orange);
    position: fixed;
    top: calc(var(--topnav1-height) + var(--topnav2-height));
    width: 100%;
    z-index: 999;
    transition: .1s;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.third-topnav .promo-text {
    flex: 1;
}

.newsletter-input {
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    border: none;
    outline: none;
}

.newsletter-input::placeholder {
    color: #666;
    font-weight: 500;
}

.btn-newsletter {
    background: var(--ciotolandia-green);
    border: none;
    color: white;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-newsletter::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.1)
    );
    transition: left 0.3s ease;
}

.btn-newsletter:hover {
    background: #245a34;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}

.btn-newsletter:hover::before {
    left: 0;
}

@media (max-width: 768px) {
    .third-topnav .promo-text .small {
        display: none;
    }

    .third-topnav .promo-text span {
        font-size: 0.9rem;
    }

    .newsletter-input {
        max-width: 150px !important;
    }

    /* Header Mobile Improvements */
    .second-topnav {
        padding: 8px 0;
    }

    .second-topnav .navbar-brand svg {
        width: 160px;
        height: 32px;
    }

    .second-topnav .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
        border: 2px solid var(--ciotolandia-green);
        border-radius: 6px;
    }

    .second-topnav .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(47, 107, 63, 0.25);
    }

    .second-topnav .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid #e9ecef;
        padding-top: 1rem;
    }

    .second-topnav .navbar-nav {
        margin-bottom: 1rem;
    }

    .second-topnav .nav-item {
        margin-bottom: 0.5rem;
    }

    .nav-link-custom {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        background: rgba(47, 107, 63, 0.05);
        margin-bottom: 0.25rem;
        display: block;
        text-align: center;
    }

    .nav-link-custom:hover {
        background: rgba(47, 107, 63, 0.1);
        transform: none;
    }

    .nav-link-custom::after {
        display: none;
    }

    .dropdown-toggle-custom {
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        background: rgba(47, 107, 63, 0.05);
        margin-bottom: 0.25rem;
        display: block;
        text-align: center;
    }

    .dropdown-toggle-custom:hover {
        background: rgba(47, 107, 63, 0.1);
        transform: none;
    }

    .dropdown-toggle-custom::after {
        display: none;
    }

    .second-topnav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin: 0.5rem 0;
        border: none;
        box-shadow: none;
        background: rgba(47, 107, 63, 0.02);
        border-radius: 8px;
    }

    .second-topnav .dropdown-item {
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 6px;
        margin: 0.25rem;
    }

    /* CTA Buttons Mobile */
    .second-topnav .d-flex.gap-2 {
        justify-content: center;
        gap: 0.75rem !important;
        margin-top: 0.5rem;
    }

    .btn-cta-outline,
    .btn-cta-solid {
        width: 100%;
        padding: 0.875rem 1.5rem !important;
        text-align: center;
        font-size: 1rem;
    }

    /* Third topnav mobile */
    .third-topnav {
        padding: 0.75rem 0;
    }

    .third-topnav .container .row {
        text-align: center;
    }

    .third-topnav span {
        font-size: 0.85rem !important;
        line-height: 1.3;
    }

    .hero video {
        height: 80vh;
        width: unset;
        right: -70%;
        left: unset;
        top: 0;
    }

    #gif-loader #dog-boxes {
        width: 70vw;
    }
}

@media (max-width: 576px) {
    .second-topnav .navbar-brand svg {
        width: 140px;
        height: 28px;
    }

    .third-topnav span {
        font-size: 0.8rem !important;
    }

    .nav-link-custom,
    .dropdown-toggle-custom {
        padding: 0.65rem 0.75rem !important;
        font-size: 0.95rem;
    }

    .btn-cta-outline,
    .btn-cta-solid {
        padding: 0.75rem 1.25rem !important;
        font-size: 0.95rem;
    }
}

/* Footer Styles */
.footer {
    position: relative;
    border-top: 1px solid #e9ecef;
    margin-top: auto;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-title {
    color: var(--text);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--ciotolandia-green);
    text-decoration: none;
}

.contact-info {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

.contact-info strong {
    color: var(--text);
}

.social-links {
    display: flex;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--ciotolandia-green);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.first-topnav .social-link {
    background: no-repeat;
    width: unset;
    height: unset;
    font-size: 12px;
}

.social-link:hover {
    background: var(--ciotolandia-orange);
    color: white;
    transform: translateY(-2px);
}

.payment-info strong {
    color: var(--text);
    font-size: 0.95rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.payment-logo {
    height: 36px;
    width: auto;
    border-radius: 6px;
    background: white;
    padding: 7px;
    border: 1px solid #999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/2;
    object-fit: contain;
}

.footer-divider {
    border-color: #dee2e6;
    margin: 2rem 0 1.5rem 0;
}

.footer-brand {
    display: flex;
    align-items: center;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    color: var(--ciotolandia-orange) !important;
    font-weight: 700;
}

.powered-by {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.syrus-link {
    color: var(--ciotolandia-green);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.syrus-link:hover {
    color: var(--ciotolandia-orange);
    text-decoration: underline;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.legal-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--ciotolandia-green);
    text-decoration: none;
}

.copyright {
    font-size: 0.85rem;
    color: #6c757d;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .social-links {
        justify-content: flex-start;
        margin-bottom: 1rem;
    }

    .legal-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .legal-link {
        font-size: 0.8rem;
    }

    .payment-methods {
        justify-content: flex-start;
    }

    .payment-logo {
        height: 31px;
        padding: 6px 10px;
    }
}

/* Pulsante arancione normale */
.dogbone-btn {
    display: inline-block;
    background: var(--ciotolandia-orange);
    color: white;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dogbone-btn:hover {
    background: #e55a1f;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* Sezione How It Works */
.how-it-works {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.why h2,
.shapes h2,
.how-it-works h2 {
    color: #4e4e4e;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.why .subtitle,
.how-it-works .subtitle {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

section.how-it-works > .container {
    max-width: 800;
}

.step-card {
    padding: 1.5rem 0;
    background: transparent;
    transition: all 0.3s ease;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-image {
    position: relative;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.step-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    aspect-ratio: 1;
}

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

.step-number {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--ciotolandia-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(47, 107, 63, 0.2);
}

.step-title {
    color: var(--ciotolandia-green);
    font-weight: 800;
    font-size: 1.3rem;
    font-family: Bricolage Grotesque;
}

.step-description {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

section.empty-bowls {
    height: 250px;
    background-image: url(/images/home/empty-bowls.webp);
    background-position: 0px -70px;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.empty-bowls::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(13, 96, 0, 0.4);
}

section.empty-bowls > .container {
    z-index: 2;
}

section.empty-bowls h2 {
    color: white;
    font-family: Bricolage Grotesque;
    font-size: 3rem;
    font-weight: 900;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

section.empty-bowls p {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

section.our-meals {
    background-color: var(--ciotolandia-orange);
}

section.our-meals * {
    color: white;
}

section.our-meals .subtitle {
    font-size: 1.5rem;
}

section.our-meals h3 {
    font-weight: 800;
    font-size: 3rem;
}

section.our-meals ul {
    list-style: none;
    padding: 0;
}

section.our-meals ul li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
    font-size: 1.5rem;
    line-height: 1.2;
}

section.our-meals ul li .recipe-number {
    font-size: 1.5rem;
    color: var(--ciotolandia-orange);
    background-color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-family: Bricolage Grotesque;
    line-height: 1;
    aspect-ratio: 1;
}

section.our-meals .recipe-image > img {
    filter: drop-shadow(4px 10px 3px rgba(0, 0, 0, 0.3));
}

/* AUTH */

/* FORM */

.ciot-checkbox-primary:checked {
    accent-color: var(--ciotolandia-orange);
    background-color: var(--ciotolandia-orange);
    border-color: var(--ciotolandia-orange);
}

.ciot-checkbox-secondary:checked {
    accent-color: var(--ciotolandia-green);
    background-color: var(--ciotolandia-green);
    border-color: var(--ciotolandia-orange);
}

.auth-panel-h {
    position: relative;
}

.auth-panel-h .background {
    background: rgb(255 107 53 / 0.1); 
    transform: rotate(-2deg) scale(103%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.auth-panel-h img {
    position: relative;
    z-index: 2;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1;
}

/* User Widget */
.user-widget {
    z-index: 1050;
}

.user-widget-trigger {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-widget-trigger:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.user-widget-trigger.show {
    background-color: rgba(255, 255, 255, 0.25);
}

.user-widget-avatar {
    border: 2px solid rgba(255, 255, 255, 0.5);
    object-fit: cover;
}

.user-widget-text {
    color: #333;
    font-size: 0.9rem;
}

.user-widget-dropdown {
    min-width: 220px;
    border-radius: 12px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

.user-widget-dropdown-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    background: none;
}

.user-widget-dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--ciotolandia-orange);
    transform: translateX(4px);
}

.user-widget-dropdown-item.active {
    background-color: rgba(242, 107, 42, 0.1);
    color: var(--ciotolandia-orange);
    font-weight: 600;
}

.user-widget-dropdown-item.text-danger:hover {
    color: #ef5b2a !important;
    background-color: rgba(220, 53, 69, 0.1);
}

.user-widget-dropdown-item i {
    width: 16px;
    flex-shrink: 0;
}

.user-widget-dropdown .badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
}

@media (max-width: 991px) {
    .user-widget-dropdown {
        min-width: 200px;
        right: 0 !important;
        left: auto !important;
    }
}

.checkout {
    min-height: 100vh;
    background-color: antiquewhite;
}

.checkout .real-price {
    opacity: .5;
    font-size: 14px;
}

.checkout .price-applied {
    font-size: 22px;
    color: var(--ciotolandia-green);
    font-weight: bold;
    letter-spacing: 1px;
}

.checkout .coupon-link {
    display: block;
    text-align: end;
}

.checkout .trial-terminated {
    color: grey;
    font-size: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.row-product-checkout {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 10px 0;
}

.row-product-checkout:not(.last-child) {
    border-bottom: 1px solid lightgray;
}

.row-product-checkout img {
    width: 17%;
}

.row-product-checkout p:first-child {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
}

.row-product-checkout p:last-child {
    font-size: 14px;
    margin: 0;
}

.row-product-checkout .qty {
    width: 15%;
    display: flex;
    align-items: center;
    justify-content: end;
    margin-left: auto;
}

.row-product-checkout .qty .num {
    font-size: 48px;
    font-weight: 300;
    color: var(--ciotolandia-orange);
    width: 50%;
    height: auto;
    aspect-ratio: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
}

.row-product-checkout .qty .arrows {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    gap: 5px;
}

.row-product-checkout .qty .arrows i {
    font-size: 20px;
  color: var(--ciotolandia-green);
    padding: 0 3px;
    border-radius: 5px;
    cursor: pointer;
}

.row-product-checkout .qty .arrows i.disabled {
    opacity: .3;
    color: gray;
    cursor: not-allowed;
}

.checkout .remaining {
    /* color: var(--ciotolandia-orange); */
    margin: 30px 0;
    text-align: center;
    /* font-size: 13px;
    font-weight: 500; */
    font-size: 17px;
}

.checkout .remaining b {
    color: var(--ciotolandia-orange);
}

.shapes h5 span {
    font-weight: 650;
    font-size: 1.75rem;
    color: var(--ciotolandia-orange);
}

.shapes img {
    margin-bottom: 40px;
}

.shapes img + p {
    text-align: center;
}

.shapes img + p b {
    color: var(--ciotolandia-green);
}

.shapes i {
    color: var(--ciotolandia-orange);
}

.home-bowl-teaser {
    position: relative;
    background: linear-gradient(160deg, #787878, #f0f0f0);
    padding: 100px 0;
    overflow: hidden;
    color: #fff;

    background-image: url(/images/home/ciotola.webp);
    background-size: cover;
}

.home-bowl-teaser::before {
    content: "";
    background: white;
    top: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: .4;
}

.home-bowl-teaser__grain {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 70% at 70% 50%, rgba(200,168,130,.1), transparent 65%),
        radial-gradient(ellipse 50% 60% at 10% 80%, rgba(230,126,34,.07), transparent 60%),
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* --- Eyebrow --- */
.hbt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff80;
    background: #452f1b80;
    border: 1px solid rgba(200,168,130,.25);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 20px;
}

.hbt-eyebrow-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #c8a882;
    animation: hbtPulse 2s ease-in-out infinite;
}

@keyframes hbtPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.3)} }

/* --- Title --- */
.hbt-title {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #202020;
    margin-bottom: 20px;
}

.hbt-title-accent {
    color: #4e4e4e;
}

/* --- Body --- */
.hbt-body {
    font-size: 1rem;
    line-height: 1.75;
    color: #323232;
    max-width: 460px;
    margin-bottom: 28px;
}

.hbt-body strong { color: #4e4e4e; font-weight: 700; }
.hbt-body em { color: #4e4e4e; font-style: italic; }

/* --- Features --- */
.hbt-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hbt-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .9rem;
    color: #323232;
}

.hbt-feat-icon {
    font-size: 1.1rem;
    width: 36px; height: 36px;
    background: rgba(200,168,130,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- CTAs --- */
.hbt-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hbt-btn-primary {
    display: inline-block;
    background: #888888;
    color: #fff;
    border-radius: 100px;
    padding: 14px 28px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s;
}

.hbt-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200,168,130,.45);
}

.hbt-btn-secondary {
    display: inline-block;
    color: rgba(255,255,255,.7);
    font-weight: 600;
    text-decoration: none;
    padding: 14px 4px;
    border-bottom: 2px solid rgba(255,255,255,.2);
    font-size: .92rem;
    transition: color .2s, border-color .2s;
}

.hbt-btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,.6); }

/* --- Bowl visual --- */
.hbt-bowl-stack {
    position: relative;
    width: 340px;
    max-width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hbt-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(200,168,130,.2), transparent 70%);
    pointer-events: none;
}

.hbt-bowl-main {
    position: relative;
    z-index: 3;
    width: 85%;
    animation: hbtFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,.35));
}

@keyframes hbtFloat {
    0%,100%{transform: translateY(0) rotate(-.5deg)}
    50%{transform: translateY(-10px) rotate(.5deg)}
}

.hbt-svg { width: 100%; height: auto; }

.hbt-free-badge {
    position: absolute;
    top: 10px;
    right: 0px;
    background: #27ae60;
    color: #fff;
    border-radius: 100px;
    padding: 8px 16px;
    font-size: .8rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(39,174,96,.4);
    animation: badgeBounce 3s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%,100%{transform: translateY(0) rotate(2deg)}
    50%{transform: translateY(-5px) rotate(-1deg)}
}

/* Mini bowls */
.hbt-mini-bowl {
    position: absolute;
    width: 80px;
    height: 54px;
    border-radius: 0 0 40px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 2;
}

.hbt-mini-bowl span {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-style: italic;
    font-size: .6rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.hbt-mini-bowl--sage {
    background: linear-gradient(160deg, #b8cfa8, #7a9468);
    bottom: 30px;
    left: -10px;
    transform: rotate(-8deg);
    animation: hbtFloat 5s ease-in-out 1s infinite;
}

.hbt-mini-bowl--sage span { color: rgba(255,255,255,.85); }

.hbt-mini-bowl--terra {
    background: linear-gradient(160deg, #d4796a, #a0503a);
    bottom: 20px;
    right: -5px;
    transform: rotate(6deg);
    animation: hbtFloat 5s ease-in-out 2.2s infinite;
}

.hbt-mini-bowl--terra span { color: rgba(255,255,255,.85); }

/* Responsive */
@media (max-width: 768px) {
    .home-bowl-teaser { padding: 70px 0; }
    .hbt-bowl-stack { width: 260px; height: 240px; }
    .hbt-ctas { flex-direction: column; }
}


/* ============================================
   SECTION
   ============================================ */
.ba-section {
    position: relative;
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
}

.ba-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 80% 50%, rgba(200,168,130,.08), transparent 65%),
        radial-gradient(ellipse 40% 50% at 5% 80%, rgba(74,163,74,.05), transparent 60%);
    pointer-events: none;
}

/* ============================================
   TESTO
   ============================================ */
.ba-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ciotolandia-green, #4aa34a);
    background: rgba(74,163,74,.07);
    border: 1px solid rgba(74,163,74,.18);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.ba-eyebrow-it {
    color: white;
    background: rgba(255,255,255,.3);
    position: relative;
}

.ba-eyebrow__dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ciotolandia-green, #4aa34a);
    animation: baDot 2s ease-in-out infinite;
}

@keyframes baDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(1.4)} }

.ba-title {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.025em;
    color: #1a1a1a;
    margin-bottom: 18px;
}

.ba-title__accent {
    color: var(--ciotolandia-orange);
}

.ba-title__accent_2 {
    color: var(--ciotolandia-green);
}

.ba-body {
    font-size: .98rem;
    line-height: 1.75;
    color: #555;
    margin-bottom: 28px;
    max-width: 420px;
}

.ba-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ba-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.ba-list__icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: #f5f0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ba-list li strong {
    display: block;
    font-size: .9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.ba-list li span {
    font-size: .8rem;
    color: #888;
}

.ba-cta {
    display: inline-block;
    background: var(--ciotolandia-light-green);
    color: #fff;
    border-radius: 100px;
    padding: 13px 26px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s;
}

.ba-cta:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* ============================================
   SLIDER WRAP
   ============================================ */
.ba-slider-wrap {
    position: relative;
    width: 100%;
}

.ba-label {
    position: absolute;
    z-index: 20;
    top: 18px;
    pointer-events: none;
}

.ba-label span {
    display: inline-block;
    background: rgba(255,255,255,.92);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.ba-label--before { left: 16px; }
.ba-label--after  { right: 16px; }

/* ============================================
   SLIDER
   ============================================ */
.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3.5;
    border-radius: 24px;
    overflow: hidden;
    cursor: col-resize;
    user-select: none;
    border: 1px solid lightgray;
    /* box-shadow: 0 24px 60px rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.06); */
}

/* AFTER (pieno, dietro) */
.ba-after {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ba-after__scene {
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
}

.ba-after__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #f0ede4 0%, #e8dcc8 50%, #ddd0b0 100%);
}

/* Ingredienti sparsi */
.ba-ingredients {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ba-ing {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.ba-ing svg { filter: drop-shadow(0 3px 6px rgba(0,0,0,.12)); }

.ba-ing span {
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(60,40,20,.55);
    background: rgba(255,255,255,.55);
    border-radius: 100px;
    padding: 1px 6px;
    white-space: nowrap;
}

/* Posizioni ingredienti */
.ba-ing--1 { width: 42px; top:  6%; left: 54%; transform: rotate(-12deg); }
.ba-ing--2 { width: 48px; top: 10%; left: 72%; transform: rotate(8deg);  }
.ba-ing--3 { width: 38px; top: 20%; left: 62%; transform: rotate(-5deg); }
.ba-ing--4 { width: 36px; top:  4%; left: 82%; transform: rotate(14deg); }
.ba-ing--5 { width: 46px; top: 36%; left: 70%; transform: rotate(-8deg); }
.ba-ing--6 { width: 34px; top: 16%; left: 88%; transform: rotate(6deg);  }
.ba-ing--7 { width: 46px; top: 48%; left: 58%; transform: rotate(10deg); }
.ba-ing--8 { width: 36px; top: 32%; left: 80%; transform: rotate(-14deg);}

/* BEFORE (clipped, sopra) */
.ba-before {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 50% 0 0); /* aggiornato via JS */
    transition: clip-path 0.0s; /* no transition — segue il mouse in real time */
}

.ba-before__scene {
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
}

.ba-before__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, #faf6f0 0%, #f0e8d8 50%, #e8d8c0 100%);
}

/* Ciotola wrapper comune */
.ba-bowl-wrap {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 300px;
    filter: drop-shadow(0 12px 24px rgba(0,0,0,.18));
}

.ba-bowl-svg { width: 100%; height: auto; }

.ba-food-label {
    text-align: center;
    margin-top: 6px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(100,65,30,.5);
}

/* ============================================
   DIVIDER
   ============================================ */
.ba-divider {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 4px;
    pointer-events: none;
}

.ba-divider__line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 0 12px rgba(255,255,255,.6);
}

.ba-divider__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.18), 0 0 0 2px rgba(255,255,255,.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: col-resize;
    pointer-events: all;
    transition: transform .15s, box-shadow .15s;
}

.ba-divider__handle:hover,
.ba-slider.is-dragging .ba-divider__handle {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 6px 24px rgba(0,0,0,.22), 0 0 0 3px rgba(255,255,255,.9);
}

/* ============================================
   HINT
   ============================================ */
.ba-hint {
    text-align: center;
    margin-top: 14px;
    font-size: .78rem;
    color: #aaa;
    letter-spacing: .06em;
    transition: opacity .4s;
}

.ba-hint.is-hidden { opacity: 0; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .ba-section { padding: 70px 0; }
    .ba-slider-wrap { max-width: 100%; }
    .ba-ing--1, .ba-ing--2, .ba-ing--6 { display: none; }
}

/* ============================================
   SEZIONE
   ============================================ */
.puppy-section {
    position: relative;
    padding: 100px 0;
    background: #fffdf5;
    overflow: hidden;
}

/* Sfondo caldo con macchie morbide */
.puppy-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 85% 30%, rgba(245,166,35,.09) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 70%, rgba(74,163,74,.06) 0%, transparent 55%),
        radial-gradient(ellipse 40% 40% at 50% 100%, rgba(245,166,35,.05) 0%, transparent 60%);
    pointer-events: none;
}

/* ============================================
   IMMAGINE
   ============================================ */
.puppy-img-frame {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 520px;
}

.puppy-img-wrap {
    position: relative;
    /* border-radius: 32px; */
    overflow: hidden;
    /* box-shadow:
        0 30px 70px rgba(0,0,0,.12),
        0 8px 20px rgba(0,0,0,.07); */
    aspect-ratio: 4/5;
    border: 4px solid #c8860a;
    transform: rotate(-2deg);
}

.puppy-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}

.puppy-img-frame:hover .puppy-img {
    transform: scale(1.03);
}

.puppy-img-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(255,253,245,.25) 0%, transparent 40%),
        linear-gradient(to bottom-right, rgba(245,166,35,.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Badge generici sull'immagine */
.puppy-img-badge {
    position: absolute;
    z-index: 10;
    background: rgba(255,255,255,.96);
    border-radius: 100px;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0,0,0,.1);
    border: 1px solid rgba(245,166,35,.18);
    font-size: .78rem;
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
    animation: badgeWiggle 6s ease-in-out infinite;
}

.puppy-img-badge--top {
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #c8860a;
    border-color: rgba(245,166,35,.3);
    background: rgba(255,253,240,.97);
    animation-delay: 0s;
}

.puppy-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #f5a623;
    animation: baDot 2s ease-in-out infinite;
}

.puppy-img-badge--krill {
    bottom: 24px;
    left: -16px;
    padding: 10px 18px 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .75rem;
    border-radius: 18px;
    animation-delay: -2s;
}

.puppy-img-badge--krill span { font-size: 1.6rem; }
.puppy-img-badge--krill strong { display: block; font-size: .82rem; color: #1a1a1a; }
.puppy-img-badge--krill small  { display: block; font-size: .7rem;  color: #888; font-weight: 500; }

.puppy-img-badge--age {
    top: 24px;
    right: -14px;
    padding: 9px 16px;
    gap: 6px;
    display: flex;
    align-items: center;
    border-radius: 14px;
    color: #c8860a;
    border-color: rgba(245,166,35,.3);
    background: rgba(255,253,240,.97);
    animation-delay: -4s;
}

.puppy-img-badge--age strong { font-size: .82rem; }

@keyframes badgeWiggle {
    0%,100% { transform: translateY(0) rotate(0deg); }
    30%      { transform: translateY(-5px) rotate(.8deg); }
    60%      { transform: translateY(-2px) rotate(-.5deg); }
}

.puppy-img-badge--top {
    animation: badgeWiggleCenter 6s ease-in-out infinite;
}

@keyframes badgeWiggleCenter {
    0%,100% { transform: translateX(-50%) translateY(0); }
    40%     { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   TESTO
   ============================================ */
.puppy-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #c8860a;
    background: rgba(245,166,35,.08);
    border: 1px solid rgba(245,166,35,.22);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 20px;
}

.puppy-title {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.puppy-title__accent {
    color: #c8860a;
}

.puppy-intro {
    font-size: 1rem;
    line-height: 1.78;
    color: #555;
    margin-bottom: 30px;
    max-width: 460px;
}

.puppy-intro strong { color: #1a1a1a; font-weight: 700; }

/* ============================================
   KEYPOINTS
   ============================================ */
.puppy-keypoints {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 34px;
}

.puppy-kp {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(245,166,35,.12);
    box-shadow: 0 2px 10px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.puppy-kp:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 20px rgba(245,166,35,.1);
    border-color: rgba(245,166,35,.28);
}

.puppy-kp__icon {
    font-size: 1.3rem;
    width: 42px; height: 42px;
    background: rgba(245,166,35,.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.puppy-kp strong {
    display: block;
    font-size: .88rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.puppy-kp p {
    font-size: .8rem;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

/* ============================================
   CTA
   ============================================ */
.puppy-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.puppy-btn-primary {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    border-radius: 100px;
    padding: 14px 26px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.puppy-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(245,166,35,.48);
}

.puppy-btn-ghost {
    display: inline-flex;
    align-items: center;
    color: #c8860a;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    padding: 14px 4px;
    border-bottom: 2px solid rgba(245,166,35,.3);
    transition: border-color .2s, color .2s;
}

.puppy-btn-ghost:hover {
    color: #1a1a1a;
    border-color: #e67e22;
}

.puppy-reassurance {
    font-size: .82rem;
    color: #888;
    margin: 0;
    line-height: 1.6;
}

.puppy-reassurance strong { color: #555; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .puppy-img-frame { max-width: 440px; margin: 0 auto; }
    .puppy-img-badge--krill { left: 0; }
    .puppy-img-badge--age   { right: 0; }
}

@media (max-width: 768px) {
    .puppy-section { padding: 70px 0; }
    .puppy-title { font-size: clamp(2.4rem, 10vw, 3.2rem); }
    .puppy-ctas { flex-direction: column; }
    .puppy-btn-primary { text-align: center; }
}

.transition-section {
    position: relative;
    padding: 100px 0 80px;
    background: white;
    overflow: hidden;
}

.transition-section__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(200,168,130,.07), transparent 60%),
        radial-gradient(ellipse 40% 50% at 0% 80%, rgba(230,126,34,.05), transparent 55%);
    pointer-events: none;
}

/* ============================================
   HEADER
   ============================================ */
.ts-eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ciotolandia-orange, #e67e22);
    background: rgba(230,126,34,.07);
    border: 1px solid rgba(230,126,34,.2);
    border-radius: 100px;
    padding: 5px 14px;
    margin-bottom: 16px;
}

.ts-title {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: -.02em;
}

.ts-title__accent {
    color: var(--ciotolandia-orange, #e67e22);
}

.ts-subtitle {
    font-size: .98rem;
    color: #666;
    line-height: 1.7;
    max-width: 520px;
    margin: 0 auto;
}

.ts-subtitle strong { color: #1a1a1a; }

/* ============================================
   LEGGENDA
   ============================================ */
.ts-legend {
    display: flex;
    gap: 24px;
    align-items: center;
    background: #fff;
    border-radius: 100px;
    padding: 10px 22px;
    border: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.ts-legend__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    color: #444;
}

.ts-legend__dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============================================
   TIMELINE
   ============================================ */
.ts-timeline-wrap {
    position: relative;
    padding: 0 0 24px;
}

/* Linea orizzontale */
.ts-connector {
    position: absolute;
    top: 82px; /* centro bowl */
    left: calc(8.33% + 40px);
    right: calc(8.33% + 40px);
    height: 3px;
    background: #e8e0d4;
    border-radius: 3px;
    overflow: hidden;
    z-index: 0;
}

.ts-connector__fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4c4a8, var(--ciotolandia-orange, #e67e22));
    border-radius: 3px;
    transition: width 1.8s cubic-bezier(.23,1,.32,1);
}

.ts-connector__fill.is-filled { width: 100%; }

/* Riga giorni */
.ts-days-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

/* ============================================
   SINGOLO GIORNO
   ============================================ */
.ts-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    cursor: default;
}

.ts-bowl-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
}

.ts-bowl-svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,.1));
    transition: transform .3s ease, filter .3s ease;
}

.ts-day:hover .ts-bowl-svg {
    transform: translateY(-5px) scale(1.06);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,.15));
}

/* Dot sulla linea */
.ts-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: #e8e0d4;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,.1);
    margin-top: 6px;
    transition: background .4s, transform .3s;
    position: relative;
    z-index: 2;
}

.ts-day.is-active .ts-dot {
    background: var(--ciotolandia-orange, #e67e22);
    transform: scale(1.2);
}

/* Info testo */
.ts-day-info {
    margin-top: 14px;
    text-align: center;
}

.ts-day-label {
    display: block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.ts-pct-row {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.ts-pct {
    font-size: .75rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 100px;
}

.ts-pct--kibble {
    color: #8a7a60;
    background: rgba(200,180,150,.15);
}

.ts-pct--wet {
    color: var(--ciotolandia-orange, #e67e22);
    background: rgba(230,126,34,.1);
}

/* ============================================
   GIORNO 7
   ============================================ */
.ts-day7 {
    position: relative;
}

.ts-day7__connector {
    width: 3px;
    height: 40px;
    background: linear-gradient(180deg, var(--ciotolandia-orange, #e67e22), rgba(230,126,34,.3));
    margin: 0 auto;
    border-radius: 3px;
}

.ts-day7__content {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 24px;
    background: #fff;
    border-radius: 28px;
    padding: 40px 36px;
    border: 1.5px solid lightgray;
    text-align: center;
}

@media (min-width: 640px) {
    .ts-day7__content {
        flex-direction: row;
        text-align: left;
    }
}

.ts-day7__bowl-wrap {
    position: relative;
    flex-shrink: 0;
}

.ts-day7__svg {
    width: 120px;
    height: 120px;
    filter: drop-shadow(0 8px 20px rgba(230,126,34,.3));
    animation: day7Float 4s ease-in-out infinite;
}

@keyframes day7Float {
    0%,100%{transform:translateY(0) rotate(-.5deg)}
    50%{transform:translateY(-8px) rotate(.5deg)}
}

.ts-day7__sparkles {
    position: absolute;
    inset: -10px;
    pointer-events: none;
}

.ts-day7__sparkles span {
    position: absolute;
    color: var(--ciotolandia-orange, #e67e22);
    font-size: .9rem;
    animation: sparkle 2.5s ease-in-out infinite;
}

.ts-day7__sparkles span:nth-child(1) { top: 0;   right: 0;   animation-delay: 0s; }
.ts-day7__sparkles span:nth-child(2) { bottom: 5px; left: -2px; animation-delay: .8s; }
.ts-day7__sparkles span:nth-child(3) { top: 50%; right: -10px; animation-delay: 1.5s; }

@keyframes sparkle {
    0%,100%{opacity:.3;transform:scale(.8)}
    50%{opacity:1;transform:scale(1.2)}
}

.ts-day7__text {
    flex: 1;
    margin-left: 20px;
}

.ts-day7__label {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ciotolandia-orange, #e67e22);
    margin-bottom: 8px;
}

.ts-day7__title {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ts-day7__pct {
    font-family: 'Bricolage Grotesque', Georgia, serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--ciotolandia-orange, #e67e22);
    line-height: 1;
    margin-bottom: 10px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ts-day7__pct span {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: #888;
    font-style: italic;
}

@media (max-width: 639px) {
    .ts-day7__pct { justify-content: center; }
}

.ts-day7__body {
    font-size: .88rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 18px;
}

.ts-cta {
    display: inline-block;
    background: var(--ciotolandia-orange);
    color: #fff;
    border-radius: 100px;
    padding: 12px 24px;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s;
}

.input-shape-weight {
    width: 25%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .transition-section { padding: 70px 0 60px; }

    .ts-days-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 0;
    }

    .ts-connector { display: none; }

    .ts-bowl-svg { width: 68px; height: 68px; }

    .ts-day7__content { padding: 28px 22px; }


    .with-logo-text {
        flex-direction: column;
        font-size: 3rem;
    }

    .with-logo-text img {
        height: 45px;
    }

    .home-bowl-teaser img.img-ciotola {
        width: 100%;
    }

    .ts-day7__content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .puppy-section .row {
        flex-direction: column-reverse;
    }

    .powered-by {
        justify-content: center;
    }

    #gif-loader {
        background-size: 50%;
    }

    .input-shape-weight {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .ts-days-row { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
    .ts-bowl-svg { width: 60px; height: 60px; }
}

.info-box {
    text-align: center;
    font-weight: 550;
    color: var(--ciotolandia-orange);
}

.checkout h5 {
    font-weight: 600;
    position: relative;
    font-size: 23px;
    border: 4px solid var(--ciotolandia-green);
    color: var(--ciotolandia-orange);
    padding: 15px;
}

.checkout h5 i {
    color: var(--ciotolandia-green);
}

.checkout h5 span {
    color: var(--ciotolandia-light-green);
}

.checkout h5::after {
    content: "ONE PET. ONE DIET.";
    background: var(--ciotolandia-green);
    color: white;
    position: absolute;
    left: 50%;
    bottom: -1em;
    transform: translate(-50%);
    font-size: 10px;
    padding: 2px 9px;
}


.animation-hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.animation-hero__scroll span {
    display: block;
    width: 2px;
    height: 8px;
    background: rgba(255,255,255,.4);
    border-radius: 2px;
    animation: scrollDots 1.4s ease-in-out infinite;
}

.animation-hero__scroll span:nth-child(2) { animation-delay: .2s; }
.animation-hero__scroll span:nth-child(3) { animation-delay: .4s; }

@keyframes scrollDots {
    0%, 100% { opacity: .2; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.4); }
}


/* prezzo sbarrato */
.price-diagonal {
  position: relative;
  display: inline-block;
  color: #6c757d; /* text-muted */
}
.price-diagonal::after {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 100%;
  border-bottom: 2px solid red;
  transform: rotate(-12deg);
  transform-origin: center;
}

.btn-cioto-orange {
    background-color: var(--ciotolandia-orange);
    color: white;
    border: none;
}

.btn-cioto-orange:hover {
    background-color: var(--ciotolandia-green);
    color: white;
}