/* Sunshine Astra UX Theme - Scoped homepage and WooCommerce design layer */

:root {
    --swh-black: #0c0c0f;
    --swh-dark: #17171b;
    --swh-gray: #5f6672;
    --swh-soft-gray: #f4f5f7;
    --swh-border: #e7e8ec;
    --swh-white: #ffffff;
    --swh-orange: #ff5a00;
    --swh-orange-dark: #e94f00;
    --swh-shadow: 0 18px 50px rgba(15, 15, 18, 0.10);
    --swh-radius-lg: 28px;
    --swh-radius-md: 20px;
}

body.sunshine-astra-ux {
    background: var(--swh-soft-gray);
}

body.sunshine-astra-ux .site-content {
    background: var(--swh-soft-gray);
}

.swh-home,
.swh-home * {
    box-sizing: border-box;
}

.swh-home {
    color: var(--swh-black);
    background: var(--swh-soft-gray);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.swh-container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.swh-notice-bar {
    background: var(--swh-black);
    color: var(--swh-white);
    font-size: 14px;
    letter-spacing: .01em;
}

.swh-notice-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.swh-notice-inner a {
    color: var(--swh-orange);
    font-weight: 800;
    text-decoration: none;
}

.swh-hero {
    padding: 62px 0 44px;
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 90, 0, .26), transparent 28%),
        linear-gradient(135deg, #0c0c0f 0%, #17171b 62%, #25252b 100%);
    color: var(--swh-white);
    overflow: hidden;
}

.swh-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
    gap: 44px;
    align-items: center;
}

.swh-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--swh-orange);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 12px;
}

.swh-eyebrow::before {
    content: "";
    width: 26px;
    height: 3px;
    background: var(--swh-orange);
    border-radius: 999px;
}

.swh-hero h1 {
    color: var(--swh-white);
    font-size: clamp(42px, 5vw, 72px);
    line-height: .96;
    letter-spacing: -0.06em;
    margin: 0 0 22px;
    max-width: 760px;
    font-weight: 950;
}

.swh-hero p {
    color: rgba(255,255,255,.78);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
    max-width: 720px;
    margin: 0;
}

.swh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.swh-primary-button,
.swh-secondary-button,
.swh-link-button,
.swh-add-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    border-radius: 999px;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    line-height: 1;
}

.swh-primary-button {
    background: var(--swh-orange);
    color: var(--swh-white) !important;
    min-height: 54px;
    padding: 0 28px;
    box-shadow: 0 14px 30px rgba(255, 90, 0, .26);
}

.swh-primary-button:hover {
    background: var(--swh-orange-dark);
    color: var(--swh-white) !important;
    transform: translateY(-2px);
}

.swh-secondary-button {
    color: var(--swh-white) !important;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    min-height: 54px;
    padding: 0 28px;
    backdrop-filter: blur(16px);
}

.swh-secondary-button:hover {
    background: var(--swh-white);
    color: var(--swh-black) !important;
    transform: translateY(-2px);
}

.swh-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.swh-trust-row span {
    display: inline-flex;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.055);
    font-size: 14px;
    font-weight: 750;
}

.swh-hero-card {
    position: relative;
    min-height: 430px;
    border-radius: 38px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.14);
    background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045));
    box-shadow: 0 32px 70px rgba(0,0,0,.32);
}

.swh-logo-tile {
    height: 280px;
    border-radius: 30px;
    background: var(--swh-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.swh-logo-tile img {
    display: block;
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.swh-hero-mini-card {
    margin-top: 18px;
    background: var(--swh-black);
    border-radius: 24px;
    padding: 22px;
    display: grid;
    gap: 8px;
}

.swh-hero-mini-card strong {
    color: var(--swh-white);
    font-size: 20px;
}

.swh-hero-mini-card span {
    color: rgba(255,255,255,.72);
    line-height: 1.45;
}

.swh-search-panel {
    margin-top: -34px;
    position: relative;
    z-index: 3;
}

.swh-search-panel .swh-container {
    background: var(--swh-white);
    border: 1px solid var(--swh-border);
    border-radius: var(--swh-radius-lg);
    padding: 18px;
    box-shadow: var(--swh-shadow);
}

.swh-search-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.swh-search-box input[type="search"] {
    width: 100%;
    min-height: 62px;
    border: 1px solid var(--swh-border);
    border-radius: 999px;
    padding: 0 24px;
    font-size: 17px;
    background: #fafafa;
    color: var(--swh-black);
    outline: none;
}

.swh-search-box input[type="search"]:focus {
    border-color: rgba(255, 90, 0, .55);
    box-shadow: 0 0 0 4px rgba(255,90,0,.11);
}

.swh-search-box button {
    min-height: 62px;
    border: 0;
    border-radius: 999px;
    background: var(--swh-black);
    color: var(--swh-white);
    padding: 0 34px;
    font-weight: 950;
    cursor: pointer;
}

.swh-search-box button:hover {
    background: var(--swh-orange);
}

.swh-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.swh-quick-chips a {
    color: var(--swh-black);
    background: #f4f5f7;
    border: 1px solid var(--swh-border);
    border-radius: 999px;
    padding: 10px 14px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
}

.swh-quick-chips a:hover {
    background: #fff1e9;
    border-color: rgba(255,90,0,.35);
    color: var(--swh-orange);
}

.swh-section {
    padding: 62px 0 0;
}

.swh-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}

.swh-section-head h2,
.swh-reorder-inner h2,
.swh-trust-copy h2 {
    margin: 0;
    font-size: clamp(30px, 3.4vw, 48px);
    letter-spacing: -0.045em;
    line-height: 1.02;
    color: var(--swh-black);
    font-weight: 950;
}

.swh-section-head p,
.swh-reorder-inner p,
.swh-trust-copy p {
    margin: 10px 0 0;
    color: var(--swh-gray);
    line-height: 1.6;
    font-size: 17px;
    max-width: 680px;
}

.swh-link-button {
    min-height: 44px;
    padding: 0 18px;
    color: var(--swh-black) !important;
    border: 1px solid var(--swh-border);
    background: var(--swh-white);
    white-space: nowrap;
}

.swh-link-button:hover {
    color: var(--swh-white) !important;
    border-color: var(--swh-black);
    background: var(--swh-black);
}

.swh-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.swh-category-card {
    display: grid;
    min-height: 190px;
    align-content: start;
    text-decoration: none !important;
    background: var(--swh-white);
    border: 1px solid var(--swh-border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: 0 14px 34px rgba(15,15,18,.06);
    transition: transform .18s ease, border .18s ease, box-shadow .18s ease;
}

.swh-category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,90,0,.42);
    box-shadow: 0 20px 44px rgba(15,15,18,.11);
}

.swh-category-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--swh-black);
    color: var(--swh-orange);
    font-size: 24px;
    margin-bottom: 17px;
}

.swh-category-title {
    color: var(--swh-black);
    font-size: 20px;
    font-weight: 950;
    line-height: 1.12;
}

.swh-category-description {
    color: var(--swh-gray);
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.swh-category-meta {
    color: var(--swh-orange);
    margin-top: 18px;
    font-weight: 950;
    font-size: 14px;
}

.swh-product-section {
    padding-top: 64px;
}

.swh-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.swh-product-card {
    position: relative;
    overflow: hidden;
    background: var(--swh-white);
    border: 1px solid var(--swh-border);
    border-radius: 26px;
    box-shadow: 0 14px 34px rgba(15,15,18,.06);
    transition: transform .18s ease, border .18s ease, box-shadow .18s ease;
}

.swh-product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,90,0,.38);
    box-shadow: 0 20px 48px rgba(15,15,18,.12);
}

.swh-product-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / .82;
    padding: 18px;
    background: linear-gradient(135deg, #f6f7f9, #ffffff);
    text-decoration: none !important;
}

.swh-product-media img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.swh-product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    background: var(--swh-orange);
    color: var(--swh-white);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.swh-product-body {
    padding: 17px;
}

.swh-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--swh-black) !important;
    min-height: 44px;
    text-decoration: none !important;
    font-size: 17px;
    line-height: 1.28;
    font-weight: 950;
}

.swh-product-title:hover {
    color: var(--swh-orange) !important;
}

.swh-product-sku {
    color: var(--swh-gray);
    font-size: 13px;
    margin-top: 8px;
}

.swh-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
}

.swh-product-price,
.swh-product-price .amount {
    color: var(--swh-orange);
    font-size: 20px;
    font-weight: 950;
}

.swh-add-button {
    min-height: 40px;
    padding: 0 14px;
    background: var(--swh-black);
    color: var(--swh-white) !important;
    font-size: 13px;
    white-space: nowrap;
}

.swh-add-button:hover {
    background: var(--swh-orange);
    color: var(--swh-white) !important;
}

.swh-empty-products {
    display: grid;
    gap: 6px;
    background: var(--swh-white);
    border: 1px dashed rgba(255,90,0,.35);
    border-radius: 24px;
    padding: 24px;
    color: var(--swh-gray);
}

.swh-empty-products strong {
    color: var(--swh-black);
}

.swh-reorder-band {
    margin-top: 70px;
    background: var(--swh-black);
    color: var(--swh-white);
    padding: 50px 0;
}

.swh-reorder-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.swh-reorder-inner h2,
.swh-reorder-inner p {
    color: var(--swh-white);
}

.swh-reorder-inner p {
    color: rgba(255,255,255,.73);
}

.swh-brand-section {
    padding-bottom: 0;
}

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

.swh-brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    border-radius: 22px;
    border: 1px solid var(--swh-border);
    background: var(--swh-white);
    color: var(--swh-black) !important;
    text-decoration: none !important;
    font-weight: 950;
    font-size: 19px;
    box-shadow: 0 12px 28px rgba(15,15,18,.05);
}

.swh-brand-card:hover {
    border-color: rgba(255,90,0,.42);
    color: var(--swh-orange) !important;
    transform: translateY(-2px);
}

.swh-trust-section {
    padding: 70px 0;
}

.swh-trust-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 28px;
    align-items: start;
}

.swh-trust-copy,
.swh-trust-cards > div {
    background: var(--swh-white);
    border: 1px solid var(--swh-border);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(15,15,18,.06);
}

.swh-trust-cards {
    display: grid;
    gap: 14px;
}

.swh-trust-cards strong {
    display: block;
    color: var(--swh-black);
    font-size: 20px;
    font-weight: 950;
    margin-bottom: 6px;
}

.swh-trust-cards span {
    color: var(--swh-gray);
    line-height: 1.55;
}

/* WooCommerce shop/category card enhancement, scoped to this child theme */
body.sunshine-astra-ux.woocommerce-page ul.products li.product,
body.sunshine-astra-ux.post-type-archive-product ul.products li.product,
body.sunshine-astra-ux.tax-product_cat ul.products li.product {
    background: var(--swh-white);
    border: 1px solid var(--swh-border);
    border-radius: 24px;
    overflow: hidden;
    padding: 14px !important;
    box-shadow: 0 14px 34px rgba(15,15,18,.06);
    transition: transform .18s ease, box-shadow .18s ease, border .18s ease;
}

body.sunshine-astra-ux.woocommerce-page ul.products li.product:hover,
body.sunshine-astra-ux.post-type-archive-product ul.products li.product:hover,
body.sunshine-astra-ux.tax-product_cat ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(255,90,0,.38);
    box-shadow: 0 20px 48px rgba(15,15,18,.12);
}

body.sunshine-astra-ux.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
body.sunshine-astra-ux.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.sunshine-astra-ux.tax-product_cat ul.products li.product .woocommerce-loop-product__title {
    color: var(--swh-black);
    font-weight: 950;
    line-height: 1.25;
}

body.sunshine-astra-ux.woocommerce-page ul.products li.product .price,
body.sunshine-astra-ux.post-type-archive-product ul.products li.product .price,
body.sunshine-astra-ux.tax-product_cat ul.products li.product .price,
body.sunshine-astra-ux.woocommerce-page ul.products li.product .amount,
body.sunshine-astra-ux.post-type-archive-product ul.products li.product .amount,
body.sunshine-astra-ux.tax-product_cat ul.products li.product .amount {
    color: var(--swh-orange) !important;
    font-weight: 950;
}

body.sunshine-astra-ux.woocommerce-page a.button,
body.sunshine-astra-ux.woocommerce-page button.button,
body.sunshine-astra-ux.woocommerce-page .button {
    border-radius: 999px !important;
    font-weight: 900 !important;
}

body.sunshine-astra-ux.woocommerce-page ul.products li.product a.button {
    background: var(--swh-black) !important;
    color: var(--swh-white) !important;
    padding: 12px 16px !important;
}

body.sunshine-astra-ux.woocommerce-page ul.products li.product a.button:hover {
    background: var(--swh-orange) !important;
    color: var(--swh-white) !important;
}

@media (max-width: 1024px) {
    .swh-hero-grid,
    .swh-trust-grid {
        grid-template-columns: 1fr;
    }

    .swh-category-grid,
    .swh-product-grid,
    .swh-brand-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .swh-hero-card {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .swh-container {
        width: min(100% - 24px, 1180px);
    }

    .swh-notice-inner,
    .swh-section-head,
    .swh-reorder-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .swh-hero {
        padding: 44px 0 40px;
    }

    .swh-hero h1 {
        font-size: clamp(38px, 12vw, 54px);
    }

    .swh-search-box {
        grid-template-columns: 1fr;
    }

    .swh-search-box button {
        width: 100%;
    }

    .swh-category-grid,
    .swh-product-grid,
    .swh-brand-grid {
        grid-template-columns: 1fr;
    }

    .swh-product-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .swh-add-button {
        width: 100%;
    }
}
