/* ==========================================================================
   Rental Products — design system: Roboto + Ubuntu Sans, accent #6cbf3b
   ========================================================================== */

:root {
    --rp-green: #6cbf3b;
    --rp-green-dark: #5aa82d;
    --rp-ink: #111;
    --rp-text: #444;
    --rp-muted: #6a6a6a;
    --rp-border: #ececec;
    --rp-bg-soft: #fafafa;
    --rp-radius: 4px;
    --rp-shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --rp-shadow-md: 0 8px 22px rgba(0,0,0,0.10);
}

.rp-container,
.rp-grid,
.rp-card,
.rp-card-excerpt,
.rp-search,
.rp-search-input,
.rp-btn,
.rp-sidebar,
.rp-cat-list,
.rp-archive-title,
.rp-single-content,
.rp-breadcrumb,
.rp-cart, .rp-cart *,
.rp-checkout, .rp-checkout *,
.rp-quote-drawer, .rp-quote-drawer *,
.rp-quote-toggle {
    font-family: 'Roboto', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}
.rp-card-title,
.rp-single-title,
.rp-archive-title,
.rp-sidebar-title,
.rp-checkout-h,
.rp-drawer-head h3,
.rp-cart-title a {
    font-family: 'Ubuntu Sans', 'Roboto', system-ui, sans-serif;
    font-weight: 800;
}

.rp-container { max-width: 1200px; margin: 0 auto; padding: 24px 16px; }

/* ==========================================================================
   Grid + cards
   ========================================================================== */
.rp-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}
@media (max-width: 1100px) { .rp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .rp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .rp-grid { grid-template-columns: 1fr; } }

.rp-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: var(--rp-radius);
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    text-align: left;
    box-shadow: var(--rp-shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.rp-card:hover {
    box-shadow: var(--rp-shadow-md);
    transform: translateY(-2px);
}
.rp-card-img {
    display: block;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    margin-bottom: 16px;
}
.rp-card-img img { width: 100%; height: 100%; object-fit: contain; }
.rp-card-title {
    font-size: 17px;
    line-height: 1.25;
    margin: 0 0 10px;
    color: var(--rp-ink);
    min-height: 2.5em;
}
.rp-card-title a { color: inherit; text-decoration: none; }
.rp-card-excerpt {
    font-size: 13.5px;
    color: var(--rp-muted);
    margin: 0 0 18px;
    line-height: 1.45;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* "Разгледай" black button */
.rp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1d1d1d;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--rp-radius);
    align-self: flex-start;
    transition: background .15s;
    line-height: 1;
}
.rp-btn:hover { background: #000; }

/* ==========================================================================
   Search bar
   ========================================================================== */
.rp-search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 640px;
    height: 56px;
    border: 1px solid var(--rp-green);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    margin: 14px 0 22px;
    box-sizing: border-box;
}
.rp-search-input {
    flex: 1; border: 0; outline: 0;
    padding: 0 16px;
    font-size: 16px;
    background: #fff;
    color: #222;
    height: 100%;
}
.rp-search-btn {
    border: 0;
    cursor: pointer;
    width: 78px;
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('search-icon-bg.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-color: transparent;
}
.rp-search-btn:hover { filter: brightness(1.08); }

/* ==========================================================================
   Archive layout + sidebar
   ========================================================================== */
.rp-archive-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

/* Mobile sidebar toggle button */
.rp-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--rp-green);
    color: #fff;
    border: 0;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--rp-radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px;
    transition: background .15s;
}
.rp-sidebar-toggle:hover { background: var(--rp-green-dark); }
.rp-sidebar-close {
    display: none;
    background: transparent;
    border: 0;
    color: #888;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    right: 12px;
    transition: all .15s;
}
.rp-sidebar-close:hover { background: #f3f3f3; color: var(--rp-ink); }
.rp-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    transition: opacity .25s ease;
}
.rp-sidebar-overlay.rp-show { opacity: 1; }

@media (max-width: 800px) {
    .rp-archive-layout { grid-template-columns: 1fr; }
    .rp-sidebar-toggle { display: inline-flex; }
    .rp-sidebar-close { display: inline-flex; align-items: center; justify-content: center; }
    .rp-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 320px;
        max-width: 85vw;
        z-index: 9999;
        background: #fff;
        border: 0;
        border-radius: 0;
        border-top: 0;
        padding: 56px 20px 20px;
        box-shadow: 8px 0 30px rgba(0,0,0,0.18);
        transform: translateX(-100%);
        transition: transform .3s cubic-bezier(.4,0,.2,1);
        overflow-y: auto;
    }
    .rp-sidebar.rp-sidebar-open { transform: translateX(0); }
}

.rp-sidebar {
    background: var(--rp-bg-soft);
    border: 1px solid var(--rp-border);
    border-top: 3px solid var(--rp-green);
    padding: 22px;
    border-radius: var(--rp-radius);
    align-self: start;
}
.rp-sidebar-title {
    margin: 0 0 14px;
    font-size: 16px;
    color: var(--rp-ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rp-green);
}
.rp-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 4px;
}
.rp-cat-list::-webkit-scrollbar { width: 6px; }
.rp-cat-list::-webkit-scrollbar-track { background: transparent; }
.rp-cat-list::-webkit-scrollbar-thumb { background: #d8d8d8; border-radius: 3px; }
.rp-cat-list::-webkit-scrollbar-thumb:hover { background: var(--rp-green); }
.rp-cat-list li {
    position: relative;
    padding: 9px 0 9px 18px;
    border-bottom: 1px dashed #e0e0e0;
}
.rp-cat-list li:last-child { border-bottom: 0; }
.rp-cat-list li::before {
    content: "";
    position: absolute;
    left: 0; top: 16px;
    width: 6px; height: 6px;
    background: var(--rp-green);
    border-radius: 50%;
}
.rp-cat-list a {
    color: var(--rp-text);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    transition: color .15s;
}
.rp-cat-list a:hover { color: var(--rp-green); }
.rp-cat-list .rp-active a { color: var(--rp-green); font-weight: 700; }
.rp-count { color: #999; font-size: 12px; }

.rp-archive-title {
    font-size: 32px;
    margin: 0 0 10px;
    color: var(--rp-ink);
}
.rp-cat-desc { color: var(--rp-muted); margin-bottom: 16px; }

/* Sidebar blocks */
.rp-sidebar-block + .rp-sidebar-block {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--rp-border);
}

/* Filters */
.rp-filters { margin: 0; }
.rp-filter-group {
    border-bottom: 1px solid var(--rp-border);
    padding: 4px 0;
}
.rp-filter-group:last-of-type { border-bottom: 0; }
.rp-filter-group > summary {
    list-style: none;
    cursor: pointer;
    padding: 10px 0;
    font-weight: 700;
    font-size: 14px;
    color: var(--rp-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.rp-filter-group > summary::-webkit-details-marker { display: none; }
.rp-filter-group > summary::after {
    content: "+";
    color: var(--rp-green);
    font-size: 18px;
    font-weight: 700;
    transition: transform .2s;
    width: 18px;
    text-align: center;
}
.rp-filter-group[open] > summary::after { content: "−"; }
.rp-filter-group ul {
    list-style: none;
    margin: 0 0 12px;
    padding: 4px 0 6px;
    max-height: 200px;
    overflow-y: auto;
}
.rp-filter-group li { padding: 4px 0; border: 0; }
.rp-filter-group li::before { display: none; }
.rp-filter-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--rp-text);
    padding: 4px 2px;
    border-radius: 3px;
    transition: background .15s, color .15s;
}
.rp-filter-group label:hover { background: rgba(108,191,59,0.08); color: var(--rp-green); }
.rp-filter-group input[type="checkbox"] {
    accent-color: var(--rp-green);
    margin: 0;
    flex: 0 0 auto;
}
.rp-filter-name { flex: 1; }
.rp-filter-count { color: #999; font-size: 12px; }
.rp-filter-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}
.rp-filter-apply {
    background: var(--rp-green);
    color: #fff;
    border: 0;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--rp-radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background .15s;
}
.rp-filter-apply:hover { background: var(--rp-green-dark); }
.rp-filter-clear {
    text-align: center;
    color: #888;
    text-decoration: underline;
    font-size: 12px;
}
.rp-filter-clear:hover { color: #d9534f; }
.rp-no-filters { color: #888; font-size: 13px; margin: 8px 0 0; }

/* Single product — attributes table */
.rp-attrs-block { margin-top: 22px; }
.rp-attrs-title {
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--rp-ink);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rp-green);
}
.rp-attrs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--rp-border);
    border-radius: var(--rp-radius);
    overflow: hidden;
}
.rp-attrs-table tr:nth-child(even) { background: var(--rp-bg-soft); }
.rp-attrs-table th,
.rp-attrs-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--rp-border);
    font-size: 14px;
}
.rp-attrs-table tr:last-child th,
.rp-attrs-table tr:last-child td { border-bottom: 0; }
.rp-attrs-table th {
    color: #666;
    font-weight: 600;
    width: 40%;
    background: rgba(108,191,59,0.06);
    font-family: 'Roboto', sans-serif;
}
.rp-attrs-table td { color: var(--rp-ink); font-weight: 500; }
.rp-attrs-table td a { color: var(--rp-green); text-decoration: none; }
.rp-attrs-table td a:hover { text-decoration: underline; }

/* ==========================================================================
   Single product
   ========================================================================== */
.rp-single-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
}
@media (max-width: 800px) { .rp-single-grid { grid-template-columns: 1fr; } }
.rp-single-image {
    background: #fff;
    border: 1px solid var(--rp-border);
    border-radius: var(--rp-radius);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rp-single-image img { max-width: 100%; height: auto; }
.rp-single-title {
    font-size: 30px;
    margin: 8px 0 18px;
    color: var(--rp-ink);
    line-height: 1.2;
}
.rp-single-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--rp-text);
    background: var(--rp-bg-soft);
    border: 1px solid var(--rp-border);
    border-left: 4px solid var(--rp-green);
    padding: 22px 26px;
    border-radius: var(--rp-radius);
}
.rp-single-content p { margin: 0 0 10px; }
.rp-single-content p:last-child { margin-bottom: 0; }
.rp-breadcrumb {
    font-size: 13px;
    color: #888;
    margin: 0 0 10px;
}
.rp-breadcrumb a { color: var(--rp-green); text-decoration: none; }
.rp-breadcrumb a:hover { text-decoration: underline; }

/* Related products */
.rp-related {
    margin-top: 56px;
    padding-top: 36px;
    border-top: 1px solid var(--rp-border);
}
.rp-related-title {
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--rp-ink);
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}
.rp-related-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--rp-green);
    border-radius: 2px;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.rp-pagination { margin-top: 36px; }
.rp-pagination .nav-links,
.rp-pagination .pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.rp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e0e0e0;
    border-radius: var(--rp-radius);
    background: #fff;
    color: var(--rp-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s;
}
.rp-pagination .page-numbers:hover {
    border-color: var(--rp-green);
    color: var(--rp-green);
}
.rp-pagination .page-numbers.current {
    background: var(--rp-green);
    border-color: var(--rp-green);
    color: #fff;
}
.rp-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
}
.rp-pagination .prev,
.rp-pagination .next { font-weight: 700; }
.rp-pagination h2.screen-reader-text { display: none; }

/* ==========================================================================
   Price
   ========================================================================== */
.rp-price {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}
.rp-price-amount {
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
    font-weight: 800;
    color: var(--rp-green);
    font-size: 20px;
    line-height: 1;
}
.rp-price-period {
    color: var(--rp-muted);
    font-size: 13px;
    font-weight: 500;
}
.rp-card-price { margin: 0 0 14px; }
.rp-card-price .rp-price-amount { font-size: 18px; }
.rp-single-price { margin: 0 0 18px; }
.rp-single-price .rp-price-amount { font-size: 30px; }
.rp-single-price .rp-price-period { font-size: 16px; }

/* Card actions row */
.rp-card .rp-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    margin-top: auto;
}
.rp-card .rp-card-actions .rp-btn { align-self: stretch; }

/* Order button — priced products (adds to side drawer) */
.rp-add-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: var(--rp-green);
    color: #fff !important;
    text-decoration: none;
    border: 0;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    border-radius: var(--rp-radius);
    cursor: pointer;
    transition: background .15s, transform .1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}
.rp-add-order:hover { background: var(--rp-green-dark); }
.rp-add-order:active { transform: translateY(1px); }
.rp-add-order.rp-added { background: #1d1d1d; }
.rp-add-order svg { flex: 0 0 auto; }
.rp-add-order-lg {
    width: auto;
    padding: 14px 34px;
    font-size: 15px;
}

/* ==========================================================================
   Add to inquiry — single page only
   ========================================================================== */
.rp-single-actions { margin-top: 22px; }
.rp-add-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--rp-green);
    color: #fff;
    border: 0;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--rp-radius);
    cursor: pointer;
    transition: background .15s, transform .1s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}
.rp-add-quote:hover { background: var(--rp-green-dark); }
.rp-add-quote:active { transform: translateY(1px); }
.rp-add-quote.rp-added { background: #1d1d1d; }
.rp-add-quote svg { flex: 0 0 auto; }

/* ==========================================================================
   Cart shortcode
   ========================================================================== */
.rp-cart {
    background: #fff;
    border: 1px solid var(--rp-border);
    border-top: 3px solid var(--rp-green);
    border-radius: 6px;
    padding: 26px;
    box-shadow: var(--rp-shadow-sm);
}
.rp-cart-empty {
    text-align: center;
    padding: 50px 20px;
    color: #888;
}
.rp-cart-empty p { margin: 14px 0 0; font-size: 15px; }
.rp-cart-table {
    width: 100%;
    border-collapse: collapse;
}
.rp-cart-table th,
.rp-cart-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}
.rp-cart-table th {
    font-size: 12px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--rp-green);
}
.rp-cart-img { width: 90px; }
.rp-cart-img img {
    width: 76px; height: 76px;
    object-fit: contain;
    background: var(--rp-bg-soft);
    border: 1px solid #eee;
    border-radius: 3px;
}
.rp-cart-title a {
    color: var(--rp-ink);
    font-weight: 800;
    text-decoration: none;
    font-size: 15px;
}
.rp-cart-title a:hover { color: var(--rp-green); }
.rp-qty-input {
    width: 64px;
    padding: 9px 10px;
    border: 1px solid #d8d8d8;
    border-radius: var(--rp-radius);
    font-size: 14px;
    text-align: center;
    background: #fff;
    color: var(--rp-ink);
}
.rp-qty-input:focus {
    outline: 0;
    border-color: var(--rp-green);
    box-shadow: 0 0 0 3px rgba(108,191,59,0.15);
}
.rp-cart-remove {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #999;
    width: 34px; height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: all .15s;
}
.rp-cart-remove:hover { background: #d9534f; border-color: #d9534f; color: #fff; }
.rp-cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    gap: 12px;
    flex-wrap: wrap;
}
.rp-cart-clear {
    background: transparent;
    border: 0;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}
.rp-cart-clear:hover { color: #d9534f; }
.rp-cart-checkout {
    background: var(--rp-green);
    color: #fff !important;
    text-decoration: none;
    padding: 13px 32px;
    border-radius: var(--rp-radius);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background .15s;
}
.rp-cart-checkout:hover { background: var(--rp-green-dark); }

/* ==========================================================================
   Checkout
   ========================================================================== */
.rp-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 28px;
}
@media (max-width: 800px) { .rp-checkout-grid { grid-template-columns: 1fr; } }
.rp-checkout-h {
    font-size: 18px;
    margin: 0 0 16px;
    color: var(--rp-ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--rp-green);
}
.rp-checkout-items,
.rp-checkout-form {
    background: var(--rp-bg-soft);
    border: 1px solid var(--rp-border);
    border-top: 3px solid var(--rp-green);
    border-radius: 6px;
    padding: 26px;
}
.rp-checkout-ul { list-style: none; margin: 0; padding: 0; }
.rp-checkout-ul li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e2e2e2;
}
.rp-checkout-ul li:last-child { border-bottom: 0; }
.rp-checkout-ul img,
.rp-no-img {
    width: 58px; height: 58px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 3px;
    flex: 0 0 58px;
}
.rp-co-meta { display: flex; justify-content: space-between; flex: 1; align-items: center; gap: 10px; }
.rp-co-meta a {
    color: var(--rp-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14.5px;
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
}
.rp-co-meta a:hover { color: var(--rp-green); }
.rp-co-qty {
    color: var(--rp-green);
    font-weight: 800;
    font-size: 14px;
    white-space: nowrap;
    background: rgba(108,191,59,0.10);
    padding: 4px 10px;
    border-radius: 12px;
}
.rp-cart-empty-inline { color: #888; padding: 14px 0; font-style: italic; }

.rp-checkout-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    margin: 14px 0 5px;
}
.rp-checkout-form .rp-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 500px) { .rp-checkout-form .rp-row { grid-template-columns: 1fr; } }
.rp-checkout-form .rp-row label { margin-top: 0; }
.rp-checkout-form input[type="text"],
.rp-checkout-form input[type="email"],
.rp-checkout-form input[type="tel"],
.rp-checkout-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d8d8d8;
    border-radius: var(--rp-radius);
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s, box-shadow .15s;
}
.rp-checkout-form input:focus,
.rp-checkout-form textarea:focus {
    outline: 0;
    border-color: var(--rp-green);
    box-shadow: 0 0 0 3px rgba(108,191,59,0.15);
}
.rp-req { color: var(--rp-green); }
.rp-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: #555;
    margin: 16px 0 0;
    line-height: 1.5;
}
.rp-consent input { accent-color: var(--rp-green); margin-top: 3px; }
.rp-checkout-submit {
    margin-top: 18px;
    background: var(--rp-green);
    color: #fff;
    border: 0;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border-radius: var(--rp-radius);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background .15s, transform .1s;
}
.rp-checkout-submit:hover:not(:disabled) { background: var(--rp-green-dark); }
.rp-checkout-submit:active { transform: translateY(1px); }
.rp-checkout-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.rp-checkout-msg { margin-top: 14px; font-size: 14px; line-height: 1.5; }
.rp-checkout-msg.rp-msg-ok {
    background: #eaf7e0;
    color: #2d6a16;
    padding: 12px 14px;
    border-radius: var(--rp-radius);
    border-left: 3px solid var(--rp-green);
}
.rp-checkout-msg.rp-msg-err {
    background: #fde8e8;
    color: #a83030;
    padding: 12px 14px;
    border-radius: var(--rp-radius);
    border-left: 3px solid #d9534f;
}

/* ==========================================================================
   Floating sidebar cart (drawer)
   ========================================================================== */
.rp-quote-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rp-green);
    color: #fff;
    border: 0;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(108,191,59,0.45), 0 2px 6px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s, background .15s;
}
.rp-quote-toggle:hover { background: var(--rp-green-dark); transform: scale(1.06); }
.rp-quote-toggle.rp-has-items { animation: rp-pulse 1.6s ease-out 1; }
@keyframes rp-pulse {
    0%   { box-shadow: 0 6px 20px rgba(108,191,59,0.45), 0 0 0 0 rgba(108,191,59,0.6); }
    70%  { box-shadow: 0 6px 20px rgba(108,191,59,0.45), 0 0 0 18px rgba(108,191,59,0); }
    100% { box-shadow: 0 6px 20px rgba(108,191,59,0.45), 0 0 0 0 rgba(108,191,59,0); }
}
.rp-quote-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #1d1d1d;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    box-sizing: border-box;
}

.rp-quote-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 9998;
    opacity: 0;
    transition: opacity .25s ease;
}
.rp-quote-overlay.rp-show { opacity: 1; }

.rp-quote-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 420px;
    max-width: 100vw;
    background: #fff;
    z-index: 9999;
    box-shadow: -8px 0 30px rgba(0,0,0,0.18);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
}
.rp-quote-drawer.rp-open { transform: translateX(0); }

.rp-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--rp-border);
    background: #fff;
    position: relative;
}
.rp-drawer-head::after {
    content: "";
    position: absolute;
    left: 24px; right: 24px; bottom: -2px;
    height: 2px;
    background: var(--rp-green);
}
.rp-drawer-head h3 {
    margin: 0;
    font-size: 18px;
    color: var(--rp-ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.rp-drawer-count {
    background: var(--rp-green);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
}
.rp-drawer-close {
    background: transparent;
    border: 0;
    color: #888;
    cursor: pointer;
    font-size: 30px;
    line-height: 1;
    padding: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    transition: all .15s;
}
.rp-drawer-close:hover { background: #f3f3f3; color: var(--rp-ink); }

.rp-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}
.rp-drawer-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}
.rp-drawer-empty p {
    margin: 16px 0 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--rp-text);
}
.rp-drawer-empty small { font-size: 13px; color: #aaa; }

.rp-drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.rp-drawer-list li {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--rp-border);
}
.rp-drawer-list li:last-child { border-bottom: 0; }
.rp-d-img {
    flex: 0 0 70px;
    width: 70px; height: 70px;
    background: var(--rp-bg-soft);
    border: 1px solid var(--rp-border);
    border-radius: var(--rp-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.rp-d-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.rp-d-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
}
.rp-d-title {
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--rp-ink);
    text-decoration: none;
    line-height: 1.3;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.rp-d-title:hover { color: var(--rp-green); }
.rp-d-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.rp-d-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d8d8d8;
    border-radius: var(--rp-radius);
    overflow: hidden;
    background: #fff;
}
.rp-d-qty button {
    background: var(--rp-bg-soft);
    border: 0;
    width: 30px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--rp-text);
    transition: background .15s, color .15s;
}
.rp-d-qty button:hover { background: var(--rp-green); color: #fff; }
.rp-d-qty .rp-qty-input {
    width: 44px;
    height: 32px;
    border: 0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 0;
    font-size: 14px;
    -moz-appearance: textfield;
}
.rp-d-qty .rp-qty-input::-webkit-outer-spin-button,
.rp-d-qty .rp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.rp-d-remove {
    background: transparent;
    border: 0;
    color: #aaa;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: var(--rp-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}
.rp-d-remove:hover { background: #fde8e8; color: #d9534f; }

.rp-drawer-foot {
    border-top: 1px solid var(--rp-border);
    padding: 18px 24px;
    background: var(--rp-bg-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.rp-drawer-clear {
    background: transparent;
    border: 0;
    color: #888;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
    text-align: left;
    padding: 4px 0;
    align-self: flex-start;
}
.rp-drawer-clear:hover { color: #d9534f; }
/* Drawer footer — two action buttons */
.rp-drawer-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.rp-drawer-inquiry,
.rp-drawer-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    text-decoration: none;
    padding: 14px 14px;
    border-radius: var(--rp-radius);
    font-weight: 700;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background .15s, transform .1s;
    line-height: 1;
}
.rp-drawer-inquiry {
    background: #1d1d1d;
    color: #fff !important;
}
.rp-drawer-inquiry:hover { background: #000; }
.rp-drawer-order {
    background: var(--rp-green);
    color: #fff !important;
}
.rp-drawer-order:hover { background: var(--rp-green-dark); }
.rp-drawer-inquiry svg,
.rp-drawer-order svg { flex: 0 0 auto; }
.rp-btn-count {
    background: rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 12px;
    min-width: 18px;
    text-align: center;
}
.rp-drawer-inquiry.rp-disabled,
.rp-drawer-order.rp-disabled {
    background: #d6d6d6;
    color: #fff !important;
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.75;
}
.rp-drawer-order.rp-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Drawer item badges + price */
.rp-d-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}
.rp-d-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 10px;
}
.rp-d-badge-order { background: rgba(108,191,59,0.15); color: var(--rp-green-dark); }
.rp-d-badge-inq   { background: #f0f0f0; color: #777; }
.rp-d-price {
    font-family: 'Ubuntu Sans', 'Roboto', sans-serif;
    font-weight: 800;
    color: var(--rp-green-dark);
    font-size: 14px;
}

/* Cart table price tag */
.rp-cart-price-tag {
    color: var(--rp-green-dark);
    font-weight: 700;
    font-size: 13px;
    margin-top: 4px;
}
