/* =========================
   UNIFORMA SHOP PAGE
========================= */

.uniforma-shop-page,
.uniforma-shop-page * {
    box-sizing: border-box;
}

.uniforma-shop-page {
    width: 100%;
    background: #fbf8f4;
    color: var(--uniforma-text);
    font-family: "Inter", Arial, sans-serif;
}

/* =========================
   HERO TIENDA
========================= */

.uniforma-shop-hero {
    width: 100%;
    min-height: 515px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
}

.uniforma-shop-hero__content {
    width: 100%;
    max-width: 1575px;
    margin: 0 auto;
    padding-left: 88px;
    padding-right: 40px;
}

.uniforma-shop-hero h1 {
    margin: 0 0 28px;
    color: var(--uniforma-text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.3px;
    text-transform: uppercase;
}

.uniforma-shop-hero h1 span {
    color: var(--uniforma-gold);
}

.uniforma-shop-hero p {
    margin: 0 0 34px;
    color: #111111;
    font-family: "Inter", Arial, sans-serif;
    font-size: 21px;
    line-height: 1.55;
}

.uniforma-shop-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 230px;
    min-height: 58px;
    padding: 18px 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--uniforma-gold), var(--uniforma-gold-dark));
    color: #ffffff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 14px 26px rgba(138, 90, 32, 0.16);
    transition: 0.2s ease;
}

.uniforma-shop-hero__button:hover {
    background: var(--uniforma-gold-dark);
    color: #ffffff !important;
    transform: translateY(-1px);
}

.uniforma-shop-hero__button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================
   PRODUCTS SECTION
========================= */

.uniforma-shop-products {
    background: #fbf8f4;
    padding: 42px 0 0;
}

.uniforma-shop-products__inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 72px;
}

/* =========================
   FILTERS
========================= */

.uniforma-shop-filters {
    margin-bottom: 36px;
}

.uniforma-shop-filters__top {
    margin-bottom: 24px;
}

.uniforma-shop-categories {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.uniforma-shop-categories__item {
    min-height: 50px;
    padding: 18px 22px;
    border-radius: 5px;
    color: #111111;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.uniforma-shop-categories__item:hover {
    color: var(--uniforma-gold);
}

.uniforma-shop-categories__item.is-active {
    background: linear-gradient(135deg, var(--uniforma-gold), var(--uniforma-gold-dark));
    color: #ffffff !important;
}

.uniforma-shop-filters__bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr)) 170px 100px;
    gap: 14px;
    align-items: end;
}

.uniforma-shop-filters__bottom label {
    display: grid;
    gap: 8px;
}

.uniforma-shop-filters__bottom label span {
    color: var(--uniforma-text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.uniforma-shop-filters__bottom select {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--uniforma-border);
    border-radius: 6px;
    background: #ffffff;
    color: var(--uniforma-text);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
}

.uniforma-shop-filters__button,
.uniforma-shop-filters__clear {
    height: 48px;
    border-radius: 6px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

.uniforma-shop-filters__button {
    border: 1px solid var(--uniforma-gold);
    background: linear-gradient(135deg, var(--uniforma-gold), var(--uniforma-gold-dark));
    color: #ffffff;
}

.uniforma-shop-filters__button:hover {
    background: var(--uniforma-gold-dark);
}

.uniforma-shop-filters__clear {
    border: 1px solid var(--uniforma-border);
    background: #ffffff;
    color: var(--uniforma-text) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uniforma-shop-filters__clear:hover {
    border-color: var(--uniforma-gold);
    color: var(--uniforma-gold-dark) !important;
}

/* =========================
   RESULTS COUNT
========================= */

.uniforma-shop-results {
    margin: 0 0 22px;
}

.uniforma-shop-results p {
    margin: 0;
    color: var(--uniforma-muted);
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
}

/* =========================
   PRODUCT GRID
========================= */

.uniforma-shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.uniforma-product-card {
    background: #ffffff;
    border: 1px solid rgba(228, 216, 204, 0.72);
    border-radius: 6px;
    overflow: hidden;
    transition: 0.2s ease;
}

.uniforma-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(43, 33, 27, 0.08);
}

.uniforma-product-card__image {
    height: 265px;
    padding: 18px;
    background: linear-gradient(180deg, #fbf8f4 0%, #f5efe8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.uniforma-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.uniforma-product-card__colors {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 6px;
}

.uniforma-product-card__colors span,
.uniforma-color-dot {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(43, 33, 27, 0.18);
    border-radius: 999px;
    display: inline-block;
}

.uniforma-color-dot--blanco {
    background: #ffffff !important;
}

.uniforma-color-dot--beige {
    background: #ded4c7 !important;
}

.uniforma-color-dot--gris {
    background: #9a9a9a !important;
}

.uniforma-color-dot--azul {
    background: #111b27 !important;
}

.uniforma-color-dot--negro {
    background: #151515 !important;
}

.uniforma-color-dot--verde {
    background: #4c5130 !important;
}

.uniforma-product-card__content {
    padding: 0 18px 18px;
}

.uniforma-product-card h2 {
    margin: 0 0 8px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.uniforma-product-card h2 a {
    color: var(--uniforma-text);
    text-decoration: none;
}

.uniforma-product-card h2 a:hover {
    color: var(--uniforma-gold);
}

.uniforma-product-card__price {
    margin-bottom: 17px;
    color: #111111;
    font-size: 14px;
    font-weight: 500;
}

.uniforma-product-card__price .amount {
    color: #111111;
    font-weight: 600;
}

.uniforma-product-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.uniforma-product-card__btn {
    min-height: 36px;
    padding: 11px 10px;
    border: 1px solid var(--uniforma-gold);
    border-radius: 4px;
    background: transparent;
    color: var(--uniforma-text) !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.uniforma-product-card__btn:hover {
    background: var(--uniforma-gold);
    color: #ffffff !important;
}

/* =========================
   PAGINATION
========================= */

.uniforma-shop-pagination {
    margin: 34px 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* paginate_links genera links y spans */
.uniforma-shop-pagination a,
.uniforma-shop-pagination span {
    width: 42px;
    height: 42px;
    border: 1px solid var(--uniforma-border);
    border-radius: 6px;
    background: #ffffff;
    color: var(--uniforma-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.uniforma-shop-pagination .current {
    background: linear-gradient(135deg, var(--uniforma-gold), var(--uniforma-gold-dark));
    border-color: var(--uniforma-gold);
    color: #ffffff;
}

/* =========================
   EMPTY STATE
========================= */

.uniforma-shop-empty {
    padding: 70px 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid var(--uniforma-border);
    border-radius: 8px;
}

.uniforma-shop-empty h2 {
    margin: 0 0 10px;
    color: var(--uniforma-text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 24px;
    text-transform: uppercase;
}

.uniforma-shop-empty p {
    margin: 0;
    color: var(--uniforma-muted);
    font-size: 15px;
}

.uniforma-shop-empty__button {
    display: inline-flex;
    margin-top: 18px;
    min-height: 46px;
    padding: 15px 22px;
    border-radius: 6px;
    background: var(--uniforma-gold);
    color: #ffffff !important;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

/* =========================
   CTA
========================= */

.uniforma-shop-cta {
    margin: 0 0 42px;
    padding: 28px 42px;
    border: 1px solid rgba(228, 216, 204, 0.74);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    display: grid;
    grid-template-columns: 72px 1fr 260px;
    align-items: center;
    gap: 24px;
}

.uniforma-shop-cta__icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--uniforma-gold), var(--uniforma-gold-dark));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uniforma-shop-cta__icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.uniforma-shop-cta__text h2 {
    margin: 0 0 8px;
    color: var(--uniforma-text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.uniforma-shop-cta__text p {
    margin: 0;
    color: #111111;
    font-size: 15px;
    line-height: 1.4;
}

.uniforma-shop-cta__button {
    min-height: 52px;
    padding: 16px 22px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--uniforma-gold), var(--uniforma-gold-dark));
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.uniforma-shop-cta__button:hover {
    background: var(--uniforma-gold-dark);
}

.uniforma-shop-cta__button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================
   BENEFITS
========================= */

.uniforma-shop-benefits {
    margin: 0 auto;
    padding: 28px 0 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(228, 216, 204, 0.65);
}

.uniforma-shop-benefit {
    padding: 0 28px;
    border-right: 1px solid rgba(228, 216, 204, 0.8);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 18px;
    align-items: start;
}

.uniforma-shop-benefit:last-child {
    border-right: 0;
}

.uniforma-shop-benefit svg {
    width: 44px;
    height: 44px;
    color: var(--uniforma-gold);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.45;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.uniforma-shop-benefit h3 {
    margin: 0 0 6px;
    color: var(--uniforma-text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.uniforma-shop-benefit p {
    margin: 0;
    color: #111111;
    font-size: 14px;
    line-height: 1.45;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .uniforma-shop-hero {
        background-position: 58% center;
    }

    .uniforma-shop-hero__content {
        padding-left: 54px;
    }

    .uniforma-shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .uniforma-shop-benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 0;
    }

    .uniforma-shop-benefit:nth-child(2) {
        border-right: 0;
    }
}

@media (max-width: 980px) {
    .uniforma-shop-filters__bottom {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .uniforma-shop-hero {
        min-height: 450px;
    }

    .uniforma-shop-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(251, 248, 244, 0.95) 0%,
            rgba(251, 248, 244, 0.85) 45%,
            rgba(251, 248, 244, 0.1) 100%
        );
    }

    .uniforma-shop-hero__content {
        position: relative;
        z-index: 2;
        padding: 0 32px;
    }

    .uniforma-shop-hero h1 {
        font-size: 44px;
    }

    .uniforma-shop-hero p {
        font-size: 18px;
    }

    .uniforma-shop-products__inner {
        padding: 0 24px;
    }

    .uniforma-shop-categories {
        gap: 10px;
    }

    .uniforma-shop-categories__item {
        min-height: 42px;
        padding: 14px 16px;
        font-size: 12px;
    }

    .uniforma-shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .uniforma-shop-cta {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
        padding: 32px 24px;
    }

    .uniforma-shop-benefits {
        grid-template-columns: 1fr;
    }

    .uniforma-shop-benefit,
    .uniforma-shop-benefit:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(228, 216, 204, 0.8);
        padding: 0 0 24px;
    }

    .uniforma-shop-benefit:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 560px) {
    .uniforma-shop-filters__bottom {
        grid-template-columns: 1fr;
    }

    .uniforma-shop-filters__button,
    .uniforma-shop-filters__clear {
        width: 100%;
    }
}

@media (max-width: 540px) {
    .uniforma-shop-hero {
        min-height: 530px;
        align-items: flex-start;
        padding-top: 70px;
        background-position: 68% bottom;
    }

    .uniforma-shop-hero::before {
        background: linear-gradient(
            180deg,
            rgba(251, 248, 244, 0.98) 0%,
            rgba(251, 248, 244, 0.92) 42%,
            rgba(251, 248, 244, 0.12) 100%
        );
    }

    .uniforma-shop-hero h1 {
        font-size: 36px;
    }

    .uniforma-shop-hero p {
        font-size: 16px;
    }

    .uniforma-shop-grid {
        grid-template-columns: 1fr;
    }

    .uniforma-product-card__image {
        height: 310px;
    }

    .uniforma-shop-categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .uniforma-shop-categories__item {
        white-space: nowrap;
    }
}