.owleys-fitment {
    margin: 34px 0 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--clr-prod-title, #1f1f1f);
    font-family: Cabin, Arial, sans-serif;
}

.owleys-fitment[hidden],
.owleys-fitment [hidden] {
    display: none !important;
}

.owleys-fitment__intro {
    margin: 0 0 16px;
}

.owleys-fitment .product-subhead {
    margin-bottom: 0;
}

.owleys-fitment__eyebrow {
    margin: 0 0 6px;
    color: #a51417;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.owleys-fitment__copy {
    margin: 6px 0 0;
    max-width: 620px;
    color: #5f5a57;
    font-size: 14px;
    line-height: 1.45;
}

.owleys-fitment__fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.owleys-fitment__field {
    min-width: 0;
}

.owleys-fitment__field--trim {
    margin-top: 12px;
    max-width: 360px;
}

.owleys-fitment__field label,
.owleys-fitment__label {
    display: block;
    margin: 0 0 6px;
    color: #4d4743;
    font-size: 13px;
    font-weight: 700;
}

.owleys-fitment__field select {
    width: 100%;
    min-height: 46px;
    padding: 0 44px 0 12px;
    border: 1px solid #d8d1cc;
    border-radius: 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.2 1.4 6 6.2l4.8-4.8' fill='none' stroke='%231f1f1f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 16px center;
    background-repeat: no-repeat;
    background-size: 12px 8px;
    color: #1f1f1f;
    font: 15px/1.2 Cabin, Arial, sans-serif;
}

.owleys-fitment__field select:disabled {
    background-color: #f4f1ef;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.2 1.4 6 6.2l4.8-4.8' fill='none' stroke='%239b948f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    color: #837b75;
    cursor: not-allowed;
}

.owleys-fitment__field select:focus {
    border-color: #1f1f1f;
    outline: 2px solid rgba(31, 31, 31, 0.12);
    outline-offset: 1px;
}

.owleys-fitment__color {
    margin-top: 16px;
}

.owleys-fitment__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.owleys-fitment__swatch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 6px 12px 6px 6px;
    border: 1px solid #d8d1cc;
    border-radius: 999px;
    background: #fff;
    color: #1f1f1f;
    font: 700 13px/1 Cabin, Arial, sans-serif;
    cursor: pointer;
}

.owleys-fitment__swatch[aria-pressed="true"] {
    border-color: #1f1f1f;
    box-shadow: inset 0 0 0 1px #1f1f1f;
}

.owleys-fitment__swatch:focus-visible {
    outline: 2px solid #1f1f1f;
    outline-offset: 2px;
}

.owleys-fitment__swatch img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.owleys-fitment__result {
    margin-top: 16px;
}

.owleys-fitment__notice {
    padding: 13px 14px;
    border: 1px solid #d8d1cc;
    border-left-width: 4px;
    border-radius: 8px;
    background: #faf8f6;
}

.owleys-fitment__notice--fit {
    border-left-color: #2f7d32;
    background: #f4f9f2;
}

.owleys-fitment__notice--warn {
    border-left-color: #a96b12;
    background: #fff8ee;
}

.owleys-fitment__notice--blocked {
    border-left-color: #a51417;
    background: #fff4f4;
}

.owleys-fitment__notice-title {
    margin: 0;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.owleys-fitment__notice-text,
.owleys-fitment__note {
    margin: 5px 0 0;
    color: #5f5a57;
    font-size: 13px;
    line-height: 1.45;
}

.owleys-fitment__options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
    align-items: stretch;
    gap: 12px;
    margin-top: 14px;
}

.owleys-fitment__option {
    display: flex;
    min-width: 0;
    min-height: 324px;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e2dad4;
    border-radius: 10px;
    background: #f3eeeb;
}

.owleys-fitment__option--current {
    border-color: #1f1f1f;
    background: #fff;
}

.owleys-fitment__option--disabled {
    background: #f7f5f3;
    color: #776f69;
}

.owleys-fitment__option-media {
    position: relative;
    height: 148px;
    border-bottom: 1px solid #e2dad4;
    background: #f5f5f5;
}

.owleys-fitment__option-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.owleys-fitment__option-body {
    display: flex;
    min-height: 176px;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.owleys-fitment__option-title {
    margin: 0;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.owleys-fitment__option-meta {
    margin: 6px 0 0;
    color: #5f5a57;
    font-size: 13px;
    line-height: 1.35;
}

.owleys-fitment__option-action {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
}

.owleys-fitment__option-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px 8px;
    margin: 16px 0 0;
}

.owleys-fitment__option-sale {
    color: #008541;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.owleys-fitment__option-price--plain .owleys-fitment__option-sale {
    color: #000;
}

.owleys-fitment__option-compare {
    color: #8b837d;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: line-through;
}

.owleys-fitment__option-saving {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 6px;
    padding: 3px 6px;
    border-radius: 4px;
    background: #fff1e8;
    color: #ff6a1f;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

.owleys-fitment__option-saving + .owleys-fitment__option-price {
    margin-top: 0;
}

.owleys-fitment__option-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid #ff8338;
    border-radius: 8px;
    background: #fff;
    color: #ff8338 !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.owleys-fitment__option-link:hover,
.owleys-fitment__option-link:focus {
    border-color: #ff8338;
    background: #ff8338;
    color: #fff !important;
    text-decoration: none;
}

.owleys-fitment__option-link:disabled {
    opacity: 0.65;
    cursor: wait;
}

.owleys-fitment__option-link:focus-visible {
    outline: 2px solid rgba(255, 131, 56, 0.35);
    outline-offset: 2px;
}

.owleys-fitment__option-atc::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.925 5.371a1 1 0 1 0-1.858-.742L6.317 9h-1.2c-1.076 0-1.614 0-1.913.346-.3.346-.222.878-.067 1.942l.271 1.864c.475 3.265.902 4.898 2.03 5.873s2.778.975 6.08.975h.96c3.302 0 4.953 0 6.08-.975 1.128-.975 1.559-2.608 2.034-5.873l.271-1.864c.155-1.064.233-1.596-.067-1.942S19.96 9 18.883 9h-1.205l-1.75-4.371a1 1 0 0 0-1.857.742L15.523 9h-7.05zM10.997 14v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 2 0M14 13a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.925 5.371a1 1 0 1 0-1.858-.742L6.317 9h-1.2c-1.076 0-1.614 0-1.913.346-.3.346-.222.878-.067 1.942l.271 1.864c.475 3.265.902 4.898 2.03 5.873s2.778.975 6.08.975h.96c3.302 0 4.953 0 6.08-.975 1.128-.975 1.559-2.608 2.034-5.873l.271-1.864c.155-1.064.233-1.596-.067-1.942S19.96 9 18.883 9h-1.205l-1.75-4.371a1 1 0 0 0-1.857.742L15.523 9h-7.05zM10.997 14v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 2 0M14 13a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.owleys-fitment__option-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    padding: 4px 7px;
    border-radius: 6px;
    background: #a51417;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 767px) {
    .owleys-fitment {
        margin: 28px 0 32px;
        padding: 0;
    }

    .owleys-fitment__fields,
    .owleys-fitment__options {
        grid-template-columns: 1fr;
    }

    .owleys-fitment__field--trim {
        max-width: none;
    }

    .owleys-fitment__option {
        min-height: 0;
    }

    .owleys-fitment__option-media {
        height: 150px;
    }

    .owleys-fitment__option-body {
        min-height: 144px;
        padding: 13px 14px 14px;
    }

    .owleys-fitment__option-link {
        min-height: 42px;
        margin-top: 12px;
        padding: 9px 10px;
    }
}
