.stw-autosports-match-wheels-tires > a {
    font-family: "Oswald", Roboto;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px 10px 20px;
}
.stw-autosports-match-wheels-tires-popup-wrapper {
    position: fixed;
    top: -9999px;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.stw-autosports-match-wheels-tires-popup-wrapper.active {
    top: 0;
    visibility: visible;
    opacity: 1;
}

.stw-autosports-match-wheels-tires-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: min( 1200px, 100vw );
    height: min( 800px, 100vh );
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.stw-autosports-match-wheels-tires-close {
    position: absolute;
    display: inline-block;
    right: 40px;
    top: 20px;
    font-size: 48px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}

.stw-autosports-match-wheels-tires-header {
    padding: 40px;
    background-color: #222529;
    color: #fff;
}

.stw-autosports-match-wheels-tires-header h2 {
    margin: 0 0 20px;
    font-size: 36px;
    font-family: Oswald, sans-serif;
    font-weight: 600;
    letter-spacing: .02em;
    color: #fff;
}

.stw-autosports-match-wheels-tires-header h3 {
    margin: 0 0 20px;
    font-size: 24px;
    font-family: Oswald, sans-serif;
    font-weight: 600;
    letter-spacing: .02em;
}

.stw-autosports-match-wheels-tires-header p {
    margin: 0;
    font-size: 16px;
    font-family: Roboto, sans-serif;
    color: #f2f3f5;
}

.stw-autosports-match-wheels-tires-content {
    padding: 20px 40px 40px;
    font-size: 16px;
    position: relative;
    padding-bottom: 120px; /* Space for footer */
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.stw-autosports-match-wheels-tires-vihicle-content {
    margin-right: 30px;
    padding-right: 30px;
    max-width: 480px;
    width: 100%;
    border-right: 1px solid #e1e1e1;
}

.stw-autosports-match-wheels-tires-vihicle-content > * {
    max-width: 480px;
    width: 100%;
}

@media (min-width: 992px) {
    .stw-autosports-match-wheels-tires-content-row {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
}

.stw-autosports-addon-product-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
    width: 100%;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
}

.stw-autosports-addon-product-item img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-right: 20px;
    border: 1px solid #e1e1e1;
}

.stw-autosports-addon-product-item-content h4 {
    margin: 0 0 10px;
    font-family: Oswald, sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .02em;
}

.stw-autosports-addon-product-item-content .price {
    margin: 0;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.stw-autosports-match-wheels-tires-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    background-color: #e1e1e1;
}

/* Step Indicators */
.stw-autosports-step-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stw-step-indicator {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.stw-step-indicator.active {
    opacity: 1;
}

.stw-step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.stw-step-indicator.active:not(:last-child)::after {
    background-color: rgba(255, 255, 255, 0.5);
}

.stw-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.stw-step-indicator.active .stw-step-number {
    background-color: #fff;
    color: #222529;
}

.stw-step-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-weight: 500;
    transition: color 0.3s ease;
}

.stw-step-indicator.active .stw-step-label {
    color: #fff;
    font-weight: 600;
}

/* Step Content */
.stw-step-content {
    display: none;
}

@media (max-width: 568px) {
    .stw-step-content > p {
        font-size: 12px;
    }

    .stw-step-content > h3 {
        font-size: 16px;
    }

    .stw-step-content > h4 {
        font-size: 14px;
    }
}

.stw-step-content.active {
    display: block;
}

/* Step Navigation */
.stw-step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.stw-nav-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stw-nav-back {
    background-color: #6c757d;
    color: #fff;
}

.stw-nav-back:hover {
    background-color: #5a6268;
}

.stw-nav-skip {
    background-color: transparent;
    color: #666;
    border: 2px solid #ccc;
}

.stw-nav-skip:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.stw-nav-next,
.stw-nav-add-to-cart {
    background-color: #222529;
    color: #fff;
}

.stw-nav-next:hover,
.stw-nav-add-to-cart:hover {
    background-color: #000;
}

.stw-nav-next:disabled,
.stw-nav-next[disabled] {
    background-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

.stw-nav-next:disabled:hover,
.stw-nav-next[disabled]:hover {
    background-color: #ccc !important;
}

.stw-primary-button {
    background-color: #222529 !important;
    color: #fff !important;
}

/* Step Validation Warning */
.stw-step-validation-warning {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.stw-step-validation-warning strong {
    display: block;
    margin-bottom: 5px;
}

/* Tire Size Selection for Variable Products */
.stw-tire-size-select-wrapper,
.stw-lug-variation-select-wrapper,
.stw-tpms-variation-select-wrapper {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e1e1e1;
}

.stw-tire-size-select-wrapper label,
.stw-lug-variation-select-wrapper label,
.stw-tpms-variation-select-wrapper label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.stw-tire-variation-select,
.stw-lug-variation-select,
.stw-tpms-variation-select {
    width: 100%;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.stw-tire-variation-select:focus,
.stw-lug-variation-select:focus,
.stw-tpms-variation-select:focus {
    outline: none;
    border-color: #222529;
}

.stw-tire-variation-select:required:invalid,
.stw-lug-variation-select:required:invalid,
.stw-tpms-variation-select:required:invalid {
    border-color: #dc3545;
}

.stw-tire-size-select-wrapper .description {
    margin-top: 5px;
    font-size: 11px;
    color: #999;
    font-style: italic;
}

.stw-variable-tire {
    position: relative;
}

.stw-variable-tire .stw-tire-size-select-wrapper {
    display: none;
}

/* ============================================
   TABLET STYLES (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
    .stw-autosports-match-wheels-tires-popup {
        width: 95vw;
        height: 90vh;
        max-height: 90vh;
    }

    .stw-autosports-match-wheels-tires-header {
        padding: 30px 25px;
    }

    .stw-autosports-match-wheels-tires-header h2 {
        font-size: 28px;
    }

    .stw-autosports-match-wheels-tires-content {
        padding: 20px 25px 100px;
    }

    .stw-autosports-match-wheels-tires-footer {
        padding: 15px 25px;
    }

    .stw-autosports-match-wheels-tires-close {
        right: 20px;
        top: 15px;
        font-size: 36px;
    }

    .stw-step-indicator:not(:last-child)::after {
        width: 70%;
        left: 65%;
    }

    .stw-step-label {
        font-size: 11px;
    }
}

/* ============================================
   MOBILE STYLES (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /* Popup Container */
    .stw-autosports-match-wheels-tires-popup-wrapper {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .stw-autosports-match-wheels-tires-popup {
        width: 100vw;
        min-height: 100vh;
        height: auto;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        position: relative;
    }

    /* Header */
    .stw-autosports-match-wheels-tires-header {
        padding: 20px 15px;
    }

    .stw-autosports-match-wheels-tires-header h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .stw-autosports-match-wheels-tires-header p {
        font-size: 14px;
    }

    /* Close Button */
    .stw-autosports-match-wheels-tires-close {
        right: 15px;
        top: 15px;
        font-size: 32px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
    }

    /* Step Indicators */
    .stw-autosports-step-indicators {
        margin-top: 20px;
        padding-top: 15px;
        gap: 5px;
    }

    .stw-step-indicator {
        flex: 0 0 calc(20% - 4px);
        min-width: 0;
        padding: 0 2px;
    }

    .stw-step-indicator:not(:last-child)::after {
        display: none; /* Hide connecting lines on mobile */
    }

    .stw-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .stw-step-label {
        font-size: 9px;
        line-height: 1.2;
        word-break: break-word;
    }

    /* Content Area */
    .stw-autosports-match-wheels-tires-content {
        padding: 15px 15px 100px;
        font-size: 14px;
    }

    /* Content Row - Stack on Mobile */
    .stw-autosports-match-wheels-tires-content-row {
        flex-direction: column;
    }

    .stw-autosports-match-wheels-tires-vihicle-content {
        margin-right: 0;
        margin-bottom: 20px;
        padding-right: 0;
        padding-bottom: 20px;
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
        max-width: 100%;
    }

    .stw-autosports-match-wheels-tires-vihicle-content > * {
        max-width: 100%;
    }

    /* Product Items */
    .stw-autosports-addon-product-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .stw-autosports-addon-product-item img {
        width: 100%;
        height: auto;
        max-height: 200px;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .stw-autosports-addon-product-item-content {
        width: 100%;
    }

    .stw-autosports-addon-product-item-content h4 {
        font-size: 16px;
    }

    .stw-autosports-addon-product-item-content .price {
        font-size: 16px;
    }

    /* Footer */
    .stw-autosports-match-wheels-tires-footer {
        padding: 15px;
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 10;
        background-color: #e1e1e1;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Navigation Buttons */
    .stw-step-navigation {
        flex-direction: column;
        gap: 10px;
    }

    .stw-nav-button {
        width: 100%;
        flex: none;
        padding: 14px 20px;
        font-size: 16px;
        min-width: auto;
        min-height: 44px; /* iOS recommended touch target */
        touch-action: manipulation; /* Prevents double-tap zoom */
    }

    .stw-nav-back {
        order: 1;
    }

    .stw-nav-skip {
        order: 2;
    }

    .stw-nav-next,
    .stw-nav-add-to-cart {
        order: 3;
    }

    /* Step Content Titles */
    .stw-autosports-addon-matched-tires h3,
    .stw-step-choose-coating h3,
    .stw-step-choose-tpms h3,
    .stw-step-choose-lugs h3 {
        font-size: 20px;
    }

    /* Variation Selects */
    .stw-tire-size-select-wrapper,
    .stw-lug-variation-select-wrapper,
    .stw-tpms-variation-select-wrapper {
        margin-top: 10px;
        padding-top: 10px;
    }

    .stw-tire-variation-select,
    .stw-lug-variation-select,
    .stw-tpms-variation-select,
    .stw-ceramic-coating-variation-select {
        font-size: 14px;
        padding: 8px 10px;
    }

    /* Validation Warning */
    .stw-step-validation-warning {
        padding: 10px 12px;
        font-size: 13px;
        margin: 10px 0;
    }

    /* Wheel Compatibility Notice */
    .stw-autosports-wheel-compatibility-notice {
        padding: 12px 15px;
        font-size: 13px;
        margin-top: 15px;
    }

    .stw-compatible-sizes-list {
        flex-direction: column;
        gap: 5px;
    }

    .stw-wheel-sizes-text {
        font-size: 12px;
        word-break: break-word;
    }

    /* Recommended Wheels */
    .stw-recommended-wheels-section {
        margin-top: 15px;
        padding-top: 15px;
    }

    .stw-recommended-wheels-list {
        grid-gap: 10px;
    }

    .stw-recommended-wheel-item {
        padding: 8px;
    }

    .stw-recommended-wheel-item img {
        height: 100px;
    }

    /* Vehicle Image */
    .stw-autosports-addon-vehicle-image {
        margin-top: 15px;
        max-width: 50vw;
        margin-left: auto;
        margin-right: auto;
    }

    .stw-autosports-addon-vehicle-image img {
        max-width: 100%;
        height: auto;
    }

    /* Dropdown Fields */
    .stw-autosports-addon-dropdown-field {
        margin-bottom: 15px;
    }

    .stw-autosports-addon-dropdown-field select {
        width: 100%;
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 4px;
    }

    /* Button Touch Targets */
    .stw-autosports-match-wheels-tires-vihicle-content button {
        min-height: 44px; /* iOS recommended touch target */
        padding: 12px 20px;
        font-size: 16px;
    }

    /* Staggered Tire Option */
    .stw-staggered-tire-option {
        padding: 12px;
        margin-bottom: 15px;
    }

    .stw-staggered-tire-option select {
        font-size: 14px;
        padding: 8px;
    }

    /* Coating Options */
    .stw-coating-options {
        grid-gap: 15px;
    }

    /* Product Lists Grid Adjustments */
    .stw-autosports-addon-matched-tires-list,
.stw-autosports-addon-matched-lugs-list,
.stw-autosports-addon-matched-tpms-list,
.stw-autosports-addon-matched-ceramic-coatings-list,
.stw-autosports-addon-matched-wet-tire-dressing-list {
        grid-gap: 15px;
    }
}

/* ============================================
   SMALL MOBILE STYLES (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .stw-autosports-match-wheels-tires-header {
        padding: 15px 12px;
    }

    .stw-autosports-match-wheels-tires-header h2 {
        font-size: 20px;
    }

    .stw-autosports-match-wheels-tires-content {
        padding: 12px 12px 90px;
    }

    .stw-autosports-match-wheels-tires-footer {
        padding: 12px;
    }

    .stw-step-indicator {
        flex: 0 0 calc(20% - 2px);
    }

    .stw-step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .stw-step-label {
        font-size: 7px;
    }

    .stw-nav-button {
        padding: 10px 15px;
        font-size: 13px;
    }

    .stw-autosports-addon-product-item {
        padding: 12px;
    }

    .stw-autosports-addon-product-item img {
        max-height: 150px;
    }
}

.stw-autosports-match-wheels-tires-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 48px;
    font-size: 16px;
    font-weight: 500;
    font-family: Oswald, sans-serif;
    color: #fff;
    background-color: #222529;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .02em;
    cursor: pointer;
}

.stw-autosports-addon-vehicle-image {
    margin-top: 20px;
}

.stw-autosports-addon-matched-tires {
    margin-bottom: 30px;
}

.stw-autosports-addon-matched-tires h3 {
    margin-bottom: 8px;
    font-family: Oswald, sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .02em;
}

.stw-matched-tires-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.stw-autosports-addon-matched-tires-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 992px) {
    .stw-autosports-addon-matched-tires-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
/* @media (max-width: 768px) {
    .stw-autosports-addon-matched-tires-list {
        grid-template-columns: 1fr;
    }
} */

/* Matched Lugs List - 2 columns layout */
.stw-autosports-addon-matched-lugs-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .stw-autosports-addon-matched-lugs-list {
        grid-template-columns: 1fr;
    }
}

.stw-package-free-products-content .stw-autosports-addon-matched-lugs-list {
    grid-template-columns: 1fr;
}

/* Matched TPMS Sensors List - 2 columns layout */
.stw-autosports-addon-matched-tpms-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .stw-autosports-addon-matched-tpms-list {
        grid-template-columns: 1fr;
    }
}

/* Matched Ceramic Coatings List - 2 columns layout */
.stw-autosports-addon-matched-ceramic-coatings-list {
    display: grid;
    grid-gap: 20px;
}

/* Matched Wet Tire Dressing List - 2 columns layout */
.stw-autosports-addon-matched-wet-tire-dressing-list {
    display: grid;
    grid-gap: 20px;
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .stw-autosports-addon-matched-ceramic-coatings-list,
    .stw-autosports-addon-matched-wet-tire-dressing-list {
        grid-template-columns: 1fr;
    }
}

/* Coating Options - 2 columns layout */
.stw-coating-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 30px;
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .stw-coating-options {
        grid-template-columns: 1fr;
    }
}

.stw-autosports-addon-matched-tires-list .stw-autosports-addon-product-item,
.stw-autosports-addon-matched-lugs-list .stw-autosports-addon-product-item,
.stw-autosports-addon-matched-tpms-list .stw-autosports-addon-product-item,
.stw-autosports-addon-matched-ceramic-coatings-list .stw-autosports-addon-product-item,
.stw-autosports-addon-matched-wet-tire-dressing-list .stw-autosports-addon-product-item {
    position: relative;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #e1e1e1;
    transition: border-color .3s ease;
}

.stw-autosports-addon-matched-tires-list .stw-autosports-addon-product-item:hover,
.stw-autosports-addon-matched-lugs-list .stw-autosports-addon-product-item:hover,
.stw-autosports-addon-matched-tpms-list .stw-autosports-addon-product-item:hover,
.stw-autosports-addon-matched-ceramic-coatings-list .stw-autosports-addon-product-item:hover,
.stw-autosports-addon-matched-wet-tire-dressing-list .stw-autosports-addon-product-item:hover {
    border-color: #1769b1;
}

.stw-autosports-addon-matched-tires-list .stw-autosports-addon-product-item img,
.stw-autosports-addon-matched-lugs-list .stw-autosports-addon-product-item img,
.stw-autosports-addon-matched-tpms-list .stw-autosports-addon-product-item img,
.stw-autosports-addon-matched-ceramic-coatings-list .stw-autosports-addon-product-item img,
.stw-autosports-addon-matched-wet-tire-dressing-list .stw-autosports-addon-product-item img {
    border: none;
}

.stw-autosports-addon-product-item > span {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
}

.stw-autosports-addon-product-item > span input {
    width: 20px;
    height: 20px;
}

    /* Mobile: Larger touch targets for checkboxes */
    @media (max-width: 768px) {
        .stw-autosports-addon-product-item > span {
            top: 15px;
            left: 15px;
        }

        .stw-autosports-addon-product-item > span input {
            width: 24px;
            height: 24px;
            cursor: pointer;
        }
}

.loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1000;
}

.loading-spinner span {
    display: block;
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #000; /* Spinner color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.stw-autosports-addon-complete-adding-tires {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
}

.stw-autosports-addon-complete-adding-tires h3 {
    margin-bottom: 20px;
}

.stw-autosports-addon-complete-adding-tires-actions .btn {
    margin-right: 10px;
    font-family: Oswald, sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.8em 1.2em;
}

/* Wheel Compatibility Notification */
.stw-autosports-wheel-compatibility-notice {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.stw-autosports-wheel-compatibility-notice.stw-compatible {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.stw-autosports-wheel-compatibility-notice.stw-compatible p {
    margin: 0;
    color: #155724;
}

.stw-autosports-wheel-compatibility-notice.stw-not-compatible {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.stw-autosports-wheel-compatibility-notice.stw-not-compatible p {
    margin: 0;
    color: #155724;
}

/* Compatible Sizes List */
.stw-compatible-sizes-list {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}

.stw-compatible-sizes-list strong {
    margin-right: 5px;
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
}

.stw-wheel-sizes-text {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

.stw-autosports-wheel-compatibility-notice.stw-compatible .stw-wheel-sizes-text {
    color: #155724;
}

.stw-autosports-wheel-compatibility-notice.stw-not-compatible .stw-wheel-sizes-text {
    color: #856404;
}

.stw-wheel-sizes-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.stw-wheel-size-tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    color: #333;
}

.stw-autosports-wheel-compatibility-notice.stw-compatible .stw-wheel-size-tag {
    background-color: rgba(212, 237, 218, 0.8);
    border-color: #c3e6cb;
    color: #155724;
}

.stw-autosports-wheel-compatibility-notice.stw-not-compatible .stw-wheel-size-tag {
    background-color: rgba(255, 243, 205, 0.8);
    border-color: #ffeaa7;
    color: #856404;
}

/* 5 Sets Warning for Off-Road Wheels */
.stw-autosports-5-sets-warning {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 15px 20px;
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 5px;
    font-family: Roboto, sans-serif;
    animation: pulse-warning 2s ease-in-out infinite;
}

.stw-autosports-5-sets-warning p:first-child {
    margin: 0;
    font-weight: bold;
    color: #856404;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stw-autosports-5-sets-warning p:last-child {
    margin: 10px 0 0 0;
    color: #856404;
    font-size: 13px;
    line-height: 1.5;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
}

/* Mobile responsive for 5 sets warning */
@media (max-width: 768px) {
    .stw-autosports-5-sets-warning {
        padding: 12px 15px;
        margin-top: 12px;
    }
    
    .stw-autosports-5-sets-warning p:first-child {
        font-size: 13px;
    }
    
    .stw-autosports-5-sets-warning p:last-child {
        font-size: 12px;
    }
}

/* Recommended Wheels Section */
.stw-recommended-wheels-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 234, 167, 0.5);
}

.stw-recommended-wheels-section strong {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #856404;
}

.stw-recommended-wheels-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

/* Responsive: 2 columns on tablets */
@media (max-width: 992px) {
    .stw-recommended-wheels-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive: 1 column on mobile */
@media (max-width: 768px) {
    .stw-recommended-wheels-list {
        grid-template-columns: 1fr;
    }
}

.stw-recommended-wheel-item {
    display: flex;
    flex-direction: column;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.stw-recommended-wheel-item:hover {
    border-color: #ffc107;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    text-decoration: none;
}

.stw-recommended-wheel-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
    background-color: #f5f5f5;
}

.stw-recommended-wheel-content {
    display: flex;
    flex-direction: column;
}

.stw-recommended-wheel-content h5 {
    margin: 0 0 8px;
    font-family: Oswald, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    letter-spacing: .01em;
}

.stw-recommended-wheel-content .price {
    font-family: Roboto, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #856404;
}

.stw-autosports-selected-wheels-product-wrapper {
    display: flex;
    flex-direction: column;
}

/* Vehicle Required Highlight */
.stw-autosports-match-wheels-tires-vihicle-content.stw-vehicle-required-highlight {
    animation: stw-vehicle-required-pulse 0.5s ease-in-out 3;
    border: 2px solid #ff6b6b;
    border-radius: 4px;
    padding: 10px;
    background-color: #fff5f5;
}

@keyframes stw-vehicle-required-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Vehicle Required Notice */
.stw-vehicle-required-notice {
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 4px solid #ff6b6b;
    border-radius: 4px;
    color: #856404;
}

.stw-vehicle-required-notice p {
    margin: 0 0 8px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.stw-vehicle-required-notice p:last-child {
    margin-bottom: 0;
}

.stw-vehicle-required-notice p strong {
    color: #721c24;
    font-weight: 600;
}

/* Staggered Tires Required Notice */
.stw-staggered-tires-required-notice {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-left: 5px solid #ffc107;
    color: #856404;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 4px;
    font-weight: 600;
    animation: stw-staggered-pulse 2s ease-in-out infinite;
}

@keyframes stw-staggered-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
}

.stw-staggered-tires-required-notice p {
    margin: 0;
    font-size: 16px;
    color: #856404;
}

.stw-staggered-tires-required-notice p:last-child {
    margin: 10px 0 0;
    font-size: 14px;
    color: #856404;
    font-weight: normal;
}

/* Highlight tire selection area in yellow when staggered tires required */
.stw-requires-staggered-tires {
    border: 2px solid #ffc107 !important;
    border-radius: 4px;
    padding: 15px;
    background-color: #fffbf0;
    position: relative;
}

.stw-requires-staggered-tires::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid #ffc107;
    border-radius: 4px;
    animation: stw-staggered-border-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes stw-staggered-border-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Highlight individual tire items when staggered required */
.stw-requires-staggered-tires .stw-autosports-addon-product-item {
    border: 2px solid #ffe69c;
    background-color: #fffef5;
}

.stw-requires-staggered-tires .stw-autosports-addon-product-item:hover {
    border-color: #ffc107;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

/* Highlight checkboxes in yellow */
.stw-requires-staggered-tires .stw-tires-select {
    accent-color: #ffc107;
    border-color: #ffc107;
}

/* Highlight variation selects in yellow */
.stw-requires-staggered-tires .stw-tire-variation-select {
    border: 2px solid #ffc107 !important;
    background-color: #fffbf0;
}

.stw-requires-staggered-tires .stw-tire-variation-select:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25) !important;
    outline: none;
}

/* Bundle Savings Message Styles */
@keyframes stw-savings-pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
        transform: scale(1.01);
    }
}

.stw-bundle-savings-message {
    transition: all 0.3s ease;
}

.stw-bundle-savings-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* Responsive adjustments for savings message */
@media (max-width: 768px) {
    .stw-bundle-savings-message {
        flex-direction: column;
        gap: 8px;
        padding: 14px 16px !important;
    }
    
    .stw-bundle-savings-message > div {
        font-size: 16px !important;
    }
    
    .stw-bundle-savings-message > div > div:last-child {
        font-size: 12px !important;
    }
}

/* Hide quantity input and style quantity text for wheels category products only */
body.single-product .product_cat-wheels .quantity,
body.single-product .product_cat-wheels .woopq-quantity,
body.single-product .product_cat-wheels .variations_button .quantity,
body.single-product .product_cat-wheels .variations_button .woopq-quantity,
body.single-product [class*="product_cat-wheels"] .quantity,
body.single-product [class*="product_cat-wheels"] .woopq-quantity,
body.single-product [class*="product_cat-wheels"] .variations_button .quantity,
body.single-product [class*="product_cat-wheels"] .variations_button .woopq-quantity {
    display: none !important;
}

.stw-wheels-quantity-text {
    display: inline-block;
    margin-left: 15px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    vertical-align: middle;
    line-height: 1.5;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.stw-wheels-quantity-text-variable {
    display: block;
    margin-left: 0;
    margin-top: 10px;
}

/* Better styling for quantity text */
form.cart .stw-wheels-quantity-text,
.variations_button .stw-wheels-quantity-text {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.3px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stw-wheels-quantity-text {
        display: block;
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
        font-size: 13px;
    }
}