/* Section Services (Products Swiper) CSS */
.products-section {
    background: var(--light);
    position: relative;
}

.products-swiper {
    padding: 20px 10px 60px;
    position: relative;
    overflow: hidden;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.3);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 5;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.badge-hot { background: #ef4444; color: var(--white); }
.badge-new { background: #10b981; color: var(--white); }
.badge-pro { background: #8b5cf6; color: var(--white); }
.badge-tech { background: #06b6d4; color: var(--white); }
.badge-eco { background: #f59e0b; color: var(--white); }
.badge-audio { background: #4f46e5; color: var(--white); }

.product-media {
    position: relative;
    height: 250px;
    background: #f1f5f9;
    overflow: hidden;
}

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

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-hover-action {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.product-card:hover .product-hover-action {
    opacity: 1;
    visibility: visible;
}

.btn-quick-view {
    background: var(--white);
    color: var(--dark);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .btn-quick-view {
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--primary);
    color: var(--white);
}

.product-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-cat {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.product-name a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.product-name a:hover {
    color: var(--primary);
}

.product-summary {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray);
    margin: 0 0 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px dashed var(--border);
    border-bottom: 1px dashed var(--border);
    margin-bottom: 18px;
    font-size: 12px;
    color: var(--gray);
    font-weight: 600;
}

.product-specs span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-specs i {
    color: var(--primary);
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 11px;
    color: var(--gray);
    font-weight: 500;
}

.price-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-btn);
}

/* Swiper Controls */
.swiper-controls-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

.products-swiper .swiper-pagination {
    position: static;
    display: inline-flex;
    width: auto;
}

.products-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    transition: var(--transition);
    margin: 0 4px;
}

.products-swiper .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 6px;
    background: var(--primary);
}

.products-swiper .swiper-button-prev,
.products-swiper .swiper-button-next {
    position: static;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin: 0;
    transition: var(--transition);
    z-index: 10;
}

.products-swiper .swiper-button-prev:after,
.products-swiper .swiper-button-next:after {
    font-size: 16px;
    font-weight: 800;
}

.products-swiper .swiper-button-prev:hover,
.products-swiper .swiper-button-next:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.section-bottom-cta {
    margin-top: 20px;
}
