:root {
    --rp-primary: #1f3c88;
    --rp-primary-dark: #14275c;
    --rp-accent: #ff8a00;
    --rp-bg: #f4f6fb;
}

.rp-body { background: var(--rp-bg); display: flex; flex-direction: column; min-height: 100vh; font-family: "Segoe UI", Roboto, Arial, sans-serif; }
.rp-main { flex: 1 0 auto; }
.rp-sep { margin: 0 .5rem; opacity: .6; }

/* top bar */
.rp-topbar { background: var(--rp-primary-dark); color: #dfe6ff; font-size: .85rem; padding: .4rem 0; }
.rp-topbar a { color: #dfe6ff; text-decoration: none; }
.rp-topbar a:hover { color: #fff; text-decoration: underline; }

/* header */
.rp-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.08); padding: .6rem 0; position: sticky; top: 0; z-index: 1020; }
.rp-logo img { height: 52px; max-width: 160px; object-fit: contain; }
.rp-title { flex: 1; line-height: 1.15; padding: 0 1rem; }
.rp-title-main { display: block; font-size: 1.6rem; font-weight: 700; color: var(--rp-primary); letter-spacing: .5px; }
.rp-title-sub { display: block; font-size: .95rem; font-weight: 600; color: var(--rp-accent); letter-spacing: 2px; text-transform: uppercase; }
.rp-login-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--rp-primary); font-weight: 600; text-decoration: none; }
.rp-login-link i { font-size: 1.9rem; }
.rp-login-link:hover { color: var(--rp-accent); }
@media (max-width: 575.98px) { .rp-title-main { font-size: 1.05rem; } .rp-title-sub { font-size: .7rem; } .rp-logo img { height: 38px; } }

/* footer */
.rp-footer { background: var(--rp-primary-dark); color: #cfd8ff; padding: 1rem 0; font-size: .9rem; margin-top: 2rem; }
.rp-footer a { color: #fff; text-decoration: none; }
.rp-footer a:hover { text-decoration: underline; }

/* buttons */
.btn-rp { background: linear-gradient(135deg, var(--rp-accent), #ff5e00); color: #fff; border: 0; font-weight: 600; border-radius: 50rem; }
.btn-rp:hover, .btn-rp:focus { color: #fff; filter: brightness(1.08); box-shadow: 0 4px 12px rgba(255,94,0,.35); }

/* hero */
.rp-hero { background: linear-gradient(135deg, var(--rp-primary), #3a5fc8); color: #fff; /*padding: 2.5rem 0;*/ }
.rp-hero h1 { font-weight: 700; }
.rp-hero p { margin: 0; opacity: .9; }

/* product cards */
.rp-card { border: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(20,39,92,.08); transition: transform .2s, box-shadow .2s; }
.rp-card:hover { transform: translateY(-5px); box-shadow: 0 10px 24px rgba(20,39,92,.18); }
.rp-card-img { display: flex; align-items: center; justify-content: center; height: 210px; background: #fff; padding: 1rem; }
.rp-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .3s; }
.rp-card:hover .rp-card-img img { transform: scale(1.06); }
.rp-sku { font-size: .78rem; color: #7a849e; text-transform: uppercase; letter-spacing: .5px; }
.rp-card-name { font-weight: 600; margin: .25rem 0 .5rem; min-height: 2.5rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rp-card-name a { color: #1b2440; text-decoration: none; }
.rp-mrp { color: #7a849e; font-size: .9rem; }
.rp-mrp span { color: var(--rp-primary); font-size: 1.2rem; font-weight: 700; margin-left: .25rem; }

/* panels / product page */
.rp-panel { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 2px 10px rgba(20,39,92,.08); }
.rp-section-title { color: var(--rp-primary); font-weight: 700; margin-bottom: 1rem; padding-left: .75rem; border-left: 5px solid var(--rp-accent); }
.rp-product-img { background: #fff; border: 1px solid #eef0f6; border-radius: 12px; padding: 1rem; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.rp-product-img img { max-width: 100%; max-height: 360px; object-fit: contain; }
.rp-product-name { font-weight: 700; color: #1b2440; }
.rp-price { font-size: 1rem; color: #7a849e; }
.rp-price span { font-size: 1.9rem; font-weight: 700; color: var(--rp-primary); }
.rp-tabs .nav-link { color: #55607f; font-weight: 600; }
.rp-tabs .nav-link.active { color: var(--rp-primary); border-bottom: 3px solid var(--rp-accent); }
.rp-tab-content { padding: 1rem .25rem; white-space: pre-line; color: #3c4560; }
.rp-voucher { letter-spacing: 3px; font-weight: 600; }

/* modal */
.rp-modal .modal-header { background: linear-gradient(135deg, var(--rp-primary), #3a5fc8); color: #fff; }
.rp-modal { border: 0; border-radius: 14px; overflow: hidden; }

/* Full page processing loader */
#custom-overlay { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(3px); }
.overlay-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff; padding: 25px 35px; border-radius: 8px; border: 2px solid #d9d9d9; text-align: center; width: 260px; }
.loader-gif { width: 100px; height: 100px; }
.loader-text { margin-top: 12px; font-size: 18px; font-weight: bold; color: #333; }
