/* Homepage ecommerce hero */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 91% 31%, rgba(37, 99, 235, .14), transparent 28rem), linear-gradient(118deg, #fff 0%, #f8fbff 100%);
}

.hero-container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 42px 0 48px;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
    align-items: center;
    gap: clamp(38px, 6vw, 84px);
}

.hero-text {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    margin-bottom: 21px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .085em;
    line-height: 1.25;
}

.hero-title {
    margin: 0 0 20px;
    color: #0f172a;
    font-size: clamp(2.4rem, 4.35vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1.04;
}

.hero-title span {
    display: block;
    color: #2563eb;
}

.hero-description {
    max-width: 35rem;
    margin: 0 0 30px;
    color: #526078;
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 27px;
}

.hero .btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background-color .2s ease, border-color .2s ease;
}

.hero .btn-primary {
    background: #2563eb;
    box-shadow: 0 11px 24px rgba(37, 99, 235, .22);
    color: #fff;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus-visible {
    background: #1d4ed8;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .3);
    transform: translateY(-2px);
}

.hero .btn-secondary {
    border-color: #d6deeb;
    background: #fff;
    color: #1e293b;
}

.hero .btn-secondary:hover,
.hero .btn-secondary:focus-visible {
    border-color: #2563eb;
    color: #1d4ed8;
}

.hero a:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .42);
    outline-offset: 3px;
}

.hero-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 19px;
    padding: 0;
    margin: 0;
    color: #41516b;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
}

.hero-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-list span {
    display: inline-grid;
    width: 17px;
    height: 17px;
    place-items: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    font-size: 11px;
}

.hero-visual {
    position: relative;
    min-width: 0;
    padding: 20px 20px 20px 28px;
}

.hero-glow {
    position: absolute;
    z-index: 0;
    width: 73%;
    aspect-ratio: 1;
    top: 8%;
    right: 2%;
    border-radius: 50%;
    background: #bfdbfe;
    filter: blur(42px);
    opacity: .62;
}

.featured-product-card {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin-left: auto;
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 22px 52px rgba(15, 23, 42, .13);
    transition: transform .25s ease, box-shadow .25s ease;
}

.featured-product-card:hover {
    box-shadow: 0 28px 56px rgba(15, 23, 42, .17);
    transform: translateY(-4px);
}

.featured-product-card__topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 17px 20px 13px;
}

.featured-label {
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.product-condition {
    padding: 5px 9px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
    font-weight: 700;
}

.featured-product-card__image {
    display: grid;
    height: clamp(220px, 24vw, 278px);
    place-items: center;
    padding: 14px 26px;
    background: linear-gradient(140deg, #eef5ff, #dbeafe);
    text-decoration: none;
}

.featured-product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .3s ease;
}

.featured-product-card:hover .featured-product-card__image img {
    transform: scale(1.035);
}

.featured-product-card__details {
    padding: 17px 20px 20px;
}

.featured-product-card__meta {
    min-height: 20px;
    margin-bottom: 4px;
    color: #f59e0b;
    font-size: 13px;
}

.featured-product-card__meta .star-rating {
    float: none;
    margin: 0;
}

.featured-product-card__unrated {
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.featured-product-card__title {
    margin: 0;
    color: #13203a;
    font-size: clamp(1rem, 1.65vw, 1.27rem);
    line-height: 1.35;
}

.featured-product-card__title a {
    color: inherit;
    text-decoration: none;
}

.featured-product-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 14px;
}

.featured-product-card__price {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 750;
}

.featured-product-card__price del {
    margin-right: 5px;
    color: #94a3b8;
    font-size: .83em;
    font-weight: 500;
}

.featured-product-card__price ins {
    color: #0f172a;
    text-decoration: none;
}

.view-product-link {
    flex-shrink: 0;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.view-product-link:hover {
    color: #1d4ed8;
}

.featured-product-card__empty {
    display: grid;
    height: 265px;
    place-items: center;
    background: linear-gradient(140deg, #eff6ff, #dbeafe);
}

.featured-product-card__empty span {
    display: grid;
    width: 125px;
    aspect-ratio: 1;
    place-items: center;
    border-radius: 28px;
    background: #2563eb;
    box-shadow: 0 16px 30px rgba(37, 99, 235, .25);
    color: #fff;
    font-size: 33px;
    font-weight: 800;
}

@media (max-width: 900px) {
    .hero-container {
        padding: 38px 0 46px;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-visual {
        padding: 10px 0 10px 10px;
    }
}

@media (max-width: 720px) {
    .hero-container {
        width: min(100% - 32px, 560px);
        padding: 38px 0 44px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-badge {
        text-align: left;
    }

    .hero-description {
        margin-right: auto;
        margin-left: auto;
    }

    .hero-buttons,
    .hero-trust-list {
        justify-content: center;
    }

    .hero-visual {
        width: min(100%, 480px);
        padding: 0;
        margin: 0 auto;
    }

    .featured-product-card {
        margin: 0;
    }
}

@media (max-width: 420px) {
    .hero-container {
        width: min(100% - 28px, 560px);
        padding: 38px 0 42px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 2.5rem);
    }

    .hero-description {
        margin-bottom: 24px;
        font-size: 14px;
    }

    .hero-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero .btn {
        width: 100%;
    }

    .hero-trust-list {
        gap: 9px 13px;
        font-size: 11px;
    }

    .featured-product-card__image {
        height: 225px;
        padding: 14px 20px;
    }

    .featured-product-card__topline,
    .featured-product-card__details {
        padding-right: 16px;
        padding-left: 16px;
    }

    .featured-product-card__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .hero .btn,
    .featured-product-card,
    .featured-product-card__image img {
        transition: none;
    }
}
