/*
Theme Name: Scuba Armory Astra Child
Template: astra
Version: 1.0.9
Description: Child theme for the Scuba Armory corrective mask MVP storefront.
*/

.sa-mvp-hero,
.sa-mvp-section,
.sa-mvp-product-block {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 1.25rem;
}

.sa-mvp-hero {
    display: grid;
    gap: 1.5rem;
    background: linear-gradient(135deg, #0b1f35, #0f766e);
    color: #fff;
    border-radius: 18px;
    margin-top: 2rem;
}

.sa-mvp-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.sa-mvp-card {
    background: #fff;
    border: 1px solid #d8dee7;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.single-product .sa-mvp-product-shell {
    display: grid;
    gap: 1.5rem;
}

.single-product .sa-mvp-product-block {
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.logged-out.woocommerce-account .main-header-bar-navigation,
.logged-out.woocommerce-account .main-navigation,
.logged-out.woocommerce-account .main-header-menu,
.logged-out.woocommerce-account .ast-builder-menu,
.logged-out.woocommerce-account .ast-builder-menu-1,
.logged-out.woocommerce-account .ast-builder-layout-element[data-section*="menu"],
.logged-out.woocommerce-account .ast-mobile-menu-buttons {
    display: none !important;
}

.sa-shop-categories {
    margin: 0 0 1.75rem;
    padding: 1rem;
    border: 1px solid #dfe6ee;
    border-radius: 12px;
    background: #f8fafc;
}

.sa-shop-categories__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.sa-shop-categories__all {
    font-size: 0.9rem;
    color: #1f4f82;
}

.sa-shop-categories__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
}

.sa-shop-categories__item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #d5dde7;
    border-radius: 8px;
    background: #fff;
}

.sa-shop-categories__item.is-current a {
    border-color: #1f4f82;
    background: #eef4fb;
}

.sa-shop-categories__name {
    font-weight: 600;
}

.sa-shop-categories__count {
    font-size: 0.85rem;
    color: #4a627c;
}

.sa-shop-categories__chips {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sa-shop-categories__chips a {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border: 1px solid #cfd8e3;
    border-radius: 999px;
    background: #fff;
    font-size: 0.85rem;
}

.sa-shop-categories__chips li.is-current a {
    border-color: #1f4f82;
    background: #eef4fb;
    font-weight: 600;
}

/* Front page: commerce hero (replaces blog index on home) */
.sa-home-front {
    width: 100%;
}

.sa-home-hero {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    max-width: 100vw;
    min-height: min(72vh, 640px);
    display: flex;
    align-items: stretch;
    background-color: #0c4a6e;
    background-image: var(--sa-home-hero-bg);
    background-size: cover;
    /* Wide reef + blue water — keep open water on the left for headline legibility */
    background-position: center center;
}

.sa-home-hero__overlay {
    position: absolute;
    inset: 0;
    /* Lighter scrim overall; extra bright wash on the right (reef) — left stays readable for copy */
    background:
        linear-gradient(
            105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.1) 52%,
            rgba(255, 255, 255, 0.16) 100%
        ),
        linear-gradient(
            105deg,
            rgba(4, 24, 38, 0.68) 0%,
            rgba(4, 24, 38, 0.3) 44%,
            rgba(4, 24, 38, 0.07) 100%
        );
}

.sa-home-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

/* Frosted panel so copy stays readable over busy reef; Astra often forces dark h1 color globally */
.sa-home-hero__copy {
    max-width: 38rem;
    padding: 1.35rem 1.5rem;
    border-radius: 14px;
    background: rgba(4, 24, 38, 0.72);
    box-shadow: 0 12px 40px rgba(2, 12, 22, 0.35);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@supports (backdrop-filter: blur(8px)) {
    .sa-home-hero__copy {
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.sa-home-hero .sa-home-hero__eyebrow {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #99f6e4 !important;
    font-weight: 600;
}

.sa-home-hero .sa-home-hero__title,
.sa-home-hero h1.sa-home-hero__title {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    line-height: 1.12;
    font-weight: 700;
    text-wrap: balance;
    color: #ffffff !important;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 24px rgba(4, 24, 38, 0.6);
}

.sa-home-hero .sa-home-hero__lede {
    margin: 0;
    max-width: 38ch;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
    color: #f1f5f9 !important;
}

.sa-home-hero__actions {
    margin-top: 0.5rem;
}

a.sa-home-hero__cta.button {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 999px;
    background: #14b8a6;
    border: none;
    color: #042f2e !important;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(20, 184, 166, 0.35);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

a.sa-home-hero__cta.button:hover,
a.sa-home-hero__cta.button:focus {
    background: #2dd4bf;
    color: #042f2e !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(45, 212, 191, 0.45);
}

.sa-home-static-content {
    padding: 2.5rem 1.25rem 3rem;
}

.sa-home-static-content__inner {
    max-width: 900px;
    margin: 0 auto;
}

