.ccdd-page-header {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 260px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.overlay-archive-shop{
    background-color: transparent;
    background-image: linear-gradient(180deg, #16161600 0%, #873EBF 100%);
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
}

.ccdd-page-header h1.woocommerce-products-header__title.page-title {
    font-family: "Manrope", Sans-serif;
    font-size: 60px;
    font-weight: 600;
    text-transform: uppercase;
    -webkit-text-stroke-width: 0px;
    stroke-width: 0px;
    -webkit-text-stroke-color: #1BFFFA;
    stroke: #1BFFFA;
    text-shadow: 0px 0px 8px #1BFFFA;
    color: #FFFFFF;
    margin: 0;
}
.term-description {
    max-width: 517px;
    --container-widget-width: 517px;
    --container-widget-flex-grow: 0;
    text-align: center;
    font-family: "Manrope", Sans-serif;
    font-size: 25px;
    font-weight: 600;
    text-shadow: 0px 0px 10px #000000;
    color: #FFFFFF;
}
/* =========================================
   SHOP ARCHIVE - Product Grid Layout
   ========================================= */
   
ul#archive-products:before {
    display: none;
}

ul#archive-products li {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ccdd-shop-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 0px;
}

/* Controls Bar */
.ccdd-shop-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.ccdd-filter-btn {
    background: #1BFFFA !important;
    transform: translateY(-2px);
    box-shadow: 0px 0px 8px 0px #1BFFFA;
    padding: 10px 15px 10px 15px !important;
    color: #000 !important;
    border: 0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}



.ccdd-filter-btn svg {
    width: 20px;
    height: 20px;
}

/* Shop Layout */
.ccdd-shop-layout {
    display: flex;
    gap: 30px;
    position: relative;
}

/* Sidebar Filters */
.ccdd-shop-sidebar {
    width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    position: fixed;
    top: 0;
    left: -320px;
    height: 100vh;
    max-height: 100vh;
    z-index: 9999;
    background: rgba(20, 10, 40, 0.98);
    backdrop-filter: blur(10px);
    overflow-y: auto;
    transition: left 0.3s ease;
    padding-top: 60px;
}

.ccdd-shop-sidebar.active {
    left: 0;
}

.ccdd-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
}

.ccdd-filter-header h3 {
    font-family: "Manrope", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
}

.ccdd-filter-close {
    display: block;
    position: absolute;
    padding: 0 !important;
    right: 5px;
    border: none;
    color: white;
    cursor: pointer;
    background: transparent !important;
}

/* Products Wrapper */
.ccdd-products-wrapper {
    flex: 1;
}

/* Product Grid */
.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.products.columns-3 {
    grid-template-columns: repeat(3, 1fr) !important;
}

.products.columns-4 {
    grid-template-columns: repeat(3, 1fr) !important; /* Forzar 3 columnas */
}

/* Product Card */
.ccdd-product-card {
    background: #161616;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ccdd-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 217, 255, 0.3);
}

.ccdd-product-image {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    height: 260px;
}

.ccdd-product-image a {
    display: block;
    height: 100%;
}

.ccdd-product-image img {
    width: 100%;
    position: absolute;
    top: 0;
    height: 260px !important;
    object-fit: cover;
    max-width: 100%;
    object-position: center;
    transition: transform 0.3s ease;
}

.ccdd-product-card:hover .ccdd-product-image img {
    transform: scale(1.05);
}

.ccdd-product-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ccdd-product-title {
    font-size: 20px;
    margin: 0 0 10px 0;
    line-height: 1.3;
    font-weight: 500 !important
}

.ccdd-product-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ccdd-product-title a:hover {
    color: white;
}

.ccdd-product-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.ccdd-product-price {
    font-family: "Manrope", Sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-shadow: 0px 0px 4px #1BFFFA;
    color: #1BFFFA;
}

.ccdd-product-actions {
    margin-top: auto;
}

/* Responsive Mobile */
@media (max-width: 1024px) {
    .ccdd-shop-layout {
        flex-direction: column;
    }
    
    .products, .products.columns-3 {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .ccdd-shop-container{
        padding: 40px 25px;
    }
    .ccdd-page-header{
        height: 200px;
    }
   h1.woocommerce-products-header__title.page-title {
    font-size: 35px !important;
    text-align: center;
}
.term-description {
    font-size: 18px;
}
    .ccdd-shop-controls {
        align-items: stretch;
    }
    
    
    
    .products, .products.columns-3{
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .products, .products.columns-3 {
        grid-template-columns: 1fr !important;
    }
    
    .ccdd-product-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.woocommerce-pagination li {
    margin: 0;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: block;
    padding: 10px 15px;
    background: rgba(138, 43, 226, 0.3);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.woocommerce-pagination a:hover,
.woocommerce-pagination span.current {
    background: var(--clawcade-cyan, #00D9FF);
    color: #000;
}
