/*
Theme Name: Boutique de Santé
Theme URI: https://laboutiquedesante.com/
Author: Boutique de Santé
Description: Theme responsive para catálogo boutique con compra asistida por WhatsApp.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Text Domain: boutique-de-sante
*/

:root {
    --theme-teal: #008f95;
    --theme-teal-dark: #006b70;
    --theme-ink: #202124;
    --theme-muted: #697276;
    --theme-line: #e6ecec;
    --theme-cream: #fbf8f2;
    --theme-sage: #dfe9e3;
    --theme-blush: #f5ebe7;
    --theme-white: #ffffff;
    --theme-shadow: 0 18px 45px rgba(32, 33, 36, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    letter-spacing: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--theme-white);
    color: var(--theme-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.site-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(32, 33, 36, 0.08);
    backdrop-filter: blur(16px);
}

.site-topbar {
    background: var(--theme-teal-dark);
    color: var(--theme-white);
    font-size: 0.82rem;
}

.site-topbar .site-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 34px;
    gap: 18px;
}

.site-topbar a {
    color: var(--theme-white);
    font-weight: 800;
    text-decoration: none;
}

.site-nav-wrap {
    background: var(--theme-white);
}

.site-nav {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    min-height: 78px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
}

.site-logo img {
    width: 238px;
    max-height: 60px;
    object-fit: contain;
}

.bds-nav {
    justify-self: center;
}

.bds-nav__list {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bds-nav__list a {
    color: var(--theme-ink);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
}

.bds-nav__list a:hover {
    color: var(--theme-teal-dark);
}

.site-nav-cta,
.theme-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--theme-teal);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform 160ms ease, color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.site-nav-cta {
    padding: 0 18px;
    background: var(--theme-teal);
    color: var(--theme-white);
}

.theme-button {
    min-width: 164px;
    padding: 0 20px;
}

.theme-button--whatsapp,
.site-nav-cta.theme-button--whatsapp {
    gap: 8px;
}

.theme-whatsapp-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.site-nav-cta:hover,
.theme-button:hover {
    transform: translateY(-1px);
}

.theme-button--solid {
    background: var(--theme-teal);
    color: var(--theme-white);
}

.theme-button--light {
    background: rgba(255, 255, 255, 0.88);
    color: var(--theme-teal-dark);
}

.site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--theme-line);
    border-radius: 8px;
    background: var(--theme-white);
    padding: 10px;
}

.site-menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--theme-ink);
}

.home-hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 560px;
    overflow: hidden;
    background-position: center right;
    background-size: cover;
}

.home-hero__shade {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.68);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    padding: 72px 0 62px;
}

.home-kicker {
    display: inline-flex;
    color: var(--theme-teal-dark);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.home-hero h1 {
    max-width: 760px;
    margin: 10px 0 4px;
    color: var(--theme-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.25rem;
    line-height: 1;
}

.home-hero__statement {
    max-width: 650px;
    margin: 0 0 14px;
    color: var(--theme-teal-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    font-style: italic;
    line-height: 1.1;
}

.home-hero p:not(.home-hero__statement) {
    max-width: 590px;
    margin: 0;
    color: var(--theme-muted);
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 760px;
    margin-top: 34px;
}

.home-hero__trust span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(0, 143, 149, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--theme-ink);
    font-weight: 800;
}

.home-categories {
    border-top: 1px solid var(--theme-line);
    border-bottom: 1px solid var(--theme-line);
    background: var(--theme-white);
}

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

.home-category {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    min-height: 132px;
    padding: 18px;
    border-right: 1px solid var(--theme-line);
    color: var(--theme-ink);
    text-decoration: none;
}

.home-category:first-child {
    border-left: 1px solid var(--theme-line);
}

.home-category img {
    width: 92px;
    height: 92px;
    border-radius: 8px;
    background: #f8faf9;
    object-fit: contain;
    padding: 8px;
}

.home-category h2 {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    line-height: 1.1;
}

.home-category p {
    margin: 0;
    color: var(--theme-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.home-category:hover h2 {
    color: var(--theme-teal-dark);
}

.home-products {
    padding: 58px 0 70px;
    background: #fcfdfd;
}

.home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px 26px;
    margin-bottom: 24px;
}

.home-section-heading span {
    color: var(--theme-teal-dark);
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.home-section-heading h2 {
    grid-column: 1;
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.25rem;
    line-height: 1.1;
}

.home-section-heading a {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: var(--theme-teal-dark);
    font-weight: 850;
    text-decoration: none;
}

.home-service-band {
    background: var(--theme-teal-dark);
    color: var(--theme-white);
}

.home-service-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1.15fr) auto;
    align-items: center;
    gap: 30px;
    padding: 42px 0;
}

.home-service-grid .home-kicker {
    color: var(--theme-sage);
}

.home-service-grid h2 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1.12;
}

.home-service-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.75;
}

.home-feature-panel {
    background: var(--theme-cream);
    padding: 72px 0;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1.05fr);
    gap: 42px;
    align-items: center;
}

.home-feature-copy h2 {
    max-width: 620px;
    margin: 10px 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.55rem;
    line-height: 1.08;
}

.home-feature-copy p {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--theme-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.home-feature-benefits {
    display: grid;
    gap: 12px;
}

.home-feature-benefits div {
    display: grid;
    gap: 4px;
    padding: 20px;
    border: 1px solid rgba(0, 143, 149, 0.14);
    border-radius: 8px;
    background: var(--theme-white);
    box-shadow: 0 10px 30px rgba(32, 33, 36, 0.05);
}

.home-feature-benefits strong {
    color: var(--theme-ink);
    font-size: 1.05rem;
}

.home-feature-benefits span {
    color: var(--theme-muted);
}

.theme-plugin-notice,
.theme-entry {
    color: var(--theme-muted);
    line-height: 1.75;
}

.theme-page {
    padding: 58px 0 76px;
}

.theme-page__content {
    max-width: 900px;
}

.theme-page h1 {
    margin: 0 0 24px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    line-height: 1.08;
}

.theme-post-summary {
    padding: 24px 0;
    border-bottom: 1px solid var(--theme-line);
}

.theme-post-summary h1 {
    font-size: 2rem;
}

.theme-post-summary a {
    text-decoration: none;
}

.site-footer {
    background: var(--theme-ink);
    color: rgba(255, 255, 255, 0.82);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 44px;
    padding: 46px 0;
}

.site-footer__logo {
    width: 230px;
    max-height: 62px;
    object-fit: contain;
    background: var(--theme-white);
    border-radius: 8px;
    padding: 4px;
}

.site-footer h2 {
    margin: 0 0 12px;
    color: var(--theme-white);
    font-size: 1rem;
}

.site-footer p,
.site-footer address {
    margin: 12px 0 0;
    font-style: normal;
}

.site-footer a {
    color: var(--theme-white);
    text-decoration: none;
}

.site-footer__menu {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.site-footer__link {
    color: var(--theme-sage);
    font-weight: 850;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom .site-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 54px;
    font-size: 0.88rem;
}

.site-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.site-footer__credit a {
    font-weight: 850;
}

.site-footer__credit-blue {
    color: #2f8cff;
}

@media (max-width: 1080px) {
    .site-nav {
        grid-template-columns: 220px auto auto;
        gap: 18px;
    }

    .bds-nav__list {
        gap: 18px;
    }

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

    .home-category:nth-child(3) {
        border-left: 1px solid var(--theme-line);
    }

    .home-service-grid,
    .home-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .site-topbar .site-shell {
        justify-content: center;
        text-align: center;
    }

    .site-topbar span {
        display: none;
    }

    .site-nav {
        grid-template-columns: 1fr auto;
        min-height: 72px;
    }

    .site-logo img {
        width: 205px;
    }

    .site-menu-toggle {
        display: inline-block;
    }

    .bds-nav {
        display: none;
        grid-column: 1 / -1;
        justify-self: stretch;
        padding: 8px 0 18px;
    }

    .bds-nav.is-open {
        display: block;
    }

    .bds-nav__list {
        display: grid;
        gap: 0;
        border: 1px solid var(--theme-line);
        border-radius: 8px;
        background: var(--theme-white);
        overflow: hidden;
    }

    .bds-nav__list a {
        display: block;
        padding: 14px 16px;
        border-bottom: 1px solid var(--theme-line);
    }

    .bds-nav__list li:last-child a {
        border-bottom: 0;
    }

    .site-nav-cta {
        display: none;
    }

    .home-hero {
        min-height: 520px;
        background-position: center right 35%;
    }

    .home-hero__content {
        padding: 54px 0 48px;
    }

    .home-hero h1 {
        font-size: 3rem;
    }

    .home-hero__statement {
        font-size: 1.65rem;
    }

    .home-section-heading {
        display: block;
    }

    .home-section-heading a {
        display: inline-flex;
        margin-top: 8px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}

@media (max-width: 560px) {
    .site-shell {
        width: min(100% - 20px, 1180px);
    }

    .site-logo img {
        width: 184px;
    }

    .home-hero {
        min-height: 500px;
        background-position: center right 28%;
    }

    .home-hero__shade {
        background: rgba(255, 255, 255, 0.78);
    }

    .home-hero h1 {
        font-size: 2.45rem;
    }

    .home-hero__statement {
        font-size: 1.38rem;
    }

    .home-hero p:not(.home-hero__statement) {
        font-size: 0.98rem;
    }

    .home-hero__actions {
        display: grid;
    }

    .theme-button {
        width: 100%;
    }

    .home-hero__trust span {
        width: 100%;
    }

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

    .home-category,
    .home-category:first-child,
    .home-category:nth-child(3) {
        border-left: 1px solid var(--theme-line);
    }

    .home-products,
    .home-feature-panel {
        padding: 44px 0;
    }

    .home-service-grid {
        padding: 34px 0;
    }

    .home-service-grid h2,
    .home-feature-copy h2,
    .home-section-heading h2,
    .theme-page h1 {
        font-size: 2rem;
    }

    .site-footer__bottom .site-shell {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 12px 0;
    }
}
