/* Título h1 no mesmo padrão do inmemorian */
.grife-section h1 {
    font-family: "Alfa Slab One", cursive;
    color: white;
    font-size: 3.0rem;
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 0 10px rgba(179, 179, 177, 0.3);
}

/* Card de produto: fundo escuro e borda sutil */
.grife-card {
    background: rgba(30, 30, 30, 0.92);
    border: 2px solid #222;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grife-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 32px rgba(0,0,0,0.7);
}

/* Imagem do produto: preto e branco, centralizada, ocupa todo espaço do card */
.grife-card .image img {
    object-fit: contain;
    object-position: center;
    width: 100%;
    height: 220px;
    filter: grayscale(1);
    background: #111;
    transition: filter 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border-radius: 0;
}

/* Ao passar o mouse, destaca a imagem */
.grife-card:hover .image img {
    filter: grayscale(0.2) drop-shadow(0 2px 12px #000);
}

/* Modal para visualização ampliada */
.grife-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
}

.grife-modal.is-active {
    display: flex;
}

.grife-modal img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 40px #000;
    background: #111;
}

.grife-modal .grife-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .grife-card .image img {
        height: 200px;
    }
    .grife-modal img {
        max-width: 98vw;
        max-height: 60vh;
    }
}

.grife-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Estilos da Paginação - Grife Oficial */
.grife-section .pagination {
    margin-top: 3rem;
}

.grife-section .pagination-previous,
.grife-section .pagination-next,
.grife-section .pagination-link {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.grife-section .pagination-previous:hover,
.grife-section .pagination-next:hover,
.grife-section .pagination-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.grife-section .pagination-link.is-current {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.9) !important;
    color: #2a2a2a !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.grife-section .pagination-link.is-current:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1a1a1a !important;
    transform: translateY(-2px);
}

.grife-section .pagination-previous.is-disabled,
.grife-section .pagination-next.is-disabled {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.4;
}

.grife-section .pagination-previous.is-disabled:hover,
.grife-section .pagination-next.is-disabled:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
    transform: none;
}

.grife-section .pagination-ellipsis {
    color: rgba(255, 255, 255, 0.6);
}

/* Informações da paginação */
.grife-section .pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Estilos específicos para botões WhatsApp da grife */
.whatsapp-grife-btn {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-grife-btn:hover {
    background-color: #20bb5a !important;
    border-color: #20bb5a !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-grife-btn:active {
    transform: translateY(0);
}

.whatsapp-grife-btn.is-loading {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    opacity: 0.7;
}

/* Notificações da grife */
.notificacao-grife {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}