.oppc-widget {
    --oppc-accent: #2a68ff;
    --oppc-columns: 3;
    --oppc-gap: 24px;
    --oppc-radius: 8px;
    --oppc-card-min-height: 481px;
    --oppc-image-height: 205px;
    --oppc-heading-plate-color: rgba(42, 104, 255, 0.22);
    --oppc-heading-plate-height: 10px;
    --oppc-heading-plate-bottom: 2px;
    width: 100%;
    font-family: Inter, Arial, sans-serif;
}

.oppc-widget,
.oppc-widget * {
    box-sizing: border-box;
}

.oppc-inner {
    width: 100%;
    max-width: 1296px;
    margin-right: auto;
    margin-left: auto;
}

.oppc-heading {
    position: relative;
    z-index: 1;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 32px;
    color: #000;
    font-size: 33px;
    font-weight: 600;
    line-height: 36px;
}

.oppc-widget--heading-plate .oppc-heading::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: var(--oppc-heading-plate-bottom);
    z-index: -1;
    height: var(--oppc-heading-plate-height);
    background: var(--oppc-heading-plate-color);
    border-radius: 2px;
    pointer-events: none;
}

.oppc-grid {
    display: grid;
    grid-template-columns: repeat(var(--oppc-columns), minmax(0, 1fr));
    gap: var(--oppc-gap);
    align-items: stretch;
}

.oppc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: var(--oppc-card-min-height);
    overflow: hidden;
    color: inherit;
    background: #fff;
    border: 1px solid #f1f3f8;
    border-radius: var(--oppc-radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.oppc-card:hover {
    border-color: rgba(42, 104, 255, .34);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .16);
    transform: translateY(-2px);
}

.oppc-card-cover-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-decoration: none !important;
}

.oppc-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: var(--oppc-image-height);
    padding: 0 !important;
    overflow: hidden;
    background: #fff;
}

.oppc-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.oppc-card:hover .oppc-media img {
    transform: scale(1.035);
}

.oppc-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 48px);
    color: #fff;
    background: var(--oppc-accent);
    pointer-events: none;
}

.oppc-badge--square {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.oppc-badge--text {
    min-height: 22px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.oppc-card-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    padding: 24px 24px 16px;
    background: #f5f5f5;
}

.oppc-top-label {
    display: block;
    max-width: 100%;
    margin: 0 0 4px;
    overflow: hidden;
    color: #394452;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    letter-spacing: .7px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.oppc-title {
    display: -webkit-box;
    width: 100%;
    margin: 0 0 12px;
    overflow: hidden;
    color: #09101d;
    font-size: 23px;
    font-weight: 600;
    line-height: 24px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.oppc-sku {
    display: block;
    width: 100%;
    margin: -4px 0 8px;
    overflow: hidden;
    color: #858c94;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oppc-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: #747d87;
    font-family: Inter, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}

.oppc-stock.is-in-stock {
    color: #4f7f45;
}

.oppc-stock.is-out-of-stock {
    color: #747d87;
}

.oppc-stock__check {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 2px solid currentColor;
    border-radius: 2px;
    box-sizing: border-box;
}

.oppc-stock__check::before {
    content: "";
    display: block;
    width: 8px;
    height: 5px;
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    transform: rotate(-45deg) translate(1px, -1px);
}

.oppc-price {
    display: block;
    width: 100%;
    margin: -4px 0 10px;
    color: #09101d;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.oppc-price del {
    opacity: .55;
}

.oppc-price ins {
    text-decoration: none;
}

.oppc-text {
    display: -webkit-box;
    width: 100%;
    overflow: hidden;
    color: #394452;
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}

.oppc-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.oppc-button {
    position: relative;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 12px;
    color: var(--oppc-accent);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    text-decoration: none !important;
    background: #fff;
    border: 2px solid var(--oppc-accent);
    border-radius: 4px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.oppc-button:hover,
.oppc-button:focus {
    color: #fff;
    text-decoration: none !important;
    background: var(--oppc-accent);
    outline: none;
    transform: translateX(2px);
}

.oppc-button-icon {
    display: block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
}

.oppc-icons {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-left: auto;
}

.oppc-icons > * {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.oppc-card-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    color: #858c94;
    text-decoration: none !important;
    background: transparent;
    border: 0;
    transition: color .2s ease, transform .2s ease;
}

.oppc-card-icon:hover,
.oppc-card-icon:focus {
    color: var(--oppc-accent);
    text-decoration: none !important;
    outline: none;
    transform: translateY(-1px);
}

.oppc-card-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.oppc-widget .added_to_cart,
.oppc-widget .wc-forward.added_to_cart {
    display: none !important;
}

.oppc-compare-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.oppc-compare::before {
    content: "\f128";
    font-family: "woodmart-font";
    font-size: 22px;
    line-height: 1;
    transform: translateY(1px);
}

.oppc-more {
    display: none !important;
}

.oppc-share.oppc-copied::after {
    content: "Copied";
    position: absolute;
    right: 50%;
    bottom: calc(100% + 8px);
    padding: 4px 7px;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    background: #09101d;
    border-radius: 4px;
    transform: translateX(50%);
}

.oppc-admin-note {
    padding: 16px 18px;
    color: #394452;
    font-size: 14px;
    line-height: 20px;
    background: #f5f5f5;
    border: 1px solid #dadada;
    border-radius: 8px;
}

@media (max-width: 1200px) {
    .oppc-inner {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 1024px) {
    .oppc-widget {
        --oppc-columns: 2;
        --oppc-card-min-height: 430px;
        --oppc-image-height: 190px;
    }
}

@media (max-width: 767px) {
    .oppc-widget {
        --oppc-columns: 1;
        --oppc-gap: 16px;
        --oppc-card-min-height: 0;
        --oppc-image-height: 175px;
    }

    .oppc-inner {
        padding-right: 16px;
        padding-left: 16px;
    }

    .oppc-heading {
        margin-bottom: 22px;
    }

    .oppc-card {
        min-height: 0;
        border-radius: var(--oppc-radius);
        box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
    }

    .oppc-card:hover {
        transform: none;
    }

    .oppc-media {
        height: var(--oppc-image-height);
        padding: 0 !important;
    }

    .oppc-badge {
        top: 16px;
        left: 16px;
    }

    .oppc-card-body {
        padding: 16px;
    }

    .oppc-title {
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
    }

    .oppc-text {
        -webkit-line-clamp: 3;
    }

    .oppc-actions {
        gap: 12px;
        padding-top: 18px;
    }

    .oppc-button {
        padding: 7px 10px;
    }

    .oppc-icons {
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .oppc-inner {
        padding-right: 14px;
        padding-left: 14px;
    }

    .oppc-media {
        height: 155px;
        padding: 0 !important;
    }

    .oppc-card-body {
        padding: 14px;
    }

    .oppc-actions {
        align-items: center;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .oppc-icons {
        justify-content: flex-end;
        width: auto;
        flex: 0 0 auto;
        gap: 8px;
        margin-left: auto;
    }

    .oppc-button {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 9px;
        padding-left: 9px;
    }

    .oppc-button span {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .oppc-icons > *,
    .oppc-card-icon {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
    }
}
