/* ============================================
   CÍRCULO DE PROGRESO - ARCO
   ============================================ */
.progress-circle-wrapper {
    position: relative;
    margin: 0 auto;
}

.progress-circle {
    position: absolute;
    width: 100%;
    left: 0;
    top: -66px;
    transform: rotate(0deg);
    /* Comenzar desde arriba */
}

/* Arco de fondo (blanco/gris) */
.progress-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 1);
    stroke-width: 30;
    stroke-linecap: round;
}

/* Arco de progreso (verde) */
.progress-circle-fill {
    fill: none;
    stroke: #003828;
    /* Verde oscuro */
    stroke-width: 30;
    stroke-linecap: round;
    stroke-dasharray: 376.99;
    /* 75% de la circunferencia (arco de 270°) */
    stroke-dashoffset: 376.99;
    transition: stroke-dashoffset 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-content {
    width: 100%;
}

.progress-content img {
    margin-bottom: 10px;
    width: 100%
}

.toys-count {
    font-size: 24px;
    font-weight: 800;
    color: #9D281E;
    margin: 0;
}

.toys-count .current-count {
    font-size: 32px;
}



/* ============================================
   COPOS DE NIEVE
   ============================================ */
.snow--x5 {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.snow--x5 li:nth-child(odd) {
    transform: translateY(60px) !important;
}

.snow--x5 li:nth-child(even) .category-label {
    transform: rotate(-3deg);
}

.snow--x5 li:nth-child(odd) .category-label {
    transform: rotate(3deg);
}

.snow--x5 li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.snow--x5.active li {
    opacity: 1;
    transform: translateY(0);
}

.snow--x5.active li:nth-child(1) {
    transition-delay: 0s;
}

.snow--x5.active li:nth-child(2) {
    transition-delay: 0.1s;
}

.snow--x5.active li:nth-child(3) {
    transition-delay: 0.2s;
}

.snow--x5.active li:nth-child(4) {
    transition-delay: 0.3s;
}

.snow--x5.active li:nth-child(5) {
    transition-delay: 0.4s;
}

.category-label {
    background: white;
    color: #003828;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.snowflake-container {
    position: relative;
    width: 180px;
    height: 180px;
}

.snowflake-base {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.snowflake-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    overflow: hidden;
    transition: height 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.snowflake-color {
    width: 100%;
    height: 200px;
    object-fit: contain;
    position: absolute;
    bottom: 0;
}

.percentage-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 23px;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    z-index: 10;
    background: #005F1C;
    ;
    border-radius: 50%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    border: 5px solid #8EC19D;
}

/* Responsive para copos */
@media (max-width: 1200px) {
    .snow--x5 {
        gap: 30px;
    }

    .snowflake-container {
        width: 160px;
        height: 160px;
    }

    .snowflake-color {
        height: 160px;
    }

    .percentage-value {
        font-size: 28px;
    }

    .category-label {
        font-size: 14px;
        padding: 6px 16px;
    }
}








/* ============================== */
/* ============================================
   FILTROS Y PRODUCTOS
   ============================================ */
.border-right-1 {
    border-right: 1px solid white !important;
    padding-left: 10px !important;
    width: 1px;
    height: 38px;
    position: relative;
    margin-right: 15px;
}

.filters-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 1px solid white;
}

.filters-label {
    font-weight: bold;
    color: #003828;
    font-size: 16px;
    margin-right: 8px;
}

.filter-btn,
.clear-filters-btn {
    padding: 2px 10px;
    border: 2px solid #003828;
    background: transparent;
    color: #003828;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.filter-btn:hover,
.clear-filters-btn:hover {
    background: #003828;
    color: #E4BE45;
}

.filter-btn.active {
    background: #003828;
    color: #E4BE45;
}

.clear-filters-btn {
    margin-left: auto;
    border-color: #9D281E;
    color: #9D281E;
}

.clear-filters-btn:hover {
    background: #9D281E;
    color: white;
}

/* Grid de productos */
.products-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.product-item {
    width: calc(25% - 8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.product-item.hidden {
    display: none;
}

.product-link {
    display: block;
    text-decoration: none;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

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

.product-link:hover .product-image img {
    transform: scale(1.1);
}




.product-title {
    padding: 20px;
    color: #003828;
    font-size: 14px;
    /* font-weight: 600; */
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 1200px) {
    .product-item {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .product-item {
        width: calc(50% - 15px);
    }

    .filters-wrapper {
        justify-content: center;
    }

    .clear-filters-btn {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .progress-circle {
      
        top: -175px;
        /* Comenzar desde arriba */
    }

    .product-item {
        width: 100%;
    }

    .product-image {
        height: 240px;
    }

    .filter-btn,
    .clear-filters-btn {
        font-size: 13px;
        padding: 6px 16px;
    }
}


/* 📱 Teléfonos (ej. iPhone 6, 7, 8) */
@media (max-width: 480px) and (min-width: 320px) {
    .snow--x5 li {
        width: 45%;
        margin-bottom: 80px;
    }

    .percentage-value {
        font-size: 16px;
    }
}