/*
Theme Name: Baker FSE Theme
Description: Full Site Editing theme matching the complete Baker layout.
Version: 1.2
*/

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Poppins:wght@400;500;600&display=swap');

:root {
    color-scheme: light;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #FFF9F2;
    color: #333333;
}

.font-script {
    font-family: 'Dancing Script', cursive;
}

/* Sections & Background Variants */
.bg-dark-wine {
    background: linear-gradient(135deg, #874b4d 0%, #4a2324 100%);
    color: #ffffff;
    position: relative;
}

.bg-cream {
    background-color: #FFF9F2;
    color: #333333;
    position: relative;
}

/* Wavy Dividers */
.wave-divider-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
}
.wave-divider-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
}

/* Buttons */
.btn-glass {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 8px 20px;
    backdrop-filter: blur(5px);
    text-decoration: none;
}
.btn-solid-orange {
    background: #d47b6a;
    color: #ffffff !important;
    border-radius: 30px;
    padding: 10px 25px;
    text-decoration: none;
    display: inline-block;
}
.btn-solid-orange.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    border-radius: 25px;
}
.btn-solid-dark {
    background: #000000;
    color: #ffffff !important;
    border-radius: 30px;
    padding: 12px 40px;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.btn-gradient {
    background: linear-gradient(90deg, #d47b6a 0%, #e6a07c 100%);
    color: #ffffff !important;
    border-radius: 30px;
    padding: 10px 25px;
    text-decoration: none;
    display: inline-block;
}

/* Hero Composition */
.hero-composition {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    min-height: 420px;
}
.hero-donut-image {
    margin: 0;
    position: absolute;
    right: 20px;
    top: 10px;
    width: 300px;
    z-index: 1;
}
.hero-donut-image img {
    width: 100%;
    height: auto;
}
.float-card {
    position: absolute;
    left: -20px;
    top: 20px;
    width: 160px;
    text-align: center;
    padding: 15px;
    background: #ffffff;
    color: #333333;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    z-index: 5;
    border-radius: 18px;
}

/* Cards & Components */
.card-box {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}
.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #ffffff;
    color: #874b4d;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
}

/* Mobile layout fixes */
@media (max-width: 782px) {
    header.bg-dark-wine {
        flex-wrap: wrap !important;
        row-gap: 14px;
    }
    header.bg-dark-wine .wp-block-navigation {
        width: 100%;
        justify-content: flex-start !important;
    }

    .hero-composition {
        min-height: 0;
        max-width: 320px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-donut-image {
        position: static;
        width: 220px;
        margin: 0 0 20px !important;
        order: 1;
    }
    .float-card {
        position: static;
        width: 100%;
        max-width: 280px;
        margin: 0 0 16px;
        order: 2;
    }

    .product-horizontal-card {
        flex-wrap: wrap !important;
    }
    .product-horizontal-card img {
        width: 100% !important;
        height: auto !important;
        max-height: 200px;
        object-fit: cover;
        margin: 0 0 15px 0 !important;
    }
}

.single-product .product .images,
.single-product .wp-block-woocommerce-product-image,
.single-product .woocommerce-product-gallery {
  max-width: 450px;
  margin: 0 auto;
}
.single-product .product .images img,
.single-product .wp-block-woocommerce-product-image img,
.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}