/*
Theme Name: Chateau Child
Theme URI: https://chateau.qodeinteractive.com
Description: A child theme of Chateau
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: chateau
Template: chateau
*/

/* ==========================================================================
   Global colour variables
   ========================================================================== */
:root {
	--qode-main-color: #96835D;
	--qode-main-hover-color: #817150;
}

/* ==========================================================================
   Typography
   ========================================================================== */
body {
	font-family: "Lora", serif;
}

h1, h2, h3, h4, h5, h6,
.qodef-h1, .qodef-h2, .qodef-h3, .qodef-h4, .qodef-h5, .qodef-h6,
.elementor-widget-heading .elementor-heading-title {
	font-family: "Lora", serif;
	text-transform: uppercase;
	color: #554f44;
}

p,
.elementor-widget-text-editor p {
	font-family: "Lora", serif;
	font-weight: 400;
	color: #615c54;
}

em,
i,
cite,
blockquote,
.wp-block-quote {
	font-family: "Vollkorn", serif;
	font-style: italic;
}

/* ==========================================================================
   Buttons & navigation
   ========================================================================== */
.wp-block-button .wp-block-button__link,
.elementor-button,
a.elementor-button,
input[type="submit"] {
	font-family: "Noto Sans", sans-serif;
	text-transform: uppercase;
	background-color: transparent;
	border: 1px solid #96835D;
	color: #96835D;
}

.wp-block-button .wp-block-button__link:hover,
.elementor-button:hover,
a.elementor-button:hover,
input[type="submit"]:hover {
	background-color: transparent;
	border-color: #817150;
	color: #817150;
}

.qodef-header-navigation > ul > li > a,
.qodef-mobile-header-navigation > ul > li > a,
.elementor-nav-menu a {
	font-family: "Noto Sans", sans-serif;
	text-transform: uppercase;
}

/* ==========================================================================
   Footer
   ========================================================================== */
#qodef-page-footer {
	background-color: #282623;
}


/* body .woocommerce-breadcrumb,
body.single-product .woocommerce-breadcrumb {
    font-family: 'Lora', serif !important;
    font-style: italic !important;
    font-size: 16px !important;
    color: #615c54 !important;
    text-align: right !important;
    margin: 0 0 40px 0 !important;
    padding-top: 70px !important;
}

body .woocommerce-breadcrumb a,
body.single-product .woocommerce-breadcrumb a {
    color: #615c54 !important;
    text-decoration: none !important;
}

body .woocommerce-breadcrumb a:hover,
body.single-product .woocommerce-breadcrumb a:hover {
    color: #96835D !important;
} */

.stonybrook-product-breadcrumb-wrap {
    text-align: right;
    margin: 0 0 40px 0;
    padding: 0;
    background: none;
    height: auto;
    min-height: 0;
    font-size: 14px;
}

.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs,
.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs a,
.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs span {
    font-size: 14px !important;
}
.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs {
    display: inline-flex;
    align-items: center;
}

.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs-separator::before {
   
    margin: 0 8px;
    font-style: normal;
    color: #615c54;
}
.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs-current {
    color: #96835D;
}

.stonybrook-product-breadcrumb-wrap .qodef-breadcrumbs-link {
    text-decoration: underline;
}

/* 
 * Fix: Product page title was invisible (white text on white background)
 * Overrides theme's global "h1, .qodef-h1" white color rule, scoped to
 * product pages only so other pages (e.g. hero banners with white H1
 * text) aren't affected.
 * Added: July 2026 — Stony Brook Vineyards site
 */
/* .single-product h1.entry-title,
.single-product .qodef-woo-product-title {
    color: #554f44 !important;
}

.qodef-woo-single-image {
    width: 590px !important;
    max-width: 590px !important;
    margin: 0 auto !important;
}
.qodef-woo-single-image .woocommerce-product-gallery {
    width: 100%;
    display: block !important;
    grid-template-columns: none !important;
}

.qodef-woo-thumbnails-wrapper {
    display: none !important;
}

.woocommerce-product-gallery__wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd3b8;
    overflow: hidden;
}

.woocommerce-product-gallery__image,
.woocommerce-product-gallery__image a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.woocommerce-product-gallery__image img.wp-post-image {
    width: auto !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    float: none !important;
    position: static !important;
    transform: scale(1.25);
    transform-origin: center center;
} */

#qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper a, #qodef-woo-page.qodef--single .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper img, #yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper a, #yith-quick-view-content.single-product .woocommerce-product-gallery.qodef-position--left .woocommerce-product-gallery__wrapper img {
    height: 80%;
    object-fit: cover;
}
.qodef-woo-product-title.woocommerce-loop-product__title a.woocommerce-LoopProduct-link {
    text-decoration: none;
}

.qodef-woo-product-title.woocommerce-loop-product__title a.woocommerce-LoopProduct-link:hover,
.qodef-woo-product-title.woocommerce-loop-product__title a.woocommerce-LoopProduct-link:focus,
.qodef-woo-product-title.woocommerce-loop-product__title a.woocommerce-LoopProduct-link:visited {
    text-decoration: none;
}

.qodef-h6 a, h6 a {
    font-family: inherit;
    font-size: inherit;
    font-weight: 500;
    font-style: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

/* =================================
   RELATED PRODUCTS SECTION
   Full-bleed background, contained content
================================= */

section.related.products {
    background-color: #f3efe7;
    width: var(--real-vw, 100vw);
    margin-left: calc(50% - (var(--real-vw, 100vw) / 2));
    margin-right: calc(50% - (var(--real-vw, 100vw) / 2));
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}

section.related.products > * {
    max-width: 1300px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
    position: relative;
}

body section.related.products > h2 {
    text-align: center !important;
    width: 100% !important;
    margin-bottom: 40px !important;
}

section.related.products .qodef-e-inner {
    background-color: #ffffff;
    padding: 20px 20px 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-radius: 2px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
section.related.products .qodef-info-separator-single {
    display: none;
}
section.related.products .qodef-woo-product-list {
    width: 100%;
    display: flex;
    justify-content: center;
}

section.related.products ul.products {
    width: 100%;
    max-width: 100%;
}
section.related.products h2 {
    text-align: center !important;
    width: 100% !important;
    max-width: 1300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 40px !important;
    display: block !important;
}


.stony-shop-country-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stony-shop-country-modal__box {
    position: relative;
    background: #fff;
    max-width: 420px;
    width: 90%;
    padding: 40px;
    font-family: 'Lora', serif;
}
.stony-shop-country-modal__box h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 12px;
    font-size: 20px;
}
.stony-shop-country-modal__box p {
    color: #555;
    margin: 0 0 24px;
    font-size: 14px;
}
.stony-shop-country-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}
.stony-country-select {
    position: relative;
}
.stony-country-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    padding: 14px 16px;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 15px;
    color: #555;
    cursor: pointer;
}
.stony-country-select__chevron {
    font-style: normal;
    color: #888;
    transition: transform .15s ease;
}
.stony-country-select.is-open .stony-country-select__chevron {
    transform: rotate(180deg);
}
.stony-country-select__list {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 260px;
    overflow-y: auto;
    z-index: 1;
}
.stony-country-select.is-open .stony-country-select__list {
    display: block;
}
.stony-country-select__list li {
    padding: 12px 16px;
    font-style: italic;
    font-size: 15px;
    color: #6d5b3e;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}
.stony-country-select__list li:last-child {
    border-bottom: none;
}
.stony-country-select__list li:hover {
    background: #faf8f4;
    color: #a68a58;
}
.stony-country-select__list li.is-selected {
    background: #faf8f4;
    color: #a68a58;
}
.stony-country-select.is-loading .stony-country-select__trigger {
    cursor: default;
    opacity: 0.7;
}
.stony-country-select__status {
    margin: 10px 0 0 0 !important;
    padding: 0px 10px;
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: 13px;
    color: #a68a58;
    min-height: 1em;
}
.stony-country-select__status:empty {
    margin: 0 !important;
    padding: 0;
    min-height: 0;
}

.stony-shipping-included-line {
    border-bottom: none !important;
}
.wp-block-woocommerce-cart-order-summary-totals-block {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* =================================
   CHECKOUT: hide duplicate mobile order summary
   Moved from an inline <style> in functions.php (stony_hide_duplicate_mobile_order_summary)
================================= */
.wc-block-checkout__actions .wp-block-woocommerce-checkout-order-summary-block {
    display: none !important;
}

/* =================================
   AGE VERIFICATION GATE
   Moved from an inline <style> in functions.php (stony_age_verification_gate)
================================= */
.stony-age-gate {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.stony-age-gate__box {
    background: white;
    max-width: 420px;
    width: 90%;
    padding: 40px 30px 30px 30px;
    text-align: center;
    font-family: 'Lora', serif;
}
.stony-age-gate__box h2 {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #554f44;
    margin: 0 0 15px;
    font-size: 24px;
    font-weight: 500;
}
.stony-age-gate__box p {
    font-size: 16px;
    text-transform: normal;
    letter-spacing: 0.5px !important;
    margin: 0 0 25px;
    color: #615c54;
}
.stony-age-gate__actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}
.stony-age-gate__actions button {
    flex: 1;
    padding: 16px 0;
    background: transparent;
    border: 1px solid #96835D;
    color: #96835D;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 700;
}
.stony-age-gate__actions button:hover {
    background: #817150;
    color: #EEE7DC;
    border-color: #817150;
}

