/* Home page styles. Loaded only by the related view. */

/* components/cards-and-lists.css */
.sm-story-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

/* components/cards-and-lists.css */
.sm-story-card {
    position: relative;
    padding: 22px;
    border-radius: 26px;
    transition: transform 1s ease, box-shadow 1s ease, border-color 0.25s ease;
}

    /* components/cards-and-lists.css */
    .sm-story-card span {
        display: inline-flex;
        margin-bottom: 18px;
        color: var(--sm-primary-dark);
        font-size: 0.82rem;
        font-weight: 900;
    }

    /* components/cards-and-lists.css */
    .sm-story-card h3 {
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    /* components/cards-and-lists.css */
    .sm-story-card p {
        margin: 0;
        color: var(--sm-white);
    }

/* components/cards-and-lists.css */
.sm-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* components/cards-and-lists.css */
.sm-compare-card {
    padding: 28px;
    border-radius: 30px;
}

/* components/cards-and-lists.css */
.sm-compare-before {
    background: var(--sm-white);
}

/* components/cards-and-lists.css */
.sm-compare-after {
    border-color: rgba(var(--sm-primary-rgb), 0.35);
    background: radial-gradient(circle at top right, rgba(var(--sm-primary-rgb), 0.1), transparent 45%), var(--sm-white);
}

/* components/cards-and-lists.css */
.sm-compare-label {
    margin-bottom: 14px;
}

/* components/cards-and-lists.css */
.sm-compare-card ul {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

/* components/cards-and-lists.css */
.sm-compare-card li {
    position: relative;
    padding-left: 28px;
    color: var(--sm-muted);
}

    /* components/cards-and-lists.css */
    .sm-compare-card li::before {
        position: absolute;
        left: 0;
        font-weight: 900;
    }

/* components/cards-and-lists.css */
.sm-compare-before li::before {
    content: "×";
    color: var(--sm-danger-dark);
}

/* components/cards-and-lists.css */
.sm-compare-after li::before {
    content: "✓";
    color: var(--sm-primary-dark);
}

/* components/cards-and-lists.css */
.sm-get-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2px;
}

/* components/cards-and-lists.css */
.sm-get-item {
    margin: auto;
    width: 350px;
    height: 100px;
    position: relative;
    padding: 18px 18px 18px 48px;
    border-radius: 22px;
    background: var(--sm-card-default-bg);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-sm);
    color: var(--sm-white);
    font-weight: 900;
}

    /* components/cards-and-lists.css */
    .sm-get-item::before {
        content: "✓";
        position: absolute;
        left: 18px;
        top: 18px;
        width: 22px;
        height: 22px;
        display: grid;
        place-items: center;
        border-radius: var(--sm-radius-pill);
        background: var(--sm-primary-soft);
        color: var(--sm-primary-dark);
        font-size: 0.8rem;
        font-weight: 900;
    }

/* components/cards-and-lists.css */
.sm-showcase {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: stretch;
}

/* components/cards-and-lists.css */
.sm-showcase-tabs {
    display: grid;
    gap: 10px;
}

/* components/cards-and-lists.css */
.sm-showcase-tab {
    padding: 15px 18px;
    border: 1px solid var(--sm-border);
    border-radius: 18px;
    background: var(--sm-card-default-bg);
    color: var(--sm-dark);
    font-weight: 900;
    text-align: left;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

    /* components/cards-and-lists.css */
    .sm-showcase-tab:hover,
    .sm-showcase-tab.active {
        background: var(--sm-white);
        color: var(--sm-text);
        transform: translateX(4px);
    }

/* components/cards-and-lists.css */
.sm-showcase-panel {
    position: relative;
    min-height: 350px;
    padding: 30px;
    border-radius: 32px;
    background: radial-gradient(circle at top left, rgba(var(--sm-primary-rgb), 0.14), transparent 40%), linear-gradient(135deg, var(--sm-white), var(--sm-surface-alt));
    box-shadow: var(--sm-shadow-md);
}

/* components/cards-and-lists.css */
.sm-showcase-screen {
    display: none;
    height: 100%;
    animation: smFadeUp 0.35s ease both;
}

    /* components/cards-and-lists.css */
    .sm-showcase-screen.active {
        display: block;
    }

    /* components/cards-and-lists.css */
    .sm-showcase-screen span {
        color: var(--sm-primary-dark);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.08em;
    }

    /* components/cards-and-lists.css */
    .sm-showcase-screen h3 {
        max-width: 620px;
        margin: 14px 0;
        font-size: clamp(2rem, 4vw, 3.4rem);
        line-height: 0.95;
    }

    /* components/cards-and-lists.css */
    .sm-showcase-screen p {
        max-width: 680px;
        color: var(--sm-muted);
        font-size: 1.08rem;
    }

/* components/cards-and-lists.css */
@media (max-width: 1150px) {
    .sm-story-grid,
    .sm-faq-teaser-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* components/cards-and-lists.css */
@media (max-width: 1150px) {
    .sm-get-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* components/cards-and-lists.css */
@media (max-width: 1150px) {
    .sm-showcase {
        grid-template-columns: 1fr;
    }
}

/* components/cards-and-lists.css */
@media (max-width: 1150px) {
    .sm-showcase-tabs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* components/cards-and-lists.css */
@media (max-width: 700px) {
    .sm-feature-grid,
    .sm-steps,
    .sm-story-grid,
    .sm-get-grid,
    .sm-faq-teaser-grid,
    .sm-showcase-tabs {
        grid-template-columns: 1fr;
    }
}

/* components/cards-and-lists.css */
.sm-icon,
.sm-check-list li::before,
.sm-get-item::before {
    background: var(--sm-white-018);
    color: var(--sm-white);
    transition: background 1s ease-in-out, color 1s ease-in-out;
}

/* components/cards-and-lists.css */
.sm-feature-card:hover .sm-icon,
.sm-info-card:hover .sm-check-list li::before,
.sm-get-item:hover::before {
    background: var(--sm-primary-soft);
    color: var(--sm-primary-dark);
}

/* components/cards-and-lists.css */
.sm-compare-before li::before,
.sm-compare-after li::before {
    color: var(--sm-white);
    transition: color 1s ease-in-out;
}

/* components/cards-and-lists.css */
.sm-compare-before:hover li::before {
    color: var(--sm-danger-dark);
}

/* components/cards-and-lists.css */
.sm-compare-after:hover li::before {
    color: var(--sm-primary-dark);
}

/* components/cards-and-lists.css */
.ShoppingMasterLogo {
    margin: auto;
    display: flex;
    width: 55%;
}

/* components/forms.css */
.Before {
    background: var(--sm-card-default-bg);
}

/* components/forms.css */
/* Delivery & Collection showcase cards */
.sm-fulfilment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 34px 0;
}

.sm-fulfilment-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 22px;
    border-radius: 26px;
    background: linear-gradient(180deg, var(--sm-white) 0%, #f8fbff 100%);
    border: 1px solid rgba(var(--sm-primary-rgb), 0.12);
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
    text-align: left;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .sm-fulfilment-card:hover {
        transform: translateY(-6px);
        border-color: rgba(var(--sm-primary-rgb), 0.28);
        box-shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
    }

.sm-fulfilment-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.sm-fulfilment-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient( 135deg, rgba(var(--sm-primary-rgb), 0.12), rgba(17, 190, 137, 0.14) );
    font-size: 1.25rem;
}

.sm-fulfilment-card h4 {
    margin: 0;
    color: var(--sm-dark);
    font-size: 1.08rem;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.sm-fulfilment-card p {
    margin: 0;
    color: var(--sm-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.sm-fulfilment-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

    .sm-fulfilment-tags span {
        display: inline-flex;
        align-items: center;
        padding: 7px 10px;
        border-radius: var(--sm-radius-pill);
        background: rgba(var(--sm-primary-rgb), 0.08);
        color: var(--sm-primary-dark);
        font-size: 0.78rem;
        font-weight: 800;
    }

.sm-fulfilment-image-wrap {
    border-radius: 20px;
    overflow: hidden;
    background: #eef5fb;
    border: 1px solid rgba(16, 24, 40, 0.08);
}

.sm-fulfilment-image {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.sm-fulfilment-card:hover .sm-fulfilment-image {
    transform: scale(1.035);
}

@media (max-width: 1000px) {
    .sm-fulfilment-grid {
        grid-template-columns: 1fr;
    }

    .sm-fulfilment-card {
        text-align: left;
    }

    .sm-fulfilment-image {
        height: 260px;
    }
}

@media (max-width: 600px) {
    .sm-fulfilment-card {
        padding: 18px;
        border-radius: 22px;
    }

    .sm-fulfilment-card-header {
        align-items: flex-start;
    }

    .sm-fulfilment-image {
        height: 210px;
    }
}

/* components/media.css */
.sm-live-product-image .Demo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

/* components/media.css */
.sm-heading-with-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

    /* components/media.css */
    .sm-heading-with-image > div {
        flex: 1;
    }

/* pages/content-pages.css */
.sm-before-after,
.sm-note-section {
    position: relative;
}

/* pages/home.css */
.sm-hero {
    min-height: 78vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 48px;
    align-items: center;
    padding: 72px 0;
}

/* pages/home.css */
.sm-hero-content h1 {
    max-width: 760px;
    margin: 14px 0 18px;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
    font-weight: 850;
}

/* pages/home.css */
.sm-hero-content p {
    max-width: 680px;
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.75;
    color: var(--sm-muted);
}

/* pages/home.css */
.sm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* pages/home.css */
.sm-hero-card,
.sm-story-section {
    position: relative;
}

/* pages/home.css */
.sm-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

    /* pages/home.css */
    .sm-trust-row span {
        display: inline-flex;
        align-items: center;
        padding: 9px 13px;
        border-radius: var(--sm-radius-pill);
        background: var(--sm-white-075);
        border: 1px solid var(--sm-border);
        color: var(--sm-dark);
        font-size: 0.84rem;
        font-weight: 800;
        box-shadow: var(--sm-shadow-sm);
    }

/* pages/home.css */
.sm-store-preview,
.sm-live-store-preview {
    margin: auto;
    width: 70%;
    overflow: hidden;
    border-radius: 34px;
    background: var(--sm-card-default-bg);
    border: 1px solid rgba(var(--sm-border-rgb), 0.9);
    box-shadow: var(--sm-shadow-lg);
}

/* pages/home.css */
.sm-product-grid,
.sm-live-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

/* pages/home.css */
.sm-product-img,
.sm-live-product-image {
    border-radius: 18px;
    background: radial-gradient(circle at 25% 20%, rgba(var(--sm-primary-rgb), 0.25), transparent 32%), linear-gradient(135deg, var(--sm-white), var(--sm-border-soft));
}

/* pages/home.css */
.sm-intro p {
    max-width: 900px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--sm-muted);
}

/* pages/home.css */
.sm-live-preview-body {
    position: relative;
    padding: 22px;
    min-height: 480px;
}

/* pages/home.css */
.sm-live-store-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 22px;
    background: var(--sm-surface-alt);
    border: 1px solid var(--sm-border);
}

/* pages/home.css */
.sm-mini-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--sm-primary), var(--sm-primary-dark));
    color: var(--sm-white);
    font-weight: 900;
}

/* pages/home.css */
.sm-live-store-top strong,
.sm-live-store-top small,
.sm-live-product strong,
.sm-live-product small,
.sm-mini-cart-notice strong,
.sm-payment-toast strong,
.sm-mini-cart-notice small,
.sm-payment-toast small {
    display: block;
}

/* pages/home.css */
.sm-live-store-top small,
.sm-mini-cart-notice small,
.sm-payment-toast small {
    color: var(--sm-muted);
}

/* pages/home.css */
.sm-live-product-grid {
    gap: 14px;
    margin-top: 18px;
}

/* pages/home.css */
.sm-live-product {
    position: relative;
    padding: 14px;
    border-radius: 22px;
}

/* pages/home.css */
.sm-live-product-image {
    height: 120px;
    margin-bottom: 12px;
}

/* pages/home.css */
.sm-live-product small {
    color: var(--sm-primary-dark);
    font-weight: 900;
}

/* pages/home.css */
.sm-sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 9px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary);
    color: var(--sm-white);
    font-size: 0.72rem;
    font-weight: 900;
}

/* pages/home.css */
.sm-mini-cart-notice,
.sm-payment-toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 270px;
    padding: 14px;
    border-radius: 20px;
    background: var(--sm-white);
    border: 1px solid var(--sm-border);
    box-shadow: var(--sm-shadow-md);
}

/* pages/home.css */
.sm-mini-cart-notice {
    left: 22px;
    bottom: 88px;
    animation: smSlideNotice 4s ease-in-out infinite;
}

/* pages/home.css */
.sm-payment-toast {
    right: 22px;
    bottom: 24px;
    animation: smSlideNotice 4s ease-in-out infinite 1s;
}

    /* pages/home.css */
    .sm-mini-cart-notice > span,
    .sm-payment-toast > span {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: var(--sm-primary-soft);
        color: var(--sm-primary-dark);
        font-weight: 900;
    }

/* pages/home.css */
.sm-float-one {
    animation: smFloat 5s ease-in-out infinite;
}

/* pages/home.css */
.sm-float-two {
    animation: smFloat 5s ease-in-out infinite 0.8s;
}

/* pages/home.css */
.sm-what-you-get,
.sm-showcase-section,
.sm-industries {
    position: relative;
}

/* pages/home.css */
.sm-floating-demo-btn {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1030;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: var(--sm-radius-pill);
    background: var(--sm-primary);
    color: var(--sm-white);
    font-weight: 900;
    text-decoration: none;
    box-shadow: var(--sm-shadow-primary-lg);
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    /* pages/home.css */
    .sm-floating-demo-btn.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* pages/home.css */
    .sm-floating-demo-btn:hover {
        color: var(--sm-white);
        background: var(--sm-primary-dark);
    }

/* pages/home.css */
@media (max-width: 1100px) {
    .sm-hero {
        grid-template-columns: 1fr;
    }
}

/* pages/home.css */
@media (max-width: 700px) {
    .sm-hero {
        padding: 42px 0;
    }
}

/* pages/home.css */
@media (max-width: 700px) {
    .sm-hero-content h1 {
        font-size: clamp(2.3rem, 14vw, 3.5rem);
    }
}

/* pages/home.css */
@media (max-width: 700px) {
    .sm-product-grid,
    .sm-live-product-grid {
        grid-template-columns: 1fr;
    }
}

/* pages/home.css */
@media (max-width: 700px) {
    .sm-live-preview-body {
        min-height: 520px;
    }
}

/* pages/home.css */
@media (max-width: 700px) {
    .sm-floating-demo-btn {
        left: 16px;
        right: 16px;
        width: auto;
    }
}