/* =========================
   BASE CSS — BAMBU THEME
   Replaces astra-parent-style
========================= */

/* CSS VARIABLES */

:root {
    --color-primary:      #7c3aed;
    --color-primary-dark: #6d28d9;
    --color-primary-light: rgba(124,58,237,0.08);
    --color-text:         #111111;
    --color-text-muted:   #666666;
    --color-bg:           #f3eeff;
    --color-border:       #eeeeee;
    --container-max:      1400px;
    --container-pad:      clamp(20px, 5vw, 100px);
    --radius-sm:          8px;
    --radius-md:          12px;
    --radius-lg:          18px;
    --transition:         0.2s ease;
}

/* BOX SIZING */

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* DOCUMENT */

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: clip;
}

/* BODY */

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background: var(--color-bg);
    letter-spacing: -0.2px;
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    max-width: 100%;
    overflow-x: clip;
}

/* HEADINGS */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

/* PARAGRAPHS */

p {
    margin: 0;
}

/* LINKS */

a {
    color: inherit;
    text-decoration: none;
}

/* LISTS */

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* IMAGES */

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* BUTTONS */

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

/* INPUTS */

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    border-radius: 0;
}

/* FOCUS */

:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* TABLES */

table {
    border-collapse: collapse;
    width: 100%;
}

/* CONTAINER UTILITY */

.bambu-container {
    max-width: var(--container-max);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    box-sizing: border-box;
}

main.bambu-container {
    background: #f3eeff;
}

/* WOOCOMMERCE PAGE WRAPPER */

.woocommerce-page .content-area,
.woocommerce-page #primary {
    width: 100%;
    max-width: 100%;
    flex: none;
    float: none;
}

/* HIDE CUSTOM BREADCRUMBS GLOBALLY */
.bambu-breadcrumbs,
.bambu-breadcrumbs__list {
    display: none !important;
}

/* HIDE WOOCOMMERCE BACKORDER STOCK NOTICE */
.stock.available-on-backorder,
p.stock.available-on-backorder {
    display: none !important;
}

/* GLOBAL SPACING */

section {
    margin-bottom: 60px;
}

/* BODY BG */

body {
    background: #f3eeff;
}














/* MOBILE */

@media (max-width: 768px){

    .bambu-container{
        padding-left:20px;
        padding-right:20px;
    }

}


/* ===========================
   WOOCOMMERCE: HIDE DEFAULT PAGE TITLES
   Cart/Checkout/Account use custom headings.
   .page-title on checkout = OUR custom heading (keep it).
   .store-title on cart    = OUR custom heading (keep it).
   .bambu-account-title    = OUR custom heading (keep it).
   Hide everything else WC might inject.
=========================== */

/* Cart: WC may inject h1.page-title — our heading uses .store-title */
.woocommerce-cart .page-title {
    display: none;
}

/* Account: WC may inject h1.page-title — our heading uses .bambu-account-title */
.woocommerce-account .page-title {
    display: none;
}

/* All transactional pages: hide WC archive title and breadcrumb if rendered */
.woocommerce-cart .woocommerce-products-header__title,
.woocommerce-cart .woocommerce-breadcrumb,
.woocommerce-checkout .woocommerce-products-header__title,
.woocommerce-checkout .woocommerce-breadcrumb,
.woocommerce-account .woocommerce-products-header__title,
.woocommerce-account .woocommerce-breadcrumb {
    display: none;
}