/* ── VESARA New Arrivals — Exact match to reference image ── */

.vesara-new-arrivals-wrap {
    background: #f0ebe3;
    padding: 60px 40px;
}

.vesara-new-arrivals-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Floral Divider */
.vesara-floral-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    opacity: 0.9;
}
.vesara-floral-divider svg {
    width: 240px !important;
    height: 24px !important;
}

/* ── GRID ── */
.vesara-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

/* ══════════════════════════════════════
   CARD — white, gold border, rounded
══════════════════════════════════════ */
.vesara-product-card {
    background: #ffffff;
    border: 1.5px solid #C9A961;     /* ← gold border all around */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
}
.vesara-product-card:hover {
    box-shadow: 0 8px 28px rgba(201,169,97,0.22);
    transform: translateY(-4px);
}

/* ══════════════════════════════════════
   IMAGE AREA — cream/beige top section
══════════════════════════════════════ */
.vesara-product-image-wrapper {
    position: relative;
    background: #f0ebe3;             /* cream bg matches reference */
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px 7px 0 0;     /* rounded top corners match card */
}

.vesara-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.vesara-product-card:hover .vesara-product-image {
    transform: scale(1.05);
}

/* ── "NEW" badge — gold square, top-left ── */
.vesara-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #C9A961;
    color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 9px;
    z-index: 3;
    border-radius: 3px;
    line-height: 1.2;
}
.vesara-product-badge.sale {
    background: #8B4513;
}

/* ── Wishlist heart — top-right ── */
.vesara-wishlist-btn,
.vesara-wishlist-btn:hover,
.vesara-wishlist-btn:focus,
.vesara-wishlist-btn.active,
.vesara-wishlist-btn.in-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 3;
    padding: 0;
}
.vesara-wishlist-btn svg {
    grid-area: 1 / 1;
    width: 20px;
    height: 20px;
    transition: opacity 0.25s ease, transform 0.25s ease, fill 0.25s ease, stroke 0.25s ease;
}
.vesara-wishlist-btn .vesara-heart-outline {
    opacity: 1;
    transform: scale(1);
    stroke: #ffffff;
    stroke-width: 2px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.4));
}
.vesara-wishlist-btn .vesara-heart-solid {
    opacity: 0;
    transform: scale(0.8);
    fill: #C9A961;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
}

/* Active State */
.vesara-wishlist-btn.active .vesara-heart-outline,
.vesara-wishlist-btn.in-wishlist .vesara-heart-outline {
    opacity: 0;
    transform: scale(0.8);
}
.vesara-wishlist-btn.active .vesara-heart-solid,
.vesara-wishlist-btn.in-wishlist .vesara-heart-solid {
    opacity: 1;
    transform: scale(1);
    fill: #C9A961;
}

/* Hover State for non-active */
.vesara-wishlist-btn:not(.active):not(.in-wishlist):hover .vesara-heart-outline {
    stroke: #C9A961;
}

/* ══════════════════════════════════════
   INFO AREA — white card bottom
══════════════════════════════════════ */
.vesara-product-info {
    background: #ffffff;
    padding: 18px 18px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Product title — bold serif, dark, centered */
.vesara-product-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2a1b0e;
    margin: 0;
    line-height: 1.35;
    text-align: center;
}
.vesara-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.25s ease;
}
.vesara-product-title a:hover { color: #C9A961; }

/* Price — gold, centered */
.vesara-product-price {
    font-family: 'Lato', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #C9A961;
    margin: 0;
    line-height: 1;
}
.vesara-product-price .woocommerce-Price-amount,
.vesara-product-price bdi { color: #C9A961; }
.vesara-product-price del {
    color: #bbb;
    font-weight: 400;
    font-size: 0.8rem;
    margin-right: 4px;
}

/* ADD TO CART button — full-width, gold outline */
.vesara-product-button {
    display: block;
    width: 100%;
    font-family: 'Lato', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    color: #C9A961;
    background: transparent;
    border: 1.5px solid #C9A961;    /* gold border outline button */
    padding: 11px 10px;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    border-radius: 3px;
    margin-top: auto !important; /* Pushes button to bottom for symmetrical alignment */
    box-sizing: border-box;
}
.vesara-product-button:hover {
    background: #C9A961;
    color: #ffffff;
}

/* ── View All link ── */
.vesara-products-footer {
    text-align: center;
    margin-top: 44px;
}
.vesara-products-view-all {
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #C9A961;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
}
.vesara-products-view-all:hover { border-color: #C9A961; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .vesara-products-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .vesara-products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .vesara-new-arrivals-wrap { padding: 44px 20px; }
}
@media (max-width: 480px) {
    .vesara-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .vesara-product-info { padding: 14px 12px 16px; }
}
