.goow-product-options {
    border: 1px solid rgba(17, 24, 39, 0.14);
    border-radius: 6px;
    margin: 22px 0;
    padding: 18px;
}

.goow-variation-hint {
    color: #4b5563;
    font-size: 14px;
    margin: 0 0 14px;
}

.goow-option-fieldset {
    border: 0;
    margin: 0 0 18px;
    padding: 0;
}

.goow-option-fieldset legend {
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 0;
}

.goow-swatch-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.goow-swatch {
    cursor: pointer;
    display: block;
    margin: 0;
    position: relative;
}

.goow-swatch input {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.goow-swatch-body {
    align-items: center;
    background: #fff;
    border: 2px solid rgba(17, 24, 39, 0.16);
    border-radius: 6px;
    display: grid;
    gap: 6px;
    grid-template-rows: 82px auto auto;
    min-height: 152px;
    padding: 10px;
    text-align: center;
    transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.goow-swatch input:checked + .goow-swatch-body,
.goow-swatch.is-selected .goow-swatch-body {
    border-color: #1d4ed8;
    box-shadow: 0 0 0 2px rgba(29, 78, 216, 0.14);
}

.goow-swatch.is-unavailable {
    cursor: not-allowed;
}

.goow-swatch.is-unavailable .goow-swatch-body {
    border-color: rgba(17, 24, 39, 0.08);
    box-shadow: none;
    opacity: 0.56;
}

.goow-swatch-image,
.goow-swatch-empty {
    align-items: center;
    background: #f3f4f6;
    border-radius: 4px;
    display: flex;
    height: 82px;
    justify-content: center;
    overflow: hidden;
}

.goow-swatch-img,
.goow-swatch-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.goow-swatch-empty {
    color: #6b7280;
    font-size: 13px;
}

.goow-swatch-label {
    color: #111827;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.goow-swatch-price {
    color: #4b5563;
    font-size: 13px;
}

.goow-options-total {
    border-top: 1px solid rgba(17, 24, 39, 0.12);
    margin: 4px 0 0;
    padding-top: 14px;
}

.goow-cart-option-price {
    color: inherit;
    opacity: 0.78;
}

@media (max-width: 560px) {
    .goow-product-options {
        padding: 14px;
    }

    .goow-swatch-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .goow-swatch-body {
        grid-template-rows: 70px auto auto;
        min-height: 140px;
        padding: 8px;
    }

    .goow-swatch-image,
    .goow-swatch-empty {
        height: 70px;
    }
}
