:root {
    --primary-color: #8777A4;
    --secondary-color: #8777A4;
    --accent-color: #E5DCE3;
    --text-color: #333;
    --light-bg: #E5DCE3;
    --white: #F1F8F3;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Navegação */
.navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 245, 241, 0.98) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.15);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid transparent;
    background-clip: padding-box;
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% {
        border-bottom-color: rgba(255, 107, 157, 0.3);
    }
    50% {
        border-bottom-color: rgba(255, 195, 160, 0.3);
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.3rem 20px;
    position: relative;
}

.navbar::before {
    content: '✨';
    position: absolute;
    left: 20px;
    top: 10px;
    font-size: 1rem;
    opacity: 0.6;
    animation: sparkle 4s ease-in-out infinite;
    z-index: 1;
}

.navbar::after {
    content: '🎀';
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 1rem;
    opacity: 0.6;
    animation: sparkle 4s ease-in-out infinite 2s;
    z-index: 1;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8) rotate(-5deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 157, 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    padding: 5px 10px;
    border-radius: 25px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: all 0.3s;
    transform: translateX(-50%);
}

.nav-links a:hover {
    color: var(--primary-color);
    background: rgba(255, 195, 160, 0.2);
    transform: translateY(-2px);
}

.nav-links a:hover::before {
    width: 80%;
}

.nav-links a.active {
    color: var(--primary-color);
    background: rgba(255, 107, 157, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s;
}

.tagline {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    animation: fadeInUp 1s;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #666;
    animation: fadeInUp 1.2s;
}

.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    animation: fadeInUp 1.4s;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

.hero-image {
    animation: float 3s ease-in-out infinite;
}

.placeholder-image {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    box-shadow: 0 20px 40px rgba(255, 107, 157, 0.3);
}

/* Sobre Section */
.sobre {
    padding: 80px 0;
    background: var(--white);
}

.sobre h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

.sobre-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.sobre-image {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sobre-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.sobre-text {
    flex: 1;
}

.sobre-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: left;
    color: #666;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: 15px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.feature h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* Produtos Section */
.produtos {
    padding: 80px 0;
    background: var(--light-bg);
}

.produtos h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.produto-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    box-shadow: var(--shadow);
}

.produto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.produto-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 15px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 4rem;
    overflow: hidden;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.produto-card:hover .produto-image img {
    transform: scale(1.1);
}

.produto-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.produto-card p {
    color: #666;
}

/* Contacto Section */
.contacto {
    padding: 80px 0;
    background: var(--white);
}

.contacto h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contacto-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.contacto-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-item .icon {
    font-size: 2rem;
    background: var(--light-bg);
    padding: 1rem;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #666;
}

.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    text-align: center;
}

.success-message {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.3);
    margin: 0;
    font-weight: 500;
}

.error-message {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(244, 67, 54, 0.3);
    margin: 0;
    font-weight: 500;
}

.prazo-destaque {
    border: 2px solid rgba(255, 107, 157, 0.3);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(254, 245, 241, 0.98) 100%);
    backdrop-filter: blur(10px);
    color: var(--text-color);
    padding: 25px 0 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(255, 107, 157, 0.15);
    border-top: 2px solid transparent;
    background-clip: padding-box;
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% {
        border-top-color: rgba(255, 107, 157, 0.3);
    }
    50% {
        border-top-color: rgba(255, 195, 160, 0.3);
    }
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 107, 157, 0.4) 20%, 
        rgba(255, 195, 160, 0.4) 80%, 
        transparent
    );
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

.footer-decoration {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0.4;
    animation: float 4s ease-in-out infinite;
}

.footer-decoration.left {
    left: 8%;
}

.footer-decoration.right {
    right: 8%;
    animation-delay: 2s;
}

.footer-content {
    margin-bottom: 1rem;
    position: relative;
}

.footer-logo {
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 150px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(255, 107, 157, 0.3));
    opacity: 0.95;
    transition: transform 0.3s;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.whatsapp {
    background: #25d366;
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link.whatsapp svg {
    fill: white;
}

.social-link:hover {
    transform: scale(1.2);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.social-link.instagram:hover {
    box-shadow: 0 5px 20px rgba(225, 48, 108, 0.5);
}

.social-link.whatsapp:hover {
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

.footer-bottom {
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 107, 157, 0.2);
    color: rgba(51, 51, 51, 0.8);
    font-size: 0.9rem;
}

/* Botão WhatsApp */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 25px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    margin-left: 1rem;
    animation: fadeInUp 1.6s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128c7e, #25d366);
}

.whatsapp-icon {
    font-size: 1.2rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    transition: all 0.3s;
    animation: float 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.whatsapp-float-text {
    font-weight: 600;
}

/* Seção Edições Especiais */
.especiais {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-bg) 100%);
}

.especiais h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.especiais-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.especiais-grid {
    display: grid;
    gap: 3rem;
}

.especial-destaque {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.especial-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.especial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.especial-destaque:hover .especial-image img {
    transform: scale(1.05);
}

.especial-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b9d, #8777a4);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.especial-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.especial-content h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.especial-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.especial-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tag {
    background: var(--light-bg);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.btn-especial {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff6b9d, #c9184a);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
}

.btn-especial:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

.especiais-outros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.especial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.especial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.especial-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.especial-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.especial-card p {
    color: #666;
    margin-bottom: 1rem;
}

.disponibilidade {
    display: inline-block;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.disponibilidade.disponivel {
    background: #4caf50;
    color: white;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    h1, h2, h3, h4, h5, h6 {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .navbar {
        overflow: hidden;
    }

    .navbar .container {
        padding: 0.3rem 10px;
        width: 100%;
        max-width: 100%;
    }

    .navbar::before,
    .navbar::after {
        display: none;
    }

    .logo-img {
        height: 70px;
    }

    .hamburger {
        display: none !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 10px;
        gap: 2rem;
        max-width: 100%;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 5px;
    }

    .hero-content h1 {
        font-size: 2rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .tagline {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .description {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 5px;
    }

    .hero-image {
        margin-top: 1rem;
        max-width: 100%;
        overflow: hidden;
    }

    .placeholder-image {
        height: 280px;
        font-size: 5rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .placeholder-image img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .sobre,
    .products,
    .especiais,
    .contacto {
        padding: 60px 0;
    }

    .sobre .container,
    .products .container,
    .especiais .container,
    .contacto .container {
        padding: 0 15px;
        max-width: 100%;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 10px;
    }

    .contacto-content {
        grid-template-columns: 1fr;
    }

    .sobre-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }

    .sobre-image {
        flex: none;
        width: 100%;
        max-width: 450px;
        min-width: auto;
        margin: 0 auto;
        order: -1;
    }

    .sobre-text {
        max-width: 100%;
        text-align: center;
    }

    .sobre-text p {
        text-align: center;
    }

    .prazo-card {
        padding: 1rem 1.5rem;
        max-width: 350px;
    }
    
    .prazo-icon {
        font-size: 1.5rem;
        padding: 8px;
    }
    
    .produtos-grid {
        grid-template-columns: 1fr;
    }
    
    .btn-primary,
    .btn-whatsapp {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
        box-sizing: border-box;
    }
    
    .especial-destaque {
        grid-template-columns: 1fr;
    }
    
    .especial-image {
        height: 300px;
    }
    
    .especial-content {
        padding: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        padding: 12px 15px;
    }

    .whatsapp-float-text {
        display: none;
    }

    .whatsapp-float-icon {
        margin-right: 0;
    }

    .footer {
        padding: 20px 10px 15px;
    }

    .footer .container {
        padding: 0 10px;
    }

    .footer-decoration {
        display: none;
    }
}

@media (max-width: 480px) {
    h1, h2, h3, h4, h5, h6, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .navbar .container {
        padding: 0.3rem 5px;
    }

    .hero {
        padding: 90px 0 30px;
    }

    .hero .container {
        padding: 0 5px;
        gap: 1.5rem;
    }

    .hero-content {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .description {
        font-size: 0.85rem;
        padding: 0;
    }

    .sobre,
    .products,
    .especiais,
    .contacto {
        padding: 40px 0;
    }

    .sobre .container,
    .products .container,
    .especiais .container,
    .contacto .container {
        padding: 0 10px;
    }

    .sobre h2,
    .produtos h2,
    .contacto h2,
    .especiais h2 {
        font-size: 1.6rem;
    }

    .sobre-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 0;
    }

    .sobre-image {
        flex: none;
        width: 100%;
        max-width: 320px;
        min-width: auto;
        margin: 0 auto;
        order: -1;
    }

    .sobre-text {
        max-width: 100%;
        text-align: center;
    }

    .sobre-text p {
        font-size: 0.95rem;
        text-align: center;
    }

    .features {
        padding: 0 5px;
    }

    .colecao-especial h3 {
        font-size: 1.4rem !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 10px;
    }

    .colecao-header p {
        font-size: 0.9rem !important;
        padding: 0 10px;
    }

    .especiais-intro {
        font-size: 0.9rem;
        padding: 0 10px;
        margin-bottom: 2rem;
    }

    .logo-img {
        height: 55px;
    }

    .footer-logo-img {
        height: 100px;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .placeholder-image {
        height: 240px;
        font-size: 4rem;
        margin: 0 5px;
    }

    .btn-primary,
    .btn-whatsapp {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .footer {
        padding: 15px 5px 10px;
    }

    .footer .container {
        padding: 0 5px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }

    .cart-footer {
        padding: 0.8rem;
        padding-bottom: calc(2rem + env(safe-area-inset-bottom));
    }

    .cart-total {
        margin-bottom: 0.8rem;
    }

    .cart-subtotals {
        padding: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .subtotal,
    .shipping-cost {
        font-size: 0.85rem;
    }

    .total-line {
        font-size: 1rem;
        padding: 0.6rem;
    }

    .checkout-btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .shipping-section label {
        font-size: 0.9rem;
    }

    .shipping-section select {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
}

/* === ESTILOS DA LOJA === */

/* Nav actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Cart Button */
.cart-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
}

.cart-count {
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.cart-header h3 {
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: #999;
    padding: 3rem 0;
    font-style: italic;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: bold;
    color: var(--text-color);
}

.cart-item-price {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: var(--light-bg);
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.cart-item-remove:hover {
    color: #ff4444;
}

.cart-footer {
    padding: 1.5rem;
    background: var(--light-bg);
    border-top: 2px solid var(--primary-color);
    flex-shrink: 0;
}

.shipping-section {
    margin-bottom: 1rem;
}

.shipping-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.shipping-section select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.shipping-section select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.subtotal, .shipping-cost {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.subtotal:last-child, .shipping-cost:last-child {
    margin-bottom: 0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
}

.cart-total {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cart-subtotals {
    background-color: #f8f9fa;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 0.8rem;
}

#cart-total {
    color: white !important;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

/* Categories */
.categories {
    background: var(--white);
    padding: 2rem 0;
    box-shadow: var(--shadow);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tab {
    background: var(--light-bg);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.category-tab:hover,
.category-tab.active {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Products Section */
.products {
    padding: 60px 0;
    background: var(--light-bg);
}

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

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    animation: fadeIn 0.5s ease;
    max-width: 350px;
    width: 100%;
    justify-self: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 157, 0.2);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-badge.new {
    background: #4caf50;
}

/* Galeria de Imagens do Produto */
.product-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-gallery .gallery-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-gallery .gallery-img.active {
    opacity: 1;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.product-image:hover .gallery-btn {
    opacity: 1;
}

.gallery-btn:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-prev {
    left: 8px;
}

.gallery-next {
    right: 8px;
}

.gallery-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.gallery-dot:hover {
    background: rgba(255,255,255,0.9);
}

.gallery-dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.product-image.has-gallery:hover .gallery-img.active {
    transform: none;
}

/* Quick View overlay */
.product-quickview {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    text-align: center;
    padding: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-quickview span {
    font-weight: 600;
    font-size: 0.9rem;
}

.product-image:hover .product-quickview {
    transform: translateY(0);
}

/* =====================================================
   MODAL DE PRODUTO
   ===================================================== */
.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.product-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    cursor: pointer;
}

.product-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0,0,0,0.1);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.product-modal-close:hover {
    background: rgba(0,0,0,0.2);
    transform: rotate(90deg);
}

.product-modal-body {
    display: flex;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-gallery {
    flex: 0 0 50%;
    background: #f8f8f8;
    padding: 20px;
}

.modal-main-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.modal-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.modal-gallery-btn:hover {
    background: var(--primary-color);
    color: white;
}

.modal-prev {
    left: 10px;
}

.modal-next {
    right: 10px;
}

.modal-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding: 5px 0;
}

.modal-thumbnail {
    flex: 0 0 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.modal-thumbnail:hover {
    border-color: var(--primary-color);
}

.modal-thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.3);
}

.modal-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.product-modal-info h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 15px;
}

.modal-product-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.modal-personalizavel {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.personalizavel-header {
    font-weight: 600;
    color: #856404;
    margin-bottom: 8px;
}

.personalizavel-opcoes {
    font-size: 0.95rem;
    color: #856404;
    margin-bottom: 8px;
}

.modal-personalizavel small {
    color: #856404;
    font-style: italic;
}

.modal-product-price {
    margin-bottom: 20px;
}

.modal-product-price .price-old {
    text-decoration: line-through;
    color: #999;
    font-size: 1.1rem;
    margin-right: 10px;
}

.modal-product-price .price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.modal-stock-warning {
    background: #fff3cd;
    color: #856404;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
}

.modal-add-cart {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.modal-add-cart:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.modal-add-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal Responsivo */
@media (max-width: 768px) {
    .product-modal-body {
        flex-direction: column;
    }

    .product-modal-gallery {
        flex: none;
        padding: 15px;
    }

    .modal-main-image {
        height: 300px;
    }

    .product-modal-info {
        padding: 20px;
    }

    .product-modal-info h2 {
        font-size: 1.4rem;
    }

    .modal-product-price .price-current {
        font-size: 1.6rem;
    }

    .product-modal-content {
        max-height: 95vh;
        border-radius: 12px;
    }
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.4);
}

.add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #4caf50;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 2000;
}

.toast.show {
    transform: translateX(0);
}

/* Responsive para loja */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
    }

    .cart-header {
        padding: 1rem;
        flex-shrink: 0;
    }

    .cart-header h3 {
        font-size: 1.2rem;
    }

    .cart-items {
        flex: 1;
        overflow-y: auto;
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .cart-footer {
        padding: 1rem;
        padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
        flex-shrink: 0;
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .checkout-btn {
        padding: 0.9rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
    
    .categories {
        padding: 1.5rem 0;
    }

    .categories .container {
        padding: 0 5px;
        max-width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
        padding-left: 10px;
        padding-right: 10px;
        -webkit-overflow-scrolling: touch;
        margin: 0 -5px;
    }

    .category-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}