/*
 Theme Name:   Kadence Child - Bryce Sunrise
 Theme URI:    https://outbackadventureproducts.com
 Description:  Child theme for Kadence with Bryce Sunrise design system
 Author:       Outback Adventure Products
 Author URI:   https://outbackadventureproducts.com
 Template:     kadence
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  kadence-child
*/

/* === BRYCE SUNRISE OVERRIDES === */

/* Button text: uppercase + letter-spacing */
.wp-block-button__link,
.button,
button[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce .button,
.kb-button {
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    transition: all 250ms ease !important;
}

/* WooCommerce alt buttons: canyon orange */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    background-color: #C2633A !important;
    color: #fff !important;
    border: 2px solid #C2633A !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background-color: #a8532f !important;
    border-color: #a8532f !important;
}

/* Cart / checkout buttons */
.woocommerce .cart .button,
.woocommerce .checkout-button {
    border-radius: 100px !important;
}

/* WooCommerce notices */
.woocommerce-message {
    border-top-color: #3D5A3E !important;
}
.woocommerce-message::before {
    color: #3D5A3E !important;
}

/* Footer styling */
.site-footer {
    background-color: #1E1B18 !important;
    color: #E0D9D0 !important;
}
.site-footer a {
    color: #E0D9D0 !important;
}
.site-footer a:hover {
    color: #C2633A !important;
}
.site-footer .footer-widget-area {
    border-bottom: 1px solid #3A3530 !important;
}

/* === HOMEPAGE SECTIONS === */

/* Hero */
.hp-hero {
    background-color: #1E1B18 !important;
    color: #F5F1EC !important;
}
.hp-hero .wp-block-columns {
    min-height: 520px;
    align-items: center;
}
.hp-eyebrow {
    color: #9BCF53 !important;
    font-family: 'Barlow', sans-serif !important;
}
.hp-hero-heading {
    color: #F5F1EC !important;
    font-family: 'Barlow', sans-serif !important;
}
.hp-accent {
    color: #C2633A !important;
}
.hp-hero-sub {
    color: #E0D9D0 !important;
    font-family: 'Inter', sans-serif !important;
}
.hp-checklist {
    list-style: none !important;
    padding-left: 0 !important;
    color: rgba(224,217,208,0.85) !important;
}
.hp-checklist li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hp-checklist li::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: #9BCF53;
    color: #000;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
    flex-shrink: 0;
}
.hp-cta-btn .wp-block-button__link {
    background-color: #F5F1EC !important;
    color: #1E1B18 !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 100px !important;
    padding: 16px 40px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}
.hp-cta-btn .wp-block-button__link:hover {
    background-color: #C2633A !important;
    color: #fff !important;
}
.hp-hero-img-col {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-hero-image img {
    border-radius: 0 !important;
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Vehicles */
.hp-vehicles {
    background-color: #F5F1EC !important;
}
.hp-vehicles > .wp-block-heading {
    font-family: 'Barlow', sans-serif !important;
    color: #1E1B18 !important;
}
.hp-vehicle-card {
    background: #fff !important;
    border: 1px solid #E0D9D0;
    border-radius: 20px !important;
    padding: 32px 24px 24px !important;
    transition: box-shadow 0.2s ease;
    overflow: hidden;
}
.hp-vehicle-card:hover {
    box-shadow: 0 8px 32px rgba(30,27,24,0.1);
}
.hp-vehicle-card h3 {
    font-family: 'Barlow', sans-serif !important;
    color: #1E1B18 !important;
}
.hp-vehicle-img img {
    max-height: 220px;
    object-fit: contain;
}
.hp-shop-btn .wp-block-button__link {
    background-color: #3D5A3E !important;
    color: #fff !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 100px !important;
    padding: 14px 32px !important;
    font-size: 14px !important;
    transition: background-color 0.2s ease !important;
}
.hp-shop-btn .wp-block-button__link:hover {
    background-color: #C2633A !important;
}

/* Features */
.hp-features {
    background-color: #fff !important;
}
.hp-features > .wp-block-heading {
    font-family: 'Barlow', sans-serif !important;
    color: #1E1B18 !important;
}
.hp-feature-card {
    background: #F5F1EC !important;
    border-radius: 20px !important;
    padding: 0 !important;
    overflow: hidden;
}
.hp-feature-card .hp-feature-img {
    margin-bottom: 0 !important;
}
.hp-feature-card .hp-feature-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0 !important;
}
.hp-feature-card .hp-feature-title,
.hp-feature-card p {
    padding-left: 24px;
    padding-right: 24px;
}
.hp-feature-card p:last-child {
    padding-bottom: 24px;
}
.hp-feature-title {
    font-family: 'Barlow', sans-serif !important;
    color: #1E1B18 !important;
    position: relative;
}
.hp-feature-title::before {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    background: #3D5A3E;
    margin-bottom: 12px;
}

/* Made in USA */
.hp-usa {
    background-color: #1E1B18 !important;
    color: #F5F1EC !important;
}
.hp-usa .hp-eyebrow {
    color: #C2633A !important;
}
.hp-usa .wp-block-heading {
    color: #F5F1EC !important;
    font-family: 'Barlow', sans-serif !important;
}
.hp-stat-card {
    text-align: center;
    border: 1px solid #3A3530;
    border-radius: 12px;
    padding: 32px 16px !important;
}
.hp-stat-label {
    font-family: 'Barlow', sans-serif !important;
    color: #C2633A !important;
}
.hp-stat-card p {
    color: #E0D9D0 !important;
}

/* Testimonial */
.hp-testimonial {
    background-color: #1E1B18 !important;
    color: #F5F1EC !important;
}
.hp-testimonial > .wp-block-heading {
    color: #F5F1EC !important;
    font-family: 'Barlow', sans-serif !important;
}
.hp-quote-card {
    background: rgba(58,53,48,0.5) !important;
    border-radius: 20px !important;
    border-left: 4px solid #C2633A !important;
}
.hp-quote-card p {
    color: #E0D9D0 !important;
}
.hp-quote-name {
    color: #C2633A !important;
    font-family: 'Barlow', sans-serif !important;
}

/* Videos */
.hp-videos {
    background-color: #1E1B18 !important;
}
.hp-video-embed figcaption {
    color: #8A7E72 !important;
    font-size: 13px !important;
    text-align: center;
}

/* Final CTA */
.hp-final-cta {
    background-color: #3D5A3E !important;
    color: #F5F1EC !important;
}
.hp-final-cta .wp-block-heading {
    color: #F5F1EC !important;
    font-family: 'Barlow', sans-serif !important;
}
.hp-final-cta p {
    color: rgba(245,241,236,0.85) !important;
}
.hp-cta-btn-dark .wp-block-button__link {
    background-color: #1E1B18 !important;
    color: #F5F1EC !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 100px !important;
    padding: 16px 40px !important;
    font-size: 15px !important;
    transition: all 0.2s ease !important;
}
.hp-cta-btn-dark .wp-block-button__link:hover {
    background-color: #C2633A !important;
}

/* Hide page title on front page */
.home .entry-header,
.home .page-title,
body.page-template-default.home .entry-title {
    display: none !important;
}

/* Responsive */
@media (max-width: 781px) {
    .hp-hero .wp-block-columns {
        flex-direction: column-reverse !important;
    }
    .hp-hero-image img {
        min-height: 250px !important;
    }
    .hp-vehicle-card {
        margin-bottom: 16px;
    }
    .hp-feature-card {
        margin-bottom: 16px;
    }
}

/* === HOMEPAGE LAYOUT FIX === */
.home .content-container.site-container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.home .entry-content-wrap {
    padding: 0 !important;
}
.home article.entry {
    background: transparent !important;
}
.home .content-area {
    margin-top: 0 !important;
    padding: 0 !important;
}
.home .entry-content-wrap > .wp-block-group:first-child {
    margin-top: 0 !important;
}

/* === SHOP & PRODUCT PAGES === */

/* Shop page title area */
.woocommerce-page .entry-hero-container-inner {
    background-color: #1E1B18 !important;
    padding: 48px 0 !important;
}
.woocommerce-page .entry-hero-container-inner .page-title,
.woocommerce-page .entry-hero-container-inner .archive-title,
.woocommerce-page .entry-hero-container-inner .entry-title {
    color: #F5F1EC !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
}

/* Shop product grid cards */
.woocommerce ul.products li.product {
    border: 1px solid #E0D9D0 !important;
    border-radius: 20px !important;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease !important;
    background: #fff !important;
    padding-bottom: 24px !important;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 8px 32px rgba(30,27,24,0.12) !important;
    transform: translateY(-2px);
}
.woocommerce ul.products li.product a img {
    border-radius: 20px 20px 0 0 !important;
}

/* Product titles in grid */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Barlow', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #1E1B18 !important;
    padding: 12px 16px 4px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
}

/* Prices in grid */
.woocommerce ul.products li.product .price {
    color: #3D5A3E !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 0 16px !important;
}
.woocommerce ul.products li.product .price del {
    color: #8A7E72 !important;
    opacity: 0.7;
}
.woocommerce ul.products li.product .price ins {
    color: #C2633A !important;
    text-decoration: none !important;
    font-weight: 700 !important;
}

/* Sale badge */
.woocommerce span.onsale {
    background-color: #C2633A !important;
    color: #fff !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 100px !important;
    padding: 6px 14px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
}

/* Add to cart / Select options button in grid */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.added_to_cart {
    background-color: #3D5A3E !important;
    color: #fff !important;
    font-family: 'Barlow', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    border-radius: 100px !important;
    padding: 10px 24px !important;
    font-size: 13px !important;
    margin: 12px 16px 0 !important;
    display: inline-block !important;
    transition: background-color 0.2s ease !important;
}
.woocommerce ul.products li.product .button:hover {
    background-color: #C2633A !important;
}

/* Sort/filter bar */
.woocommerce .woocommerce-ordering select {
    border: 1px solid #E0D9D0 !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    padding: 8px 12px !important;
}
.woocommerce .woocommerce-result-count {
    font-family: 'Inter', sans-serif !important;
    color: #8A7E72 !important;
}

/* === SINGLE PRODUCT PAGE === */

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #8A7E72 !important;
    padding: 16px 0 !important;
}
.woocommerce .woocommerce-breadcrumb a {
    color: #3D5A3E !important;
    text-decoration: none !important;
}
.woocommerce .woocommerce-breadcrumb a:hover {
    color: #C2633A !important;
}

/* Product title */
.single-product .product_title {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 800 !important;
    color: #1E1B18 !important;
    font-size: clamp(24px, 2.5vw, 36px) !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

/* Product price */
.single-product .summary .price {
    color: #1E1B18 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}
.single-product .summary .price del {
    color: #8A7E72 !important;
}
.single-product .summary .price ins {
    color: #C2633A !important;
    text-decoration: none !important;
}

/* Product short description */
.single-product .summary .woocommerce-product-details__short-description {
    font-family: 'Inter', sans-serif !important;
    color: #3A3530 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
}
.single-product .summary .woocommerce-product-details__short-description p {
    font-weight: 400 !important;
}

/* Variation selector */
.single-product .variations td.label label {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    color: #1E1B18 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    font-size: 14px !important;
}
.single-product .variations td.value select {
    border: 1px solid #E0D9D0 !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    font-family: 'Inter', sans-serif !important;
}

/* Quantity input */
.single-product .quantity .qty {
    border: 1px solid #E0D9D0 !important;
    border-radius: 8px !important;
    font-family: 'Inter', sans-serif !important;
    padding: 10px !important;
}

/* Stock status */
.single-product .stock {
    font-family: 'Inter', sans-serif !important;
    color: #3D5A3E !important;
    font-size: 14px !important;
}

/* SKU and category meta */
.single-product .product_meta {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    color: #8A7E72 !important;
    border-top: 1px solid #E0D9D0 !important;
    padding-top: 16px !important;
    margin-top: 16px !important;
}
.single-product .product_meta a {
    color: #3D5A3E !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    border-bottom: 2px solid #E0D9D0 !important;
    padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: 2px solid #E0D9D0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    font-size: 14px !important;
    color: #8A7E72 !important;
    padding: 12px 24px !important;
    border-bottom: 3px solid transparent !important;
    transition: all 0.2s ease !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #1E1B18 !important;
    border-bottom-color: #3D5A3E !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #3D5A3E !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

/* Tab content */
.woocommerce div.product .woocommerce-tabs .panel {
    font-family: 'Inter', sans-serif !important;
    color: #3A3530 !important;
    line-height: 1.7 !important;
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 800 !important;
    color: #1E1B18 !important;
    text-transform: uppercase !important;
    font-size: 22px !important;
    letter-spacing: 0.02em !important;
}

/* Related products */
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
    font-family: 'Barlow', sans-serif !important;
    font-weight: 800 !important;
    color: #1E1B18 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    font-size: 24px !important;
}

/* Product gallery thumbnails */
.single-product .flex-control-thumbs li img {
    border-radius: 8px !important;
    border: 1px solid #E0D9D0 !important;
    transition: border-color 0.2s ease !important;
}
.single-product .flex-control-thumbs li img:hover,
.single-product .flex-control-thumbs li img.flex-active {
    border-color: #3D5A3E !important;
}

/* Product image main */
.single-product .woocommerce-product-gallery__image img {
    border-radius: 12px !important;
}
