/* --- Scoped Wrapper to prevent theme conflicts --- */
.haanhaute-wrapper.artisanal-collection {
    /* Mapping WP Global Colors with fallbacks */
    --text-main: var(--wp--preset--color--palette-color-2, #333333);
    --text-muted: var(--wp--preset--color--palette-color-1, #666666);
    --bg-white: var(--wp--preset--color--palette-color-8, #ffffff);
    --bg-soft: #f9f9f9;

    background-color: var(--bg-white);
    color: var(--text-main);
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    font-family: sans-serif;
    /* Base font fallback */
}

/* --- Container & Layout --- */
.haanhaute-wrapper .luxe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 5% 100px;
}

.haanhaute-wrapper .product-row {
    display: flex;
    align-items: center;
    margin-bottom: 120px;
    gap: 60px;
}

/* Alternating Layout: Even rows reverse direction */
.haanhaute-wrapper .product-row:nth-child(even) {
    flex-direction: row-reverse;
}

/* --- Image Styling --- */
.haanhaute-wrapper .product-image {
    flex: 1.2;
    overflow: hidden;
    border-radius: 2px;
    aspect-ratio: 4/5;
    background-color: var(--bg-soft);
}

.haanhaute-wrapper .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
    display: block;
}

.haanhaute-wrapper .product-image:hover img {
    transform: scale(1.08);
}

/* --- Content Styling --- */
.haanhaute-wrapper .product-info {
    flex: 0.8;
    padding: 20px;
    text-align: left;
    /* Ensures left alignment like your screenshot */
}

/* Small label above title (01 - Exclusive) */
.haanhaute-wrapper .product-info span.meta-label {
    font-size: 0.65rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 15px;
}

/* Product Title */
.haanhaute-wrapper .product-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0 0 15px 0;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    color: var(--text-main);
}

.haanhaute-wrapper .product-info h2 a {
    text-decoration: none;
    color: inherit;
}

/* --- FIXED PRICE SECTION --- */
.haanhaute-wrapper .price-tag {
    /* Flexbox keeps currency symbol and number on the same line */
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: nowrap;

    /* Spacing & Typography */
    margin-bottom: 35px;
    font-family: 'Playfair Display', serif;
    /* Matches title font */
    font-size: 1.5rem;
    /* Larger luxury size */
    font-weight: 400;
    color: var(--text-main);
    line-height: 1;
    width: 100%;
}

/* Force WooCommerce internal price spans to stay inline */
.haanhaute-wrapper .price-tag span,
.haanhaute-wrapper .price-tag bdi,
.haanhaute-wrapper .price-tag .woocommerce-Price-currencySymbol {
    display: inline !important;
    font-weight: inherit !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    font-size: 1rem;
}

/* Styling for sale items (strikethrough price) */
.haanhaute-wrapper .price-tag del {
    font-size: 0.9rem;
    opacity: 0.5;
    margin-right: 10px;
    text-decoration: line-through;
}

/* --- Premium Button --- */
.haanhaute-wrapper .luxe-btn {
    display: inline-block;
    padding: 18px 45px;
    border: 1px solid var(--text-main);
    text-decoration: none !important;
    color: var(--text-main) !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 3px;
    transition: all 0.5s ease;
    background: transparent;
    text-align: center;
    min-width: 200px;
    /* Ensures button has substantial width */
}

.haanhaute-wrapper .luxe-btn:hover {
    background-color: var(--text-main);
    color: var(--bg-white) !important;
    letter-spacing: 5px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 850px) {

    .haanhaute-wrapper .product-row,
    .haanhaute-wrapper .product-row:nth-child(even) {
        flex-direction: column;
        margin-bottom: 80px;
        gap: 30px;
    }

    .haanhaute-wrapper .luxe-container {
        padding-bottom: 50px;
        padding-top: 30px;
    }

    .haanhaute-wrapper .luxe-btn {
        display: block;
        width: 100%;
    }

    .haanhaute-wrapper .product-info {
        width: 100%;
        padding: 0;
        text-align: center;
        /* Center align text on mobile for better balance */
    }

    /* Center the price on mobile too */
    .haanhaute-wrapper .price-tag {
        justify-content: center;
        width: 100%;
    }
}