:root {
    --yb-warm-ivory: #f8f3ea;
    --yb-petal-white: #fffdf7;
    --yb-sage: #8fae8a;
    --yb-deep-leaf: #38443a;
    --yb-soft-moss: #6f7d6a;
    --yb-sunflower: #f2b84b;
    --yb-rose: #b84a4f;
    --yb-linen: #d8d3c9;
    --yb-radius: 8px;
    --yb-shadow: 0 14px 40px rgba(56, 68, 58, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--yb-warm-ivory);
    color: var(--yb-deep-leaf);
    font-family: Inter, Lato, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.22em;
}

h1,
h2,
h3,
.site-brand__text {
    font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    font-weight: 600;
    line-height: 1.05;
}

h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 7vw, 74px);
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(32px, 4vw, 46px);
}

p {
    margin: 0 0 18px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 16px;
    z-index: 10;
}

.skip-link:focus {
    left: 16px;
    padding: 10px 14px;
    background: var(--yb-deep-leaf);
    color: var(--yb-petal-white);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(248, 243, 234, 0.96);
    border-bottom: 1px solid rgba(216, 211, 201, 0.72);
    backdrop-filter: blur(12px);
}

.site-topbar {
    height: 32px;
    background: var(--yb-deep-leaf);
    color: var(--yb-petal-white);
    font-size: 12px;
}

.site-topbar__inner {
    width: min(1180px, calc(100% - 32px));
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-header__inner,
.yb-container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header__inner {
    display: flex;
    align-items: center;
    min-height: 76px;
    gap: 24px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    width: 132px;
    height: 52px;
    text-decoration: none;
}

.site-brand-area {
    display: flex;
    align-items: center;
}

.site-brand__mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid var(--yb-sage);
    border-radius: 50%;
    color: var(--yb-sage);
    font-size: 13px;
    font-weight: 700;
}

.site-brand__text {
    font-size: 28px;
}

.site-brand__logo {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: contain;
}

.primary-nav {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
}

.primary-nav .primary-nav__home {
    color: var(--yb-sage);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.primary-nav__list,
.footer-nav__list {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a,
.account-link,
.cart-link {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.cart-link {
    padding: 10px 16px;
    border: 1px solid var(--yb-sage);
    border-radius: var(--yb-radius);
}

.account-link {
    margin-left: auto;
    color: var(--yb-deep-leaf);
}

.yb-hero {
    position: relative;
    min-height: 82vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--yb-warm-ivory);
}

.yb-hero__media {
    --yb-hero-image: url('../images/orenvella-crochet-flower-gift-hero-desktop.png');
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(248, 243, 234, 0.98) 0%, rgba(248, 243, 234, 0.72) 42%, rgba(248, 243, 234, 0.12) 100%),
        var(--yb-hero-image, linear-gradient(135deg, #f8f3ea 0%, #e9dfd0 100%));
    background-position: center;
    background-size: cover;
}

.yb-hero__content {
    position: relative;
    padding: 90px 0 120px;
}

.yb-hero__content p {
    max-width: 560px;
    font-size: 18px;
}

.yb-kicker {
    margin-bottom: 10px;
    color: var(--yb-soft-moss);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
}

.yb-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.yb-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 22px;
    border: 1px solid var(--yb-sage);
    border-radius: var(--yb-radius);
    background: var(--yb-sage);
    color: var(--yb-petal-white);
    font-weight: 700;
    text-decoration: none;
}

.yb-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: #789a73;
    color: var(--yb-petal-white);
}

.yb-button--secondary {
    background: transparent;
    color: var(--yb-deep-leaf);
}

.yb-price-anchors {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(980px, calc(100% - 32px));
    margin: -54px auto 0;
    position: relative;
    z-index: 2;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: var(--yb-petal-white);
    box-shadow: var(--yb-shadow);
}

.yb-price-anchors a {
    display: grid;
    gap: 4px;
    padding: 22px;
    text-align: center;
    text-decoration: none;
}

.yb-price-anchors a + a {
    border-left: 1px solid var(--yb-linen);
}

.yb-price-anchors span {
    color: var(--yb-soft-moss);
}

.yb-section {
    padding: 84px 0;
}

.yb-section--soft,
.yb-section--cta {
    background: var(--yb-petal-white);
}

.yb-section__heading {
    max-width: 760px;
    margin-bottom: 34px;
    text-align: center;
}

.yb-shop-intro {
    max-width: 820px;
    margin: 0 0 26px;
    padding: 22px;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: var(--yb-petal-white);
}

.yb-page-hero {
    padding: 54px 0 34px;
    background: var(--yb-petal-white);
    border-bottom: 1px solid var(--yb-linen);
}

.yb-page-hero h1 {
    margin-top: 14px;
    font-size: clamp(38px, 5vw, 58px);
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 24px;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none;
}

.woocommerce ul.products li.product.yb-product-card,
.woocommerce-page ul.products li.product.yb-product-card {
    width: auto;
    margin: 0;
    float: none;
}

.yb-product-card {
    overflow: hidden;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: var(--yb-petal-white);
}

.yb-product-card__image {
    display: block;
    aspect-ratio: 1;
    background: #f3eadf;
}

.yb-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yb-product-card__body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.yb-product-card__tag {
    margin: 0;
    color: var(--yb-soft-moss);
    font-size: 12px;
    font-weight: 700;
}

.yb-product-card h2 {
    min-height: 2.6em;
    margin: 0;
    font-size: 22px;
    line-height: 1.3;
}

.yb-product-card h2 a {
    text-decoration: none;
}

.yb-product-card__price {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid var(--yb-linen);
    font-weight: 700;
}

.yb-product-card__link {
    margin-top: 2px;
    font-weight: 700;
    color: var(--yb-sage);
}

.yb-occasion-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.yb-occasion-grid a {
    min-height: 190px;
    display: flex;
    align-items: flex-end;
    padding: 18px;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: linear-gradient(180deg, #fffdf7, #f2eadf);
    color: var(--yb-deep-leaf);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
}

.yb-detail-band {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 44px;
    align-items: center;
}

.yb-detail-band ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yb-detail-band li {
    padding: 16px 18px;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: var(--yb-petal-white);
}

.yb-section--cta {
    text-align: center;
}

.yb-section--cta .yb-container {
    max-width: 760px;
}

.yb-product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.yb-product-badges span {
    padding: 8px 10px;
    border: 1px solid var(--yb-linen);
    border-radius: 999px;
    background: var(--yb-petal-white);
    font-size: 13px;
    font-weight: 600;
}

.yb-content {
    max-width: 820px;
}

.yb-category-faq,
.yb-product-links {
    max-width: 820px;
    margin: 58px auto 0;
    padding: 28px;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: var(--yb-petal-white);
}

.yb-category-faq h2,
.yb-product-links h2 {
    font-size: 32px;
}

.yb-category-faq details {
    border-top: 1px solid var(--yb-linen);
}

.yb-category-faq details:last-child {
    border-bottom: 1px solid var(--yb-linen);
}

.yb-category-faq summary {
    padding: 16px 0;
    cursor: pointer;
    font-weight: 700;
}

.site-footer {
    padding: 46px 0;
    background: var(--yb-deep-leaf);
    color: var(--yb-petal-white);
}

.site-footer__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 28px;
}

.site-footer h2 {
    margin: 0 0 10px;
    font-size: 30px;
}

.site-footer a {
    color: var(--yb-petal-white);
}

.site-footer__policies {
    display: grid;
    gap: 8px;
}

.site-footer__trust {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: rgba(255, 253, 247, 0.78);
    font-size: 12px;
    letter-spacing: 0.04em;
}

@media (max-width: 980px) {
    .site-header__inner {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 14px 0;
    }

    .nav-toggle {
        display: inline-flex;
        min-height: 42px;
        padding: 9px 14px;
        border: 1px solid var(--yb-linen);
        border-radius: var(--yb-radius);
        background: var(--yb-petal-white);
        color: var(--yb-deep-leaf);
        font-weight: 700;
    }

    .primary-nav {
        display: none;
        flex-basis: 100%;
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav__list {
        display: grid;
        gap: 8px;
        padding: 12px 0;
    }

    .account-link {
        margin-left: auto;
    }

    .woocommerce ul.products,
    .yb-occasion-grid,
    .yb-detail-band,
    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .site-topbar {
        font-size: 10px;
    }

    .site-brand {
        width: 112px;
        height: 48px;
    }

    h1 {
        font-size: 42px;
    }

    .yb-hero {
        min-height: 86vh;
    }

    .yb-hero__media {
        --yb-hero-image: url('../images/orenvella-crochet-flower-gift-hero-mobile.png');
        background:
            linear-gradient(180deg, rgba(248, 243, 234, 0.98) 0%, rgba(248, 243, 234, 0.72) 52%, rgba(248, 243, 234, 0.18) 100%),
            var(--yb-hero-image, linear-gradient(180deg, #f8f3ea 0%, #e9dfd0 100%));
        background-position: center bottom;
        background-size: cover;
    }

    .yb-hero__content {
        padding: 74px 0 170px;
        align-self: start;
    }

    .yb-price-anchors,
    .woocommerce ul.products,
    .yb-occasion-grid,
    .yb-detail-band,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .yb-price-anchors a + a {
        border-left: 0;
        border-top: 1px solid var(--yb-linen);
    }

    .yb-section {
        padding: 58px 0;
    }
}

/* Homepage parity update */
:root {
    --yb-warm-ivory: #fffdf7;
    --yb-petal-white: #fffaf2;
    --yb-page-cream: #f8f3ea;
}

body {
    background: var(--yb-warm-ivory);
}

.site-header {
    background: rgba(255, 253, 247, 0.96);
}

.site-topbar__inner {
    gap: 10px;
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
    width: 18px;
    height: 2px;
    display: block;
    background: currentColor;
}

.nav-toggle__icon {
    position: relative;
    margin-right: 8px;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.nav-toggle__icon::before {
    top: -6px;
}

.nav-toggle__icon::after {
    top: 6px;
}

.yb-hero {
    min-height: min(780px, calc(100vh - 108px));
    background: var(--yb-page-cream);
}

.yb-hero__media {
    background:
        linear-gradient(90deg, rgba(248, 243, 234, 0.90) 0%, rgba(248, 243, 234, 0.50) 41%, rgba(248, 243, 234, 0) 62%),
        var(--yb-hero-image, linear-gradient(135deg, #f8f3ea 0%, #e9dfd0 100%));
    background-position: center;
}

.yb-hero__content {
    padding: 90px 0 110px;
}

.yb-hero__content h1 {
    max-width: 790px;
    font-size: clamp(54px, 5.5vw, 82px);
}

.yb-hero__content h1 span {
    display: block;
}

.yb-hero__content h1 em {
    color: #789a73;
    font-weight: 500;
}

.yb-section--occasion {
    background: var(--yb-warm-ivory);
}

.yb-section__heading--split {
    max-width: none;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    text-align: left;
}

.yb-text-link {
    flex: 0 0 auto;
    color: var(--yb-sage);
    font-weight: 700;
}

.yb-occasion-grid a {
    position: relative;
    min-height: 0;
    aspect-ratio: 4 / 5;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    background: #eee4d6;
}

.yb-occasion-grid a::after {
    position: absolute;
    inset: 35% 0 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(32, 42, 35, 0.72));
    content: "";
}

.yb-occasion-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.yb-occasion-grid a:hover img {
    transform: scale(1.025);
}

.yb-occasion-card__label {
    position: absolute;
    right: 20px;
    bottom: 18px;
    left: 20px;
    z-index: 2;
    color: #fffdf7;
}

.yb-occasion-card__label small,
.yb-occasion-card__label strong {
    display: block;
}

.yb-occasion-card__label small {
    margin-bottom: 3px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.yb-occasion-card__label strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 32px;
    line-height: 1;
}

.yb-static-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.yb-static-product-card {
    overflow: hidden;
    border: 1px solid var(--yb-linen);
    border-radius: var(--yb-radius);
    background: var(--yb-warm-ivory);
}

.yb-static-product-card__image {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #f2eadf;
}

.yb-static-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yb-static-product-card__body {
    display: grid;
    gap: 9px;
    padding: 18px;
}

.yb-static-product-card__body p,
.yb-static-product-card__body h3 {
    margin: 0;
}

.yb-static-product-card__body h3 {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    line-height: 1.1;
}

.yb-static-product-card__body h3 a {
    text-decoration: none;
}

.yb-static-product-card__tier {
    color: var(--yb-soft-moss);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yb-static-product-card__body > p:not(.yb-static-product-card__tier) {
    min-height: 5.2em;
    font-size: 14px;
}

.yb-static-product-card__price {
    padding-top: 11px;
    border-top: 1px solid var(--yb-linen);
}

.yb-story-section {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    min-height: 600px;
    background: var(--yb-deep-leaf);
    color: var(--yb-petal-white);
}

.yb-story-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yb-story-section__copy {
    align-self: center;
    padding: 70px clamp(36px, 6vw, 100px);
}

.yb-story-section__copy .yb-kicker {
    color: #c3d3bf;
}

.yb-story-section__copy p {
    max-width: 520px;
}

.yb-story-points {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.yb-story-points span {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 253, 247, 0.24);
}

.yb-benefits {
    background: var(--yb-warm-ivory);
}

.yb-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--yb-linen);
}

.yb-benefit-grid article {
    padding: 30px;
}

.yb-benefit-grid article + article {
    border-left: 1px solid var(--yb-linen);
}

.yb-benefit-grid b {
    color: var(--yb-sage);
    font-size: 12px;
}

.yb-benefit-grid h3 {
    margin: 18px 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 25px;
}

.yb-benefit-grid p {
    margin: 0;
    font-size: 14px;
}

.yb-price-anchors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}

.yb-gifting-steps {
    position: relative;
    isolation: isolate;
    background: #f5eee3 url('../images/home/gifting-steps-v1.jpg') center / cover no-repeat;
}

.yb-gifting-steps::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(255, 253, 247, 0.82);
    content: "";
}

.yb-gifting-steps .yb-section__heading {
    margin-right: auto;
    margin-left: auto;
}

.yb-gifting-steps ol {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yb-gifting-steps li {
    display: grid;
    gap: 18px;
    padding: 26px;
    border: 1px solid rgba(56, 68, 58, 0.18);
    background: rgba(255, 253, 247, 0.78);
    backdrop-filter: blur(5px);
}

.yb-gifting-steps li b {
    color: var(--yb-sage);
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
}

.yb-gifting-steps li span {
    font-weight: 700;
}

.yb-customer-stories {
    position: relative;
    isolation: isolate;
    min-height: 440px;
    display: grid;
    align-items: center;
    color: var(--yb-petal-white);
    background: #38443a url('../images/home/customer-stories-v2.jpg') center / cover no-repeat;
}

.yb-customer-stories::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(56, 68, 58, 0.90), rgba(56, 68, 58, 0.54));
    content: "";
}

.yb-customer-stories__inner {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
}

.yb-customer-stories .yb-kicker {
    color: #c3d3bf;
}

.yb-customer-stories .yb-button--secondary {
    border-color: rgba(255, 253, 247, 0.72);
    color: var(--yb-petal-white);
}

.yb-trust-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px 34px;
    padding: 22px 24px;
    border-top: 1px solid var(--yb-linen);
    background: var(--yb-warm-ivory);
    color: var(--yb-soft-moss);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 980px) {
    .yb-static-product-grid,
    .yb-benefit-grid,
    .yb-gifting-steps ol {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yb-story-section {
        grid-template-columns: 1fr;
    }

    .yb-story-section__image {
        min-height: 430px;
    }

    .yb-benefit-grid article:nth-child(3) {
        border-left: 0;
        border-top: 1px solid var(--yb-linen);
    }

    .yb-benefit-grid article:nth-child(4) {
        border-top: 1px solid var(--yb-linen);
    }
}

@media (max-width: 700px) {
    .site-topbar {
        height: auto;
        min-height: 34px;
    }

    .site-topbar__inner {
        width: calc(100% - 20px);
        min-height: 34px;
        gap: 6px;
        font-size: 9px;
        white-space: nowrap;
    }

    .yb-hero {
        min-height: 760px;
    }

    .yb-hero__media {
        background:
            linear-gradient(180deg, rgba(248, 243, 234, 0.94) 0%, rgba(248, 243, 234, 0.62) 52%, rgba(248, 243, 234, 0.10) 100%),
            var(--yb-hero-image, linear-gradient(180deg, #f8f3ea 0%, #e9dfd0 100%));
        background-position: center bottom;
    }

    .yb-hero__content {
        padding: 68px 0 220px;
    }

    .yb-hero__content h1 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .yb-section__heading--split,
    .yb-customer-stories__inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .yb-static-product-grid,
    .yb-benefit-grid,
    .yb-gifting-steps ol {
        grid-template-columns: 1fr;
    }

    .yb-benefit-grid article + article {
        border-left: 0;
        border-top: 1px solid var(--yb-linen);
    }

    .yb-story-section__image {
        min-height: 300px;
    }

    .yb-story-section__copy {
        padding: 52px 24px;
    }

    .yb-static-product-card__body > p:not(.yb-static-product-card__tier) {
        min-height: 0;
    }

    .yb-customer-stories {
        min-height: 520px;
        background-position: 62% center;
    }

    .yb-trust-bar {
        justify-content: flex-start;
        gap: 10px 18px;
    }
}
