/* Full-width products page styles */

.products-section {
    padding: 50px 6% 70px;
}

.products-title {
    color: #216291;
    font-weight: bold;
    font-size: 2rem;
    margin-bottom: 8px;
}

.products-divider {
    border-color: #216291;
    opacity: 0.2;
    margin-bottom: 35px;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(33, 98, 145, 0.18);
}

/* Image area */
.product-card-img {
    height: 200px;
    overflow: hidden;
    background: #f4f8ff;
    position: relative;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

/* Carousel override for cards */
.product-card-img .carousel,
.product-card-img .carousel-inner,
.product-card-img .carousel-item {
    height: 100%;
}

.product-card-img .carousel-control-prev,
.product-card-img .carousel-control-next {
    width: 30px;
    background: rgba(33, 98, 145, 0.4);
    border-radius: 50%;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.2s;
}

.product-card:hover .carousel-control-prev,
.product-card:hover .carousel-control-next {
    opacity: 1;
}

.product-card-img .carousel-control-prev { left: 6px; }
.product-card-img .carousel-control-next { right: 6px; }

.product-card-img .carousel-control-prev-icon,
.product-card-img .carousel-control-next-icon {
    width: 14px;
    height: 14px;
}

/* Placeholder */
.product-placeholder {
    height: 200px;
    background: #f4f8ff;
}

/* Card body */
.product-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-name {
    color: #216291;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Download buttons */
.btn-pdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    background: #116391;
    color: white !important;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.4s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
}

.btn-pdf:hover {
    background: #216291;
    letter-spacing: 2px;
    box-shadow: 0 4px 14px rgba(33, 98, 145, 0.35);
}

.btn-pdf-secondary {
    background: #4887AA;
}

.btn-pdf-secondary:hover {
    background: #216291;
}

/* General documents section */
.section-divider {
    border-top: 2px solid #f4f8ff;
    margin: 50px 0 30px;
}

.section-label {
    color: #4887AA;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.root-pdf-card {
    background: #f4f8ff;
    border: 2px dashed #c8dff0;
    border-radius: 15px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.root-pdf-card:hover {
    border-color: #216291;
    background: white;
    box-shadow: 0 6px 18px rgba(33, 98, 145, 0.12);
}

.root-pdf-icon {
    font-size: 2.5rem;
    color: #216291;
    margin-bottom: 12px;
    opacity: 0.7;
}

.root-pdf-name {
    color: #505456;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    word-break: break-word;
}

/* Responsive */
@media (max-width: 991px) {
    .products-section {
        padding: 40px 4% 60px;
    }
}

@media (max-width: 576px) {
    .products-section {
        padding: 30px 3% 50px;
    }

    .product-card-img,
    .product-card-img .carousel-item img {
        height: 170px;
    }
}
