/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/* ============================================================
   FEATURED WINE (Single C7 Collection Module)
   CLASS: .homepage-single-featured-wine
   ============================================================ */

/* —— COLLECTION STRUCTURE —— */
.homepage-single-featured-wine .c7-product-collection__product-list {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto !important;
}

.homepage-single-featured-wine .c7-product {
    display: grid !important;
    grid-template-columns: 35% 1fr !important; /* image left / content right */
    align-items: center !important;
    gap: 2rem !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.homepage-single-featured-wine .c7-product:hover { 
	box-shadow: none!important; 
	transform: none!important; }


/* —— DESKTOP BOTTLE SIZE (Your original large version) —— */
.homepage-single-featured-wine .c7-product-collection .c7-product__image, .c7-product-allocation .c7-product__image { 
	flex: 1; flex-basis: 300px; 
	align-items: flex-start!important; 
	justify-content: flex-start!important; 
	z-index: 9!important; }

.homepage-single-featured-wine .c7-product__image img {
    max-height: 750px !important;      /* BIG bottle, matches your original */
    margin-top: -200px !important;      /* Your original dramatic vertical offset */
}

/* —— TEXT ALIGNMENT —— */
.homepage-single-featured-wine .c7-product__title,
.homepage-single-featured-wine .c7-product__subtitle,
.homepage-single-featured-wine .c7-product__teaser {
    text-align: left !important;
}

.homepage-single-featured-wine .c7-product__add-to-cart {
    text-align: left !important;
}

/* —— MOBILE VERSION —— */
@media only screen and (max-width: 767px) {

    /* Stack layout */
    .homepage-single-featured-wine .c7-product {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 1.5rem !important;
    }

    /* Smaller bottle for mobile */
    .homepage-single-featured-wine .c7-product__image {
        max-width: 220px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }

    .homepage-single-featured-wine .c7-product__image img {
        max-height: 360px !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 0 !important;      /* No offset on mobile */
        object-fit: contain !important;
    }

    /* Center text */
    .homepage-single-featured-wine .c7-product__details {
        text-align: center !important;
    }
}



/* Nested text (span inside button) */
.c7-btn span,
.c7-btn--primary span {
    color: #ffffff !important;
}


/* Nav Cart */

.c7-user-nav__cart > button {
	color: #ffffff!important;
	background: rgba(255, 255, 255, .15)!important;
}

/*Checkout*/

.c7-tabs button {
	border: 2px solid #efefef!important;
	box-shadow: none!important;
}


