
/* Home sections */
body.template-home {
    background-color: #f5f5f5;
}

body.template-home .product-link {
    text-decoration: none;
    color: inherit;
}

.section-title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: clamp(16px, 2.5vw, 30px);
    letter-spacing: -0.5px;
}

#celebracoes-sazonais,
#sua-festa-completa,
#itens-em-destaque,
#ofertas,
#sobre-nos {
    scroll-margin-top: calc(var(--home-fixed-top-height, 142px) + 24px);
}

.seasonal-section {
    padding: clamp(30px, 5vw, 60px) 0;
    background-color: #fff;
}

.seasonal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: clamp(12px, 1.5vw, 20px);
}

.seasonal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}

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

.seasonal-icon {
    width: clamp(80px, 8vw, 120px);
    height: clamp(80px, 8vw, 120px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s;
}

.seasonal-icon.carnival {
    background: linear-gradient(135deg, #D9026D 0%, #E02078 100%);
}
.seasonal-icon.carnival img {
    width: 70px;
    height: auto;
    max-width: 70%;
}

.seasonal-icon.easter {
    background: linear-gradient(135deg, #F2B705 0%, #D99F00 100%);
}
.seasonal-icon.easter img {
    width: 80px;
    height: auto;
    max-width: 70%;
}

.seasonal-icon.festa-junina {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
}
.seasonal-icon.festa-junina img {
    width: 90px;
    height: auto;
    max-width: 70%;
}

.seasonal-icon.valentine {
    background: linear-gradient(135deg, #E91E63 0%, #FF1493 100%);
}
.seasonal-icon.valentine img {
    width: 80px;
    height: auto;
    margin-right: 10px;
    max-width: 70%;
}

.seasonal-icon.halloween {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}
.seasonal-icon.halloween img {
    width: 80px;
    height: auto;
    max-width: 70%;
}

.seasonal-icon.christmas {
    background: linear-gradient(135deg, #228B22 0%, #32CD32 100%);
}
.seasonal-icon.christmas img {
    width: 80px;
    height: auto;
    max-width: 70%;
}

.seasonal-icon.new-year {
    background: linear-gradient(135deg, #F2B705 0%, #FFA500 100%);
}
.seasonal-icon.new-year img {
    width: 80px;
    height: auto;
    max-width: 70%;
}

.seasonal-label {
    font-size: clamp(11px, 1.1vw, 14px);
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
}

.featured-section {
    padding: clamp(30px, 5vw, 60px) 0;
    background-color: #f5f5f5;
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 16px;
}

.view-all-link {
    color: #D9026D;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #E02078;
}

.scroll-dots {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    min-height: 14px;
}

.scroll-dots__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #F3C4DB;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.scroll-dots__dot.is-active {
    width: 22px;
    background: #D9026D;
}

.scroll-dots--light .scroll-dots__dot {
    background: rgba(255, 255, 255, 0.45);
}

.scroll-dots--light .scroll-dots__dot.is-active {
    background: #F2B705;
}

@media (max-width: 768px) {
    .scroll-dots {
        display: flex;
    }

    .seasonal-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 15px;
        padding-top: 8px;
    }

    .seasonal-icon {
        width: 112px;
        height: 112px;
        font-size: 36px;
    }

    .featured-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .featured-header .section-title {
        margin-bottom: 0;
        min-width: 0;
    }

    .featured-header .view-all-link {
        flex-shrink: 0;
        margin-left: auto;
        text-align: right;
    }

    .seasonal-section,
    .featured-section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

.tabs-section {
    padding: clamp(30px, 5vw, 60px) 0;
    background-color: #fff;
}

.tabs-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 2.5vw, 30px);
    margin-bottom: clamp(20px, 3vw, 40px);
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #f0f0f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    box-sizing: border-box;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: none;
    border: none;
    padding: clamp(10px, 1.2vw, 15px) clamp(12px, 1.5vw, 20px);
    font-size: clamp(13px, 1.4vw, 18px);
    font-weight: 700;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    color: #D9026D;
}

.tab-btn.active {
    color: #D9026D;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #D9026D;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .tabs-header {
        gap: 10px;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 5px;
    }

    .tab-btn {
        font-size: 13px;
        padding: 8px 12px;
        white-space: nowrap;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Keep the three home showcases in one continuous horizontal row. */
body.template-home .home-products-grid {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 16px;
    margin-right: 0;
    margin-left: 0;
    padding: 4px 2px 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

body.template-home .home-products-grid::-webkit-scrollbar {
    display: none;
}

body.template-home .home-products-grid > .item-product,
body.template-home .home-products-grid > .js-item-product {
    flex: 0 0 calc((100% - 48px) / 4);
    width: calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
    scroll-snap-align: start;
}

@media (max-width: 767px) {
    body.template-home .home-products-grid {
        gap: 12px;
        margin-right: calc(clamp(12px, 2vw, 20px) * -1);
        padding-right: clamp(12px, 2vw, 20px);
    }

    body.template-home .home-products-grid > .item-product,
    body.template-home .home-products-grid > .js-item-product {
        flex-basis: clamp(190px, 62vw, 240px);
        width: clamp(190px, 62vw, 240px);
        max-width: clamp(190px, 62vw, 240px);
    }
}

.about-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background-color: #f9f9f9;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-subtitle {
    color: #D9026D;
    font-weight: 700;
    font-size: clamp(12px, 1.1vw, 14px);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.about-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 2px;
    background-color: #D9026D;
}

.about-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-text {
    font-size: clamp(14px, 1.2vw, 16px);
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.instagram-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background-color: #fff;
    text-align: center;
}

.instagram-header {
    margin-bottom: 40px;
}

.instagram-handle a {
    color: #D9026D;
    text-decoration: none;
    font-weight: 600;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(12px, 1.5vw, 20px);
    margin-bottom: 40px;
}

.instagram-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s;
}

.instagram-item:hover img {
    transform: scale(1.03);
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(12px, 1.5vw, 20px);
    flex-wrap: wrap;
}

.social-icon img {
    width: 30px;
    height: 30px;
}

.social-btn {
    padding: clamp(10px, 1vw, 12px) clamp(18px, 2vw, 25px);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(12px, 1.1vw, 14px);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.instagram-btn {
    background-color: #E1306C;
    color: #fff;
}

.facebook-btn {
    background-color: #1877F2;
    color: #fff;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-section {
    padding: clamp(40px, 6vw, 80px) 0;
    background: linear-gradient(135deg, #D9026D 0%, #E02078 100%);
    text-align: center;
    overflow-x: hidden;
}

.newsletter-card {
    background: transparent;
    border-radius: 0;
    padding: 0 clamp(12px, 2vw, 20px);
    text-align: center;
    color: #fff;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.newsletter-title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    margin-bottom: 15px;
}

.newsletter-description {
    font-size: clamp(14px, 1.4vw, 18px);
    max-width: 600px;
    margin: 0 auto clamp(20px, 2.5vw, 30px);
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    width: min(500px, 100%);
    max-width: min(500px, 100%);
    min-width: 0;
    margin: 0 auto 20px;
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    box-sizing: border-box;
    align-items: stretch;
}

.newsletter-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    border: none;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    line-height: 1.35;
    outline: none;
    background: transparent;
    box-sizing: border-box;
}

.newsletter-input:focus {
    box-shadow: none;
}

.newsletter-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: max-content;
    background-color: #F2B705;
    color: #1a1a1a;
    border: none;
    padding: 0 30px;
    min-height: 54px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, opacity 0.3s;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
}

body.template-home .newsletter-section .newsletter-card,
body.template-home .newsletter-section .newsletter-form,
body.template-home .newsletter-section .newsletter-input {
    box-sizing: border-box;
}

.newsletter-submit:hover {
    background-color: #fff;
    color: #D9026D;
}

.newsletter-submit:disabled {
    cursor: wait;
    opacity: 0.8;
}

.newsletter-submit__spinner {
    display: none;
    line-height: 0;
    flex-shrink: 0;
}

.newsletter-submit__spinner .icon-inline {
    margin: 0;
}

.newsletter-feedback {
    max-width: 500px;
    margin: 0 auto 20px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
}

.newsletter-feedback--success {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.newsletter-feedback--error {
    background: rgba(255, 255, 255, 0.12);
    color: #ffe0e0;
}

.newsletter-terms {
    font-size: 12px;
    opacity: 0.7;
}

.newsletter-terms a {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-title {
        font-size: 26px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-card {
        padding: 30px 16px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 500px;
        background: transparent;
        gap: 10px;
        border-radius: 0;
        padding: 0;
    }

    .newsletter-input {
        width: 100%;
        background: #fff;
        box-sizing: border-box;
    }

    .newsletter-submit {
        width: 100%;
        padding: 15px;
        border-radius: 50px;
    }
}

.benefit-icon img {
    width: clamp(40px, 4vw, 60px);
    height: clamp(40px, 4vw, 60px);
    object-fit: contain;
}

.benefits-section {
    padding: clamp(24px, 3vw, 40px) 0;
    background: linear-gradient(135deg, #D9026D 0%, #E02078 100%);
    border-bottom: 1px solid #FFE8F3;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 30px);
    align-items: center;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.benefit-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.benefit-title {
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.benefit-text {
    font-size: clamp(11px, 1vw, 13px);
    color: #ffffff;
    margin: 0;
}

@media (max-width: 992px) {
    .benefits-grid {
        gap: 40px 20px;
    }
}

@media (max-width: 576px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.icon-text .login-link:hover,
.icon-text .signup-link:hover {
    color: #D9026D;
    text-decoration: underline;
    filter: brightness(1.2);
}



/* Home hero */
body.template-home .tns-hero-media {
    position: relative;
    width: 100%;
    margin: var(--home-fixed-top-height, 142px) 0 0;
    padding: 0;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

body.template-home .tns-hero-media,
body.template-home .tns-hero-media .tns-hero-media__carousel,
body.template-home .tns-hero-media .tns-hero-media__track,
body.template-home .tns-hero-media .tns-hero-media__slide,
body.template-home .tns-hero-media .tns-hero-media__slide::before,
body.template-home .tns-hero-media .tns-hero-media__slide::after {
    border-radius: 0;
    box-shadow: none;
}

body.template-home .tns-hero-media .tns-hero-media__carousel {
    position: relative;
    width: 100%;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #f0f0f0;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
}

body.template-home .tns-hero-media .tns-hero-media__track {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    transition: transform 0.5s ease-in-out;
}

body.template-home .tns-hero-media .tns-hero-media__track.is-dragging {
    transition: none;
}

body.template-home .tns-hero-media .tns-hero-media__slide {
    min-width: 100%;
    width: 100%;
    height: auto;
    min-height: 0;
    position: relative;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body.template-home .tns-hero-media .tns-hero-media__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

body.template-home .tns-hero-media .tns-hero-media__slide--welcome,
body.template-home .tns-hero-media .tns-hero-media__slide--welcome .tns-hero-media__image {
    background-color: #fff;
}

body.template-home .tns-hero-media .tns-hero-media__slide--welcome .tns-hero-media__image {
    object-fit: contain;
    object-position: center;
}

body.template-home .tns-hero-media .tns-hero-media__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
}

body.template-home .tns-hero-media .tns-hero-media__control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(36px, 4vw, 50px);
    height: clamp(36px, 4vw, 50px);
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.template-home .tns-hero-media .tns-hero-media__control:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

body.template-home .tns-hero-media .tns-hero-media__control--prev {
    left: clamp(12px, 2vw, 30px);
}

body.template-home .tns-hero-media .tns-hero-media__control--next {
    right: clamp(12px, 2vw, 30px);
}

body.template-home .tns-hero-media .tns-hero-media__control svg {
    width: clamp(18px, 2vw, 24px);
    height: clamp(18px, 2vw, 24px);
}

body.template-home .tns-hero-media .tns-hero-media__dots {
    position: absolute;
    left: 0;
    bottom: clamp(12px, 2vw, 20px);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(6px, 0.8vw, 10px);
    z-index: 10;
    padding: 0 12px;
    box-sizing: border-box;
}

body.template-home .tns-hero-media .tns-hero-media__dot {
    width: clamp(8px, 0.9vw, 12px);
    height: clamp(8px, 0.9vw, 12px);
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

body.template-home .tns-hero-media .tns-hero-media__dot.is-active {
    width: clamp(18px, 2.5vw, 30px);
    border-radius: 10px;
    background: #F2B705;
}

@media (max-width: 768px) {
    body.template-home .tns-hero-media {
        margin-top: var(--home-fixed-top-height, 198px);
    }

    body.template-home .tns-hero-media .tns-hero-media__control {
        width: 32px;
        height: 32px;
    }

    body.template-home .tns-hero-media .tns-hero-media__control--prev {
        left: 8px;
    }

    body.template-home .tns-hero-media .tns-hero-media__control--next {
        right: 8px;
    }

    body.template-home .tns-hero-media .tns-hero-media__dots {
        bottom: 10px;
        gap: 6px;
    }
}

@media (max-width: 480px) {
    body.template-home .tns-hero-media .tns-hero-media__control {
        display: none;
    }
}
