/* Shared public storefront surfaces. The page templates retain their own layouts. */
:root {
    --store-ink: #182344;
    --store-blue: #303a9b;
    --store-blue-dark: #192451;
    --store-soft: #edf0ff;
    --store-line: #dfe5f0;
    --store-background: #f4f6fb;
    --store-surface: #fff;
    --store-radius: 16px;
    --store-shadow: 0 5px 20px #1823440c;
}

.rn-main, .rn-main.rnw-page, .rn-main.rnp-page, .rn-main.rnc-page {
    color: var(--store-ink);
    background: var(--store-background);
}

.rn-header .rn-search {
    border-color: var(--store-line);
    box-shadow: none;
}

.rn-header .rn-search:focus-within {
    outline: 2px solid var(--store-blue);
    outline-offset: 2px;
}

.rn-header .rn-search-btn,
.rn-main .rn-hero-btn-primary,
.rn-main.rnw-page .rnw-filter-btn {
    background: var(--store-blue);
    color: #fff;
    box-shadow: none;
}

.rn-header .rn-search-btn:hover,
.rn-main .rn-hero-btn-primary:hover,
.rn-main.rnw-page .rnw-filter-btn:hover {
    background: var(--store-blue-dark);
    color: #fff;
}

.rn-main :is(a, button, summary, select):focus-visible,
.rn-header :is(a, button):focus-visible,
.rnf-footer a:focus-visible,
.rp-main a:focus-visible {
    outline: 2px solid #576ad7;
    outline-offset: 2px;
}

.rn-main .rn-hero-main,
.rn-main.rnw-page .rnw-hero-box,
.rn-main.rnc-page .rnc-hero-box,
.rp-main .rp-hero {
    background: linear-gradient(125deg, #16204d, #303a9b);
    border-radius: var(--store-radius);
    box-shadow: var(--store-shadow);
}

.rn-main .rn-hero-main .rn-hero-btn-primary {
    background: #fff;
    color: var(--store-blue-dark);
}

.rn-main .rn-hero-main .rn-hero-btn-primary:hover {
    background: var(--store-soft);
}

.rn-main .rn-home-category,
.rn-main .rn-product-card,
.rn-main.rnw-page :is(.rnw-card, .rnw-toolbar, .rnw-filter-details),
.rn-main.rnp-page :is(.rnp-gallery, .rnp-product-info, .rnp-details-card, .rnp-contact-card),
.rn-main.rnc-page :is(.rnc-quick-card, .rnc-card),
.rp-main :is(.rp-article, .rp-panel) {
    min-width: 0;
    border: 1px solid var(--store-line);
    border-radius: var(--store-radius);
    background: var(--store-surface);
    box-shadow: var(--store-shadow);
}

.rn-main .rn-home-category {
    align-content: center;
    text-align: center;
}

.rn-main .rn-home-category strong,
.rn-main .rn-product-title,
.rn-main.rnw-page :is(.rnw-title, .rnw-model),
.rn-main.rnc-page :is(.rnc-action-copy, .rnc-quick-card) {
    overflow-wrap: anywhere;
}

.rn-main .rn-home-category-icon {
    background: var(--store-soft);
    color: var(--store-blue);
}

.rn-main .rn-product-image,
.rn-main.rnw-page .rnw-image,
.rn-main.rnp-page .rnp-picture {
    background: #f8f9fd;
    border-color: var(--store-line);
}

.rn-main.rnw-page .rnw-card::before,
.rn-main.rnw-page .rnw-image::after {
    content: none;
}

.rn-main .rn-product-card:hover,
.rn-main.rnw-page .rnw-card:hover,
.rn-main.rnc-page .rnc-quick-card:hover {
    border-color: #aab6e4;
    box-shadow: 0 8px 22px #18234417;
}

.rn-main.rnw-page .rnw-open {
    width: auto;
    min-height: 40px;
    padding-inline: 10px;
    gap: 6px;
    font-size: .75rem;
    background: var(--store-soft);
    color: var(--store-blue-dark);
    border: 1px solid #dbe1ff;
    box-shadow: none;
}

.rn-main.rnw-page .rnw-open:hover {
    background: var(--store-blue);
    color: #fff;
}

.rn-main.rnw-page .rnw-filter-details summary,
.rn-main.rnw-page :is(.rnw-sort, .rnw-filter-btn) {
    min-height: 44px;
}

.rn-main.rnw-page .rnw-filter-details:not([open]) {
    border-color: #bbc5e8;
}

.rn-main.rnp-page {
    --rnp-cherry: var(--store-blue);
    --rnp-cherry-dark: var(--store-blue-dark);
    --rnp-ink: var(--store-ink);
    --rnp-border: var(--store-line);
}

.rn-main.rnp-page :is(.rnp-price-panel, .rnp-meta-tile) {
    background: #f4f6ff;
    border-color: var(--store-line);
}

.rn-main.rnp-page :is(.rnp-price-icon, .rnp-section-heading > span) {
    background: var(--store-soft);
    border-color: var(--store-line);
    color: var(--store-blue);
}

.rn-main.rnp-page :is(.rnp-title, .rnp-price-value, .rnp-detail-title i) {
    color: var(--store-ink);
}

.rn-main.rnp-page .rnp-price-value {
    font-variant-numeric: tabular-nums;
}

.rn-main.rnp-page .rnp-description {
    color: #38425d;
    font-size: .95rem;
    white-space: normal;
}

.rnp-description h4 {
    margin-block: 1.1em .35em;
    font-size: 1em;
    font-weight: 800;
}

.rnp-description :is(p, ul) {
    margin: 0 0 .8em;
}

.rnp-description ul {
    padding-inline-start: 1.3em;
}

.rnp-description > :last-child {
    margin-bottom: 0;
}

.rn-main.rnc-page .rnc-quick-card {
    min-height: 86px;
}

.rp-main .rp-hero .rp-eyebrow {
    color: #dce3ff;
}

.rnf-footer.rn-footer {
    background: #17234d;
}

@media (max-width: 991.98px) {
    .rn-main.rnc-page .rnc-hero-box {
        min-height: 0;
        padding: 20px;
    }

    .rn-main.rnc-page .rnc-hero h1 {
        font-size: clamp(1.35rem, 5vw, 1.85rem);
    }
}

@media (max-width: 575.98px) {
    .rn-main .rn-home-category strong {
        font-size: .8rem;
    }

    .rn-main.rnw-page .rnw-hero p {
        font-size: .8rem;
    }

    .rn-main.rnw-page .rnw-toolbar-right {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .rn-main.rnw-page .rnw-toolbar-right form {
        flex: 1 1 130px;
        min-width: 0;
    }

    .rn-main.rnw-page .rnw-result-count {
        display: block;
        font-size: .8rem;
    }

    .rn-main.rnw-page .rnw-title {
        font-size: .82rem;
        min-height: 0;
    }

    .rn-main.rnw-page .rnw-body {
        padding: 9px;
    }

    .rn-main.rnw-page :is(.rnw-meta, .rnw-badge, .rnw-price small) {
        font-size: .65rem;
    }

    .rn-main.rnw-page .rnw-footer {
        flex-wrap: wrap;
    }

    .rn-main.rnw-page .rnw-open {
        min-height: 44px;
        width: 100%;
        justify-content: center;
    }

    .rn-main.rnp-page .rnp-mobile-actions {
        background: #fff;
        border-color: var(--store-line);
        grid-template-columns: 3fr 2fr;
    }

    .rn-main.rnc-page .rnc-quick-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .rn-main.rnc-page .rnc-quick-card {
        min-height: 72px;
        gap: 7px;
        padding: 9px;
    }

    .rn-main.rnc-page .rnc-quick-copy strong {
        white-space: normal;
        font-size: .75rem;
    }
}

@media (max-width: 360px) {
    .rn-main.rnc-page .rnc-quick-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .rn-main .rn-product-card,
    .rn-main.rnw-page :is(.rnw-card, .rnw-image img),
    .rn-main.rnc-page .rnc-quick-card {
        transition: none;
        transform: none;
    }
}

@media print {
    .rp-main .rp-hero { background: #fff; box-shadow: none; }
    .rp-main .rp-hero .rp-eyebrow { color: #333; }
    .rp-main .rp-article { border: 0; box-shadow: none; }
}

/* 2026 logo palette harmonization: presentation-only, affects public pages */
:root{--store-ink:#1e254a;--store-blue:#303591;--store-blue-dark:#171c68;--store-soft:#f0f1fc;--store-line:#e3e6f1;--store-background:#f6f7fc}
.rn-header .rn-search-btn,.rn-main.rnw-page .rnw-filter-btn{background:#e82232;color:#fff}
.rn-header .rn-search-btn:hover,.rn-main.rnw-page .rnw-filter-btn:hover{background:#c91629;color:#fff}
.rn-header .rn-logo{object-fit:contain}
.rn-header a:focus-visible,.rn-navbar a:focus-visible{outline:2px solid #e82232;outline-offset:3px}
.rn-main.rnw-page .rnw-open{background:#f1f2fc;color:#303591}
.rn-main.rnw-page .rnw-open:hover{background:#303591;color:#fff}
.rn-main.rnp-page :is(.rnp-cta,.rnp-action-primary):hover{filter:brightness(.95)}
@media(prefers-reduced-motion:reduce){.rn-main *, .rnf-footer *{scroll-behavior:auto!important}}

/* ========================================================================
   REHNUMA PUBLIC WEBSITE • DARK COLOR THEME
   Shared storefront-only: no admin/stock/accounting/DB changes.
   Because the shared header and page templates include inline styles after
   this file, selective !important rules are used only for color surfaces.
   ======================================================================== */
:root {
    --store-ink: #f0f3ff;
    --store-blue: #8f9eff;
    --store-blue-dark: #596bdc;
    --store-soft: #1c2b45;
    --store-line: #33435f;
    --store-background: #0c1528;
    --store-surface: #17243b;
    --store-shadow: 0 6px 26px #03091350;
}
html { color-scheme: dark; }
body { background: #0c1528 !important; color: #eaf0ff; }
/* Header: same local logo, bright white plate so its original dark-blue ink remains legible. */
.rn-header { background: #121e35 !important; border-color: #2b3958 !important; color: #eff3ff !important; }
.rn-topbar { background: #080f1e !important; border-color: #24324a !important; color: #c2cce2 !important; }
.rn-topbar :is(a,span) { color: #c9d2e5 !important; }
.rn-header .rn-brand { background: #f7f8fc; border: 1px solid #cbd3e7; border-radius: 13px; padding: 5px 10px; }
.rn-header .rn-brand .rnh-brand-badge { color: #fff !important; }
.rn-header .rn-header-action,
.rn-header .rn-system-login,
.rn-header .rn-mobile-menu-btn {
    background: #1c2b45 !important;
    border-color: #3b4c6c !important;
    color: #eef3ff !important;
}
.rn-header .rn-header-action:hover,
.rn-header .rn-system-login:hover,
.rn-header .rn-mobile-menu-btn:hover { background: #293b5a !important; }
.rn-header .rn-header-action-content,
.rn-header .rn-header-action-content :is(strong,small),
.rn-header .rn-header-action span { color: #e1e9f9 !important; }
.rn-header .rn-header-action-icon { background: #2b3b5d !important; color: #abbaff !important; }
.rn-header .rn-search {
    background: #0c182b !important;
    border: 1px solid #40516e !important;
    color: #eaf0fe !important;
    box-shadow: none !important;
}
.rn-header .rn-search :is(input,select),
.rn-header .rn-search-input { background: transparent !important; color: #f4f7ff !important; }
.rn-header .rn-search input::placeholder { color: #a5b4cf !important; opacity: 1; }
.rn-header .rn-search-icon { color: #9daed0 !important; }
.rn-header .rn-search-btn { background: #ed2943 !important; color: white !important; }
.rn-header .rn-search-btn:hover { background: #ff4259 !important; }
.rn-navbar { background: #182644 !important; border-color: #374967 !important; color: #e3ebfb !important; }
.rn-navbar .rn-nav-links a { color: #d8e0f5 !important; }
.rn-navbar .rn-nav-links a:hover,
.rn-navbar .rn-nav-links a.active { color: #fff !important; }
.rn-navbar .rn-nav-links a.active::after { background: #f03b50 !important; }
.rn-navbar .rn-category-trigger { background: #2c397f !important; color: #fff !important; border-color: #5267b3 !important; }
.rn-navbar .rn-category-trigger:hover { background: #394aa0 !important; }
.rn-navbar .rn-special-link { color: #ffc0c6 !important; }
.rn-mobile-nav,
.rn-mobile-menu,
.rn-mobile-drawer,
.rn-mobile-panel { background: #111d34 !important; color: #edf2ff !important; border-color: #364865 !important; }
.rn-mobile-nav a,.rn-mobile-menu a,.rn-mobile-drawer a { color: #dbe5fa !important; }
.rn-mobile-nav a.active { background: #27375d !important; color: #fff !important; }
.rnh-mobile-store { background: #1b2a47 !important; border-color: #3b5070 !important; }
.rnh-mobile-store :is(strong,span) { color: #e8effe !important; }
/* Catalog / products / laptops / product view / contact: keep existing forms and behavior. */
.rn-main,
.rn-main.rnw-page,
.rn-main.rnp-page,
.rn-main.rnc-page,
.rp-main { background: #0c1528 !important; color: #e9effd !important; }
.rn-main :is(h1,h2,h3,h4,h5,h6),
.rp-main :is(h1,h2,h3) { color: #f2f5ff; }
.rn-main .rn-home-category,
.rn-main .rn-product-card,
.rn-main.rnw-page :is(.rnw-card,.rnw-toolbar,.rnw-filter-details,.rnw-sidebar),
.rn-main.rnp-page :is(.rnp-gallery,.rnp-product-info,.rnp-details-card,.rnp-contact-card),
.rn-main.rnc-page :is(.rnc-quick-card,.rnc-card),
.rn-main :is(.rn-products-sidebar,.rn-products-toolbar,.rn-products-head-box,.rn-products-filter-head),
.rp-main :is(.rp-article,.rp-panel) {
    background: #17243d !important;
    color: #eaf0fe !important;
    border-color: #394a67 !important;
    box-shadow: 0 6px 18px #02071129 !important;
}
.rn-main .rn-product-card:hover,
.rn-main.rnw-page .rnw-card:hover,
.rn-main.rnc-page .rnc-quick-card:hover { border-color: #8090e9 !important; }
.rn-main .rn-products-empty,
.rn-main .rn-filter-block,
.rn-main .rn-product-footer,
.rn-main .rnw-filter-block,
.rn-main .rnp-price-panel { background: #1a2b47 !important; border-color: #3b4b6b !important; color: #edf3ff !important; }
.rn-main :is(.rn-product-title,.rn-product-meta,.rn-product-model,.rn-product-price,.rn-products-toolbar,.rn-products-sidebar),
.rn-main.rnw-page :is(.rnw-title,.rnw-model,.rnw-price,.rnw-meta,.rnw-filter-label,.rnw-toolbar),
.rn-main.rnp-page :is(.rnp-title,.rnp-price,.rnp-product-info,.rnp-details-card),
.rn-main.rnc-page :is(.rnc-card,.rnc-quick-copy,.rnc-quick-card) { color: #f0f4ff !important; }
.rn-main :is(.rn-product-image,.rnw-image,.rnp-picture,.rnp-gallery .rnp-picture),
.rn-main.rnp-page .rnp-picture,
.rn-main .rn-product-placeholder { background: #edf2ff !important; border-color: #bccbe5 !important; }
.rn-main.rnp-page :is(.rnp-thumbs,.rnp-thumb) { background: #1c2b48 !important; border-color: #455676 !important; }
.rn-main :is(.rnw-brand-link,.rn-filter-list a,.rnw-clear,.rnw-open,.rn-product-footer a),
.rn-main.rnp-page :is(.rnp-breadcrumb a,.rnp-action-secondary) { color: #bbc9ff !important; }
.rn-main.rnw-page .rnw-brand-link.active { background: #2d3d68 !important; color: #fff !important; }
.rn-main :is(input,select,textarea),
.rn-main.rnw-page :is(.rnw-select,.rnw-filter-input),
.rn-main :is(.rn-products-sort-form select,.rn-products-sort-form input) {
    background: #101c31 !important;
    border-color: #445574 !important;
    color: #f0f3ff !important;
    color-scheme: dark;
}
.rn-main :is(input,textarea)::placeholder { color: #acbad4 !important; opacity: 1; }
.rn-main :is(label,legend,small,.rnw-meta,.rnp-breadcrumb,.rnp-detail-label,.rn-product-meta) { color: #bac8df; }
.rn-main :is(.rnw-filter-btn,.rn-btn-primary,.rnp-action-primary,.rnc-action-primary) {
    background: #e72b43 !important;
    border-color: #e72b43 !important;
    color: #fff !important;
}
.rn-main :is(.rnw-filter-btn,.rn-btn-primary,.rnp-action-primary,.rnc-action-primary):hover { background: #ff4059 !important; }
.rn-main a:focus-visible,
.rn-main button:focus-visible,
.rn-main select:focus-visible,
.rn-header a:focus-visible,
.rn-header input:focus-visible,
.rn-navbar a:focus-visible { outline: 3px solid #ff6278 !important; outline-offset: 3px; }
.rn-main.rnp-page .rnp-mobile-actions { background: #17243b !important; border-color: #425371 !important; }
/* Existing footer already uses dark navy: tie it to the new site, no markup changes. */
.rnf-footer { border-top-color: #ed2943 !important; }
@media print {
    html { color-scheme: light; }
    body, .rn-main, .rn-main.rnw-page,.rn-main.rnp-page,.rn-main.rnc-page,.rp-main {
        background: #fff !important; color: #111 !important;
    }
}


/* ===============================================================
   Rehnuma header fix (2026-11-09)
   Correctly cropped artwork, balanced desktop header, responsive
   search and contacts. Public storefront only. All links preserved.
   Keep AFTER legacy CSS to resolve old theme/layout conflicts.
   =============================================================== */
.rn-header {
    background: #101c32 !important;
    border-bottom-color: #314364 !important;
}
.rn-header .rn-header-main {
    min-height: 95px !important;
    display: grid !important;
    grid-template-columns: 204px minmax(260px, 1fr) auto !important;
    column-gap: clamp(12px, 1.2vw, 22px) !important;
    align-items: center !important;
}
.rn-header .rn-brand {
    display: inline-flex !important;
    width: 194px !important;
    min-width: 0 !important;
    height: 82px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 3px 9px !important;
    background: #f7f9fd !important;
    border: 1px solid #dce3f3 !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12) !important;
}
.rn-header .rn-logo {
    display: block !important;
    width: 153px !important;
    height: 76px !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
.rn-header .rnh-brand-badge {
    right: -5px !important;
    bottom: -5px !important;
    padding: 3px 8px !important;
    font-size: 9px !important;
    background: #e7293c !important;
    box-shadow: 0 3px 9px #0004 !important;
}
.rn-header .rn-search {
    height: 47px !important;
    border-radius: 13px !important;
    border-color: #3f516f !important;
    background: #0d182d !important;
}
.rn-header .rn-search input {
    font-size: 14px !important;
    min-width: 0 !important;
}
.rn-header .rn-search-icon { color: #b6c6eb !important; }
.rn-header .rn-search-btn {
    min-width: 83px !important;
    padding: 0 16px !important;
    font-size: 12px !important;
    border: 0 !important;
    background: #e92840 !important;
}
.rn-header .rn-search-btn:hover { background: #cf1e36 !important; }
.rn-header .rn-header-actions { gap: 7px !important; }
.rn-header .rn-header-action,
.rn-header .rn-system-login {
    min-height: 43px !important;
    border: 1px solid #394b6d !important;
    background: #1c2b46 !important;
    border-radius: 11px !important;
    color: #edf2ff !important;
}
.rn-header .rn-header-action { padding: 0 9px !important; gap: 8px !important; }
.rn-header .rn-header-action-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
}
.rn-header .rn-header-action-content small { font-size: 9px !important; }
.rn-header .rn-header-action-content strong { font-size: 11px !important; }
.rn-header .rn-system-login { padding: 0 12px !important; font-size: 11px !important; }
.rn-mobile-menu .rn-mobile-logo { width: 118px !important; height: 66px !important; object-fit: contain !important; }

@media (max-width: 1199.98px) and (min-width: 992px) {
    .rn-header .rn-header-main {
        grid-template-columns: 174px minmax(240px, 1fr) auto !important;
        gap: 12px !important;
        min-height: 80px !important;
    }
    .rn-header .rn-brand { width: 164px !important; height: 72px !important; }
    .rn-header .rn-logo { width: 139px !important; height: 68px !important; }
    .rn-header .rn-search input { font-size: 13px !important; }
}
@media (max-width: 991.98px) {
    .rn-header .rn-header-main {
        min-height: 0 !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "brand actions" "search search" !important;
        gap: 9px 12px !important;
        padding: 9px 0 11px !important;
    }
    .rn-header .rn-brand { grid-area: brand !important; width: 155px !important; height: 71px !important; }
    .rn-header .rn-logo { width: 128px !important; height: 66px !important; }
    .rn-header .rn-header-actions { grid-area: actions !important; gap: 8px !important; }
    .rn-header .rn-search { grid-area: search !important; width: 100% !important; height: 43px !important; margin: 0 !important; }
    .rn-header .rn-search input { font-size: 16px !important; }
    .rn-header .rn-search-btn { min-width: 76px !important; font-size: 12px !important; }
    .rn-header .rn-mobile-menu-btn { height: 43px !important; width: 43px !important; min-width: 43px !important; }
    .rn-header .rn-header-action-whatsapp { height: 43px !important; width: 43px !important; min-height: 43px !important; }
}
@media (max-width: 575.98px) {
    .rn-header .rn-brand { width: 133px !important; height: 63px !important; border-radius: 12px !important; }
    .rn-header .rn-logo { width: 114px !important; height: 59px !important; }
    .rn-header .rn-header-main { gap: 8px !important; }
    .rn-header .rn-search { height: 43px !important; }
    .rn-header .rn-search-btn { min-width: 65px !important; padding: 0 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .rn-header *, .rn-navbar * { transition: none !important; }
}
