/*
Theme Name:   OceanWP Child — YANA
Description:  OceanWP child theme for YANA Enterprises Inc.
Author:       YANA Enterprises Inc.
Template:     oceanwp
Version:      1.1.0
*/

/* ━━━ SINGLE PRODUCT PAGE — YANA BRAND STYLES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* 1. Hide sidebar — belt-and-suspenders across all OceanWP sidebar selectors */
.single-product #sidebar,
.single-product aside#sidebar,
.single-product .widget-area,
.single-product .oceanwp-sidebar-wrap,
.woocommerce-page.single-product #sidebar,
.woocommerce-page.single-product .widget-area {
    display: none !important;
}

/* 2. Expand content area to full width once sidebar is gone */
.single-product #content-wrap,
.single-product .content-area,
.single-product #primary,
.single-product .oceanwp-row > #content,
.single-product.sidebar-right #content-wrap,
.single-product.sidebar-left  #content-wrap,
.woocommerce-page.single-product #content-wrap,
.woocommerce-page.single-product .content-area {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 3. Product price — YANA gold */
.woocommerce .woocommerce-Price-amount,
.woocommerce-page .woocommerce-Price-amount,
.single-product .price .woocommerce-Price-amount,
.single-product .price ins .woocommerce-Price-amount,
.single-product .summary .price {
    color: #917B4C !important;
    font-weight: 700 !important;
}
.single-product .price del .woocommerce-Price-amount {
    color: #bbb !important;
    font-weight: 400 !important;
}

/* 4. Add to Cart button */
.woocommerce .single_add_to_cart_button,
.woocommerce-page .single_add_to_cart_button,
.woocommerce form.cart .single_add_to_cart_button.button {
    background-color: #4E3629 !important;
    border-color:     #4E3629 !important;
    color:            #ffffff !important;
    font-weight:      700 !important;
    text-transform:   uppercase !important;
    letter-spacing:   1px !important;
    border-radius:    4px !important;
    padding:          14px 32px !important;
    font-size:        14px !important;
    transition:       background-color .2s ease, border-color .2s ease !important;
}
.woocommerce .single_add_to_cart_button:hover,
.woocommerce-page .single_add_to_cart_button:hover {
    background-color: #917B4C !important;
    border-color:     #917B4C !important;
}

/* 5. Product title */
.single-product h1.product_title.entry-title {
    color:       #4E3629 !important;
    font-weight: 700 !important;
}

/* 6. Quantity input */
.woocommerce .quantity .qty {
    border:        2px solid #d4c4b0 !important;
    border-radius: 4px !important;
    color:         #4E3629 !important;
    font-weight:   600 !important;
    text-align:    center !important;
}
.woocommerce .quantity .qty:focus {
    border-color: #917B4C !important;
    outline:      none !important;
}

/* 7. Product tabs */
.woocommerce .woocommerce-tabs ul.tabs li a {
    color: #666 !important;
    font-weight: 600 !important;
}
.woocommerce .woocommerce-tabs ul.tabs li a:hover {
    color: #4E3629 !important;
}
.woocommerce .woocommerce-tabs ul.tabs li.active a {
    color:            #4E3629 !important;
    border-top:       3px solid #917B4C !important;
    background-color: #ffffff !important;
}

/* 8. General WC buttons (cart, checkout, etc.) */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button:not(.single_add_to_cart_button) {
    background-color: #917B4C !important;
    color:            #ffffff !important;
    border-radius:    4px !important;
    font-weight:      600 !important;
    transition:       background-color .2s ease !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #4E3629 !important;
    color:            #ffffff !important;
}

/* 9. Breadcrumbs */
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
    color: #917B4C !important;
}
.woocommerce .woocommerce-breadcrumb a:hover {
    color: #4E3629 !important;
}

/* 10. Product meta (SKU, Category, Tags) */
.single-product .product_meta {
    color:     #666 !important;
    font-size: 13px !important;
}
.single-product .product_meta a {
    color:       #917B4C !important;
    font-weight: 600 !important;
}
.single-product .product_meta a:hover {
    color: #4E3629 !important;
}

/* 11. Related / upsell products */
.single-product .related.products > h2,
.single-product .upsells.products > h2 {
    color:          #4E3629 !important;
    border-bottom:  2px solid #917B4C !important;
    padding-bottom: 8px !important;
    font-weight:    700 !important;
}
.single-product .related.products a.button,
.single-product .upsells.products a.button {
    background-color: #4E3629 !important;
    color:            #ffffff !important;
}
.single-product .related.products a.button:hover,
.single-product .upsells.products a.button:hover {
    background-color: #917B4C !important;
}
.single-product .related .woocommerce-Price-amount,
.single-product .upsells .woocommerce-Price-amount {
    color: #917B4C !important;
}

/* 12. Star ratings */
.woocommerce .star-rating span,
.woocommerce .star-rating::before {
    color: #917B4C !important;
}

/* 13. Stock status */
.woocommerce .stock.in-stock {
    color:       #2e7d32 !important;
    font-weight: 600 !important;
}
.woocommerce .stock.out-of-stock {
    color:       #c62828 !important;
    font-weight: 600 !important;
}
