/* ==========================================
   ESTILOS EXCLUSIVOS PARA PC (> 900px)
   ========================================== */
:root {
    --bg-dark: #0a0a0f;
    --card-bg: #13131a;
    --sidebar-bg: #111118;
    --accent-pink: #e60067;
    --accent-pink-hover: #ff0073;
    --text-white: #ffffff;
    --text-muted: #a0a0ab;
    --border-color: #22222e;
}

* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header superior */
.top-header {
    background-color: #050508;
    padding: 8px 5%;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
}

/* Estilo específico para resaltar el elemento "Atención por WhatsApp" del header superior */
.header-info a, .header-info span:has(i.fa-whatsapp), .header-info .whatsapp-link, .top-header a {
    color: #39ff14 !important;
    font-weight: 600;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.4);
    transition: all 0.2s ease;
}

.header-info a:hover, .top-header a:hover {
    color: #5fff3d !important;
    text-shadow: 0 0 12px rgba(57, 255, 20, 0.7);
}

.header-info i.fa-whatsapp, .top-header i.fa-whatsapp {
    color: #39ff14 !important;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.6);
}

/* Navegación Principal en una sola línea */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    background-color: var(--sidebar-bg);
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.logo {
    flex-shrink: 0;
}

.logo .logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 6px 20px;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.logo-img {
    height: 53px;
    width: auto;
    display: block;
    object-fit: contain;
}

.search-bar {
    display: flex;
    flex-grow: 1;
    max-width: 550px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px 0 0 6px;
    background: #1a1a24;
    color: #ffffff;
    outline: none;
}

.search-bar button {
    background: var(--accent-pink);
    border: none;
    padding: 10px 20px;
    color: #ffffff;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.search-bar button:hover {
    background: var(--accent-pink-hover);
}

.btn-return {
    background: var(--accent-pink);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-return:hover {
    background: var(--accent-pink-hover);
}

/* Contenedor general en PC */
.layout-container {
    display: flex;
    gap: 25px;
    padding: 25px 5%;
    width: 100%;
    max-width: 100%;
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
}

.sidebar-box {
    background: var(--sidebar-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.sidebar-box h3 {
    font-size: 1rem;
    margin-top: 0;
    color: var(--accent-pink);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

/* Categorías en Columna vertical para PC con separación compacta y equilibrada */
.categories-icon-grid, .cat-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-icon-item, .cat-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 3px 6px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.category-icon-item:hover, .cat-list li a:hover {
    background: rgba(255, 0, 127, 0.08);
    color: var(--accent-pink);
}

.category-circle {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #1a1a24;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-circle i {
    font-size: 0.9rem;
    color: var(--accent-pink);
}

.category-icon-item span, .cat-list li a {
    font-size: 0.85rem;
}

/* Contenido Principal y Productos PC */
.content-area {
    flex-grow: 1;
    min-width: 0;
}

.hero-banner-img {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(230, 0, 103, 0.3);
}

.banner-img-full {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: border-color 0.2s;
}

.product-card:hover {
    border-color: var(--accent-pink);
}

.img-container {
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-buttons-container {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-card-ws, .btn-card-details {
    flex: 1;
    padding: 9px 6px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
}

/* Botón de WhatsApp en tarjetas con verde neón */
.btn-card-ws { 
    background: #00e65c; 
    color: #0b0b0f; 
    border: 1px solid #39ff14;
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
    transition: all 0.2s ease;
}

.btn-card-ws:hover {
    background: #39ff14;
    box-shadow: 0 0 16px rgba(57, 255, 20, 0.7);
    transform: translateY(-1px);
}

.btn-card-ws i, .btn-whatsapp-buy i {
    color: #0b0b0f !important;
    text-shadow: 0 0 6px #39ff14;
}

/* Botón de WhatsApp en modales con verde neón */
.btn-whatsapp-buy {
    background: #00e65c !important;
    color: #0b0b0f !important;
    border: 1px solid #39ff14 !important;
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.4) !important;
    text-decoration: none !important;
    text-align: center !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 10px !important;
    transition: all 0.2s ease !important;
}

.btn-whatsapp-buy:hover {
    background: #39ff14 !important;
    box-shadow: 0 0 18px rgba(57, 255, 20, 0.8) !important;
    transform: translateY(-1px) !important;
}

.btn-card-details { background: #ff007f; color: #fff; border: none; cursor: pointer; }

/* Modales generales PC */
.modal-overlay, .product-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 8, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}
.product-modal-container {
    background: #13131a;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 100%;
    max-width: 950px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    position: relative;
}

/* Galería y Miniaturas Centradas con Flechas en PC */
.modal-gallery-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.modal-main-img-wrap {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a24;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.modal-main-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Flechas de navegación izquierda y derecha forzadas */
.modal-prev-btn, .modal-next-btn {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(10, 10, 15, 0.8) !important;
    color: #ffffff !important;
    border: 1px solid var(--accent-pink) !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1.1rem !important;
    z-index: 100 !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.modal-prev-btn {
    left: 12px !important;
}

.modal-next-btn {
    right: 12px !important;
}

.modal-prev-btn:hover, .modal-next-btn:hover {
    background: var(--accent-pink) !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
    flex-wrap: wrap;
}

.thumb-img {
    width: 65px;
    height: 65px;
    flex-shrink: 0;
    background: #1a1a24;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease;
}

.thumb-img:hover {
    border-color: var(--accent-pink);
}

.thumb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}