/* ══════════════════════════════════
   Roso Product Page — style.css
══════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700;800&display=swap');

.rosop-wrap * { box-sizing: border-box; }
.rosop-wrap { direction: rtl; font-family: 'Assistant', sans-serif; }
.rosop-wrap .rosop-title,
.rosop-wrap .rosop-brand,
.rosop-wrap .rosop-price,
.rosop-wrap .rosop-short-desc,
.rosop-wrap .rosop-desc-content,
.rosop-wrap .rosop-atc-btn,
.rosop-wrap .rosop-buy-btn,
.rosop-wrap .rosop-mobile-atc,
.rosop-wrap .rosop-mobile-buy { font-family: 'Assistant', sans-serif; }

/* ── Breadcrumb ── */
.rosop-breadcrumb { margin-bottom: 20px; font-size: 13px; color: #888; direction: rtl; text-align: right; }
.rosop-breadcrumb a { color: #888; text-decoration: none; }
.rosop-breadcrumb a:hover { color: #111; text-decoration: underline; }

/* ── Inner layout ── */
.rosop-layout-side .rosop-inner {
    display: flex;
    flex-direction: row-reverse; /* info on right (RTL), image on left */
    gap: 40px;
    align-items: flex-start;
    direction: rtl;
}
.rosop-layout-top .rosop-inner { display: block; }

/* ── Gallery ── */
.rosop-layout-side .rosop-gallery { flex: 0 0 47%; }
.rosop-layout-top .rosop-gallery { margin-bottom: 24px; }

.rosop-main-img-wrap {
    position: relative;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    height: 500px; /* default, overridden by Elementor control */
    display: flex;
    align-items: center;
    justify-content: center;
}
.rosop-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s;
}
.rosop-main-img-wrap:hover .rosop-main-img { transform: scale(1.04); }

/* Sale badge */
.rosop-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}

/* Thumbnails */
.rosop-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.rosop-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
}
.rosop-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rosop-thumb.active,
.rosop-thumb:hover { border-color: #111; }

/* ── Info ── */
.rosop-info { flex: 1; min-width: 0; }

.rosop-brand {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    text-decoration: underline;
    cursor: pointer;
}

.rosop-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 12px;
    line-height: 1.3;
    font-family: 'Assistant','Rubik','Heebo',sans-serif;
}

/* Rating */
.rosop-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.rosop-rating .star-rating { font-size: 14px; }
.rosop-review-count { font-size: 12px; color: #888; }

/* Price */
.rosop-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.rosop-price-row .rosop-price {
    margin-bottom: 0;
}
.rosop-disc-pill {
    display: inline-block;
    background: #e53935;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.rosop-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111;
}
.rosop-price ins { text-decoration: none !important; }
.rosop-price del { color: #aaa; font-size: 0.85em; }
.rosop-price del .woocommerce-Price-amount { color: #aaa !important; }
.rosop-price ins .woocommerce-Price-amount { color: #e53935 !important; }
.rosop-price .woocommerce-Price-currencySymbol { font-size: 0.8em; }

/* ── Variations ── */
.rosop-variations { margin-bottom: 20px; }
.rosop-var-group { margin-bottom: 16px; }
.rosop-var-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}
.rosop-var-selected { color: #111; margin-right: 4px; }
.rosop-var-btns { display: flex; flex-wrap: wrap; gap: 8px; }

.rosop-var-btn {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1.5px solid #ddd !important;
    border-radius: 4px !important;
    background: #fff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #333 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    outline: none !important;
}
.rosop-var-btn:hover { border-color: #111 !important; color: #111 !important; }
.rosop-var-btn.active {
    background: #111 !important;
    border-color: #111 !important;
    color: #fff !important;
}
/* Color swatch */
.rosop-var-btn[style] {
    box-sizing: border-box !important;
    width: 26px !important; height: 26px !important;
    min-width: 26px !important; max-width: 26px !important;
    min-height: 26px !important; max-height: 26px !important;
    flex: 0 0 26px !important;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    border-radius: 50% !important;
    border: 1.5px solid transparent !important;
    box-shadow: 0 0 0 1.5px #e0e0e0;
}
.rosop-var-btn[style].active { box-shadow: 0 0 0 2px #111; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Dropdown */
.rosop-var-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    background: #fff !important;
    color: #111 !important;
    cursor: pointer;
    outline: none !important;
}

/* ── Hardened override for third-party color swatches (nic-swatch-btn / nic-swatch-color) ──
   Forces a perfect small circle regardless of theme/other-plugin CSS conflicts */
table.variations button.nic-swatch-btn.nic-swatch-color,
.woocommerce div.product form.cart button.nic-swatch-btn.nic-swatch-color {
    box-sizing: border-box !important;
    display: inline-block !important;
    width: 26px !important; height: 26px !important;
    min-width: 26px !important; max-width: 26px !important;
    min-height: 26px !important; max-height: 26px !important;
    flex: 0 0 26px !important;
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    margin: 2px !important;
    border-radius: 50% !important;
    border: 1.5px solid rgba(0,0,0,.15) !important;
    line-height: normal !important;
}

/* Error */
.rosop-var-error {
    font-size: 12px;
    color: #e53935;
    background: #fdecea;
    padding: 8px 12px;
    border-radius: 4px;
    margin-top: 8px;
}

/* ── Actions ── */
.rosop-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    direction: rtl;
    max-width: 420px;
}
.rosop-actions .rosop-btns-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: nowrap;
}

/* Desktop: qty small and inline */
.rosop-actions .rosop-qty-wrap {
    flex-shrink: 0;
}

/* Mobile: qty goes to next line */
@media (max-width: 768px) {
    .rosop-actions { max-width: 100%; }
    .rosop-actions .rosop-btns-row {
        flex-wrap: wrap !important;
        flex-direction: row;
    }
    /* qty takes full row width → forces it below */
    .rosop-actions .rosop-btns-row .rosop-qty-wrap {
        order: 99 !important;
        width: 130px !important;
        display: flex !important;
        margin: 4px auto 0 !important;
        flex-basis: 100% !important; /* pushes to next line */
        justify-content: center !important;
    }
    .rosop-actions .rosop-atc-btn,
    .rosop-actions .rosop-buy-btn {
        flex: 1;
        min-width: 100px;
    }
}

/* Qty */
.rosop-wrap .rosop-qty-wrap {
    display: inline-flex !important;
    align-items: center !important;
    border: 1.5px solid #111 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    direction: ltr !important;
    height: 44px !important;
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    width: auto !important;
}
.rosop-wrap .rosop-qty-btn {
    width: 36px !important;
    height: 44px !important;
    min-width: 36px !important;
    min-height: 52px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    color: #111 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 10px !important;
    outline: none !important;
    flex-shrink: 0 !important;
    transition: background 0.15s;
    text-align: center !important;
}
.rosop-wrap .rosop-qty-btn:hover { background: #f5f5f5 !important; }
.rosop-wrap .rosop-qty-input {
    width: 40px !important;
    min-width: 40px !important;
    height: 44px !important;
    border: none !important;
    border-right: 1.5px solid #e0e0e0 !important;
    border-left: 1.5px solid #e0e0e0 !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #111 !important;
    background: #fff !important;
    outline: none !important;
    -moz-appearance: textfield !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}
.rosop-wrap .rosop-qty-input::-webkit-outer-spin-button,
.rosop-wrap .rosop-qty-input::-webkit-inner-spin-button { -webkit-appearance: none !important; margin: 0 !important; }

/* Buttons */
.rosop-btns { display: flex; gap: 10px; flex: 1; }
.rosop-atc-btn,
.rosop-buy-btn {
    flex: 1;
    height: 50px;
    border: none !important;
    border-radius: 4px !important;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Assistant','Rubik','Heebo',sans-serif;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    outline: none !important;
    white-space: nowrap;
}
.rosop-atc-btn { background: #111 !important; color: #fff !important; }
.rosop-buy-btn { background: #e53935 !important; color: #fff !important; }
.rosop-atc-btn:hover,
.rosop-buy-btn:hover { opacity: 0.88; transform: scale(1.02); }
.rosop-atc-btn:disabled,
.rosop-buy-btn:disabled { opacity: 0.6 !important; pointer-events: none; }

/* ── Shipping ── */
.rosop-shipping {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #555;
}
.rosop-shipping svg { flex-shrink: 0; }

/* ── Short desc ── */
.rosop-short-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}
.rosop-short-desc ul { padding-right: 20px; }
.rosop-short-desc li { margin-bottom: 4px; }

/* ── SKU ── */
.rosop-sku { font-size: 12px; color: #aaa; }
.rosop-sku span { color: #777; }

/* ── Full description ── */
.rosop-full-desc { margin-top: 40px; border-top: 1px solid #eee; padding-top: 30px; }
.rosop-desc-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 16px; }
.rosop-desc-content { font-size: 14px; color: #555; line-height: 1.8; }

/* ── Toast ── */
.rosop-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #222;
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99999;
}
.rosop-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
    .rosop-layout-side .rosop-inner { flex-direction: column; }
    .rosop-layout-side .rosop-gallery { flex: unset; width: 100%; }
    .rosop-title { font-size: 1.3rem; }
    .rosop-actions { gap: 8px; }
    .rosop-btns { flex-direction: column; }
}

/* ── Sticky mobile ATC bar ── */
.rosop-mobile-bar {
    display: none;
}
@media (max-width: 768px) {
    /* Hide inline actions on mobile */
    .rosop-actions { display: none !important; }

    /* Show sticky bar */
    .rosop-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid #eee;
        padding: 10px 14px;
        gap: 8px;
        align-items: center;
        z-index: 9999;
        box-shadow: 0 -4px 16px rgba(0,0,0,.08);
        direction: rtl;
    }
    /* Sticky bar qty - compact */
    .rosop-mobile-bar .rosop-mobile-qty {
        flex-shrink: 0 !important;
        width: auto !important;
    }
    .rosop-mobile-qty {
        display: inline-flex;
        align-items: center;
        border: 1.5px solid #ddd;
        border-radius: 8px;
        overflow: visible !important; /* don't clip the + */
        direction: ltr;
        flex-shrink: 0;
        background: #fff;
        width: auto;
        min-width: 96px;
        position: relative;
    }
    .rosop-mobile-qty-btn {
        width: 28px; height: 44px;
        background: #fff !important;
        border: none !important;
        font-size: 18px !important;
        font-weight: 300 !important;
        color: #888 !important;
        cursor: pointer;
        display: flex; align-items: center; justify-content: center;
        padding: 0 4px !important;
        outline: none !important;
        line-height: 1;
        flex-shrink: 0;
    }
    .rosop-mobile-qty-input {
        width: 28px; height: 44px;
        border: none !important;
        border-right: 1px solid #e8e8e8 !important;
        border-left: 1px solid #e8e8e8 !important;
        text-align: center;
        font-size: 13px !important; font-weight: 600 !important;
        color: #111 !important; background: #fff !important;
        outline: none !important;
        -moz-appearance: textfield;
        flex-shrink: 0;
        padding: 0 !important;
    }
    .rosop-mobile-qty-input::-webkit-outer-spin-button,
    .rosop-mobile-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
    .rosop-mobile-atc {
        flex: 1;
        height: 52px;
        background: #111 !important; color: #fff !important;
        border: none !important; border-radius: 8px !important;
        font-size: 16px !important; font-weight: 700 !important;
        font-family: 'Assistant', 'Rubik', sans-serif !important;
        letter-spacing: 0.3px !important;
        cursor: pointer; outline: none !important;
    }
    .rosop-mobile-buy {
        flex: 1;
        height: 52px;
        background: #e53935 !important; color: #fff !important;
        border: none !important; border-radius: 8px !important;
        font-size: 16px !important; font-weight: 700 !important;
        font-family: 'Assistant', 'Rubik', sans-serif !important;
        letter-spacing: 0.3px !important;
        cursor: pointer; outline: none !important;
    }
    /* Push content above sticky bar */
    .rosop-wrap { padding-bottom: 80px; }

    /* Mobile layout: image on top */
    .rosop-layout-side .rosop-inner { flex-direction: column !important; }
    .rosop-layout-side .rosop-gallery { flex: unset !important; width: 100%; }
}

/* ── Clamp + Read more ── */
.rosop-clamp {
    display: -webkit-box !important;
    -webkit-line-clamp: var(--clamp-lines, 3);
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* read-more sits inline right after the (clamped) text */
.rosop-desc-wrap,
.rosop-short-desc-wrap {
    display: inline;
}
.rosop-desc-wrap .rosop-desc-content,
.rosop-short-desc-wrap .rosop-short-desc {
    display: inline;
}
.rosop-desc-wrap .rosop-desc-content.rosop-clamp,
.rosop-short-desc-wrap .rosop-short-desc.rosop-clamp {
    display: -webkit-box !important;
}
.rosop-read-more {
    display: inline;
    margin: 0 6px 0 0;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #111 !important;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Discovery', 'Assistant', sans-serif !important;
    outline: none !important;
    white-space: nowrap;
}
.rosop-read-more:hover { opacity: 0.7; }

/* ── Accordions ── */
.rosop-accordions {
    margin-top: 32px;
    border-top: 1px solid #e8e8e8;
    direction: rtl;
}
.rosop-acc-item {
    border-bottom: 1px solid #e8e8e8;
}
.rosop-acc-header {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row; /* RTL: title on right, icon on left naturally */
    justify-content: space-between;
    padding: 18px 0;
    background: none !important;
    border: none !important;
    cursor: pointer;
    text-align: right;
    direction: rtl;
    outline: none !important;
    gap: 12px;
    box-shadow: none !important;
}
/* In RTL flex row: first child (title-wrap) on right, last child (icon) on left ✓ */
.rosop-acc-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    direction: rtl;
    text-align: right;
}
.rosop-acc-title-icon {
    display: flex;
    align-items: center;
    color: #555;
    font-size: 16px;
    flex-shrink: 0;
}
.rosop-acc-title-icon i,
.rosop-acc-title-icon svg { width: 18px; height: 18px; }
.rosop-acc-title {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    font-family: 'Assistant', 'Rubik', 'Heebo', sans-serif;
}
.rosop-acc-icon {
    flex-shrink: 0;
    color: #666;
    display: flex;
    align-items: center;
    transition: transform 0.25s;
    margin-right: auto; /* pushes to LEFT in RTL */
    margin-left: 0;
}
/* Arrow rotates when open - pointing DOWN when closed (left-pointing), UP when open */
.rosop-acc-item.open .rosop-acc-icon { transform: rotate(-90deg); }
.rosop-acc-body { overflow: hidden; }
.rosop-acc-body-inner {
    padding: 4px 0 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    font-family: 'Assistant', 'Rubik', 'Heebo', sans-serif;
}
.rosop-acc-body-inner p { margin: 0 0 10px; }
.rosop-acc-body-inner ul { padding-right: 20px; margin: 0 0 10px; }
.rosop-acc-body-inner li { margin-bottom: 4px; }
.rosop-var-table,
.rosop-acc-body-inner table { width: 100%; border-collapse: collapse; font-size: 13px; font-family: 'Assistant', sans-serif; }
.rosop-var-table th,
.rosop-acc-body-inner table th { text-align: right; font-weight: 600; padding: 10px 12px; background: #f8f8f8; color: #555; width: 40%; }
.rosop-var-table td,
.rosop-acc-body-inner table td { padding: 10px 12px; color: #111; }
.rosop-var-table tr,
.rosop-acc-body-inner table tr { border-bottom: 1px solid #f0f0f0; }

/* ── Specs (ACF) ── */
.rosop-specs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.rosop-spec-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    font-family: 'Assistant', 'Rubik', 'Heebo', sans-serif;
    direction: rtl;
}
.rosop-spec-row:last-child { border-bottom: none; }
.rosop-spec-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-weight: 500;
}
.rosop-spec-icon {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}
.rosop-spec-icon i, .rosop-spec-icon svg { width: 15px; height: 15px; }
.rosop-spec-value {
    color: #111;
    font-weight: 600;
    text-align: left;
}

/* ── Bottom buttons (below accordions) ── */
.rosop-bottom-btns {
    display: none; /* hidden on desktop */
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    direction: rtl;
}
@media (max-width: 768px) {
    .rosop-bottom-btns {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .rosop-bottom-btns .rosop-btns {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    .rosop-bottom-btns .rosop-qty-wrap {
        width: 130px !important;
        margin: 0 auto !important;
        justify-content: center !important;
    }
    .rosop-bottom-btns .rosop-atc-btn,
    .rosop-bottom-btns .rosop-buy-btn { flex: 1; }
}

/* ── Features ── */
.rosop-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 18px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 16px;
    direction: rtl;
}
.rosop-features-cols-1 { grid-template-columns: 1fr; }
.rosop-features-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rosop-features-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rosop-features-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* When placed below the full description */
.rosop-features-after {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}
.rosop-features-after .rosop-features {
    margin-bottom: 0;
}

.rosop-features {
    display: grid;
    gap: 16px 22px;
}

.rosop-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    direction: rtl;
    padding: 4px 0;
}
.rosop-feat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #6b6b6b;
    width: 34px;
    height: 34px;
}
.rosop-feat-icon i {
    font-size: 22px;
    color: inherit;
}
.rosop-feat-icon > svg,
.rosop-feat-icon i > svg {
    width: 22px;
    height: 22px;
}
/* Inline bundled SVG icons */
.rosop-feat-svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #4a4a4a;
}
.rosop-feat-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* make line-art icons inherit a soft color where strokes use currentColor */
.rosop-feat-svg svg [stroke] { stroke: currentColor; }
.rosop-feat-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}
.rosop-feat-text {
    font-size: 14px;
    font-weight: 500;
    color: #3a3a3a;
    font-family: 'Discovery', 'Assistant', 'Rubik', sans-serif;
    line-height: 1.45;
    text-align: right;
}
@media (max-width: 480px) {
    .rosop-features-cols-3,
    .rosop-features-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .rosop-feat-icon, .rosop-feat-svg, .rosop-feat-img { width: 30px; height: 30px; }
}

@media (max-width: 768px) {
    .rosop-features {
        padding: 12px;
        gap: 10px;
    }
    .rosop-feat-item {
        flex-direction: row;
        text-align: right;
        justify-content: flex-end;
    }
    .rosop-feat-icon {
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    .rosop-feat-icon i,
    .rosop-feat-icon svg { width: 24px; height: 24px; font-size: 24px; }
    .rosop-feat-text { font-size: 12px; }
    .rosop-features-cols-3,
    .rosop-features-cols-4 { grid-template-columns: repeat(2, 1fr); }
}

.rosop-breadcrumb .woocommerce-breadcrumb { direction: rtl; text-align: right; display: block; }

/* Ensure + button is always visible */
.rosop-wrap .rosop-minus,
.rosop-wrap .rosop-plus,
.rosop-wrap .rosop-bottom-minus,
.rosop-wrap .rosop-bottom-plus {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

.rosop-wrap .rosop-qty-wrap { min-width: 120px !important; }
.rosop-wrap .rosop-bottom-qty { min-width: 120px !important; }

/* Sticky bar font - change font-family here to update Discovery/custom font */
.rosop-mobile-bar .rosop-mobile-atc,
.rosop-mobile-bar .rosop-mobile-buy {
    font-family: 'Assistant', 'Rubik', sans-serif !important;
    /* To use Discovery font: add @font-face for Discovery and change above */
}
/* Fix + button in sticky bar - explicit sizing */
.rosop-mobile-bar .rosop-mobile-qty {
    overflow: hidden !important;
    min-width: 90px !important;
    border-radius: 8px !important;
}
.rosop-mobile-bar .rosop-mobile-qty .rosop-mobile-qty-btn {
    width: 28px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    background: #fff !important;
    border: none !important;
    font-size: 18px !important;
    color: #555 !important;
    padding: 0 !important;
    cursor: pointer !important;
    outline: none !important;
}
.rosop-mobile-bar .rosop-mobile-qty .rosop-mobile-qty-input {
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 44px !important;
    border-right: 1px solid #e0e0e0 !important;
    border-left: 1px solid #e0e0e0 !important;
    border-top: none !important;
    border-bottom: none !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #111 !important;
    outline: none !important;
    flex-shrink: 0 !important;
    -moz-appearance: textfield !important;
}

/* ── Wishlist button (desktop - inside btns-row) ── */
.rosop-wishlist-btn {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border: 1.5px solid #ddd !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: #111 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
    transition: all 0.2s;
    outline: none !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10) !important;
    padding: 0 !important;
    margin-right: auto !important;
}
.rosop-wishlist-btn:hover { border-color: #e53935 !important; color: #e53935 !important; }
.rosop-wishlist-btn.active { background: #fff0f0 !important; border-color: #e53935 !important; color: #e53935 !important; }
.rosop-wishlist-btn.active svg { fill: #e53935; }

/* ── Mobile sticky bar wishlist — circle on the left ── */
.rosop-mobile-wishlist {
    margin-right: auto !important;
    margin-left: 0 !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    border: 1.5px solid #ddd !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.10) !important;
    order: 99 !important;
}
.rosop-mobile-wishlist:hover { border-color: #e53935 !important; color: #e53935 !important; }
.rosop-mobile-wishlist.active { background: #fff0f0 !important; border-color: #e53935 !important; color: #e53935 !important; }
.rosop-mobile-wishlist.active svg { fill: #e53935; }
