.products-hero {
    width: 100%;
    height: 100%;
    background-image: url('pictures/alex-bodini-6gVh9YW0arA-unsplash.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 80px;
    padding-top: 40px;
}

.products-hero-card {
    width:631px;
    min-height:562px;
    height: auto;
    background: rgba(255,255,255,0.85);
    border-radius:30px;
    padding:80px;
    box-shadow: 10px 4px 4px rgba(0, 0, 0, 0.25);
}

.products-hero-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 50px;
    font-weight: bold;
    color: #DA3B80;
    margin-top: 80px;
}

.products-hero-text {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 20px;
    margin-top: 20px;
    line-height: 1.6;
    color: #333333;
}

.products-banner {
    width: 100%;
    background-image: url('pictures/allproductbanner.jpg');
    background-size: cover;
    padding: 40px 60px;
    text-align: center;
    position: relative;
}

.banner-text {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}

.banner-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.banner-btn {
    padding: 14px 35px;
    background: #DA3B80;
    color: white;
    border: none;
    border-radius: 40px;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.banner-btn:hover {
    background: #c02d6e;
}

.products-main {
    width: 100%;
    display: flex;
    gap: 30px;
    padding: 60px 5%;
    background-image: url('pictures/allproductsb.jpg');
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

.filter-sidebar {
    width: 220px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
    position: sticky;
    top: 80px;
}

.filter-box {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.filter-box-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 15px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.category-item {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 15px;
    color: #333333;
    cursor: pointer;
    padding: 5px 0;
    transition: 0.3s;
}

.category-item:hover {
    color: #DA3B80;
}

.category-item.active {
    color: #DA3B80;
    font-weight: bold;
}

.price-slider {
    width: 100%;
    accent-color: #DA3B80;
    margin: 10px 0;
}

.price-range {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #333333;
    margin-bottom: 15px;
}

.filter-send-btn {
    width: 100%;
    padding: 10px;
    background: #DA3B80;
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.filter-send-btn:hover {
    background: #c02d6e;
}

.products-area {
    flex: 1;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.products-category-title {
    font-family: 'Fredoka', sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #DA3B80;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    width: 35px;
    height: 35px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    
}

.view-btn.active {
    border-color: #DA3B80;
    color: #DA3B80;
}

.sort-select {
    padding: 8px 15px;
    border: 2px solid #ddd;
    border-radius: 20px;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.results-count {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 13px;
    color: #333333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.products-grid.list-view {
    grid-template-columns: 1fr;
}

.product-card-link {
    display: block;
    text-decoration: none;     
    color: inherit;
    transition: opacity 0.2s;
}
.product-card-link:hover {
    opacity: 0.92;
}
.product-card-link:hover .product-name {
    color: #DA3B80;           
    text-decoration: none;      
}
.product-card-link .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.product-card-link-info {
    padding: 12px 15px 4px;
}
.product-buttons-only {
    padding: 0 15px 15px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-info,
.product-buttons-only {
    margin-top: auto;
}

.product-description {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.5;
    overflow: hidden;
    max-height: 4.5em;
}

.product-name {
    font-family: 'Fredoka', sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 4px;
    text-decoration: none;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.product-info {
    padding: 15px;
}

.product-price {
    font-family: 'Didact Gothic', sans-serif;
    font-size: 15px;
    color: #DA3B80;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-view,
.btn-addcart,
.btn-buy {
    padding: 7px 14px;
    border: none;
    border-radius: 20px;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.btn-view {
    background: #F5E6D3;
    color: #333333;
}

.btn-addcart {
    background: #DA3B80;
    color: white;
}

.btn-buy {
    background: #A2CF62;
    color: white;
}

.btn-view:hover { background: #e0d0b8; }
.btn-addcart:hover { background: #c02d6e; }
.btn-buy:hover { background: #8ab84e; }

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: white;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.page-btn.active {
    background: #DA3B80;
    color: white;
    border-color: #DA3B80;
}

.page-btn:hover {
    border-color: #DA3B80;
    color: #DA3B80;
}

    .cert-bubble-wrapper {
        position: sticky;
        top: 120px;
        width: 100%;
        display: flex;
        justify-content: center;
        z-index: 10;
    }

    .cert-bubble {
        width: 200px;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    }

    .brand-deco {
        position: absolute;
        right: 0px;
        bottom: -10px;
        width: 220px;
        z-index: 3;
    }