.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    gap: 20px;
}
.logo h1 {
    font-size: 28px;
}
.logo p {
    font-size: 13px;
    color: #777;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.header-buttons {
    display: flex;
    gap: 12px;
}
.btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s ease;
    text-decoration: none;
}
.btn-light {
    background: #fff;
    border: 1px solid #ccc;
    color: #222;
}
.btn-dark {
    background: #222;
    color: #fff;
}
.hero {
    padding: 50px 0;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.hero-text {
    flex: 1 1 500px;
}
.hero-badge {
    display: inline-block;
    background: #d8b1ff;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    margin-bottom: 18px;
    font-weight: bold;
}
.hero-text h2 {
    font-size: 44px;
    margin-bottom: 16px;
}
.hero-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-image {
    flex: 1 1 380px;
}
.hero-image img {
    width: 100%;
    border-radius: 28px;
    height: 450px;
    object-fit: cover;
}
.filters {
    margin-bottom: 30px;
}
.filters-box {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.search-sort {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.search-label,
.sort-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.search-sort input,
.search-sort select,
.page-size-control select {
    padding: 12px 16px;
    border-radius: 25px;
    border: 1px solid #ccc;
    outline: none;
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 24px;
}
.product-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 8px 24px rgba(35, 24, 44, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(35, 24, 44, 0.12);
}
.product-image {
    position: relative;
    height: auto;
    aspect-ratio: 4 / 3;
    background: #f4eff7;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-info {
    padding: 20px;
    display: flex;
    flex: 1;
    flex-direction: column;
}
.product-title {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 10px;
}
.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.product-price {
    font-size: 20px;
    font-weight: bold;
}
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 0 0 20px;
}
.products-count {
    color: #666;
    margin: 0;
}
.page-size-control {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}
.page-size-control select {
    padding: 8px 12px;
    background: #fff;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 48px;
}
.pagination button {
    min-width: 42px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
    color: #222;
    background: #fff;
    cursor: pointer;
}
.pagination button:hover:not(:disabled),
.pagination button[aria-current="page"] {
    color: #fff;
    border-color: #222;
    background: #222;
}
.pagination button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.products-empty,
.products-error {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 48px 16px;
}



@media (max-width: 600px) {
    .header-content{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        padding: 18px 0;
        gap: 14px;
    }

    .logo h1{
        font-size: 24px;
    }

    .logo p{
        font-size: 12px;
        color: #777;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .header-buttons{
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .btn{
        display: inline-block;
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        border-radius: 25px;
        border: none;
        cursor: pointer;
        font-size: 14px;
        transition: 0.3s ease;
        text-decoration: none;
    }
    .btn-light{
        background: #fff;
        border: 1px solid #ccc;
        color: #222;
    }
    .btn-dark{
        background: #222;
        color: #fff;
    }
    .hero{
        padding: 30px 0;
    }
    .hero-content{
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        gap: 24px;
    }
    .hero-text{
        flex: 1 1 auto;
    }
    .hero-badge{
        display: inline-block;
        background: #d8b1ff;
        padding: 8px 16px;
        border-radius: 25px;
        font-size: 12px;
        margin-bottom: 14px;
        font-weight: bold;
    }
    .hero-text h2{
        font-size: 28px;
        margin-bottom: 14px;
        line-height: 1.2;
    }
    .hero-text p{
        font-size: 15px;
        color: #666;
        margin-bottom: 20px;
    }
    .hero-actions{
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex-wrap: wrap;
    }
    .hero-image{
        flex: 1 1 auto;
    }
    .hero-image img{
        width: 100%;
        border-radius: 20px;
        height: 260px;
        object-fit: cover;
    }
    .filters{
        margin-bottom: 24px;
    }
    .filters-box{
        background: #fff;
        border-radius: 20px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
    }
    .search-sort{
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
        width: 100%;
    }
    .search-sort input,
    .search-sort select{
        padding: 12px 16px;
        border-radius: 25px;
        border: 1px solid #ccc;
        outline: none;
        width: 100%;
    }
    .products-grid{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
        gap: 18px;
    }
    .product-card{
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
    }
    .product-image{
        position: relative;
        height: auto;
        aspect-ratio: 4 / 3;
    }
    .product-image img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .product-info{
        padding: 18px;
    }
    .product-category{
        font-size: 14px;
        color: #777;
        margin-bottom: 8px;
    }
    .product-title{
        font-size: 18px;
    }
    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }
    .pagination {
        gap: 6px;
    }
    .pagination button {
        min-width: 38px;
        min-height: 38px;
    }
    .product-footer{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        gap: 10px;
    }
    .product-price{
        font-size: 22px;
        font-weight: bold;
    }
}

/* Catálogo Wonderland */
.catalog-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(56px, 8vw, 104px) 0 clamp(52px, 7vw, 84px);
    background:
        radial-gradient(circle at 86% 18%, rgba(203, 255, 237, .8), transparent 22%),
        radial-gradient(circle at 72% 95%, rgba(255, 190, 233, .58), transparent 28%),
        linear-gradient(120deg, #fffafc 0%, #fffdf2 52%, #f8f1ff 100%);
}
.catalog-hero::after {
    position: absolute;
    right: 8%;
    bottom: -72px;
    width: 190px;
    height: 190px;
    border: 1px solid rgba(153, 107, 191, .16);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}
.catalog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1180px;
}
.catalog-eyebrow,
.section-eyebrow {
    color: #79549a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.catalog-hero h1 {
    max-width: 760px;
    margin: 16px 0 14px;
    font-size: clamp(36px, 5vw, 62px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
}
.catalog-hero p {
    max-width: 620px;
    color: #5e5961;
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.7;
}
.catalog-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 26px;
    padding: 13px 20px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 999px;
    background: var(--gradient-main, linear-gradient(135deg, #ffbee9, #fcf8b9, #cbffed, #d8b1ff));
    color: #17131a;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.catalog-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(81, 52, 102, .14);
}
.catalog-cta:focus-visible,
.search-sort input:focus-visible,
.search-sort select:focus-visible,
.page-size-control select:focus-visible,
.pagination button:focus-visible {
    outline: 3px solid #9c73be;
    outline-offset: 3px;
}
.filters {
    margin: 0;
    padding: 34px 0 20px;
}
.filters-box {
    align-items: end;
    padding: 24px 0;
    border-bottom: 1px solid #eee7f1;
    border-radius: 0;
    background: transparent;
}
.filters-heading h2 {
    margin-top: 7px;
    font-size: clamp(23px, 3vw, 32px);
    letter-spacing: -.03em;
}
.search-sort {
    justify-content: flex-end;
}
.search-sort input,
.search-sort select,
.page-size-control select {
    min-height: 46px;
    border: 1px solid #e5dce9;
    background: #fff;
    color: #28232b;
    font: inherit;
}
.search-sort input {
    width: min(340px, 100%);
}
.search-sort input::placeholder {
    color: #85808a;
}
.products {
    padding: 16px 0 32px;
}
.products .container {
    width: min(94%, 1440px);
    max-width: 1440px;
}
.filters .container {
    width: min(94%, 1440px);
    max-width: 1440px;
}
.products-catalog-layout {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 3vw, 40px);
}
.category-sidebar {
    position: sticky;
    top: 24px;
    padding: 20px 14px;
    border: 1px solid #eee8f0;
    border-radius: 18px;
    background: linear-gradient(160deg, #fff, #fcf9fd);
    box-shadow: 0 8px 22px rgba(41, 25, 49, .045);
}
.category-sidebar h2 {
    margin: 0 8px 14px;
    color: #29232d;
    font-size: 16px;
    letter-spacing: -.02em;
}
.category-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.category-filter-button {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: #625b67;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    text-align: left;
    transition: background .18s ease, color .18s ease;
}
.category-filter-button:hover { background: #f6f0f8; color: #4d365b; }
.category-filter-button[aria-pressed="true"] {
    background: #f2e8f5;
    color: #583e65;
    font-weight: 700;
}
.category-filter-count {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    box-sizing: border-box;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    color: #796e80;
    font-size: 11px;
    font-weight: 700;
}
.category-filter-button:focus-visible { outline: 3px solid #9c73be; outline-offset: 2px; }
.products-results { min-width: 0; }
.catalog-notice {
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid #e8d9f2;
    border-radius: 14px;
    background: #fbf6ff;
    color: #59456a;
    font-size: 13px;
    line-height: 1.55;
}
.catalog-notice[hidden] {
    display: none;
}
.products-toolbar {
    align-items: center;
    margin-bottom: 18px;
}
.products-count,
.page-size-control {
    color: #6d6770;
    font-size: 13px;
}
.page-size-control select {
    min-height: 38px;
    padding: 7px 30px 7px 12px;
    border-radius: 10px;
}
.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 245px), 1fr));
    align-items: stretch;
    gap: 24px;
}
.product-card {
    border: 1px solid #eee8f0;
    border-radius: 22px;
    box-shadow: 0 8px 24px rgba(41, 25, 49, .055);
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(41, 25, 49, .12);
}
.product-image {
    display: grid;
    aspect-ratio: 4 / 3;
    place-items: center;
    background: linear-gradient(145deg, #fff9fc, #f5f0fb 68%, #effcf7);
}
.product-image img {
    padding: 14px;
    object-fit: contain;
    transition: transform .35s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.035);
}
.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 999px;
    background: rgba(255, 255, 255, .88);
    color: #5b4269;
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.product-info {
    gap: 0;
    padding: 18px 18px 20px;
}
.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}
.product-tag {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f5edfb;
    color: #654c75;
    font-size: 10px;
    font-weight: 700;
}
.product-tag--stock {
    background: #eaf9f2;
    color: #356a51;
}
.product-tag--out {
    background: #fff0f4;
    color: #97516a;
}
.product-title {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.4;
}
.product-description {
    margin-bottom: 18px;
    color: #716b74;
    font-size: 13px;
    line-height: 1.6;
    -webkit-line-clamp: 3;
}
.product-footer {
    min-height: 38px;
    padding-top: 12px;
    border-top: 1px solid #f0ebf1;
}
.product-price {
    color: #211c24;
    font-size: 17px;
    font-weight: 700;
}
.product-price--pending {
    color: #746d77;
    font-size: 13px;
    font-weight: 600;
}
.product-footer {
    align-items: stretch;
    flex-direction: column;
}
.product-add-button {
    min-height: 42px;
    border: 0;
    border-radius: 12px;
    background: #29232d;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    transition: background .18s ease, transform .18s ease;
}
.product-add-button:hover:not(:disabled) {
    transform: translateY(-1px);
    background: #654c75;
}
.product-add-button:disabled {
    background: #d8d3da;
    color: #716b74;
    cursor: not-allowed;
}
.product-add-button.is-added {
    background: #356a51;
}
.product-customizer-dialog {
    position: fixed;
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    width: min(780px, calc(100vw - 28px));
    max-width: none;
    max-height: min(92dvh, 850px);
    padding: 0;
    border: 0;
    border-radius: 22px;
    color: #29232d;
    box-shadow: 0 24px 80px rgba(30, 20, 40, .26);
    overflow: auto;
}
.product-customizer-dialog::backdrop { background: rgba(28, 20, 36, .5); backdrop-filter: blur(3px); }
.product-customizer { padding: clamp(20px, 4vw, 34px); }
.customizer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.customizer-eyebrow { margin: 0 0 6px; color: #8d6484; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.customizer-header h2 { margin: 0; font-size: clamp(21px, 4vw, 27px); }
.customizer-close { flex: 0 0 38px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #f6f2f7; color: #514858; font-size: 25px; cursor: pointer; }
.customizer-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 34px); align-items: start; }
.customizer-preview { position: relative; justify-self: center; box-sizing: border-box; width: 100%; max-width: 100%; max-height: 48vh; overflow: hidden; background: #f8f5f9; }
.customizer-base { display: block; width: 100%; height: 100%; object-fit: fill; }
.customizer-photo { position: absolute; top: 12%; right: 10%; width: min(34%, 140px); max-height: 42%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.customizer-text { display: block; position: absolute; left: 50%; top: 78%; max-inline-size: 100%; max-block-size: 100%; overflow: visible; overflow-wrap: anywhere; transform: translate(-50%, -50%); color: #fff; font-weight: 700; line-height: 1.15; text-align: center; text-shadow: 0 2px 5px #000, 0 0 3px #000; white-space: pre-wrap; cursor: grab; touch-action: none; user-select: none; }
.customizer-text:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.customizer-text.is-dragging { cursor: grabbing; }
.customizer-form { display: flex; flex-direction: column; gap: 9px; }
.customizer-form label { margin-top: 4px; color: #453d49; font-size: 13px; font-weight: 600; }
.customizer-form textarea, .customizer-form select { width: 100%; box-sizing: border-box; border: 1px solid #ded8e1; border-radius: 10px; padding: 11px 12px; color: #29232d; background: #fff; font: inherit; font-size: 14px; }
.customizer-form textarea { resize: vertical; }
.customizer-form input[type="file"] { width: 100%; box-sizing: border-box; font: inherit; font-size: 12px; }
.customizer-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.customizer-options > div { display: flex; flex-direction: column; gap: 8px; }
.customizer-form input[type="range"] { width: 100%; accent-color: #8d6484; }
.customizer-form small { color: #716a75; font-size: 11px; line-height: 1.45; }
.customizer-remove-photo { align-self: flex-start; padding: 0; border: 0; background: transparent; color: #654c75; text-decoration: underline; cursor: pointer; }
.customizer-remove-photo[hidden] { display: none; }
.customizer-status { min-height: 18px; margin: 2px 0 0; color: #72506b; font-size: 12px; }
.customizer-submit { min-height: 46px; padding: 10px 14px; border: 0; border-radius: 11px; background: #29232d; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.customizer-submit:hover { background: #654c75; }
@media (max-width: 600px) {
    .customizer-layout { grid-template-columns: 1fr; }
    .customizer-preview { width: min(100%, 420px); justify-self: center; }
    .customizer-options { grid-template-columns: 1fr; gap: 8px; }
}
.pagination {
    gap: 7px;
    margin: 30px 0 18px;
}
.pagination button {
    min-width: 40px;
    min-height: 40px;
    border: 1px solid #e9e1ed;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 13px;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.pagination button:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: #d8b1ff;
    background: #f8f0ff;
    color: #33243d;
}
.pagination button[aria-current="page"] {
    border-color: transparent;
    background: var(--gradient-main, linear-gradient(135deg, #ffbee9, #fcf8b9, #cbffed, #d8b1ff));
    color: #1e1921;
    font-weight: 700;
}
.pagination button:disabled {
    opacity: .45;
}
.pagination-ellipsis {
    display: inline-grid;
    min-width: 24px;
    min-height: 40px;
    place-items: center;
    color: #77717b;
}
.products-empty,
.products-error {
    padding: 56px 20px;
    border: 1px dashed #e1d5e8;
    border-radius: 20px;
    background: #fff;
    line-height: 1.6;
}
@media (max-width: 700px) {
    .products-catalog-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        min-width: 0;
    }
    .category-sidebar {
        position: static;
        min-width: 0;
        padding: 14px;
        border-radius: 15px;
    }
    .products-results,
    .products-grid {
        min-width: 0;
    }
    .products-toolbar {
        flex-wrap: wrap;
    }
    .category-sidebar h2 { margin: 0 0 10px; }
    .category-list {
        flex-direction: row;
        gap: 7px;
        overflow-x: auto;
        padding: 2px 2px 5px;
        scrollbar-width: thin;
    }
    .category-filter-button {
        flex: 0 0 auto;
        width: auto;
        min-height: 38px;
        padding: 7px 10px;
        border: 1px solid #eee8f0;
        background: #fff;
        white-space: nowrap;
    }
    .category-filter-button[aria-pressed="true"] { border-color: #e4d4eb; background: #f2e8f5; }
    .filters-box {
        align-items: stretch;
        gap: 18px;
    }
    .search-sort {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: stretch;
    }
    .search-sort input,
    .search-sort select {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .catalog-hero {
        padding: 52px 0 56px;
    }
    .catalog-hero::after {
        right: -74px;
        bottom: -106px;
    }
    .catalog-hero h1 {
        max-width: 520px;
        font-size: clamp(34px, 10vw, 46px);
    }
    .catalog-hero p {
        font-size: 15px;
    }
    .filters {
        padding-top: 24px;
    }
    .filters-box {
        padding: 18px 0;
    }
    .products-toolbar {
        align-items: flex-start;
        flex-direction: row;
    }
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }
    .product-card {
        border-radius: 17px;
    }
    .product-image {
        aspect-ratio: 1 / 1;
    }
    .product-image img {
        padding: 8px;
    }
    .product-badge {
        top: 8px;
        left: 8px;
        padding: 5px 8px;
        font-size: 9px;
    }
    .product-info {
        padding: 13px 12px 14px;
    }
    .product-title {
        font-size: 14px;
    }
    .product-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }
    .product-price {
        font-size: 15px;
    }
    .product-tag {
        font-size: 9px;
    }
    .pagination {
        gap: 5px;
    }
    .pagination button {
        min-width: 36px;
        min-height: 36px;
        padding: 6px 9px;
        font-size: 12px;
    }
}
@media (max-width: 360px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .products-toolbar {
        flex-direction: column;
    }
}
@media (prefers-reduced-motion: reduce) {
    .product-card,
    .product-image img,
    .catalog-cta,
    .pagination button {
        transition: none;
    }
}

/* Corazón de Melón: tema natural aplicado solo al seleccionar esa categoría. */
body.theme-melon {
    background-color: #f1f7ee;
    color: #26382d;
}
body.theme-melon .catalog-hero {
    background:
        radial-gradient(ellipse at 84% 16%, rgba(205, 230, 190, .86), transparent 26%),
        radial-gradient(ellipse at 14% 92%, rgba(224, 237, 205, .8), transparent 34%),
        linear-gradient(120deg, #f7fbf2 0%, #eef6e8 54%, #e6f0de 100%);
}
body.theme-melon .catalog-hero::after {
    border-color: rgba(83, 125, 79, .24);
    border-radius: 65% 35% 62% 38%;
    transform: rotate(-28deg);
}
body.theme-melon .catalog-eyebrow,
body.theme-melon .section-eyebrow { color: #4c7950; }
body.theme-melon .catalog-cta {
    border-color: rgba(49, 91, 54, .15);
    background: linear-gradient(120deg, #dcebd1, #c8dfba 55%, #e6efd9);
    color: #294b31;
}
body.theme-melon .catalog-cta:hover { box-shadow: 0 8px 20px rgba(55, 94, 59, .18); }
body.theme-melon .filters-box { border-color: #dbe7d5; }
body.theme-melon .search-sort input,
body.theme-melon .search-sort select,
body.theme-melon .page-size-control select { border-color: #d4e2cd; }
body.theme-melon .search-sort input:focus,
body.theme-melon .search-sort select:focus,
body.theme-melon .page-size-control select:focus { border-color: #6d9a68; box-shadow: 0 0 0 3px rgba(109, 154, 104, .16); }
body.theme-melon .products { background: linear-gradient(180deg, #f1f7ee 0%, #f7faf4 100%); }
body.theme-melon .category-sidebar {
    border-color: #dce8d6;
    background: linear-gradient(160deg, #fbfdf9, #edf5e9);
    box-shadow: 0 8px 22px rgba(49, 83, 49, .07);
}
body.theme-melon .category-sidebar h2 { color: #2f5637; }
body.theme-melon .category-filter-button { color: #526953; }
body.theme-melon .category-filter-button:hover { background: #e5f0df; color: #355d3b; }
body.theme-melon .category-filter-button[aria-pressed="true"] { background: #dcebd4; color: #31583a; }
body.theme-melon .category-filter-count { color: #557454; }
body.theme-melon .catalog-notice { border-color: #d6e5ce; background: #f5faf1; color: #48654a; }
body.theme-melon .product-card { border-color: #e0eadd; background: #fffefa; }
body.theme-melon .product-card:hover { box-shadow: 0 16px 32px rgba(49, 83, 49, .14); }
body.theme-melon .product-image { background: linear-gradient(145deg, #f8fbf3, #edf5e8 68%, #e2efdf); }
body.theme-melon .product-badge { color: #426448; }
body.theme-melon .product-tag { background: #e9f2e4; color: #4c704d; }
body.theme-melon .product-tag--stock { background: #e5f3e8; color: #356a45; }
body.theme-melon .product-tag--out { background: #f8ece6; color: #975f51; }
body.theme-melon .product-footer { border-color: #e5ecdf; }
body.theme-melon .product-add-button { background: #3e6946; }
body.theme-melon .product-add-button:hover:not(:disabled) { background: #2f5738; }
body.theme-melon .product-add-button:disabled { background: #d8d3da; color: #716b74; }
body.theme-melon .product-add-button.is-added { background: #356a51; }
body.theme-melon .pagination button[aria-current="page"] { background: linear-gradient(135deg, #d9e9d0, #bcd7ad); color: #294b31; }
body.theme-melon .pagination button:hover:not(:disabled) { border-color: #9fbe92; background: #f0f7eb; color: #355d3b; }