.gttm-catalog-wrap {
    max-width: 100%;
    overflow-x: auto;
}

.gttm-cart-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #eef3fa;
    border: 1px solid #d6e2f0;
    padding: 10px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 15px;
}
.gttm-cart-link {
    margin-left: auto;
    background: #2271b1;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}
.gttm-cart-link:hover {
    background: #185a8e;
}

.gttm-article-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gttm-tire-thumb {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid #e2e4e8;
    transition: transform 0.15s ease;
}
.gttm-tire-thumb:hover {
    transform: scale(1.08);
}
.gttm-tire-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.gttm-tire-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gttm-tire-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.gttm-tire-modal__box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    max-width: 640px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    z-index: 1;
}
.gttm-tire-modal__close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #666;
}
.gttm-tire-modal__close:hover {
    color: #000;
}

.gttm-tire-detail {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.gttm-tire-detail__image {
    width: 220px;
    max-width: 100%;
    border-radius: 6px;
    object-fit: cover;
}
.gttm-tire-detail__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background: #f5f5f5;
}
.gttm-tire-detail__info {
    flex: 1;
    min-width: 220px;
}
.gttm-tire-detail__info h3 {
    margin-top: 0;
}
.gttm-tire-detail__table {
    width: 100%;
    border-collapse: collapse;
}
.gttm-tire-detail__table th,
.gttm-tire-detail__table td {
    text-align: left;
    padding: 5px 8px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.gttm-tire-detail__table th {
    color: #666;
    font-weight: 600;
    width: 45%;
}

.gttm-catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-end;
    background: #f8f9fb;
    border: 1px solid #e2e4e8;
    padding: 16px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.gttm-filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.gttm-filter-group input[type="text"],
.gttm-filter-group select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-width: 220px;
}

.gttm-season-radios {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gttm-season-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    transition: border-color 0.15s ease;
}
.gttm-season-option:hover {
    border-color: #cfd6e0;
}
.gttm-season-option.is-active {
    border-color: #2271b1;
    background: #eaf3fb;
}
.gttm-season-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.gttm-season-all {
    font-weight: 600;
    color: #444;
    padding: 4px 6px;
}
.gttm-tire-icon {
    display: block;
}

.gttm-search-btn {
    background: #2271b1;
    color: #fff;
    border: none;
    padding: 10px 26px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.gttm-search-btn:hover {
    background: #185a8e;
}

.gttm-results-count {
    color: #666;
    font-size: 13px;
    margin: 10px 0;
}

.gttm-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 20px 0;
}
.gttm-page-link {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #d6dae0;
    border-radius: 4px;
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
}
.gttm-page-link:hover {
    background: #f0f4f8;
}
.gttm-page-link.is-current {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
    font-weight: 600;
}
.gttm-page-ellipsis {
    padding: 0 4px;
    color: #999;
}

.gttm-catalog-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.gttm-catalog-table th,
.gttm-catalog-table td {
    border: 1px solid #e2e4e8;
    padding: 8px 10px;
    text-align: center;
    font-size: 14px;
}

.gttm-catalog-table th:first-child,
.gttm-catalog-table td:first-child,
.gttm-catalog-table th:nth-child(2),
.gttm-catalog-table td:nth-child(2) {
    text-align: left;
}

.gttm-filter-group--checkbox {
    display: flex;
    align-items: flex-end;
}
.gttm-promo-only-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 2px solid #f0d060;
    border-radius: 6px;
    background: #fff8e1;
    cursor: pointer;
    font-weight: 600;
    color: #6b5900;
}

.gttm-product-row--promo {
    background: #fff8e1;
}
.gttm-product-row--promo:hover {
    background: #fff3cd;
}
.gttm-promo-flag {
    font-size: 15px;
    flex-shrink: 0;
}

.gttm-catalog-table thead th {
    background: #eef3fa;
    color: #2271b1;
    font-weight: 700;
}

.gttm-catalog-table .gttm-col-main {
    background: #f5faff;
}
.gttm-catalog-table .gttm-col-other {
    background: #fff9f0;
}

.gttm-qty-control {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.gttm-qty-control input {
    width: 50px;
    text-align: center;
    padding: 4px;
}
.gttm-qty-control button {
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 3px;
}
.gttm-qty-control button:hover {
    background: #eee;
}

.gttm-toggle-detail {
    display: block;
    margin: 6px auto 0;
    background: none;
    border: none;
    color: #2271b1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
}

.gttm-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0;
}
.gttm-detail-table th,
.gttm-detail-table td {
    border: 1px solid #e2e4e8;
    padding: 6px 8px;
    font-size: 13px;
    text-align: center;
}
.gttm-detail-table thead th {
    background: #f5f5f5;
}
