:root {
    --bg-dark: #0a0b0d;
    --bg-card: #14161a;
    --primary: #00ffcc;
    --primary-glow: rgba(0, 255, 204, 0.3);
    --secondary: #f5d77a;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --border-color: #2a2d33;
    --accent-red: #ff4d4d;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header Estilo MuAway */
.shop-header {
    text-align: center;
    margin-bottom: 60px;
}

.shop-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px var(--primary-glow);
}

.shop-header p {
    color: var(--text-muted);
    margin-top: 10px;
    font-size: 14px;
}

/* Grid de Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Card de Produto Estilo MuAway */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--primary-glow);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: var(--secondary);
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
}

.product-price {
    font-size: 24px;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
    text-decoration: none !important; /* Garante que não tenha riscos */
}

.product-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: normal;
}

.btn-buy {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00ffcc 0%, #00997a 100%);
    border: none;
    border-radius: 8px;
    color: #000;
    font-family: 'Orbitron', sans-serif; /* Mudado para Orbitron para melhor leitura */
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    text-decoration: none !important; /* Garante que não tenha riscos */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Espaço entre ícone e texto */
}

.btn-buy:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* Modal Estilo MuAway */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 20px;
    border: 1px solid var(--primary);
    position: relative;
    overflow-y: auto;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}

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

.modal-body {
    display: flex;
    flex-wrap: wrap;
    padding: 40px;
}

.modal-left {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.modal-right {
    flex: 1;
    min-width: 300px;
}

.modal-image {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.modal-title {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 15px;
}

.modal-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
    white-space: pre-wrap;
    max-height: 300px; /* Altura máxima para a descrição */
    overflow-y: auto; /* Habilita rolagem vertical */
    padding-right: 10px;
}

/* Estilização da barra de rolagem interna */
.modal-desc::-webkit-scrollbar {
    width: 6px;
}
.modal-desc::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
}
.modal-desc::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-btn {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.payment-btn.active {
    border-color: var(--primary);
    background: rgba(0, 255, 204, 0.1);
}

.payment-btn i {
    font-size: 24px;
}

.payment-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Responsividade */
@media (max-width: 768px) {
    .modal-body {
        padding: 20px;
    }
    .modal-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
}
