:root {
    --bc-cream: #e5f3f1;
    --bc-ivory: #fbfffe;
    --bc-warm: #087f8c;
    --bc-cocoa: #12343b;
    --bc-text: #17383d;
    --bc-muted: #547075;
    --bc-card: #ffffff;
    --bc-shadow: 0 20px 50px rgba(18, 52, 59, 0.1);
    --bc-radius: 22px;
    --bc-border: rgba(29, 26, 24, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    background: linear-gradient(180deg, #fbfffe 0%, #e9f5f3 100%);
    color: var(--bc-text);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input, textarea, select {
    font: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(251, 255, 254, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(18, 52, 59, 0.1);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 20px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--bc-cocoa);
    letter-spacing: -0.03em;
    font-family: "Fraunces", Georgia, serif;
}

.brand-icon {
    font-size: 2rem;
    background: rgba(8, 127, 140, 0.12);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.main-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav .nav-menu a {
    color: var(--bc-text);
    font-weight: 600;
    opacity: 0.8;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-link, .button-primary, .button-secondary {
    border-radius: 999px;
    transition: all 0.2s ease;
}

.header-link {
    font-weight: 600;
    color: var(--bc-text);
}

.button-primary, .button-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    font-weight: 700;
    cursor: pointer;
    border: none;
}

.button-primary {
    background: linear-gradient(135deg, var(--bc-warm), #d19a2a);
    color: #fff;
    box-shadow: 0 12px 26px rgba(8, 127, 140, 0.25);
}

.button-secondary {
    background: #fff;
    color: var(--bc-cocoa);
    border: 1px solid var(--bc-border);
}

.section-spacing {
    padding: 90px 0;
}

.hero-section {
    padding: 84px 0 70px;
    background: radial-gradient(circle at 8% 20%, rgba(209, 154, 42, 0.12), transparent 34%), linear-gradient(135deg, #fbfffe 0%, #e3f3f0 100%);
    border-bottom: 1px solid rgba(18, 52, 59, 0.08);
}

.hero-inner {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: 40px;
}

.eyebrow {
    display: inline-block;
    background: rgba(8, 127, 140, 0.1);
    color: var(--bc-warm);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero-copy h1 {
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 1.02;
    margin: 16px 0 18px;
    letter-spacing: -0.035em;
    font-family: "Fraunces", Georgia, serif;
    color: var(--bc-cocoa);
}

.hero-copy h1 em {
    color: var(--bc-warm);
    font-style: normal;
}

.hero-copy p {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--bc-muted);
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.hero-visual {
    position: relative;
    border-radius: 28px 28px 96px 28px;
    background: radial-gradient(circle at top, #e9f7f5 0%, #cfe9e5 100%);
    min-height: 570px;
    overflow: hidden;
    box-shadow: var(--bc-shadow);
}

.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.88);
}

.hero-badge {
    position: absolute;
    left: 28px;
    bottom: 30px;
    background: rgba(251,255,254,0.9);
    backdrop-filter: blur(8px);
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: var(--bc-shadow);
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 12px 0 0;
    letter-spacing: -0.025em;
    font-family: "Fraunces", Georgia, serif;
}

.product-grid, .review-grid, .category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.product-card {
    background: var(--bc-card);
    border: 1px solid var(--bc-border);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--bc-shadow);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product-card-body {
    padding: 18px 18px 22px;
}

.product-card h3 {
    margin: 0 0 6px;
    font-size: 1.24rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    color: var(--bc-muted);
    font-size: 0.92rem;
}

.price-tag {
    color: var(--bc-warm);
    font-weight: 800;
    font-size: 1.22rem;
}

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .button-primary,
.product-actions .button-secondary {
    flex: 1;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.how-it-works {
    background: #f1f8f6;
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.step-card {
    background: #fff;
    border: 1px solid var(--bc-border);
    border-radius: 24px;
    padding: 28px 22px;
    box-shadow: var(--bc-shadow);
}

.step-number {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(8,127,140,0.12);
    color: var(--bc-warm);
    font-weight: 800;
    margin-bottom: 18px;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 42px 50px;
    border-radius: 32px;
    background: linear-gradient(135deg, #dff1ed, #f7edcf);
    box-shadow: var(--bc-shadow);
}

.cta-panel h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-top: 12px;
    letter-spacing: -0.025em;
    font-family: "Fraunces", Georgia, serif;
}

.category-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    border: 1px solid var(--bc-border);
    box-shadow: var(--bc-shadow);
    min-height: 200px;
    padding: 26px;
    display: flex;
    align-items: flex-end;
}

.category-card span {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    font-weight: 700;
}

.review-card {
    background: #fff;
    border: 1px solid var(--bc-border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--bc-shadow);
}

.stars {
    color: #f7af39;
    margin-bottom: 12px;
}

.review-card p {
    color: var(--bc-muted);
    line-height: 1.7;
}

.site-footer {
    background: #12343b;
    color: rgba(255,255,255,0.8);
    padding-top: 72px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 30px;
    padding-bottom: 28px;
}

.site-footer h3 {
    color: white;
    margin-bottom: 16px;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.site-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.woocommerce-products-header {
    margin-bottom: 24px;
}

.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce ul.products li.product {
    background: #fff;
    border: 1px solid var(--bc-border);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: var(--bc-shadow);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.3rem;
    color: var(--bc-text);
    margin: 10px 16px 10px;
}

.woocommerce .price {
    color: var(--bc-warm);
    font-weight: 800;
    margin: 0 16px 14px;
}

.woocommerce .button {
    margin: 0 16px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--bc-warm), #d19a2a);
    color: #fff;
    padding: 12px 16px;
    border: none;
}

.customizer-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    background: #fff;
    padding: 28px;
    border: 1px solid var(--bc-border);
    border-radius: 32px;
    box-shadow: var(--bc-shadow);
}

.cake-preview {
    background: linear-gradient(180deg, #fffaf7 0%, #f2e4da 100%);
    border: 1px solid var(--bc-border);
    border-radius: 28px;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cake-stage {
    position: relative;
    width: 320px;
    height: 320px;
    display: grid;
    place-items: center;
}

.cake-shape {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #f1d4ba 0%, #dca77d 100%);
    border: 6px solid rgba(121,72,50,0.18);
    box-shadow: inset 0 -18px 18px rgba(98,53,36,0.08);
}

.cake-shape.round {
    width: 210px;
    height: 170px;
    border-radius: 50% 50% 42% 42%;
}

.cake-shape.heart {
    width: 190px;
    height: 180px;
    background: linear-gradient(180deg, #f1d4ba 0%, #dca77d 100%);
    transform: translateX(-50%) rotate(-45deg);
    border-radius: 12px 12px 12px 0;
}

.cake-shape.square {
    width: 190px;
    height: 170px;
    border-radius: 20px;
}

.cake-top {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    height: 20px;
    width: 240px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f6e4d0, #efc99f);
}

.cake-message {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bc-cocoa);
    max-width: 260px;
    line-height: 1.4;
    font-size: 0.9rem;
}

.customizer-form {
    display: grid;
    gap: 22px;
}

.option-group {
    display: grid;
    gap: 12px;
}

.option-label {
    font-weight: 700;
    margin-bottom: 4px;
}

.option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border: 1px solid var(--bc-border);
    border-radius: 999px;
    background: #fff;
    color: var(--bc-text);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.option-item.active {
    background: rgba(8,127,140,0.14);
    border-color: rgba(8,127,140,0.4);
    color: var(--bc-warm);
}

.option-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--bc-border);
    border-radius: 16px;
    background: #fff;
    font-weight: 600;
}

.option-field input,
.option-field textarea,
.option-field select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--bc-border);
    background: #fff;
}

.price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #eef8f6;
    border: 1px solid rgba(8,127,140,0.18);
    border-radius: 18px;
    padding: 16px 18px;
}

.price-box strong {
    font-size: 1.5rem;
    color: var(--bc-warm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.customizer-submit {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .hero-inner,
    .customizer-shell,
    .product-grid,
    .category-grid,
    .review-grid,
    .step-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-inner,
    .customizer-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-wrap {
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 0;
    }

    .main-nav .nav-menu,
    .header-actions,
    .product-grid,
    .category-grid,
    .review-grid,
    .step-grid,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
        display: grid;
    }

    .hero-copy h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding-top: 52px;
    }

    .hero-visual {
        min-height: 410px;
        border-radius: 24px 24px 64px 24px;
    }

    .cta-panel {
        display: grid;
        padding: 26px 20px;
    }

    .customizer-shell {
        padding: 18px;
    }
}
