/* SEEN_HOME_PREMIUM_V1 */
/* Premium Navigation Cards - Home Only */

#home #featureGrid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

/* PREMIUM SILVER CARDS */

#home #featureGrid > .feature-card {
    --seen-accent: #246ab0;
    --seen-tint: #e7f1fb;

    min-width: 0;
    min-height: 138px;
    padding: 20px 21px;

    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) 34px;
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    gap: 14px;

    direction: rtl;
    text-align: right;

    border: 1px solid transparent;
    border-radius: 22px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafd 47%,
            #edf2f8 100%
        ) padding-box,
        linear-gradient(
            125deg,
            #ffffff 0%,
            #d0dbe8 48%,
            #aabacd 100%
        ) border-box;

    color: #152740;

    box-shadow:
        0 8px 22px rgba(2, 13, 36, .11),
        inset 0 1px 0 rgba(255,255,255,.98);

    position: relative;
    isolation: isolate;
    overflow: hidden;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

/* SMALL ACCENT STRIP */

#home #featureGrid > .feature-card::before {
    content: "";
    position: absolute;

    right: 0;
    top: 27%;

    width: 4px;
    height: 46%;

    border-radius: 5px 0 0 5px;

    background: var(--seen-accent);
    opacity: .76;

    pointer-events: none;
}

#home #featureGrid > .feature-card::after {
    content: none !important;
}

/* PREMIUM ICONS */

#home #featureGrid > .feature-card > .feature-icon {
    grid-column: 1;
    grid-row: 1;

    width: 56px;
    height: 56px;

    display: grid;
    place-items: center;

    border-radius: 17px;

    background: var(--seen-tint) !important;
    color: var(--seen-accent) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.9),
        0 3px 9px rgba(26,65,106,.06);
}

#home #featureGrid > .feature-card > .feature-icon svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.85;
}

/* TITLES AND DESCRIPTIONS */

#home #featureGrid > .feature-card > .feature-text {
    grid-column: 2;
    grid-row: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;

    min-width: 0;
    gap: 7px;

    text-align: right;
}

#home #featureGrid > .feature-card > .feature-text strong {
    display: block;

    margin: 0;

    color: #15253d !important;

    font-size: 19px;
    font-weight: 900;
    line-height: 1.4;
}

#home #featureGrid > .feature-card > .feature-text small {
    display: block;

    margin: 0;

    color: #68788e !important;

    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.7;
}

/* NAVIGATION ARROW */

#home #featureGrid > .feature-card > b {
    grid-column: 3;
    grid-row: 1;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    margin: 0;

    background: #eef3f9;

    color: #66839f !important;

    border: 1px solid #dce6f0;
    border-radius: 11px;

    font-size: 18px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease;
}

/* DISTINCTIVE SECTION COLORS */

#home #featureGrid > .items-card {
    --seen-accent: #2479bd;
    --seen-tint: #e5f3fd;
}

#home #featureGrid > .sales-card {
    --seen-accent: #b97738;
    --seen-tint: #fff1e3;
}

#home #featureGrid > .customers-card {
    --seen-accent: #7569a6;
    --seen-tint: #f0ecfa;
}

#home #featureGrid > .shortages-card {
    --seen-accent: #70833b;
    --seen-tint: #f0f5db;
}

#home #featureGrid > .ai-card {
    --seen-accent: #6e8731;
    --seen-tint: #edf5d9;
}

#home #featureGrid > .reports-card {
    --seen-accent: #4e739a;
    --seen-tint: #e8f0f9;
}

#home #featureGrid > .expiry-card {
    --seen-accent: #5572ae;
    --seen-tint: #edf0fb;
}

#home #featureGrid > .inventory-card {
    --seen-accent: #29849a;
    --seen-tint: #e4f3f7;
}

#home #featureGrid > .vegetables-card {
    --seen-accent: #2b846c;
    --seen-tint: #e5f5ed;
}

#home #featureGrid > .hr-main-card {
    --seen-accent: #367c98;
    --seen-tint: #e7f3f8;
}

#home #featureGrid > .wa-home-card {
    --seen-accent: #298269;
    --seen-tint: #e4f5ed;
}

#home #featureGrid > .admin-card {
    --seen-accent: #62718b;
    --seen-tint: #edf0f5;
}

#home #featureGrid > .maintenance-card {
    --seen-accent: #a67842;
    --seen-tint: #fff2e4;
}

/* SHORTAGES BADGE */

#home #featureGrid > .shortages-card .feature-badge {
    top: 12px;
    left: 12px;
}

/* PREMIUM INTERACTION */

@media (hover: hover) and (pointer: fine) {

    #home #featureGrid > .feature-card:hover {
        transform: translateY(-3px);

        background:
            linear-gradient(
                135deg,
                #ffffff 0%,
                #f4f8fd 55%,
                #edf5fc 100%
            ) padding-box,
            linear-gradient(
                125deg,
                #d8e8f7,
                #6f9ec8,
                #c2d9eb
            ) border-box;

        box-shadow:
            0 15px 30px rgba(0,32,75,.16),
            inset 0 1px 0 #ffffff;
    }

    #home #featureGrid > .feature-card:hover > b {
        background: #dcecff;
        color: #126bb8 !important;
        border-color: #b5d7f3;
    }
}

#home #featureGrid > .feature-card:focus-visible {
    outline: 3px solid #258bd4;
    outline-offset: 3px;
}

#home #featureGrid > .feature-card:active {
    transform: scale(.99);
}

/* TABLETS */

@media (max-width: 1120px) {

    #home #featureGrid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 13px;
    }

    #home #featureGrid > .feature-card {
        min-height: 128px;
        padding: 17px;
    }
}

/* MOBILE */

@media (max-width: 680px) {

    #home #featureGrid {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    #home #featureGrid > .feature-card {
        min-height: 112px;

        padding: 15px 17px;

        grid-template-columns:
            49px minmax(0,1fr) 31px;

        gap: 12px;

        border-radius: 18px;
    }

    #home #featureGrid > .feature-card > .feature-icon {
        width: 49px;
        height: 49px;
        border-radius: 14px;
    }

    #home #featureGrid > .feature-card > .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    #home #featureGrid > .feature-card > .feature-text strong {
        font-size: 17px;
    }

    #home #featureGrid > .feature-card > .feature-text small {
        font-size: 11px;
    }

    #home #featureGrid > .feature-card > b {
        width: 31px;
        height: 31px;
        font-size: 16px;
    }
}

/* SMALL PHONES */

@media (max-width: 380px) {

    #home #featureGrid > .feature-card {
        grid-template-columns:
            44px minmax(0,1fr) 28px;

        padding: 13px;
        gap: 10px;
    }

    #home #featureGrid > .feature-card > .feature-icon {
        width: 44px;
        height: 44px;
    }

    #home #featureGrid > .feature-card > .feature-text strong {
        font-size: 16px;
    }

    #home #featureGrid > .feature-card > b {
        width: 28px;
        height: 28px;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {

    #home #featureGrid > .feature-card,
    #home #featureGrid > .feature-card > b {
        transition: none;
    }
}

/* END_SEEN_HOME_PREMIUM_V1 */