.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl
}

.specs-table th,
.specs-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: right
}

.specs-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    width: 30%;
    color: #333
}

.specs-table td {
    color: #555
}

.specs-table tr:hover {
    background-color: #f1f1f1
}

.specs-header {
    background-color: #d32f2f;
    color: white;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    border-radius: 5px 5px 0 0
}

.gsm-top-bar {
    background-color: #D08B5F;
    color: white;
    padding: 15px 20px;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    border: 1px solid #D08B5F;
    text-align: right;
    margin-top: 0
}

.gsm-header {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 20px;
    margin-bottom: 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    direction: rtl
}

.gsm-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px
}

.gsm-img {
    width: 140px;
    flex-shrink: 0
}

.gsm-img img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: block
}

.gsm-info {
    flex-grow: 1
}

.gsm-title {
    margin: 0 0 15px 0;
    font-size: 2em;
    color: #333;
    line-height: 1.2
}

.gsm-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.gsm-meta li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 0.95em
}

.gsm-meta li i {
    color: #d32f2f;
    width: 20px;
    min-width: 20px;
    text-align: center;
    padding-top: 8px
}

.gsm-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid #eee;
    padding-right: 20px;
    margin-right: 20px;
    min-width: 100px;
    text-align: center
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #444
}

.stat-box i {
    font-size: 1.5em;
    color: #d32f2f;
    margin-bottom: 5px
}

.stat-box span {
    font-weight: bold;
    font-size: 1.2em
}

.stat-box small {
    font-size: 0.8em;
    color: #888;
    text-transform: uppercase
}

.gsm-specs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    margin-top: 20px
}

.spec-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    min-width: 0
}

.spec-item i {
    font-size: 1.8em;
    color: #555;
    margin-bottom: 10px
}

.spec-item strong {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 3px;
    white-space: nowrap
}

.spec-item span {
    font-size: 0.85em;
    color: #777;
    white-space: nowrap
}

/* Mobile Responsive */
@media (max-width:768px) {
    .gsm-header {
        border-radius: 0 0 8px 8px;
        border-top: 1px solid #e0e0e0
    }

    .gsm-top {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "img stats"
            "info info";
        text-align: center;
        align-items: center;
        gap: 15px
    }

    .gsm-img {
        grid-area: img;
        margin: 0
    }

    .gsm-meta {
        grid-template-columns: 1fr 1fr;
        justify-items: start;
        width: 100%;
        padding-right: 0
    }

    .gsm-info {
        grid-area: info
    }

    .gsm-stats {
        grid-area: stats;
        flex-direction: row;
        border-right: none;
        border-top: none;
        padding: 0;
        margin: 0;
        justify-content: center;
        gap: 30px
    }

    .gsm-specs {
        flex-wrap: wrap !important
    }

    .spec-item {
        flex: 0 0 48% !important;
        margin-bottom: 10px
    }
}

/* Accordion Styles */
details {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px
}

summary.specs-header {
    cursor: pointer;
    list-style: none;
    background-color: #f8f8f8;
    color: #d32f2f;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s
}

summary.specs-header:hover {
    background-color: #f1f1f1
}

summary.specs-header::-webkit-details-marker {
    display: none
}

summary.specs-header::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #d32f2f;
    transition: transform 0.3s
}

details[open] summary.specs-header::after {
    transform: rotate(180deg)
}

.intro-text {
    background-color: #fff3e0;
    border-right: 4px solid #D08B5F;
    padding: 15px;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    border-radius: 4px
}

.gsm-specs-header {
    text-align: center;
    margin-bottom: 20px;
    /* font-weight: bold; Optional, as H2 is usually bold by default */
}