.more-tags {
  color: rgba(15, 39, 57, 1);
  font-size: 12px;
  font-family: lato, sans-serif;
  font-weight: 400;
  line-height: 2.5;
  user-select: none;
}
.mini-buttons-cards{
    height:70px;
}
.mini-buttons-cards button {
    font-size: 1rem;
    font-weight: bold;
    padding: 10px;
    margin: 1.5%;
    border: none;
    border-radius: 5px;
    background: white;
    color: black;

}

.mini-buttons-cards .btn-faci { background-color: #fbd0d9; }
.mini-buttons-cards .btn-skinCare,
.mini-buttons-cards .btn-WoundCare { background-color: #5ccec8; }
.mini-buttons-cards .btn-HWCare { background-color: #D6AFC3; }

/* --- Card Header --- */
.card-header {
    background-color: #EBEFF3;
    display: flex;
    justify-content: space-between;
    padding: 3% 5%;
}

.card-header div {
    display: flex;
    gap: 3px;
}

.card-header p {
    margin: 0;
}

.card-header div img {
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.card-header > .video {
    color: var(--second-color);
    font-weight: 700;
    font-size: 1rem;
}

.card-header > .time > p {
    color: var(--second-color);
    font-weight: 400;
    font-size: 1rem;
}

/* --- Others --- */
.separetor-line {
    width: 99.8%;
    margin-bottom: 30px;
}

.view-btn {
    text-align: center;
    background: var(--second-color);
    color: #fff;
    padding: 7px 20px;
    border-radius: 30px;
    /*margin: 20% 10% 16%;*/
    margin:-17% 9% 2%;
}

.view-btn a {
    color: white;
    text-decoration: none;
}

.generic-container {
    display: flex;
    justify-content: space-between;
}

.highlighted {
    font-size: 40px;
    font-weight: 400;
    line-height: 120%;
    color: var(--second-color);
}

/* --- Show More Button --- */
.toggleBtnContainer button {
    margin-right: 10px;
    background: white;
    color: var(--second-color);
    font-weight: 400;
    border-radius: 30px;
    border: 1px solid;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: transform 0.3s ease;
}
.toggleBtnContainer button.open span img {
    transform: rotate(180deg);
}

/* --- Card Style --- */
.product-card {
    border: 1px solid #ccc;
    border-radius: 10px;
    background: white;
    overflow: hidden;
    margin: 8px;
}

.product-card img {
    width: 100%;
    display: block;
}

/* Shared text styles */
.p1, .p2 {
    padding: 0 10px 10px;
    color: #444;
    position: relative;
    cursor: help;
}

.p1 { 
    font-weight: bold;
    height: 10px;    
}
.p2{
    margin-bottom: 80px;
    height: 80px;
    font-size: 16px;
}

/* --- Tooltip --- */
.tooltip-fulltext {
    display: none;
    position: absolute;
    top: -5px;
    left: 10px;
    background: #000000cc;
    padding: 8px 12px;
    color: #fff;
    font-size: 13px;
    border-radius: 5px;
    max-width: 250px;
    white-space: normal;
    z-index: 10;
}

.p2:hover .tooltip-fulltext,
.p1:hover .tooltip-fulltext {
    display: block;
}

/* --- Grid Layout --- */
.products-grid {
    display: grid;
}

@media (min-width: 1281px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1024px) and (max-width: 1280px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
        .view-btn{
         margin: 0% 10% 4%;
    }
    .p2{
        height: 12px;
    }
    
}
@media (min-width: 600px) and (max-width: 1023px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* --- Mobile Slider --- */
@media (max-width: 599px) {
    .products-grid {
        display: block;
    }
    
    .product-card {
        display: none;
    }
    .product-card.active {
        display: block;
    }
    
    .nav-buttons {
        display: flex;
        justify-content: center;
        margin-top: 25px;
    }
    
    .nav-buttons button {
        margin: -3% 8%;
        width: 35px;
        height: 35px;
        border-radius: 50%;
        background: #fff;
        color: var(--fourth-color);
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid;
        font-weight: bold;
        cursor: pointer;
    }
}
