/* Figma WEB Desktop 1440 — Mother & Child */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.web-app {
    --web-mint: #e2f4f1;
    --web-pink: #f7e0e3;
    --web-blue: #deedfa;
    --web-sand: #fae8b8;
    --web-line: #e0e3de;
    --web-muted: #6e7873;
    margin: 0;
    background: var(--brand-bg, #faf9f6);
    color: var(--brand-ink, #202725);
    font-family: var(--brand-font, Cairo, Rubik, sans-serif);
    font-size: 14px;
    line-height: 1.5;
}

.web-app a {
    color: inherit;
    text-decoration: none;
}

.web-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 40;
}

.web-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 76px;
    padding: 16px 80px;
}

.web-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--brand, #27afa5);
    font-size: 21px;
    font-weight: 700;
}

.web-logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand, #27afa5);
    flex-shrink: 0;
}

.web-search {
    width: 420px;
    height: 44px;
    padding: 12px;
    border-radius: 14px;
    background: var(--brand-bg, #faf9f6);
}

.web-search input {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    outline: none;
    font: inherit;
    color: var(--brand-ink, #202725);
}

.web-search input::placeholder {
    color: var(--web-muted);
}

.web-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
}

.web-avatar,
.web-avatar-lg {
    display: block;
    background: var(--web-mint);
    flex-shrink: 0;
}

.web-avatar {
    width: 36px;
    height: 36px;
    border-radius: 18px;
}

.web-avatar-lg {
    width: 80px;
    height: 80px;
    border-radius: 40px;
}

.web-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 40px;
    padding: 0 80px;
    background: var(--brand-bg, #faf9f6);
    font-size: 13px;
    font-weight: 500;
}

.web-nav a.is-active {
    color: var(--brand, #27afa5);
    font-weight: 700;
}

.web-page {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
    padding: 40px 0 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.web-heading h1,
.web-heading h2,
.web-card h3,
.web-product h3,
.web-panel h3,
.web-chat h2,
.web-recommend h3 {
    margin: 0;
    color: var(--brand-ink, #202725);
}

.web-heading h1 {
    font-size: 30px;
    font-weight: 700;
}

.web-heading p,
.web-card p,
.web-product p {
    margin: 8px 0 0;
    color: var(--web-muted);
    font-size: 14px;
}

.web-hero-card {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    min-height: 250px;
    padding: 32px;
    background: #fff;
    border: 1px solid var(--web-line);
    border-radius: 20px;
}

.web-family-visual {
    width: 360px;
    height: 186px;
    border-radius: 18px;
    background: var(--web-mint);
    flex-shrink: 0;
}

.web-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 640px;
}

.web-hero-copy h2 {
    margin: 0;
    font-size: 28px;
}

.web-hero-copy p {
    margin: 0;
    color: var(--web-muted);
}

.web-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.web-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: none;
}

.web-btn-primary {
    background: var(--brand, #27afa5);
    border-color: var(--brand, #27afa5);
    color: #fff;
}

.web-btn-ghost {
    background: #fff;
    border-color: var(--web-line);
    color: var(--brand-ink, #202725);
}

.web-btn-light {
    background: #fff;
    color: var(--brand-ink, #202725);
}

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

.web-card,
.web-product,
.web-panel,
.web-recommend,
.web-summary,
.web-checkout-form,
.web-assistant-side,
.web-chat,
.web-profile-card {
    background: #fff;
    border-radius: 18px;
}

.web-card.is-current {
    outline: 2px solid var(--brand, #27afa5);
    outline-offset: 2px;
}

.web-card,
.web-product {
    border: 1px solid var(--web-line);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 180px;
}

.web-card h3,
.web-product h3 {
    font-size: 17px;
}

.web-card p,
.web-product p {
    margin: 0;
    font-size: 13px;
}

.web-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--web-mint);
    flex-shrink: 0;
}

.web-card-sand,
.web-card.is-sand {
    background: var(--web-sand);
}

.web-card.is-mint { background: var(--web-mint); }
.web-card.is-blue { background: var(--web-blue); }
.web-card.is-pink { background: var(--web-pink); }

.web-lower {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 356px;
    gap: 24px;
}

.web-recommend {
    border: 1px solid var(--web-line);
    padding: 20px;
    min-height: 245px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.web-recommend h3 {
    font-size: 19px;
}

.web-recommend-title {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.web-recommend p {
    margin: 0;
    color: var(--web-muted);
    font-size: 13px;
}

.web-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.web-chips-col {
    flex-direction: column;
    align-items: flex-start;
}

.web-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--web-line);
    background: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

.web-chip.is-active {
    background: var(--brand, #27afa5);
    border-color: var(--brand, #27afa5);
    color: #fff;
}

.web-shop-logo {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border-radius: 16px;
    object-fit: cover;
}

.web-product-image {
    width: 100%;
    height: 120px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

.web-old-price {
    color: var(--web-muted);
    text-decoration: line-through;
    margin-inline-end: 8px;
}

.web-flash {
    max-width: 1120px;
    margin: 12px auto 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: var(--web-mint);
    color: var(--brand-ink, #202725);
    font-size: 14px;
}

.web-product form {
    margin-top: auto;
}

.web-product-image.is-pink { background: var(--web-pink); }
.web-product-image.is-blue { background: var(--web-blue); }
.web-product-image.is-sand { background: var(--web-sand); }
.web-product-image.is-mint { background: var(--web-mint); }

.web-banner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    min-height: 170px;
    padding: 28px;
    border-radius: 20px;
    background: var(--brand, #27afa5);
    color: #fff;
}

.web-banner-lg {
    min-height: 210px;
    padding: 32px;
}

.web-banner h2 {
    margin: 0;
    font-size: 22px;
}

.web-banner-lg h2 {
    font-size: 26px;
}

.web-banner p {
    margin: 8px 0 0;
    font-size: 13px;
}

.web-service-filter {
    display: flex;
    gap: 16px;
}

.web-field {
    flex: 1;
    height: 48px;
    padding: 14px;
    border: 1px solid var(--web-line);
    border-radius: 14px;
    background: #fff;
    font: inherit;
}

.web-panel {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.web-panel h3 {
    font-size: 20px;
}

.web-row,
.web-timeline-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 56px;
    padding: 12px;
    border-radius: 12px;
    background: var(--brand-bg, #faf9f6);
}

.web-row p,
.web-timeline-row p,
.web-row strong {
    margin: 0;
}

.web-dot {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--web-line);
    flex-shrink: 0;
}

.web-dot.is-on {
    background: var(--brand, #27afa5);
}

.web-assistant {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    min-height: 720px;
}

.web-assistant-side,
.web-chat {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.web-assistant-side p {
    margin: 0;
    color: var(--web-muted);
    font-size: 13px;
}

.web-bot-message {
    max-width: 620px;
    min-height: 110px;
    padding: 16px;
    border-radius: 14px;
    background: var(--web-mint);
}

.web-chat-input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 14px;
    border-radius: 14px;
    background: var(--brand-bg, #faf9f6);
}

.web-chat-input input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    font: inherit;
}

.web-profile-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 170px;
    padding: 24px;
}

.web-profile-card > div {
    flex: 1;
}

.web-profile-card p {
    margin: 0;
    color: var(--web-muted);
}

.web-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 24px;
}

.web-summary,
.web-checkout-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.web-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.web-sum-row.is-total {
    font-weight: 700;
}

.web-sum-row.is-total span:first-child {
    color: var(--brand, #27afa5);
}

.web-form-block {
    padding: 16px;
    border-radius: 14px;
    background: var(--brand-bg, #faf9f6);
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
}

.web-form-block h4 {
    margin: 0;
    font-size: 16px;
}

.web-form-block p {
    margin: 0;
    color: var(--web-muted);
    font-size: 13px;
}

.web-mobile-nav {
    display: none;
}

@media (max-width: 1100px) {
    .web-topbar,
    .web-nav {
        padding-inline: 24px;
    }

    .web-search {
        width: min(420px, 42vw);
    }

    .web-grid-4,
    .web-lower,
    .web-assistant,
    .web-checkout,
    .web-service-filter {
        grid-template-columns: 1fr 1fr;
    }

    .web-family-visual {
        width: 220px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .web-header {
        position: static;
    }

    .web-topbar {
        height: auto;
        padding: 12px 16px;
    }

    .web-search,
    .web-nav {
        display: none;
    }

    .web-page {
        padding: 20px 16px 96px;
    }

    .web-hero-card,
    .web-grid-4,
    .web-lower,
    .web-assistant,
    .web-checkout,
    .web-profile-card,
    .web-service-filter,
    .web-banner {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .web-family-visual,
    .web-product-image {
        width: 100%;
    }

    .web-mobile-nav {
        display: flex;
        position: fixed;
        inset-inline: 0;
        bottom: 0;
        background: #fff;
        border-top: 1px solid var(--web-line);
        padding: 12px 16px 24px;
        z-index: 50;
        gap: 8px;
    }

    .web-mobile-nav a {
        flex: 1;
        text-align: center;
        font-size: 11px;
        color: var(--web-muted);
    }

    .web-mobile-nav a.is-active {
        color: var(--brand, #27afa5);
        font-weight: 700;
    }
}
