/* Overlay */
.opc-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9998;
}

.opc-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Sidebar */
.opc-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(420px, 92vw);
    background: #f6f7ef;
    /* light greenish like screenshot */
    transform: translateX(-110%);
    transition: transform .28s ease;
    z-index: 9999;
    box-shadow: 16px 0 50px rgba(0, 0, 0, .18);
}

.opc-sidebar.is-open {
    transform: translateX(0);
}

body.opc-noscroll {
    overflow: hidden;
}

/* Inner layout */
.opc-sidebar__inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Head */
.opc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px 10px;
}

.opc-head__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: hsl(99, 30%, 15%);
    font-size: 18px;
}

.opc-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: hsl(99, 30%, 15%);
}

.opc-close {
    background: none !important;
    color: #858585 !important;
    font-size: 25px !important;
    padding: 0px 6px !important;
}

/* List */
.opc-list {
    padding: 8px 18px 14px;
    overflow: auto;
    flex: 1;
    padding-top: 0px;
}

.opc-empty {
    padding: 16px;
    color: rgba(0, 0, 0, .65);
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: center;
}

/* Item card */
.opc-item {
    display: flex;
    gap: 12px;
    padding: 8px;
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid rgba(35, 90, 40, .18);
    background: rgba(255, 255, 255, .55);
}

.opc-item__img {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.opc-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opc-item__meta {
    flex: 1;
    min-width: 0;
}

.opc-item__top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.opc-item__name {
    font-weight: 600 !important;
    color: hsl(99, 30%, 15%) !important;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.opc-item__name:hover {
    text-decoration: underline;
}

.opc-item__remove {
    background: none !important;
    color: hsl(99, 15%, 40%) !important;
    font-size: 17px !important;
    padding: 0px 10px !important;
}

.opc-item__sub {
    color: hsl(99, 15%, 40%);
    font-size: 13px;
}

.opc-item__price {
    font-size: 16px;
    font-weight: 700;
    color: hsl(99, 30%, 15%);
}

/* Skeleton item (shown while adding a product) */
.opc-item--skeleton {
    opacity: .9;
}

.opc-item--skeleton .opc-item__img {
    background: rgba(0, 0, 0, .04);
}

.opc-item--skeleton .opc-skel {
    background: rgba(0, 0, 0, .08);
    border-radius: 10px;
}

.opc-skel--img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.opc-skel--title {
    height: 16px;
    width: 70%;
}

.opc-skel--x {
    height: 16px;
    width: 16px;
    border-radius: 6px;
    flex: 0 0 auto;
}

.opc-skel--sub {
    margin-top: 10px;
    height: 12px;
    width: 45%;
}

.opc-skel--price {
    margin-top: 12px;
    height: 16px;
    width: 35%;
}

/* Footer */
.opc-foot {
    padding: 6px 18px 18px;
    border-top: 1px solid rgba(0, 0, 0, .08);
}

.opc-ready {
    text-align: center;
    font-size: 13px;
    color: hsl(99, 15%, 40%);
}

/* Buttons */
.opc-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    box-sizing: border-box;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-weight: 650;
    margin-top: 10px;
}

.opc-btn__icon {
    font-size: 16px;
    line-height: 1;
}

.opc-btn--primary {
    background: hsl(99, 59%, 27%);
    color: #fff !important;
    font-weight: bold !important;
}

.opc-btn--primary:hover {
    background: #396d1ce6;
}

.opc-btn--ghost {
    background-color: white !important;
    border-color: hsl(99, 59%, 27%) !important;
    color: hsl(99, 59%, 27%) !important;
    width: 100% !important;
    background-image: none !important;
    border: 1px solid !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.opc-btn--ghost:hover {
    background-color: hsl(99, 59%, 27%) !important;
    color: #fff !important;
    border-color: hsl(99, 59%, 27%) !important;
}

.opc-btn.is-disabled,
.opc-btn[aria-disabled="true"] {
    opacity: .5;
    pointer-events: none;
}

/* Loading state (used while clearing compare list) */
.opc-btn.is-loading {
    pointer-events: none;
    opacity: 1;
    justify-content: center;
    gap: 0;
    min-height: 48px;
}

/* While loading: show only loader */
.opc-btn.is-loading>* {
    display: none;
}

/* Clear button loading styling (green bg + white loader) */
.opc-btn--ghost.is-loading {
    background-color: hsl(99, 59%, 27%) !important;
    border-color: hsl(99, 59%, 27%) !important;
    color: #fff !important;
}

.opc-btn.is-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 3px solid currentColor;
    border-right-color: transparent;
    display: inline-block;
    animation: opc-spin .8s linear infinite;
}

@keyframes opc-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.elementor-2086 {
    background-color: #f6f7ef !important;
}

/* Compare Page */
.opc-compare-wrap {
    background: #f6f7ef;
    padding: 0px 20px;
    border-radius: 14px;
}

.opc-compare-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 4rem 0px;
}

.opc-compare-title {
    margin: 0;
    font-size: 20px;
    color: #1f2b1f;
}

.opc-compare-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: hsl(99, 59%, 27%);
}

.opc-compare-clear {
    border: 1px solid hsl(99, 59%, 27%) !important;
    background: none !important;
    color: hsl(99, 59%, 27%) !important;
    border-radius: 14px !important;
    padding: 8px 12px !important;
    cursor: pointer;
}

.opc-compare-clear:hover {
    background: hsl(99, 59%, 27%) !important;
    color: #fff !important;
    border-color: hsl(99, 59%, 27%) !important;
}

.opc-compare-clear span {
    display: inline-block;
    margin-right: 6px;
    font-size: 16px;
    line-height: 1;
}

.opc-compare-empty {
    padding: 57px;
}

/* Table */
.opc-compare-table-wrap {
    overflow: auto;
    background: rgba(255, 255, 255, .35);
}

.opc-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 860px;
}

.opc-compare-table th,
.opc-compare-table td {
    padding: 12px 12px;
    vertical-align: middle;
    background: rgba(255, 255, 255, .20);
}

/* Remove table borders; keep only horizontal borders on body cells */
.opc-compare-table th,
.opc-compare-table td {
    border: 0;
}

.opc-compare-table tbody td {
    border-bottom: 1px solid rgba(0, 0, 0, .10);
}

.opc-compare-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f6f7ef;
}

.opc-spec-col {
    width: 190px;
    font-weight: 700;
    color: #243224;
}

.opc-prod-col {
    text-align: center;
    min-width: 220px;
}

.opc-prod-col img {
    width: 75px !important;
    height: 75px !important;
    border-radius: 12px !important;

}

.opc-prod-img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
}

.opc-prod-name {
    font-size: 12px;
    font-weight: 600;
    color: hsl(99, 30%, 15%) !important;
}

.opc-prod-name a {
    color: hsl(99, 30%, 15%) !important;
}

.opc-prod-name:hover {
    text-decoration: underline;
}

/* Compare page remove button (per product column) */
.opc-remove-prod {
    background: none !important;
    padding: 0px !important;
    color: hsl(99, 15%, 40%);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    background-image: none !important;
}

.opc-remove-prod:hover {
    color: red !important;
}

.opc-remove-prod[disabled],
.opc-remove-prod[aria-busy="true"] {
    opacity: .6;
    cursor: not-allowed;
}

.opc-row-label {
    font-weight: 500;
    color: #23321b;
    background: rgba(246, 247, 239, .55);
    font-size: 14px;
}

.opc-row-val {
    text-align: center;
    font-size: 12px;
    color: rgba(0, 0, 0, .70);
}

/* Availability badge (In Stock) */
.opc-stock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 650;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.opc-stock--in {
    color: #00b371;
}

.opc-stock svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.opc-addcart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 12px;
    background: #2f6a2e;
    color: #fff !important;
    text-decoration: none;
    font-weight: 650;
    font-size: 12px;
}

.opc-addcart svg {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
}

.opc-addcart span {
    line-height: 1;
}

/* WooCommerce AJAX add-to-cart inserts a "View cart" link after the button; hide it in compare table */
.opc-compare-wrap a.added_to_cart.wc-forward,
.opc-compare-table a.added_to_cart.wc-forward {
    display: none !important;
}

/* Compare icon button on product cards */
.opc-compare-loop-btn,
.opc-compare-trigger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .10);
    background: none !important;
    cursor: pointer;
    color: #2f6a2e !important;
    transition: transform .15s ease, background .15s ease;
    background-image: none !important;
    padding: 0px !important;
}

.opc-compare-trigger:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .9);
}

.opc-compare-trigger svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}

/* Added state for compare icon (checkmark) */
.opc-compare-trigger.is-added,
.opc-compare-loop-btn.is-added {
    background-color: hsl(99, 59%, 27%) !important;
    border-color: hsl(99, 59%, 27%) !important;
    color: #fff !important;
    width: 32px !important;
    height: 32px !important;
}

.opc-icon-empty {
    width: 60px;
    height: 60px;
    background: #edf1e4;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.opc-icon-empty svg {
    color: #617557;
}

.opc-empty-main {
    text-align: center;
}

.opc-add-button {
    background-color: hsl(99, 59%, 27%) !important;
    font-weight: bold !important;
    color: #fff !important;
    border-radius: 14px !important;
    background-image: none !important;
    padding: 12px !important;
}

.opc-no-products,
.opc-add-products {
    margin-bottom: 0px;
    font-size: 18px !important;
}

.opc-add-products {
    margin-bottom: 13px;
    font-size: 15px !important;
}

.opc-no-products {
    font-weight: bold;
    color: hsl(99, 30%, 15%);
}

.opc-prod-col-spec {
    text-align: start !important;
}

.opc-empty1 {
    background-color: white !important;
    padding: 50px 0px !important;
}