/* ==========================================================================
   HYDROMATERIALS APP STORE & TOOLS PLATFORM
   Inspired by: Google Play Store, Apple App Store, and Microsoft Store
   ========================================================================== */

/* Fix stray red dot (.bt-horizontal-menu-trigger and .bt_bb_headline:before) on desktop */
@media screen and (min-width: 1025px) {
    .bt-horizontal-menu-trigger {
        display: none !important;
    }
}

#bt_bb_section_tools_hero .bt_bb_headline::before,
#bt_bb_section_tools_hero .bt_bb_headline_superheadline::before,
#bt_bb_section_tools_hero .bt_bb_headline_content::before,
#bt_bb_section_tools_hero h1::before {
    display: none !important;
    content: none !important;
}

/* Navbar Tools Badge */
.hm-store-pill {
    display: inline-block;
    background: #0088e8;
    color: #ffffff !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 9999px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1.2 !important;
}

/* ==========================================================================
   APP STORE FLYOUT / DROPDOWN (Tools in Header)
   ========================================================================== */
@media screen and (min-width: 1025px) {
    #menu-item-tools-dropdown {
        position: relative !important;
    }

    #menu-item-tools-dropdown>ul.sub-menu.hm-store-flyout {
        position: absolute !important;
        width: 380px !important;
        left: 50% !important;
        transform: translateX(-50%) translateY(12px) !important;
        top: 100% !important;
        background: #ffffff !important;
        border-radius: 16px !important;
        box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 999999 !important;
        list-style: none !important;
        text-align: left !important;
    }

    #menu-item-tools-dropdown>ul.sub-menu.hm-store-flyout::before {
        content: "";
        position: absolute;
        top: -14px;
        left: 0;
        right: 0;
        height: 16px;
        background: transparent;
        pointer-events: auto;
    }

    #menu-item-tools-dropdown:hover>ul.sub-menu.hm-store-flyout,
    #menu-item-tools-dropdown.on>ul.sub-menu.hm-store-flyout {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

.hm-store-flyout-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    font-family: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

.hm-store-flyout-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.hm-store-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-store-brand-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0088e8 0%, #00d2ff 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(0, 136, 232, 0.35);
}

.hm-store-brand-text h4 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.6px;
    color: #0f172a !important;
    text-transform: uppercase;
    line-height: 1.2 !important;
}

.hm-store-brand-text p {
    margin: 1px 0 0 0 !important;
    font-size: 11px !important;
    color: #64748b !important;
    line-height: 1.2 !important;
}

.hm-store-viewall-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #0088e8 !important;
    text-decoration: none !important;
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(0, 136, 232, 0.08);
    transition: all 0.15s ease;
}

.hm-store-viewall-link:hover {
    background: #0088e8 !important;
    color: #ffffff !important;
}

.hm-store-flyout-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #ffffff;
}

.hm-store-column {
    padding: 18px 20px;
}

.hm-store-column:first-child {
    border-right: 1px solid #f1f5f9;
}

.hm-store-col-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 14px !important;
    padding-bottom: 6px;
    border-bottom: 2px solid #f1f5f9;
}

.hm-store-col-badge {
    font-size: 9px !important;
    font-weight: 700 !important;
    color: #0284c7;
    background: #e0f2fe;
    padding: 1px 6px;
    border-radius: 4px;
}

.hm-store-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    text-decoration: none !important;
    background: #ffffff !important;
    border: 1px solid transparent !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    margin-bottom: 10px;
}

.hm-store-item:last-child {
    margin-bottom: 0;
}

.hm-store-item:hover {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-1px) !important;
}

.hm-store-item-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.hm-store-item-details {
    flex: 1;
    min-width: 0;
}

.hm-store-item-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.25 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hm-store-item-sub {
    font-size: 11px !important;
    color: #64748b !important;
    margin: 2px 0 0 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hm-store-pill-btn {
    display: inline-block;
    padding: 5px 14px;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0f172a;
    background: #f1f5f9;
    border-radius: 9999px;
    border: none;
    transition: all 0.18s ease;
}

.hm-store-item:hover .hm-store-pill-btn {
    background: #0088e8;
    color: #ffffff !important;
    box-shadow: 0 3px 8px rgba(0, 136, 232, 0.35);
}

.hm-store-pill-btn.hm-pill-btn-glb {
    background: rgba(167, 139, 250, 0.12) !important;
    color: #a78bfa !important;
    border: 1px solid rgba(167, 139, 250, 0.3) !important;
}

.hm-store-item:hover .hm-store-pill-btn.hm-pill-btn-glb {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(139, 92, 246, 0.4) !important;
}

/* KidCurate Yellow and Blue Pill */
.hm-store-pill-btn.hm-pill-btn-indigo,
.hm-store-pill-btn.hm-pill-btn-kidcurate {
    background: rgba(245, 158, 11, 0.14) !important;
    color: #d97706 !important;
    border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
    font-weight: 700 !important;
}

.hm-store-item:hover .hm-store-pill-btn.hm-pill-btn-indigo,
.hm-store-item:hover .hm-store-pill-btn.hm-pill-btn-kidcurate {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid #f59e0b !important;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.4), 0 0 8px rgba(245, 158, 11, 0.3) !important;
}

/* WonderSprout Bluish Green Pill */
.hm-store-pill-btn.hm-pill-btn-green,
.hm-store-pill-btn.hm-pill-btn-teal {
    background: rgba(13, 148, 136, 0.12) !important;
    color: #0d9488 !important;
    border: 1px solid rgba(13, 148, 136, 0.38) !important;
    font-weight: 700 !important;
}

.hm-store-item:hover .hm-store-pill-btn.hm-pill-btn-green,
.hm-store-item:hover .hm-store-pill-btn.hm-pill-btn-teal {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 45%, #10b981 100%) !important;
    color: #ffffff !important;
    border-color: rgba(13, 148, 136, 0.6) !important;
    box-shadow: 0 3px 10px rgba(13, 148, 136, 0.4) !important;
}

/* HRMS Sky Pill */
.hm-store-pill-btn.hm-pill-btn-sky {
    background: rgba(14, 165, 233, 0.12) !important;
    color: #0284c7 !important;
    border: 1px solid rgba(14, 165, 233, 0.3) !important;
}

.hm-store-item:hover .hm-store-pill-btn.hm-pill-btn-sky {
    background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(14, 165, 233, 0.4) !important;
}

.hm-store-flyout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 22px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
}

.hm-store-flyout-footer a {
    color: #0088e8 !important;
    font-weight: 700;
    text-decoration: none !important;
}

/* ==========================================================================
   APP STORE PAGE & SHELVES (tools.php)
   ========================================================================== */
.hm-store-page-wrap {
    background: #f8fafc;
    font-family: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
    padding-bottom: 110px;
    position: relative;
    overflow-x: hidden;
}

/* Floating Control Strip (Search & Category Chips) */
.hm-store-control-strip {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.hm-store-control-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Search Bar (Google Play Store & Apple style) */
.hm-store-search-box {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.hm-search-icon {
    position: absolute;
    left: 20px;
    color: #64748b;
    pointer-events: none;
    z-index: 2;
}

.hm-search-field {
    width: 100%;
    height: 52px;
    padding: 12px 48px 12px 56px !important;
    border-radius: 9999px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    font-size: 15px !important;
    color: #0f172a !important;
    font-family: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    outline: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important;
    transition: all 0.2s ease !important;
}

.hm-search-field:focus {
    background: #ffffff !important;
    border-color: #0088e8 !important;
    box-shadow: 0 0 0 4px rgba(0, 136, 232, 0.15) !important;
}

.hm-search-clear {
    position: absolute;
    right: 18px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    z-index: 2;
}

.hm-search-clear:hover {
    color: #0f172a;
}

/* Category Filter Chips (Play Store & App Store style) */
.hm-filter-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.hm-chip {
    padding: 8px 20px;
    border-radius: 9999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 13.5px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hm-chip:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

.hm-chip.active {
    background: linear-gradient(135deg, #0088e8 0%, #0284c7 100%);
    color: #ffffff;
    border-color: #0088e8;
    box-shadow: 0 3px 10px rgba(0, 136, 232, 0.35);
}

.hm-chip-count {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.08);
}

.hm-chip.active .hm-chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* ==========================================================================
   FEATURED SPOTLIGHT AUTO-SLIDER CAROUSEL (Microsoft Store & Google Play Style)
   ========================================================================== */
.hm-featured-carousel-section {
    max-width: 1360px;
    margin: 18px auto 0 auto;
    padding: 20px 76px 52px 76px;
    box-sizing: border-box;
    overflow: visible;
}

.hm-carousel-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    box-shadow: none;
    height: 482px;
    min-height: 482px;
    background: transparent;
    isolation: isolate;
}

.hm-carousel-slide {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 476px;
    min-height: 476px;
    border-radius: 24px;
    background: var(--slide-gradient);
    padding: 32px 48px 54px 48px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    transform-origin: center center;
    backface-visibility: hidden;
    will-change: transform, opacity;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0) scale(0.8);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s ease,
        box-shadow 0.45s ease;
}

.hm-carousel-slide.is-active,
.hm-carousel-slide.active {
    opacity: 1;
    z-index: 10;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 22px 54px rgba(15, 23, 42, 0.24);
}

.hm-carousel-slide.is-prev {
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(-6%, 0, 0) scale(0.92);
}

.hm-carousel-slide.is-next {
    opacity: 0.92;
    z-index: 7;
    pointer-events: auto;
    cursor: pointer;
    transform: translate3d(8%, 0, 0) scale(0.92);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.2);
}

.hm-carousel-slide.is-next-2 {
    opacity: 0.72;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
    transform: translate3d(14%, 0, 0) scale(0.84);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.hm-carousel-slide.is-far {
    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transform: translate3d(0, 0, 0) scale(0.78);
}

.hm-carousel-slide:not(.is-active) .hm-tile-face {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hm-slide-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 40px;
    align-items: center;
    height: 100%;
    min-height: 320px;
}

.hm-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    z-index: 2;
}

.hm-slide-tag-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hm-slide-pill {
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
}

.hm-pill-crimson {
    background: rgba(0, 136, 232, 0.2);
    color: #38bdf8;
    border: 1px solid rgba(0, 136, 232, 0.4);
}

.hm-pill-blue {
    background: rgba(2, 132, 199, 0.2);
    color: #7dd3fc;
    border: 1px solid rgba(2, 132, 199, 0.4);
}

.hm-pill-purple {
    background: rgba(167, 139, 250, 0.2) !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(167, 139, 250, 0.45) !important;
}

.hm-pill-indigo,
.hm-pill-yellow {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.45) !important;
}

.hm-pill-amber {
    background: rgba(248, 168, 96, 0.2);
    color: #f8a860;
    border: 1px solid rgba(248, 168, 96, 0.4);
}

.hm-slide-rating {
    font-size: 12px;
    font-weight: 700;
    color: #f8a860;
}

.hm-slide-heading {
    font-size: 34px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.5px;
    line-height: 1.15 !important;
}

.hm-slide-subheading {
    font-size: 15px;
    font-weight: 700;
    color: #e2e8f0;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.hm-slide-desc {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 18px 0;
    max-width: 540px;
}

.hm-slide-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.hm-slide-chip {
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 4px 11px;
    border-radius: 9999px;
}

.hm-slide-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hm-btn-slide-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 13.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #0088e8 0%, #00b4d8 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(0, 136, 232, 0.4);
    transition: all 0.2s ease;
}

.hm-btn-slide-primary:hover {
    background: linear-gradient(135deg, #0099ff 0%, #00c8f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 232, 0.6);
}

.hm-btn-slide-primary.hm-btn-blue {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4);
}

.hm-btn-slide-primary.hm-btn-blue:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0891b2 100%);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.6);
}

/* GLB Viewer Purple Primary Slide Button */
.hm-btn-slide-primary.hm-btn-glb {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45) !important;
    color: #ffffff !important;
}

.hm-btn-slide-primary.hm-btn-glb:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.6) !important;
    transform: translateY(-2px);
}

/* KidCurate Yellow and Blue Primary Slide Button */
.hm-btn-slide-primary.hm-btn-indigo,
.hm-btn-slide-primary.hm-btn-kidcurate {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 2px solid #f59e0b !important;
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45), 0 0 12px rgba(245, 158, 11, 0.3) !important;
    color: #ffffff !important;
}

.hm-btn-slide-primary.hm-btn-indigo:hover,
.hm-btn-slide-primary.hm-btn-kidcurate:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #0284c7 !important;
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.6), 0 0 12px rgba(2, 132, 199, 0.4) !important;
    transform: translateY(-2px);
}

/* WonderSprout Bluish Green Primary Slide Button */
.hm-btn-slide-primary.hm-btn-green,
.hm-btn-slide-primary.hm-btn-teal {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 45%, #10b981 100%) !important;
    border: 1px solid rgba(13, 148, 136, 0.4) !important;
    box-shadow: 0 4px 18px rgba(13, 148, 136, 0.45) !important;
    color: #ffffff !important;
}

.hm-btn-slide-primary.hm-btn-green:hover,
.hm-btn-slide-primary.hm-btn-teal:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0f766e 45%, #059669 100%) !important;
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.6) !important;
    transform: translateY(-2px);
}

.hm-btn-slide-secondary {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.18s ease;
}

.hm-btn-slide-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Windows Phone / Android Live Flipping Tile */
.hm-slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

.hm-live-tile-container {
    width: 100%;
    max-width: 380px;
    height: 250px;
    position: relative;
}

.hm-tile-face {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    transform: rotateX(45deg) scale(0.94);
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.hm-tile-face.active {
    opacity: 1;
    transform: rotateX(0deg) scale(1);
    pointer-events: auto;
}

.hm-tile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hm-tile-icon-bubble {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hm-bubble-red {
    background: linear-gradient(135deg, #0088e8, #00d2ff);
}

.hm-bubble-cyan {
    background: linear-gradient(135deg, #0088e8, #00d2ff);
}

.hm-bubble-amber {
    background: linear-gradient(135deg, #f8a860, #f59e0b);
}

.hm-bubble-green {
    background: linear-gradient(135deg, #059669, #10b981);
}

.hm-bubble-blue {
    background: linear-gradient(135deg, #0284c7, #2563eb);
}

.hm-bubble-purple {
    background: linear-gradient(135deg, #7c3aed, #9333ea);
}

.hm-bubble-glb {
    background: #151522 !important;
    border: 1px solid rgba(167, 139, 250, 0.35) !important;
    box-shadow: 0 2px 8px rgba(167, 139, 250, 0.25) !important;
}

.hm-bubble-teal {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.hm-tile-status-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
}

.hm-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #00d2ff;
    box-shadow: 0 0 8px currentColor;
    animation: livePulse 1.6s infinite;
}

.hm-tile-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.hm-tile-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.3 !important;
}

.hm-tile-ticker {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hm-ticker-line {
    font-size: 12px;
    color: #cbd5e1;
    font-family: Consolas, monospace;
}

.hm-ticker-metric {
    font-size: 12px;
    font-weight: 800;
    color: #34d399;
    margin-top: 4px;
}

.hm-tile-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10.5px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
}

/* Carousel Arrow Buttons (Positioned Cleanly Outside the Carousel Deck) */
.hm-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
}

.hm-carousel-arrow:hover {
    background: #0088e8;
    border-color: #38bdf8;
    box-shadow: 0 0 16px rgba(0, 136, 232, 0.55);
    transform: translateY(-50%) scale(1.08);
}

.hm-carousel-prev {
    left: -58px;
}

.hm-carousel-next {
    right: -58px;
}

/* Carousel Indicator Dots (like Microsoft Store Image 8) */
.hm-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 20;
}

.hm-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.25s ease;
}

.hm-carousel-dot.active {
    width: 26px;
    border-radius: 4px;
    background: #00d2ff;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.7);
}

@media screen and (max-width: 900px) {
    .hm-featured-carousel-section {
        padding: 0 16px;
    }

    .hm-carousel-wrapper {
        height: auto;
        min-height: 620px;
        overflow: hidden;
    }

    .hm-carousel-slide {
        display: none;
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 620px;
        padding: 30px 24px 56px 24px;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    .hm-carousel-slide.is-active,
    .hm-carousel-slide.active {
        display: block;
    }

    .hm-slide-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        height: auto;
    }

    .hm-carousel-prev {
        left: 12px;
    }

    .hm-carousel-next {
        right: 12px;
    }

    .hm-carousel-dots {
        left: 24px;
        bottom: 16px;
    }
}

/* Store Content Container */
.hm-store-container {
    max-width: 1200px;
    margin: 36px auto 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   APP STORE SHELVES & CARDS
   ========================================================================== */
.hm-store-shelf {
    margin-bottom: 56px;
}

.hm-shelf-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.hm-shelf-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hm-shelf-accent {
    width: 5px;
    height: 24px;
    background: linear-gradient(180deg, #0088e8, #f8a860);
    border-radius: 3px;
    display: inline-block;
}

.hm-shelf-title {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.3px;
}

.hm-shelf-tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0088e8;
    background: rgba(0, 136, 232, 0.08);
    border: 1px solid rgba(0, 136, 232, 0.25);
    padding: 3px 10px;
    border-radius: 4px;
}

.hm-shelf-meta {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

/* 2-Column Cards Grid */
.hm-shelf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

@media screen and (max-width: 900px) {
    .hm-shelf-grid {
        grid-template-columns: 1fr;
    }
}

/* Store Product Card (Apple & Google Play Card Design) */
.hm-store-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
}

.hm-store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

/* ==========================================================================
   APP STORE PRODUCT CARDS (Clean Apple & Google Play Store Style)
   ========================================================================== */
.hm-store-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
    padding: 28px;
}

.hm-store-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.hm-card-body {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Upper Header Row */
.hm-card-head {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
}

/* Squircle App Icons */
.hm-card-icon {
    width: 62px;
    height: 62px;
    min-width: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.hm-icon-3d {
    background: linear-gradient(135deg, #0284c7, #2563eb);
    color: #ffffff;
}

.hm-icon-glb {
    background: #151522 !important;
    border: 1px solid rgba(167, 139, 250, 0.35) !important;
    box-shadow: 0 6px 18px rgba(167, 139, 250, 0.25) !important;
    color: #a78bfa !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-icon-kidcurate {
    background: #0d121f !important;
    border: 1px solid rgba(99, 102, 241, 0.35) !important;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.25) !important;
    padding: 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-icon-research {
    background: #081730 !important;
    border: 1px solid rgba(0, 210, 255, 0.35) !important;
    box-shadow: 0 6px 18px rgba(0, 136, 232, 0.25) !important;
    padding: 2px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hm-card-icon img,
.hm-sheet-icon img,
.hm-store-item-icon img,
.hm-tile-icon-bubble img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.hm-card-info {
    flex: 1;
    min-width: 0;
}

.hm-card-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.hm-card-info h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
}

.hm-card-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.25);
    padding: 3px 8px;
    border-radius: 5px;
}

.hm-card-category.hm-cat-agent {
    color: #f8a860;
    background: rgba(248, 168, 96, 0.1);
    border: 1px solid rgba(248, 168, 96, 0.3);
}

.hm-card-category.hm-cat-glb {
    color: #c084fc !important;
    background: rgba(168, 85, 247, 0.12) !important;
    border: 1px solid rgba(168, 85, 247, 0.35) !important;
}

/* KidCurate Yellow and Blue Category Badge */
.hm-card-category.hm-cat-mobile,
.hm-card-category.hm-cat-kidcurate {
    color: #d97706 !important;
    background: rgba(254, 243, 199, 0.7) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
    font-weight: 700 !important;
}

/* WonderSprout Bluish Green Category Badge */
.hm-card-category.hm-cat-green,
.hm-card-category.hm-cat-teal {
    color: #0d9488 !important;
    background: rgba(13, 148, 136, 0.1) !important;
    border: 1px solid rgba(13, 148, 136, 0.38) !important;
    font-weight: 700 !important;
}

.hm-card-category.hm-cat-sky {
    color: #0284c7 !important;
    background: rgba(14, 165, 233, 0.12) !important;
    border: 1px solid rgba(14, 165, 233, 0.35) !important;
}

.hm-card-publisher {
    font-size: 12.5px;
    color: #64748b;
    margin: 3px 0 0 0;
    font-weight: 600;
}

/* Ratings & Reviews on Card */
.hm-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0 0;
    font-size: 12.5px;
}

.hm-stars {
    color: #f59e0b;
    letter-spacing: 1.5px;
    font-size: 13.5px;
}

.hm-rating-num {
    font-weight: 800;
    color: #0f172a;
}

.hm-rating-count {
    color: #94a3b8;
    font-weight: 600;
}

.hm-card-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 18px 0;
    flex: 1;
}

/* Feature Tag Pills */
.hm-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.hm-feature-tag {
    font-size: 11.5px;
    font-weight: 700;
    color: #334155;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}



/* Bottom Action Bar */
.hm-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    gap: 12px;
}

.hm-card-status {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: #059669;
}

.hm-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.hm-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-btn-details {
    font-size: 12.5px;
    font-weight: 700;
    color: #64748b;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.hm-btn-details:hover {
    color: #0f172a;
    background: #f1f5f9;
}

/* Apple App Store style Action Pill Button */
.hm-btn-pill-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 22px;
    border-radius: 9999px;
    font-size: 12.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0088e8 0%, #0284c7 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 136, 232, 0.3);
    transition: all 0.18s ease;
}

.hm-btn-pill-action:hover {
    background: #06152d !important;
    color: #38bdf8 !important;
    box-shadow: 0 4px 14px rgba(6, 21, 45, 0.3);
    transform: translateY(-1px);
}

.hm-btn-pill-action.hm-btn-glb {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 3px 12px rgba(139, 92, 246, 0.4) !important;
}

.hm-btn-pill-action.hm-btn-glb:hover {
    background: #151522 !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(167, 139, 250, 0.6) !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.45) !important;
}

/* KidCurate Yellow and Blue Action Button */
.hm-btn-pill-action.hm-btn-indigo,
.hm-btn-pill-action.hm-btn-kidcurate {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 2px solid #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35), 0 0 10px rgba(245, 158, 11, 0.25) !important;
    font-weight: 800 !important;
}

.hm-btn-pill-action.hm-btn-indigo:hover,
.hm-btn-pill-action.hm-btn-kidcurate:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45), 0 0 10px rgba(2, 132, 199, 0.3) !important;
}

/* WonderSprout Bluish Green Action Button */
.hm-btn-pill-action.hm-btn-green,
.hm-btn-pill-action.hm-btn-teal {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 45%, #10b981 100%) !important;
    border: 1px solid rgba(13, 148, 136, 0.4) !important;
    box-shadow: 0 3px 12px rgba(13, 148, 136, 0.4) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

.hm-btn-pill-action.hm-btn-green:hover,
.hm-btn-pill-action.hm-btn-teal:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0f766e 45%, #059669 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(13, 148, 136, 0.7) !important;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.55) !important;
}

.hm-btn-pill-action.hm-btn-sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    box-shadow: 0 3px 12px rgba(14, 165, 233, 0.4) !important;
}

.hm-btn-pill-action.hm-btn-sky:hover {
    background: #081726 !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14, 165, 233, 0.6) !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.45) !important;
}

/* ==========================================================================
   APP STORE PRODUCT DETAIL MODAL (Quick Look Sheet inspired by Apple & Microsoft Store)
   ========================================================================== */
.hm-product-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.hm-product-modal-backdrop.active {
    display: flex;
}

.hm-product-sheet {
    background: #ffffff;
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 92vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.05);
    animation: sheetPop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

.hm-product-sheet::-webkit-scrollbar,
#modalScreenshots::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

#modalScreenshots {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@keyframes sheetPop {
    from {
        opacity: 0;
        transform: scale(0.97) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hm-sheet-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #f1f5f9;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.15s ease;
    z-index: 20;
}

.hm-sheet-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.08);
}

.hm-sheet-header {
    padding: 20px 22px 14px 22px;
    display: flex;
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.hm-sheet-icon {
    width: 96px;
    height: 96px;
    min-width: 96px;
    border-radius: 20px;
    padding: 3px;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.hm-sheet-meta {
    flex: 1;
    min-width: 0;
}

.hm-sheet-rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 2px 0 6px 0;
    font-size: 11px;
}

.hm-sheet-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.2px;
    line-height: 1.2 !important;
}

.hm-sheet-dev {
    font-size: 12px;
    color: #64748b;
    margin: 2px 0 0 0;
    font-weight: 600;
}

.hm-sheet-get-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #0088e8 0%, #00b4d8 100%);
    color: #ffffff !important;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 136, 232, 0.35);
    transition: all 0.2s ease;
}

.hm-sheet-get-btn:hover {
    background: #06152d !important;
    color: #38bdf8 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(6, 21, 45, 0.35);
}

.hm-sheet-get-btn.hm-btn-glb {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4) !important;
}

.hm-sheet-get-btn.hm-btn-glb:hover {
    background: #151522 !important;
    color: #c4b5fd !important;
    border: 1px solid rgba(167, 139, 250, 0.6) !important;
}

/* KidCurate Yellow and Blue Modal Button */
.hm-sheet-get-btn.hm-btn-indigo,
.hm-sheet-get-btn.hm-btn-kidcurate {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: 2px solid #f59e0b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35), 0 0 10px rgba(245, 158, 11, 0.25) !important;
}

.hm-sheet-get-btn.hm-btn-indigo:hover,
.hm-sheet-get-btn.hm-btn-kidcurate:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45) !important;
}

/* WonderSprout Bluish Green Modal Button */
.hm-sheet-get-btn.hm-btn-green,
.hm-sheet-get-btn.hm-btn-teal {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 45%, #10b981 100%) !important;
    border: 1px solid rgba(13, 148, 136, 0.4) !important;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4) !important;
    color: #ffffff !important;
}

.hm-sheet-get-btn.hm-btn-green:hover,
.hm-sheet-get-btn.hm-btn-teal:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0f766e 45%, #059669 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(13, 148, 136, 0.7) !important;
}

.hm-sheet-get-btn.hm-btn-sky {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%) !important;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4) !important;
}

.hm-sheet-get-btn.hm-btn-sky:hover {
    background: #081726 !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(14, 165, 233, 0.6) !important;
}

.hm-sheet-body {
    padding: 14px 22px 18px 22px;
}

/* 4-Item App Store Metadata Strip */
.hm-sheet-info-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.hm-info-strip-cell {
    text-align: center;
}

.hm-info-strip-label {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1px;
}

.hm-info-strip-val {
    font-size: 11.5px;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Modal Highlights List (Sleek Apple Store style) */
.hm-modal-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
}

.hm-modal-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #334155;
    line-height: 1.35;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 7px 10px;
    transition: background 0.15s ease;
}

.hm-modal-highlight-item:hover {
    background: #ffffff;
    border-color: #cbd5e1;
}

.hm-modal-check {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border-radius: 50%;
    background: rgba(0, 136, 232, 0.12);
    color: #0088e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    margin-top: 1px;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    #menu-item-tools-dropdown>ul.sub-menu.hm-store-flyout {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    .hm-store-flyout-body {
        grid-template-columns: 1fr !important;
    }

    .hm-sheet-info-strip {
        grid-template-columns: 1fr 1fr;
    }

    .hm-modal-highlights {
        grid-template-columns: 1fr !important;
    }

    .hm-sheet-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px 18px 14px 18px !important;
    }

    .hm-sheet-body {
        padding: 14px 18px 18px 18px !important;
    }
}


/* ==========================================================================
   RECTANGULAR LOGO-ONLY APP TILES (Below Search Bar)
   ========================================================================== */
.hm-app-icon-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

@media screen and (max-width: 1120px) {
    .hm-app-icon-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.hm-app-tile {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    width: 100%;
    height: 120px;
    min-height: 120px;
    max-height: 120px;
    border-radius: 16px;
    padding: 26px 14px 14px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    font-family: inherit;
    box-sizing: border-box;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.2s ease;
}

.hm-app-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.22s ease;
}

.hm-app-tile:hover,
.hm-app-tile:focus-visible {
    transform: translateY(-4px);
    border-color: #0088e8 !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14), 0 0 0 3px rgba(0, 136, 232, 0.18);
    outline: none;
}

.hm-app-tile:hover img {
    transform: scale(1.05);
}

.hm-app-tile:active {
    transform: translateY(-1px) scale(0.98);
}

/* Seamless Tile Surfaces Matched to Each Logo */
/* Seamless Dark Tile Surfaces Matched to Each Logo */
.hm-tile-searchwrite {
    background: #06142c;
    border: 1px solid rgba(0, 210, 255, 0.28);
}

.hm-tile-glb {
    background: #1e1b2c;
    border: 1px solid rgba(167, 139, 250, 0.3);
}

.hm-tile-vessel {
    background: linear-gradient(180deg, #171c25 0%, #14171d 100%);
    border: 1px solid rgba(56, 189, 248, 0.28);
}

.hm-tile-wondersprout {
    background: linear-gradient(135deg, #042f2e 0%, #0c4a6e 100%);
    border: 1px solid rgba(45, 212, 191, 0.32);
    padding: 26px 12px 10px 12px;
}

.hm-tile-wondersprout .hm-tile-logo-pill {
    background: #ffffff;
    border: 2px solid #2dd4bf;
    border-radius: 12px;
    padding: 2px 6px;
    height: 68px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.hm-tile-wondersprout .hm-tile-logo-pill img {
    scale: 1.18;
    translate: 0 3px;
}

.hm-tile-kidcurate {
    background: linear-gradient(135deg, #071428 0%, #0b2545 100%);
    border: 1px solid rgba(245, 158, 11, 0.38);
    padding: 18px 12px 10px 12px;
}

.hm-tile-kidcurate .hm-tile-inline-brand {
    flex-direction: column;
    gap: 0px;
}

.hm-tile-kidcurate .hm-tile-square-icon {
    width: 62px !important;
    height: 62px !important;
    scale: 1.48;
    margin-top: -4px;
    margin-bottom: 4px;
}

.hm-tile-hrms {
    background: #171635;
    border: 1px solid rgba(56, 189, 248, 0.32);
}

/* WonderSprout Inner Logo Pill */
.hm-tile-logo-pill {
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 12px;
    height: 54px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
    transition: transform 0.22s ease;
}

.hm-app-tile:hover .hm-tile-logo-pill {
    transform: scale(1.05);
}

.hm-tile-logo-pill img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transform: none !important;
}

/* KidCurate & WonderSprout Clean Transparent Icon + Wordmark */
.hm-tile-inline-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 100%;
    transition: transform 0.22s ease;
}

.hm-app-tile:hover .hm-tile-inline-brand {
    transform: scale(1.05);
}

.hm-tile-square-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 0 !important;
    object-fit: contain !important;
    flex-shrink: 0;
    box-shadow: none !important;
    background: transparent !important;
    transform: none !important;
}

.hm-tile-wordmark {
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: -0.2px;
    color: #ffffff;
    line-height: 1.1;
    white-space: nowrap;
}

/* Minimal Corner Category Tag */
.hm-tile-corner-tag {
    position: absolute;
    top: 7px;
    right: 8px;
    font-size: 8.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    border-radius: 9999px;
    line-height: 1.25;
    pointer-events: none;
    z-index: 2;
}

.hm-tag-dark {
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Quick Look Modal Icon Surfaces & VesselCraft 3D Accent */
.hm-icon-vessel {
    background: linear-gradient(180deg, #171c25 0%, #14171d 100%) !important;
    border: 1px solid rgba(14, 165, 233, 0.4) !important;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.22) !important;
    padding: 2px !important;
}

.hm-icon-wondersprout {
    background: #ffffff !important;
    border: 2px solid #14b8a6 !important;
    box-shadow: 0 6px 16px rgba(13, 148, 136, 0.25) !important;
    padding: 2px !important;
    overflow: hidden;
}

.hm-icon-hrms {
    background: #171635 !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.22) !important;
    padding: 2px !important;
}

.hm-card-category.hm-cat-vessel {
    color: #0369a1 !important;
    background: rgba(2, 132, 199, 0.12) !important;
    border: 1px solid rgba(2, 132, 199, 0.35) !important;
}

.hm-sheet-get-btn.hm-btn-vessel {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.4) !important;
}

.hm-sheet-get-btn.hm-btn-vessel:hover {
    background: #06152d !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.6) !important;
}

@media screen and (max-width: 600px) {
    .hm-app-icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hm-app-tile {
        height: 96px;
        padding: 22px 12px 12px 12px;
    }

    .hm-tile-logo-pill {
        height: 44px;
        padding: 4px 10px;
    }

    .hm-tile-square-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px;
    }

    .hm-tile-wordmark {
        font-size: 15px;
    }
}