/* =============================================
   JVS Product Cards — Elementor Widget Styles
   ============================================= */

/* ====== CARD ====== */
.jvs-pc-card {
    
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(200,168,124,0.12);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Hover lift */
.jvs-pc-card.jvs-pc-hover:hover {
    transform: translateY(-10px);
    border-color: rgba(200,168,124,0.3);
    box-shadow:
        0 25px 60px rgba(44,24,16,0.1),
        0 0 0 1px rgba(200,168,124,0.15),
        0 0 40px rgba(200,168,124,0.08);
}

/* ====== IMAGE AREA ====== */
.jvs-pc-card-img {
    height: 210px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #2C1810, #4A2C1A);
}

.jvs-pc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, opacity 0.4s ease;
    opacity: 0.9;
    display: block;
}

/* Image zoom on hover */
.jvs-pc-card.jvs-pc-zoom:hover .jvs-pc-card-img img {
    transform: scale(1.08);
    opacity: 1;
}

/* Dark overlay */
.jvs-pc-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44,24,16,0.1) 0%, rgba(44,24,16,0.55) 100%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.jvs-pc-card.jvs-pc-hover:hover .jvs-pc-card-img-overlay {
    opacity: 0.7;
}

/* Placeholder */
.jvs-pc-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2C1810, #4A2C1A, #5E3824);
    position: relative;
}
.jvs-pc-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: #C8A87C;
    fill: none;
    stroke-width: 1.5;
    opacity: 0.5;
    z-index: 2;
    position: relative;
}
.jvs-pc-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 12px,
        rgba(200,168,124,0.03) 12px,
        rgba(200,168,124,0.03) 13px
    );
}

/* ====== BADGES ====== */
.jvs-pc-badge1 {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    line-height: 1;
}
.jvs-pc-badge1 svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.5;
    fill: none;
    flex-shrink: 0;
}
.jvs-pc-card:hover .jvs-pc-badge1 {
    transform: scale(1.05);
}

/* Badge color variations */
.jvs-pc-badge-popular    { background: rgba(200,168,124,0.9); color: #2C1810; }
.jvs-pc-badge-popular svg { stroke: #2C1810; }

.jvs-pc-badge-bestseller    { background: rgba(74,124,89,0.9); color: #fff; }
.jvs-pc-badge-bestseller svg { stroke: #fff; }

.jvs-pc-badge-structural    { background: rgba(74,107,138,0.9); color: #fff; }
.jvs-pc-badge-structural svg { stroke: #fff; }

.jvs-pc-badge-premium    { background: rgba(44,24,16,0.9); color: #DFC08E; }
.jvs-pc-badge-premium svg { stroke: #DFC08E; }

.jvs-pc-badge-durable    { background: rgba(196,122,58,0.9); color: #fff; }
.jvs-pc-badge-durable svg { stroke: #fff; }

/* Secondary badge */
.jvs-pc-badge2 {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    padding: 6px 12px;
    border-radius: 50px;
    
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.92);
    color: #2C1810;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    line-height: 1;
    transition: transform 0.3s ease;
}
.jvs-pc-card:hover .jvs-pc-badge2 {
    transform: scale(1.05);
}

/* Count badge */
.jvs-pc-count {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    
    font-size: 10.5px;
    font-weight: 600;
    color: #2C1810;
    letter-spacing: 0.3px;
    line-height: 1;
}
.jvs-pc-count svg {
    width: 12px;
    height: 12px;
    stroke: #C8A87C;
    fill: none;
    stroke-width: 2;
}

/* ====== CARD BODY ====== */
.jvs-pc-card-body {
    padding: 26px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jvs-pc-card-name {
    
    font-size: 20px;
    font-weight: 700;
    color: #2C1810;
    margin-bottom: 10px;
    line-height: 1.3;
    transition: color 0.3s ease;
}
.jvs-pc-card.jvs-pc-hover:hover .jvs-pc-card-name {
    color: #5E3824;
}

.jvs-pc-card-desc {
    
    font-size: 13.5px;
    font-weight: 400;
    color: #8B6F5E;
    line-height: 1.65;
    margin-bottom: 20px;
}

/* ====== FEATURE BLOCKS ====== */
.jvs-pc-feat {
    margin-bottom: 16px;
}

.jvs-pc-feat-title {
    display: flex;
    align-items: center;
    gap: 8px;
    
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #4A2C1A;
    margin-bottom: 10px;
}
.jvs-pc-feat-title svg {
    width: 16px;
    height: 16px;
    stroke: #C8A87C;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* ====== TAGS ====== */
.jvs-pc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.jvs-pc-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    
    font-size: 11.5px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
    line-height: 1.4;
}

/* Species tags (cream/gold) */
.jvs-pc-tag-species {
    background: #F5EDE4;
    color: #4A2C1A;
    border: 1px solid rgba(200,168,124,0.2);
}
.jvs-pc-tag-species:hover {
    background: #F0E0C8;
    border-color: #C8A87C;
    transform: translateY(-2px);
}

/* Application tags (green) */
.jvs-pc-tag-app {
    background: #E8F2EB;
    color: #4A7C59;
    border: 1px solid rgba(74,124,89,0.15);
}
.jvs-pc-tag-app:hover {
    background: #d4eadb;
    border-color: #4A7C59;
    transform: translateY(-2px);
}

/* Product tags (blue) */
.jvs-pc-tag-product {
    background: #E8EFF5;
    color: #4A6B8A;
    border: 1px solid rgba(74,107,138,0.15);
}
.jvs-pc-tag-product:hover {
    background: #d0dde9;
    border-color: #4A6B8A;
    transform: translateY(-2px);
}

/* ====== DIVIDER ====== */
.jvs-pc-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,168,124,0.25), transparent);
    margin: 6px 0 20px;
}

/* ====== CTA BUTTON ====== */
.jvs-pc-cta-wrap {
    margin-top: auto;
    padding-top: 6px;
}

.jvs-pc-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 12px;
    
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: linear-gradient(135deg, #2C1810, #4A2C1A);
    color: #DFC08E;
    border: none;
    cursor: pointer;
    justify-content: center;
    line-height: 1;
}
.jvs-pc-cta svg {
    width: 16px;
    height: 16px;
    stroke: #DFC08E;
    fill: none;
    stroke-width: 2;
    transition: transform 0.3s ease, stroke 0.3s ease;
    flex-shrink: 0;
}

.jvs-pc-cta-fw {
    width: 100%;
}

/* Shine sweep */
.jvs-pc-card.jvs-pc-shine .jvs-pc-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(200,168,124,0.15), transparent);
    transition: left 0.5s ease;
}
.jvs-pc-card.jvs-pc-shine .jvs-pc-cta:hover::before {
    left: 100%;
}

.jvs-pc-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44,24,16,0.2);
}
.jvs-pc-cta:hover svg {
    transform: translateX(4px);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .jvs-pc-card-img { height: 180px; }
    .jvs-pc-card-body { padding: 20px 20px 24px; }
    .jvs-pc-card-name { font-size: 18px; }
    .jvs-pc-card-desc { font-size: 13px; }
}

@media (max-width: 520px) {
    .jvs-pc-card-img { height: 160px; }
    .jvs-pc-card-body { padding: 18px 16px 22px; }
    .jvs-pc-card-name { font-size: 17px; }
    .jvs-pc-tag { font-size: 11px; padding: 4px 10px; }
}
