/**
 * Guadalupe Template - Base Styles
 * CSS compartilhado entre todas as páginas do template
 *
 * Inclui: variables, reset, fonts, header, top-banner, floating-cart, qty-selector
 */

/* ==================== */
/* CSS VARIABLES        */
/* ==================== */
:root {
    --cream: #F5F0E8;
    --cream-dark: #EDE6DA;
    --green-dark: #2D4A3E;
    --green-medium: #6a7b52;
    --green-success: #22C55E;
    --gold: #C4883A;
    --gold-light: #D4993A;
    --text-dark: #2D3A35;
    --text-muted: #6B7770;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(45, 74, 62, 0.08);
    --shadow-hover: 0 8px 30px rgba(45, 74, 62, 0.12);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    min-height: 100vh;
    min-height: 100svh; /* svh = small viewport - não muda quando nav bar esconde */
    overflow-x: hidden;
}

.guadalupe-template {
    background: var(--cream) !important;
}

/* ==================== */
/* MAIN CONTENT         */
/* ==================== */
.main-content {
    background: var(--cream) !important;
    display: block;
}

/* ==================== */
/* TOP BANNER           */
/* ==================== */
.top-banner {
    background: var(--green-medium);
    color: var(--white);
    text-align: center;
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.top-banner svg {
    width: 14px;
    height: 14px;
    color: var(--gold-light);
}

/* ==================== */
/* HEADER               */
/* "Santuário Editorial"*/
/* ==================== */
.site-header {
    background: var(--green-dark);
    position: relative;
    z-index: 1000;
}

/* Header Inner - Alinha com conteúdo */
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
}

/* Logo - Centro */
.logo {
    grid-column: 2;
    justify-self: center;
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-img {
    height: 56px;
    width: auto;
}

/* Menu Toggle - Mobile Only */
.menu-toggle {
    grid-column: 1;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 1001;
}

.hamburger {
    width: 22px;
    height: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

/* Hamburger Animation */
.menu-toggle.is-open .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.is-open .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Nav Main - Hidden on Mobile */
.nav-main {
    display: none;
}

/* Header Icons - Right */
.header-icons {
    grid-column: 3;
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.icon-link svg {
    width: 22px;
    height: 22px;
}

.icon-link:hover {
    color: var(--gold-light);
    background: rgba(255, 255, 255, 0.08);
}

/* ==================== */
/* MOBILE MENU OVERLAY  */
/* ==================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-dark);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

/* Prevent scroll when menu open */
body.menu-open {
    overflow: hidden;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
}

.mobile-nav-link {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    text-decoration: none;
    padding: 12px 24px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.3s ease;
}

.mobile-menu-overlay.is-open .mobile-nav-link {
    animation: navLinkReveal 0.5s ease forwards;
}

.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu-overlay.is-open .mobile-nav-link:nth-child(6) { animation-delay: 0.35s; }

@keyframes navLinkReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    color: var(--gold-light);
}

.mobile-nav-link:hover::after,
.mobile-nav-link:active::after {
    width: 60%;
}

.mobile-nav-link--secondary {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-nav-link--secondary:hover {
    color: var(--gold-light);
}

.mobile-nav-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 16px 0;
    opacity: 0;
}

.mobile-menu-overlay.is-open .mobile-nav-divider {
    animation: navLinkReveal 0.5s ease 0.3s forwards;
}

/* ==================== */
/* DESKTOP HEADER       */
/* ==================== */
@media (min-width: 768px) {
    .header-inner {
        padding: 12px 24px;
        grid-template-columns: 1fr auto 1fr;
    }

    /* Hide hamburger on desktop */
    .menu-toggle {
        display: none;
    }

    /* Hide mobile overlay on desktop */
    .mobile-menu-overlay {
        display: none !important;
    }

    /* Show nav on desktop */
    .nav-main {
        grid-column: 1;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .nav-link {
        font-family: 'DM Sans', sans-serif;
        font-size: 0.7rem;
        font-weight: 600;
        color: var(--white);
        text-decoration: none;
        padding: 8px 12px;
        position: relative;
        transition: color 0.3s ease;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 4px;
        left: 12px;
        right: 12px;
        height: 1.5px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link:hover {
        color: var(--gold-light);
    }

    .nav-link:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

    /* Logo - stays center */
    .logo {
        grid-column: 2;
    }

    .logo-img {
        height: 60px;
    }

    /* Icons - right aligned */
    .header-icons {
        grid-column: 3;
        justify-self: end;
        gap: 4px;
    }

    .icon-link {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 1024px) {
    .header-inner {
        padding: 14px 24px;
    }

    .nav-main {
        gap: 8px;
    }

    .nav-link {
        font-size: 0.72rem;
        padding: 10px 14px;
    }

    .logo-img {
        height: 68px;
    }

    .icon-link {
        width: 42px;
        height: 42px;
    }

    .icon-link svg {
        width: 22px;
        height: 22px;
    }
}

/* Legacy support */
.logo-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 400;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--white);
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-size: 0.65rem;
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ==================== */
/* QUANTITY SELECTOR    */
/* ==================== */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--cream);
    border-radius: 30px;
    padding: 4px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: 300;
}

.qty-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-value {
    width: 36px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

/* Loading state no número do produto */
.qty-value.loading {
    color: transparent;
}

.qty-value.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 14px;
    margin: -7px 0 0 -7px;
    border: 2px solid var(--cream-dark);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: qtySpinner 0.5s linear infinite;
}

@keyframes qtySpinner {
    to { transform: rotate(360deg); }
}

/* ==================== */
/* FLOATING CART        */
/* ==================== */
.floating-cart {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 56px;
    min-height: 56px;  /* Fixa altura para não mudar com viewport iOS */
    max-height: 56px;
    contain: layout; /* Isola layout sem afetar cálculo de largura */
    background: var(--green-dark);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    z-index: 100;
    transform: translateY(calc(100% + 40px));
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.08),
        0 8px 16px rgba(0,0,0,0.12),
        0 16px 32px rgba(0,0,0,0.16);
    text-decoration: none;
    cursor: pointer;
    border-radius: 50px;
    flex-shrink: 0;
}

.floating-cart.visible {
    transform: translateY(0);
}

.floating-cart:hover {
    background: var(--green-medium);
}

.floating-cart:active {
    transform: translateY(0) scale(0.99);
}

.cart-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.cart-btn svg {
    width: 20px;
    height: 20px;
}

.cart-total {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-light);
    white-space: nowrap;
}

.cart-items-count {
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 4px;
}

/* Loading state */
.floating-cart[data-loading="1"] {
    pointer-events: none;
}

.floating-cart[data-loading="1"] .cart-total::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid rgba(196, 136, 58, 0.3);
    border-top-color: var(--gold-light);
    border-radius: 50%;
    animation: cartSpinner 0.6s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes cartSpinner {
    to { transform: rotate(360deg); }
}

/* Disabled state */
.floating-cart.disabled {
    pointer-events: none;
}

/* ==================== */
/* FOOTER               */
/* ==================== */
footer:not(.tracking-footer) {
    background: var(--green-medium) !important;
    color: var(--white) !important;
    padding: 40px 20px;
}

footer:not(.tracking-footer) * {
    color: inherit;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

.footer-logo .logo-text {
    font-size: 1rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.footer-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
}

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

.footer-links {
    text-align: center;
}

.footer-title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold-light) !important;
}

.footer-contact p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #fff !important;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    color: var(--gold-light) !important;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 12px;
}

.copyright strong {
    color: #fff !important;
    font-weight: 600;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.legal-links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--gold-light) !important;
}

.legal-links span {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 0.75rem;
}

/* ==================== */
/* TRUST STRIP          */
/* Faixa compacta       */
/* ==================== */
.trust-strip {
    background: var(--green-dark);
    padding: 14px 16px;
}

.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 16px;
    max-width: 700px;
    margin: 0 auto;
}

.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.trust-item svg {
    width: 14px;
    height: 14px;
    color: var(--gold);
    flex-shrink: 0;
}

.trust-item:hover {
    color: var(--gold-light);
}

/* WhatsApp variant */
.trust-item--whatsapp {
    text-decoration: none !important;
}

.trust-item--whatsapp svg {
    color: #25D366;
}

.trust-item--whatsapp:hover svg {
    color: #20bd5a;
}

/* Dividers */
.trust-divider {
    color: var(--gold);
    font-size: 0.5rem;
    opacity: 0.5;
}

/* Desktop */
@media (min-width: 768px) {
    .trust-strip {
        padding: 16px 24px;
    }

    .trust-strip-inner {
        gap: 20px;
        flex-wrap: nowrap;
    }

    .trust-item {
        font-size: 0.8rem;
    }

    .trust-item svg {
        width: 16px;
        height: 16px;
    }
}

/* ==================== */
/* BUTTONS              */
/* ==================== */
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid var(--gold);
    border-radius: 30px;
    background: transparent;
    color: var(--gold);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

/* ==================== */
/* DESKTOP STYLES       */
/* ==================== */
@media (min-width: 768px) {
    .floating-cart {
        left: 50%;
        right: auto;
        width: auto;
        min-width: 320px;
        max-width: 400px;
        transform: translateX(-50%) translateY(calc(100% + 40px));
    }

    .floating-cart.visible {
        transform: translateX(-50%) translateY(0);
    }

    .trust-badges {
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 40px;
        max-width: 1100px;
        margin: 0 auto;
        text-align: left;
    }

    .footer-brand {
        text-align: left;
    }

    .footer-links {
        text-align: left;
    }

    .footer-contact p {
        justify-content: flex-start;
    }

    .social-links {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .floating-cart {
        max-width: 440px;
        padding: 18px 32px;
    }
}

/* ==================== */
/* PRODUCT PAGE         */
/* "Santuário Digital"  */
/* ==================== */

/* Textura sutil de papel */
.product-main,
.product-description {
    background: var(--cream);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
}

.product-main {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
}

/* Gallery - Imagem como relíquia */
.product-gallery {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
    animation: revealImage 0.8s ease-out forwards;
}

@keyframes revealImage {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-image-main {
    max-width: 85%;
    max-height: 50vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow:
        0 4px 20px rgba(45, 74, 62, 0.12),
        0 12px 40px rgba(45, 74, 62, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-image-main:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 30px rgba(45, 74, 62, 0.15),
        0 20px 50px rgba(45, 74, 62, 0.1);
}

/* Info - Contemplativo e hierárquico */
.product-info {
    text-align: center;
    animation: revealInfo 0.8s ease-out 0.2s both;
}

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

/* Título - Litúrgico e dramático */
.product-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

/* Ornamento abaixo do título */
.product-ornament {
    display: block;
    font-size: 0.75rem;
    color: var(--gold);
    margin: 16px 0 24px;
    letter-spacing: 0.25em;
    opacity: 0.85;
}

/* Preço - Elegante, não gritante */
.product-price-box {
    margin-bottom: 28px;
}

.product-price-old {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
    margin-right: 12px;
}

.product-price {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: -0.01em;
}

/* Actions container */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    animation: revealActions 0.8s ease-out 0.4s both;
}

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

/* Qty-selector - Premium redesign */
.product-main .qty-selector {
    background: var(--white);
    border: 1px solid var(--gold);
    border-radius: 40px;
    padding: 6px 8px;
    box-shadow: 0 2px 12px rgba(196, 136, 58, 0.1);
}

.product-main .qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main .qty-btn:hover {
    background: var(--gold);
    color: var(--white);
    border-color: var(--gold);
}

.product-main .qty-value {
    width: 48px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--green-dark);
    text-align: center;
}

/* Botão CTA - Elegante, convidativo */
.btn-add-cart {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 40px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(196, 136, 58, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-add-cart:hover {
    background: var(--gold-light);
    box-shadow: 0 6px 25px rgba(196, 136, 58, 0.4);
    transform: translateY(-2px);
}

.btn-add-cart:hover::before {
    left: 100%;
}

.btn-add-cart:active {
    transform: translateY(0);
}

.btn-add-cart:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Divisor ornamental */
.product-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 20px;
    background: var(--cream);
}

.product-divider::before,
.product-divider::after {
    content: '';
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.product-divider-icon {
    color: var(--gold);
    font-size: 1rem;
    margin: 0 20px;
    opacity: 0.8;
}

/* Descrição - Como contra-capa de livro */
.product-description {
    padding: 20px 20px 60px;
    animation: revealDescription 0.8s ease-out 0.5s both;
}

@keyframes revealDescription {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-description-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    color: var(--green-dark);
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.02em;
}

.product-description-content {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-dark);
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.product-description-content p {
    margin-bottom: 1em;
}

.product-description-content p:first-of-type::first-letter {
    font-size: 2.8em;
    float: left;
    line-height: 0.85;
    margin-right: 10px;
    margin-top: 6px;
    color: var(--gold);
    font-weight: 600;
}

/* Desktop - Product Page */
@media (min-width: 768px) {
    .product-main {
        flex-direction: row;
        gap: 80px;
        max-width: 1100px;
        margin: 0 auto;
        padding: 60px 40px;
        align-items: center;
    }

    .product-gallery {
        flex: 0 0 48%;
        margin-bottom: 0;
    }

    .product-image-main {
        max-width: 100%;
        max-height: 65vh;
    }

    .product-info {
        flex: 1;
        text-align: left;
    }

    .product-title {
        font-size: 2.4rem;
    }

    .product-ornament {
        text-align: left;
    }

    .product-price {
        font-size: 2.6rem;
    }

    .product-actions {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }

    .btn-add-cart {
        width: auto;
        flex: 1;
        max-width: 260px;
    }

    .product-divider {
        padding: 50px 40px 30px;
    }

    .product-divider::before,
    .product-divider::after {
        max-width: 150px;
    }

    .product-description {
        padding: 0 40px 80px;
    }

    .product-description-title {
        font-size: 1.7rem;
    }

    .product-description-content {
        font-size: 1.15rem;
        text-align: left;
    }
}

/* ==================== */
/* HIDE FUNNELKIT CART  */
/* ==================== */
.guadalupe-template #fkcart-floating-toggler,
.guadalupe-template .fkcart-modal-wrap,
.guadalupe-template .fkcart-cart-icon {
    display: none !important;
}

/* ==================== */
/* HEADER MINIMAL       */
/* Layout simplificado  */
/* ==================== */
.header-inner--minimal {
    grid-template-columns: auto 1fr auto;
}

.header-inner--minimal .logo {
    grid-column: 2;
    justify-self: center;
}

/* Icon com label */
.icon-link--labeled {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.icon-link--labeled:hover {
    background: rgba(255, 255, 255, 0.1);
}

.icon-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: none;
}

@media (min-width: 768px) {
    .header-inner--minimal {
        grid-template-columns: 1fr auto 1fr;
    }

    .icon-label {
        display: inline;
    }

    .icon-link--labeled svg {
        width: 18px;
        height: 18px;
    }
}

/* ==================== */
/* FOOTER COMPACT       */
/* Nova estrutura       */
/* ==================== */
.footer-grid--compact {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

/* Social Section */
.footer-social-section {
    text-align: center;
}

.footer-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-social-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.footer-social-item:hover {
    background: var(--gold);
    color: var(--white);
}

.footer-social-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* WhatsApp Button */
.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 30px;
    background: #25D366;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.footer-whatsapp svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* CNPJ */
.footer-cnpj {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

/* Footer Bottom Compact */
.footer-grid--compact + .footer-bottom {
    margin-top: 32px;
    padding-top: 24px;
}

.footer-grid--compact + .footer-bottom .copyright {
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* Desktop Footer */
@media (min-width: 768px) {
    .footer-grid--compact {
        grid-template-columns: 1.2fr 1fr 1fr 1.3fr;
        gap: 40px;
        text-align: left;
        max-width: 1100px;
        margin: 0 auto;
    }

    .footer-social-section {
        text-align: left;
    }

    .footer-social-list {
        align-items: flex-start;
    }

    .footer-social-item {
        justify-content: flex-start;
    }

    .footer-whatsapp {
        justify-content: flex-start;
    }

    .footer-cnpj {
        display: inline;
        margin-top: 0;
        margin-left: 8px;
    }

    .footer-cnpj::before {
        content: '—';
        margin-right: 8px;
        opacity: 0.5;
    }
}
