/* =========================================================
   SHOPORA FINAL HOME PAGE
   ========================================================= */

.home-page {
    padding-top: 22px;
}

.home-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(290px, 0.65fr);
    gap: 18px;
    margin-bottom: 24px;
}

.home-hero-content,
.home-hero-card {
    border-radius: 22px;
}

.home-hero-content {
    padding: clamp(30px, 5vw, 58px);
    background:
        radial-gradient(
            circle at top right,
            rgba(255, 255, 255, 0.95),
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #fff0f4,
            #fff9fb 50%,
            #ffffff
        );
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.home-hero-content h1 {
    max-width: 700px;
    margin: 17px 0;
    font-size: clamp(44px, 7vw, 72px);
    line-height: 1.02;
    letter-spacing: -2.5px;
}

.home-hero-content > p {
    max-width: 650px;
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.home-secondary-button,
.home-view-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #ffffff;
    font-weight: 800;
}

.home-secondary-button {
    padding: 11px 16px;
}

.home-hero-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 28px;
}

.home-hero-trust div {
    padding: 14px;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.78);
}

.home-hero-trust strong,
.home-hero-trust span {
    display: block;
}

.home-hero-trust strong {
    font-size: 14px;
}

.home-hero-trust span {
    margin-top: 4px;
    color: #667085;
    font-size: 10px;
    line-height: 1.35;
}

.home-hero-card {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    background: #111111;
    color: #ffffff;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
}

.home-hero-card-label,
.home-section-label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.home-hero-card-label {
    color: #f8b4c4;
}

.home-section-label {
    color: #667085;
}

.home-hero-card h2 {
    margin: 8px 0 12px;
    font-size: 29px;
    line-height: 1.2;
}

.home-hero-card > p {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.65;
}

.home-side-benefits {
    display: grid;
    gap: 9px;
    margin-top: 18px;
}

.home-side-benefits div {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
}

.home-side-benefits strong,
.home-side-benefits span {
    display: block;
}

.home-side-benefits strong {
    font-size: 13px;
}

.home-side-benefits span {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 11px;
}

.home-category-section,
.home-products-section {
    margin-top: 30px;
}

.home-clear-filter,
.home-filter-summary a {
    color: #175cd3;
    font-weight: 800;
    text-decoration: underline;
}

.chips .chip-active {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.home-products-heading {
    margin-bottom: 16px;
}

.home-product-search {
    min-width: min(100%, 340px);
}

.home-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    font-size: 13px;
}

.home-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    border: 1px solid #e9eaec;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.home-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}

.home-product-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f4f6f8;
}

.home-product-card img,
.home-product-card .placeholder {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.home-product-card:hover img {
    transform: scale(1.025);
}

.home-discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 7px 9px;
    border-radius: 999px;
    background: #b42318;
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.home-product-card .p {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.home-product-meta,
.home-product-price-row,
.home-product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.home-stock-status {
    color: #027a48;
    font-size: 10px;
    font-weight: 850;
}

.home-stock-status.out {
    color: #b42318;
}

.home-product-card h3 {
    margin: 8px 0;
    font-size: 18px;
    line-height: 1.35;
}

.home-product-description {
    margin: 0 0 12px;
    color: #667085;
    font-size: 13px;
    line-height: 1.55;
}

.home-product-rating {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}

.home-product-rating span {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
}

.home-product-rating small {
    color: #98a2b3;
    font-size: 10px;
}

.home-product-price-row {
    margin-top: auto;
}

.home-stock-count {
    color: #667085;
    font-size: 11px;
}

.home-product-actions {
    margin-top: 15px;
}

.home-product-actions > * {
    flex: 1;
}

.home-view-button {
    min-height: 41px;
    padding: 9px 10px;
    font-size: 12px;
}

.home-product-actions .btn {
    min-height: 41px;
    padding: 10px;
    text-align: center;
}

.home-empty-products {
    grid-column: 1 / -1;
    padding: 36px 22px;
    border: 1px dashed #d0d5dd;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.home-benefits-section {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 28px 0;
}

.home-benefit-card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    background: #ffffff;
}

.home-benefit-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
}

.home-benefit-card strong {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}

.home-benefit-card p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.home-content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.home-content-grid .content-box {
    margin: 0;
}

.home-reviews-section {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
}

.home-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.home-reviews-grid article {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f8fafc;
}

.home-reviews-grid strong {
    display: block;
    margin-bottom: 8px;
}

.home-reviews-grid p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 1000px) {

    .home-hero-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-benefits-section {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-reviews-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 700px) {

    .home-page {
        padding-top: 12px;
    }

    .home-hero-content {
        padding: 28px 20px;
    }

    .home-hero-content h1 {
        font-size: 43px;
        letter-spacing: -1.4px;
    }

    .home-hero-card {
        padding: 24px 20px;
    }

    .home-products-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .home-product-search {
        min-width: 0;
        width: 100%;
    }

    .home-benefits-section,
    .home-content-grid {
        grid-template-columns: 1fr;
    }

    .home-product-card img,
    .home-product-card .placeholder {
        height: 190px;
    }

    .home-reviews-section {
        padding: 16px;
    }

}

@media (max-width: 430px) {

    .home-hero-content h1 {
        font-size: 36px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-hero-actions > * {
        width: 100%;
    }

    .home-hero-trust {
        grid-template-columns: 1fr;
    }

    .home-product-actions {
        flex-direction: column;
    }

    .home-product-actions > * {
        width: 100%;
    }

}
/* =========================================================
   HOME CMS FRONTEND
   Add this at the end of assets/home.css
   ========================================================= */

.home-cms-hero {
    display: grid;
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(320px, 0.95fr);
    gap: 28px;
    align-items: center;
    margin: 34px 0 22px;
    padding: 34px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fafc 100%
        );
}

.home-cms-hero-content h1 {
    max-width: 760px;
    margin: 16px 0;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.96;
    letter-spacing: -3px;
}

.home-cms-hero-content p {
    max-width: 700px;
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
}

.home-cms-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.home-cms-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid #d0d5dd;
    border-radius: 11px;
    background: #ffffff;
    color: #344054;
    font-weight: 850;
}

.home-cms-hero-visual {
    min-height: 420px;
    overflow: hidden;
    border-radius: 20px;
    background: #f2f4f7;
}

.home-cms-hero-visual img,
.home-cms-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.home-cms-image-placeholder {
    display: grid;
    place-content: center;
    gap: 7px;
    padding: 30px;
    text-align: center;
}

.home-cms-image-placeholder strong {
    font-size: 38px;
}

.home-cms-image-placeholder span {
    color: #667085;
}

.home-cms-trust-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}

.home-cms-trust-grid article {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #ffffff;
}

.home-cms-trust-grid h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.home-cms-trust-grid p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.6;
}

.home-cms-products-heading {
    margin: 32px 0 18px;
}

.home-cms-products-heading h2 {
    margin: 6px 0 8px;
    font-size: clamp(30px, 5vw, 48px);
}

.home-cms-products-heading p {
    max-width: 720px;
    color: #667085;
}

@media (max-width: 850px) {
    .home-cms-hero {
        grid-template-columns: 1fr;
    }

    .home-cms-trust-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .home-cms-hero {
        padding: 22px;
    }

    .home-cms-hero-content h1 {
        letter-spacing: -2px;
    }

    .home-cms-actions > * {
        width: 100%;
    }

    .home-cms-hero-visual,
    .home-cms-hero-visual img,
    .home-cms-image-placeholder {
        min-height: 300px;
    }
}
/* Home CMS live hero image */
.home-cms-live-hero-image {
    width: 100%;
    height: 100%;
    min-height: 430px;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

@media (max-width: 760px) {
    .home-cms-live-hero-image {
        min-height: 300px;
    }
}