/* css/velvet-bloom-cakes.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff3f7;
    color: #32101c;
}

.hero {
    min-height: 78vh;
    padding: 28px 7%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 220, 236, 0.9), transparent 28%),
        radial-gradient(circle at 85% 80%, rgba(255, 184, 209, 0.65), transparent 34%),
        linear-gradient(135deg, #5b1230, #b83267 58%, #ffd4e5);
    color: #ffffff;
    overflow: hidden;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-icon {
    font-size: 42px;
}

.brand h1 {
    font-size: 26px;
}

.brand p {
    color: #ffd4e5;
}

.nav-btn,
.hero-btn {
    background: #ffffff;
    color: #8f1f4e;
    text-decoration: none;
    font-weight: 900;
    padding: 13px 20px;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(91, 18, 48, 0.18);
}

.cake-showcase-hero {
    display: grid;
    grid-template-columns: 1fr 420px 210px;
    align-items: center;
    gap: 32px;
    padding: 62px 0 38px;
}

.eyebrow {
    color: #ffe2ee;
    font-weight: 900;
    letter-spacing: 1.6px;
    font-size: 13px;
}

.hero-message h2 {
    font-size: clamp(34px, 4.7vw, 60px);
    line-height: 1.04;
    margin: 16px 0;
}

.hero-message p {
    max-width: 590px;
    font-size: 18px;
    line-height: 1.7;
    color: #fff1f7;
    margin-bottom: 28px;
}

.featured-cake {
    position: relative;
    border-radius: 50% 50% 28px 28px;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 28px 70px rgba(91, 18, 48, 0.36);
}

.featured-cake img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.cake-label {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    background: rgba(50, 16, 28, 0.88);
    padding: 15px 18px;
    border-radius: 18px;
    display: grid;
    gap: 4px;
}

.cake-label span {
    color: #ffd4e5;
    font-size: 14px;
}

.occasion-cards {
    display: grid;
    gap: 16px;
}

.occasion-card {
    background: rgba(255, 255, 255, 0.92);
    color: #8f1f4e;
    border-radius: 24px;
    padding: 22px 18px;
    box-shadow: 0 16px 35px rgba(91, 18, 48, 0.2);
    display: grid;
    gap: 8px;
    text-align: center;
}

.occasion-card span {
    font-size: 32px;
}

.intro {
    text-align: center;
    padding: 52px 7% 24px;
}

.intro span {
    color: #b83267;
    font-weight: 900;
    letter-spacing: 1.5px;
    font-size: 13px;
}

.intro h2 {
    margin-top: 8px;
    font-size: 34px;
    color: #8f1f4e;
}

.intro p {
    margin-top: 8px;
    color: #755461;
}

.shop-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 26px;
    padding: 20px 7% 72px;
    align-items: start;
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(184, 50, 103, 0.12);
    box-shadow: 0 14px 34px rgba(184, 50, 103, 0.12);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.product-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-body h3 {
    font-size: 18px;
    color: #32101c;
    margin-bottom: 8px;
}

.product-body p {
    color: #725460;
    font-size: 14px;
    line-height: 1.45;
    flex: 1;
}

.price {
    font-size: 20px;
    color: #b83267;
    font-weight: 900;
    margin: 16px 0;
}

.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #f2bfd3;
    border-radius: 999px;
    overflow: hidden;
}

.qty-control button {
    width: 34px;
    height: 34px;
    border: none;
    background: #ffe3ee;
    color: #8f1f4e;
    font-weight: 900;
    cursor: pointer;
}

.qty-control span {
    width: 34px;
    text-align: center;
    font-weight: 900;
}

.add-btn {
    flex: 1;
    border: none;
    background: #8f1f4e;
    color: #ffffff;
    border-radius: 999px;
    padding: 11px;
    font-weight: 900;
    cursor: pointer;
}

.cart-panel {
    position: sticky;
    top: 20px;
    background: #32101c;
    color: #ffffff;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(50, 16, 28, 0.28);
}

.cart-panel h3 {
    color: #ffd4e5;
    margin-bottom: 16px;
}

.empty-cart {
    color: #edcbd8;
    font-size: 14px;
}

.cart-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 14px;
}

.cart-summary {
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    padding-top: 16px;
}

.cart-summary div {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkout-btn {
    width: 100%;
    margin-top: 12px;
    border: none;
    background: #ffd4e5;
    color: #32101c;
    padding: 14px;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
}

.buildframe-float {
    position: fixed;
    right: 18px;
    bottom: 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #062f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.65);
    z-index: 50;
}

.buildframe-float img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.buildframe-footer {
    background: #062f3a;
    color: #eaffff;
    text-align: center;
    padding: 14px 20px;
    font-size: 14px;
}

.buildframe-footer a {
    color: #7ef6ff;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 1150px) {
    .cake-showcase-hero {
        grid-template-columns: 1fr 380px;
    }

    .occasion-cards {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .products {
        grid-template-columns: repeat(3, 1fr);
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .cart-panel {
        position: static;
    }
}

@media (max-width: 760px) {
    .hero {
        padding: 22px 5%;
    }

    .topbar,
    .cake-showcase-hero {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cake-showcase-hero {
        padding-top: 46px;
    }

    .featured-cake img {
        height: 320px;
    }

    .occasion-cards {
        grid-template-columns: 1fr;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .shop-layout {
        padding: 20px 5% 72px;
    }

    .nav-btn {
        width: fit-content;
    }
}