/* ============================================
   VS Product Filters - Google Shopping Style
   Alta especificidad para evitar conflictos
   ============================================ */

/* Reset completo dentro del plugin */
.vs-shop *,
.vs-shop *::before,
.vs-shop *::after,
.vs-filters-standalone *,
.vs-filters-standalone *::before,
.vs-filters-standalone *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.vs-shop button,
.vs-shop input,
.vs-shop label,
.vs-filters-standalone button,
.vs-filters-standalone input,
.vs-filters-standalone label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #3c4043;
    border: none;
    outline: none;
    background: none;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ---- Layout principal ---- */
.vs-shop {
    display: flex;
    gap: 32px;
    max-width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #202124;
    line-height: 1.4;
}

.vs-shop .vs-shop__sidebar {
    width: var(--vs-sidebar-width, 260px);
    flex-shrink: 0;
}

.vs-shop .vs-shop__main {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* ---- Grid de productos ---- */
.vs-shop .vs-product-grid {
    display: grid;
    grid-template-columns: repeat(var(--vs-columns, 4), 1fr);
    gap: 16px;
}

/* ---- Card de producto ---- */
.vs-shop .vs-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.vs-shop .vs-card:hover {
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.18);
    border-color: #dadce0;
}

.vs-shop .vs-card .vs-card__link {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.vs-shop .vs-card .vs-card__image {
    position: relative;
    aspect-ratio: 1;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}

.vs-shop .vs-card .vs-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    mix-blend-mode: multiply;
    border-radius: 8px;
    border: none !important;
    box-shadow: none !important;
}

.vs-shop .vs-card .vs-card__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #1a73e8;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    line-height: 1.3;
}

.vs-shop .vs-card .vs-card__info {
    padding: 12px 14px 14px;
}

.vs-shop .vs-card .vs-card__title {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #202124 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.vs-shop .vs-card .vs-card__price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #202124 !important;
    margin-bottom: 4px !important;
}

.vs-shop .vs-card .vs-card__price del {
    color: #70757a !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    margin-left: 6px;
}

.vs-shop .vs-card .vs-card__price ins {
    text-decoration: none !important;
    color: #d93025 !important;
}

.vs-shop .vs-card .vs-card__rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.vs-shop .vs-card .vs-card__rating-score {
    font-size: 12px;
    font-weight: 500;
    color: #202124;
}

.vs-shop .vs-card .vs-card__reviews {
    font-size: 12px;
    color: #70757a;
}

.vs-shop .vs-card .vs-card__store {
    font-size: 12px;
    color: #70757a;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Estrellas */
.vs-star {
    color: #dadce0;
    font-size: 13px;
    line-height: 1;
}

.vs-star.vs-star--filled {
    color: #fbbc04;
}

/* ============================================
   FILTROS SIDEBAR
   ============================================ */
.vs-shop .vs-filters,
.vs-filters-standalone .vs-filters {
    position: sticky;
    top: 20px;
}

/* Header filtros */
.vs-shop .vs-filters .vs-filters__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e8e8;
}

.vs-shop .vs-filters .vs-filters__title {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #202124 !important;
    border: none !important;
    background: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.vs-shop .vs-filters button.vs-filters__clear {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #1a73e8 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    cursor: pointer;
    padding: 4px 0 !important;
    margin: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
}

.vs-shop .vs-filters button.vs-filters__clear:hover {
    text-decoration: underline !important;
}

/* Grupos de filtros */
.vs-shop .vs-filters .vs-filter-group {
    border-bottom: 1px solid #e8e8e8;
    padding: 0;
    margin: 0;
    background: none;
}

.vs-shop .vs-filters button.vs-filter-group__toggle {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #202124 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
    border-radius: 0 !important;
    text-align: left !important;
}

.vs-shop .vs-filters button.vs-filter-group__toggle:hover {
    color: #1a73e8 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.vs-shop .vs-filters button.vs-filter-group__toggle:focus {
    outline: none !important;
    box-shadow: none !important;
}

.vs-shop .vs-filters .vs-filter-group__arrow {
    transition: transform 0.2s;
    flex-shrink: 0;
}

.vs-shop .vs-filters .vs-filter-group--open .vs-filter-group__arrow {
    transform: rotate(180deg);
}

.vs-shop .vs-filters .vs-filter-group__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, padding 0.25s ease;
    padding: 0;
}

.vs-shop .vs-filters .vs-filter-group--open > .vs-filter-group__content {
    max-height: 500px;
    padding-bottom: 12px;
}

.vs-shop .vs-filters .vs-filter-group__content--scrollable {
    overflow-y: auto;
}

.vs-shop .vs-filters .vs-filter-group--open > .vs-filter-group__content--scrollable {
    max-height: 280px;
}

/* ---- Checkbox ---- */
.vs-shop .vs-filters label.vs-checkbox,
.vs-shop .vs-filters label.vs-radio {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #3c4043 !important;
    background: none !important;
    border: none !important;
    line-height: 1.4 !important;
}

.vs-shop .vs-filters label.vs-checkbox:hover,
.vs-shop .vs-filters label.vs-radio:hover {
    color: #202124 !important;
}

/* Ocultar inputs nativos */
.vs-shop .vs-filters label.vs-checkbox input[type="checkbox"],
.vs-shop .vs-filters label.vs-checkbox input[type="radio"],
.vs-shop .vs-filters label.vs-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
}

/* Checkbox mark */
.vs-shop .vs-filters label.vs-checkbox .vs-checkbox__mark {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 2px solid #80868b;
    border-radius: 3px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
    background: #fff;
}

.vs-shop .vs-filters label.vs-checkbox input:checked ~ .vs-checkbox__mark {
    background: #1a73e8 !important;
    border-color: #1a73e8 !important;
}

.vs-shop .vs-filters label.vs-checkbox input:checked ~ .vs-checkbox__mark::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio mark */
.vs-shop .vs-filters label.vs-radio .vs-radio__mark {
    display: inline-block;
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 2px solid #80868b;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: all 0.15s;
    background: #fff;
}

.vs-shop .vs-filters label.vs-radio input:checked ~ .vs-radio__mark {
    border-color: #1a73e8 !important;
}

.vs-shop .vs-filters label.vs-radio input:checked ~ .vs-radio__mark::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 8px;
    height: 8px;
    background: #1a73e8;
    border-radius: 50%;
}

.vs-shop .vs-filters .vs-checkbox__label {
    flex: 1;
}

.vs-shop .vs-filters .vs-checkbox__count {
    color: #70757a;
    font-size: 12px;
}

/* Rating */
.vs-shop .vs-filters label.vs-rating-label {
    gap: 6px !important;
}

.vs-shop .vs-filters .vs-stars {
    display: inline-flex;
    gap: 1px;
}

.vs-shop .vs-filters .vs-rating-text {
    font-size: 12px;
    color: #70757a;
}

/* ---- Precio ---- */
.vs-shop .vs-filters .vs-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vs-shop .vs-filters .vs-price-field {
    display: flex;
    align-items: center;
    border: 1px solid #dadce0 !important;
    border-radius: 6px !important;
    padding: 0 8px !important;
    flex: 1;
    background: #fff !important;
}

.vs-shop .vs-filters .vs-price-field__symbol {
    color: #70757a;
    font-size: 13px;
    margin-right: 4px;
}

.vs-shop .vs-filters .vs-price-field input[type="number"] {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    width: 100% !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    background: transparent !important;
    color: #202124 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    -moz-appearance: textfield;
}

.vs-shop .vs-filters .vs-price-field input[type="number"]::-webkit-outer-spin-button,
.vs-shop .vs-filters .vs-price-field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.vs-shop .vs-filters .vs-price-field input::placeholder {
    color: #9aa0a6;
}

.vs-shop .vs-filters .vs-price-separator {
    color: #70757a;
    flex-shrink: 0;
    font-size: 14px;
}

.vs-shop .vs-filters button.vs-price-go {
    background: #1a73e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    flex-shrink: 0;
    box-shadow: none !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.vs-shop .vs-filters button.vs-price-go:hover {
    background: #1557b0 !important;
}

/* Buscador dentro de filtros */
.vs-shop .vs-filters input.vs-search-input {
    width: 100% !important;
    border: 1px solid #dadce0 !important;
    border-radius: 6px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #202124 !important;
}

.vs-shop .vs-filters input.vs-search-input:focus {
    border-color: #1a73e8 !important;
}

/* ---- Filtros activos (chips) ---- */
.vs-shop .vs-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 0;
}

.vs-shop .vs-active-filters:empty {
    display: none;
}

.vs-shop button.vs-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    border: 1px solid #dadce0 !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    color: #3c4043 !important;
    background: #fff !important;
    cursor: pointer !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 400 !important;
}

.vs-shop button.vs-chip:hover {
    background: #f1f3f4 !important;
    border-color: #bdc1c6 !important;
}

.vs-shop button.vs-chip .vs-chip__remove {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    color: #70757a;
}

.vs-shop button.vs-chip:hover .vs-chip__remove {
    background: #dadce0;
    color: #3c4043;
}

/* ---- Barra de resultados ---- */
.vs-shop .vs-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.vs-shop .vs-results-bar .vs-results-title {
    font-size: 20px !important;
    font-weight: 400 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #202124 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border: none !important;
}

.vs-shop .vs-results-bar .vs-results-count {
    font-size: 13px;
    color: #70757a;
}

/* ---- Paginacion ---- */
.vs-shop .vs-pagination {
    margin-top: 24px;
}

.vs-shop .vs-pagination .vs-pagination__inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.vs-shop .vs-pagination button.vs-page-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 12px !important;
    border: 1px solid #dadce0 !important;
    border-radius: 20px !important;
    background: #fff !important;
    color: #1a73e8 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    box-shadow: none !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1 !important;
}

.vs-shop .vs-pagination button.vs-page-btn:hover {
    background: #f1f3f4 !important;
    border-color: #bdc1c6 !important;
}

.vs-shop .vs-pagination span.vs-page-btn--current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #1a73e8;
    color: #fff;
    border: 1px solid #1a73e8;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: default;
}

.vs-shop .vs-pagination .vs-page-btn--prev,
.vs-shop .vs-pagination .vs-page-btn--next {
    padding: 0 16px !important;
    font-weight: 500 !important;
}

.vs-shop .vs-pagination .vs-page-dots {
    padding: 0 4px;
    color: #70757a;
}

/* ---- Loading ---- */
.vs-shop .vs-loading {
    display: none;
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 10;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
}

.vs-shop .vs-loading.vs-loading--active {
    display: flex;
}

.vs-shop .vs-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e0e0e0;
    border-top-color: #1a73e8;
    border-radius: 50%;
    animation: vs-spin 0.7s linear infinite;
}

@keyframes vs-spin {
    to { transform: rotate(360deg); }
}

/* ---- Sin resultados ---- */
.vs-shop .vs-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #70757a;
}

.vs-shop .vs-no-results p {
    font-size: 16px;
    margin: 16px 0;
}

.vs-shop button.vs-btn-reset {
    background: #1a73e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.vs-shop button.vs-btn-reset:hover {
    background: #1557b0 !important;
}

/* ---- Mobile ---- */
.vs-mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background: #202124 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 24px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
}

.vs-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.vs-mobile-overlay.vs-mobile-overlay--active {
    display: block;
}

/* ============================================
   PANEL LATERAL DE DETALLE DE PRODUCTO
   ============================================ */
.vs-panel-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 99998;
    cursor: pointer;
}

.vs-panel-overlay.vs-panel-overlay--active {
    display: block;
}

.vs-panel {
    position: fixed;
    top: 0;
    right: -520px;
    width: 500px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 99999;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.vs-panel.vs-panel--open {
    right: 0;
}

.vs-panel__header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.vs-panel__close {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: none !important;
    border: 1px solid #dadce0 !important;
    border-radius: 50% !important;
    font-size: 22px !important;
    color: #5f6368 !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    transition: background 0.15s !important;
}

.vs-panel__close:hover {
    background: #f1f3f4 !important;
}

.vs-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.vs-panel__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

/* ---- Detalle de producto ---- */
.vs-detail {
    padding: 0;
}

/* Galeria */
.vs-detail__gallery {
    background: #f8f9fa;
    padding: 16px 20px 20px;
}

.vs-detail__main-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
    padding: 16px;
}

.vs-detail__main-image img,
.vs-detail__main-image .vs-detail__img {
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 auto !important;
}

.vs-detail__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.vs-detail__thumb {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    border: 2px solid #dadce0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    padding: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: border-color 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.vs-detail__thumb:hover {
    border-color: #80868b !important;
}

.vs-detail__thumb--active {
    border-color: #1a73e8 !important;
    box-shadow: 0 0 0 1px #1a73e8 !important;
}

.vs-detail__thumb-img,
.vs-detail__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
}

/* Info del producto */
.vs-detail__info {
    padding: 20px 20px 32px;
}

.vs-detail__title {
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: #202124 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    border: none !important;
}

.vs-detail__price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #202124 !important;
    margin-bottom: 8px !important;
}

.vs-detail__price del {
    color: #70757a !important;
    font-weight: 400 !important;
    font-size: 16px !important;
}

.vs-detail__price ins {
    text-decoration: none !important;
    color: #d93025 !important;
}

.vs-detail__rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #70757a;
    margin-bottom: 10px;
}

.vs-detail__rating-score {
    font-weight: 600;
    color: #202124;
}

.vs-detail__badge-sale {
    display: inline-block;
    background: #d93025;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.vs-detail__stock {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    padding: 4px 0;
}

.vs-detail__stock--in {
    color: #0d652d;
}

.vs-detail__stock--out {
    color: #d93025;
}

.vs-detail__meta {
    font-size: 12px;
    color: #70757a;
    margin-bottom: 4px;
}

/* Secciones de descripcion y especificaciones */
.vs-detail__section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8e8e8;
}

.vs-detail__section-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #202124 !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.vs-detail__desc-content {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.6;
}

.vs-detail__desc-content p {
    margin: 0 0 8px;
}

.vs-detail__desc-content ul,
.vs-detail__desc-content ol {
    margin: 0 0 8px;
    padding-left: 20px;
}

.vs-detail__desc-content li {
    margin-bottom: 4px;
}

/* Tabla de atributos */
.vs-detail__attrs {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.vs-detail__attrs tr {
    border-bottom: 1px solid #f0f0f0;
}

.vs-detail__attrs td {
    padding: 8px 0;
    vertical-align: top;
}

.vs-detail__attr-name {
    font-weight: 600;
    color: #3c4043;
    width: 40%;
    padding-right: 12px !important;
}

.vs-detail__attr-value {
    color: #5f6368;
}

.vs-detail__stock {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.vs-detail__stock--in {
    color: #0d652d;
}

.vs-detail__stock--out {
    color: #d93025;
}

.vs-detail__sku,
.vs-detail__cats {
    font-size: 12px;
    color: #70757a;
    margin-bottom: 4px;
}

.vs-detail__btn-full {
    display: inline-block !important;
    margin-top: 16px !important;
    padding: 10px 24px !important;
    background: #1a73e8 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    text-align: center !important;
}

.vs-detail__btn-full:hover {
    background: #1557b0 !important;
    color: #fff !important;
}

/* ---- Formulario dentro del panel ---- */
.vs-detail__form-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
}

.vs-detail__form-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #202124 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.vs-detail__form {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

/* ============================================
   RESPONSIVE - TABLET (768px)
   ============================================ */
@media (max-width: 768px) {
    /* Layout: sidebar se oculta, grid a 2 columnas */
    .vs-shop {
        flex-direction: column;
        gap: 0;
    }

    .vs-shop .vs-shop__sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85% !important;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        z-index: 1001;
        overflow-y: auto;
        padding: 20px;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0,0,0,0.2);
    }

    .vs-shop .vs-shop__sidebar.vs-sidebar--open {
        left: 0;
    }

    .vs-mobile-filter-btn {
        display: inline-flex !important;
    }

    .vs-shop .vs-product-grid {
        --vs-columns: 2 !important;
        gap: 10px;
    }

    .vs-shop .vs-card .vs-card__info {
        padding: 8px 10px 10px;
    }

    .vs-shop .vs-card .vs-card__title {
        font-size: 13px !important;
        -webkit-line-clamp: 2;
    }

    .vs-shop .vs-card .vs-card__price {
        font-size: 14px !important;
    }

    .vs-shop .vs-card .vs-card__store,
    .vs-shop .vs-card .vs-card__reviews {
        font-size: 11px;
    }

    .vs-shop .vs-results-bar .vs-results-title {
        font-size: 16px !important;
    }

    .vs-shop .vs-results-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* Panel de detalle: pantalla completa en mobile */
    .vs-panel {
        width: 100vw !important;
        max-width: 100vw !important;
        right: -100vw;
    }

    .vs-panel.vs-panel--open {
        right: 0;
    }

    .vs-detail__gallery {
        padding: 12px 16px 16px;
    }

    .vs-detail__main-image {
        height: 260px;
        padding: 12px;
    }

    .vs-detail__main-image img,
    .vs-detail__main-image .vs-detail__img {
        max-height: 240px !important;
    }

    .vs-detail__thumbs {
        gap: 6px;
    }

    .vs-detail__thumb {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
    }

    .vs-detail__info {
        padding: 16px 16px 24px;
    }

    .vs-detail__title {
        font-size: 17px !important;
    }

    .vs-detail__price {
        font-size: 20px !important;
    }

    .vs-detail__btn-full {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }

    .vs-detail__form {
        padding: 14px;
    }

    /* Paginacion en mobile */
    .vs-shop .vs-pagination .vs-pagination__inner {
        flex-wrap: wrap;
        gap: 6px;
    }

    .vs-shop .vs-pagination button.vs-page-btn {
        min-width: 32px !important;
        height: 32px !important;
        padding: 0 8px !important;
        font-size: 13px !important;
    }

    .vs-shop .vs-pagination .vs-page-btn--prev,
    .vs-shop .vs-pagination .vs-page-btn--next {
        padding: 0 12px !important;
        font-size: 13px !important;
    }

    /* Chips mas compactos */
    .vs-shop button.vs-chip {
        padding: 4px 10px !important;
        font-size: 12px !important;
    }
}

/* ============================================
   RESPONSIVE - MOBILE PEQUEÑO (480px)
   ============================================ */
@media (max-width: 480px) {
    .vs-shop .vs-product-grid {
        --vs-columns: 1 !important;
        gap: 10px;
    }

    .vs-shop .vs-card {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .vs-shop .vs-card .vs-card__link {
        display: flex !important;
        flex-direction: row !important;
        width: 100%;
    }

    .vs-shop .vs-card .vs-card__image {
        width: 120px;
        min-width: 120px;
        aspect-ratio: auto;
        height: auto;
        padding: 8px;
        border-radius: 12px 0 0 12px;
    }

    .vs-shop .vs-card .vs-card__info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 10px 12px;
    }

    .vs-shop .vs-card .vs-card__badge {
        top: 4px;
        right: 4px;
        font-size: 9px;
        padding: 2px 6px;
    }

    .vs-detail__main-image {
        height: 220px;
    }

    .vs-detail__main-image img,
    .vs-detail__main-image .vs-detail__img {
        max-height: 200px !important;
    }

    .vs-detail__title {
        font-size: 16px !important;
    }

    .vs-detail__price {
        font-size: 18px !important;
    }

    /* Atributos en vertical en pantallas muy chicas */
    .vs-detail__attr-name {
        width: 100% !important;
        display: block;
        padding-right: 0 !important;
        padding-bottom: 2px !important;
    }

    .vs-detail__attr-value {
        display: block;
    }

    .vs-detail__attrs tr {
        display: flex;
        flex-direction: column;
        padding: 6px 0;
    }

    .vs-detail__attrs td {
        padding: 0 !important;
    }
}

/* ============================================
   RESPONSIVE - TABLET MEDIANO (1024px)
   ============================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .vs-shop .vs-product-grid {
        --vs-columns: 3 !important;
    }

    .vs-panel {
        width: 420px;
        right: -440px;
    }
}
