
.rmw-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 48px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.rmw-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 40%, #4f46e5 100%);
    color: #e5e7eb;
    padding: 32px 24px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 24px 55px rgba(15,23,42,0.55);
    text-align: center;
}
.rmw-hero h1 {
    margin: 0 0 10px;
    font-size: 2.2rem;
    letter-spacing: -0.03em;
    color: #f9fafb;
}
.rmw-hero p {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1.05rem;
    color: #d1d5db;
    line-height: 1.55;
}
.trust-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}
.trust-pill {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    text-align: center;
    font-size: 0.9rem;
    color: #334155;
    box-shadow: 0 2px 4px rgba(15,23,42,0.04);
}
.trust-pill strong {
    display: block;
    color: #0f172a;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.product-header {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
    margin-bottom: 16px;
}
.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px 0;
}
.product-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}
.value-compare {
    margin: 0 0 18px 0;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0f9ff 100%);
    border: 1px solid #a7f3d0;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.5;
}
.value-compare strong { color: #047857; }
.value-compare .you-pay {
    display: block;
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}
.product-features li {
    padding: 6px 0;
    color: #334155;
    display: flex;
    align-items: flex-start;
    font-size: 0.92rem;
}
.product-features li::before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}
.product-includes {
    margin: 0 0 18px 0;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.88rem;
    color: #475569;
}
.product-includes strong { color: #0f172a; }
.product-includes ul {
    margin: 8px 0 0 0;
    padding-left: 18px;
}
.product-includes li { margin: 4px 0; }
.pricing-tiers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}
.tier {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.tier-info h4 {
    margin: 0 0 4px 0;
    color: #0f172a;
}
.tier-info p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
}
.tier-price {
    font-size: 1.35rem;
    font-weight: bold;
    color: #1d4ed8;
    white-space: nowrap;
}
.tier-price small {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #64748b;
}
.license-note {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 12px 0;
    line-height: 1.45;
}
.buy-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #1d4ed8;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 8px;
    transition: background 0.2s;
    border: none;
    font-size: 0.95rem;
}
.buy-btn:hover {
    background: #1e40af;
    color: white;
}
.buy-btn.secondary {
    background: #fff;
    color: #1d4ed8;
    border: 2px solid #1d4ed8;
}
.buy-btn.secondary:hover {
    background: #eff6ff;
    color: #1e40af;
}
.buy-btn.nikahfinder { background: #e11d48; }
.buy-btn.nikahfinder:hover { background: #be123c; color: #fff; }
.buy-btn.nikahfinder.secondary {
    background: #fff;
    color: #e11d48;
    border-color: #e11d48;
}
.buy-btn.nikahfinder.secondary:hover { background: #fff1f2; }
.promise-section, .faq-section {
    margin-top: 36px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06);
}
.promise-section h2, .faq-section h2 {
    margin: 0 0 16px;
    color: #0f172a;
    font-size: 1.35rem;
}
.promise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.promise-item {
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}
.promise-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 6px;
}
.faq-item {
    border-top: 1px solid #e2e8f0;
    padding: 14px 0;
}
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #0f172a;
}
.faq-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
}
.checkout-notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.92rem;
    line-height: 1.5;
}
.checkout-notice.info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; }
.checkout-notice.warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.checkout-notice.error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.demo-section {
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.06);
}
.demo-section h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1.35rem;
}
.demo-section > p {
    margin: 0 0 16px;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}
.demo-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #0f172a;
}
.demo-video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.demo-placeholder {
    padding: 28px 20px;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}
.demo-placeholder strong { display: block; color: #0f172a; margin-bottom: 6px; }
.demo-card h3 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #0f172a;
}
.demo-card p {
    margin: 0 0 12px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}
.demo-live-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.demo-live-btn {
    display: inline-block;
    margin-bottom: 0;
    padding: 10px 16px;
    background: #0f172a;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}
.demo-live-btn:hover { background: #1e293b; }
.demo-live-btn.nikahfinder { background: #e11d48; }
.demo-live-btn.nikahfinder:hover { background: #be123c; }
.demo-live-btn.ghost {
    background: #fff;
    color: #0f172a !important;
    border: 1px solid #cbd5e1;
}
.demo-live-btn.ghost:hover { background: #f1f5f9; }
.demo-live-btn.ghost.nikahfinder { color: #e11d48 !important; border-color: #fda4af; }
.demo-live-btn.ghost.nikahfinder:hover { background: #fff1f2; }
.demo-video-note {
    margin-top: 16px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}
.product-demo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 12px;
}
.product-demo-link {
    display: inline-block;
    margin-bottom: 0;
    font-size: 0.88rem;
    color: #1d4ed8;
    text-decoration: none;
}
.product-demo-link:hover { text-decoration: underline; }

/* Pagination below product cards — page buttons before Show: items */
.rmw-wrapper .glrcf-pagination-scope {
    margin-top: 28px;
}
.rmw-wrapper .glrcf-pagination-scope > .pagination-bar-container {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 10px !important;
    min-height: 56px !important;
    overflow: visible !important;
    margin: 0 !important;
    background: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid #e2e8f0 !important;
}
.rmw-wrapper .glrcf-pagination-scope .pagination-center {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    pointer-events: auto !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    order: 1 !important;
}
.rmw-wrapper .glrcf-pagination-scope .items-per-page {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    width: auto !important;
    gap: 8px !important;
    order: 2 !important;
    z-index: 2;
    white-space: nowrap !important;
}
