/* Sunshine Wholesale — B2B homepage v3 */

:root {
    --swh-black: #111111;
    --swh-charcoal: #1f1f1f;
    --swh-gray: #5c5c5c;
    --swh-muted: #7a7a7a;
    --swh-border: #e8e4da;
    --swh-white: #ffffff;
    --swh-cream: #fffdf8;
    --swh-orange: #f57c00;
    --swh-orange-deep: #e06d00;
    --swh-yellow-soft: #fff4e5;
    --swh-yellow-deep: #e89520;
    --swh-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
    --swh-radius-lg: 24px;
    --swh-radius-md: 16px;
}

body.sunshine-astra-ux { background: var(--swh-cream); }
body.sunshine-astra-ux .site-content { background: var(--swh-cream); }
body.sunshine-astra-ux .entry-content { margin: 0; }

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

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

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

/* ── Notice bar ─────────────────────────────────── */
.swh-notice-bar {
    background: var(--swh-black);
    color: var(--swh-white);
    font-size: 14px;
}

.swh-notice-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 8px 0;
}

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

.swh-notice-inner a:hover { text-decoration: underline; }

/* ── Hero ───────────────────────────────────────── */
.swh-hero {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 80% 20%, rgba(245, 124, 0, 0.10), transparent 50%),
        linear-gradient(180deg, var(--swh-white) 0%, var(--swh-cream) 100%);
    text-align: center;
}

.swh-hero-content {
    max-width: 720px;
    margin-inline: auto;
}

.swh-eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--swh-yellow-soft);
    color: var(--swh-charcoal);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.swh-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--swh-black);
}

.swh-lead {
    margin: 0 0 28px;
    font-size: clamp(16px, 2vw, 18px);
    color: var(--swh-gray);
    max-width: 58ch;
    margin-inline: auto;
}

.swh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.swh-fine-print {
    margin: 0;
    font-size: 13px;
    color: var(--swh-muted);
}

/* ── Buttons ────────────────────────────────────── */
.swh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.swh-btn:hover { transform: translateY(-1px); }

.swh-btn-primary {
    background: var(--swh-black);
    color: var(--swh-white);
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
}

.swh-btn-primary:hover { background: var(--swh-charcoal); color: var(--swh-white); }

.swh-btn-secondary {
    background: var(--swh-white);
    color: var(--swh-black);
    border: 2px solid var(--swh-border);
}

.swh-btn-secondary:hover { border-color: var(--swh-orange); color: var(--swh-black); }

/* ── Sections ───────────────────────────────────── */
.swh-section { padding: 56px 0; }

.swh-section-intro {
    max-width: 640px;
    margin-bottom: 28px;
}

.swh-section-intro h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.02em;
}

.swh-section-intro p {
    margin: 0;
    color: var(--swh-gray);
    font-size: 17px;
}

/* ── Benefits ───────────────────────────────────── */
.swh-benefits { background: var(--swh-white); }

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

.swh-benefit-card {
    background: var(--swh-cream);
    border: 1px solid var(--swh-border);
    border-radius: var(--swh-radius-md);
    padding: 24px 22px;
}

.swh-benefit-icon {
    display: block;
    font-size: 28px;
    margin-bottom: 12px;
}

.swh-benefit-card h3 { margin: 0 0 10px; font-size: 18px; }
.swh-benefit-card p { margin: 0; color: var(--swh-gray); font-size: 15px; }

/* ── Categories ─────────────────────────────────── */
.swh-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.swh-category-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--swh-white);
    border: 1px solid var(--swh-border);
    border-radius: var(--swh-radius-md);
    text-decoration: none;
    color: var(--swh-black);
    font-weight: 700;
    font-size: 16px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.swh-category-card:hover {
    border-color: var(--swh-orange);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.12);
    color: var(--swh-black);
}

.swh-category-card.is-wide {
    grid-column: 1 / -1;
    justify-content: center;
    background: var(--swh-yellow-soft);
    border-color: var(--swh-orange);
}

.swh-category-thumb {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--swh-yellow-soft);
}

.swh-category-label { flex: 1; font-size: 16px; }

.swh-category-count {
    font-size: 13px;
    color: var(--swh-muted);
    font-weight: 500;
    white-space: nowrap;
}

.swh-category-arrow {
    color: var(--swh-muted);
    font-size: 18px;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.swh-category-card:hover .swh-category-arrow { color: var(--swh-orange); }

/* ── Contact ────────────────────────────────────── */
.swh-contact {
    background: var(--swh-white);
    padding-bottom: 64px;
}

.swh-contact-inner {
    max-width: 680px;
}

.swh-contact-copy h2 {
    margin: 0 0 10px;
    font-size: clamp(24px, 3vw, 32px);
}

.swh-contact-copy > p {
    margin: 0 0 20px;
    color: var(--swh-gray);
    max-width: 56ch;
}

.swh-contact-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.swh-contact-list li { font-size: 16px; color: var(--swh-black); }

.swh-contact-list strong {
    display: inline-block;
    min-width: 72px;
    color: var(--swh-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.swh-contact-list a {
    color: var(--swh-black);
    font-weight: 600;
    text-decoration: none;
}

.swh-contact-list a:hover { text-decoration: underline; }

.swh-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ── Footer ─────────────────────────────────────── */
.swh-footer {
    background: var(--swh-black);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0;
    font-size: 14px;
}

.swh-footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.swh-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.swh-footer-brand strong {
    color: var(--swh-white);
    font-size: 16px;
}

.swh-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.swh-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
}

.swh-footer-links a:hover { color: var(--swh-orange); }

.swh-footer-copy {
    width: 100%;
    margin: 12px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ── Tablet ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .swh-benefits-grid { grid-template-columns: 1fr; }

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

/* ── Mobile ─────────────────────────────────────── */
@media (max-width: 700px) {
    .swh-container { width: calc(100% - 24px); }

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

    .swh-hero h1 { font-size: 26px; }

    .swh-hero-actions { flex-direction: column; }

    .swh-hero-actions .swh-btn,
    .swh-contact-actions .swh-btn { width: 100%; }

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

    .swh-category-card.is-wide { grid-column: auto; }

    .swh-notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

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

    .swh-footer-inner { flex-direction: column; align-items: flex-start; }

    .swh-footer-links { flex-direction: column; gap: 12px; }
}
