/* ================================================================
   WC Quote Modal – modal.css
   ================================================================ */

/* ── Variables ── */
:root {
    --wcq-teal: #2B3C2D;
    --wcq-teal-dark: #2B3C2D;
    --wcq-text: #1a1a2e;
    --wcq-muted: #6b7280;
    --wcq-border: #e5e7eb;
    --wcq-bg: #ffffff;
    --wcq-aside-bg: #f8f9fa;
    --wcq-radius: 12px;
    --wcq-pill-r: 50px;
    --wcq-transition: .22s ease;
}

/* ── Overlay ── */
.wcq-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: wcqFadeIn .2s ease;
}

.wcq-overlay[hidden] {
    display: none !important;
}

@keyframes wcqFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ── Modal shell ── */
.wcq-modal {
    background: var(--wcq-bg);
    border-radius: var(--wcq-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    display: flex;
    width: 100%;
    max-width: 860px;
    max-height: 92vh;
    overflow: hidden;
    animation: wcqSlideUp .25s ease;
}

@keyframes wcqSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Left aside panel ── */
.wcq-modal__aside {
    width: 260px;
    flex-shrink: 0;
    background: var(--wcq-aside-bg);
    border-right: 1px solid var(--wcq-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    gap: 16px;
}

.wcq-aside-img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--wcq-border);
    background: #fff;
}

.wcq-aside-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--wcq-text);
    text-align: center;
    margin: 0;
    line-height: 1.35;
}

.wcq-aside-price {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    justify-content: center;
}

.wcq-price-old {
    opacity: 0.5;
    text-decoration: line-through;
    font-size: 14px;
}

.wcq-aside-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.wcq-aside-meta li {
    font-size: 12px;
    color: var(--wcq-muted);
    padding: 3px 0;
    border-bottom: 1px solid var(--wcq-border);
    display: flex;
    gap: 4px;
}

.wcq-aside-meta li strong {
    color: var(--wcq-text);
    font-weight: 600;
}

/* ── Right body ── */
.wcq-modal__body {
    flex: 1;
    padding: 32px 36px 28px;
    overflow-y: auto;
    position: relative;
}

/* ── Close ── */
.wcq-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--wcq-muted);
    line-height: 1;
    padding: 4px 6px;
    border-radius: 4px;
    transition: color var(--wcq-transition), background var(--wcq-transition);
}

.wcq-close:hover {
    color: var(--wcq-text);
    background: var(--wcq-border);
}

/* ── Step indicators ── */
.wcq-steps {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 24px;
}

.wcq-step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--wcq-border);
    color: var(--wcq-muted);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background var(--wcq-transition), color var(--wcq-transition);
}

.wcq-step--active {
    background: var(--wcq-teal);
    color: #fff;
}

.wcq-step--done {
    background: var(--wcq-teal-dark);
    color: #fff;
}

.wcq-step-line {
    flex: 1;
    height: 2px;
    background: var(--wcq-border);
    max-width: 60px;
}

/* ── Panes ── */
.wcq-pane {
    display: block;
}

.wcq-pane--hidden {
    display: none !important;
}

.wcq-pane__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--wcq-text);
    margin: 0 0 4px;
}

.wcq-pane__sub {
    font-size: 13px;
    color: var(--wcq-muted);
    margin: 0 0 20px;
}

/* ── Fields ── */
.wcq-field {
    margin-bottom: 16px;
}

.wcq-field label:first-child {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--wcq-text);
    margin-bottom: 6px;
}

.wcq-field input[type="text"],
.wcq-field input[type="email"],
.wcq-field input[type="tel"],
.wcq-field input[type="number"],
.wcq-field textarea,
.wcq-field select {
    width: 100%;
    border: 1.5px solid var(--wcq-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--wcq-text);
    background: #fff;
    transition: border-color var(--wcq-transition), box-shadow var(--wcq-transition);
    outline: none;
    box-sizing: border-box;
}

.wcq-field input:focus,
.wcq-field textarea:focus,
.wcq-field select:focus {
    border-color: var(--wcq-teal);
    box-shadow: 0 0 0 3px rgba(14, 173, 173, .12);
}

.wcq-field textarea {
    resize: vertical;
    min-height: 90px;
}

/* Phone with prefix */
.wcq-phone-wrap {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--wcq-border);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color var(--wcq-transition), box-shadow var(--wcq-transition);
}

.wcq-phone-wrap:focus-within {
    border-color: var(--wcq-teal);
    box-shadow: 0 0 0 3px rgba(14, 173, 173, .12);
}

.wcq-phone-prefix {
    background: var(--wcq-aside-bg);
    border-right: 1px solid var(--wcq-border);
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--wcq-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.wcq-phone-wrap input {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Qty + unit side-by-side */
.wcq-qty-wrap {
    display: flex;
    gap: 8px;
}

.wcq-qty-wrap input {
    flex: 1;
}

.wcq-qty-wrap select {
    width: 110px;
    flex-shrink: 0;
}

/* ── Pill radio groups ── */
.wcq-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wcq-pill input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.wcq-pill span {
    display: inline-block;
    border: 1.5px solid var(--wcq-border);
    border-radius: var(--wcq-pill-r);
    padding: 6px 16px;
    font-size: 13px;
    color: var(--wcq-text);
    cursor: pointer;
    transition: border-color var(--wcq-transition), background var(--wcq-transition), color var(--wcq-transition);
    user-select: none;
}

.wcq-pill input:checked+span {
    border-color: var(--wcq-teal);
    background: var(--wcq-teal);
    color: #fff;
}

.wcq-pill span:hover {
    border-color: var(--wcq-teal);
    color: var(--wcq-teal);
}

/* ── Buttons ── */
.wcq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--wcq-transition), transform var(--wcq-transition), box-shadow var(--wcq-transition);
    letter-spacing: .3px;
}

.wcq-btn--primary {
    background: var(--wcq-teal);
    color: #fff;
    border-color: var(--wcq-teal);
}

.wcq-btn--primary:hover {
    background: var(--wcq-teal-dark);
    border-color: var(--wcq-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 173, 173, .3);
}

.wcq-btn--ghost {
    background: transparent;
    color: var(--wcq-muted);
    border-color: var(--wcq-border);
}

.wcq-btn--ghost:hover {
    border-color: var(--wcq-teal);
    color: var(--wcq-teal);
}

.wcq-btn--full {
    width: 100%;
}

.wcq-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wcq-btn-row {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.wcq-btn-row .wcq-btn--primary {
    flex: 1;
}

/* ── OTP boxes ── */
.wcq-otp-boxes {
    display: flex;
    gap: 12px;
    margin: 20px 0 6px;
}

.wcq-otp-digit {
    width: 56px;
    height: 56px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    border: 2px solid var(--wcq-border);
    border-radius: 10px;
    outline: none;
    transition: border-color var(--wcq-transition), box-shadow var(--wcq-transition);
    color: var(--wcq-text);
}

.wcq-otp-digit:focus {
    border-color: var(--wcq-teal);
    box-shadow: 0 0 0 3px rgba(14, 173, 173, .15);
}

.wcq-otp-digit.wcq-otp-digit--filled {
    border-color: var(--wcq-teal);
}

/* ── Error messages ── */
.wcq-error {
    display: block;
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
    min-height: 16px;
}

/* ── Alert bar ── */
.wcq-alert {
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

.wcq-alert--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.wcq-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* ── Notes ── */
.wcq-otp-note {
    font-size: 12px;
    color: var(--wcq-muted);
    margin: 8px 0;
    line-height: 1.5;
}

.wcq-cta-note {
    text-align: center;
    font-size: 12px;
    color: var(--wcq-teal);
    margin: 8px 0 0;
    font-style: italic;
}

.wcq-resend-row {
    text-align: center;
    font-size: 13px;
    color: var(--wcq-muted);
    margin-top: 16px;
}

.wcq-link-btn {
    background: none;
    border: none;
    color: var(--wcq-teal);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* ── Success screen ── */
.wcq-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 0 16px;
}

.wcq-success__icon {
    width: 64px;
    height: 64px;
    background: var(--wcq-teal);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    animation: wcqPop .35s ease;
}

@keyframes wcqPop {
    0% {
        transform: scale(.5);
        opacity: 0;
    }

    70% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* intl-tel-input overrides */
.iti {
    width: 100%;
}

.iti__flag-container {
    border-right: 1px solid var(--wcq-border);
}

#wcq-phone {
    width: 100%;
    border: 1.5px solid var(--wcq-border);
    border-radius: 8px;
    padding: 10px 14px 10px 90px;
    font-size: 14px;
    color: var(--wcq-text);
    outline: none;
    transition: border-color var(--wcq-transition), box-shadow var(--wcq-transition);
}

#wcq-phone:focus {
    border-color: var(--wcq-teal);
    box-shadow: 0 0 0 3px rgba(14, 173, 173, .12);
}

/* ── "Get Quote" buttons injected by plugin ── */
.wcq-single-button-wrap {
    margin-top: 16px;
}

/* .wcq-open-modal.button,
.wcq-open-modal.button.alt {
    background-color: #466b49 !important;
    border-color: var(--wcq-teal) !important;
    color: #fff !important;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    font-size: 16px !important;
    transition: background var(--wcq-transition), transform var(--wcq-transition);
} */

/* .wcq-open-modal.button:hover,
.wcq-open-modal.button.alt:hover {
    background-color: #121212 !important;
    border-color: var(--wcq-teal-dark) !important;
    transform: translateY(-1px);
} */

/* Hide WC native qty + add to cart just in case CSS is needed too */
/* .single-product .quantity,
.single-product .cart {
    display: none !important;
} */

/* ── Responsive ── */
@media (max-width: 680px) {
    .wcq-modal {
        flex-direction: column;
        max-height: 96vh;
        border-radius: 8px;
    }

    .wcq-modal__aside {
        width: 100%;
        flex-direction: row;
        padding: 14px 16px;
        gap: 12px;
        align-items: flex-start;
    }

    .wcq-aside-img {
        width: 70px;
        height: 70px;
        max-width: 70px;
    }

    .wcq-aside-meta {
        display: none;
    }

    .wcq-aside-name {
        font-size: 13px;
        text-align: left;
    }

    .wcq-aside-price {
        font-size: 15px;
        text-align: left;
    }

    .wcq-modal__body {
        padding: 20px 18px 16px;
    }

    .wcq-otp-boxes {
        gap: 8px;
    }

    .wcq-otp-digit {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
}


/* ── RTL Support ── */
[dir="rtl"] .wcq-modal {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcq-modal__aside {
    border-right: none;
    border-left: 1px solid var(--wcq-border);
}

[dir="rtl"] .wcq-close {
    right: auto;
    left: 16px;
}

[dir="rtl"] .wcq-steps {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcq-pane__title,
[dir="rtl"] .wcq-pane__sub,
[dir="rtl"] .wcq-field label,
[dir="rtl"] .wcq-otp-note,
[dir="rtl"] .wcq-cta-note,
[dir="rtl"] .wcq-resend-row {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .wcq-field input,
[dir="rtl"] .wcq-field textarea,
[dir="rtl"] .wcq-field select {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .wcq-qty-wrap {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcq-btn-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcq-phone-wrap {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcq-phone-prefix {
    border-right: none;
    border-left: 1px solid var(--wcq-border);
}

[dir="rtl"] .wcq-aside-meta li {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .wcq-aside-name,
[dir="rtl"] .wcq-aside-price {
    text-align: right;
    width: 100%;
}

[dir="rtl"] .wcq-pill-group {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcq-otp-boxes {
    flex-direction: row-reverse;
}

/* intl-tel-input RTL fix */
[dir="rtl"] .iti {
    direction: ltr;
    /* keep flag dropdown LTR */
}

[dir="rtl"] #wcq-phone {
    direction: ltr;
    text-align: left;
    padding: 10px 90px 10px 14px;
}

/* Responsive RTL */
@media (max-width: 680px) {
    [dir="rtl"] .wcq-modal {
        flex-direction: column;
    }

    [dir="rtl"] .wcq-modal__aside {
        border-left: none;
        border-bottom: 1px solid var(--wcq-border);
        flex-direction: row-reverse;
    }

    [dir="rtl"] .wcq-aside-name,
    [dir="rtl"] .wcq-aside-price {
        text-align: right;
    }
}


/* ================================================================
   WCQ RAQ PRODUCT GRID  –  [wcq_raq_products] shortcode styles
   ================================================================ */

/* ── Wrapper ── */
.wcq-raq-wrapper {
    position: relative;
    width: 100%;
}

/* Loading overlay */
.wcq-raq-wrapper.wcq-raq-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .65);
    z-index: 10;
    border-radius: 8px;
}

.wcq-raq-wrapper.wcq-raq-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--wcq-border);
    border-top-color: var(--wcq-teal);
    border-radius: 50%;
    animation: wcqSpin .7s linear infinite;
    z-index: 11;
}

@keyframes wcqSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ── Grid columns ── */
.wcq-raq-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 32px;
}

.wcq-raq-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.wcq-raq-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wcq-raq-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wcq-raq-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

.wcq-raq-cols-5 {
    grid-template-columns: repeat(5, 1fr);
}

.wcq-raq-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

/* ── Product Card ── */
.wcq-raq-card {
    background: #fff;
    border: 1px solid var(--wcq-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .22s ease, transform .22s ease;
}

.wcq-raq-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .10);
    transform: translateY(-3px);
}

/* Image */
.wcq-raq-card__img-link {
    display: block;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
}

.wcq-raq-card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .35s ease;
    padding: 12px;
    box-sizing: border-box;
}

.wcq-raq-card:hover .wcq-raq-card__img {
    transform: scale(1.04);
}

/* Body */
.wcq-raq-card__body {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

/* Title */
.wcq-raq-card__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--wcq-text);
    margin: 0;
    line-height: 1.4;
}

.wcq-raq-card__name a {
    color: inherit;
    text-decoration: none;
}

.wcq-raq-card__name a:hover {
    color: var(--wcq-teal);
}

/* Price */
.wcq-raq-card__price {
    font-size: 14px;
    font-weight: 600;
    color: var(--wcq-text);
    margin: 0;
}

.wcq-raq-card__price .woocommerce-Price-amount {
    color: var(--wcq-text);
}

/* Request a Quote button */
.wcq-raq-card__btn {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 10px 16px;
    background: var(--wcq-teal);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    transition: background .22s ease, transform .18s ease, box-shadow .18s ease;
}

.wcq-raq-card__btn:hover {
    background: #1a2a1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 60, 45, .30);
}

/* ── Empty state ── */
.wcq-raq-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 16px;
    color: var(--wcq-muted);
    font-size: 15px;
}

/* ── Pagination ── */
.wcq-raq-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    margin-bottom: 16px;
}

.wcq-raq-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid var(--wcq-border);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--wcq-text);
    text-decoration: none;
    background: #fff;
    transition: background .2s, border-color .2s, color .2s;
    cursor: pointer;
}

.wcq-raq-pagination .page-numbers:hover {
    background: var(--wcq-teal);
    border-color: var(--wcq-teal);
    color: #fff;
}

.wcq-raq-pagination .page-numbers.current {
    background: var(--wcq-teal);
    border-color: var(--wcq-teal);
    color: #fff;
    cursor: default;
}

.wcq-raq-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

/* ── Responsive ── */
@media (max-width: 1024px) {

    .wcq-raq-cols-4,
    .wcq-raq-cols-5,
    .wcq-raq-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .wcq-raq-cols-3,
    .wcq-raq-cols-4,
    .wcq-raq-cols-5,
    .wcq-raq-cols-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .wcq-raq-cols-2,
    .wcq-raq-cols-3,
    .wcq-raq-cols-4,
    .wcq-raq-cols-5,
    .wcq-raq-cols-6 {
        grid-template-columns: 1fr;
    }
}

/* ── RTL support ── */
[dir="rtl"] .wcq-raq-card__name,
[dir="rtl"] .wcq-raq-card__price {
    text-align: right;
    direction: rtl;
}


/* ================================================================
   WCQ RAQ SINGLE-PRODUCT SCROLL  –  [wcq_raq_single_scroll] styles
   ================================================================ */

/* ── Scroll container ── */
#wcq-raq-scroll-container {
    width: 100%;
}

/* ── Sentinel (invisible trigger for IntersectionObserver) ── */
.wcq-raq-scroll-sentinel {
    height: 1px;
    width: 100%;
    display: block;
}

/* ── "All loaded" message ── */
.wcq-raq-all-loaded {
    text-align: center;
    padding: 32px 16px;
    color: var(--wcq-muted);
    font-size: 15px;
    font-style: italic;
}

/* ── Loading spinner between products ── */
.wcq-raq-loading-next {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
}

.wcq-raq-loading-next span {
    width: 44px;
    height: 44px;
    border: 3px solid var(--wcq-border);
    border-top-color: var(--wcq-teal);
    border-radius: 50%;
    animation: wcqSpin .7s linear infinite;
    display: block;
}

/* ── Single-product section ── */
.wcq-raq-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--wcq-border);
    align-items: start;

    /* Entrance animation */
    animation: wcqSlideIn .4s ease both;
}

.wcq-raq-single:last-of-type {
    border-bottom: none;
}

@keyframes wcqSlideIn {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Gallery (left column) ── */
.wcq-raq-single__gallery {
    position: sticky;
    top: 80px;
    /* stick below common admin/theme headers while scrolling */
}

.wcq-raq-gallery__main-wrap {
    position: relative;
    border: 1px solid var(--wcq-border);
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcq-raq-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 16px;
    box-sizing: border-box;
    transition: opacity .25s ease;
}

.wcq-raq-gallery__main-img.wcq-img-changing {
    opacity: 0;
}

/* Prev / Next arrows */
.wcq-raq-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid var(--wcq-border);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wcq-text);
    transition: background .2s, box-shadow .2s;
    z-index: 2;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}

.wcq-raq-gallery__arrow:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
}

.wcq-raq-gallery__prev {
    left: 10px;
}

.wcq-raq-gallery__next {
    right: 10px;
}

/* Counter badge */
.wcq-raq-gallery__counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, .50);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    pointer-events: none;
    white-space: nowrap;
}

/* Thumbnail strip */
.wcq-raq-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.wcq-raq-gallery__thumb {
    width: 68px;
    height: 68px;
    border: 2px solid var(--wcq-border);
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    background: #f8f9fa;
    transition: border-color .2s ease, box-shadow .2s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wcq-raq-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
    display: block;
}

.wcq-raq-gallery__thumb:hover,
.wcq-raq-gallery__thumb:focus {
    border-color: var(--wcq-teal);
    outline: none;
}

.wcq-raq-gallery__thumb--active {
    border-color: var(--wcq-teal);
    box-shadow: 0 0 0 2px rgba(43, 60, 45, .20);
}

/* ── Summary (right column) ── */
.wcq-raq-single__summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Title */
.wcq-raq-single__title {
    font-size: 28px;
    font-weight: 800;
    color: var(--wcq-text);
    margin: 0;
    line-height: 1.25;
}

/* Price badge */
.wcq-raq-single__price-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    border-radius: 50px;
    padding: 7px 18px;
    font-size: 15px;
    font-weight: 600;
    width: fit-content;
}

.wcq-raq-price-label {
    color: #388e3c;
    font-weight: 500;
}

.wcq-raq-single__price-badge .woocommerce-Price-amount {
    color: #2e7d32;
    font-weight: 700;
}

/* Product Details table */
.wcq-raq-single__details {
    border: 1px solid var(--wcq-border);
    border-radius: 8px;
    overflow: hidden;
}

.wcq-raq-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.wcq-raq-details-table thead tr th {
    background: var(--wcq-teal);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 16px;
    text-align: left;
}

.wcq-raq-details-table tbody tr {
    border-top: 1px solid var(--wcq-border);
}

.wcq-raq-details-table tbody tr:first-child {
    border-top: none;
}

.wcq-raq-details-table tbody th {
    padding: 10px 16px;
    font-weight: 600;
    color: var(--wcq-text);
    width: 38%;
    background: #fafafa;
    text-align: left;
}

.wcq-raq-details-table tbody td {
    padding: 10px 16px;
    color: var(--wcq-muted);
}

/* GET QUOTE button */
.wcq-raq-single__btn {
    display: inline-block;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, transform .18s ease, box-shadow .18s ease;
    align-self: flex-start;
}

.wcq-raq-single__btn:hover {
    background: var(--wcq-teal);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(43, 60, 45, .28);
}

/* Description */
.wcq-raq-single__desc {
    font-size: 14px;
    color: var(--wcq-muted);
    line-height: 1.7;
    border-top: 1px solid var(--wcq-border);
    padding-top: 16px;
}

.wcq-raq-single__desc p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .wcq-raq-single {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .wcq-raq-single__gallery {
        position: static;
    }

    .wcq-raq-gallery__main-wrap {
        max-width: 420px;
        margin: 0 auto;
    }

    .wcq-raq-single__title {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .wcq-raq-single {
        padding: 28px 0;
    }

    .wcq-raq-single__title {
        font-size: 19px;
    }

    .wcq-raq-gallery__thumb {
        width: 54px;
        height: 54px;
    }

    .wcq-raq-single__btn {
        width: 100%;
        text-align: center;
        align-self: stretch;
    }
}

/* ── RTL support ── */
[dir="rtl"] .wcq-raq-details-table thead tr th,
[dir="rtl"] .wcq-raq-details-table tbody th,
[dir="rtl"] .wcq-raq-details-table tbody td {
    text-align: right;
}

[dir="rtl"] .wcq-raq-gallery__prev {
    left: auto;
    right: 10px;
}

[dir="rtl"] .wcq-raq-gallery__next {
    right: auto;
    left: 10px;
}

/* ══════════════════════════════════════════════════════════════════
   SINGLE PRODUCT PAGE (INFINITE SCROLL)
   Layout matching Oxygen Builder
══════════════════════════════════════════════════════════════════ */
.wcq-product-cols {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    width: 100%
}

.wcq-product-col-gallery {
    width: 45%;
    padding-inline-end: 32px;
    box-sizing: border-box;
    flex-shrink: 0
}

.wcq-product-col-summary {
    width: 55%;
    padding-inline-start: 32px;
    box-sizing: border-box;
    min-width: 0
}

.wcq-sticky-wrap {
    position: sticky;
    top: 24px;
    width: 100%
}

/* gallery */
.woo-product-gallery {
    width: 100%;
    position: relative
}

.woo-gallery-main {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px
}

.woo-gallery-main .swiper-slide img {
    width: 100%;
    object-fit: contain;
    background: #f8f9fa;
    display: block
}

.woo-gallery-zoom {
    display: block;
    position: relative
}

.zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, .9);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .2s
}

.woo-gallery-zoom:hover .zoom-icon {
    opacity: 1
}

.woo-gallery-thumbs {
    width: 100%;
    margin-top: 10px
}

.woo-gallery-thumbs .swiper-slide {
    width: auto !important;
    height: 80px;
    cursor: pointer;
    opacity: .6;
    transition: opacity .2s;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden
}

.woo-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #2d5a27
}

.woo-gallery-thumbs .swiper-slide img {
    height: 100%;
    width: auto;
    object-fit: contain;
    background: #f8f9fa
}

.woo-gallery-counter {
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: #666
}

/* price badge — matches div_block-14-176 exactly */
.wcq-oxygen-price-badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    background-color: rgb(185, 240, 186);
    color: #3e6f44;
    padding: 6px 12px;
    border-radius: 12px;
    margin-bottom: 40px;
    font-size: 14px;
    flex-wrap: wrap
}

.wcq-oxygen-price-badge .woocommerce-Price-amount {
    color: #3e6f44;
    font-weight: 700
}

/* product title */
.wcq-product-title-heading {
    margin-bottom: 8px;
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: inherit
}

/* description */
.wcq-product-description {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.7;
    color: #555
}

.wcq-product-description p:last-child {
    margin-bottom: 0
}

/* product details table — exact copy from code_block-19-176 CSS */
.product-details-table {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    font-family: sans-serif;
    margin-bottom: 24px
}

.product-details-header {
    background-color: #2d5a27;
    color: #fff;
    padding: 12px 20px
}

.product-details-header h3 {
    margin: 0;
    font-size: 16px;
    color: #fff
}

.product-attributes {
    width: 100%;
    border-collapse: collapse
}

.product-attributes tr {
    border-bottom: 1px solid #eee
}

.product-attributes tr:last-child {
    border-bottom: none
}

.product-attributes th,
.product-attributes td {
    padding: 12px 20px;
    text-align: start;
    font-size: 14px;
    vertical-align: top
}

.product-attributes th {
    font-weight: 600;
    color: #333
}

.product-attributes td {
    color: #555
}

[dir="rtl"] .product-details-header,
[dir="rtl"] .product-attributes th,
[dir="rtl"] .product-attributes td {
    padding-inline-start: 20px;
    padding-inline-end: 20px
}

/* section divider */
.wcq-raq-single-section {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 48px;
    margin-bottom: 48px
}

.wcq-raq-single-section:last-of-type {
    border-bottom: none
}

/* tablet */
@media(max-width:768px) {
    .wcq-product-cols {
        flex-direction: column
    }

    .wcq-product-col-gallery,
    .wcq-product-col-summary {
        width: 100%;
        padding-inline-end: 0;
        padding-inline-start: 0
    }

    .wcq-sticky-wrap {
        position: static
    }

    .wcq-product-col-summary {
        margin-top: 24px
    }
}

/* RTL */
[dir="rtl"] .wcq-product-cols {
    flex-direction: row-reverse
}

[dir="rtl"] .wcq-product-col-gallery {
    padding-inline-end: 0;
    padding-inline-start: 32px
}

[dir="rtl"] .wcq-product-col-summary {
    padding-inline-start: 0;
    padding-inline-end: 32px
}