/* Device showcase styles */
.device-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px 0;
}
.device-item {
    width: calc(33.33% - 10px);
    text-align: center;
    border: 1px solid #DDD;
    padding: 12px 8px;
    box-sizing: border-box;
    background: #FFF;
    transition: box-shadow 0.3s;
}
.device-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.device-item img {
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 8px;
}
.device-item .device-name {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-top: 6px;
}
.device-item .device-name:hover {
    color: #CC0000;
}
.device-pagination {
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
}
.device-pagination a {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    border: 1px solid #CCC;
    color: #333;
    text-decoration: none;
    background: #FFF;
}
.device-pagination a:hover {
    background: #006432;
    color: #FFF;
    border-color: #006432;
}
.device-pagination .current {
    display: inline-block;
    padding: 5px 12px;
    margin: 0 3px;
    background: #006432;
    color: #FFF;
    font-weight: bold;
}
.device-cat-nav {
    padding: 10px 0;
    border-bottom: 1px dashed #9DA2A7;
    margin-bottom: 10px;
}
.device-cat-nav a {
    color: #006432;
    text-decoration: none;
    margin-right: 15px;
    font-size: 14px;
}
.device-cat-nav a:hover {
    color: #CC0000;
    text-decoration: underline;
}
.device-cat-nav .current-cat {
    color: #CC0000;
    font-weight: bold;
}
.device-detail-img {
    text-align: center;
    padding: 10px 0;
}
.device-detail-img img {
    max-width: 500px;
    max-height: 400px;
}
.device-params table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.device-params td {
    padding: 8px 10px;
    border: 1px solid #DDD;
    font-size: 14px;
}
.device-params td.label {
    background: #F5F5F5;
    font-weight: bold;
    width: 120px;
}
.device-back {
    text-align: right;
    padding: 10px 0;
}
.device-back a {
    color: #006432;
    text-decoration: none;
}
.device-back a:hover {
    color: #CC0000;
}
