.plm-vitrina { max-width: 1200px; margin: 0 auto; font-family: 'Inter', sans-serif; color: #18181b; padding: 0 20px 40px; }
.plm-vitrina-header { background: #fff; border-radius: 20px; text-align: center; border: 1px solid #e4e4e7; margin-bottom: 20px; padding-bottom: 30px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); margin-top: 20px;}
.plm-vitrina-cover { height: 120px; background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%); border-radius: 20px 20px 0 0; }
.plm-vitrina-logo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; margin: -60px auto 15px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.plm-vitrina-title { font-size: 28px; font-weight: 800; margin: 0 0 10px; }
.plm-vitrina-desc { color: #71717a; max-width: 600px; margin: 0 auto 20px; font-size: 15px; line-height: 1.5; padding: 0 20px; }

/* ⚡️ BOTÓN WSP FANTASMA */
.plme-badge-vitrina-wsp { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 800; background: transparent; color: #16a34a; border: 1px solid #16a34a; text-decoration: none; transition: 0.2s; font-family: 'Inter', sans-serif; width: max-content; }
.plme-badge-vitrina-wsp:hover { background: #f0fdf4; transform: translateY(-2px); }
.plme-wsp-wrapper { display: block; width: 100%; text-align: center; margin-top: 15px; margin-bottom: 25px; clear: both; }

.tienda-redes { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; padding: 0 15px; }
.btn-red { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 600; transition: 0.2s; border: 1px solid #e4e4e7; background: #fff; color: #18181b; }
.btn-red svg { position: relative; top: -1px; }
.btn-red:hover { background: #f4f4f5; transform: translateY(-2px); }
.btn-red.ig { color: #E1306C; border-color: #fbcfe8; }
.btn-red.tk { color: #000; border-color: #e4e4e7; }

.tienda-tabs { display: flex; justify-content: center; background: #fff; border-bottom: 1px solid #e4e4e7; position: sticky; top: 0; z-index: 100; margin-bottom: 30px; }
.tienda-tab { padding: 15px 25px; font-size: 15px; font-weight: 600; color: #71717a; cursor: pointer; border-bottom: 3px solid transparent; transition: 0.2s; user-select: none; }
.tienda-tab:hover { color: #18181b; }
.tienda-tab.active { color: #18181b; border-bottom-color: #000; }

.tab-content { display: none; animation: fadeIn 0.3s ease-in-out; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.plm-search-container { max-width: 600px; margin: 0 auto 30px; position: relative; z-index: 9999; }
.plm-search-input { -webkit-appearance: none !important; appearance: none !important; width: 100% !important; height: 56px !important; min-height: 56px !important; padding: 0 25px 0 55px !important; font-size: 16px !important; border: 2px solid #e4e4e7 !important; border-radius: 14px !important; font-family: 'Inter', sans-serif !important; box-sizing: border-box !important; transition: all 0.2s ease !important; background: #fff !important; color: #18181b !important; outline: none !important; box-shadow: 0 4px 15px rgba(0,0,0,0.03) !important; margin: 0 !important; display: block !important; }
.plm-search-input:focus { border-color: #10b981 !important; box-shadow: 0 4px 20px rgba(16, 185, 129, 0.15) !important; }
.plm-search-icon { display: block !important; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #a1a1aa; pointer-events: none; z-index: 3; }
.plm-suggestions-list { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid #e4e4e7; border-radius: 14px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); list-style: none; padding: 8px 0; margin: 0; display: none; max-height: 250px; overflow-y: auto; z-index: 1000; text-align: left; }
.plm-suggestion-item { padding: 12px 25px; font-size: 15px; color: #3f3f46; cursor: pointer; transition: background 0.2s; border-bottom: 1px solid #f4f4f5; }
.plm-suggestion-item:last-child { border-bottom: none; }
.plm-suggestion-item:hover { background: #f0fdf4; color: #059669; font-weight: 600; }

.plm-productos-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.plm-prod-card { background: #fff; border: 1px solid #e4e4e7; border-radius: 16px; overflow: hidden; display: flex; flex-direction: row; align-items: stretch; transition: box-shadow 0.2s; }
.plm-prod-card:hover { box-shadow: 0 8px 16px rgba(0,0,0,0.05); }

.plm-img-wrapper { width: 40%; max-width: 250px; flex-shrink: 0; background: #f9f9f9; position: relative; }
.plm-img-link { display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; overflow: hidden; }
.plm-prod-img { width: 100% !important; height: 100% !important; object-fit: cover !important; }

.plm-prod-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; justify-content: space-between; width: 60%; }
.plm-prod-title { font-size: 20px; font-weight: 800; margin: 0 0 8px; color: #18181b; text-decoration: none; line-height: 1.2; }
.plm-prod-price { font-size: 18px; font-weight: 800; color: #000; margin-bottom: 5px; }
.plm-prod-stock { font-size: 14px; color: #71717a; margin-bottom: 20px; font-weight: 600; }

.plm-select-var { width: 100%; height: 48px; padding: 0 12px; margin-bottom: 15px; border-radius: 8px; border: 1px solid #e4e4e7; font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: #18181b; background-color: #fafafa; cursor: pointer; outline: none; }
.plm-select-var:focus { border-color: #18181b; background-color: #fff; }

.plm-prod-actions { display: flex; gap: 10px; margin-top: 15px; transition: 0.3s; flex-direction: column;}
.plm-btn-comprar { display: block; text-align: center; background: #18181b; color: #fff !important; padding: 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; transition: 0.2s; border: none; }
.plm-btn-comprar:hover { background: #3f3f46; }

/* ⚡️ Botón Contactar Sólido */
.plm-btn-contactar { display: block; text-align: center; background: #25D366; color: #fff !important; padding: 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; transition: 0.2s; border: none; }
.plm-btn-contactar:hover { background: #21b858; transform: translateY(-2px); }

.plm-btn-carrito { display: block; text-align: center; background: #fff; color: #18181b !important; border: 2px solid #e4e4e7; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14px; transition: 0.2s; }
.plm-btn-carrito:hover { border-color: #18181b; }

.ubicacion-layout { background: #fff; border-radius: 16px; padding: 40px 30px; border: 1px solid #e4e4e7; max-width: 700px; margin: 0 auto; text-align: center; }
.ubicacion-info h3 { font-size: 24px; margin: 0 0 25px; font-weight: 800; }
.ubicacion-info p { color: #71717a; line-height: 1.6; margin: 0 auto 20px; font-size: 16px; max-width: 500px; }

.btn-ruta-gps { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #0284c7; color: #fff !important; font-size: 16px; font-weight: 800; padding: 16px 30px; border-radius: 12px; text-decoration: none; width: 100%; max-width: 320px; box-sizing: border-box; transition: 0.2s; margin: 15px auto 30px; }
.btn-ruta-gps:hover { background: #0369a1; transform: translateY(-2px); box-shadow: 0 8px 15px rgba(2, 132, 199, 0.2); }

.store-gallery-container { border-top: 1px solid #e4e4e7; margin-top: 20px; padding-top: 30px; }
.store-gallery-container h4 { margin: 0 0 20px; font-size: 18px; font-weight: 800; }
.store-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 15px; }
.store-gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; border: 1px solid #e4e4e7; transition: 0.2s; cursor: pointer; }
.store-gallery img:hover { transform: scale(1.03); }

@media (max-width: 768px) {
    .plm-search-container { padding: 0 !important; }
    .plm-search-icon { left: 16px !important; width: 18px !important; }
    .plm-search-input { padding-left: 44px !important; }
    .plm-vitrina { padding: 0 10px 20px !important; margin-top: 15px; } 
    .plm-vitrina-header { margin-bottom: 20px; }
    
    .plm-productos-list { grid-template-columns: 1fr !important; gap: 12px; }
    
    .plm-img-wrapper { width: 45%; max-width: none; aspect-ratio: 1 / 1; flex-shrink: 0; }
    .plm-prod-info { padding: 10px 12px; width: 55%; display: flex; flex-direction: column; justify-content: center; }
    
    .plm-prod-title { font-size: 13px; margin-bottom: 4px; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .plm-prod-price { font-size: 14px; margin-bottom: 2px; }
    .plm-prod-stock { font-size: 10px; margin-bottom: 8px; }
    
    .plm-btn-comprar, .plm-btn-carrito, .plm-btn-contactar { padding: 6px; font-size: 11px; border-radius: 6px; }
    .plm-select-var { padding: 0 6px; height: 32px; font-size: 11px; margin-bottom: 8px; border-radius: 6px; }
    .plm-prod-actions { margin-top: auto; gap: 6px; }
    
    .ubicacion-layout { padding: 30px 20px; }
    .btn-ruta-gps { max-width: 100%; }
    .store-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}