/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme/
Description: Child Theme for Betheme
Author: Your Name
Author URI: http://example.com
Template: betheme
Version: 1.0
*/

/* Tire Size Chart Styles */
.search-form{
	width: 200px;
    display: flex;
}
.search-field {
	margin: 0 ！!important;
}
.tire-size-chart {
    padding: 20px;
	width:100%;
}

.tire-size-chart h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

.tire-size-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-width: 1200px;
}

.tire-size-item {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 4px;
    color: #666;
    font-size: 16px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.select2-container--default .select2-selection--single .select2-selection__placeholder{
	font-size: 18px;
    line-height: 18px;
}
/* 平板电脑适配 */
@media screen and (max-width: 768px) {
    .tire-size-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tire-size-chart h2 {
        font-size: 20px;
    }

    .tire-size-item {
        font-size: 14px;
        min-height: 35px;
    }
}

/* 手机端适配 */
@media screen and (max-width: 480px) {
    .tire-size-chart {
        padding: 10px;
    }

    .tire-size-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 8px;
    }

    .tire-size-chart h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .tire-size-item {
        font-size: 14px;
        min-height: 32px;
        padding: 8px;
    }
}

/* 适配iPhone SE等小屏设备 */
@media screen and (max-width: 320px) {
    .tire-size-chart {
        padding: 8px;
    }

    .tire-size-chart h2 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .tire-size-item {
        font-size: 13px;
        min-height: 30px;
    }
}

/* Specifications Table Styles */
.product-specifications {
    padding: 20px 0;
	width:100% !important;
}

.specs-title {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tbody tr {
    border-top: 1px solid #e5e5e5;
}

.specs-table tbody tr:last-child {
    border-bottom: 1px solid #e5e5e5;
}

.spec-label {
    background-color: #f7f7f7 !important; /* 浅灰色背景 */
    padding: 12px 15px;
    width: 200px;
    font-weight: normal;
}

.spec-value {
    background-color: #ffffff; /* 白色背景 */
    padding: 12px 15px;
    color: #333;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .spec-label {
        width: 120px;
    }
}