
.home-mobile-view { display: none; }
.mobile-app-header,
.mobile-bottom-nav { display: none; }

@media (max-width: 980px) {
    body { background: #f5f3f7; padding-bottom: 86px; }
    .site-header { display: none; }
    .site-footer { padding-bottom: 18px; }
    .footer-shell { border-radius: 28px 28px 0 0; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-nav-group { display: none; }
    .footer-brand-block { padding: 6px 0; }
    .footer-brand-title { font-size: 26px; }
    .footer-actions { flex-direction: column; }
    .footer-action { width: 100%; }
    .footer-bottom { grid-template-columns: 1fr; gap: 12px; }
    .footer-legal-links { justify-content: flex-start; gap: 10px 16px; }

    .home-desktop-view { display: none; }
    .home-mobile-view { display: block; }

    .mobile-app-header {
        position: sticky;
        top: 0;
        z-index: 70;
        display: block;
        background: rgba(255,255,255,.94);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid #eadbe4;
    }
    .mobile-app-top {
        min-height: 74px;
        display: grid;
        grid-template-columns: 44px 1fr auto;
        align-items: center;
        gap: 12px;
        padding: 0 16px;
    }
    .mobile-app-brand { display: inline-flex; justify-self: center; align-items: center; font-size: 22px; font-weight: 900; letter-spacing: -.03em; }
    .mobile-app-actions { display: inline-flex; align-items: center; gap: 8px; }
    .mobile-app-menu,
    .mobile-app-icon {
        position: relative;
        width: 42px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        border: 1px solid #eadbe4;
        background: #fff;
        color: #241723;
        box-shadow: 0 10px 24px rgba(53, 18, 43, .06);
    }
    .mobile-app-menu { padding: 0; }
    .mobile-app-menu span {
        position: absolute;
        width: 18px;
        height: 2px;
        background: #241723;
        border-radius: 999px;
    }
    .mobile-app-menu span:nth-child(1) { transform: translateY(-6px); }
    .mobile-app-menu span:nth-child(2) { transform: translateY(0); }
    .mobile-app-menu span:nth-child(3) { transform: translateY(6px); }
    .mobile-app-icon::before,
    .mb-icon::before,
    .mb-icon::after,
    .mobile-app-search::after,
    .mobile-app-heart::after,
    .mobile-app-cart::after { content: ''; position: absolute; }
    .mobile-app-search::before { width: 13px; height: 13px; border: 2px solid #241723; border-radius: 50%; transform: translate(-2px,-2px); }
    .mobile-app-search::after { width: 8px; height: 2px; background: #241723; transform: rotate(45deg) translate(7px,7px); border-radius: 999px; }
    .mobile-app-heart::before { width: 8px; height: 13px; border-radius: 8px 8px 0 0; background: #241723; transform: rotate(-45deg) translate(-2px,1px); transform-origin: bottom center; }
    .mobile-app-heart::after { width: 8px; height: 13px; border-radius: 8px 8px 0 0; background: #241723; transform: rotate(45deg) translate(2px,1px); transform-origin: bottom center; }
    .mobile-app-cart::before { width: 16px; height: 10px; border: 2px solid #241723; border-top: 0; border-radius: 0 0 4px 4px; transform: translateY(1px); }
    .mobile-app-cart::after { width: 12px; height: 2px; background: #241723; transform: translateY(-8px) rotate(-12deg); border-radius: 999px; }
    .has-badge[data-badge]:not([data-badge="0"])::after { content: attr(data-badge); position: absolute; top: -6px; right: -5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: linear-gradient(135deg, #d9468f, #7c3aed); color: #fff; font-size: 10px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

    .trendy-mobile-nav {
        position: fixed;
        inset: 74px 0 76px 0;
        overflow-y: auto;
        background: #f7f4f8;
        z-index: 69;
        padding: 14px 0 24px;
        border-top: 1px solid #eadbe4;
    }
    .trendy-mobile-inner { width: min(100%, calc(100% - 24px)); }
    .mobile-search { grid-template-columns: 1fr; }
    .mobile-search input { min-height: 48px; border-radius: 16px; }
    .mobile-search button { display: none; }
    .mobile-account-card, .mobile-menu-group, .mobile-link-row {
        border-radius: 18px;
        background: #fff;
        border: 1px solid #eadbe4;
        box-shadow: 0 12px 26px rgba(52, 19, 42, .05);
    }
    .mobile-link-row { margin-bottom: 10px; }
    .mobile-submenu a { background: #fff8fb; border-color: #f0dce7; }

    .m-home-shell { width: min(100%, calc(100% - 24px)); margin: 14px auto 0; }
    .m-home-section, .m-home-hero {
        background: #fff;
        border: 1px solid #eadbe4;
        border-radius: 26px;
        box-shadow: 0 18px 36px rgba(58, 22, 48, .06);
        padding: 18px;
        margin-bottom: 14px;
    }
    .m-home-hero { background: linear-gradient(180deg, #fffafc, #fff); }
    .m-hero-chip {
        display: inline-flex;
        padding: 9px 12px;
        border-radius: 999px;
        background: #fff1f6;
        border: 1px solid #f4d5e3;
        color: #b83275;
        font-size: 11px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
        margin-bottom: 14px;
    }
    .m-home-hero h1 { margin: 0 0 10px; font-size: 22px; line-height: 1.08; letter-spacing: -.04em; }
    .m-home-hero p { margin: 0; font-size: 15px; line-height: 1.72; color: #6d6472; }
    .m-hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
    .m-hero-btn {
        min-height: 50px;
        border-radius: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }
    .m-hero-btn-primary { background: linear-gradient(135deg, #d9468f, #7c3aed); color: #fff; }
    .m-hero-btn-secondary { background: #fff; border: 1px solid #eadbe4; }
    .m-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
    .m-section-head h2 { margin: 0; font-size: 19px; }
    .m-section-head span { color: #8a7f8b; font-size: 12px; font-weight: 700; }
    .m-category-scroller { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
    .m-category-scroller::-webkit-scrollbar { display: none; }
    .m-category-chip {
        flex: 0 0 auto;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff6fa;
        border: 1px solid #efd8e4;
        color: #4e3a4c;
        font-weight: 800;
        font-size: 13px;
        white-space: nowrap;
    }
    .m-tab-buttons {
        display: grid;
        grid-template-columns: repeat(3, minmax(0,1fr));
        gap: 8px;
        margin-bottom: 14px;
    }
    .m-tab-buttons button {
        min-height: 42px;
        border-radius: 14px;
        border: 1px solid #eadbe4;
        background: #fff;
        color: #6b5f6c;
        font: inherit;
        font-weight: 800;
    }
    .m-tab-buttons button.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #d9468f, #7c3aed); }
    .m-tab-panel { display: none; }
    .m-tab-panel.is-active { display: block; }
    .m-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
    .m-product-card {
        position: relative;
        border-radius: 20px;
        border: 1px solid #eadbe4;
        background: #fff;
        overflow: hidden;
        box-shadow: 0 14px 26px rgba(54, 19, 44, .05);
    }
    .m-product-card-media { display: block; aspect-ratio: 1 / 1; background: #fff5f8; }
    .m-product-card-media img { width: 100%; height: 100%; object-fit: cover; }
    .m-product-card-body { padding: 12px; }
    .m-product-card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; font-size: 14px; line-height: 1.4; font-weight: 800; }
    .m-product-card-price { margin-top: 6px; font-size: 17px; font-weight: 900; color: #241723; }
    .m-product-card-actions { display: grid; grid-template-columns: 1fr 42px; gap: 8px; margin-top: 10px; }
    .m-cart-btn, .m-icon-btn {
        min-height: 40px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        border: 1px solid #eadbe4;
        background: #fff;
    }
    .m-cart-btn { background: linear-gradient(135deg, #d9468f, #7c3aed); border: 0; color: #fff; font-size: 13px; }
    .m-icon-btn { font-size: 24px; color: #5d5360; }
    .m-badge {
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 2;
        padding: 6px 9px;
        border-radius: 999px;
        background: rgba(255,255,255,.96);
        border: 1px solid #efdce7;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
    }
    .m-trust-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
    .m-trust-card { min-height: 74px; border-radius: 18px; background: #fff8fb; border: 1px solid #efdce7; display: flex; align-items: center; justify-content: center; text-align: center; padding: 10px; font-weight: 800; font-size: 13px; }
    .m-whatsapp-cta {
        min-height: 54px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        background: linear-gradient(135deg, #14b669, #0f9f6e);
        color: #fff;
        font-weight: 800;
        box-shadow: 0 16px 30px rgba(15, 159, 110, .18);
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 71;
        display: grid;
        grid-template-columns: repeat(5, minmax(0,1fr));
        gap: 4px;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97);
        border-top: 1px solid #eadbe4;
        backdrop-filter: blur(14px);
        box-shadow: 0 -10px 24px rgba(54, 20, 44, .08);
    }
    .mobile-bottom-item { display: grid; gap: 4px; justify-items: center; color: #655a67; font-size: 11px; font-weight: 700; }
    .mb-icon { position: relative; display: inline-flex; width: 22px; height: 22px; }
    .mb-home::before { content: ''; position: absolute; width: 16px; height: 12px; border: 2px solid #433845; border-top: 0; bottom: 2px; left: 2px; }
    .mb-home::after { content: ''; position: absolute; width: 14px; height: 14px; border-top: 2px solid #433845; border-left: 2px solid #433845; transform: rotate(45deg); top: 1px; left: 4px; }
    .mb-category::before { content: ''; position: absolute; width: 16px; height: 2px; background: #433845; top: 4px; left: 3px; box-shadow: 0 6px 0 #433845, 0 12px 0 #433845; }
    .mb-search::before { content: ''; position: absolute; width: 12px; height: 12px; border: 2px solid #433845; border-radius: 50%; top: 2px; left: 2px; }
    .mb-search::after { content: ''; position: absolute; width: 7px; height: 2px; background: #433845; transform: rotate(45deg); right: 1px; bottom: 3px; border-radius: 999px; }
    .mb-cart::before { content: ''; position: absolute; width: 14px; height: 9px; border: 2px solid #433845; border-top: 0; top: 7px; left: 3px; border-radius: 0 0 4px 4px; }
    .mb-cart::after { content: ''; position: absolute; width: 10px; height: 2px; background: #433845; top: 4px; left: 4px; transform: rotate(-14deg); }
    .mb-user::before { content: ''; position: absolute; width: 8px; height: 8px; border: 2px solid #433845; border-radius: 50%; top: 1px; left: 6px; }
    .mb-user::after { content: ''; position: absolute; width: 16px; height: 8px; border: 2px solid #433845; border-bottom: 0; border-radius: 12px 12px 0 0; bottom: 3px; left: 2px; }
}
