/* =========================================================
   Cadiant — Product Card Style 4 (Gem Card)
   ========================================================= */

.product-block.grid-v4 {
    width: 100%;
}

.product-block.grid-v4 .grid-inner {
    background: #FAF9F6;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.12);
    border: 1px solid #E8E4DC;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-block.grid-v4 .grid-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(26, 26, 46, 0.18);
}

/* Media area */
.product-block.grid-v4 .block-inner {
    position: relative;
    min-height: 260px;
    background: linear-gradient(135deg, #0F1724 0%, #1A2639 50%, #0F1724 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.product-block.grid-v4 .block-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(201, 169, 98, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.product-block.grid-v4 .block-inner figure.image {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.product-block.grid-v4 .block-inner figure.image img {
    width: 75% !important;
    max-height: 220px;
    height: auto !important;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.45));
    transition: transform 0.4s ease;
}

.product-block.grid-v4 .grid-inner:hover .block-inner figure.image img {
    transform: scale(1.05);
}

/* Badge */
.aara-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #C9A962 0%, #B08D4B 100%);
    color: #1A1A2E;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.25;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 3;
}

.aara-card-badge svg {
    width: 16px;
    height: 16px;
    display: block;
    margin: 0 auto 3px;
    fill: currentColor;
}

/* Hide default cadiant hover actions */
.product-block.grid-v4 .action,
.product-block.grid-v4 .woosw-btn,
.product-block.grid-v4 .woosq-btn,
.product-block.grid-v4 .woosc-btn,
.product-block.grid-v4 .add_to_cart_button,
.product-block.grid-v4 .button.product_type_simple,
.product-block.grid-v4 .added_to_cart,
.product-block.grid-v4 .yith-wcwl-add-to-wishlist {
    display: none !important;
}

/* Card body */
.product-block.grid-v4 .metas {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-block.grid-v4 .top-metas {
    text-align: left;
}

.product-block.grid-v4 .categories {
    display: none;
}

.product-block.grid-v4 .name {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 600;
    color: #1A1A2E;
    margin: 0 0 6px;
    line-height: 1.2;
}

.product-block.grid-v4 .name a {
    color: inherit;
    text-decoration: none;
}

.product-block.grid-v4 .name a:hover {
    color: #5A504A;
}

.product-block.grid-v4 .rating {
    display: none;
}

.aara-card-subtitle {
    font-size: 13px;
    color: #6B6B6B;
    margin: 0 0 16px;
    font-weight: 400;
}

/* Meta row */
.aara-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 16px;
}

.aara-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #6B6B6B;
    white-space: nowrap;
}

.aara-meta-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: #C9A962;
    stroke-width: 1.8;
}

/* Divider & footer */
.aara-card-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #E8E4DC, transparent);
    margin: auto 0 16px;
}

.aara-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.aara-card-price {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-weight: 600;
    color: #1A1A2E;
}

.aara-card-price .woocommerce-Price-currencySymbol {
    font-size: 15px;
    vertical-align: top;
    margin-right: 2px;
}

.aara-card-price .woocommerce-Price-amount {
    color: inherit;
}

.aara-card-action {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1A1A2E;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

.aara-card-action:hover {
    background: #C9A962;
    transform: translateX(3px);
}

.aara-card-action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Responsive */
@media (max-width: 480px) {
    .product-block.grid-v4 .block-inner {
        min-height: 220px;
    }
    .product-block.grid-v4 .block-inner figure.image {
        height: 220px;
    }
    .product-block.grid-v4 .name {
        font-size: 18px;
    }
    .aara-card-price {
        font-size: 22px;
    }
}
