.mme-ai-search {
    flex: 0 1 320px;
    min-width: 240px;
    background: transparent;
    border-bottom: 0;
    color: #1f2933;
    font-family: inherit;
}

.mme-ai-search__inner {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.mme-ai-search__box {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    min-height: 40px;
    border: 1px solid rgba(93, 64, 55, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: none;
}

.mme-ai-search__icon::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    margin: 0 auto;
    border: 1.8px solid #7b4b34;
    border-radius: 50%;
    box-sizing: border-box;
}

.mme-ai-search__icon::after {
    content: "";
    display: block;
    width: 7px;
    height: 2px;
    margin: -2px 0 0 22px;
    background: #7b4b34;
    transform: rotate(45deg);
    transform-origin: left center;
}

.mme-ai-search__input {
    width: 100%;
    min-height: 38px;
    border: 0;
    background: transparent;
    color: #111827;
    font: inherit;
    font-size: 14px;
    padding: 0 12px 0 0;
}

.mme-ai-search__input:focus {
    outline: none;
}

.mme-ai-search__box:focus-within {
    border-color: #5D4037;
    box-shadow: 0 0 0 3px rgba(93, 64, 55, 0.16);
}

.mme-ai-search__submit {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mme-ai-search__results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 4px);
    z-index: 99996;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    max-height: min(420px, calc(100vh - 160px));
    overflow: auto;
    padding: 8px;
    border: 1px solid #ebe3da;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 46px rgba(17, 24, 39, 0.18);
}

.mme-ai-search__results[hidden] {
    display: none;
}

.mme-ai-search__product {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    min-height: 72px;
    padding: 8px;
    border: 1px solid #ebe3da;
    border-radius: 8px;
    background: #ffffff;
    color: #111827;
    text-decoration: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mme-ai-search__product:hover {
    border-color: #c9a88f;
    box-shadow: 0 10px 24px rgba(31, 41, 51, 0.1);
    transform: translateY(-1px);
}

.mme-ai-search__product-image {
    width: 54px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f4f6;
}

.mme-ai-search__product-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.mme-ai-search__product-body strong {
    color: #111827;
    font-size: 14px;
    line-height: 1.25;
}

.mme-ai-search__product-meta,
.mme-ai-search__stock {
    color: #5b6472;
    font-size: 12px;
    line-height: 1.35;
}

.mme-ai-search__stock {
    color: #166534;
    font-weight: 700;
}

.mme-ai-search__empty {
    grid-column: 1 / -1;
    padding: 14px;
    border: 1px dashed #d5c9bb;
    border-radius: 8px;
    background: #fffaf5;
}

.mummy-me-home .hero-content,
.mummy-me-home .section-head,
.mummy-me-home .cta-inner {
    text-wrap: pretty;
}

.mummy-me-home .hero-desc,
.mummy-me-home .section-head p,
.mummy-me-home .cta-inner p {
    line-height: 1.65;
}

.mummy-me-home .section {
    padding-top: clamp(42px, 6vw, 76px);
    padding-bottom: clamp(42px, 6vw, 76px);
}

.mummy-me-home .section-head {
    margin-bottom: clamp(22px, 3vw, 34px);
}

.mummy-me-home .products.columns-4 {
    row-gap: 28px;
}

.mummy-me-home .product-card__body {
    padding-top: 14px;
}

.mummy-me-home .product-card__title {
    line-height: 1.3;
}

.mme-ai-chatbot__launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99998;
    border: 1px solid rgba(255, 182, 193, 0.72);
    border-radius: 999px;
    background: linear-gradient(135deg, #5D4037, #7b4b34);
    color: #FFF0F5;
    font: 700 14px/1.2 var(--font-body, Arial, sans-serif);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 17px 13px 13px;
    box-shadow: 0 16px 36px rgba(93, 64, 55, 0.28), 0 0 0 5px rgba(255, 182, 193, 0.18), 0 0 34px rgba(255, 182, 193, 0.42);
    cursor: pointer;
    animation: mme-assistant-glow 2.8s ease-in-out infinite;
}

.mme-ai-chatbot__launcher::before {
    content: "AI";
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff7fb;
    color: #5D4037;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    box-shadow: inset 0 0 0 1px rgba(93, 64, 55, 0.14);
}

.mme-ai-chatbot__launcher:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(93, 64, 55, 0.32), 0 0 0 6px rgba(255, 182, 193, 0.24);
}

@keyframes mme-assistant-glow {
    0%, 100% {
        box-shadow: 0 16px 36px rgba(93, 64, 55, 0.28), 0 0 0 5px rgba(255, 182, 193, 0.18), 0 0 22px rgba(255, 182, 193, 0.28);
    }
    50% {
        box-shadow: 0 18px 42px rgba(93, 64, 55, 0.34), 0 0 0 8px rgba(255, 182, 193, 0.22), 0 0 44px rgba(255, 182, 193, 0.55);
    }
}

.mme-ai-chatbot {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 99999;
    width: min(360px, calc(100vw - 28px));
    height: min(520px, calc(100dvh - 28px));
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(248, 187, 208, 0.9);
    border-radius: 18px;
    background: #fffaf7;
    color: #5D4037;
    box-shadow: 0 24px 70px rgba(93, 64, 55, 0.26);
    overflow: hidden;
    font-family: Arial, sans-serif;
}

.mme-ai-chatbot[hidden],
.mme-ai-chatbot__launcher[hidden] {
    display: none;
}

.mme-ai-chatbot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #5D4037, #7b4b34);
    color: #FFF0F5;
    font-size: 14px;
}

.mme-ai-chatbot__close {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 240, 245, 0.14);
    color: #FFF0F5;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.mme-ai-chatbot__messages {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding: 14px;
    background: #FFF0F5;
}

.mme-ai-chatbot__message {
    max-width: 88%;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.mme-ai-chatbot__message a {
    color: #0f4ca3;
    font-weight: 700;
    text-decoration: underline;
}

.mme-ai-chatbot__message--bot {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid rgba(248, 187, 208, 0.68);
}

.mme-ai-chatbot__message--user {
    align-self: flex-end;
    background: #FFE4E1;
    border: 1px solid rgba(93, 64, 55, 0.16);
}

.mme-ai-chatbot__form {
    display: flex;
    flex-shrink: 0;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.mme-ai-chatbot__input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(248, 187, 208, 0.9);
    border-radius: 999px;
    padding: 10px 11px;
    font-size: 14px;
}

.mme-ai-chatbot__submit {
    border: 0;
    border-radius: 999px;
    background: #5D4037;
    color: #FFF0F5;
    font-weight: 600;
    padding: 10px 13px;
    cursor: pointer;
}

.mme-ai-chatbot__submit:disabled {
    opacity: 0.65;
    cursor: wait;
}

.mme-ai-chatbot__handoff {
    display: grid;
    gap: 9px;
    background: linear-gradient(180deg, #fffaf7, #ffe9e7);
    border-color: rgba(93, 64, 55, 0.18);
}

.mme-ai-chatbot__handoff-text {
    color: #5D4037;
}

.mme-ai-chatbot__phone {
    color: #5D4037 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.mme-ai-chatbot__whatsapp {
    display: inline-flex;
    width: fit-content;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: #25D366;
    color: #073b1d !important;
    font-weight: 800;
    text-decoration: none !important;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22);
}

/* Targeted theme polish layer: conservative fixes only, preserving the existing theme layout. */
:root {
    --mme-polish-ink: #4d332b;
    --mme-polish-muted: #7c5f56;
    --mme-polish-line: rgba(108, 71, 58, 0.16);
    --mme-polish-surface: rgba(255, 252, 249, 0.78);
    --mme-polish-surface-strong: #fffaf7;
    --mme-polish-shadow: 0 18px 48px rgba(77, 51, 43, 0.09);
    --mme-polish-shadow-hover: 0 26px 58px rgba(77, 51, 43, 0.14);
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.top-bar {
    min-height: 38px;
}

.top-bar a,
.top-bar span {
    line-height: 1.4;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 9000;
    border-bottom: 1px solid var(--mme-polish-line);
    background: rgba(255, 250, 247, 0.94);
    backdrop-filter: blur(14px);
}

.header-inner {
    gap: clamp(16px, 2.2vw, 28px);
}

.site-branding img,
.custom-logo-link img {
    width: clamp(92px, 9vw, 128px);
    height: auto;
}

.primary-nav .menu {
    gap: clamp(18px, 2.2vw, 34px);
}

.primary-nav a {
    position: relative;
    font-weight: 650;
    letter-spacing: 0;
}

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0;
    transform: scaleX(0.5);
    transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after {
    opacity: 0.35;
    transform: scaleX(1);
}

.header-actions {
    gap: 16px;
}

.header-cart {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

.header-cart:hover {
    background: rgba(93, 64, 55, 0.08);
}

.section {
    padding-top: clamp(46px, 5vw, 72px);
    padding-bottom: clamp(46px, 5vw, 72px);
}

.section-head {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.section-head p,
.hero-desc,
.product-info .woocommerce-product-details__short-description,
.woocommerce div.product .woocommerce-tabs .panel,
.site-footer p {
    line-height: 1.68;
}

.hero-lumi {
    min-height: auto;
    padding-top: clamp(58px, 7vw, 96px);
    padding-bottom: clamp(58px, 7vw, 96px);
}

.hero-inner {
    gap: clamp(34px, 6vw, 88px);
}

.hero-content {
    max-width: 560px;
}

.hero-image-card {
    border: 1px solid rgba(255, 182, 193, 0.58);
    box-shadow: 0 24px 70px rgba(93, 64, 55, 0.12);
}

.trust-bar {
    border-top: 1px solid var(--mme-polish-line);
    border-bottom: 1px solid var(--mme-polish-line);
}

.shop-sidebar {
    border: 1px solid var(--mme-polish-line);
    border-radius: 18px;
    background: var(--mme-polish-surface);
    box-shadow: 0 12px 34px rgba(77, 51, 43, 0.06);
}

.shop-main__header {
    gap: 16px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border: 1px solid var(--mme-polish-line);
    border-radius: 16px;
    background: rgba(255, 252, 249, 0.72);
}

.woocommerce .woocommerce-result-count,
.shop-result-count,
.woocommerce-result-count {
    color: var(--mme-polish-muted);
    font-size: 0.92rem;
}

.woocommerce .woocommerce-ordering select {
    min-height: 42px;
    border-color: var(--mme-polish-line);
    border-radius: 999px;
    background-color: #fffaf7;
}

.product-info {
    min-width: 0;
}

.product-info .product_title {
    margin-bottom: 14px;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.product-info .price {
    display: inline-flex;
    margin: 0 0 18px;
    color: #a07813;
    font-size: 1.18rem;
    font-weight: 800;
}

.product-info .woocommerce-product-details__short-description {
    max-width: 620px;
    margin-bottom: 24px;
    color: var(--mme-polish-muted);
}

.woocommerce div.product form.cart table.variations label {
    display: block;
    margin-bottom: 8px;
    color: var(--mme-polish-muted);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart .qty {
    min-height: 44px;
    border: 1px solid var(--mme-polish-line);
    border-radius: 12px;
    background: #ffffff;
}

.woocommerce div.product form.cart .button,
.woocommerce div.product form.cart .single_add_to_cart_button {
    min-height: 52px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
}

.woocommerce-tabs {
    clear: both;
    margin-top: clamp(24px, 4vw, 46px);
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom-color: var(--mme-polish-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-radius: 12px 12px 0 0;
}

.woocommerce div.product .woocommerce-tabs .panel {
    max-width: 900px;
    margin: 0 auto !important;
    padding: clamp(22px, 3vw, 36px) !important;
    border: 0;
    border-left: 0 !important;
    border-right: 0 !important;
    background: transparent;
    overflow-wrap: anywhere;
}

.woocommerce div.product .woocommerce-tabs .panel p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    color: var(--mme-polish-muted);
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.72;
}

.woocommerce div.product .woocommerce-tabs .panel h2,
.woocommerce div.product .woocommerce-tabs .panel h3 {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce .related.products h2,
.woocommerce .upsells.products h2 {
    margin-bottom: clamp(24px, 3vw, 38px);
    text-align: center;
    letter-spacing: -0.02em;
}

.site-footer {
    border-top: 1px solid var(--mme-polish-line);
    background: linear-gradient(180deg, rgba(255, 228, 225, 0.94), rgba(255, 226, 220, 0.98));
}

.footer-grid {
    align-items: start;
    gap: clamp(28px, 5vw, 72px);
    padding-top: clamp(48px, 7vw, 86px);
    padding-bottom: clamp(42px, 6vw, 72px);
}

.footer-logo-link img {
    width: 92px;
    margin-bottom: 18px;
}

.site-footer h3,
.site-footer h4 {
    margin-bottom: 18px;
    line-height: 1.15;
}

.footer-about p,
.site-footer p {
    max-width: 320px;
    color: var(--mme-polish-muted);
}

.footer-links {
    display: grid;
    gap: 12px;
}

.footer-links a {
    color: var(--mme-polish-muted);
}

.footer-links a:hover {
    color: var(--mme-polish-ink);
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 999px;
}

.site-footer input[type="email"],
.site-footer input[type="text"] {
    min-height: 48px;
    border-radius: 999px;
}

.footer-bottom {
    padding-top: 22px;
    padding-bottom: 28px;
    border-top: 1px solid var(--mme-polish-line);
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(77, 51, 43, 0.08);
}

@media (max-width: 520px) {
    .mme-ai-search {
        flex: 1 1 100%;
        order: 3;
        width: 100%;
        margin-top: 10px;
    }

    .mme-ai-search__box {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .mme-ai-chatbot {
        right: 10px;
        bottom: 10px;
        width: calc(100vw - 20px);
        height: min(560px, calc(100vh - 20px));
    }

    .mme-ai-chatbot__launcher {
        right: 12px;
        bottom: 12px;
        max-width: 136px;
        padding: 10px 12px 10px 10px;
        font-size: 12px;
        box-shadow: 0 14px 32px rgba(93, 64, 55, 0.28), 0 0 0 5px rgba(255, 182, 193, 0.18), 0 0 34px rgba(255, 182, 193, 0.42);
    }

    .mme-ai-chatbot__launcher::before {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .mme-ai-chatbot {
        right: 8px;
        left: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        width: auto;
        height: min(72dvh, 560px);
        max-height: calc(100dvh - 16px - env(safe-area-inset-bottom));
        border-radius: 16px;
    }

    .mme-ai-chatbot__header {
        padding: 11px 13px;
        font-size: 13px;
    }

    .mme-ai-chatbot__messages {
        gap: 8px;
        padding: 11px;
    }

    .mme-ai-chatbot__message {
        max-width: 92%;
        padding: 9px 10px;
        font-size: 13px;
        line-height: 1.42;
    }

    .mme-ai-chatbot__form {
        position: sticky;
        bottom: 0;
        gap: 7px;
        padding: 9px 10px max(9px, env(safe-area-inset-bottom));
    }

    .mme-ai-chatbot__input {
        min-height: 42px;
        padding: 9px 11px;
        font-size: 16px;
    }

    .mme-ai-chatbot__submit {
        min-height: 42px;
        padding: 9px 13px;
    }

    body.mme-ai-chatbot-open .mme-ai-chatbot:focus-within {
        height: min(58dvh, 440px);
        max-height: calc(100dvh - 12px - env(safe-area-inset-bottom));
    }

    body.mme-ai-chatbot-open .mme-ai-chatbot:focus-within .mme-ai-chatbot__messages {
        padding-top: 9px;
        padding-bottom: 8px;
    }

    body.mme-ai-chatbot-open .mummy-mobile-buybar {
        transform: translateY(120%);
        opacity: 0;
        pointer-events: none;
    }

    .mme-ai-chatbot__whatsapp {
        min-height: 40px;
        padding: 9px 13px;
    }

    body.single-product .mme-ai-chatbot__launcher {
        width: 54px;
        height: 54px;
        min-width: 54px;
        max-width: 54px;
        padding: 0;
        border-radius: 50%;
        overflow: hidden;
        color: transparent;
    }

    body.single-product .mme-ai-chatbot__launcher::before {
        width: 28px;
        height: 28px;
        color: #5D4037;
        font-size: 11px;
    }

    .shop-main__header {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-grid {
        gap: 30px;
    }
}
