*{
    font-family: Arial, sans-serif;
}
.product-category {
    text-align: center;
    padding: 20px;
    cursor: pointer;
}

.product-category img {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.product-category:hover img {
    transform: scale(1.2);
    cursor: pointer;
}

.product-list {
    display: none;
    padding: 20px;
    margin-top: 30px;
}

.active {
    display: block;
}

h1 {
    text-align: center;
    margin: 30px 0;
}

.card {
    border: none;
    transition: transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    height: 100%;
}
.card {
    border: none;
    transition: transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    height: 100%;
}
.card:hover {
    transform: translateY(-10px);
}
.price {
    color: red;
    font-weight: bold;
}
.old-price {
    text-decoration: line-through;
    color: gray;
    margin-right: 5px;
}
.discount {
    color: red;
}
.btn-primary {
    background-color: #007bff;
    border: none;
    border-radius: 20px;
}
.btn-info {
    background-color: #28a745;
    border: none;
    border-radius: 20px;

    color: white;
}
.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-buy, .btn-info {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    min-width: 0;
}

.d-flex.flex-column.flex-md-row {
    gap: 10px;
}

.d-flex.flex-column.flex-md-row a,
.d-flex.flex-column.flex-md-row button {
    flex: 1;
}

.btn-primary, .btn-info {
    width: 100%;
}
@media (max-width: 767px) {
    .product-card {
        margin-bottom: 15px;
    }
    
    .button-group {
        margin-top: 10px;
    }

}

@media (max-width: 1199px) {
    .product-card {
        padding: 10px;
    }

    .button-group {
        flex-direction: column;
        gap: 5px;
    }

    .btn-buy, .btn-info {
        width: 100%;
        font-size: 13px;
        padding: 6px;
    }
}

/*slider cards*/
.outer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.slider-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    position: relative;
    
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.slide {
    min-width: 300px;
    height: 600px;
    background: #f5f5f5;
    border-radius: 15px;
    background-size: cover;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    position: relative;
}

.slide:hover {
    transform: scale(1.1);
    z-index: 1;
}
.navigation {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.9);
}

@media (max-width: 768px) {
    .slide {
        min-width: 250px;
    }
}
.slide-1 {
    background-image: url('../img/img_mac/slider/1.jpg');
}
.slide-2 {
    background-image:url('../img/img_mac/slider/2.jpg');
}
.slide-3 {
    background-image: url('../img/img_mac/slider/3.jpg');
}
.slide-4{
    background-image: url('../img/img_mac/slider/4.jpg');
}
.slide-5{
    background-image: url('../img/img_mac/slider/5.jpg');
}
.slide-6{
    background-image: url('../img/img_mac/slider/6.jpg');
}
.slide-7{
    background-image: url('../img/img_mac/slider/7.jpg');
}
.slide-1 h2{
    color: cadetblue;
}
.slide-2 h2, .slide-2 p{
    color: aliceblue;
}
.gradient-text {
    font-weight: bold; 
    background: linear-gradient(95deg, #0090f7, #ba62fc, #f2416b, #f55600);
    -webkit-background-clip: text; 
    color: transparent;
}
.slide-5 h2, .slide-5 p{
    color: aliceblue;
}

/*modal*/
.specs-table {
    border: 1px solid #dee2e6; 
    overflow: hidden; 
}
.specs-table .header {
    background-color: #1818183c;
    padding: 10px 15px;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    
}
.specs-table .row {
    border-bottom: 1px solid #dee2e6;
}
.specs-table .label {
    background-color: #fbfbfb;
    padding: 10px 15px;
    font-weight: 500;
}
.specs-table .value {
    padding: 10px 15px;
}
.youtube-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-height: 400px;
    margin-bottom: 5px;
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}