/* ============================================
   JEEP CAROUSEL - CARD STYLES
   ============================================ */

/* ============================================
   IMAGE WRAP (shared)
   ============================================ */
.jeep-card-image-wrap {
    position: relative;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

/* ============================================
   CARD SIMPLE (banner_simple + category_tabs)
   ============================================ */
.jeep-card-simple {
    flex: 0 0 calc(33.333% - 11px);
    min-width: calc(33.333% - 11px);
    background: #fff;
    border-radius: 16px;
    border: none;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.jeep-card-simple:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}
.jeep-card-simple .jeep-card-image-wrap {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #fff;
}
.jeep-card-simple .jeep-card-image-wrap img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    display: block;
    padding: 20px;
    box-sizing: border-box;
    transition: transform 0.35s ease;
}
.jeep-card-simple:hover .jeep-card-image-wrap img {
    transform: scale(1.03);
}
.jeep-card-simple .jeep-card-info {
    padding: 14px 18px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.jeep-card-simple .jeep-product-title {
    font-size: 12px;
    font-weight: 400;
    color: #555;
    margin: 0 0 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jeep-card-simple .jeep-product-title a {
    color: inherit;
}

/* Fondo blanco forzado */
.jeep-carousel-wrapper.jeep-layout-banner_simple .jeep-card-simple,
.jeep-carousel-wrapper.jeep-layout-category_tabs .jeep-card-simple {
    background: #fff !important;
}

/* Marca */
.jeep-card-simple .jeep-product-brand {
    text-align: left;
    padding-bottom: 3px;
    font-size: 12px;
    border-bottom-width: 1px;
}

/* Tamaños reducidos */
.jeep-card-simple .jeep-product-cats {
    font-size: 11px;
}
.jeep-card-simple .jeep-old-price {
    font-size: 13px;
}
.jeep-card-simple .jeep-discount-text {
    font-size: 11px;
}
.jeep-card-simple .jeep-add-to-cart {
    font-size: 14px;
}

/* Precio final violeta */
.jeep-carousel-wrapper .jeep-card-simple .jeep-current-price {
    color: #7B2D8E !important;
    text-align: left;
    font-weight: 600;
    font-size: 21px;
}

/* Botón: alto reducido */
.jeep-card-simple .jeep-add-to-cart {
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Botón hover: amarillo + texto violeta */
.jeep-carousel-wrapper.jeep-layout-banner_simple .jeep-card-simple .jeep-add-to-cart:hover,
.jeep-carousel-wrapper.jeep-layout-category_tabs .jeep-card-simple .jeep-add-to-cart:hover {
    background: #F5C518 !important;
    color: #7B2D8E !important;
    border-color: #F5C518 !important;
}

/* ============================================
   COMPACT ITEM (grid_compact)
   ============================================ */
.jeep-compact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    margin-bottom: 8px;
    background: #fff;
    transition: box-shadow 0.3s;
}
.jeep-compact-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.jeep-compact-img {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
}
.jeep-compact-img img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
}
.jeep-compact-info {
    flex: 1;
    min-width: 0;
}
.jeep-compact-info .jeep-product-brand {
    font-size: 11px;
    margin-bottom: 2px;
    padding-bottom: 0;
    border-bottom: none;
    text-align: left;
    color: #8368ab !important;
}
.jeep-compact-title {
    font-size: 12px;
    color: #555;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.jeep-compact-info .jeep-product-price {
    margin: 4px 0 0;
    justify-content: flex-start;
    gap: 6px;
}
.jeep-compact-info .jeep-old-price {
    font-size: 11px;
}
.jeep-compact-info .jeep-current-price {
    font-size: 14px;
    font-weight: 600;
}
.jeep-carousel-wrapper.jeep-layout-grid_compact .jeep-current-price {
    color: #7B2D8E !important;
}

/* Botón carrito circular */
.jeep-compact-cart {
    flex-shrink: 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    border-radius: 50% !important;
    background: #7B2D8E !important;
    border: none !important;
    transition: background 0.25s ease;
    text-decoration: none !important;
    box-sizing: border-box !important;
}
.jeep-compact-cart:hover {
    background: #F5C518 !important;
}
.jeep-compact-cart:hover svg {
    stroke: #7B2D8E !important;
}
