/* Remove standard page title and spacing. */

body.home .hero-section,
body.home .entry-header {
    display: none !important;
}

body.home .site-main,
body.home article.page,
body.home .entry-content,
body.home .ct-container-full {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.home .entry-content > .srp-storefront {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.srp-storefront {
    overflow: hidden;
    background: #ffffff;
    color: #111111;
}

.srp-storefront *,
.srp-storefront *::before,
.srp-storefront *::after {
    box-sizing: border-box;
}

.srp-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

/* Compact hero */

.srp-storefront-hero {
    padding: 34px 0 31px;
    text-align: center;
    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(214, 178, 75, 0.13),
            transparent 28%
        ),
        #f7f8fa;
}

.srp-eyebrow {
    margin: 0 0 8px;
    color: #d64b00;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.srp-storefront-hero h1 {
    max-width: 860px;
    margin: 0 auto;
    color: #111a2c;
    font-size: clamp(35px, 4.3vw, 55px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
}

.srp-storefront-hero-text {
    max-width: 760px !important;
    margin: 15px auto 0;
    color: #536076;
    font-size: 15px;
    line-height: 1.65;
}

.srp-storefront-hero-action {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    margin-top: 19px;
    padding: 10px 24px;
    border-radius: 999px;
    background: #e60012;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.srp-storefront-hero-action:hover {
    background: #bd0010;
    color: #ffffff;
}

/* Categories */

.srp-category-section {
    padding: 38px 0 42px;
    background: #f7f8fa;
}

.srp-section-heading {
    margin-bottom: 22px;
    text-align: center;
}

.srp-section-heading h2 {
    margin: 0;
    color: #111a2c;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.srp-section-heading p:not(.srp-eyebrow) {
    margin: 10px 0 0;
    color: #637087;
    font-size: 14px;
}

.srp-category-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.srp-category-card {
    position: relative;
    display: grid;
    min-height: 108px;
    grid-template-columns:
        minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #dfe3ea;
    border-radius: 14px;
    background: #ffffff;
    color: #111a2c;
    text-decoration: none;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.srp-category-card:hover {
    transform: translateY(-2px);
    border-color: #c8ced8;
    box-shadow:
        0 10px 26px rgba(17, 26, 44, 0.07);
    color: #111a2c;
}

.srp-category-copy strong,
.srp-category-copy small {
    display: block;
}

.srp-category-copy strong {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.2;
}

.srp-category-copy small {
    margin-top: 6px;
    color: #69758a;
    font-size: 12px;
    line-height: 1.35;
}

.srp-category-meta {
    color: #8a94a5;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.srp-category-arrow {
    font-size: 19px;
    font-weight: 800;
}

/* Products */

.srp-product-section {
    padding: 48px 0;
    background: #ffffff;
}

.srp-product-section-alt {
    background: #f7f5ef;
}

.srp-product-heading {
    margin-bottom: 24px;
}

.srp-product-heading h2 {
    margin: 0;
    color: #111a2c;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.08;
}

.srp-products-grid ul.products {
    display: grid !important;
    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin: 0 !important;
}

.srp-products-grid ul.products::before,
.srp-products-grid ul.products::after {
    display: none !important;
}

.srp-products-grid ul.products li.product {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    padding: 12px 12px 16px;
    border: 1px solid #dfe3ea;
    border-radius: 12px;
    background: #ffffff;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.srp-products-grid ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow:
        0 13px 32px rgba(17, 26, 44, 0.08);
}

.srp-products-grid img {
    border-radius: 8px;
}

.srp-products-grid
.woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}

.srp-products-grid .price {
    color: #111a2c !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

.srp-products-grid .button {
    width: 100%;
    min-height: 39px;
    margin-top: 10px !important;
    border-radius: 6px !important;
    background: #111a2c !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
}

/* SEO content */

.srp-seo-section {
    padding: 45px 0;
    background: #ffffff;
}

.srp-seo-inner {
    display: grid;
    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.15fr);
    gap: 55px;
    align-items: start;
}

.srp-seo-section h2 {
    margin: 0;
    color: #111a2c;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.srp-seo-copy p {
    margin: 0 0 14px;
    color: #596579;
    font-size: 14px;
    line-height: 1.75;
}

.srp-seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 19px;
}

.srp-seo-links a {
    padding-bottom: 2px;
    border-bottom: 1px solid #111a2c;
    color: #111a2c;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 920px) {
    .srp-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .srp-products-grid ul.products {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .srp-seo-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .srp-shell {
        width: calc(100% - 24px);
    }

    .srp-storefront-hero {
        padding: 25px 0 24px;
    }

    .srp-storefront-hero h1 {
        font-size: 31px;
    }

    .srp-storefront-hero-text {
        font-size: 13px;
    }

    .srp-category-section {
        padding: 29px 0 32px;
    }

    .srp-category-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .srp-category-card {
        min-height: 84px;
        padding: 14px 15px;
    }

    .srp-category-copy strong {
        font-size: 16px;
    }

    .srp-product-section,
    .srp-seo-section {
        padding: 36px 0;
    }

    .srp-products-grid ul.products {
        gap: 9px !important;
    }

    .srp-products-grid ul.products li.product {
        padding: 8px 8px 12px;
    }

    .srp-products-grid
    .woocommerce-loop-product__title {
        font-size: 12px !important;
    }
}
