.home-search-form {
    display: grid;
    grid-template-columns: minmax(180px, 1.2fr) minmax(150px, 1fr) auto;
    gap: 8px;
    max-width: 780px;
    margin: 24px auto 14px;
}

.home-search-form input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    background: var(--white);
    color: var(--heading);
}

.home-search-form input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgb(0 68 187 / 12%);
}

.home-type-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin: 0 auto 18px;
    place-items: center;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    font-size: 22px;
}

.suggest-part {
    position: relative;
    z-index: auto;
    margin-top: 0;
    padding: 24px 0 12px;
    background: #f1f2f4;
}

.suggest-part > .container {
    position: relative;
    z-index: 1;
    padding: 0;
}

.suggest-slider .suggest-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 0;
    margin: 0;
    padding: 4px 1px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--heading);
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.suggest-slider .suggest-card:hover {
    background: #fff;
    transform: translateY(-2px);
}

.suggest-slider .home-category-icon {
    display: grid;
    width: min(100%, 120px);
    aspect-ratio: 1;
    margin-bottom: 6px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    color: #667085;
    font-size: 30px;
}

.suggest-slider .home-category-icon img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 12px;
    object-fit: contain;
}

.suggest-slider .suggest-card h6 {
    display: -webkit-box;
    width: 100%;
    min-height: 36px;
    margin: 0;
    overflow: hidden;
    color: var(--heading);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    text-align: center;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.suggest-slider .suggest-card:hover h6 {
    color: var(--primary);
}

.category-head {
    height: 180px;
    overflow: hidden;
}

.category-head > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-content h4 {
    max-width: calc(100% - 24px);
    color: var(--white);
    text-align: center;
}

.category-content p {
    color: var(--white);
}

.home-ad-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #e8edf0;
}

.home-ad-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-section-heading {
    width: min(100% - 32px, 720px);
    margin: 0 auto 42px;
    text-align: center;
}

.home-section-heading h2 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.home-section-heading h2 span {
    display: inline-block;
}

.home-section-heading p {
    width: auto;
    max-width: 560px;
    margin: 0 auto;
    color: #687386;
    font-size: 17px;
    line-height: 1.6;
}

.home-trending-grid .product-card {
    height: 100%;
    width: 100%;
    margin-bottom: 0;
}

.home-featured-part {
    overflow: hidden;
    background: linear-gradient(135deg, #f3f7ff 0%, #fff 58%, #f3f8f5 100%);
}

.home-featured-layout {
    display: grid;
    grid-template-columns: minmax(250px, .72fr) minmax(0, 1.6fr);
    align-items: stretch;
    gap: 28px;
}

.home-featured-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(24px, 4vw, 48px);
    border-radius: 14px;
    background: var(--heading);
    color: var(--white);
}

.home-section-eyebrow {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-featured-intro .home-section-eyebrow {
    color: #9fc3ff;
}

.home-featured-intro .section-side-heading {
    width: auto;
    margin: 0;
    text-align: left;
}

.home-featured-intro .section-side-heading h2 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 21px;
    line-height: 1.15;
}

.home-featured-intro .section-side-heading h2 span {
    color: #9fc3ff;
}

.home-featured-intro .section-side-heading p {
    width: auto;
    margin: 0 0 24px;
    color: rgb(255 255 255 / 78%);
    font-size: 16px;
    line-height: 1.65;
}

.home-featured-intro .btn {
    align-self: flex-start;
}

.home-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.home-featured-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgb(24 39 75 / 7%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgb(24 39 75 / 13%);
}

.home-featured-card-image {
    position: relative;
    display: block;
    height: 170px;
    overflow: hidden;
    background: #e8edf0;
}

.home-featured-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.home-featured-card:hover .home-featured-card-image img {
    transform: scale(1.04);
}

.home-featured-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 9px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-featured-card-content {
    display: grid;
    gap: 8px;
    padding: 14px;
}

.home-featured-card-category {
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-featured-card-content h3 {
    display: -webkit-box;
    min-height: 42px;
    margin: 0;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.home-featured-card-content h3 a {
    color: var(--heading);
    text-decoration: none;
}

.home-featured-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #687386;
    font-size: 12px;
}

.home-featured-card-meta strong {
    overflow: hidden;
    color: var(--primary);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-external-ads {
    background: #f6f8fb;
}

.home-external-ad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.home-external-ad-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 10px;
    background: #fff;
    color: var(--heading);
    text-decoration: none;
    box-shadow: 0 6px 20px rgb(24 39 75 / 6%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.home-external-ad-card:hover {
    transform: translateY(-3px);
    color: var(--heading);
    box-shadow: 0 12px 26px rgb(24 39 75 / 12%);
}

.home-external-ad-image {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
    background: #e8edf0;
}

.home-external-ad-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-external-ad-image > span {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    background: rgb(18 28 45 / 75%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.home-external-ad-copy {
    display: grid;
    flex: 1;
    gap: 7px;
    padding: 15px;
}

.home-external-ad-copy strong {
    font-size: 16px;
}

.home-external-ad-copy > span:not(.home-external-ad-cta) {
    display: -webkit-box;
    overflow: hidden;
    color: #687386;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home-external-ad-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-end;
    margin-top: auto;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.home-external-ad-banner {
    position: relative;
    display: block;
    min-height: 230px;
    overflow: hidden;
    border-radius: 12px;
    background: #17243a;
    color: #fff;
}

.home-external-ad-banner > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-external-ad-banner-overlay {
    position: relative;
    display: flex;
    min-height: 230px;
    max-width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 28px clamp(20px, 6vw, 72px);
    background: linear-gradient(90deg, rgb(10 20 38 / 88%), rgb(10 20 38 / 45%) 70%, transparent);
}

.home-external-ad-banner-label {
    color: #b9d2ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-external-ad-banner-overlay strong {
    max-width: 680px;
    font-size: clamp(22px, 3vw, 34px);
    line-height: 1.2;
}

.home-external-ad-banner-overlay > span:not(.home-external-ad-banner-label, .home-external-ad-cta) {
    max-width: 620px;
    color: rgb(255 255 255 / 86%);
    font-size: 14px;
    line-height: 1.5;
}

.home-external-ad-banner .home-external-ad-cta {
    align-self: flex-start;
    margin-top: 5px;
    color: #fff;
}

.home-niche-grid > [class*="col-"] {
    display: flex;
}

.feature-thumb {
    width: 100px;
    height: 80px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-thumb:hover,
.feature-thumb.slick-current {
    border-color: var(--primary);
}

.niche-part .suggest-card {
    display: flex;
    width: 100%;
    min-height: 168px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 24px 16px;
    border: 1px solid var(--border);
    border-bottom: 3px solid var(--primary);
    background: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.niche-part .suggest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgb(0 0 0 / 8%);
}

@media (max-width: 767px) {
    .banner-part {
        background-position: left center;
    }

    .home-search-form {
        grid-template-columns: 1fr;
        margin: 18px auto 12px;
    }

    .home-search-form .btn {
        width: 100%;
    }

    .category-head {
        height: 165px;
    }

    .home-ad-image {
        height: 190px;
    }

    .home-featured-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .suggest-part {
        margin-top: -54px;
    }

    .home-featured-intro {
        min-height: 280px;
    }

    .home-external-ad-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-section-heading {
        margin-bottom: 30px;
    }

    .home-section-heading p {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .header-left {
        gap: 8px;
    }

    .header-left > .sidebar-btn,
    .header-left > .search-btn {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .header-left > .sidebar-btn i,
    .header-left > .search-btn i {
        width: 36px;
        height: 36px;
        line-height: 36px;
    }

    .header-left .header-logo {
        width: 96px;
        min-width: 0;
        flex: 0 1 96px;
        margin: 0;
    }

    .header-left .header-logo img {
        width: 100%;
        height: auto;
        max-height: 40px;
        object-fit: contain;
    }

    .header-left .footer-option {
        width: 112px;
        min-width: 0;
        flex: 0 1 112px;
    }

    .header-left .footer-option button {
        padding: 8px 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    .home-featured-grid {
        gap: 12px;
    }

    .home-featured-card-image {
        height: 135px;
    }

    .home-featured-card-content {
        padding: 11px;
    }

    .home-featured-card-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-external-ad-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-external-ad-image {
        height: 200px;
    }

    .home-external-ad-banner,
    .home-external-ad-banner-overlay {
        min-height: 250px;
    }
}

.intro-part.home-advertise-part {
    margin: 72px 0 0;
    padding: 72px 0;
    background: linear-gradient(125deg, #10213c 0%, #142d5c 55%, #10213c 100%);
}

.home-advertise-part::before {
    opacity: .12;
}

.home-advertise-content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.home-advertise-content .home-section-eyebrow {
    color: #b6d2ff;
}

.home-advertise-content h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.15;
}

.home-advertise-content p {
    max-width: 570px;
    margin: 0 auto 28px;
    color: rgb(255 255 255 / 82%);
    font-size: 16px;
    line-height: 1.65;
}

.home-advertise-content .btn {
    border-radius: 8px;
}

.price-part.home-pricing-part {
    margin-top: 0;
    padding: 82px 0 92px;
    background: linear-gradient(180deg, #f5f8fc 0%, #fff 100%);
}

.home-pricing-part .home-pricing-heading {
    margin-bottom: 38px;
}

.home-pricing-part .home-pricing-heading .home-section-eyebrow {
    justify-content: center;
    color: var(--primary);
}

.home-pricing-part .home-pricing-heading h2 {
    margin-bottom: 12px;
    color: var(--heading);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 700;
    line-height: 1.2;
}

.home-pricing-part .home-pricing-heading p {
    max-width: 600px;
    margin: 0 auto;
    color: #687386;
    font-size: 16px;
    line-height: 1.6;
}

.home-plan-grid {
    align-items: stretch;
}

.home-pricing-part .home-plan-column {
    display: flex;
    margin-bottom: 24px;
}

.home-pricing-part .home-plan-column-front {
    position: relative;
    z-index: 2;
}

.home-pricing-part .home-plan-column-back {
    position: relative;
    z-index: 1;
}

.home-pricing-part .home-plan-card {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    margin: 0;
    padding: 28px 26px 24px;
    overflow: hidden;
    border: 1px solid #e3eaf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 32px rgb(22 42 74 / 7%);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-pricing-part .home-plan-card:hover {
    transform: translateY(-5px);
    border-color: #9dbcf2;
    box-shadow: 0 18px 40px rgb(22 42 74 / 12%);
}

.home-pricing-part .home-plan-card.price-active {
    border: 2px solid var(--primary);
    box-shadow: 0 18px 42px rgb(22 64 135 / 15%);
}

.home-plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 10px;
    border-radius: 20px;
    background: #eaf1ff;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.home-plan-header {
    padding-bottom: 20px;
    border-bottom: 1px solid #e8edf4;
}

.home-plan-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    place-items: center;
    border-radius: 14px;
    background: #edf3ff;
    color: var(--primary);
    font-size: 19px;
}

.home-plan-header h3 {
    margin: 0 0 8px;
    color: var(--heading);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.home-plan-header p {
    min-height: 42px;
    margin: 0 0 18px;
    color: #687386;
    font-size: 13px;
    line-height: 1.6;
}

.home-plan-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
}

.home-plan-price strong {
    color: var(--primary);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
}

.home-plan-price span {
    color: #687386;
    font-size: 12px;
}

.home-pricing-part .home-plan-features {
    margin: 8px 0 22px;
}

.home-pricing-part .home-plan-features li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid #edf1f6;
}

.home-pricing-part .home-plan-features li i {
    margin: 0;
    color: var(--primary);
    font-size: 14px;
}

.home-plan-feature-label {
    color: #596579;
    font-size: 12px;
    line-height: 1.4;
}

.home-pricing-part .home-plan-features li strong {
    color: var(--heading);
    font-size: 12px;
    font-weight: 700;
    text-align: right;
}

.home-pricing-part .home-plan-action {
    margin-top: auto;
}

.home-pricing-part .home-plan-action .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    border-radius: 8px;
}

@media (min-width: 1200px) {
    .home-pricing-part .home-plan-card-front {
        transform: scale(1.04);
    }

    .home-pricing-part .home-plan-card-front:hover {
        transform: scale(1.06) translateY(-5px);
    }

    .home-pricing-part .home-plan-card-back {
        transform: scale(.94) translateY(9px);
    }

    .home-pricing-part .home-plan-card-back:hover {
        transform: scale(.97) translateY(3px);
    }
}

@media (max-width: 767px) {
    .intro-part.home-advertise-part {
        margin-top: 48px;
        padding: 54px 0;
    }

    .price-part.home-pricing-part {
        padding: 60px 0 68px;
    }
}

@media (max-width: 575px) {
    .home-pricing-part .home-plan-card {
        padding: 24px 20px 20px;
    }

    .home-plan-header p {
        min-height: 0;
    }
}
