
/*
Theme Name: GENZDEAL Premium v2.0
Theme URI: https://genzdeal.in/
Author: GENZDEAL
Description: GENZDEAL mobile-first WooCommerce theme for computers, IT products and peripherals.
Version: 2.0.0
Requires at least: 6.2
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: genzdeal-premium-v2
*/

:root {
    --rcm-primary: #1D4ED8;
    --rcm-primary-dark: #1E3A8A;
    --rcm-secondary: #06B6D4;
    --rcm-background: #F8FAFC;
    --rcm-light: #EFF6FF;
    --rcm-text: #0F172A;
    --rcm-muted: #64748B;
    --rcm-border: #DBEAFE;
    --rcm-radius: 14px;
    --rcm-container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--rcm-background);
    color: var(--rcm-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--rcm-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(var(--rcm-container), calc(100% - 32px));
    margin-inline: auto;
}

/* Announcement */

.rcm-announcement {
    background: var(--rcm-primary);
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
}

/* Header */

.rcm-header {
    background: #F8FAFC;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--rcm-border);
}

.rcm-header-main {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.rcm-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--rcm-primary);
    font-size: 24px;
    font-weight: 900;
    white-space: nowrap;
}

.rcm-brand img {
    max-height: 48px;
    width: auto;
}

.rcm-brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--rcm-primary);
    border-radius: 10px;
}

.rcm-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rcm-icon-button {
    border: 0;
    background: transparent;
    color: var(--rcm-text);
    font-size: 22px;
    cursor: pointer;
}

/* Matching header action icons: identical size, shape and alignment */
.rcm-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rcm-account-link,
.rcm-cart-link {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--rcm-primary);
    background: #F8FAFC;
    border: 1.5px solid #DBEAFE;
    border-radius: 50%;
    box-shadow: 0 2px 7px rgba(116, 23, 45, .07);
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.rcm-account-link:hover,
.rcm-cart-link:hover {
    color: #fff;
    background: var(--rcm-primary);
    border-color: var(--rcm-primary);
    box-shadow: 0 5px 14px rgba(116, 23, 45, .22);
    transform: translateY(-2px);
}

.rcm-account-link svg,
.rcm-cart-link svg {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.rcm-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    z-index: 2;
    min-width: 19px;
    height: 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    color: #fff;
    background: #06B6D4;
    border: 2px solid #fff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
}

/* Search */

.rcm-search-wrap {
    padding: 0 0 13px;
}

.rcm-search-form {
    width: 100%;
    display: flex;
    height: 46px;
    border: 1px solid #CBD5E1;
    border-radius: 50px;
    overflow: hidden;
}

.rcm-search-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 18px;
    background: transparent;
}

.rcm-search-form button {
    background: var(--rcm-primary);
    color: #fff;
    border: 0;
    padding: 0 23px;
    font-weight: 700;
    cursor: pointer;
}

/* Navigation */

.rcm-navigation {
    border-top: 1px solid var(--rcm-border);
    border-bottom: 1px solid var(--rcm-border);
    background: #F8FAFC;
}

.rcm-navigation .container {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.rcm-navigation .container::-webkit-scrollbar {
    display: none;
}

.rcm-navigation a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
}

.rcm-navigation a:hover {
    color: var(--rcm-primary);
    background: var(--rcm-light);
}

/* Mobile menu */

.rcm-mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    font-size: 25px;
    cursor: pointer;
    padding: 4px;
}

/* Homepage */

.rcm-section {
    padding: 24px 0;
}

.rcm-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}

.rcm-section-heading h2 {
    font-size: 25px;
    line-height: 1.2;
    margin: 0;
}

.rcm-section-heading p {
    margin: 5px 0 0;
    color: var(--rcm-muted);
    font-size: 13px;
}

.rcm-section-link {
    color: var(--rcm-primary);
    font-size: 13px;
    font-weight: 700;
}

/* Hero slider */

.rcm-hero {
    min-height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    margin-top: 20px;
    background: linear-gradient(110deg, #1E3A8A, #1D4ED8 65%, #06B6D4);
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
}

.rcm-hero-content {
    max-width: 620px;
    padding: 45px;
    color: #fff;
}

.rcm-hero h1 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    margin: 12px 0;
}

.rcm-hero p {
    font-size: 15px;
    color: #E0F2FE;
}

.rcm-hero-kicker {
    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.rcm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rcm-primary);
    color: #fff !important;
    border: 1px solid var(--rcm-primary);
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 750;
    cursor: pointer;
    transition: .2s;
}

.rcm-button:hover {
    background: var(--rcm-primary-dark);
}

/* Categories */

.rcm-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.rcm-category {
    text-align: center;
    border: 1px solid var(--rcm-border);
    border-radius: var(--rcm-radius);
    padding: 15px 8px;
    transition: .2s;
}

.rcm-category:hover {
    transform: translateY(-3px);
    border-color: var(--rcm-primary);
}

.rcm-category img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    margin: 0 auto 10px;
}

.rcm-category strong {
    display: block;
    font-size: 12px;
}

/* Promotional banner */

.rcm-promo-banner {
    border-radius: 16px;
    padding: 28px;
    background: #EFF6FF;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.rcm-promo-banner h2 {
    margin: 0 0 5px;
    font-size: 23px;
}

.rcm-promo-banner p {
    margin: 0;
    color: var(--rcm-muted);
}

/* WooCommerce products */

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px !important;
    margin: 0 !important;
}

.woocommerce ul.products li.product {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--rcm-border);
    border-radius: var(--rcm-radius);
    background: #F8FAFC;
    overflow: hidden;
    transition: .2s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px #0000000c;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 10px;
    background: #F8FAFC;
    margin: 0 0 10px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
    line-height: 1.4 !important;
    min-height: 37px;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    color: var(--rcm-primary) !important;
    font-weight: 800 !important;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--rcm-primary);
    color: #fff !important;
    border: 0;
    border-radius: 50px;
    padding: 11px 17px;
    font-weight: 700;
}

.woocommerce ul.products li.product .button {
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin-top: 8px;
}

.woocommerce span.onsale {
    background: var(--rcm-secondary);
    color: #0F172A;
    border-radius: 50px;
    min-height: 0;
    min-width: 0;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}

/* Product detail */

.woocommerce div.product .product_title {
    font-size: 30px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--rcm-primary);
    font-weight: 800;
}

.woocommerce div.product div.images img {
    border-radius: 14px;
}

.woocommerce div.product form.cart .quantity input {
    border-radius: 50px;
    padding: 10px;
}

/* Cart and checkout */

.woocommerce table.shop_table {
    border: 1px solid var(--rcm-border);
    border-radius: 12px;
}

.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
    border: 1px solid #DBEAFE;
    border-radius: 10px;
    padding: 11px;
}

.woocommerce-message,
.woocommerce-info {
    border-top-color: var(--rcm-primary);
}

.woocommerce-message:before,
.woocommerce-info:before {
    color: var(--rcm-primary);
}

/* Footer */

.rcm-footer {
    background: #172554;
    color: #E0F2FE;
    padding: 42px 0 20px;
    margin-top: 40px;
}

.rcm-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 25px;
}

.rcm-footer h3,
.rcm-footer h4 {
    color: #fff;
    margin: 0 0 12px;
}

.rcm-footer p,
.rcm-footer a {
    font-size: 13px;
    color: #CBD5E1;
}

.rcm-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rcm-footer li {
    margin-bottom: 8px;
}

.rcm-footer-bottom {
    border-top: 1px solid #ffffff20;
    padding-top: 16px;
    margin-top: 25px;
    font-size: 12px;
    color: #CBD5E1;
}

/* Responsive */

@media (max-width: 900px) {
    .rcm-category-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

    .rcm-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 22px);
    }

    .rcm-announcement {
        font-size: 10px;
        padding: 7px;
    }

    .rcm-header-main {
        min-height: 60px;
        gap: 8px;
    }

    .rcm-mobile-toggle {
        display: block;
    }

    .rcm-brand {
        font-size: 19px;
        flex: 1;
    }

    .rcm-brand img {
        max-height: 38px;
    }

    .rcm-brand-mark {
        width: 32px;
        height: 32px;
    }

    .rcm-header-actions {
        gap: 8px;
    }

    .rcm-navigation {
        display: none;
    }

    .rcm-navigation.is-open {
        display: block;
    }

    .rcm-navigation .container {
        display: flex;
        flex-wrap: wrap;
        white-space: normal;
    }

    .rcm-navigation a {
        padding: 10px 12px;
        font-size: 12px;
    }

    .rcm-search-wrap {
        padding-bottom: 10px;
    }

    .rcm-search-form {
        height: 43px;
    }

    .rcm-hero {
        min-height: 230px;
        border-radius: 12px;
        margin-top: 12px;
    }

    .rcm-hero-content {
        padding: 22px;
    }

    .rcm-hero h1 {
        font-size: 29px;
    }

    .rcm-category-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .rcm-category img {
        width: 48px;
        height: 48px;
    }

    .rcm-section {
        padding: 17px 0;
    }

    .rcm-section-heading h2 {
        font-size: 20px;
    }

    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px !important;
    }

    .woocommerce ul.products li.product {
        padding: 8px !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: 34px;
    }

    .woocommerce ul.products li.product .button {
        font-size: 11px;
        padding: 9px 5px;
    }

    .rcm-promo-banner {
        display: block;
        padding: 18px;
    }

    .rcm-promo-banner .rcm-button {
        margin-top: 12px;
    }

    .rcm-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .woocommerce div.product .product_title {
        font-size: 23px;
    }
}

/* GENZDEAL vertical mobile drawer */
.rcm-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(61, 16, 30, .56);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.rcm-mobile-drawer {
    position: fixed;
    z-index: 999;
    top: 0;
    bottom: 0;
    left: 0;
    width: min(370px, 88vw);
    display: flex;
    flex-direction: column;
    background: #F8FAFC;
    box-shadow: 12px 0 40px rgba(0,0,0,.18);
    transform: translateX(-105%);
    transition: transform .28s cubic-bezier(.2,.75,.25,1);
    visibility: hidden;
}
body.rcm-drawer-open { overflow: hidden; }
body.rcm-drawer-open .rcm-drawer-backdrop { opacity: 1; visibility: visible; }
body.rcm-drawer-open .rcm-mobile-drawer { transform: translateX(0); visibility: visible; }
.rcm-drawer-head {
    min-height: 76px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: linear-gradient(125deg, var(--rcm-primary), #1E3A8A);
}
.rcm-drawer-brand { display:flex; align-items:center; gap:11px; }
.rcm-drawer-brand-mark { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; color:var(--rcm-primary); background:#F8FAFC; font-size:22px; font-weight:900; }
.rcm-drawer-brand strong { display:block; font-size:17px; letter-spacing:.5px; }
.rcm-drawer-brand small { display:block; color:#E2E8F0; font-size:10px; }
.rcm-drawer-close { width:36px; height:36px; border:1px solid #ffffff55; border-radius:50%; color:#fff; background:#ffffff18; font-size:26px; line-height:1; cursor:pointer; }
.rcm-drawer-account-card { margin:14px 14px 4px; padding:13px; display:flex; align-items:center; gap:10px; border:1px solid #E2E8F0; border-radius:14px; background:linear-gradient(120deg,#F1F5F9,#fff); }
.rcm-drawer-avatar { width:40px; height:40px; flex:0 0 40px; display:grid; place-items:center; border-radius:50%; color:var(--rcm-primary); background:#E2E8F0; font-size:20px; }
.rcm-drawer-welcome { min-width:0; flex:1; }
.rcm-drawer-welcome strong { display:block; color:#1E293B; font-size:13px; }
.rcm-drawer-welcome small { display:block; color:#64748B; font-size:10px; line-height:1.35; }
.rcm-drawer-signin { padding:7px 10px; border-radius:20px; color:#fff !important; background:var(--rcm-primary); font-size:11px; font-weight:700; }
.rcm-drawer-scroll { flex:1; overflow-y:auto; padding:4px 14px 18px; overscroll-behavior:contain; }
.rcm-drawer-section { padding:13px 2px 10px; border-bottom:1px solid #E2E8F0; }
.rcm-drawer-section h3, .rcm-drawer-social-login h3 { margin:0 0 8px; color:#64748B; font-size:10px; font-weight:800; letter-spacing:1.1px; text-transform:uppercase; }
.rcm-drawer-links { display:flex; flex-direction:column; gap:3px; }
.rcm-drawer-links > a, .rcm-drawer-custom-menu a { min-height:40px; padding:8px 10px; display:flex; align-items:center; gap:11px; border-radius:9px; color:#334155; font-size:13px; font-weight:600; transition:background .18s ease,color .18s ease, transform .18s ease; }
.rcm-drawer-links > a:hover, .rcm-drawer-custom-menu a:hover { color:var(--rcm-primary); background:#EFF6FF; transform:translateX(2px); }
.rcm-drawer-link-icon { width:25px; height:25px; flex:0 0 25px; display:grid; place-items:center; border-radius:8px; color:var(--rcm-primary); background:#EFF6FF; font-size:13px; }
.rcm-drawer-custom-menu, .rcm-drawer-custom-menu ul { list-style:none; margin:0; padding:0; }
.rcm-drawer-custom-menu li { margin:0; }
.rcm-drawer-custom-menu a { padding-left:10px; }
.rcm-drawer-socials { display:flex; align-items:center; gap:9px; padding:3px 2px 2px; }
.rcm-drawer-socials a { width:35px; height:35px; display:grid; place-items:center; border:1px solid #DBEAFE; border-radius:50%; color:var(--rcm-primary); background:#F1F5F9; font-size:12px; font-weight:900; transition:all .2s ease; }
.rcm-drawer-socials a:hover { color:#fff; background:var(--rcm-primary); border-color:var(--rcm-primary); transform:translateY(-2px); }
.rcm-drawer-social-login { padding:14px 2px 8px; }
.rcm-drawer-footer { padding:11px 10px; display:flex; justify-content:center; flex-wrap:wrap; gap:5px; border-top:1px solid #E2E8F0; color:#64748B; background:#F8FAFC; font-size:9px; }
@media (min-width: 601px) {
    .rcm-mobile-drawer, .rcm-drawer-backdrop { display:none; }
}
@media (max-width: 600px) {
    .rcm-navigation { display:none !important; }
    .rcm-mobile-toggle { width:40px; height:40px; display:grid; place-items:center; padding:0; border:1px solid #DBEAFE; border-radius:12px; color:var(--rcm-primary); background:#F1F5F9; font-size:22px; line-height:1; cursor:pointer; }
}


/* GENZDEAL drawer refinements: social icon row and account actions */
.rcm-drawer-links > a > span:last-child { min-width: 0; }
.rcm-social-caption { margin: -3px 0 10px; color: #64748B; font-size: 11px; }
.rcm-drawer-socials { gap: 11px; }
.rcm-drawer-socials .rcm-social-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #DBEAFE;
    border-radius: 50%;
    color: var(--rcm-primary);
    background: #F1F5F9;
    box-shadow: 0 2px 6px rgba(116,23,45,.06);
    transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.rcm-drawer-socials .rcm-social-icon svg {
    width: 19px;
    height: 19px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rcm-drawer-socials .rcm-social-facebook svg,
.rcm-drawer-socials .rcm-social-youtube svg { fill: currentColor; stroke: none; }
.rcm-drawer-socials .rcm-social-icon:hover {
    color: #fff;
    background: var(--rcm-primary);
    border-color: var(--rcm-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(116,23,45,.18);
}
.rcm-drawer-socials .rcm-social-icon:not(a) { cursor: default; opacity: .72; }
.rcm-signup-link .rcm-drawer-link-icon { background: #E0F2FE; color: #0369A1; }
.woocommerce-account .u-column2,
.woocommerce-account .woocommerce-form-register { scroll-margin-top: 24px; }

/* GENZDEAL AJAX shopping cart popup */
.rcm-cart-overlay{position:fixed;inset:0;background:rgba(12,20,15,.55);z-index:99998;opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease}
.rcm-cart-popup{position:fixed;z-index:99999;top:50%;left:50%;width:min(520px,calc(100% - 28px));max-height:min(82vh,760px);overflow:auto;background:#F8FAFC;border-radius:18px;box-shadow:0 18px 60px rgba(0,0,0,.24);transform:translate(-50%,-46%) scale(.97);opacity:0;visibility:hidden;transition:all .22s ease;color:#222}
body.rcm-cart-popup-open{overflow:hidden}
body.rcm-cart-popup-open .rcm-cart-overlay{opacity:1;visibility:visible}
body.rcm-cart-popup-open .rcm-cart-popup{opacity:1;visibility:visible;transform:translate(-50%,-50%) scale(1)}
.rcm-cart-popup-header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #eee;position:sticky;top:0;background:#F8FAFC;z-index:2}
.rcm-cart-popup-header h2{font-size:20px;margin:0;color:#334155;font-weight:700}
.rcm-popup-count{display:inline-flex;align-items:center;justify-content:center;min-width:25px;height:25px;padding:0 7px;border-radius:30px;background:#1D4ED8;color:#fff;font-size:13px;vertical-align:2px}
.rcm-popup-close{border:0;background:#EFF6FF;color:#333;width:34px;height:34px;border-radius:50%;font-size:25px;line-height:1;cursor:pointer}
.rcm-cart-popup-body{padding:8px 20px;min-height:80px}
.rcm-popup-item{display:flex;align-items:center;gap:13px;padding:14px 0;border-bottom:1px solid #eee;position:relative}
.rcm-popup-thumb{width:76px;height:76px;flex:0 0 76px;background:#F8FAFC;border-radius:10px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.rcm-popup-thumb img{width:100%;height:100%;object-fit:contain}
.rcm-popup-info{min-width:0;flex:1}.rcm-popup-info strong{display:block;font-size:14px;line-height:1.4;margin-bottom:5px}.rcm-popup-price{color:#1D4ED8;font-weight:700;font-size:14px}
.rcm-qty-control{display:inline-flex;align-items:center;gap:0;margin-top:9px;border:1px solid #DBEAFE;border-radius:8px;overflow:hidden;height:31px}
.rcm-qty-control button{width:31px;height:29px;padding:0;border:0;background:#F1F5F9;color:#1D4ED8;font-size:19px;line-height:1;cursor:pointer}.rcm-qty-value{min-width:30px;text-align:center;font-size:13px;font-weight:700}
.rcm-remove-item{border:0;background:transparent;color:#999;font-size:22px;cursor:pointer;padding:5px}.rcm-remove-item:hover{color:#c62828}
.rcm-popup-summary{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:15px}.rcm-popup-summary strong{font-size:18px;color:#1D4ED8}
.rcm-popup-empty{text-align:center;padding:28px 10px;color:#666}
.rcm-cart-popup-footer{display:flex;gap:10px;padding:15px 20px 20px;border-top:1px solid #eee;background:#F8FAFC;position:sticky;bottom:0}
.rcm-cart-popup-footer button,.rcm-cart-popup-footer a{flex:1;display:flex;align-items:center;justify-content:center;min-height:46px;border-radius:9px!important;padding:10px 12px!important;font-size:14px;font-weight:700;text-align:center;text-decoration:none!important;cursor:pointer}
.rcm-continue-shopping{background:#EFF6FF!important;color:#1D4ED8!important;border:1px solid #DBEAFE!important}.rcm-instant-checkout{background:#1D4ED8!important;color:#fff!important;border:1px solid #1D4ED8!important}
.rcm-cart-popup.is-loading .rcm-cart-popup-body{opacity:.5;pointer-events:none}
@media(max-width:480px){.rcm-cart-popup{width:calc(100% - 20px);max-height:88vh;border-radius:15px}.rcm-cart-popup-header,.rcm-cart-popup-body{padding-left:15px;padding-right:15px}.rcm-cart-popup-footer{padding:12px 15px 15px;gap:8px}.rcm-cart-popup-footer button,.rcm-cart-popup-footer a{font-size:12px;padding:9px 7px!important}.rcm-popup-thumb{width:65px;height:65px;flex-basis:65px}}


/* Kapiva-inspired horizontal navigation below the search bar.
   Menu items are editable at Appearance > Menus. */
.rcm-navigation { position:relative; z-index:90; box-shadow:0 3px 10px rgba(0,0,0,.035); }
.rcm-navigation .container { overflow:visible; }
.rcm-primary-menu { display:flex; align-items:center; gap:2px; list-style:none; padding:0; margin:0; width:100%; }
.rcm-primary-menu > li { position:relative; flex:0 0 auto; margin:0; padding:0; }
.rcm-primary-menu > li > a { display:flex; align-items:center; min-height:48px; padding:12px 17px; color:#334155; font-size:13px; font-weight:750; }
.rcm-primary-menu > li:hover > a,
.rcm-primary-menu > li.current-menu-item > a,
.rcm-primary-menu > li.current-menu-ancestor > a { color:var(--rcm-primary); background:#EFF6FF; }
.rcm-primary-menu .sub-menu { display:none; position:absolute; top:100%; left:0; min-width:220px; padding:8px; margin:0; list-style:none; background:#F8FAFC; border:1px solid #E2E8F0; border-radius:0 0 12px 12px; box-shadow:0 12px 28px rgba(0,0,0,.12); z-index:200; }
.rcm-primary-menu li:hover > .sub-menu,
.rcm-primary-menu li:focus-within > .sub-menu { display:block; }
.rcm-primary-menu .sub-menu li { margin:0; }
.rcm-primary-menu .sub-menu a { display:block; padding:10px 12px; border-radius:7px; font-size:13px; white-space:normal; }
.rcm-primary-menu .sub-menu a:hover { background:#EFF6FF; }
.rcm-primary-menu .menu-item-has-children > a:after { content:"⌄"; margin-left:7px; font-size:13px; }
@media(max-width:600px) {
  .rcm-navigation { display:block; }
  .rcm-navigation .container { overflow-x:auto; flex-wrap:nowrap; }
  .rcm-primary-menu { width:max-content; flex-wrap:nowrap; }
  .rcm-primary-menu > li > a { min-height:43px; padding:10px 13px; font-size:12px; }
  .rcm-primary-menu .sub-menu { position:static; box-shadow:none; border:0; border-radius:0; padding:0 0 5px 12px; }
  .rcm-primary-menu li:hover > .sub-menu { display:none; }
  .rcm-primary-menu li:focus-within > .sub-menu { display:block; }
}

/* Clickable advertisement banner carousel */
.rcm-ad-slider-section { padding:18px 0 8px; }
.rcm-ad-slider { position:relative; overflow:hidden; border-radius:16px; background:#F1F5F9; }
.rcm-ad-slides { position:relative; }
.rcm-ad-slide { display:none; width:100%; }
.rcm-ad-slide.is-active { display:block; animation:rcmAdFade .45s ease; }
.rcm-ad-slide a, .rcm-ad-slide img { display:block; width:100%; }
.rcm-ad-slide img { height:auto; max-height:440px; object-fit:cover; }
.rcm-ad-arrow { position:absolute; top:50%; transform:translateY(-50%); z-index:2; width:38px; height:38px; border:0; border-radius:50%; color:#fff; background:rgba(0,0,0,.48); cursor:pointer; font-size:17px; }
.rcm-ad-prev { left:12px; } .rcm-ad-next { right:12px; }
.rcm-ad-dots { position:absolute; left:0; right:0; bottom:12px; display:flex; justify-content:center; gap:7px; }
.rcm-ad-dot { width:9px; height:9px; padding:0; border:0; border-radius:20px; background:#ffffffa8; cursor:pointer; }
.rcm-ad-dot.is-active { width:24px; background:var(--rcm-primary); }
@keyframes rcmAdFade { from { opacity:.45; } to { opacity:1; } }
@media(max-width:600px) {
 .rcm-ad-slider-section { padding:10px 0 4px; }
 .rcm-ad-slider { border-radius:10px; }
 .rcm-ad-slide img { max-height:240px; }
 .rcm-ad-arrow { width:30px; height:30px; font-size:14px; }
 .rcm-ad-prev { left:7px; } .rcm-ad-next { right:7px; }
 .rcm-ad-dots { bottom:7px; }
}


/* GENZDEAL responsive containment: prevent any section/grid from widening the viewport. */
html, body { max-width:100%; width:100%; overflow-x:clip; }
*, *::before, *::after { box-sizing:border-box; }
.site-main, .rcm-header, .rcm-footer, .rcm-section,
.rcm-hero, .rcm-ad-slider-section, .rcm-ad-slider,
.rcm-category-grid, .woocommerce, .woocommerce-page { min-width:0; max-width:100%; }
.container { width: min(1200px, calc(100% - 32px)); max-width:100%; margin-left:auto; margin-right:auto; }
.rcm-section { width:100%; }
.rcm-category-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr)); gap:16px; }
.woocommerce ul.products, .woocommerce-page ul.products {
  display:grid !important;
  grid-template-columns:repeat(var(--rcm-product-columns,4),minmax(0,1fr));
  gap:18px !important;
  width:100% !important; max-width:100% !important; margin:0 !important;
}
.woocommerce ul.products::before, .woocommerce ul.products::after { display:none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
  float:none !important; clear:none !important; width:auto !important;
  min-width:0 !important; max-width:100% !important; margin:0 !important;
}
.woocommerce ul.products li.product img { max-width:100%; height:auto; }
.rcm-ad-slider-section { max-width:100%; }
.rcm-ad-slider { width:100%; max-width:100%; }
.rcm-ad-slide img { width:100%; max-width:100%; height:auto; object-fit:contain; }
.rcm-footer-grid, .rcm-header-main, .rcm-search-form { min-width:0; max-width:100%; }
.rcm-search-form input { min-width:0; width:1%; }
@media (max-width: 900px) {
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .container { width:calc(100% - 24px); }
  .woocommerce ul.products, .woocommerce-page ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px !important; }
  .rcm-header-main { gap:8px; }
  .rcm-brand { min-width:0; max-width:calc(100% - 116px); font-size:19px; }
  .rcm-brand img { max-width:100%; height:auto; max-height:42px; }
  .rcm-header-actions { flex:0 0 auto; gap:7px; }
  .rcm-account-link, .rcm-cart-link { width:40px; height:40px; min-width:40px; flex-basis:40px; }
  .rcm-search-form button { padding:0 14px; }
  .rcm-section-heading { min-width:0; flex-wrap:wrap; }
  .rcm-footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .rcm-hero { max-width:100%; overflow:hidden; }
}
@media (max-width: 360px) {
  .rcm-header-main { gap:5px; }
  .rcm-brand { font-size:16px; }
  .rcm-account-link, .rcm-cart-link { width:36px; height:36px; min-width:36px; flex-basis:36px; }
}

/* Pencil shortcuts shown only inside Appearance > Customize live preview. */
body.customize-preview [data-rcm-edit-section] { position:relative !important; }
body.customize-preview .rcm-live-edit-pencil {
  position:absolute !important; top:8px !important; right:8px !important; z-index:999999 !important;
  display:inline-flex !important; align-items:center !important; justify-content:center !important; gap:5px !important;
  width:auto !important; height:32px !important; min-width:32px !important; padding:0 10px !important;
  border:1px solid #fff !important; border-radius:18px !important; background:#1D4ED8 !important;
  color:#fff !important; box-shadow:0 2px 9px rgba(0,0,0,.25) !important;
  font:600 12px/1 Arial,sans-serif !important; cursor:pointer !important; opacity:1 !important;
}
body.customize-preview .rcm-live-edit-pencil svg { width:15px !important; height:15px !important; fill:none !important; stroke:currentColor !important; stroke-width:2 !important; }
body.customize-preview .rcm-live-edit-pencil span { display:inline !important; }

.woocommerce ul.products.columns-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.woocommerce ul.products.columns-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.woocommerce ul.products.columns-4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
.woocommerce ul.products.columns-5 { grid-template-columns:repeat(5,minmax(0,1fr)); }
.woocommerce ul.products.columns-6 { grid-template-columns:repeat(6,minmax(0,1fr)); }
@media(max-width:900px){.woocommerce ul.products[class*="columns-"]{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:600px){.woocommerce ul.products[class*="columns-"]{grid-template-columns:repeat(2,minmax(0,1fr));}}


/* Hero slider: preserves the original hero look while allowing multiple slides. */
.rcm-hero-slider {
    display:block !important;
    position:relative;
    width:100%;
    max-width:100%;
    min-height:320px;
    padding:0;
    overflow:hidden;
    isolation:isolate;
}
.rcm-hero-slides { position:relative; width:100%; min-height:320px; }
.rcm-hero-slide {
    display:none;
    width:100%;
    min-height:320px;
    align-items:center;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    animation:rcmHeroFade .45s ease;
}
.rcm-hero-slide.is-active { display:flex; }
.rcm-hero-slide .rcm-hero-content { position:relative; z-index:1; width:100%; max-width:700px; }
.rcm-hero-arrow {
    position:absolute;
    top:50%;
    z-index:5;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid rgba(255,255,255,.65);
    border-radius:50%;
    background:rgba(0,0,0,.42);
    color:#fff;
    font-size:17px;
    line-height:1;
    cursor:pointer;
}
.rcm-hero-prev { left:14px; }
.rcm-hero-next { right:14px; }
.rcm-hero-arrow:hover { background:var(--rcm-primary); color:#fff; }
.rcm-hero-dots {
    position:absolute;
    z-index:5;
    left:0;
    right:0;
    bottom:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}
.rcm-hero-dot {
    width:9px;
    height:9px;
    min-width:9px;
    padding:0;
    border:0;
    border-radius:20px;
    background:rgba(255,255,255,.75);
    cursor:pointer;
}
.rcm-hero-dot.is-active { width:25px; background:#F8FAFC; }
@keyframes rcmHeroFade { from { opacity:.45; } to { opacity:1; } }
@media(max-width:600px) {
    .rcm-hero-slider, .rcm-hero-slides, .rcm-hero-slide { min-height:230px; }
    .rcm-hero-slide .rcm-hero-content { padding:28px 48px 38px 22px; }
    .rcm-hero-slide .rcm-hero-content h1 { font-size:clamp(22px,6vw,32px); }
    .rcm-hero-slide .rcm-hero-content p { font-size:13px; }
    .rcm-hero-arrow { width:30px; height:30px; font-size:13px; }
    .rcm-hero-prev { left:7px; }
    .rcm-hero-next { right:7px; }
    .rcm-hero-dots { bottom:9px; }
}


/* Shop by Category: View All action */
.rcm-category-view-all {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    flex:0 0 auto;
    min-height:36px;
    padding:8px 16px;
    border:1px solid var(--rcm-primary);
    border-radius:30px;
    color:var(--rcm-primary) !important;
    background:#F8FAFC;
    font-size:12px;
    font-weight:750;
    line-height:1.2;
    text-decoration:none;
    transition:background .2s ease,color .2s ease,transform .2s ease;
}
.rcm-category-view-all:hover {
    color:#fff !important;
    background:var(--rcm-primary);
    transform:translateY(-1px);
}
@media(max-width:480px) {
    .rcm-category-view-all { min-height:32px; padding:7px 11px; font-size:11px; }
    .rcm-section-heading { align-items:center; }
}


/* Homepage category-based product grids: inherit the existing responsive product-card design. */
.rcm-category-products-section .rcm-category-product-grid { width:100%; max-width:100%; min-width:0; }
.rcm-category-products-section .rcm-category-product-grid ul.products { --rcm-product-columns:4; grid-template-columns:repeat(var(--rcm-product-columns,4),minmax(0,1fr)) !important; }
.rcm-category-products-section .rcm-section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; }
@media(max-width:900px){.rcm-category-products-section .rcm-category-product-grid ul.products{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}}
@media(max-width:600px){.rcm-category-products-section .rcm-category-product-grid ul.products{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}


/* GENZDEAL customer signup form */
.woocommerce-account .u-columns {
    gap: 28px;
}
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    min-width: 0;
}
.woocommerce-account .u-column2 .woocommerce-form-register {
    padding: 26px;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    background: linear-gradient(145deg, #F8FAFC 0%, #ffffff 72%);
    box-shadow: 0 10px 30px rgba(116, 23, 45, .07);
}
.rcm-registration-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 14px;
    margin: 0 0 10px;
}
.rcm-registration-heading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 0 17px;
    margin: 0 0 13px;
    border-bottom: 1px solid #E0F2FE;
}
.rcm-registration-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: #1D4ED8;
    background: #EFF6FF;
    font-size: 22px;
}
.rcm-registration-heading h3 {
    margin: 0 0 4px;
    color: #1E3A8A;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 750;
}
.rcm-registration-heading p {
    margin: 0;
    color: #64748B;
    font-size: 13px;
    line-height: 1.45;
}
.rcm-registration-fields .rcm-registration-field {
    float: none !important;
    width: 100% !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}
.rcm-registration-fields .rcm-field-rcm_full_name,
.rcm-registration-fields .rcm-field-rcm_address_1,
.rcm-registration-fields .rcm-field-rcm_address_2 {
    grid-column: 1 / -1;
}
.rcm-registration-fields label,
.woocommerce-account .woocommerce-form-register > p label {
    display: block;
    margin: 0 0 7px;
    color: #334155;
    font-size: 13px;
    font-weight: 650;
}
.rcm-registration-fields .required {
    color: #2563EB;
}
.rcm-registration-fields input.input-text,
.woocommerce-account .woocommerce-form-register > p input.input-text {
    box-sizing: border-box;
    width: 100%;
    min-height: 47px;
    padding: 11px 14px;
    border: 1px solid #DBEAFE;
    border-radius: 10px;
    background: #F8FAFC;
    color: #334155;
    font-size: 14px;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.rcm-registration-fields input.input-text:focus,
.woocommerce-account .woocommerce-form-register > p input.input-text:focus {
    border-color: #1D4ED8;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(116, 23, 45, .10);
}
.woocommerce-account .woocommerce-form-register > p {
    margin: 0 0 14px;
}
.woocommerce-account .woocommerce-form-register .woocommerce-privacy-policy-text {
    margin: 12px 0;
    color: #64748B;
    font-size: 12px;
    line-height: 1.6;
}
.woocommerce-account .woocommerce-form-register button.button,
.woocommerce-account .woocommerce-form-register input.button {
    width: 100%;
    min-height: 49px;
    margin-top: 5px;
    border-radius: 11px;
    background: #1D4ED8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(116, 23, 45, .16);
}
.woocommerce-account .woocommerce-form-register button.button:hover,
.woocommerce-account .woocommerce-form-register input.button:hover {
    background: #1E3A8A;
    color: #fff;
}
.rcm-login-signup-prompt {
    margin: 18px 0 0;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 11px;
    background: #F1F5F9;
    color: #64748B;
    font-size: 13px;
    text-align: center;
}
.rcm-login-signup-prompt a {
    margin-left: 5px;
    color: #1D4ED8;
    font-weight: 750;
    text-decoration: none;
}
.rcm-login-signup-prompt a:hover { text-decoration: underline; }
@media (max-width: 767px) {
    .woocommerce-account .u-column2 .woocommerce-form-register { padding: 18px 15px; }
    .rcm-registration-fields { gap: 0 10px; }
    .rcm-registration-heading h3 { font-size: 18px; }
}
@media (max-width: 420px) {
    .rcm-registration-fields { grid-template-columns: 1fr; }
    .rcm-registration-fields .rcm-registration-field { grid-column: 1 / -1; }
}


/* GENZDEAL device-adaptive layout: mobile, tablet and desktop */
@media (max-width: 767px) {
    html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
    .container { width: calc(100% - 24px); max-width: 100%; }
    .rcm-header-main { min-height: 60px; gap: 8px; }
    .rcm-mobile-toggle { display: grid !important; flex: 0 0 40px; }
    .rcm-navigation { display: none !important; }
    .rcm-mobile-drawer { display: flex !important; }
    .rcm-drawer-backdrop { display: block !important; }
    .rcm-brand { min-width: 0; flex: 1 1 auto; font-size: clamp(16px, 4.5vw, 20px); }
    .rcm-brand img { max-width: 100%; max-height: 38px; }
    .rcm-header-actions { flex: 0 0 auto; gap: 6px; }
    .rcm-account-link, .rcm-cart-link { width: 38px; height: 38px; flex-basis: 38px; }
    .rcm-hero { min-height: 220px; }
    .rcm-hero h1 { font-size: clamp(22px, 6vw, 30px); }
    .rcm-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .rcm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rcm-ad-slider img, .rcm-advertisement img { max-width: 100%; height: auto; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .container { width: min(100% - 40px, 960px); }
    .rcm-header-main { gap: 12px; }
    .rcm-brand { font-size: 21px; }
    .rcm-header-actions { gap: 8px; }
    .rcm-mobile-toggle { display: none !important; }
    .rcm-mobile-drawer, .rcm-drawer-backdrop { display: none !important; }
    .rcm-navigation { display: block !important; }
    .rcm-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .woocommerce ul.products,
    .woocommerce-page ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .rcm-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
    .rcm-mobile-toggle { display: none !important; }
    .rcm-mobile-drawer, .rcm-drawer-backdrop { display: none !important; }
    .rcm-navigation { display: block !important; }
}

@media (max-width: 767px) { .site, #page, main, .container, .rcm-section { max-width: 100%; } }


/* Shop by Category: image fills its grid tile with softly rounded corners. */
.rcm-category-grid > .rcm-category {
    padding: 0;
    overflow: hidden;
    border-radius: 14px;
}
.rcm-category-grid > .rcm-category img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0;
    border-radius: inherit;
}


/* Shop by Category: display image tiles only; hide category name text. */
.rcm-category-grid > .rcm-category strong {
    display: none !important;
}
