/* =====================================================
   Hero - Boutique Homepage
   ===================================================== */

.sp-home-hero {
    width: 100%;
    max-width: none;
    min-height: 620px;
    margin: 0 auto;
    padding: 52px 0 64px;
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(255, 250, 245, 0.98) 0%,
            rgba(255, 250, 245, 0.94) 28%,
            rgba(255, 250, 245, 0.80) 44%,
            rgba(255, 250, 245, 0.42) 62%,
            rgba(255, 250, 245, 0.08) 100%
        ),
        url("https://scrapbookerparadise.com/wp-content/uploads/2026/06/Hero-Image-Homepage.png");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    background-color: var(--sp-home-cream);
    box-sizing: border-box;
}

.sp-home-hero-inner {
    width: min(var(--sp-home-max), calc(100% - 40px));
    max-width: var(--sp-home-max);
    min-height: 500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.sp-home-hero-content {
    max-width: 680px;
    position: relative;
    z-index: 2;
}

.sp-home-hero-kicker {
    margin-bottom: 18px;
    color: var(--sp-home-rose-dark);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sp-home-hero h1 {
    margin: 0 0 24px;
    color: #6d8379;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.sp-home-hero p {
    max-width: 680px;
    margin: 0 0 34px;
    color: #6d8379;
    font-size: 22px;
    line-height: 1.5;
    font-weight: 400;
}

.sp-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    margin-bottom: 38px;
}

.sp-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sp-home-button:hover {
    transform: translateY(-1px);
}

.sp-home-button-primary {
    background: #bf746d;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(191, 116, 109, 0.24);
}

.sp-home-button-primary:hover {
    background: #a95552;
    color: #fff !important;
}

.sp-home-button-secondary {
    background: rgba(255, 255, 255, 0.72);
    color: #bf746d !important;
    border: 1px solid rgba(191, 116, 109, 0.28);
}

.sp-home-button-secondary:hover {
    background: #fff;
    color: #a95552 !important;
}

.sp-home-button-soft {
    background: rgba(229, 214, 211, 0.88);
    color: #6d8379 !important;
    border: 1px solid rgba(109, 131, 121, 0.18);
}

.sp-home-button-soft:hover {
    background: #eadfdb;
    color: #536b62 !important;
}

/* Hero trust cards */
.sp-home-hero-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 16px;
    max-width: 960px;
}

.sp-home-hero-trust-card {
    min-height: 74px;
    padding: 18px 20px;
    border-radius: 16px;
    background: rgba(255, 253, 249, 0.78);
    border: 1px solid rgba(109, 131, 121, 0.16);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.045);
    backdrop-filter: blur(3px);
    box-sizing: border-box;
}

.sp-home-hero-trust-card strong {
    display: block;
    margin-bottom: 8px;
    color: #bf746d;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.sp-home-hero-trust-card span {
    display: block;
    color: #536b62;
    font-size: 14px;
    line-height: 1.35;
}

/* Hero tablet */
@media (max-width: 1100px) {
    .sp-home-hero {
        min-height: 620px;
        background-position: center right;
    }

    .sp-home-hero-content {
        max-width: 620px;
    }

    .sp-home-hero-trust {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        max-width: 620px;
    }
}

/* Hero mobile */
@media (max-width: 768px) {
    .sp-home-hero {
        min-height: auto;
        padding: 44px 0 48px;
        background-image:
            linear-gradient(
                180deg,
                rgba(255, 250, 245, 0.98) 0%,
                rgba(255, 250, 245, 0.90) 58%,
                rgba(255, 250, 245, 0.56) 100%
            ),
            url("https://scrapbookerparadise.com/wp-content/uploads/2026/06/Hero-Image-Homepage.png");
        background-position: center right;
    }

    .sp-home-hero-inner {
        width: calc(100% - 32px);
        min-height: auto;
    }

    .sp-home-hero-kicker {
        font-size: 12px;
        letter-spacing: 0.12em;
    }

    .sp-home-hero h1 {
        font-size: 44px;
    }

    .sp-home-hero p {
        font-size: 18px;
    }

    .sp-home-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .sp-home-button {
        min-height: 46px;
        padding: 12px 22px;
        font-size: 15px;
    }

    .sp-home-hero-trust {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* =====================================================
   Categories - Large Boutique Cards
   ===================================================== */

.sp-home-categories {
    padding: 56px 0 64px !important;
    background: #f7f0ec !important;
}

.sp-home-categories .sp-home-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.sp-home-categories .sp-home-section-header {
    margin-bottom: 34px !important;
}

.sp-home-categories .sp-home-section-ornament {
    color: #c57970 !important;
    font-size: 18px !important;
    margin-bottom: 8px !important;
}

.sp-home-categories .sp-home-section-header h2 {
    color: #6d8379 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 48px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.sp-home-categories .sp-home-section-header h2::after {
    content: "";
    display: block;
    width: 86px;
    height: 1px;
    margin: 24px auto 0;
    background: rgba(201, 111, 107, 0.45);
}

.sp-home-categories .sp-home-section-header p {
    max-width: 760px !important;
    margin: 22px auto 0 !important;
    color: #6d8379 !important;
    font-size: 18px !important;
    line-height: 1.55 !important;
}

.sp-home-category-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
    gap: 26px !important;
    align-items: stretch !important;
}

.sp-home-category-card {
    position: relative !important;
    display: block !important;
    min-height: 260px !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #fff !important;
    border: none !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10) !important;
    text-decoration: none !important;
    transform: translateZ(0);
}

.sp-home-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(45, 35, 30, 0.18);
    z-index: 1;
    pointer-events: none;
}

.sp-home-category-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14) !important;
}

.sp-home-category-card img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.35s ease !important;
}

.sp-home-category-card:hover img {
    transform: scale(1.04) !important;
}

.sp-home-category-card div {
    position: absolute !important;
    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 2 !important;

    display: block !important;
    padding: 22px 24px !important;

    background: rgba(255, 250, 246, 0.94) !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.10) !important;
    text-align: left !important;
}

.sp-home-category-card h3 {
    margin: 0 0 8px !important;
    color: #6d8379 !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 26px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
}

.sp-home-category-card span {
    display: block !important;
    margin: 0 !important;
    color: #c57970 !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}

/* Tablet */
@media (max-width: 1050px) {
    .sp-home-category-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    }

    .sp-home-category-card {
        min-height: 250px !important;
    }
}

/* Mobile */
@media (max-width: 680px) {
    .sp-home-categories {
        padding: 42px 0 48px !important;
    }

    .sp-home-categories .sp-home-section-header h2 {
        font-size: 36px !important;
    }

    .sp-home-categories .sp-home-section-header p {
        font-size: 16px !important;
    }

    .sp-home-category-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .sp-home-category-card {
        min-height: 230px !important;
        border-radius: 20px !important;
    }

    .sp-home-category-card div {
        left: 18px !important;
        right: 18px !important;
        bottom: 18px !important;
        padding: 18px 20px !important;
    }

    .sp-home-category-card h3 {
        font-size: 24px !important;
    }
}

/* =====================================================
   Product Sections - New Arrivals / Shared Cards
   Based on old beautiful homepage plugin
   ===================================================== */

.sp-home-new-arrivals {
    padding: 64px 0 70px !important;
    background: #fffaf6 !important;
}

.sp-home-new-arrivals .sp-home-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.sp-home-block-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.sp-home-block-kicker {
    margin-bottom: 12px;
    color: #bf746d;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.sp-home-block-heading h2 {
    margin: 0;
    color: #6d8379;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 700;
}

.sp-home-heading-line {
    width: 86px;
    height: 1px;
    margin: 26px auto 22px;
    background: rgba(201, 111, 107, 0.45);
}

.sp-home-block-heading p {
    margin: 0 auto;
    color: #6d8379;
    font-size: 18px;
    line-height: 1.55;
}

/* Product grid */
.sp-home-product-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

/* Product card */
.sp-home-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(201, 111, 107, 0.22);
    border-radius: 24px;
    background: #fffdf9;
    box-shadow: 0 14px 32px rgba(111, 134, 120, 0.11);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sp-home-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

/* Badge */
.sp-home-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(109, 131, 121, 0.96);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(111, 134, 120, 0.16);
}

/* Image */
.sp-home-product-image {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #fffdf9;
    color: inherit;
    text-decoration: none !important;
}

.sp-home-product-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

/* Product info */
.sp-home-product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 17px 16px 18px;
}

.sp-home-product-info h3 {
    min-height: 54px;
    max-height: 54px;
    margin: 0 0 10px;
    overflow: hidden;
    color: #536b62;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 700;
}

.sp-home-product-info h3 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: inherit !important;
    text-decoration: none !important;
}

/* Price */
.sp-home-product-price {
    min-height: 26px;
    margin: 0 0 16px;
    color: #bf746d !important;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.sp-home-product-price del {
    color: #9a908c !important;
    opacity: 0.75;
    font-size: 14px;
    font-weight: 400;
}

.sp-home-product-price ins {
    color: #bf746d !important;
    text-decoration: none;
}

/* Button */
.sp-home-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid #bf746d;
    background: #bf746d;
    color: #fff !important;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none !important;
    box-sizing: border-box;
}

.sp-home-product-button:hover {
    border-color: #a95f59;
    background: #a95f59;
    color: #fff !important;
    box-shadow: 0 9px 20px rgba(191, 116, 109, 0.22);
}

/* Section action */
.sp-home-section-action {
    margin-top: 34px;
    text-align: center;
}

.sp-home-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 13px 30px;
    border-radius: 999px;
    border: 1px solid rgba(201, 111, 107, 0.30);
    background: rgba(255, 255, 255, 0.55);
    color: #bf746d !important;
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
}

.sp-home-outline-button:hover {
    background: #bf746d;
    color: #fff !important;
}

/* Tablet */
@media (max-width: 1100px) {
    .sp-home-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 680px) {
    .sp-home-new-arrivals {
        padding: 46px 0 52px !important;
    }

    .sp-home-block-heading h2 {
        font-size: 36px;
    }

    .sp-home-block-heading p {
        font-size: 16px;
    }

    .sp-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .sp-home-product-info {
        padding: 15px 14px 17px;
    }

    .sp-home-product-info h3 {
        min-height: 44px;
        max-height: 44px;
        font-size: 14px;
    }

    .sp-home-product-button {
        font-size: 12px;
    }
}
/* =====================================================
   Product Title Emergency Override
   Force small readable product titles
   ===================================================== */

.sp-home-new-arrivals .sp-home-product-card .sp-home-product-info h3,
.sp-home-new-arrivals .sp-home-product-card .sp-home-product-info h3 a,
.sp-home-product-card .sp-home-product-info h3,
.sp-home-product-card .sp-home-product-info h3 a {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    color: #536b62 !important;
}

.sp-home-new-arrivals .sp-home-product-card .sp-home-product-info h3,
.sp-home-product-card .sp-home-product-info h3 {
    height: 54px !important;
    min-height: 54px !important;
    max-height: 54px !important;
    margin: 0 0 10px !important;
    overflow: hidden !important;
}

.sp-home-new-arrivals .sp-home-product-card .sp-home-product-info h3 a,
.sp-home-product-card .sp-home-product-info h3 a {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

/* =====================================================
   Members-Only Daily Deals
   ===================================================== */

.sp-home-daily-deals {
    padding: 64px 0 70px !important;
    background: #f3e7e3 !important;
}

.sp-home-daily-deals .sp-home-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.sp-home-deals-locked {
    max-width: 780px;
    margin: 0 auto;
    padding: 46px 32px;
    border: 1px solid rgba(191, 116, 109, 0.25);
    border-radius: 28px;
    background: rgba(255, 253, 249, 0.88);
    box-shadow: 0 16px 40px rgba(109, 131, 121, 0.12);
    text-align: center;
}

.sp-home-deals-lock {
    margin-bottom: 12px;
    color: #bf746d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1;
}

.sp-home-deals-locked h3 {
    margin: 0 0 14px;
    color: #6d8379;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.2;
}

.sp-home-deals-locked p {
    max-width: 590px;
    margin: 0 auto 26px;
    color: #536b62;
    font-size: 17px;
    line-height: 1.55;
}

.sp-home-deals-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.sp-home-deals-welcome {
    margin: -18px auto 28px;
    color: #536b62;
    font-size: 15px;
    text-align: center;
}

.sp-home-deal-card {
    border-color: rgba(191, 116, 109, 0.3);
}

.sp-home-member-price {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.sp-home-deals-empty {
    text-align: center;
    color: #536b62;
}

@media (max-width: 680px) {
    .sp-home-daily-deals {
        padding: 46px 0 52px !important;
    }

    .sp-home-deals-locked {
        padding: 36px 22px;
    }

    .sp-home-deals-locked h3 {
        font-size: 26px;
    }
}

/* =====================================================
   Best Sellers
   ===================================================== */

.sp-home-best-sellers {
    padding: 64px 0 70px !important;
    background: #fffaf6 !important;
}

/* =====================================================
   Shop by Brand
   ===================================================== */

.sp-home-brands {
    padding: 64px 0 70px !important;
    background: #eef2ef !important;
}

.sp-home-brands .sp-home-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.sp-home-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sp-home-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 26px 20px;
    border: 1px solid rgba(109, 131, 121, 0.2);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.9);
    box-shadow: 0 12px 28px rgba(109, 131, 121, 0.09);
    text-align: center;
    text-decoration: none !important;
    box-sizing: border-box;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sp-home-brand-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 17px 36px rgba(109, 131, 121, 0.15);
}

.sp-home-brand-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 82px;
    margin-bottom: 18px;
}

.sp-home-brand-visual img {
    display: block;
    width: auto !important;
    max-width: 170px !important;
    height: auto !important;
    max-height: 78px !important;
    object-fit: contain !important;
}

.sp-home-brand-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f3e7e3;
    color: #bf746d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 700;
}

.sp-home-brand-name {
    color: #536b62;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 700;
}

.sp-home-brand-link {
    margin-top: 10px;
    color: #bf746d;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

@media (max-width: 960px) {
    .sp-home-brand-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .sp-home-brands {
        padding: 46px 0 52px !important;
    }

    .sp-home-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sp-home-brand-card {
        min-height: 180px;
        padding: 22px 14px;
        border-radius: 20px;
    }

    .sp-home-brand-name {
        font-size: 18px;
    }

    .sp-home-brand-link {
        font-size: 12px;
    }
}

.sp-home-best-sellers .sp-home-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.sp-home-best-sellers .sp-home-product-card {
    border-color: rgba(109, 131, 121, 0.24);
    box-shadow: 0 14px 32px rgba(109, 131, 121, 0.12);
}

.sp-home-social-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: -6px 0 32px;
}

.sp-home-social-proof div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 94px;
    padding: 16px 18px;
    border: 1px solid rgba(109, 131, 121, 0.18);
    border-radius: 18px;
    background: rgba(255, 253, 249, 0.82);
    text-align: center;
}

.sp-home-social-proof strong {
    color: #536b62;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.2;
}

.sp-home-social-proof span {
    margin-top: 5px;
    color: #718179;
    font-size: 13px;
    line-height: 1.35;
}

.sp-home-best-sellers .sp-home-product-badge {
    background: rgba(109, 131, 121, 0.94);
    color: #fff;
}

@media (max-width: 680px) {
    .sp-home-best-sellers {
        padding: 46px 0 52px !important;
    }

    .sp-home-social-proof {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 24px;
    }

    .sp-home-social-proof div {
        min-height: 74px;
    }
}

/* =====================================================
   Creative World
   ===================================================== */

.sp-home-creative-world {
    padding: 68px 0 74px !important;
    background: #f7f0ec !important;
}

.sp-home-creative-world .sp-home-container {
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
}

.sp-home-creative-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: stretch;
}

.sp-home-creative-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(191, 116, 109, 0.18);
    border-radius: 26px;
    background: #fffdf9;
    box-shadow: 0 14px 34px rgba(109, 131, 121, 0.11);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sp-home-creative-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 19px 42px rgba(109, 131, 121, 0.16);
}

.sp-home-creative-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eadfdb;
    text-decoration: none !important;
}

.sp-home-creative-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.35s ease;
}

.sp-home-creative-card:hover .sp-home-creative-image img {
    transform: scale(1.035);
}

.sp-home-creative-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eadfdb, #eef2ef);
}

.sp-home-creative-image-placeholder span {
    color: #bf746d;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
}

.sp-home-creative-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px 25px 27px;
}

.sp-home-creative-meta {
    margin-bottom: 11px;
    color: #bf746d;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sp-home-creative-content h3 {
    margin: 0 0 13px;
    color: #536b62;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.sp-home-creative-content h3 a {
    color: inherit !important;
    text-decoration: none !important;
}

.sp-home-creative-content p {
    margin: 0 0 21px;
    color: #6d8379;
    font-size: 15px;
    line-height: 1.6;
}

.sp-home-creative-read {
    margin-top: auto;
    color: #bf746d !important;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    text-decoration: none !important;
}

@media (max-width: 900px) {
    .sp-home-creative-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .sp-home-creative-world {
        padding: 46px 0 52px !important;
    }

    .sp-home-creative-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sp-home-creative-content {
        padding: 22px 21px 24px;
    }

    .sp-home-creative-content h3 {
        font-size: 23px;
    }
}

/* =====================================================
   Trust Strip
   ===================================================== */

.sp-home-trust-strip {
    padding: 25px 0;
    background: #6d8379;
}

.sp-home-trust-strip .sp-home-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sp-home-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.sp-home-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 8px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.sp-home-trust-item:last-child {
    border-right: 0;
}

.sp-home-trust-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: 14px;
    border-radius: 50%;
    background: rgba(255, 253, 249, 0.13);
    color: #f5d7d1;
}

.sp-home-trust-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sp-home-trust-copy {
    display: block;
    min-width: 0;
}

.sp-home-trust-copy strong,
.sp-home-trust-copy small {
    display: block;
}

.sp-home-trust-copy strong {
    margin-bottom: 4px;
    color: #fffdf9;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 800;
}

.sp-home-trust-copy small {
    color: rgba(255, 253, 249, 0.76);
    font-size: 12px;
    line-height: 1.35;
}

@media (max-width: 1000px) {
    .sp-home-trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 18px;
    }

    .sp-home-trust-item:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 600px) {
    .sp-home-trust-strip {
        padding: 22px 0;
    }

    .sp-home-trust-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .sp-home-trust-item,
    .sp-home-trust-item:nth-child(2) {
        justify-content: flex-start;
        padding: 15px 8px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .sp-home-trust-item:last-child {
        border-bottom: 0;
    }
}

/* =====================================================
   Conversion & visual refinement — v0.8
   ===================================================== */

:root {
    --sp-home-max: 1240px;
    --sp-home-cream: #fffaf5;
}

/* Compact the Astra header on the homepage. */
body.sp-homepage-active #masthead .ast-above-header-bar,
body.sp-homepage-active #masthead .site-above-header-wrap,
body.sp-homepage-active #masthead .site-header-above-section-left,
body.sp-homepage-active #masthead .site-header-above-section-right,
body.sp-homepage-active #masthead .site-branding {
    min-height: 96px !important;
    height: 96px !important;
}

body.sp-homepage-active #masthead .custom-logo,
body.sp-homepage-active #masthead .site-logo-img {
    max-height: 74px !important;
    height: 74px !important;
    width: auto !important;
}

body.sp-homepage-active #masthead .site-title,
body.sp-homepage-active #masthead .site-title a {
    font-size: 43px !important;
    line-height: 1.05 !important;
}

body.sp-homepage-active #masthead .site-description {
    font-size: 18px !important;
    line-height: 1.25 !important;
}

body.sp-homepage-active .sp-marquee {
    overflow: hidden !important;
}

body.sp-homepage-active .sp-marquee__track {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    transform: none !important;
    animation: none !important;
    white-space: nowrap !important;
}

/* Shorter, clearer first screen. */
.sp-home-hero {
    min-height: 500px !important;
    padding: 42px 0 46px !important;
}

.sp-home-hero-inner {
    min-height: 410px !important;
}

.sp-home-hero-content {
    max-width: 650px !important;
}

.sp-home-hero h1 {
    max-width: 650px;
    margin-bottom: 20px !important;
    font-size: clamp(46px, 5vw, 66px) !important;
    line-height: 1.01 !important;
    letter-spacing: -0.035em !important;
}

.sp-home-hero p {
    max-width: 620px !important;
    margin-bottom: 26px !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
}

.sp-home-hero-actions {
    margin-bottom: 0 !important;
}

.sp-home-button-primary {
    padding-right: 32px !important;
    padding-left: 32px !important;
    box-shadow: 0 12px 28px rgba(191, 116, 109, 0.3) !important;
}

/* Faster section rhythm. */
.sp-home-categories,
.sp-home-new-arrivals,
.sp-home-daily-deals,
.sp-home-best-sellers,
.sp-home-brands,
.sp-home-creative-world {
    padding-top: 52px !important;
    padding-bottom: 58px !important;
}

.sp-home-block-heading {
    margin-bottom: 32px !important;
}

.sp-home-block-heading h2,
.sp-home-categories .sp-home-section-header h2 {
    font-size: 44px !important;
}

/* Eight distinct category entrances in a 4 × 2 grid. */
.sp-home-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.sp-home-categories .sp-home-section-header {
    max-width: 760px !important;
    margin: 0 auto 34px !important;
    text-align: center !important;
}

.sp-home-categories .sp-home-section-ornament {
    text-align: center !important;
}

.sp-home-category-card {
    min-height: 230px !important;
}

.sp-home-category-card div {
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    padding: 18px 19px !important;
}

.sp-home-category-card h3 {
    font-size: 22px !important;
}

/* Product cards: readable 4 × 2 merchandising instead of six narrow cards. */
.sp-home-product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.sp-home-product-info {
    padding: 18px 18px 20px !important;
}

.sp-home-product-info h3,
.sp-home-product-card .sp-home-product-info h3 {
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.sp-home-product-info h3 a,
.sp-home-product-card .sp-home-product-info h3 a {
    -webkit-line-clamp: 3 !important;
}

.sp-home-product-price {
    font-size: 18px !important;
}

.sp-home-product-button {
    min-height: 46px !important;
    white-space: nowrap !important;
}

/* Daily Deals is now a compact homepage preview. */
.sp-home-daily-deals .sp-home-block-heading {
    margin-bottom: 24px !important;
}

.sp-home-deals-welcome {
    margin: -8px auto 24px !important;
}

/* Brand carousel: swipeable without a heavy slider dependency. */
.sp-home-brand-grid {
    display: grid !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(185px, 1fr) !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    overflow-x: auto !important;
    padding: 4px 2px 18px !important;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(191, 116, 109, 0.45) transparent;
}

.sp-home-brand-card {
    min-height: 180px !important;
    scroll-snap-align: start;
}

/* Four balanced discovery cards. */
.sp-home-creative-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
}

.sp-home-creative-content {
    padding: 22px 21px 24px !important;
}

.sp-home-creative-content h3 {
    font-size: 22px !important;
}

/* Clean Fluent Forms layout and remove its technical checkbox heading. */
.sp-home-newsletter .ff-t-container {
    display: block !important;
}

.sp-home-newsletter .ff-t-cell {
    width: 100% !important;
    padding: 0 !important;
}

.sp-home-newsletter .ff-el-group:has(input[type="checkbox"]) > .ff-el-input--label {
    display: none !important;
}

.sp-home-newsletter .ff-el-form-check-label {
    display: grid !important;
    grid-template-columns: 18px 1fr !important;
    gap: 9px !important;
    align-items: start !important;
    color: #536b62 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.sp-home-newsletter .ff-btn-submit {
    margin-top: 4px !important;
}

/* Keep floating tools available without covering merchandise. */
body.sp-homepage-active .xoo-wsc-basket {
    top: auto !important;
    right: 18px !important;
    bottom: 96px !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
}

@media (max-width: 1050px) {
    .sp-home-category-grid,
    .sp-home-product-grid,
    .sp-home-creative-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body.sp-homepage-active #masthead .ast-above-header-bar,
    body.sp-homepage-active #masthead .site-above-header-wrap,
    body.sp-homepage-active #masthead .site-branding {
        height: auto !important;
        min-height: 74px !important;
    }

    .sp-home-hero {
        padding: 38px 0 42px !important;
    }

    .sp-home-hero h1 {
        font-size: 43px !important;
    }

    .sp-home-category-grid,
    .sp-home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
    }

    .sp-home-creative-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .sp-home-category-grid {
        grid-template-columns: 1fr !important;
    }

    .sp-home-product-info {
        padding: 14px 13px 16px !important;
    }

    .sp-home-product-button {
        padding-right: 8px !important;
        padding-left: 8px !important;
        font-size: 11px !important;
    }
}

/* =====================================================
   Newsletter / Fluent Forms
   ===================================================== */

.sp-home-newsletter {
    padding: 72px 0 !important;
    overflow: hidden;
    background-color: #f7f1ed !important;
    background-image:
        linear-gradient(rgba(255, 250, 246, 0.88), rgba(255, 250, 246, 0.94)),
        url("https://scrapbookerparadise.com/wp-content/uploads/2026/05/ChatGPT-Image-21-мая-2026-г.-22_57_53.png") !important;
    background-position: center 58% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

.sp-home-newsletter .sp-home-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.sp-home-newsletter-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
    overflow: hidden;
    padding: 58px 62px;
    border: 1px solid rgba(191, 116, 109, 0.18);
    border-radius: 32px;
    background:
        radial-gradient(circle at 8% 12%, rgba(245, 215, 209, 0.62), transparent 32%),
        linear-gradient(135deg, #f3e7e3 0%, #eef2ef 100%);
    box-shadow: 0 18px 46px rgba(109, 131, 121, 0.13);
}

.sp-home-newsletter-panel::after {
    content: "♡";
    position: absolute;
    right: -18px;
    bottom: -62px;
    color: rgba(255, 255, 255, 0.38);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 210px;
    line-height: 1;
    pointer-events: none;
}

.sp-home-newsletter-copy,
.sp-home-newsletter-form-wrap {
    position: relative;
    z-index: 1;
}

.sp-home-newsletter-kicker {
    margin-bottom: 13px;
    color: #bf746d;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sp-home-newsletter-copy h2 {
    margin: 0 0 19px;
    color: #536b62;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.5vw, 56px);
    line-height: 1.04;
    font-weight: 700;
}

.sp-home-newsletter-copy > p {
    max-width: 600px;
    margin: 0 0 24px;
    color: #6d8379;
    font-size: 17px;
    line-height: 1.6;
}

.sp-home-newsletter-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-home-newsletter-benefits li {
    position: relative;
    margin: 10px 0;
    padding-left: 27px;
    color: #536b62;
    font-size: 15px;
    line-height: 1.45;
}

.sp-home-newsletter-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #bf746d;
    font-weight: 900;
}

.sp-home-newsletter-form-wrap {
    padding: 31px 32px 25px;
    border: 1px solid rgba(109, 131, 121, 0.15);
    border-radius: 24px;
    background: rgba(255, 253, 249, 0.93);
    box-shadow: 0 14px 34px rgba(109, 131, 121, 0.12);
}

.sp-home-newsletter-form-title {
    margin-bottom: 18px;
    color: #536b62;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
}

.sp-home-newsletter .ff-el-group {
    margin-bottom: 14px !important;
}

.sp-home-newsletter .ff-el-input--label label {
    color: #536b62 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.sp-home-newsletter .ff-el-form-control {
    min-height: 48px !important;
    padding: 12px 16px !important;
    border: 1px solid rgba(109, 131, 121, 0.24) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #536b62 !important;
    box-shadow: none !important;
}

.sp-home-newsletter .ff-el-form-control:focus {
    border-color: #bf746d !important;
    box-shadow: 0 0 0 3px rgba(191, 116, 109, 0.12) !important;
}

.sp-home-newsletter .ff-btn-submit {
    width: 100% !important;
    min-height: 48px !important;
    padding: 13px 24px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #bf746d !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    box-shadow: 0 10px 22px rgba(191, 116, 109, 0.22) !important;
}

.sp-home-newsletter .ff-btn-submit:hover {
    background: #a95552 !important;
}

.sp-home-newsletter-privacy {
    margin: 13px 0 0;
    color: #7d8983;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 900px) {
    .sp-home-newsletter-panel {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 48px;
    }
}

@media (max-width: 600px) {
    .sp-home-newsletter {
        padding: 46px 0 !important;
        background-image:
            linear-gradient(rgba(255, 250, 246, 0.94), rgba(255, 250, 246, 0.97)),
            url("https://scrapbookerparadise.com/wp-content/uploads/2026/05/ChatGPT-Image-21-мая-2026-г.-22_57_53.png") !important;
    }

    .sp-home-newsletter .sp-home-container {
        padding: 0 16px;
    }

    .sp-home-newsletter-panel {
        gap: 28px;
        padding: 34px 22px;
        border-radius: 24px;
    }

    .sp-home-newsletter-copy h2 {
        font-size: 38px;
    }

    .sp-home-newsletter-form-wrap {
        padding: 25px 20px 21px;
        border-radius: 20px;
    }
}
