:root {
    --bady-green: #116149;
    --bady-green-dark: #093f31;
    --bady-green-soft: #dff2e9;
    --bady-mint: #eef8f3;
    --bady-cream: #faf7ef;
    --bady-ink: #20263d;
    --bady-muted: #687080;
    --bady-line: #e3e8e5;
    --bady-white: #fff;
    --bady-shadow-sm: 0 10px 28px rgba(25, 54, 43, .06);
    --bady-shadow: 0 24px 65px rgba(25, 54, 43, .12);
}

/* Compact store header */
#header { margin-bottom: 0; background: #fff; border-bottom: 1px solid #edf0ee; }
#header.classic .menu-wrapper .grid-container { padding-top: 28px; }
#header.classic .logo { margin: 0 auto; }
#header .logo.text-logo a { font-size: 34px; line-height: 1; }
#header .logo .tagline { margin-top: 8px; color: var(--bady-muted); font-size: 13px; }
#header.classic nav { margin: 22px 0 16px; }
#header ul.menu { border: 1px solid #edf0ee; border-radius: 14px; box-shadow: var(--bady-shadow-sm); }
#header ul.menu > li > a { padding-top: 16px; padding-bottom: 16px; }
#header.classic .epcl-social-buttons { display: none !important; }
#header.classic .epcl-search-button { top: 44px; width: 46px; height: 46px; line-height: 46px; }
#header.enable-sticky.is-stuck .logo .tagline { display: none; }
#header.enable-sticky.is-stuck .grid-container { min-height: 70px; }

.bady-store-home { overflow: hidden; background: #fff; color: var(--bady-ink); }
.bady-store-home h1,
.bady-store-home h2,
.bady-store-home h3 { color: var(--bady-ink); letter-spacing: -.035em; }
.bady-kicker { display: block; margin-bottom: 12px; color: var(--bady-green); font: 800 11px/1.4 Arial, sans-serif; letter-spacing: .17em; }

/* Hero */
.bady-hero { position: relative; padding: 64px 0 70px; background: radial-gradient(circle at 86% 10%, rgba(110, 198, 155, .2), transparent 30%), linear-gradient(135deg, #f8fbf8 0%, #faf6ed 100%); }
.bady-hero:after { position: absolute; right: -130px; bottom: -180px; width: 430px; height: 430px; border: 1px solid rgba(17, 97, 73, .09); border-radius: 50%; content: ''; }
.bady-hero__grid { direction: ltr; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.bady-hero__copy { grid-column: 1; min-width: 0; }
.bady-hero__visual { grid-column: 2; position: relative; z-index: 1; padding: 34px; border: 1px solid rgba(17, 97, 73, .13); border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: var(--bady-shadow); }
.bady-hero h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(40px, 4.1vw, 58px); line-height: 1.04; }
.bady-hero__copy > p:not(.bady-disclaimer) { max-width: 700px; margin: 0; color: var(--bady-muted); font-size: 18px; line-height: 1.65; }
.bady-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 26px; }
.bady-button { display: inline-flex; min-height: 50px; padding: 0 24px; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--bady-green); border-radius: 13px; font: 800 14px/1 Arial, sans-serif; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.bady-button--primary { background: var(--bady-green); color: #fff !important; box-shadow: 0 10px 24px rgba(17, 97, 73, .2); }
.bady-button--primary:hover { background: var(--bady-green-dark); transform: translateY(-2px); }
.bady-button--ghost { background: rgba(255, 255, 255, .85); color: var(--bady-green) !important; }
.bady-button--ghost:hover { background: var(--bady-mint); transform: translateY(-2px); }
.bady-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.bady-hero__meta span { padding: 9px 12px; border: 1px solid rgba(17, 97, 73, .12); border-radius: 10px; background: rgba(255, 255, 255, .65); color: var(--bady-muted); font-size: 12px; }
.bady-hero__meta b { margin-right: 4px; color: var(--bady-green); }
.bady-hero .bady-disclaimer { max-width: 680px; margin: 0; color: #747b76; font-size: 12px; line-height: 1.55; }
.bady-hero__visual-top { display: flex; align-items: center; gap: 10px; color: var(--bady-green); font: 800 12px/1 Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.bady-hero__visual-icon { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 11px; background: var(--bady-green-soft); font-size: 17px; }
.bady-hero__visual h2 { margin: 22px 0 12px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.12; }
.bady-hero__visual > p { margin: 0; color: var(--bady-muted); line-height: 1.6; }
.bady-hero__visual ul { margin: 24px 0; padding: 0; list-style: none; }
.bady-hero__visual li { display: flex; gap: 10px; padding: 9px 0; color: #445047; font-size: 14px; }
.bady-hero__visual li span { display: inline-flex; width: 22px; height: 22px; flex: 0 0 22px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bady-green-soft); color: var(--bady-green); font-weight: 800; }
.bady-hero__contact { display: flex; padding: 15px 17px; align-items: center; justify-content: space-between; gap: 18px; border-radius: 14px; background: var(--bady-green); color: #fff !important; }
.bady-hero__contact small { color: rgba(255, 255, 255, .76); }
.bady-hero__contact strong { font-size: 17px; }

/* Sections and cards */
.bady-section { padding-top: 72px; padding-bottom: 72px; }
.bady-section__head { display: flex; margin-bottom: 30px; align-items: flex-end; justify-content: space-between; gap: 25px; }
.bady-section__head h2,
.bady-help h2 { margin: 0; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; }
.bady-section__head > a { color: var(--bady-green); font-weight: 800; white-space: nowrap; }
.bady-category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bady-category-card { position: relative; display: flex; min-height: 185px; padding: 24px; flex-direction: column; border: 1px solid transparent; border-radius: 20px; color: var(--bady-ink) !important; transition: transform .22s ease, box-shadow .22s ease; }
.bady-category-card--mint { background: #edf8f3; }
.bady-category-card--sand { background: #faf3e5; }
.bady-category-card--rose { background: #faeeee; }
.bady-category-card--blue { background: #eef4fa; }
.bady-category-card:hover { transform: translateY(-5px); box-shadow: var(--bady-shadow-sm); }
.bady-category-card__icon { display: flex; width: 44px; height: 44px; margin-bottom: 28px; align-items: center; justify-content: center; border-radius: 13px; background: rgba(255, 255, 255, .75); color: var(--bady-green); font-size: 21px; font-weight: 800; }
.bady-category-card__arrow { position: absolute; top: 25px; right: 25px; color: var(--bady-green); font-size: 18px; }
.bady-category-card strong { margin-bottom: 8px; font-size: 17px; line-height: 1.35; }
.bady-category-card small { color: var(--bady-muted); line-height: 1.45; }

/* Product grids */
.bady-products-section { background: #f6f8f6; }
.bady-product-loop ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 !important; }
.bady-product-loop ul.products:before,
.bady-product-loop ul.products:after { display: none !important; }
.bady-product-loop ul.products li.product,
.woocommerce-page ul.products li.product { overflow: hidden; float: none !important; width: auto !important; margin: 0 !important; padding: 14px 14px 18px !important; border: 1px solid var(--bady-line); border-radius: 18px; background: #fff; box-shadow: var(--bady-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.bady-product-loop ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--bady-shadow); }
.woocommerce ul.products li.product a img { margin-bottom: 14px !important; border-radius: 13px; background: #f6f7f5; aspect-ratio: 1 / 1; object-fit: contain; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 54px; padding: 0 !important; color: var(--bady-ink); font-size: 15px !important; line-height: 1.42; }
.woocommerce ul.products li.product .price { margin: 8px 0 13px; color: var(--bady-green) !important; font-size: 18px !important; font-weight: 800; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit { min-height: 42px; padding: 0 17px !important; border-radius: 11px !important; background: var(--bady-green) !important; color: #fff !important; font-weight: 800 !important; line-height: 42px !important; }

/* Shop and product-category archives */
.woocommerce-shop #primary,
.tax-product_cat #primary { max-width: 1288px; margin: 0 auto; padding: 42px 24px 78px; }
.woocommerce-shop .woocommerce-breadcrumb,
.tax-product_cat .woocommerce-breadcrumb { margin: 0 0 18px; color: var(--bady-muted); font-size: 12px; }
.woocommerce-shop .woocommerce-products-header,
.tax-product_cat .woocommerce-products-header { margin-bottom: 24px; }
.woocommerce-shop .woocommerce-products-header__title,
.tax-product_cat .woocommerce-products-header__title { margin: 0; color: var(--bady-ink); font-size: clamp(34px, 4vw, 50px); line-height: 1.1; }
.woocommerce-shop .woocommerce-result-count,
.tax-product_cat .woocommerce-result-count { margin: 12px 0 28px; color: var(--bady-muted); font-size: 13px; }
.woocommerce-shop .woocommerce-ordering,
.tax-product_cat .woocommerce-ordering { margin: 0 0 28px; }
.woocommerce-shop .woocommerce-ordering select,
.tax-product_cat .woocommerce-ordering select { min-width: 245px; height: 44px; padding: 0 42px 0 14px; border: 1px solid var(--bady-line); border-radius: 11px; background-color: #fff; color: var(--bady-ink); }
.woocommerce-shop #main > ul.products,
.tax-product_cat #main > ul.products { display: grid !important; width: 100%; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; clear: both; }
.woocommerce-shop #main > ul.products:before,
.woocommerce-shop #main > ul.products:after,
.tax-product_cat #main > ul.products:before,
.tax-product_cat #main > ul.products:after { display: none !important; }
.woocommerce-shop #main > ul.products li.product,
.tax-product_cat #main > ul.products li.product { display: flex; min-width: 0; flex-direction: column; }
.woocommerce-shop #main > ul.products li.product > a.woocommerce-LoopProduct-link,
.tax-product_cat #main > ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex: 1; flex-direction: column; }
.woocommerce-shop #main > ul.products li.product a img,
.tax-product_cat #main > ul.products li.product a img { width: 100%; height: auto; max-height: 260px; aspect-ratio: 1 / 1; object-fit: contain; }
.woocommerce-shop #main > ul.products li.product .button,
.tax-product_cat #main > ul.products li.product .button { align-self: flex-start; margin-top: auto; }
.woocommerce nav.woocommerce-pagination { margin-top: 40px; }
.woocommerce nav.woocommerce-pagination ul { overflow: hidden; border: 1px solid var(--bady-line); border-radius: 11px; }
.woocommerce nav.woocommerce-pagination ul li { border-right-color: var(--bady-line); }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; padding: 13px 12px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bady-green); color: #fff; }

/* Safety and articles */
.bady-help { display: grid; padding: 34px; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; border: 1px solid #dcece4; border-radius: 24px; background: linear-gradient(135deg, #eef8f3, #f8fbf9); }
.bady-help__icon { display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 18px; background: var(--bady-green); color: #fff; font: 800 25px/1 Georgia, serif; }
.bady-help h2 { font-size: clamp(27px, 2.8vw, 38px); }
.bady-help p { max-width: 820px; margin: 12px 0 0; color: var(--bady-muted); font-size: 15px; line-height: 1.65; }
.bady-articles { background: var(--bady-cream); }
.bady-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bady-article-card { overflow: hidden; border: 1px solid rgba(90, 75, 44, .08); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(55, 47, 30, .06); }
.bady-article-card a { display: block; height: 100%; padding: 18px 18px 23px; color: var(--bady-ink) !important; }
.bady-article-card__image { overflow: hidden; margin: -18px -18px 18px; aspect-ratio: 16 / 9; background: #eee; }
.bady-article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.bady-article-card:hover .bady-article-card__image img { transform: scale(1.035); }
.bady-article-card small { color: var(--bady-muted); }
.bady-article-card h3 { margin: 10px 0 18px; font-size: 20px; line-height: 1.35; }
.bady-article-card span { color: var(--bady-green); font-weight: 800; }

/* WooCommerce single product */
.bady-cart-count { display: inline-flex; min-width: 21px; height: 21px; padding: 0 5px; align-items: center; justify-content: center; border-radius: 20px; background: var(--bady-green); color: #fff; font-size: 11px; }
.single-product .woocommerce-breadcrumb { max-width: 1240px; margin: 24px auto 0 !important; padding: 0 24px; color: var(--bady-muted); font-size: 12px; }
.single-product #main > div.product { display: grid; width: 100%; max-width: 1240px; margin: 0 auto; padding: 42px 24px 70px; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 50px 64px; }
.single-product #main > div.product .woocommerce-product-gallery,
.single-product #main > div.product .summary { float: none !important; width: auto !important; margin: 0 !important; }
.single-product #main > div.product .woocommerce-product-gallery { overflow: hidden; max-width: 520px; padding: 24px; border: 1px solid var(--bady-line); border-radius: 22px; background: #f7f9f7; }
.single-product #main > div.product .woocommerce-product-gallery img { display: block; width: 100%; height: auto; max-height: 500px; margin: 0 auto; object-fit: contain; }
.single-product #main > div.product .summary { align-self: center; }
.single-product .product_title { margin: 0 0 16px !important; color: var(--bady-ink); font-size: clamp(27px, 3vw, 40px) !important; line-height: 1.16 !important; }
.single-product .summary .price { margin: 0 0 18px; color: var(--bady-green) !important; font-size: 26px !important; font-weight: 800; }
.single-product .woocommerce-product-details__short-description { color: var(--bady-muted); font-size: 16px; line-height: 1.65; }
.single-product form.cart { display: flex; gap: 10px; align-items: stretch; margin: 24px 0 !important; }
.woocommerce .quantity .qty { min-height: 44px; border-radius: 10px; }
.single-product .bady-product-warning { margin: 24px 0 !important; border-radius: 14px !important; background: var(--bady-mint) !important; }
.single-product .product_meta { padding-top: 18px; border-top: 1px solid var(--bady-line); color: var(--bady-muted); font-size: 13px; }
.single-product .woocommerce-tabs,
.single-product .related { grid-column: 1 / -1; width: 100%; }
.single-product .woocommerce-tabs { padding-top: 8px; }
.single-product .woocommerce-tabs ul.tabs { margin-bottom: 0 !important; }
.single-product .woocommerce-tabs .panel { padding: 30px; border: 1px solid var(--bady-line); border-radius: 0 18px 18px; background: #fff; }
.single-product .related > h2 { margin-bottom: 28px; font-size: 32px; }
.single-product .related ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0 !important; }
.single-product .related ul.products:before,
.single-product .related ul.products:after { display: none !important; }
.single-product .related ul.products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.woocommerce-message,
.woocommerce-info { border-top-color: var(--bady-green) !important; }
.woocommerce-message:before,
.woocommerce-info:before { color: var(--bady-green) !important; }

/* Footer refinements */
#footer { border-top: 1px solid var(--bady-line); }
#footer .widgets { padding-top: 55px; padding-bottom: 35px; }
#footer .logo.text-logo a { font-size: clamp(30px, 4vw, 48px) !important; }

@media (max-width: 1100px) {
    .bady-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 38px; }
    .bady-category-grid,
    .bady-product-loop ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .single-product #main > div.product { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 42px; }
    .single-product .related ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .woocommerce-shop #main > ul.products,
    .tax-product_cat #main > ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    #header.classic .menu-wrapper .grid-container { padding-top: 20px; }
    .bady-hero { padding: 48px 0 56px; }
    .bady-hero__grid { grid-template-columns: 1fr; }
    .bady-hero__copy,
    .bady-hero__visual { grid-column: 1; }
    .bady-hero__visual { max-width: 680px; }
    .bady-article-grid { grid-template-columns: repeat(2, 1fr); }
    .single-product #main > div.product { grid-template-columns: 1fr; }
    .single-product #main > div.product .woocommerce-product-gallery { width: 100% !important; max-width: 620px; }
    .single-product .related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .woocommerce-shop #main > ul.products,
    .tax-product_cat #main > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    #header { padding-bottom: 12px; }
    #header .logo.text-logo a { font-size: 28px; }
    #header .logo .tagline { display: none; }
    .bady-hero h1 { font-size: 38px; }
    .bady-hero__copy > p:not(.bady-disclaimer) { font-size: 16px; }
    .bady-hero__visual { padding: 25px; border-radius: 22px; }
    .bady-hero__contact { align-items: flex-start; flex-direction: column; }
    .bady-section { padding-top: 52px; padding-bottom: 52px; }
    .bady-section__head { align-items: flex-start; flex-direction: column; }
    .bady-category-grid,
    .bady-product-loop ul.products,
    .bady-article-grid { grid-template-columns: 1fr; }
    .bady-category-card { min-height: 165px; }
    .bady-help { padding: 26px; grid-template-columns: 1fr; }
    .bady-button { width: 100%; }
    .single-product .woocommerce-breadcrumb { padding: 0 18px; }
    .single-product #main > div.product { padding: 28px 18px 55px; gap: 32px; }
    .single-product #main > div.product .woocommerce-product-gallery { padding: 14px; }
    .single-product .related ul.products { grid-template-columns: 1fr; }
    .single-product form.cart { align-items: stretch; flex-direction: column; }
    .single-product form.cart .quantity .qty,
    .single-product form.cart .single_add_to_cart_button { width: 100%; }
    .woocommerce-shop #primary,
    .tax-product_cat #primary { padding: 30px 16px 56px; }
    .woocommerce-shop #main > ul.products,
    .tax-product_cat #main > ul.products { grid-template-columns: 1fr; }
    .woocommerce-shop .woocommerce-ordering,
    .tax-product_cat .woocommerce-ordering { float: none; }
    .woocommerce-shop .woocommerce-ordering select,
    .tax-product_cat .woocommerce-ordering select { width: 100%; min-width: 0; }
}
