/* =====================================================================
   VENFORIO SHOP REDESIGN
   Covers: PRODUCTS mega dropdown, product listing + cards,
           product details page, add-to-cart popup.
   Loaded LAST (after venforio-theme.css) in ShopingCart/Visitor.master.
   Styling only - every id, class hook, server control and dynamic
   value used by the code-behind / JavaScript is left untouched.
   ===================================================================== */

:root {
    --sr-navy: #0a1f44;
    --sr-navy-deep: #07153a;
    --sr-blue: #14439b;
    --sr-gold: #d4a017;
    --sr-gold-light: #f2c94c;
    --sr-ink: #1f2a44;
    --sr-muted: #5b6785;
    --sr-bg: #f4f7fc;
    --sr-line: #e1e8f5;
    --sr-red: #d64545;
    --sr-green: #1f9d57;
    --sr-radius: 16px;
    --sr-shadow-sm: 0 2px 10px rgba(10, 31, 68, .06);
    --sr-shadow: 0 10px 30px rgba(10, 31, 68, .10);
    --sr-shadow-lg: 0 22px 54px rgba(10, 31, 68, .22);
    --sr-grad: linear-gradient(135deg, #0a1f44 0%, #14439b 100%);
    --sr-grad-gold: linear-gradient(135deg, #f2c94c 0%, #d4a017 100%);
}

/* =====================================================================
   1. PRODUCTS MEGA DROPDOWN (header)
   ===================================================================== */
#mySidenav li.hassubs > a i {
    font-size: 10px;
    margin-left: 6px;
    transition: transform .25s ease;
}
#mySidenav li.hassubs:hover > a i { transform: rotate(180deg); }

@media (min-width: 992px) {
    /* let the (sticky) header be the positioning context -> full-width mega menu */
    .navigation-section .container,
    .navigation-section .main-headers,
    #mySidenav { position: static; }
    #mySidenav li.hassubs { position: static; }

    #mySidenav ul li.hassubs > ul.dropdown-menu {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
        gap: 22px 30px;
        align-content: start;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        width: auto;
        min-width: 0;
        max-width: none;
        height: auto;
        max-height: min(72vh, 540px);
        overflow-y: auto;
        margin: 0 !important;
        padding: 34px max(24px, calc((100% - 1140px) / 2)) 38px !important;
        background: #ffffff;
        border: 0;
        border-top: 3px solid var(--sr-gold);
        border-radius: 0;
        box-shadow: 0 24px 48px rgba(10, 31, 68, .22);
        text-align: left;
        visibility: hidden;
        opacity: 0;
        transform: translateY(12px);
        pointer-events: auto;
        /* closing waits 0.5s so a slight slip of the pointer does not shut the menu */
        transition: opacity .28s ease .5s, transform .28s ease .5s, visibility 0s linear .78s;
        z-index: 1000;
    }
    /* invisible bridge so the menu stays open while the pointer travels down to it */
    #mySidenav ul li.hassubs > ul.dropdown-menu:before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: -30px;
        height: 30px;
    }
    #mySidenav ul li.hassubs:hover > ul.dropdown-menu,
    #mySidenav ul li.hassubs:focus-within > ul.dropdown-menu,
    #mySidenav ul li.hassubs.open > ul.dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        transition: opacity .28s ease, transform .28s ease, visibility 0s;
    }
    #mySidenav li.hassubs.open > a i { transform: rotate(180deg); }
    /* soft scrollbar for tall menus */
    #mySidenav ul.dropdown-menu { scrollbar-width: thin; scrollbar-color: #c6d3ee transparent; }
}

#mySidenav ul li.hassubs > ul.dropdown-menu:after { display: none !important; content: none !important; }
@media (max-width: 991px) { #mySidenav ul li.hassubs > ul.dropdown-menu:before { display: none !important; content: none !important; } }

/* each category column */
#mySidenav ul.dropdown-menu > li.col-sm-3,
#mySidenav ul.dropdown-menu > li {
    float: none;
    width: auto;
    max-width: none;
    flex: none;
    padding: 0 !important;
    margin: 0 !important;
}
#mySidenav ul.dropdown-menu ul.list-unstyled {
    display: block !important;
    margin: 0;
    padding: 0;
    top: 0;
    background: transparent;
    position: static;
}
#mySidenav ul.dropdown-menu ul.list-unstyled li {
    display: block;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}
/* category heading */
#mySidenav ul.dropdown-menu a.FIRST {
    display: block;
    position: relative;
    margin-bottom: 8px;
    padding: 0 0 12px !important;
    background: none !important;
    border: 0;
    color: var(--sr-navy) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .9px;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1.4;
    white-space: normal;
    border-bottom: 1px solid var(--sr-line);
}
#mySidenav ul.dropdown-menu a.FIRST:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 2px;
    background: var(--sr-gold);
    transition: width .3s ease;
}
#mySidenav ul.dropdown-menu a.FIRST:hover:after { width: 100%; }
#mySidenav ul.dropdown-menu a.FIRST:hover { color: var(--sr-blue) !important; }

/* sub category links */
#mySidenav ul.dropdown-menu ul.list-unstyled li:not(:first-child) a {
    display: block;
    position: relative;
    padding: 7px 0 7px 16px !important;
    color: var(--sr-muted) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: 0;
    white-space: normal;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}
#mySidenav ul.dropdown-menu ul.list-unstyled li:not(:first-child) a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: #c6d3ee;
    transition: background .2s ease, transform .2s ease;
}
#mySidenav ul.dropdown-menu ul.list-unstyled li:not(:first-child) a:hover {
    color: var(--sr-blue) !important;
    transform: translateX(4px);
}
#mySidenav ul.dropdown-menu ul.list-unstyled li:not(:first-child) a:hover:before {
    background: var(--sr-gold);
    transform: scale(1.3);
}

/* "View all products" link under the categories */
#mySidenav ul.dropdown-menu > li.mega-all {
    grid-column: 1 / -1;
    margin-top: 4px !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid var(--sr-line);
    text-align: right;
}
#mySidenav ul.dropdown-menu > li.mega-all > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px !important;
    background: var(--sr-grad);
    border-radius: 999px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(20, 67, 155, .25);
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
#mySidenav ul.dropdown-menu > li.mega-all > a:hover {
    background: var(--sr-grad-gold);
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(212, 160, 23, .35);
}

/* mobile / tablet: collapsible list inside the slide-down menu */
@media (max-width: 991px) {
    #mySidenav ul li.hassubs > ul.dropdown-menu {
        display: none !important;
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        max-height: 52vh;
        overflow-y: auto;
        margin: 8px 0 4px !important;
        padding: 14px 16px !important;
        text-align: left;
        background: rgba(255, 255, 255, .07);
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 12px;
        box-shadow: none;
    }
    #mySidenav ul li.hassubs.open > ul.dropdown-menu { display: block !important; }
    #mySidenav ul li.hassubs.open > a i { transform: rotate(180deg); }
    #mySidenav ul.dropdown-menu > li.col-sm-3 { margin-bottom: 14px !important; }
    #mySidenav ul.dropdown-menu a.FIRST {
        color: var(--sr-gold-light) !important;
        border-bottom-color: rgba(255, 255, 255, .18);
    }
    #mySidenav ul.dropdown-menu ul.list-unstyled li:not(:first-child) a {
        color: #dbe5fa !important;
        padding: 9px 0 9px 16px !important;
    }
    #mySidenav ul.dropdown-menu ul.list-unstyled li:not(:first-child) a:hover { color: #fff !important; }
}

/* =====================================================================
   2. PRODUCT LISTING PAGE (Product.aspx)
   ===================================================================== */
/* the page body wrapper must not out-stack the sticky header (which hosts the dropdown) */
.wrapper-wide.page-wrap { position: relative; top: auto; z-index: auto; box-shadow: none; }
.wrapper-wide #container { background: transparent; }
#column-left { background: transparent; box-shadow: none; border: 0; padding-left: 15px; padding-right: 15px; }
#container .neww {
    margin-top: 34px !important;
    margin-bottom: 40px !important;
    width: 100%;
    float: none;
    display: flow-root;
}

/* ---- category sidebar ---- */
#column-left h3.subtitle {
    margin: 0;
    padding: 15px 20px;
    background: var(--sr-grad);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 0;
    border-bottom: 3px solid var(--sr-gold);
    border-radius: 14px 14px 0 0;
}
#column-left .box-category {
    background: #fff;
    border: 1px solid var(--sr-line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: var(--sr-shadow-sm);
    padding: 8px;
    margin-bottom: 24px;
}
#column-left #cat_accordion,
#column-left #cat_accordion ul { list-style: none; margin: 0; padding: 0; }
#column-left #cat_accordion > li { margin: 2px 0; padding: 0; background: none; border: 0; }
#column-left #cat_accordion > li > a {
    display: block;
    padding: 11px 14px;
    color: var(--sr-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    border-left: 3px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease, padding .2s ease;
}
#column-left #cat_accordion > li > a:hover,
#column-left #cat_accordion > li.active > a {
    background: #eef3fb;
    color: var(--sr-blue);
    border-left-color: var(--sr-gold);
    padding-left: 18px;
}
#column-left #cat_accordion > li.active > a { font-weight: 600; }
#column-left #cat_accordion span.down { display: none; }

/* ---- page title ---- */
#content .productview > h3.title {
    margin: 0 0 18px;
    padding: 0 0 12px;
    color: var(--sr-navy);
    font-size: 26px;
    font-weight: 600;
    position: relative;
    border: 0;
    text-transform: none;
}
#content .productview > h3.title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--sr-gold);
}

/* ---- sort / view bar ---- */
#content .product-filter {
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: 14px;
    box-shadow: var(--sr-shadow-sm);
    padding: 12px 16px;
    margin: 0 0 8px;
}
#content .product-filter > .row { display: flex; flex-wrap: wrap; align-items: center; margin: 0; row-gap: 10px; }
#content .product-filter > .row > [class*="col-"] { float: none; padding: 0 8px; width: auto; flex: 0 0 auto; }
#content .product-filter > .row > .col-md-4 { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; }
#content .product-filter label.control-label {
    color: var(--sr-muted) !important;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}
#content .product-filter .col-pro { text-align: right; }
#content .product-filter .btn-group { display: inline-flex; gap: 6px; }
#content .product-filter .btn-group > .btn.btn-default {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border-radius: 10px !important;
    border: 1px solid var(--sr-line);
    background: #fff;
    color: var(--sr-muted);
    font-size: 15px;
    transition: all .2s ease;
    box-shadow: none;
}
#content .product-filter .btn-group > .btn.btn-default:hover,
#content .product-filter .btn-group > .btn.btn-default.selected {
    background: var(--sr-navy);
    border-color: var(--sr-navy);
    color: #fff;
}
#content .product-filter a#compare-total {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #eef3fb;
    color: var(--sr-blue) !important;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
#content .product-filter a#compare-total:hover { background: var(--sr-blue); color: #fff !important; }

/* dropdown selects (sort / show) */
#content .product-filter select.form-control,
#content .product-filter select.form-control:not([size]):not([multiple]) {
    height: 42px;
    min-width: 170px;
    padding: 0 38px 0 14px;
    color: var(--sr-ink);
    font-size: 14px;
    font-weight: 500;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314439b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid var(--sr-line);
    border-radius: 10px;
    box-shadow: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
#content .product-filter select.form-control:hover { border-color: #b9c8e6; }
#content .product-filter select.form-control:focus {
    outline: 0;
    border-color: var(--sr-blue);
    box-shadow: 0 0 0 3px rgba(20, 67, 155, .15);
}
#content .product-filter #input-limit,
#content .product-filter select#input-limit.form-control { min-width: 90px; }

@media (max-width: 767px) {
    #content .product-filter > .row > [class*="col-"] { width: 100%; flex: 1 1 100%; text-align: left !important; }
    #content .product-filter .col-pro { display: none; }
    #content .product-filter select.form-control { width: 100%; }
}

/* ---- product grid ---- */
#content .products-category { margin: 0; }
#content .products-category > div[id$="mydiv"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 24px;
    float: none !important;
    width: 100% !important;
    padding: 6px 0 0;
    margin: 0;
}
#content .products-category .clearfix { display: none !important; }
#content .products-category .alert { grid-column: 1 / -1; border-radius: 12px; }

/* neutralise the old float/width/height rules and the class swapping done by custom.js */
#content .product-layout,
#content .product-layout.product-list,
#content .product-layout.product-grid {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    display: block;
}
#content .productview:has(#list-view.selected) .product-layout { grid-column: 1 / -1; }

/* ---- product card ---- */
#content .product-layout .product-thumb {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-sm);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
#content .product-layout .product-thumb:hover {
    transform: translateY(-6px);
    border-color: #c6d3ee;
    box-shadow: var(--sr-shadow);
}
#content .product-layout .product-thumb:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--sr-grad-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: 2;
}
#content .product-layout .product-thumb:hover:before { transform: scaleX(1); }

#content .product-thumb .d-fleximage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 100%);
    border-bottom: 1px solid var(--sr-line);
    overflow: hidden;
}
#content .product-thumb .d-fleximage a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
#content .product-thumb .d-fleximage img,
#content .product-thumb .d-fleximage img.img-responsive {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    object-fit: contain;
    transition: transform .45s ease;
}
#content .product-thumb:hover .d-fleximage img { transform: scale(1.07); }

#content .product-thumb .pc-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
#content .product-thumb .caption {
    flex: 1 1 auto;
    padding: 18px 18px 6px;
    text-align: left;
}
#content .product-thumb .caption h4 {
    margin: 0 0 12px;
    min-height: 2.8em;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#content .product-thumb .caption h4 a {
    font-weight: 600 !important;
    color: var(--sr-navy);
    text-decoration: none;
    transition: color .2s ease;
}
#content .product-thumb:hover .caption h4 a { color: var(--sr-blue); }

/* price / meta rows */
#content .product-thumb ul.pc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
#content .product-thumb ul.pc-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin: 0;
    padding: 6px 0;
    font-size: 13px;
    color: var(--sr-muted);
    border-bottom: 1px dashed var(--sr-line);
}
#content .product-thumb ul.pc-list li:last-child { border-bottom: 0; }
#content .product-thumb ul.pc-list li > span {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: #8a94ad;
}
#content .product-thumb ul.pc-list li > b,
#content .product-thumb ul.pc-list li > del,
#content .product-thumb ul.pc-list li > strong {
    font-weight: 600;
    color: var(--sr-ink);
    text-align: right;
}
#content .product-thumb ul.pc-list li > del { color: #98a2bb; font-weight: 500; }
#content .product-thumb ul.pc-list li.pc-dp {
    margin: 4px 0;
    padding: 9px 12px;
    background: #eef3fb;
    border: 0;
    border-radius: 10px;
}
#content .product-thumb ul.pc-list li.pc-dp > span { color: var(--sr-blue); }
#content .product-thumb ul.pc-list li.pc-dp > strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--sr-navy);
}
#content .product-thumb ul.pc-list li.pc-bv > b { color: #a67c00; }
#content .product-thumb ul.pc-list .fa { font-size: .92em; }

#content .product-thumb .pc-hidden { display: none !important; }

/* View details button */
#content .product-thumb h4.addcart {
    margin: 0;
    padding: 12px 18px 18px;
    min-height: 0;
    display: block;
    text-align: center;
}
#content .product-thumb h4.addcart a.btn.btn-primary.btn-lg {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 11px 18px !important;
    background: var(--sr-grad) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(20, 67, 155, .25);
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
#content .product-thumb h4.addcart a.btn.btn-primary.btn-lg:hover {
    background: var(--sr-grad-gold) !important;
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(212, 160, 23, .35);
}
#content .product-thumb .button-group { display: none; opacity: 1; padding: 0 18px 18px; }
#content .product-thumb .button-group:not(:empty) { display: block; }

/* list view (only when the list toggle is selected) */
#content .productview:has(#list-view.selected) .product-thumb { flex-direction: row; align-items: stretch; }
#content .productview:has(#list-view.selected) .product-thumb .d-fleximage {
    flex: 0 0 220px;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1px solid var(--sr-line);
}
#content .productview:has(#list-view.selected) .product-thumb .d-fleximage img { max-height: 170px; }
#content .productview:has(#list-view.selected) .product-thumb .pc-body { justify-content: center; }
#content .productview:has(#list-view.selected) .product-thumb .caption h4 { min-height: 0; -webkit-line-clamp: 3; }
#content .productview:has(#list-view.selected) .product-thumb h4.addcart { text-align: left; }
#content .productview:has(#list-view.selected) .product-thumb h4.addcart a.btn.btn-primary.btn-lg {
    display: inline-block;
    width: auto;
    padding: 11px 34px !important;
}
@media (max-width: 575px) {
    #content .products-category > div[id$="mydiv"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    #content .product-thumb .d-fleximage { padding: 12px; }
    #content .product-thumb .caption { padding: 12px 12px 4px; }
    #content .product-thumb .caption h4 { font-size: 13.5px; }
    #content .product-thumb ul.pc-list li { font-size: 12px; }
    #content .product-thumb ul.pc-list li.pc-dp > strong { font-size: 15px; }
    #content .product-thumb h4.addcart { padding: 10px 12px 14px; }
    #content .product-thumb h4.addcart a.btn.btn-primary.btn-lg { font-size: 12px; padding: 10px 8px !important; letter-spacing: .2px; }
    #content .productview:has(#list-view.selected) .product-thumb { flex-direction: column; }
    #content .productview:has(#list-view.selected) .product-thumb .d-fleximage { flex: none; aspect-ratio: 1 / 1; border-right: 0; border-bottom: 1px solid var(--sr-line); }
}

/* =====================================================================
   3. PRODUCT DETAILS PAGE (ProductDetails.aspx)
   ===================================================================== */
.zomingg.row { margin-top: 18px; margin-bottom: 10px; row-gap: 24px; }
.zomingg > .col-md-6 { margin-bottom: 20px; }

/* gallery */
.zomingg > .col-md-6:first-child > div {
    background: #fff;
    border: 1px solid var(--sr-line) !important;
    border-radius: 20px;
    box-shadow: var(--sr-shadow);
    padding: 20px !important;
    overflow: hidden;
}
.zomingg .image.d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    background: linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
    border-radius: 14px;
    overflow: hidden;
}
.zomingg #zoom_01 {
    max-width: 100%;
    max-height: 420px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}
.zomingg .zoomWrapper { width: 100% !important; margin: 0 auto !important; max-width: 100%; }
.zomingg .zoom-gallery {
    display: inline-block;
    margin: 12px 0 4px;
    font-size: 12px;
    color: var(--sr-muted);
}
.zomingg .zoom-gallery i { color: var(--sr-gold); margin-right: 4px; }
.zomingg .image-additional {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    margin: 14px 0 0 !important;
    float: none !important;
}
.zomingg .image-additional a,
.zomingg .image-additional a.thumbnail {
    float: none !important;
    width: 78px !important;
    height: 78px !important;
    margin: 0 !important;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--sr-line);
    border-radius: 12px;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.zomingg .image-additional a:hover { transform: translateY(-3px); box-shadow: var(--sr-shadow-sm); }
.zomingg .image-additional a.active { border-color: var(--sr-gold); }
.zomingg .image-additional img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    border-radius: 6px;
}

/* title + price card */
#container h1.title#pname,
#container h1.title {
    margin: 0 0 14px !important;
    padding-bottom: 14px;
    position: relative;
    color: var(--sr-navy);
    font-family: "Poppins", "Open Sans", Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.3;
    border: 0;
}
#container h1.title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    border-radius: 2px;
    background: var(--sr-gold);
}
.zomingg ul.description {
    margin: 0 0 18px !important;
    padding: 6px 22px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: 16px;
    box-shadow: var(--sr-shadow-sm);
}
.zomingg ul.description > li,
.zomingg ul.description > div > li { list-style: none; }
.zomingg ul.description li.ratee,
.zomingg ul.description li.pd-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0;
    padding: 13px 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--sr-ink);
    border-bottom: 1px dashed var(--sr-line);
}
.zomingg ul.description li.ratee b,
.zomingg ul.description li.pd-row b {
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #8a94ad;
}
.zomingg ul.description li.ratee i.fa,
.zomingg ul.description li.pd-row i.fa {
    margin: 0 2px 0 0;
    padding: 0;
    font-size: 15px;
    color: inherit;
}
.zomingg ul.description li.pd-row del { color: #98a2bb; font-weight: 500; }
.zomingg ul.description li.pd-dp {
    margin: 10px -12px;
    padding: 14px 12px;
    background: #eef3fb;
    border: 0;
    border-radius: 12px;
}
.zomingg ul.description li.pd-dp b { color: var(--sr-blue); }
.zomingg ul.description li.pd-dp .pd-val {
    font-size: 26px;
    font-weight: 700;
    color: var(--sr-navy);
}
.zomingg ul.description li .pd-val { color: var(--sr-ink) !important; font-weight: 600; }
.zomingg ul.description li.pd-dp .pd-val { color: var(--sr-navy) !important; }
.zomingg ul.description li.pd-bv .pd-val { color: #a67c00 !important; font-weight: 600; }
.zomingg ul.description li.pd-row:last-child,
.zomingg ul.description > li:last-of-type { border-bottom: 0; }
.zomingg ul.description #Pack_div { display: block; }
.zomingg ul.description #Pack_div li.ratee { border-bottom: 1px dashed var(--sr-line); }

/* availability badges */
.pd-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    line-height: 1.4;
    color: #fff;
}
.pd-in { background: var(--sr-green); }
.pd-low { background: #e08a00; }
.pd-out { background: var(--sr-red); }

/* options (size / colour) */
#product .row { margin-left: -8px; margin-right: -8px; }
#product .row > [class*="col-"] { padding-left: 8px; padding-right: 8px; }
#product .qty-block { margin-bottom: 14px; }
#product .size-shop {
    display: block;
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #8a94ad;
}
#product select#sel1,
#product select#selColor1 {
    width: 100%;
    height: 44px;
    padding: 0 38px 0 14px !important;
    color: var(--sr-ink) !important;
    font-size: 14px;
    font-weight: 500;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314439b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    border: 1px solid var(--sr-line) !important;
    border-radius: 10px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}
#product select#sel1:focus,
#product select#selColor1:focus {
    outline: 0;
    border-color: var(--sr-blue) !important;
    box-shadow: 0 0 0 3px rgba(20, 67, 155, .15);
}
#lblmsg { min-height: 0; margin-bottom: 10px; font-size: 14px; }

/* quantity + buttons */
#product .cart {
    margin-top: 8px;
    padding-top: 22px !important;
    border-top: 1px solid var(--sr-line) !important;
}
#product .cart > .row { display: flex; flex-wrap: wrap; align-items: center; row-gap: 14px; }
#product .qty {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}
#product .qty .control-label {
    float: none;
    margin: 0 14px 0 0;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #8a94ad;
}
#product .qty br,
#product .qty .clear { display: none; }
#product .qty a.qtyBtn {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    float: none;
    width: 40px;
    height: 44px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-size: 20px;
    font-weight: 600;
    color: var(--sr-navy);
    background: #eef3fb;
    border: 1px solid var(--sr-line);
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
    user-select: none;
    text-indent: 0;
    background-image: none;
}
#product .qty a.qtyBtn:hover { background: var(--sr-navy); background-image: none; color: #fff; }
#product .qty a.qtyBtn.mines { order: 1; border-radius: 10px 0 0 10px; }
#product .qty #input-quantity {
    order: 2;
    float: none;
    width: 64px !important;
    height: 44px;
    margin: 0;
    padding: 0 6px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--sr-navy);
    border: 1px solid var(--sr-line);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
}
#product .qty #input-quantity:focus { outline: 0; box-shadow: inset 0 0 0 2px rgba(20, 67, 155, .2); }
#product .qty a.qtyBtn.plus { order: 3; border-radius: 0 10px 10px 0; }

#product .cart .col-md-7 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#product #tooltip-3 { display: inline-block; }
.zomingg a.btn.btn-primary.btn-lg,
.zomingg a.btn.btn-danger.btn-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 13px 30px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .6px;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff !important;
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
.zomingg a.btn.btn-primary.btn-lg {
    background: var(--sr-grad) !important;
    box-shadow: 0 8px 20px rgba(20, 67, 155, .30);
}
.zomingg a.btn.btn-primary.btn-lg:hover {
    background: var(--sr-grad-gold) !important;
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(212, 160, 23, .38);
}
.zomingg a.btn.btn-primary.btn-lg.disabled {
    background: #b7c1d8 !important;
    color: #fff !important;
    box-shadow: none;
    cursor: not-allowed;
    pointer-events: auto;
    transform: none;
    opacity: .85;
}
.zomingg a.btn.btn-danger.btn-lg { background: var(--sr-red) !important; cursor: default; }
.zomingg span.add-cart { font-size: 14px !important; display: inline-flex; align-items: center; gap: 8px; }
.zomingg span.add-cart img { display: none; }
.zomingg .wishlist_icon { color: var(--sr-blue); }

/* tabs / description */
#container .nav-tabs {
    border-bottom: 2px solid var(--sr-line);
    margin: 10px 0 0;
    padding: 0;
}
#container .nav-tabs > li > a {
    margin: 0 4px -2px 0;
    padding: 12px 26px;
    color: var(--sr-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
}
#container .nav-tabs > li.active > a,
#container .nav-tabs > li.active > a:hover,
#container .nav-tabs > li.active > a:focus {
    color: var(--sr-navy);
    background: transparent;
    border: 0;
    border-bottom: 3px solid var(--sr-gold);
}
#container .tab-content {
    padding: 26px 28px;
    margin: 0 0 28px;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-top: 0;
    border-radius: 0 0 16px 16px;
    box-shadow: var(--sr-shadow-sm);
    overflow: auto;
    color: var(--sr-ink);
    line-height: 1.8;
}
#container .tab-content p { color: var(--sr-ink); }

@media (max-width: 991px) {
    #container h1.title#pname, #container h1.title { font-size: 22px !important; }
    .zomingg .image.d-flex { min-height: 280px; }
    .zomingg .image-additional a, .zomingg .image-additional a.thumbnail { width: 60px !important; height: 60px !important; }
    #container .tab-content { padding: 18px; }
    #product .cart .col-md-7 { margin-top: 6px; }
}

/* =====================================================================
   4. ADD-TO-CART POPUP (#cartdetailspopup)
   ===================================================================== */
#cartdetailspopup { z-index: 100000 !important; }
.modal-backdrop { z-index: 99999 !important; background: var(--sr-navy-deep); }
.modal-backdrop.in, .modal-backdrop.show { opacity: .62; filter: alpha(opacity=62); }

#cartdetailspopup .modal-dialog {
    width: calc(100% - 24px);
    max-width: 960px !important;
    margin: 4vh auto !important;
}
/* pages mix Bootstrap 3 JS (.in) with Bootstrap 4 CSS (.show): keep the dialog in place */
#cartdetailspopup.modal.fade .modal-dialog,
#cartdetailspopup.modal.in .modal-dialog,
#cartdetailspopup.modal.show .modal-dialog { transform: none !important; transition: none; }
#cartdetailspopup { overflow-y: auto; }
/* visible for either Bootstrap version's "open" class (.in = BS3, .show = BS4) */
#cartdetailspopup.modal.in,
#cartdetailspopup.modal.show { opacity: 1 !important; }
/* two Bootstrap scripts are loaded and can each add a backdrop: show only one */
.modal-backdrop ~ .modal-backdrop { display: none !important; }
#cartdetailspopup .modal-content {
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
    right: auto !important;
    transition: none;
    background: #fff;
    border: 0;
    border-radius: 20px;
    box-shadow: var(--sr-shadow-lg);
    overflow: hidden;
    animation: srPopIn .32s cubic-bezier(.2, .8, .2, 1) both !important;
}
@keyframes srPopIn {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to { opacity: 1; transform: none; }
}

/* header */
#cartdetailspopup .modal-header {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 !important;
    background: var(--sr-grad) !important;
    border: 0;
    border-bottom: 3px solid var(--sr-gold);
}
#cartdetailspopup .modal-header > .d-flex { float: none !important; width: auto !important; flex: 1 1 auto; position: static; z-index: auto; }
#cartdetailspopup .modal-header h3#myModalLabel2 {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 16px 64px 16px 26px;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
#cartdetailspopup .modal-header h3 a.dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: 10px;
    background: rgba(255, 255, 255, .14);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
}
#cartdetailspopup .modal-header h3 a.dropdown-toggle:after { display: none !important; }
#cartdetailspopup .modal-header h3 a.dropdown-toggle i.fa { color: #fff !important; font-size: 18px; }
#cartdetailspopup .modal-header .badge {
    position: absolute !important;
    right: -4px !important;
    top: -4px !important;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    line-height: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--sr-navy);
    background: var(--sr-gold-light) !important;
    border-radius: 10px;
    z-index: 2 !important;
}
#cartdetailspopup .modal-header .close {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    margin: -17px 0 0 !important;
    width: 34px;
    height: 34px;
    padding: 0;
    line-height: 32px;
    text-align: center;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    text-shadow: none;
    opacity: 1;
    background: rgba(255, 255, 255, .14);
    border-radius: 50%;
    z-index: 20;
    cursor: pointer;
    pointer-events: auto;
    transition: background .2s ease, transform .25s ease;
}
#cartdetailspopup .modal-header .close:hover { background: var(--sr-red); transform: rotate(90deg); }
#cartdetailspopup #progressdiv_cart { margin: 0 20px 0 0 !important; float: none !important; }
#cartdetailspopup .modal-header > div:last-child {
    width: 100% !important;
    position: static !important;
    margin: 0 !important;
    top: auto !important;
    right: auto !important;
}
#cartdetailspopup .modal-header #add-regular { height: auto !important; }
#cartdetailspopup #msgDivpopup { text-align: center; }
#cartdetailspopup #msgDivpopup:not(:empty) { padding: 10px 20px; font-size: 13px; }
#cartdetailspopup #msgDivpopup .alert { margin: 0; border-radius: 0; }

#cartdetailspopup #errorpinmessage { margin: 12px 20px 0; border-radius: 10px; }

/* cart tables: header + body share the same column widths */
#cartdetailspopup table.shop_table {
    width: 100% !important;
    table-layout: fixed;
    margin: 0 !important;
    border: 0 !important;
}
#cartdetailspopup table.shop_table thead tr { background: #eef3fb !important; }
#cartdetailspopup table.shop_table thead th {
    padding: 13px 10px !important;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--sr-blue);
    border: 0 !important;
    vertical-align: middle;
    text-align: center;
}
#cartdetailspopup table.shop_table thead th:nth-child(2) { text-align: left; }
#cartdetailspopup table.shop_table thead th:nth-child(1) { width: 12% !important; padding-left: 22px !important; }
#cartdetailspopup table.shop_table thead th:nth-child(2) { width: 25% !important; }
#cartdetailspopup table.shop_table thead th:nth-child(3) { width: 11% !important; }
#cartdetailspopup table.shop_table thead th:nth-child(4) { width: 11% !important; }
#cartdetailspopup table.shop_table thead th:nth-child(5) { width: 9% !important; }
#cartdetailspopup table.shop_table thead th:nth-child(6) { width: 12% !important; }
#cartdetailspopup table.shop_table thead th:nth-child(7) { width: 12% !important; }
#cartdetailspopup table.shop_table thead th:nth-child(8) { width: 8% !important; }
/* header table sits directly above the body table */
#cartdetailspopup > .modal-dialog > .modal-content > table.shop_table { border-bottom: 1px solid var(--sr-line) !important; }

#cartdetailspopup .modal-body {
    padding: 0 !important;
    max-height: 250px !important;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c6d3ee transparent;
}
#cartdetailspopup .modal-body table.shop_table tr.cart_item {
    background: #fff;
    transition: background .2s ease;
}
#cartdetailspopup .modal-body table.shop_table tr.cart_item:hover { background: #f8faff; }
#cartdetailspopup .modal-body table.shop_table td {
    padding: 14px 10px !important;
    vertical-align: middle !important;
    text-align: center;
    font-size: 14px;
    color: var(--sr-ink);
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sr-line) !important;
    word-wrap: break-word;
}
#cartdetailspopup .modal-body table.shop_table td.product-name:nth-child(2) { text-align: left; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(1) { width: 12% !important; padding-left: 22px !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(2) { width: 25% !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(3) { width: 11% !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(4) { display: none !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(5) { width: 11% !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(6) { width: 9% !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(7) { width: 12% !important; }
#cartdetailspopup .modal-body table.shop_table td:nth-child(8) { width: 12% !important; font-weight: 700; color: var(--sr-navy); }
#cartdetailspopup .modal-body table.shop_table td:nth-child(9) { width: 8% !important; }
#cartdetailspopup .modal-body table.shop_table td img.attachment-shop_thumbnail {
    display: block;
    width: 56px;
    height: 56px !important;
    margin: 0 auto;
    object-fit: contain;
    padding: 4px;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: 10px;
}
#cartdetailspopup .modal-body td.product-name a {
    display: block;
    color: var(--sr-navy);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: default;
}
#cartdetailspopup .modal-body td.product-name span { font-size: 12px; }
#cartdetailspopup .modal-body td .amount { color: inherit; font-size: 14px; }
#cartdetailspopup .modal-body td select {
    width: 62px !important;
    height: 36px;
    padding: 0 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sr-navy);
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: 8px;
    cursor: pointer;
}
#cartdetailspopup .modal-body td select:focus {
    outline: 0;
    border-color: var(--sr-blue);
    box-shadow: 0 0 0 3px rgba(20, 67, 155, .15);
}
#cartdetailspopup .modal-body td div[style*="F5F5F5"] {
    display: inline-block;
    margin: 0 auto !important;
    line-height: 30px;
    border-radius: 8px !important;
}

/* remove (x) button */
#cartdetailspopup a.removetocart {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px !important;
    height: 32px !important;
    margin: 0 auto;
    left: auto !important;
    bottom: auto !important;
    background: #fff !important;
    border: 1px solid var(--sr-line) !important;
    border-radius: 50% !important;
    color: var(--sr-muted) !important;
    text-decoration: none;
    transition: all .2s ease;
}
#cartdetailspopup a.removetocart i.fa { line-height: 1 !important; font-size: 14px; }
#cartdetailspopup a.removetocart:hover {
    background: var(--sr-red) !important;
    border-color: var(--sr-red) !important;
    color: #fff !important;
    transform: rotate(90deg);
}

/* footer / totals */
#cartdetailspopup .tad { background: #f8faff; }
#cartdetailspopup .modal-footer {
    display: flex !important;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 26px !important;
    background: #f8faff !important;
    border-top: 1px solid var(--sr-line);
}
#cartdetailspopup .modal-footer > :not(:last-child) { margin-left: 0 !important; }
#cartdetailspopup .modal-footer > .d-flex {
    display: block !important;
    float: none !important;
    flex: 1 1 200px;
    align-self: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--sr-ink);
    line-height: 1.6;
}
#cartdetailspopup .modal-footer #paymnt_btn {
    float: none !important;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 2 1 340px;
}
#cartdetailspopup .modal-footer #paymnt_btn br { display: none; }
#cartdetailspopup .modal-footer .btn.btn-shadow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 13px 24px;
    border-radius: 999px !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
#cartdetailspopup a.btn.btn-shadow.btn-primary {
    color: var(--sr-navy) !important;
    background: #fff !important;
    border: 2px solid var(--sr-navy) !important;
}
#cartdetailspopup a.btn.btn-shadow.btn-primary:hover {
    background: var(--sr-navy) !important;
    color: #fff !important;
    transform: translateY(-2px);
}
#cartdetailspopup a.btn.btn-shadow.btn-success {
    color: #fff !important;
    background: var(--sr-grad) !important;
    border: 2px solid transparent !important;
    box-shadow: 0 8px 20px rgba(20, 67, 155, .30);
}
#cartdetailspopup a.btn.btn-shadow.btn-success:hover {
    background: var(--sr-grad-gold) !important;
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(212, 160, 23, .38);
}

/* summary card */
#cartdetailspopup .modal-footer .pri {
    float: none !important;
    flex: 1 1 100%;
    width: 100% !important;
    margin: 0;
    padding: 6px 22px;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: 14px;
    box-shadow: var(--sr-shadow-sm);
}
#cartdetailspopup .pri .cs-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--sr-muted);
    border-bottom: 1px dashed var(--sr-line);
}
#cartdetailspopup .pri .cs-row > span:first-child { font-weight: 500; }
#cartdetailspopup .pri .cs-row > span:last-child,
#cartdetailspopup .pri .cs-row .cs-val,
#cartdetailspopup .pri .cs-row span[id] { font-weight: 700; color: var(--sr-ink) !important; }
#cartdetailspopup .pri .cs-total {
    margin: 0;
    padding: 14px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 15px;
    color: var(--sr-navy);
}
#cartdetailspopup .pri .cs-total strong { font-weight: 600; }
#cartdetailspopup .pri .cs-total span[id] {
    font-size: 24px;
    font-weight: 700;
    color: var(--sr-navy) !important;
}

#cartdetailspopup #EmptyFooter { justify-content: center; padding: 34px !important; }
#cartdetailspopup #EmptyFooter:empty { display: none !important; }

/* popup on small screens: stacked rows instead of a cramped table */
@media (max-width: 767px) {
    #cartdetailspopup .modal-dialog { margin: 12px auto !important; }
    #cartdetailspopup .modal-header h3#myModalLabel2 { padding: 16px 60px 16px 18px; font-size: 15px; }
    #cartdetailspopup .modal-content > table.shop_table { display: none; }
    #cartdetailspopup .modal-body { max-height: 46vh !important; }
    #cartdetailspopup .modal-body table.shop_table,
    #cartdetailspopup .modal-body table.shop_table tbody { display: block; width: 100% !important; }
    #cartdetailspopup .modal-body table.shop_table tr.cart_item {
        display: grid;
        grid-template-columns: 64px 1fr auto;
        gap: 4px 12px;
        align-items: center;
        padding: 14px 16px;
        border-bottom: 1px solid var(--sr-line);
    }
    #cartdetailspopup .modal-body table.shop_table td {
        display: block;
        width: auto !important;
        padding: 0 !important;
        border: 0 !important;
        text-align: left;
    }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(n) { width: auto !important; max-width: none; word-break: normal; overflow-wrap: anywhere; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(1) { grid-row: 1 / span 3; padding-left: 0 !important; width: auto !important; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(2) { grid-column: 2; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(9) { grid-column: 3; grid-row: 1; text-align: right; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(3),
    #cartdetailspopup .modal-body table.shop_table td:nth-child(5),
    #cartdetailspopup .modal-body table.shop_table td:nth-child(6) { grid-column: 2 / span 2; font-size: 13px; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(3):before { content: "MRP (Rs.)  "; color: #8a94ad; font-size: 11px; font-weight: 600; text-transform: uppercase; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(5):before { content: "DP (Rs.)  "; color: #8a94ad; font-size: 11px; font-weight: 600; text-transform: uppercase; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(6):before { content: "BV  "; color: #8a94ad; font-size: 11px; font-weight: 600; text-transform: uppercase; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(7) { grid-column: 2; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(8) { grid-column: 3; text-align: right; }
    #cartdetailspopup .modal-body table.shop_table td:nth-child(8):before { content: "Amount  "; color: #8a94ad; font-size: 11px; font-weight: 600; text-transform: uppercase; display: block; }
    #cartdetailspopup .modal-footer { padding: 16px !important; }
    #cartdetailspopup .modal-footer #paymnt_btn { justify-content: stretch; }
    #cartdetailspopup .modal-footer #paymnt_btn { width: 100%; }
    #cartdetailspopup .modal-footer #paymnt_btn .btn { flex: 1 1 100%; justify-content: center; width: 100%; margin: 0 !important; }
}

/* =====================================================================
   5. HOME PAGE PRODUCT CAROUSEL (Index.aspx  .home-products)
   Self-contained scroll-snap carousel - independent of Owl / jQuery.
   ===================================================================== */
.hp-wrap { position: relative; width: 100%; margin: 0 0 8px; }
.home-products {
    display: flex;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 8px 4px 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.home-products::-webkit-scrollbar { display: none; }
.home-products > .viewed_item {
    flex: 0 0 78%;
    scroll-snap-align: start;
    position: relative;
    box-sizing: border-box;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 16px 10px 14px;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
@media (min-width: 576px)  { .home-products > .viewed_item { flex-basis: calc((100% - 18px) / 2); } }
@media (min-width: 768px)  { .home-products > .viewed_item { flex-basis: calc((100% - 36px) / 3); } }
@media (min-width: 992px)  { .home-products > .viewed_item { flex-basis: calc((100% - 54px) / 4); } }
@media (min-width: 1200px) { .home-products > .viewed_item { flex-basis: calc((100% - 72px) / 5); } }

.home-products > .viewed_item:hover {
    transform: translateY(-5px);
    border-color: #c6d3ee;
    box-shadow: var(--sr-shadow);
}
.home-products .viewed_image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 170px;
    margin: 0 0 12px;
    padding: 8px;
    background: linear-gradient(180deg, #fff 0%, #f4f7fc 100%);
    border-radius: 12px;
}
.home-products .viewed_image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.home-products .viewed_image img,
.home-products .viewed_image img.img-responsive {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform .4s ease;
}
.home-products .viewed_item:hover .viewed_image img { transform: scale(1.06); }
.home-products .viewed_item > div:not(.viewed_image):not(.trends_favs):not(.hoverBox) { width: 100%; }
.home-products .viewed_name { margin: 0 0 8px; min-height: 2.8em; font-size: 14px; line-height: 1.4; }
.home-products .viewed_name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--sr-navy);
    font-weight: 600;
    text-decoration: none;
}
.home-products .viewed_name a:hover { color: var(--sr-blue); }
.home-products .dp_detail { box-sizing: border-box; width: 100%; max-width: 100%; margin: 0; padding: 0 6px; overflow: hidden; }
.home-products .dp_detail table { width: 100%; max-width: 100%; margin: 0; border-collapse: collapse; }
.home-products .dp_detail td {
    width: auto;
    padding: 4px 0 !important;
    font-size: 13px;
    line-height: 1.4;
    color: var(--sr-muted);
    white-space: nowrap;
    text-align: left;
    border: 0;
    border-bottom: 1px dashed var(--sr-line);
}
.home-products .dp_detail tr:last-child td { border-bottom: 0; }
.home-products .dp_detail td:first-child { font-size: 11px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: #8a94ad; }
.home-products .dp_detail td:nth-child(2) { display: none; }
.home-products .dp_detail td:last-child { text-align: right; font-weight: 600; color: var(--sr-ink); }
.home-products .dp_detail del { color: #98a2bb !important; font-weight: 500; }
.home-products .dp_detail tr:nth-child(2) td:last-child { font-size: 16px; font-weight: 700; color: var(--sr-navy); }
.home-products .item_marks { top: 10px; right: 10px; left: auto; }
.home-products .item_mark.item_discount {
    padding: 3px 9px;
    min-width: 0;
    height: auto;
    line-height: 1.4;
    border-radius: 999px;
    background: var(--sr-grad-gold);
    color: var(--sr-navy);
    font-size: 11px;
    font-weight: 700;
}
.home-products .trends_favs { z-index: 3; }

/* prev / next */
.hp-nav {
    display: none;
    position: absolute;
    top: 42%;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: -21px 0 0;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--sr-navy);
    border: 1px solid var(--sr-line);
    border-radius: 50%;
    box-shadow: var(--sr-shadow);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.hp-nav:hover { background: var(--sr-navy); color: #fff; transform: scale(1.08); }
.hp-wrap.hp-scrollable .hp-nav { display: inline-flex; }
.hp-prev { left: -14px; }
.hp-next { right: -14px; }
@media (max-width: 767px) { .hp-prev { left: 2px; } .hp-next { right: 2px; } }

/* ---- home product card: Add to cart button (always visible, same look as the listing buttons) ---- */
.home-products .viewed_item { overflow: hidden; }
.home-products .hoverBox {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 12px 4px 0;
    text-align: center;
}
.home-products .hoverStyle .hoverBox:before,
.home-products .hoverBox:before { display: none !important; }
.home-products .hoverBox .hoverIcons { display: none; }
.home-products a.cartBTN2,
.home-products .hoverStyle a.cartBTN2 {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 11px 16px !important;
    opacity: 1 !important;
    transform: none !important;
    background: var(--sr-grad) !important;
    background-image: var(--sr-grad) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 600;
    letter-spacing: .6px;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(20, 67, 155, .25);
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
.home-products a.cartBTN2 i { font-size: 14px; }
.home-products a.cartBTN2:hover,
.home-products .hoverStyle a.cartBTN2:hover {
    background: var(--sr-grad-gold) !important;
    background-image: var(--sr-grad-gold) !important;
    color: var(--sr-navy) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 22px rgba(212, 160, 23, .35);
}

/* ---- View More button under the carousel ---- */
.view_btn {
    margin: 10px 0 30px;
    text-align: center;
}
.view_btn a,
.view_btn a.btn_read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 38px !important;
    background: var(--sr-grad) !important;
    background-image: var(--sr-grad) !important;
    color: #fff !important;
    border: 0;
    border-radius: 999px !important;
    font-size: 13.5px;
    font-weight: 600 !important;
    letter-spacing: .8px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(20, 67, 155, .28);
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
.view_btn a:after {
    content: "\f178";
    font-family: FontAwesome;
    font-size: 14px;
    transition: transform .2s ease;
}
.view_btn a:hover,
.view_btn a.btn_read:hover {
    background: var(--sr-grad-gold) !important;
    background-image: var(--sr-grad-gold) !important;
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(212, 160, 23, .38);
}
.view_btn a:hover:after { transform: translateX(4px); }

/* =====================================================================
   6. HEADER CART ICON  (opens #cartdetailspopup) - shows item COUNT only
   Desktop/tablet: last item of the nav row, after Sign Up (in flow, never overlaps).
   Phone: round icon beside the menu toggle (the nav itself collapses).
   ===================================================================== */
.header-cart,
#mySidenav li.cart-li a.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0;
    padding: 0 !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.header-cart:hover,
.header-cart:focus-visible,
#mySidenav li.cart-li a.header-cart:hover,
#mySidenav li.cart-li a.header-cart:focus-visible {
    background: var(--sr-grad-gold);
    border-color: transparent;
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    outline: 0;
}
.header-cart > .fa-shopping-cart { font-size: 19px; }
.header-cart label {
    display: inline;
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit !important;
    cursor: pointer;
}
.header-cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    background: var(--sr-gold-light);
    color: var(--sr-navy);
    border: 2px solid var(--sr-navy);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    box-sizing: border-box;
}
.header-cart .header-cart-badge label { color: var(--sr-navy) !important; line-height: 17px; font-weight: 700; }

/* nav item: sits after Sign Up. Item gaps are trimmed a little on desktop so the extra
   icon does not push the menu onto a second row. */
#mySidenav li.cart-li { display: flex; align-items: center; margin-left: 15px; padding: 0; }
@media (min-width: 992px) {
    #mySidenav > ul > li { margin-left: 15px; }
}

/* phone copy: hidden unless the menu collapses */
.header-cart-m { display: none; }

@media (max-width: 768px) {
    #mySidenav li.cart-li { display: none; }
    .navigation-section .container { position: relative; }
    .navigation-section .main-headers { padding-right: 112px; }
    .header-cart-m {
        display: inline-flex;
        position: absolute;
        top: 10px;
        right: 62px;
        width: 42px;
        height: 42px;
        z-index: 6;
    }
}

/* =====================================================================
   7. CHECKOUT / LOGIN PAGE  (Login.aspx)  -  STYLE ONLY, no markup changes
   Applies to the existing markup via  body.chk-page  (the only edits to
   Login.aspx are this stylesheet link and the class on <body>).
   Overrides the page's own inline <style> blocks (green / blue theme).
   ===================================================================== */
body.chk-page {
    margin: 0;
    background: var(--sr-bg) !important;
    color: var(--sr-ink) !important;
    font-family: "Poppins", "Open Sans", Arial, sans-serif !important;
    font-size: 14px;
    overflow-x: hidden;
}
body.chk-page a { text-decoration: none; }

/* ---- header (existing logo + "100% Payment Protection" markup) ---- */
body.chk-page .topBar.headWrapper {
    display: flex;
    align-items: center;
    height: auto !important;
    min-height: 76px;
    padding: 8px 0;
    background: var(--sr-navy) !important;
    border-bottom: 3px solid var(--sr-gold);
    box-shadow: 0 4px 18px rgba(10, 31, 68, .25) !important;
}
body.chk-page .topBar .container { width: 100%; max-width: 1140px; }
body.chk-page .topBar .checkout-wrapper > .row { display: flex; align-items: center; margin: 0; }
body.chk-page .topBar .checkout-wrapper > .row > .col-md-2 { flex: 0 0 auto; width: auto; max-width: none; padding: 0 15px 0 0; }
body.chk-page .topBar .checkout-wrapper > .row > .col-md-10 { flex: 1 1 auto; width: auto; max-width: none; padding: 0 0 0 15px; }
body.chk-page a.notIeLogoHeader { display: inline-block; }
body.chk-page a.notIeLogoHeader img.loginlogo {
    display: block;
    width: auto !important;
    max-width: 100%;
    height: 56px;
}
body.chk-page .marT15.header-msg {
    display: flex;
    justify-content: flex-end;
    padding: 0 !important;
    font-size: 12.5px;
    font-weight: 500;
}
body.chk-page .header-msg span {
    float: none !important;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fff !important;
    font-size: 12.5px !important;
    font-weight: 500;
}

/* ---- title bar (generated from CSS, above the form) ---- */
body.chk-page section.paymentSlot {
    padding: 0 0 50px !important;
    background: transparent !important;
}
body.chk-page section.paymentSlot:before {
    content: "Secure Checkout";
    display: block;
    margin: 0 0 34px;
    padding: 24px max(15px, calc((100% - 1110px) / 2));
    background: var(--sr-grad);
    border-bottom: 3px solid var(--sr-gold);
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.3;
}
body.chk-page .main-wrapper0,
body.chk-page .form-filed { background: transparent !important; }
body.chk-page .acod-nav > .row { justify-content: center; }
body.chk-page .acod-nav > .row > .col-md-8,
body.chk-page .acod-nav > .row > .col-md-9 { flex: 0 0 100%; max-width: 860px; width: 100%; }

/* ---- error / info messages ---- */
body.chk-page div#errorDiv { margin: 0; color: #a32121 !important; font-size: 13.5px; }
body.chk-page div#errorDiv:not(:empty) { margin-bottom: 14px; }
body.chk-page .alert {
    margin: 0 0 18px;
    padding: 12px 18px;
    background: #fdecec !important;
    color: #a32121 !important;
    border: 1px solid #f5c2c2;
    border-radius: 12px;
    font-size: 13.5px;
}
body.chk-page .alert a, body.chk-page .alert .close { color: inherit; }

/* ---- accordion cards (1. Login  2. Delivery Address  3. Payment) ---- */
body.chk-page #accordion .card {
    margin: 0 0 20px;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-sm);
    overflow: hidden;
}
body.chk-page #accordion .card-header,
body.chk-page .card-header.header_sec {
    height: auto !important;
    padding: 0 !important;
    background: var(--sr-grad) !important;
    border: 0;
    border-bottom: 3px solid var(--sr-gold);
    border-radius: 0;
    color: #fff;
}
body.chk-page #accordion .card-header h5 { margin: 0; }
body.chk-page #accordion .card-header .btn.btn-link,
body.chk-page .card-header.header_sec button {
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 16px 24px;
    background: none !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600 !important;
    letter-spacing: .6px;
    text-align: left;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: default;
}
body.chk-page #accordion .card-body { padding: 24px 26px 18px; background: #fff; }
body.chk-page .small-font-text,
body.chk-page .login-sub-headline {
    margin: 0 0 16px;
    color: var(--sr-muted);
    font-size: 13.5px;
}
body.chk-page h3.subtitle {
    position: relative;
    margin: 0 0 20px;
    padding: 0 0 12px;
    color: var(--sr-navy);
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--sr-line);
}
body.chk-page h3.subtitle:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 2px;
    background: var(--sr-gold);
}
body.chk-page h3.subtitle span { font-size: 13px !important; font-weight: 500; color: var(--sr-muted); }

/* ---- form rows + fields ---- */
body.chk-page #accordion .card-body .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 14px;
    padding: 0;
}
body.chk-page #accordion .card-body .row > .form-lbl,
body.chk-page #accordion .card-body label.form-lbl {
    flex: 0 0 170px;
    max-width: 170px;
    margin: 0;
    padding: 0 12px 0 0;
    color: var(--sr-muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .2px;
}
body.chk-page .require { color: var(--sr-red); }
body.chk-page #accordion .card-body input[type="text"],
body.chk-page #accordion .card-body input[type="password"],
body.chk-page #accordion .card-body input[type="email"],
body.chk-page #accordion .card-body input[type="number"],
body.chk-page #accordion .card-body input.text,
body.chk-page #accordion .card-body select,
body.chk-page #accordion .card-body textarea,
body.chk-page .username-buyflow input:not([type="button"]):not([type="submit"]):not([type="checkbox"]),
body.chk-page .username-buyflow select {
    display: block;
    flex: 1 1 240px;
    width: 100%;
    max-width: 420px;
    height: 44px;
    margin: 0 !important;
    padding: 0 14px;
    background-color: #fff;
    border: 1px solid var(--sr-line) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    color: var(--sr-ink);
    font-family: inherit;
    font-size: 14px;
    text-transform: none;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body.chk-page #accordion .card-body textarea { height: auto; min-height: 90px; padding: 10px 14px; }
body.chk-page #accordion .card-body input::placeholder { color: #98a2bb; }
body.chk-page #accordion .card-body input:focus,
body.chk-page #accordion .card-body select:focus,
body.chk-page #accordion .card-body textarea:focus {
    border-color: var(--sr-blue) !important;
    box-shadow: 0 0 0 3px rgba(20, 67, 155, .15) !important;
}
body.chk-page #accordion .card-body select,
body.chk-page .username-buyflow select {
    padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2314439b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}
body.chk-page #accordion .card-body input[type="file"] {
    height: auto;
    padding: 9px 12px;
    background: var(--sr-bg);
    border: 1px dashed #b9c8e6 !important;
    cursor: pointer;
}
body.chk-page #accordion .card-body input[type="checkbox"] { width: auto; height: auto; flex: none; max-width: none; }
body.chk-page .username-buyflow { position: relative; margin: 0 0 14px; }
body.chk-page .social-login, body.chk-page .new-account { margin: 14px 0 0; }
body.chk-page .new-account, body.chk-page .new-account span { color: var(--sr-muted); font-size: 13px; }
body.chk-page .new-account a { color: var(--sr-blue) !important; font-weight: 600; }
body.chk-page .new-account a:hover { color: var(--sr-gold) !important; }
body.chk-page fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
body.chk-page .form-horizontal { border: 0 !important; }
body.chk-page #accordion .card-body .col-xs-7,
body.chk-page #accordion .card-body [class*="col-xs-"]:not(.form-lbl) {
    float: none;
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    padding: 0;
}

/* ---- buttons (same pills as the cart popup and product cards) ---- */
body.chk-page input.mediumFont,
body.chk-page .btn:not(.btn-link),
body.chk-page #make-payment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    margin: 8px 12px 6px 0 !important;
    padding: 12px 32px !important;
    background: var(--sr-grad) !important;
    background-image: var(--sr-grad) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 8px 20px rgba(20, 67, 155, .28) !important;
    color: #fff !important;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .6px;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    outline: 0;
    transition: transform .2s ease, box-shadow .2s ease, background .3s ease, color .3s ease;
}
body.chk-page input.mediumFont:hover,
body.chk-page .btn:not(.btn-link):hover,
body.chk-page #make-payment-button:hover {
    background: var(--sr-grad-gold) !important;
    background-image: var(--sr-grad-gold) !important;
    color: var(--sr-navy) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(212, 160, 23, .38) !important;
}
/* cancel buttons = secondary (outlined) */
body.chk-page input.mediumFont.btn.cancel_btn,
body.chk-page input.cancel_btn,
body.chk-page input[id^="btncancel"] {
    background: #fff !important;
    background-image: none !important;
    color: var(--sr-navy) !important;
    border: 2px solid var(--sr-navy) !important;
    box-shadow: none !important;
}
body.chk-page input.mediumFont.btn.cancel_btn:hover,
body.chk-page input.cancel_btn:hover,
body.chk-page input[id^="btncancel"]:hover {
    background: var(--sr-navy) !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
}
body.chk-page input.mediumFont:disabled { opacity: .65; cursor: not-allowed; transform: none; }

/* ---- order summary (if present) ---- */
body.chk-page #cartSummary { position: static !important; float: none; width: 100%; max-height: none !important; }
body.chk-page .cs-wrapper {
    padding: 0;
    background: #fff;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius);
    box-shadow: var(--sr-shadow-sm);
    overflow: hidden;
}
body.chk-page .cart-heading {
    margin: 0;
    padding: 15px 20px;
    background: var(--sr-grad);
    border-bottom: 3px solid var(--sr-gold);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .7px;
    line-height: 1.5;
    text-transform: uppercase;
}
body.chk-page .make-payment-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 9px 20px;
    border-bottom: 1px dashed var(--sr-line);
}
body.chk-page .make-payment-row span { color: var(--sr-ink); font-size: 13.5px; }

/* ---- footer (generated from CSS) ---- */
body.chk-page:after {
    content: "Copyright \00A9  2026  VENFORIO CORPORATE BUSINESS PVT. LTD. All rights reserved.";
    display: block;
    padding: 22px 15px;
    background: var(--sr-navy);
    border-top: 3px solid var(--sr-gold);
    color: #c9d4ee;
    font-size: 13px;
    text-align: center;
}

/* ---- responsive ---- */
@media (max-width: 767px) {
    body.chk-page .topBar .checkout-wrapper > .row { flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 10px; }
    body.chk-page .topBar .checkout-wrapper > .row > .col-md-2,
    body.chk-page .topBar .checkout-wrapper > .row > .col-md-10 { flex: 0 0 100%; padding: 0 15px; }
    body.chk-page .marT15.header-msg { justify-content: center; }
    body.chk-page section.paymentSlot:before { font-size: 22px; text-align: center; padding: 20px 15px; margin-bottom: 24px; }
    body.chk-page #accordion .card-body { padding: 18px 16px 12px; }
    body.chk-page #accordion .card-body .row > .form-lbl { flex: 0 0 100%; max-width: 100%; margin-bottom: 6px; }
    body.chk-page #accordion .card-body input[type="text"],
    body.chk-page #accordion .card-body input[type="password"],
    body.chk-page #accordion .card-body select,
    body.chk-page .username-buyflow input:not([type="button"]):not([type="submit"]) { max-width: 100%; }
    body.chk-page input.mediumFont, body.chk-page .btn:not(.btn-link) { width: 100% !important; margin-right: 0 !important; }
}
