/* Home — content width aligned with header (1600px) */
.home-page-v2 .container {
    width: 100%;
    max-width: 1600px;
    padding-left: clamp(16px, 2vw, 24px);
    padding-right: clamp(16px, 2vw, 24px);
    box-sizing: border-box;
}
@media (min-width: 1200px) {
    .home-page-v2 .container {
        width: 100%;
        max-width: 1600px;
    }
}

/* Home hero — index2-style banner + floating category bar */
/* Desktop: header must not sit fixed over the banner (custom.css sets .home-page-one fixed) */
@media (min-width: 992px) {
    body.home-page-v2 header.header.pow-header.home-page-one {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
    }
}

.home-page-v2 .hero-v2-section {
    background: #f8f5f0;
    line-height: 0;
}
.home-page-v2 .hero-v2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    line-height: 0;
}
.home-page-v2 .hero-v2-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start;
    width: 100%;
    transition: transform .65s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.home-page-v2 .hero-v2-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    box-sizing: border-box;
}
.home-page-v2 .hero-v2-slide-link {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
}
.home-page-v2 .hero-v2-slide picture {
    display: block;
    width: 100%;
    line-height: 0;
}
.home-page-v2 .hero-v2-slide-img,
.home-page-v2 .hero-v2-slide img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    vertical-align: top;
}
@media (max-width: 767px) {
    .home-page-v2 .hero-v2-section {
        background: #0a0a0a;
    }
    .home-page-v2 .hero-v2-slide picture {
        display: block;
        width: 100%;
        line-height: 0;
    }
    .home-page-v2 .hero-v2-slide-img,
    .home-page-v2 .hero-v2-slide img {
        object-fit: contain;
        object-position: center top;
    }
}
.home-page-v2 .hero-v2-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    padding: 6px 10px;
    background: rgba(0, 0, 0, .35);
    border-radius: 999px;
    line-height: normal;
}
@media (max-width: 767px) {
    .home-page-v2 .hero-v2-dots {
        bottom: 12px;
    }
}
.home-page-v2 .hero-v2-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: #005166;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    opacity: 0;
    transition: opacity .25s ease;
    cursor: pointer;
    line-height: 44px;
    text-align: center;
    font-size: 18px;
    padding: 0;
}
.home-page-v2 .hero-v2:hover .hero-v2-nav,
.home-page-v2 .hero-v2:focus-within .hero-v2-nav {
    opacity: 1;
}
.home-page-v2 .hero-v2-prev {
    left: 16px;
}
.home-page-v2 .hero-v2-next {
    right: 16px;
}
.home-page-v2 .hero-v2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: .2s;
}
.home-page-v2 .hero-v2-dot.active {
    width: 22px;
    border-radius: 999px;
    background: #fff;
}
@media (max-width: 767px) {
    .home-page-v2 .hero-v2-nav {
        opacity: 1;
        width: 36px;
        height: 36px;
        line-height: 36px;
        font-size: 16px;
    }
}

.home-page-v2 .quick-categories--floating {
    margin-top: clamp(20px, 3vw, 32px);
    position: relative;
    z-index: 4;
    padding: 0 0 clamp(20px, 3vw, 28px);
    background: transparent;
    border-bottom: none;
    line-height: normal;
}
.home-page-v2 .quick-categories--floating > .container {
    padding-left: clamp(12px, 2vw, 24px);
    padding-right: clamp(12px, 2vw, 24px);
}
.home-page-v2 .quick-categories-track {
    display: flex;
    gap: clamp(12px, 2.5vw, 28px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: clamp(14px, 2vw, 20px) clamp(12px, 2vw, 20px);
    box-shadow: 0 12px 40px rgba(15, 23, 42, .12);
}
.home-page-v2 .quick-categories-track::-webkit-scrollbar {
    display: none;
}
.home-page-v2 .quick-cat-item {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 76px;
    scroll-snap-align: start;
    color: #333;
    text-decoration: none;
    transition: transform .25s ease, color .25s ease;
}
.home-page-v2 .quick-cat-item:hover,
.home-page-v2 .quick-cat-item:focus {
    transform: translateY(-3px);
    color: #c41e3a;
    text-decoration: none;
}
.home-page-v2 .quick-cat-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #ebe4d9;
    border: 1px solid rgba(0, 0, 0, .05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: .25s ease;
}
.home-page-v2 .quick-cat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-page-v2 .quick-cat-item:hover .quick-cat-icon {
    box-shadow: 0 4px 14px rgba(15, 23, 42, .12);
    transform: scale(1.04);
}
.home-page-v2 .quick-cat-label {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}
@media (min-width: 992px) {
    .home-page-v2 .quick-categories-track {
        display: grid;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: clamp(8px, 1.2vw, 16px);
        overflow: visible;
    }
    .home-page-v2 .quick-cat-item {
        min-width: 0;
    }
    .home-page-v2 .quick-cat-icon {
        width: clamp(64px, 5vw, 76px);
        height: clamp(64px, 5vw, 76px);
    }
}
@media (max-width: 991px) {
    .home-page-v2 .quick-categories-track {
        flex-wrap: nowrap;
        justify-content: flex-start;
        scroll-padding-inline: 12px;
        gap: 18px;
        padding: 16px 14px;
    }
}

/* Home — product grid (shop-style cards, no price) */
.home-page-v2 .home-product-section.product_container {
    margin-top: 0;
    padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 5vw, 56px);
    background: linear-gradient(180deg, #faf7f2 0%, #f3f0ea 100%);
}

.home-page-v2 .home-product-grid-wrap {
    max-width: 1600px;
}

.home-page-v2 .home-product-grid {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 22px);
}

.home-page-v2 .home-product-card {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.home-page-v2 .home-product-card .container1.home-product-card__media {
    position: relative;
    border: none;
    border-radius: 14px 14px 0 0;
    overflow: hidden;
    background: #e8ece9;
}

.home-page-v2 .home-product-card .home-product-card__img-link {
    display: block;
    line-height: 0;
}

.home-page-v2 .home-product-card .rf-project-cover__image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: none !important;
    -webkit-filter: none !important;
}

.home-page-v2 .home-product-card:hover .rf-project-cover__image {
    transform: scale(1.03);
    filter: none !important;
    -webkit-filter: none !important;
}

.home-page-v2 .home-product-card .overlay_box,
.home-page-v2 .home-product-card .button,
.home-page-v2 .home-product-card .button1,
.home-page-v2 .home-product-card .signup_inbtn {
    display: none !important;
}

.home-page-v2 .home-product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #16a34a;
    border-radius: 6px;
    line-height: 1.2;
}

.home-page-v2 .home-product-card__badge--off {
    background: #16a34a;
}

.home-page-v2 .home-product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-page-v2 .home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.1);
}

.home-page-v2 .home-product-card__body.rf-project-cover__details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    margin: 0;
    padding: 14px 16px 18px;
}

.home-page-v2 .home-product-card__category {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
}

.home-page-v2 .home-product-card__title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    flex: 1;
}

.home-page-v2 .home-product-card__title .rf-project-cover__title {
    font-size: inherit;
    font-weight: inherit;
    color: #0f172a !important;
    text-decoration: none;
}

.home-page-v2 .home-product-card__title .rf-project-cover__title:hover,
.home-page-v2 .home-product-card__title .rf-project-cover__title:focus {
    color: #c41e3a !important;
    text-decoration: none;
}

.home-page-v2 .home-product-card__title sup,
.home-page-v2 .home-product-card .blinkee {
    display: none;
}

.home-page-v2 .home-product-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a !important;
    background: #fff;
    border: 1.5px solid #0f172a;
    border-radius: 10px;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-page-v2 .home-product-card__cta:hover,
.home-page-v2 .home-product-card__cta:focus {
    background: #0f172a;
    border-color: #0f172a;
    color: #fff !important;
    text-decoration: none !important;
}

.home-page-v2 .home-product-card .rf-project-cover__stats {
    display: none;
}

@media (max-width: 1199px) {
    .home-page-v2 .home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .home-page-v2 .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .home-page-v2 .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .home-page-v2 .home-product-card__body.rf-project-cover__details {
        padding: 10px 10px 12px;
    }

    .home-page-v2 .home-product-card__title .rf-project-cover__title {
        font-size: 13px;
        line-height: 1.35;
    }

    .home-page-v2 .home-product-card__cta {
        padding: 9px 8px;
        font-size: 12px;
    }

    .home-page-v2 .home-product-card__badge {
        top: 8px;
        left: 8px;
        padding: 4px 7px;
        font-size: 9px;
    }
}
