/*
Theme Name: Sara Boutique
Theme URI: https://saraboutique.online
Author: Sara Boutique
Description: Tema propio de Sara Boutique integrado con WooCommerce.
Version: 0.2.1
Text Domain: saraboutique
*/

:root {
    --sara-bg: #fff0f5;
    --sara-white: #ffffff;
    --sara-text: #301d26;
    --sara-muted: #75616a;

    --sara-pink: #f48bae;
    --sara-pink-soft: #ffe0eb;
    --sara-pink-light: #fff5f8;
    --sara-accent: #f9c8d8;
    --sara-dark: #c20a47;

    --sara-border: #f2dfe6;
    --sara-radius: 18px;

    --sara-shadow:
        0 10px 40px -10px rgba(244,139,174,.28);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--sara-bg);
    color: var(--sara-text);
    font-family: "Poppins", Arial, sans-serif;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

.sara-container {
    width: min(1400px, calc(100% - 64px));
    margin: 0 auto;
}


/* ========================================
   BARRA SUPERIOR
======================================== */

.sara-topbar {
    background: var(--sara-pink);
    color: white;
    text-align: center;
    padding: 7px 15px;
    font-size: 12px;
    font-weight: 500;
}


/* ========================================
   HEADER
======================================== */

.sara-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255,245,248,.94);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--sara-border);
}

.sara-header-main {
    min-height: 78px;

    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;

    gap: 20px;
}

.sara-brand {
    justify-self: start;

    display: flex;
    align-items: center;
    gap: 12px;
}

.sara-brand-logo {
    width: 54px;
    height: 54px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--sara-pink),
            var(--sara-accent)
        );

    display: grid;
    place-items: center;

    color: white;

    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: bold;
}

.sara-brand-copy {
    line-height: 1.05;
}

.sara-brand-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

.sara-brand-sub {
    display: block;

    margin-top: 5px;

    font-size: 9px;
    font-weight: 500;

    text-transform: uppercase;
    letter-spacing: .22em;

    color: var(--sara-muted);
}

.sara-header-center {
    font-size: 13px;
    color: var(--sara-muted);
}

.sara-header-actions {
    justify-self: end;

    display: flex;
    align-items: center;

    gap: 10px;
}

.sara-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: white;
    border: 1px solid var(--sara-border);

    transition:
        transform .2s ease,
        background .2s ease;
}

.sara-icon:hover {
    transform: translateY(-2px);
    background: var(--sara-pink-soft);
}

.sara-icon svg {
    width: 20px;
    height: 20px;
}

.sara-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;

    min-width: 18px;
    height: 18px;

    padding: 0 4px;

    display: grid;
    place-items: center;

    border-radius: 999px;

    background: var(--sara-dark);
    color: white;

    font-size: 10px;
    font-weight: 700;
}


/* ========================================
   NAVEGACION
======================================== */

.sara-nav {
    border-top: 1px solid rgba(255,255,255,.8);
}

.sara-nav-list {
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

    margin: 0;
    padding: 11px 0;

    overflow-x: auto;

    scrollbar-width: none;
}

.sara-nav-list::-webkit-scrollbar {
    display: none;
}

.sara-nav-list a {
    white-space: nowrap;

    font-size: 13px;
    font-weight: 500;

    transition: color .2s ease;
}

.sara-nav-list a:hover {
    color: var(--sara-dark);
}


/* ========================================
   HERO
======================================== */

.sara-hero {
    position: relative;

    height: 80vh;
    min-height: 560px;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: white;

    background:
        linear-gradient(
            100deg,
            rgba(48,29,38,.72) 0%,
            rgba(48,29,38,.42) 43%,
            rgba(48,29,38,.08) 78%
        ),
        linear-gradient(
            135deg,
            #df6f9a,
            #f4a9c1 50%,
            #fbdbe6
        );
}

.sara-hero::before,
.sara-hero::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background: rgba(255,255,255,.10);
}

.sara-hero::before {
    width: 500px;
    height: 500px;

    right: -80px;
    top: -140px;
}

.sara-hero::after {
    width: 350px;
    height: 350px;

    right: 220px;
    bottom: -180px;
}

.sara-hero-content {
    position: relative;
    z-index: 2;

    max-width: 650px;
}

.sara-eyebrow {
    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .22em;
}

.sara-hero h1 {
    margin: 0 0 18px;

    max-width: 620px;

    font-family: Georgia, serif;

    font-size: clamp(52px, 7vw, 90px);
    font-weight: 400;
    line-height: .98;

    letter-spacing: -.04em;
}

.sara-hero p {
    max-width: 520px;

    margin: 0 0 28px;

    font-size: 17px;
}


/* ========================================
   BOTONES
======================================== */

.sara-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 27px;

    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.sara-btn:hover {
    transform: translateY(-2px);
}

.sara-btn-light {
    background: white;
    color: var(--sara-text);

    box-shadow: 0 12px 28px rgba(0,0,0,.14);
}

.sara-btn-pink {
    background: var(--sara-pink);
    color: white;

    box-shadow: var(--sara-shadow);
}


/* ========================================
   SECCIONES
======================================== */

.sara-section {
    padding: 82px 0;
}

.sara-section-alt {
    background: var(--sara-pink-light);
}

.sara-section-title {
    text-align: center;

    margin-bottom: 42px;
}

.sara-section-title h2 {
    margin: 0;

    color: var(--sara-dark);

    font-family: Georgia, serif;

    font-size: clamp(36px, 5vw, 55px);
    font-weight: 400;
    line-height: 1;
}

.sara-section-title p {
    margin: 12px 0 0;

    color: var(--sara-muted);

    font-size: 13px;
}


/* ========================================
   PRODUCTOS
======================================== */

.sara-products {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 24px;
}

.sara-product {
    overflow: hidden;

    background: white;

    border-radius: var(--sara-radius);

    box-shadow: var(--sara-shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.sara-product:hover {
    transform: translateY(-5px);

    box-shadow:
        0 18px 45px
        rgba(125,44,75,.14);
}

.sara-product-image {
    position: relative;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #f5eff1;
}

.sara-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.sara-product:hover .sara-product-image img {
    transform: scale(1.04);
}

.sara-product-body {
    position: relative;

    padding: 16px 18px 19px;
}

.sara-product-name {
    min-height: 44px;

    padding-right: 42px;

    font-size: 14px;
    font-weight: 600;
}

.sara-product-price {
    margin-top: 8px;

    color: var(--sara-dark);

    font-size: 19px;
    font-weight: 700;
}

.sara-product-price ins {
    text-decoration: none;
}

.sara-product-price del {
    margin-right: 5px;

    color: var(--sara-muted);

    font-size: 12px;
    font-weight: 400;
}

.sara-product-arrow {
    position: absolute;

    right: 16px;
    bottom: 17px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--sara-pink-soft);
    color: var(--sara-dark);
}


/* ========================================
   COLABORA
======================================== */

.sara-business {
    min-height: 390px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            95deg,
            rgba(255,235,241,.98),
            rgba(255,235,241,.72)
        ),
        linear-gradient(
            135deg,
            #f9c8d8,
            #f48bae
        );
}

.sara-business-copy {
    max-width: 640px;

    padding: 55px;
}

.sara-business h2 {
    margin: 5px 0 18px;

    color: var(--sara-dark);

    font-family: Georgia, serif;

    font-size: clamp(36px, 5vw, 54px);
    font-weight: 400;

    line-height: 1.03;
}


/* ========================================
   BONOS
======================================== */

.sara-gifts {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    overflow: hidden;

    border-radius: 28px;

    box-shadow: var(--sara-shadow);
}

.sara-gifts-copy {
    padding: 58px;

    background: var(--sara-pink-soft);
}

.sara-gifts-copy h2 {
    margin: 8px 0 15px;

    color: var(--sara-dark);

    font-family: Georgia, serif;

    font-size: 48px;
    font-weight: 400;
}

.sara-gifts-value {
    padding: 58px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #ef8caf,
            #c20a47
        );

    color: white;
}

.sara-gifts-value strong {
    display: block;

    margin: 5px 0;

    font-family: Georgia, serif;

    font-size: clamp(42px, 6vw, 64px);
    font-weight: 400;
}


/* ========================================
   FINANCIACION
======================================== */

.sara-finance-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.sara-finance-card {
    padding: 38px;

    text-align: center;

    background: white;

    border-radius: 24px;

    box-shadow: var(--sara-shadow);
}

.sara-finance-logo {
    width: 82px;
    height: 82px;

    margin: 0 auto 18px;

    display: grid;
    place-items: center;

    background: var(--sara-pink-soft);

    border-radius: 50%;

    color: var(--sara-dark);

    font-size: 24px;
    font-weight: 800;
}

.sara-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 12px;

    margin-top: 30px;
}

.sara-payment {
    padding: 10px 18px;

    background: white;

    border: 1px solid var(--sara-border);
    border-radius: 999px;

    font-size: 13px;
    font-weight: 600;
}


/* ========================================
   FOOTER
======================================== */

.sara-footer {
    background: var(--sara-pink-soft);

    border-top: 1px solid var(--sara-border);
}

.sara-footer-grid {
    padding: 58px 0 45px;

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap: 45px;
}

.sara-footer h3,
.sara-footer h4 {
    margin-top: 0;

    color: var(--sara-dark);
}

.sara-footer ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.sara-footer li {
    margin-bottom: 8px;

    font-size: 13px;
}

.sara-footer p {
    color: var(--sara-muted);

    font-size: 13px;
}

.sara-footer-bottom {
    padding: 18px;

    text-align: center;

    border-top: 1px solid var(--sara-border);

    color: var(--sara-muted);

    font-size: 11px;
}


/* ========================================
   WOOCOMMERCE
======================================== */

.woocommerce .woocommerce-breadcrumb {
    color: var(--sara-muted);
}

.woocommerce ul.products li.product {
    background: white;

    padding: 12px;

    border-radius: 18px;

    box-shadow: var(--sara-shadow);
}

.woocommerce ul.products li.product img {
    border-radius: 12px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background: var(--sara-pink) !important;
    color: white !important;

    border-radius: 999px !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--sara-dark) !important;
}


/* ========================================
   RESPONSIVE
======================================== */

.sara-menu-mobile {
    display: none;
}

@media (max-width: 1000px) {

    .sara-container {
        width: min(100% - 36px, 1400px);
    }

    .sara-header-center {
        display: none;
    }

    .sara-header-main {
        grid-template-columns: auto 1fr auto;
    }

    .sara-menu-mobile {
        display: grid;
        place-items: center;
    }

    .sara-nav {
        display: none;
    }

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

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

@media (max-width: 620px) {

    .sara-container {
        width: calc(100% - 22px);
    }

    .sara-topbar {
        font-size: 10px;
    }

    .sara-header-main {
        min-height: 66px;
    }

    .sara-brand-logo {
        width: 42px;
        height: 42px;

        font-size: 22px;
    }

    .sara-brand-name {
        font-size: 16px;
    }

    .sara-brand-sub {
        display: none;
    }

    .sara-icon {
        width: 38px;
        height: 38px;
    }

    .sara-hero {
        height: 60vh;
        min-height: 440px;
    }

    .sara-hero h1 {
        font-size: 48px;
    }

    .sara-hero p {
        font-size: 14px;
    }

    .sara-section {
        padding: 55px 0;
    }

    .sara-products {
        gap: 12px;
    }

    .sara-product-body {
        padding: 12px;
    }

    .sara-product-name {
        min-height: 39px;

        padding-right: 0;

        font-size: 12px;
    }

    .sara-product-price {
        font-size: 16px;
    }

    .sara-product-arrow {
        display: none;
    }

    .sara-business-copy {
        padding: 34px 24px;
    }

    .sara-gifts {
        grid-template-columns: 1fr;
    }

    .sara-gifts-copy,
    .sara-gifts-value {
        padding: 36px 25px;
    }

    .sara-finance-grid {
        grid-template-columns: 1fr;
    }

    .sara-footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 28px 16px;
    }
}
