* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --cream: #f7f1e7;
    --taupe: #918978;
    --taupe-dark: #403f35;
    --text: #2f2b25;
    --muted: #8b8375;
    --border: #e7ddcf;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: Georgia, "Times New Roman", serif;
    background: var(--white);
    color: var(--text);
}

body.modal-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 90px;
    background: var(--taupe-dark);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 56px;
    z-index: 100;
}

.menu-button {
    width: 42px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-button span {
    display: block;
    height: 4px;
    margin: 7px 0;
    background: var(--white);
    border-radius: 999px;
}

/* Side menu */

.side-menu {
    position: fixed;
    top: 0;
    left: 90px;
    width: min(360px, calc(100vw - 90px));
    height: 100vh;
    background: var(--white);
    z-index: 99;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    box-shadow: 18px 0 40px rgba(47, 43, 37, 0.16);
}

.side-menu.active {
    transform: translateX(0);
}

.side-menu-close {
    align-self: flex-end;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--taupe-dark);
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
}

.side-menu-logo img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    margin-bottom: 12px;
}

.side-menu a:not(.side-menu-logo) {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    padding: 8px 0;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(47, 43, 37, 0.45);
    z-index: 80;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Layout */

.header,
.divider-bar,
main,
.footer {
    margin-left: 90px;
}

.header {
    height: 180px;
    padding: 28px 56px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.nav {
    display: flex;
    gap: 54px;
    font-size: 22px;
    font-weight: 700;
}

.divider-bar {
    height: 56px;
    background: var(--taupe);
}

/* Hero */

.hero {
    margin-left: 90px;
    min-height: 430px;
    padding: 70px;
    background: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 40px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.08;
    margin-bottom: 24px;
}

.hero-line,
.section-line {
    width: 64px;
    height: 2px;
    background: var(--taupe);
    margin-bottom: 24px;
}

.hero p {
    font-size: 21px;
    line-height: 1.45;
    margin-bottom: 28px;
}

.hero-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
}

/* Buttons */

.btn-primary,
.load-more-btn,
.category-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 999px;
    background: var(--taupe);
    color: var(--white);
    padding: 15px 28px;
    font-family: inherit;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
}

/* Sections */

.section {
    padding: 42px 58px;
    text-align: center;
}

.section h2,
.order-section h2 {
    font-size: 36px;
    margin-bottom: 8px;
}

.section-line {
    margin: 0 auto 30px;
}

/* Categories */

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 34px;
    max-width: 1160px;
    margin: 0 auto;
}

.category-card {
    height: 270px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(64, 63, 53, 0.34);
}

.category-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 24px;
    color: var(--white);
}

.category-overlay h3 {
    font-size: 44px;
}

/* Products */

.products-section {
    padding-top: 28px;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 18px 0 28px;
}

.filter-btn {
    min-width: 105px;
    padding: 10px 22px;
    border: 1px solid var(--taupe);
    border-radius: 999px;
    background: var(--white);
    font-family: inherit;
    cursor: pointer;
}

.filter-btn.active {
    background: var(--taupe-dark);
    color: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.product-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    padding-bottom: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(47, 43, 37, 0.12);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product-card:hover img {
    transform: scale(1.04);
}

.product-card[data-category="crochet"]::before {
    content: "A pedido";
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: rgba(64, 63, 53, 0.88);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.product-card h3 {
    font-size: 18px;
    margin: 14px 8px 16px;
}

.product-open-btn {
    border: none;
    background: transparent;
    color: var(--taupe-dark);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.load-more-btn {
    margin-top: 28px;
    background: #e5d8c6;
    color: var(--text);
}

/* Order */

.order-section {
    margin-left: 90px;
    padding: 34px 70px 54px;
    text-align: center;
    background: var(--cream);
}

.steps {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.step {
    padding: 20px;
    border-right: 1px solid var(--border);
}

.step:last-child {
    border-right: none;
}

.step-number {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: var(--taupe-dark);
    color: var(--white);
    font-weight: 700;
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    font-size: 15px;
    line-height: 1.4;
}

/* Footer */

.footer {
    padding: 42px 58px;
    background: var(--taupe);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 48px;
}

.footer h3 {
    margin-bottom: 14px;
}

.footer p {
    line-height: 1.5;
}

/* WhatsApp Glow Button */

.whatsapp-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--taupe-dark);
    color: var(--white);
    font-size: 30px;
    z-index: 60;
    box-shadow: 0 12px 28px rgba(47, 43, 37, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    animation: glowPulse 4s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 34px rgba(47, 43, 37, 0.3);
    background: var(--taupe);
}

@keyframes glowPulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.06);
    }
}

/* Product modal */

.product-modal {
    position: fixed;
    inset: 0;
    background: rgba(47, 43, 37, 0.55);
    backdrop-filter: blur(6px);
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.product-modal.active {
    display: flex;
}

.modal-content {
    width: min(920px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: var(--white);
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(47, 43, 37, 0.28);
    animation: modalIn 0.2s ease;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: var(--taupe-dark);
    color: var(--white);
    font-size: 26px;
    cursor: pointer;
    z-index: 2;
}

#modalImage {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    cursor: pointer;
}

.modal-info {
    padding: 46px 42px 54px;
}

.modal-info > * {
    animation: modalDetailIn 0.35s ease both;
}

.modal-category {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--taupe);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-info h2 {
    font-size: 36px;
    margin-bottom: 22px;
}

.modal-info p {
    line-height: 1.55;
}

.modal-detail {
    margin-top: 24px;
    display: grid;
    gap: 4px;
}

.modal-note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 28px 0 24px;
    padding: 18px 20px;
    background: var(--cream);
    border-left: 4px solid var(--taupe);
    border-radius: 0 10px 10px 0;
}

.modal-note::before {
    content: "";
    flex-shrink: 0;
}

#modalWhatsapp {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
    box-shadow: 0 12px 28px rgba(47, 43, 37, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#modalWhatsapp:hover {
    transform: translateY(-2px);
    background: var(--taupe-dark);
    box-shadow: 0 16px 34px rgba(47, 43, 37, 0.26);
}

/* Animations */

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalDetailIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */

@media (max-width: 900px) {
    .sidebar {
        width: 56px;
        height: 56px;
        min-height: 56px;
        top: 14px;
        left: 14px;
        bottom: auto;
        border-radius: 50%;
        padding: 0;
        align-items: center;
        z-index: 130;
    }

    .menu-button {
        width: 30px;
    }

    .menu-button span {
        height: 3px;
        margin: 5px 0;
    }

    .header,
    .divider-bar,
    main,
    .footer,
    .hero,
    .order-section {
        margin-left: 0;
    }

    .side-menu {
        left: 0;
        width: min(320px, 88vw);
    }

    .header {
        height: 130px;
        padding: 20px;
    }

    .brand img {
        width: 92px;
        height: 92px;
    }

    .nav {
        display: none;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 42px 24px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .category-grid,
    .footer {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-section {
        padding: 42px 24px 70px;
        overflow: hidden;
    }

    .steps {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .step {
        width: 100%;
        max-width: 260px;
        text-align: center;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 28px 0;
    }

    .step:last-child {
        border-bottom: none;
    }

    .step h3 {
        font-size: 22px;
    }

    .step p {
        font-size: 16px;
    }

    .modal-content {
        grid-template-columns: 1fr;
    }

    #modalImage {
        min-height: 320px;
    }

    .modal-info {
        padding: 34px 24px;
    }

    .whatsapp-button {
        right: 18px;
        bottom: 18px;
    }
}/* Image lightbox */

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(47, 43, 37, 0.78);
    backdrop-filter: blur(8px);
}

.image-lightbox.active {
    display: flex;
}

#lightboxImage {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    animation: lightboxIn 0.2s ease;
}

.lightbox-close {
    position: fixed;
    top: 22px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--taupe-dark);
    font-size: 28px;
    cursor: pointer;
    z-index: 301;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}/* Trust section */

.trust-section {
    padding: 52px 58px 62px;
    margin-left: 90px;
    background: var(--cream);
    text-align: center;
}

.trust-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.trust-grid {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.trust-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trust-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(47, 43, 37, 0.1);
}

.trust-card span {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 14px;
}

.trust-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.trust-card p {
    color: var(--muted);
    line-height: 1.45;
}

@media (max-width: 900px) {
    .trust-section {
        margin-left: 0;
        padding: 46px 24px 56px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}/* Glow v0.9 — Final polish */

.hero-image {
    overflow: hidden;
}

.hero-image img {
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

.category-card {
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(47, 43, 37, 0.14);
}

.category-card img {
    transition: transform 0.45s ease;
}

.category-card:hover img {
    transform: scale(1.04);
}

.side-menu {
    opacity: 0;
}

.side-menu.active {
    opacity: 1;
}

.footer {
    align-items: start;
}

.footer small {
    display: block;
    margin-top: 22px;
    opacity: 0.85;
    line-height: 1.5;
}.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title p{
    color:#a59684;
    letter-spacing:3px;
    font-size:.8rem;
    font-weight:600;
    margin-bottom:12px;
}

.section-title h2{
    font-size:2.4rem;
    color:#3d382f;
}

.categoria-titulo{
    font-size:2rem;
    color:#3d382f;
    margin:70px 0 35px;
    font-family:'Playfair Display', serif;
    border-left:5px solid #a59684;
    padding-left:18px;
}
/* Fix mobile real devices */

@media (max-width: 600px) {
    .hero {
        padding: 36px 18px;
        gap: 26px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero p {
        font-size: 17px;
    }

    .category-grid,
    .category-grid-four {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .category-card {
        height: 230px;
    }

    .category-overlay h3 {
        font-size: 34px;
        text-align: center;
        padding: 0 14px;
    }

    .filters {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0 10px;
    }

    .filter-btn {
        min-width: auto;
        font-size: 13px;
        padding: 9px 14px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .section {
        padding: 38px 18px;
    }

    .section h2,
    .trust-section h2,
    .order-section h2 {
        font-size: 30px;
    }

    .modal-content {
        width: 100%;
        max-height: 92vh;
    }

    #modalImage {
        min-height: 260px;
        max-height: 320px;
    }

    .modal-info h2 {
        font-size: 30px;
    }

    .footer {
        padding: 34px 24px 80px;
    }
}/* Fix logo + menu en celulares */

@media (max-width: 600px) {
    .header {
        justify-content: center;
        height: 120px;
        padding: 18px 20px;
    }

    .brand {
        margin: 0 auto;
    }

    .brand img {
        width: 86px;
        height: 86px;
        object-fit: cover;
    }

    .sidebar {
        top: 18px;
        left: 18px;
        width: 52px;
        height: 52px;
    }

    .divider-bar {
        height: 44px;
    }
}/* Modal gallery */

.modal-gallery {
    position: relative;
    min-height: 520px;
    background: var(--cream);
}

.modal-gallery img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    cursor: pointer;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(64, 63, 53, 0.75);
    color: var(--white);
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.gallery-prev {
    left: 14px;
}

.gallery-next {
    right: 14px;
}

.gallery-counter {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    background: rgba(64, 63, 53, 0.78);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    z-index: 3;
}

.gallery-arrow.hidden,
.gallery-counter.hidden {
    display: none;
}

@media (max-width: 900px) {
    .modal-gallery,
    .modal-gallery img {
        min-height: 320px;
    }
}/* Fix modal escondido / contenido fantasma */

.product-modal:not(.active),
.image-lightbox:not(.active) {
    display: none !important;
}

.product-modal.active,
.image-lightbox.active {
    display: flex !important;
}/* ===========================
   BUSCADOR
=========================== */

.search-container{
    width:100%;
    display:flex;
    justify-content:center;
    margin:20px 0 25px;
}

#searchInput{
    width:min(500px,90%);
    padding:14px 20px;
    border:2px solid #d7cdbd;
    border-radius:999px;
    background:#fff;
    font-size:16px;
    font-family:inherit;
    transition:.25s;
}

#searchInput:focus{
    outline:none;
    border-color:#9f9585;
    box-shadow:0 0 12px rgba(0,0,0,.08);
}

#searchInput::placeholder{
    color:#999;
}.no-products{

    text-align:center;

    font-size:20px;

    padding:60px;

    color:#777;

}/* Fix buscador visible */

.search-container {
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin: 24px auto 26px;
    padding: 0 20px;
    position: relative;
    z-index: 5;
}

.search-container input,
#searchInput {
    display: block !important;
    width: min(520px, 100%);
    height: 52px;
    padding: 0 22px;
    border: 1px solid #9f9585;
    border-radius: 999px;
    background: #ffffff;
    color: #1f1f1f;
    font-size: 16px;
    font-family: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    opacity: 1 !important;
    visibility: visible !important;
}

#searchInput:focus {
    outline: none;
    border-color: #403f35;
}