:root {
    --sage: #A8BFA8;
    --sage-dark: #627D68;
    --sage-light: #EEF3EA;
    --cream: #FBF5EF;
    --paper: #FFFEFC;
    --ink: #39443B;
    --muted: #7D857C;
    --line: #EAE6DF;
    --rose: #F3DADA;
    --rose-dark: #D9A7AE;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "DM Sans", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
}

.announcement {
    background: #829A83;
    color: #fff;
    text-align: center;
    padding: 9px 12px;
    font-size: 11px;
    letter-spacing: .09em;
}

.site-nav {
    background: rgba(255, 254, 250, .96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 223, .8);
    padding: 15px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1;
}

.brand:hover {
    color: var(--sage-dark);
}

.brand-mark {
    font-size: 34px;
    color: var(--sage);
}

.brand strong {
    font-weight: 700;
}

.brand small {
    display: block;
    font: 600 8px var(--sans);
    letter-spacing: .22em;
    color: var(--sage);
    margin-top: 6px;
}

.nav-link {
    color: #465248 !important;
    font-size: 13px;
    font-weight: 600;
}

.nav-link:hover {
    color: var(--sage) !important;
}

.btn-cart {
    border: 1px solid #d9e0d6;
    border-radius: 30px;
    padding: 10px 16px;
    color: var(--sage-dark);
    font-size: 13px;
    font-weight: 700;
}

.btn-cart:hover {
    background: var(--sage-light);
}

.cart-count {
    display: inline-grid;
    place-items: center;
    background: var(--rose);
    color: #694D4D;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    margin-left: 6px;
    font-size: 11px;
}

.hero {
    padding: 75px 0 82px;
    background: linear-gradient(110deg, #FBF7F2 0%, #F0F4EC 100%);
    overflow: hidden;
}

.hero-copy {
    padding: 20px 18px 20px 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .19em;
    color: var(--sage-dark);
    margin-bottom: 20px;
}

.eyebrow > span {
    display: inline-block;
    width: 23px;
    height: 1px;
    background: var(--sage);
}

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(42px, 5.2vw, 68px);
    line-height: 1.12;
    margin: 0 0 22px;
}

h1 em,
h2 em,
.quote-section em {
    font-weight: 500;
    color: var(--sage-dark);
    font-style: italic;
}

.hero-copy > p,
.about-copy > p,
.contact-section .col-lg-5 > p {
    color: var(--muted);
    line-height: 1.9;
    max-width: 500px;
    font-size: 14px;
    margin-bottom: 27px;
}

.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 3px;
    padding: 14px 21px;
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
}

.btn-primary-custom {
    background: var(--sage-dark);
    border: 1px solid var(--sage-dark);
    color: #fff;
}

.btn-primary-custom:hover {
    background: #506B56;
    border-color: #506B56;
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: transparent;
    border: 1px solid #D8E1D5;
    color: var(--sage-dark);
}

.btn-outline-custom:hover {
    background: var(--sage-light);
    color: var(--sage-dark);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 37px;
    color: var(--muted);
    font-size: 11px;
}

.note-icon {
    font-size: 21px;
    color: var(--rose-dark);
    background: var(--rose);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.hero-image-wrap {
    position: relative;
    padding: 0 18px 18px 0;
}

.hero-image-wrap::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 70%;
    height: 74%;
    border: 1px solid #D2DED0;
    z-index: 0;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 490px;
    object-fit: cover;
    object-position: center;
    border-radius: 2px;
}

.image-caption {
    position: absolute;
    z-index: 2;
    bottom: 37px;
    left: -16px;
    background: var(--paper);
    padding: 15px 22px;
    box-shadow: 0 8px 30px #263A2810;
}

.image-caption span,
.image-caption small {
    display: block;
}

.image-caption span {
    font-family: var(--serif);
    font-size: 17px;
}

.image-caption small {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}

.floating-stamp {
    position: absolute;
    z-index: 2;
    right: -2px;
    top: 25px;
    width: 88px;
    height: 88px;
    display: grid;
    place-content: center;
    text-align: center;
    background: var(--rose);
    color: #694D4D;
    border: 1px solid #E8C5C8;
    border-radius: 50%;
    font-size: 10px;
    letter-spacing: .12em;
    line-height: 1.7;
    transform: rotate(8deg);
}

.floating-stamp span {
    font-size: 18px;
}

.benefits {
    border-bottom: 1px solid var(--line);
    padding: 24px 0;
    background: var(--paper);
}

.benefit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 48px;
}

.benefit > span {
    color: var(--sage-dark);
    font-size: 25px;
}

.benefit strong,
.benefit small {
    display: block;
}

.benefit strong {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 600;
}

.benefit small {
    font-size: 11px;
    color: var(--muted);
    margin-top: 3px;
}

.section-pad {
    padding: 88px 0;
}

.catalog-section {
    background: var(--paper);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.section-heading h2,
.about-copy h2,
.contact-section h2 {
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.2;
    margin: 0 0 13px;
}

.section-heading p {
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.section-heading code {
    color: var(--sage-dark);
    background: var(--sage-light);
    padding: 2px 5px;
}

.text-link {
    white-space: nowrap;
    color: var(--sage-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #D1DCCF;
    padding-bottom: 7px;
}

.text-link span {
    margin-left: 8px;
}

.catalog-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--muted);
    border-radius: 30px;
    padding: 9px 15px;
    font-size: 11px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--sage-dark);
    border-color: var(--sage-dark);
    color: #fff;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #D8E1D5;
    padding: 7px 0;
    min-width: 190px;
    color: var(--sage-dark);
}

.search-box span {
    font-size: 24px;
}

.search-box input {
    border: 0;
    outline: 0;
    background: transparent;
    width: 100%;
    font: 12px var(--sans);
    color: var(--ink);
}

.product-card {
    height: 100%;
    position: relative;
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    background: var(--cream);
    aspect-ratio: 4 / 4.5;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s;
}

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

.product-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    background: var(--rose);
    color: #694D4D;
    font-size: 9px;
    letter-spacing: .06em;
    padding: 7px 9px;
    text-transform: uppercase;
    border-radius: 2px;
}

.product-info {
    padding: 17px 2px 4px;
}

.product-category {
    color: var(--sage-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.product-title {
    font-family: var(--serif);
    font-size: 19px;
    margin: 7px 0 6px;
}

.product-description {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    min-height: 35px;
    margin-bottom: 12px;
}

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

.product-price {
    font-weight: 700;
    font-size: 15px;
}

.add-btn {
    border: 1px solid #D8E1D5;
    background: transparent;
    color: var(--sage-dark);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
}

.add-btn:hover {
    background: var(--sage-dark);
    color: #fff;
}

.add-btn:focus-visible,
.filter-btn:focus-visible,
.btn:focus-visible {
    outline: 3px solid var(--rose-dark);
    outline-offset: 3px;
}

.empty-message {
    text-align: center;
    padding: 30px;
    color: var(--muted);
}

.about-section {
    background: var(--cream);
}

.about-image {
    position: relative;
    padding: 0 18px 18px 0;
}

.about-image::after {
    content: "";
    position: absolute;
    z-index: 0;
    left: 18px;
    bottom: 0;
    width: 70%;
    height: 70%;
    border: 1px solid #D2DED0;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-copy {
    padding-left: 35px;
}

.about-copy > p {
    max-width: 530px;
    margin: 18px 0;
}

.about-copy .btn {
    margin-top: 10px;
}

.quote-section {
    padding: 63px 0;
    background: linear-gradient(120deg, var(--sage-light), #F9EAEA);
}

.quote-flower {
    font-size: 27px;
    color: var(--rose-dark);
}

.quote-section p {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.4;
    margin: 14px 0;
}

.quote-line {
    display: block;
    width: 42px;
    height: 1px;
    background: var(--sage-dark);
    margin: 23px auto 0;
}

.contact-section {
    background: var(--paper);
}

.contact-section .col-lg-5 > p {
    margin: 20px 0 25px;
}

.contact-card {
    border-left: 1px solid var(--line);
    padding-left: 50px;
}

.contact-row {
    display: flex;
    gap: 17px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
    border-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--rose);
    border-radius: 50%;
    color: #694D4D;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-row small,
.contact-row strong,
.contact-row p {
    display: block;
}

.contact-row small {
    color: var(--sage-dark);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    margin: 2px 0 6px;
}

.contact-row strong {
    font-family: var(--serif);
    font-size: 17px;
}

.contact-row p {
    font-size: 11px;
    color: var(--muted);
    margin: 5px 0 0;
}

.footer {
    background: #758D78;
    color: #FDFCF8;
    padding: 25px 0;
    font-size: 11px;
}

.footer-brand {
    color: #fff;
    text-decoration: none;
    font-family: var(--serif);
    font-size: 17px;
}

.footer-brand:hover {
    color: var(--rose);
}

.footer small {
    color: #E4EDE2;
}

.cart-panel {
    width: min(100%, 470px) !important;
    background: var(--paper);
}

.cart-panel .offcanvas-header {
    padding: 28px 25px 10px;
    align-items: flex-start;
}

.cart-panel h2 {
    font-size: 30px;
    margin: 0;
}

.cart-panel .offcanvas-body {
    padding: 15px 25px 30px;
}

.cart-empty {
    text-align: center;
    padding: 70px 10px;
}

.cart-empty > span {
    font-size: 36px;
    color: var(--rose-dark);
}

.cart-empty h3 {
    font-size: 24px;
    margin: 14px 0 7px;
}

.cart-empty p {
    font-size: 12px;
    color: var(--muted);
}

.cart-item {
    display: grid;
    grid-template-columns: 68px 1fr auto;
    gap: 13px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.cart-item img {
    width: 68px;
    height: 78px;
    object-fit: cover;
}

.cart-item h3 {
    font-size: 15px;
    margin: 0 0 5px;
}

.cart-item .item-price {
    font-size: 12px;
    color: var(--muted);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.quantity-controls button {
    border: 1px solid var(--line);
    background: #fff;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    color: var(--sage-dark);
}

.remove-item {
    border: 0;
    background: transparent;
    color: #9b6d68;
    font-size: 11px;
    padding: 5px;
}

.cart-summary {
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 20px;
}

.cart-summary > div {
    font-size: 14px;
}

.cart-summary > p {
    font-size: 11px;
    line-height: 1.6;
    color: var(--muted);
    margin: 12px 0 18px;
}

.cart-summary .form-label {
    font-size: 12px;
    font-weight: 600;
}

.cart-summary textarea {
    font-size: 12px;
    border-color: var(--line);
    border-radius: 3px;
}

.toast-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    background: var(--sage-dark);
    color: #fff;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 1100;
    transition: .25s;
    max-width: 90%;
    text-align: center;
}

.toast-message.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Adaptación para celulares y pantallas pequeñas */
@media (max-width: 767px) {
    .hero {
        padding: 45px 0 55px;
    }

    .hero-copy {
        padding-right: 0;
    }

    .hero-image {
        height: 360px;
    }

    .hero-image-wrap {
        margin: 5px 4px 0 12px;
    }

    .image-caption {
        left: -10px;
        bottom: 30px;
    }

    .floating-stamp {
        right: -6px;
    }

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

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .catalog-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box {
        min-width: 0;
        width: 100%;
    }

    .about-image img {
        height: 350px;
    }

    .about-copy {
        padding-left: 12px;
    }

    .contact-card {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding: 20px 12px 0;
    }

    .benefit {
        justify-content: flex-start;
        padding-left: 12px;
    }

    .product-title {
        font-size: 17px;
    }

    .product-description {
        min-height: 0;
    }

    .footer {
        text-align: center;
    }

    .footer .container {
        gap: 10px !important;
    }
}

/* Respeta la preferencia del usuario por menos animaciones */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
/* Logo de la barra de navegación */
.brand-logo {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Logo más pequeño en celulares */
@media (max-width: 767px) {
    .brand-logo {
        width: 44px;
        height: 44px;
    }
}