/* =====================================================
   WooCommerce Product Carousel – Luxury Jewellery
   ===================================================== */

/* Google Font – elegant serif for luxury feel */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* ── Wrapper ───────────────────────────────────────── */
.wpc-carousel-wrapper {
    position: relative;
    padding: 0 52px;
    user-select: none;
}

/* ── Swiper container ──────────────────────────────── */
.wpc-swiper {
    width: 100%;
    padding-bottom: 48px !important;
}

.wpc-swiper .swiper-slide {
    height: auto;            /* let flexbox stretch cards */
    display: flex;
}

/* ── Card ──────────────────────────────────────────── */
.wpc-product-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #ebebeb;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    width: 100%;
    display: flex;
    flex-direction: column;   /* image / info stack */
    /* NO hover effects */
    transform: none !important;
    transition: none !important;
}

.wpc-product-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07) !important;
    transform: none !important;
}

/* ── Image ─────────────────────────────────────────── */
.wpc-product-image-link {
    display: block;
    width: 100%;
    flex-shrink: 0;
}

.wpc-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f4f4f4;
}

.wpc-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none !important;
    transform: none !important;
}

.wpc-product-card:hover .wpc-product-image img {
    transform: none !important;
}

/* ── Info ──────────────────────────────────────────── */
.wpc-product-info {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;                   /* stretch so button always at bottom */
    gap: 0;
}

/* ── Title ─────────────────────────────────────────── */
.wpc-product-title {
    margin: 0 0 5px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #1c1c1c;
    letter-spacing: 0.1px;
}

.wpc-product-title a {
    color: inherit;
    text-decoration: none;
}

.wpc-product-title a:hover {
    color: inherit;
    text-decoration: none;
}

/* ── Category ──────────────────────────────────────── */
.wpc-product-category {
    font-family: 'Jost', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #9a9a9a;
    margin: 0;
    line-height: 1.5;
}

/* ── Divider between text and button ──────────────── */
.wpc-card-divider {
    width: 100%;
    height: 1px;
    background: #f0f0f0;
    margin: 14px 0 16px;
    flex-shrink: 0;
}

/* ── Spacer pushes button to bottom ───────────────── */
.wpc-whatsapp-wrap {
    margin-top: auto;
    padding-top: 0;
    width: 100%;
}

/* ── WhatsApp Button ───────────────────────────────── */
.wpc-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    font-family: 'Jost', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.4px;
    background-color: #05583b;
    color: #ffffff !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    transition: none !important;
    box-shadow: none;
}

.wpc-whatsapp-btn:hover,
.wpc-whatsapp-btn:focus,
.wpc-whatsapp-btn:active,
.wpc-whatsapp-btn:visited {
    background-color: #05583b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.wpc-wa-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* ── Sale Badge ────────────────────────────────────── */
.wpc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: #05583b;
    color: #fff;
    font-family: 'Jost', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
}

/* ── Navigation Arrows ─────────────────────────────── */
.wpc-btn-prev,
.wpc-btn-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid #d5d5d5;
    background: #ffffff;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
    transition: none;
}

.wpc-btn-prev:hover,
.wpc-btn-next:hover {
    transform: translateY(-50%);
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

.wpc-btn-prev { left: 0; }
.wpc-btn-next { right: 0; }

/* ── Pagination ────────────────────────────────────── */
.wpc-pagination.swiper-pagination {
    bottom: 12px;
}

.swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: #d0d0d0;
    opacity: 1;
    border-radius: 50%;
    transition: none;
}

.swiper-pagination-bullet-active {
    background: #05583b;
    width: 22px;
    border-radius: 4px;
    transform: none;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 1024px) {
    .wpc-carousel-wrapper { padding: 0 46px; }
}

@media (max-width: 768px) {
    .wpc-carousel-wrapper { padding: 0 38px; }
    .wpc-btn-prev,
    .wpc-btn-next { width: 34px; height: 34px; }
    .wpc-product-info { padding: 14px 16px 18px; }
    .wpc-product-title { font-size: 16px; }
}
