/*
 * UrHobby — phone & tablet UI (up to 921px).
 * App-style header, slide-in menu, compact cards and pages.
 * Desktop is not changed by this file.
 */

/* Phone header and menu are hidden on big screens */
.uh-mhead,
.uh-drawer { display: none; }

@media (max-width: 921px) {

    /* ------------------------------------------------------------
       1. Base
       ------------------------------------------------------------ */
    html body.uh-site {
        font-size: 15px;
        -webkit-tap-highlight-color: transparent;
    }

    body.uh-lock { overflow: hidden; }

    html body.uh-site .site-content { padding-top: 16px !important; padding-bottom: 24px !important; }
    html body.uh-site .ast-container { padding-left: 16px; padding-right: 16px; }

    html body.uh-site .entry-title,
    html body.uh-site .woocommerce-products-header__title,
    html body.uh-site h1.page-title {
        font-size: 26px !important;
        line-height: 1.2;
        margin: 4px 0 14px !important;
    }

    /* ------------------------------------------------------------
       2. Offer bar: one slim line
       ------------------------------------------------------------ */
    html body.uh-site .uh-offer-bar { font-size: 12px; }
    html body.uh-site .uh-offer-bar .uh-wrap { padding-top: 6px; padding-bottom: 6px; }

    /* ------------------------------------------------------------
       3. Phone header (replaces Astra's header)
       ------------------------------------------------------------ */
    html body.uh-mobile-ui #masthead,
    html body.uh-mobile-ui .site-header,
    html body.uh-mobile-ui #ast-mobile-header,
    html body.uh-mobile-ui .uh-searchbar { display: none !important; }

    .uh-mobile-ui .uh-mhead {
        display: block;
        position: sticky;
        top: 0;
        z-index: 60;
        background: #FFFFFF;
        border-bottom: 1px solid var(--uh-line);
        box-shadow: 0 2px 10px rgba(14, 35, 80, 0.05);
    }

    .admin-bar.uh-mobile-ui .uh-mhead { top: 46px; }

    .uh-mhead-bar {
        display: flex;
        align-items: center;
        gap: 4px;
        height: 60px;
        padding: 0 8px;
    }

    .uh-mhead-logo {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        padding: 0 4px;
    }

    .uh-mhead-logo img {
        display: block;
        height: 34px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
    }

    .uh-mhead-right { display: flex; align-items: center; gap: 2px; }

    html body.uh-site .uh-mhead-btn {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        margin: 0;
        border: 0;
        border-radius: 12px;
        background: transparent;
        color: var(--uh-navy);
        cursor: pointer;
        box-shadow: none;
        min-height: 0;
        text-decoration: none;
    }

    html body.uh-site .uh-mhead-btn:hover,
    html body.uh-site .uh-mhead-btn:focus { background: #F4F2EC; color: var(--uh-navy); }

    html body.uh-site .uh-mhead-btn[aria-expanded="true"] { background: #F4F2EC; }

    .uh-mhead-count {
        position: absolute;
        top: 4px;
        right: 2px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 9px;
        background: var(--uh-orange);
        color: var(--uh-navy);
        font-size: 11px;
        font-weight: 800;
        line-height: 18px;
        text-align: center;
    }

    .uh-mhead-count.is-empty { display: none; }

    /* Search row under the header */
    .uh-msearch {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0 12px 12px;
        position: relative;
    }

    .uh-msearch[hidden] { display: none; }

    .uh-msearch-icon {
        position: absolute;
        left: 26px;
        top: 50%;
        transform: translateY(calc(-50% - 6px));
        color: var(--uh-muted);
        display: flex;
        pointer-events: none;
    }

    html body.uh-site .uh-msearch input[type="search"] {
        flex: 1;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0 12px 0 40px;
        border: 1.5px solid #D6D3CB;
        border-radius: 12px;
        background: #F8F6F2;
        color: var(--uh-navy);
        font-size: 16px; /* 16px stops iPhone zoom */
    }

    html body.uh-site .uh-msearch input[type="search"]:focus {
        border-color: var(--uh-navy);
        background: #FFFFFF;
        outline: none;
        box-shadow: 0 0 0 3px rgba(14, 35, 80, 0.10);
    }

    html body.uh-site .uh-msearch button {
        height: 46px;
        padding: 0 16px;
        margin: 0;
        border: 0;
        border-radius: 12px;
        background: var(--uh-navy);
        color: #FFFFFF;
        font-weight: 700;
        font-size: 15px;
    }

    /* ------------------------------------------------------------
       4. Slide-in menu
       ------------------------------------------------------------ */
    .uh-mobile-ui .uh-drawer { display: block; position: fixed; inset: 0; z-index: 100; }
    .uh-mobile-ui .uh-drawer[hidden] { display: none; }

    .uh-drawer-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(14, 35, 80, 0.45);
        opacity: 0;
        transition: opacity 0.25s;
    }

    .uh-drawer-panel {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(86vw, 340px);
        background: #FFFFFF;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        padding: 0 0 calc(24px + env(safe-area-inset-bottom));
        box-shadow: 8px 0 30px rgba(14, 35, 80, 0.18);
    }

    .uh-drawer.is-open .uh-drawer-backdrop { opacity: 1; }
    .uh-drawer.is-open .uh-drawer-panel { transform: none; }

    .uh-drawer-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        padding: 0 8px 0 16px;
        border-bottom: 1px solid var(--uh-line);
        position: sticky;
        top: 0;
        background: #FFFFFF;
        z-index: 1;
    }

    .uh-drawer-head img { height: 30px; width: auto; }

    html body.uh-site a.uh-drawer-user {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 14px 14px 4px;
        padding: 12px 14px;
        border-radius: 14px;
        background: var(--uh-navy);
        color: #FFFFFF;
        text-decoration: none;
    }

    .uh-drawer-user > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
    .uh-drawer-user strong { font-size: 15px; color: #FFFFFF; }
    .uh-drawer-user small { font-size: 12px; color: var(--uh-muted-on-dark); }
    .uh-drawer-user svg { flex: none; }

    .uh-drawer-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .uh-drawer-title {
        margin: 18px 16px 6px !important;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--uh-muted);
    }

    .uh-drawer-cats,
    .uh-drawer-links {
        list-style: none;
        margin: 0 !important;
        padding: 0 8px !important;
    }

    .uh-drawer-cats li,
    .uh-drawer-links li { margin: 0 !important; }

    html body.uh-site .uh-drawer-cats a,
    html body.uh-site .uh-drawer-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 48px;
        padding: 6px 8px;
        border-radius: 12px;
        color: var(--uh-navy);
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    html body.uh-site .uh-drawer-cats a:active,
    html body.uh-site .uh-drawer-links a:active { background: #F4F2EC; }

    .uh-drawer-links a span { flex: 1; }
    .uh-drawer-links a svg { color: var(--uh-muted); }

    .uh-drawer-cat-icon {
        flex: none;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .uh-drawer-cat-icon.t0 { background: #FFE9D6; color: #D9700C; }
    .uh-drawer-cat-icon.t1 { background: #E1ECFB; color: #1E4DA1; }
    .uh-drawer-cat-icon.t2 { background: #E6F4EA; color: #1E7A3C; }
    .uh-drawer-cat-icon.t3 { background: #F1E8FB; color: #6B2FA8; }
    .uh-drawer-cat-icon.is-all { background: #EEF0F5; color: var(--uh-navy); }

    .uh-drawer-help { margin-top: 10px; border-top: 1px solid var(--uh-line); }
    .uh-drawer-help-row { display: flex; gap: 8px; padding: 0 14px; }

    html body.uh-site .uh-drawer-help-row a {
        flex: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 46px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 14px;
        text-decoration: none;
    }

    html body.uh-site a.uh-drawer-call { background: var(--uh-orange); color: var(--uh-navy); }
    html body.uh-site a.uh-drawer-wa { background: #25D366; color: #FFFFFF; }

    /* ------------------------------------------------------------
       5. Category chips: only on shop and search pages
       ------------------------------------------------------------ */
    html body.uh-home .uh-chips,
    html body.single-product .uh-chips,
    html body.woocommerce-cart .uh-chips,
    html body.woocommerce-checkout .uh-chips,
    html body.woocommerce-account .uh-chips,
    html body.uh-site.page:not(.woocommerce-page):not(.uh-home) .uh-chips,
    html body.uh-site.single-post .uh-chips { display: none !important; }

    html body.uh-site .uh-chips { background: #FFFFFF; border-bottom: 1px solid var(--uh-line); }
    html body.uh-site .uh-chips nav { padding: 10px 12px; gap: 8px; scrollbar-width: none; }
    html body.uh-site .uh-chips nav::-webkit-scrollbar { display: none; }
    html body.uh-site .uh-chip { min-height: 36px; padding: 0 14px; font-size: 13px; }

    /* ------------------------------------------------------------
       6. Floating WhatsApp: small round button
       ------------------------------------------------------------ */
    html body.uh-site .uh-whatsapp {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
        right: 14px;
    }

    html body.uh-site .uh-whatsapp .uh-whatsapp-label { display: none; }

    /* ------------------------------------------------------------
       7. Product cards (all lists)
       ------------------------------------------------------------ */
    html body.uh-site ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    html body.uh-site ul.products li.product {
        padding: 6px 6px 10px;
        border-radius: 14px;
        box-shadow: 0 1px 2px rgba(14, 35, 80, 0.04);
    }

    html body.uh-site ul.products li.product:hover { transform: none; }

    html body.uh-site ul.products li.product img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 8px;
        width: 100%;
    }

    html body.uh-site ul.products li.product .woocommerce-loop-product__title,
    html body.uh-site ul.products li.product .ast-loop-product__link h2 {
        font-size: 13.5px;
        font-weight: 600;
        line-height: 1.35;
        padding: 0 4px !important;
        margin: 0 0 4px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: calc(13.5px * 1.35 * 2);
    }

    html body.uh-site ul.products li.product .price {
        font-size: 15px;
        margin: 0 0 8px !important;
        padding: 0 4px;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 0 6px;
    }

    html body.uh-site ul.products li.product .price del { font-size: 12px; order: 2; }
    html body.uh-site ul.products li.product .price ins { order: 1; }

    html body.uh-site ul.products li.product .button {
        min-height: 38px !important;
        height: 38px;
        padding: 0 8px !important;
        margin: auto 0 0 !important;
        border-radius: 10px !important;
        font-size: 13.5px !important;
        font-weight: 700;
        line-height: 38px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    html body.uh-site ul.products li.product .added_to_cart {
        display: block;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        padding-top: 6px;
        color: var(--uh-navy);
    }

    html body.uh-site ul.products li.product .onsale {
        top: 12px;
        left: 12px;
        font-size: 11px;
        padding: 3px 7px;
        border-radius: 6px;
    }

    html body.uh-site ul.products li.product .ast-woo-product-category { display: none; }

    /* ------------------------------------------------------------
       8. Homepage
       ------------------------------------------------------------ */
    html body.uh-home .uh-hero { padding: 20px 0 22px; }
    html body.uh-home .uh-hero .uh-wrap { gap: 16px; }

    html body.uh-home .uh-hero h1 {
        font-size: 30px !important;
        line-height: 1.1;
        margin: 0 0 6px;
    }

    html body.uh-home .uh-hero-copy p { font-size: 15px; margin: 0 0 14px; }

    html body.uh-home .uh-hero-search { height: 54px; border-radius: 14px; }
    html body.uh-home .uh-hero-search input { font-size: 16px; }
    html body.uh-home .uh-hero-search button { border-radius: 10px; }

    html body.uh-home .uh-quick { gap: 8px; margin-top: 12px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
    html body.uh-home .uh-quick::-webkit-scrollbar { display: none; }
    html body.uh-home .uh-quick > span { display: none; }

    html body.uh-home .uh-quick a {
        flex: none;
        display: inline-flex;
        align-items: center;
        min-height: 34px;
        padding: 0 14px;
        border-radius: 999px;
        background: #FFFFFF;
        border: 1px solid var(--uh-line);
        font-size: 13px;
        font-weight: 600;
        color: var(--uh-navy);
        text-decoration: none;
    }

    html body.uh-home .uh-section { padding: 22px 0 6px; }
    html body.uh-home .uh-section-head { margin-bottom: 12px; align-items: center; }
    html body.uh-home .uh-section-head h2 { font-size: 21px !important; margin: 0; }
    html body.uh-home .uh-section-head a { font-size: 14px; font-weight: 600; padding: 6px 0; }

    /* Categories: one swipeable row of round icons */
    html body.uh-home .uh-cat-grid {
        display: flex !important;
        gap: 4px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        margin: 0 -16px;
        padding: 2px 12px 6px;
        scrollbar-width: none;
        max-width: 100vw;
    }

    html body.uh-home .uh-cat-grid::-webkit-scrollbar { display: none; }

    html body.uh-home .uh-cat {
        flex: 0 0 84px;
        min-height: 0;
        padding: 4px 2px;
        gap: 8px;
        background: transparent !important;
        border-radius: 0;
        scroll-snap-align: start;
        box-shadow: none !important;
        transform: none !important;
    }

    html body.uh-home .uh-cat-icon {
        width: 64px;
        height: 64px;
        box-shadow: none;
    }

    html body.uh-home .uh-cat.t0 .uh-cat-icon { background: #FFE9D6; }
    html body.uh-home .uh-cat.t1 .uh-cat-icon { background: #E1ECFB; }
    html body.uh-home .uh-cat.t2 .uh-cat-icon { background: #E6F4EA; }
    html body.uh-home .uh-cat.t3 .uh-cat-icon { background: #F1E8FB; }

    html body.uh-home .uh-cat-name {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Help box */
    html body.uh-home .uh-help { padding: 18px 0 24px; }
    html body.uh-home .uh-help-box { padding: 18px; border-radius: 18px; gap: 12px; }
    html body.uh-home .uh-help-box h2 { font-size: 20px !important; }
    html body.uh-home .uh-help-box .uh-btn { min-height: 48px; }

    /* ------------------------------------------------------------
       9. Shop, category, search
       ------------------------------------------------------------ */
    html body.uh-site .uh-shop-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 0 0 12px;
    }

    html body.uh-site .uh-shop-toolbar:empty { display: none; }

    html body.uh-site .uh-shop-toolbar .woocommerce-result-count {
        margin: 0 !important;
        float: none !important;
        font-size: 13px;
        color: var(--uh-muted);
    }

    html body.uh-site .uh-shop-toolbar .woocommerce-ordering { margin: 0 !important; float: none !important; }

    html body.uh-site .woocommerce-ordering select {
        height: 38px;
        max-width: 170px;
        padding: 0 32px 0 12px;
        border: 1px solid var(--uh-line);
        border-radius: 999px;
        background-color: #FFFFFF;
        color: var(--uh-navy);
        font-size: 13px;
        font-weight: 600;
    }

    html body.uh-site .term-description,
    html body.uh-site .woocommerce-products-header { margin-bottom: 8px; }

    html body.uh-site nav.woocommerce-pagination ul { border: 0 !important; display: flex; justify-content: center; gap: 6px; }
    html body.uh-site nav.woocommerce-pagination ul li { border: 0 !important; }
    html body.uh-site nav.woocommerce-pagination ul li a,
    html body.uh-site nav.woocommerce-pagination ul li span {
        min-width: 40px;
        height: 40px;
        line-height: 40px;
        padding: 0 8px;
        border-radius: 10px;
        border: 1px solid var(--uh-line);
        background: #FFFFFF;
        color: var(--uh-navy);
    }
    html body.uh-site nav.woocommerce-pagination ul li span.current { background: var(--uh-navy); color: #FFFFFF; border-color: var(--uh-navy); }

    /* Notices: small and tidy */
    html body.uh-site .woocommerce-message,
    html body.uh-site .woocommerce-info,
    html body.uh-site .woocommerce-error {
        font-size: 14px;
        padding: 12px 14px !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px 10px;
        outline: none !important;
    }

    html body.uh-site .woocommerce-message::before,
    html body.uh-site .woocommerce-info::before { position: static; margin: 0; }

    html body.uh-site .woocommerce-message .button,
    html body.uh-site .woocommerce-info .button {
        order: 3;
        float: none !important;
        margin: 0 0 0 auto !important;
        min-height: 34px;
        padding: 0 12px !important;
        font-size: 13px;
        border-radius: 8px;
    }

    /* ------------------------------------------------------------
       10. Product page: photo edge to edge, clean info
       ------------------------------------------------------------ */
    html body.single-product { background: #FFFFFF; }
    html body.single-product .site-content { padding-top: 0 !important; }

    html body.single-product .woocommerce-breadcrumb { margin: 10px 0 8px; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

    html body.uh-site.single-product div.product { gap: 0; }

    html body.uh-site.single-product .woocommerce-product-gallery {
        margin: 0 -16px !important;
        padding: 0 0 8px;
        border: 0;
        border-radius: 0;
        background: #F8F6F2;
    }

    html body.uh-site.single-product .woocommerce-product-gallery img { border-radius: 0; }

    html body.uh-site.single-product .woocommerce-product-gallery .flex-control-thumbs {
        display: flex !important;
        gap: 8px;
        overflow-x: auto;
        padding: 0 16px !important;
        margin-top: 8px !important;
        scrollbar-width: none;
    }

    html body.uh-site.single-product .woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 60px; }
    html body.uh-site.single-product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; }

    html body.uh-site.single-product div.product > .onsale { top: 12px; left: 0; }

    html body.uh-site.single-product div.product .summary {
        border: 0;
        border-radius: 0;
        padding: 16px 0 8px;
        background: transparent;
    }

    html body.uh-site.single-product .product_title { font-size: 22px !important; line-height: 1.25; margin-bottom: 8px; }
    html body.uh-site.single-product .summary .price { font-size: 26px; margin-bottom: 10px; }
    html body.uh-site.single-product .woocommerce-product-details__short-description { font-size: 14px; }

    html body.uh-site.single-product form.cart { gap: 10px; }
    html body.uh-site.single-product form.cart .single_add_to_cart_button,
    html body.uh-site.single-product form.cart .uh-buy-now { min-height: 52px; border-radius: 14px; font-size: 16px; }

    html body.uh-site.single-product .product_meta { padding-top: 12px; border-top: 1px solid var(--uh-line); }

    /* Tabs: swipe row of pills */
    html body.uh-site.single-product .woocommerce-tabs {
        margin: 12px -16px 0;
        border: 0;
        border-top: 8px solid #F4F2EC;
        border-radius: 0;
        padding: 16px;
    }

    html body.uh-site.single-product .woocommerce-tabs ul.tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
    }

    html body.uh-site.single-product .woocommerce-tabs ul.tabs li { flex: none; }
    html body.uh-site.single-product .woocommerce-tabs ul.tabs li a { min-height: 36px; font-size: 13px; padding: 0 14px !important; }

    html body.uh-site.single-product .related.products,
    html body.uh-site.single-product .up-sells {
        margin: 0 -16px;
        padding: 4px 16px 8px;
        border-top: 8px solid #F4F2EC;
    }

    html body.uh-site.single-product .related.products > h2,
    html body.uh-site.single-product .up-sells > h2 { font-size: 20px !important; margin: 16px 0 12px; }

    /* Buy bar */
    html body.uh-site .uh-buybar { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
    html body.uh-site .uh-buybar-btn {
        min-height: 46px;
        border-radius: 12px;
        background: var(--uh-orange);
        color: var(--uh-navy);
        font-weight: 800;
        padding: 0 18px;
    }

    /* ------------------------------------------------------------
       11. Cart & checkout: simpler header area
       ------------------------------------------------------------ */
    html body.woocommerce-cart .entry-title,
    html body.woocommerce-checkout .entry-title { font-size: 24px !important; margin-bottom: 10px !important; }

    html body.uh-site .uh-steps { margin-bottom: 14px; }

    /* ------------------------------------------------------------
       12. My account
       ------------------------------------------------------------ */
    html body.woocommerce-account .woocommerce form.login,
    html body.woocommerce-account .woocommerce form.register {
        background: #FFFFFF;
        border: 1px solid var(--uh-line) !important;
        border-radius: 18px !important;
        padding: 18px !important;
        margin: 0 0 16px !important;
    }

    html body.woocommerce-account .woocommerce form .form-row input.input-text {
        min-height: 48px;
        border-radius: 12px;
        font-size: 16px;
    }

    html body.woocommerce-account .woocommerce form.login .button,
    html body.woocommerce-account .woocommerce form.register .button {
        width: 100%;
        min-height: 50px;
        border-radius: 12px;
        margin: 8px 0 0 !important;
        float: none !important;
    }

    html body.woocommerce-account .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; }
    html body.woocommerce-account .lost_password { text-align: center; margin: 12px 0 0 !important; }

    html body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 6px !important;
    }

    html body.woocommerce-account .woocommerce-MyAccount-navigation ul li { flex: none; }
    html body.woocommerce-account .woocommerce-MyAccount-navigation ul li a { white-space: nowrap; min-height: 40px; display: flex; align-items: center; padding: 0 14px; border-radius: 10px; }
    html body.woocommerce-account .woocommerce-MyAccount-navigation,
    html body.woocommerce-account .woocommerce-MyAccount-content { width: 100% !important; float: none !important; }
    html body.woocommerce-account .woocommerce-MyAccount-content { margin-top: 14px; }

    html body.woocommerce-account table.shop_table_responsive tr {
        display: block;
        background: #FFFFFF;
        border: 1px solid var(--uh-line);
        border-radius: 14px;
        margin-bottom: 10px;
        padding: 6px 12px;
    }

    /* ------------------------------------------------------------
       13. Blog and normal pages
       ------------------------------------------------------------ */
    html body.uh-site .entry-content { font-size: 15.5px; line-height: 1.7; }
    html body.uh-site .entry-content img { border-radius: 12px; }

    /* ------------------------------------------------------------
       14. Promises row and footer
       ------------------------------------------------------------ */
    html body.uh-site .uh-services { padding: 4px 0; }
    html body.uh-site .uh-services-grid { gap: 2px 10px; padding-top: 12px; padding-bottom: 12px; }
    html body.uh-site .uh-service { padding: 8px 0; gap: 10px; }
    html body.uh-site .uh-service-icon { width: 36px; height: 36px; }
    html body.uh-site .uh-service-title { font-size: 13px; }
    html body.uh-site .uh-service-text { font-size: 12px; }

    html body.uh-site .uh-footer-grid { padding-top: 24px; }
    html body.uh-site .uh-footer-brand { padding-bottom: 14px; }
    html body.uh-site .uh-fold > summary { min-height: 52px; }
    html body.uh-site .uh-footer-bottom { text-align: center; padding-bottom: 20px; }
}

/* Phones only (bottom bar visible): keep floating buttons above it */
@media (max-width: 640px) {
    html body.uh-has-bottom-nav .uh-whatsapp { bottom: calc(72px + env(safe-area-inset-bottom)); }
    html body.uh-has-buybar .uh-whatsapp { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Small phones */
@media (max-width: 360px) {
    .uh-mhead-logo img { height: 28px; }
    html body.uh-home .uh-hero h1 { font-size: 26px !important; }
    html body.uh-site ul.products li.product .button { font-size: 12.5px !important; }
}

/* Notices: text with the button on the right (WooCommerce puts the button first) */
@media (max-width: 921px) {
    html body.uh-site .woocommerce-message,
    html body.uh-site .woocommerce-info,
    html body.uh-site .woocommerce-error {
        display: block !important;
        position: relative;
        padding: 12px 14px 12px 42px !important;
        line-height: 1.45;
    }
    html body.uh-site .woocommerce-message::before,
    html body.uh-site .woocommerce-info::before,
    html body.uh-site .woocommerce-error::before { position: absolute !important; left: 14px; top: 13px; }
    html body.uh-site .woocommerce-message .button,
    html body.uh-site .woocommerce-info .button {
        float: right !important;
        margin: 0 0 4px 10px !important;
        display: inline-flex !important;
        align-items: center;
    }
}
@media (max-width: 480px) {
    html body.uh-home .uh-cat-grid { margin: 0 -12px; padding: 2px 8px 6px; }
}
@media (max-width: 921px) {
    html body.woocommerce-cart .uh-whatsapp { display: none !important; }
}
