/* ==========================================================================
   Modern Shop & Product Card Styles (Novosecurity UI/UX)
   ========================================================================== */

/* Shop Container Width & Balanced Grid Proportion */
.shop-container {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 1920px) {
    .shop-container {
        max-width: 1560px;
        padding-left: 28px;
        padding-right: 28px;
    }
}

@media (max-width: 1200px) {
    .shop-container {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 576px) {
    .shop-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Page Title & Breadcrumbs */
.page-title {
    background: #FAF9F6 !important;
    border-bottom: 1px solid #E5E2DC !important;
    padding: 14px 0 !important;
    margin-bottom: 22px !important;
}

.page-title .breadcrumbs,
.breadcrumbs {
    margin-bottom: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #4B5563 !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
}

.page-title .breadcrumbs > li,
.breadcrumbs > li,
.page-title .breadcrumbs li,
.breadcrumbs li {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
    color: #4B5563 !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    vertical-align: middle !important;
    float: none !important;
}

.page-title .breadcrumbs li a,
.breadcrumbs li a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #326987 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    transition: color 0.2s ease !important;
    white-space: nowrap !important;
}

.page-title .breadcrumbs li a:hover,
.breadcrumbs li a:hover {
    color: #263B50 !important;
}

.page-title .breadcrumbs li:first-child a::before,
.breadcrumbs li:first-child a::before {
    content: "\e979" !important;
    font-family: feather !important;
    font-size: 13px !important;
    color: #326987 !important;
    margin-right: 5px !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.page-title .breadcrumbs li.separator,
.breadcrumbs li.separator,
.page-title .breadcrumbs .separator,
.breadcrumbs .separator {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 4px !important;
    margin: 0 !important;
    font-size: 11px !important;
    color: #94A3B8 !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    overflow: visible !important;
    transform: none !important;
}

.page-title .breadcrumbs li.separator::before,
.breadcrumbs li.separator::before,
.page-title .breadcrumbs .separator::before,
.breadcrumbs .separator::before {
    content: "\e930" !important;
    font-family: feather !important;
    font-size: 11px !important;
    color: #94A3B8 !important;
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    position: static !important;
    transform: none !important;
}

.page-title .breadcrumbs li.separator::after,
.breadcrumbs li.separator::after {
    display: none !important;
    content: none !important;
}

@media (max-width: 768px) {
    .page-title {
        padding: 12px 0 !important;
        margin-bottom: 18px !important;
    }
    .page-title .breadcrumbs,
    .breadcrumbs {
        padding-top: 0 !important;
        margin-bottom: 0 !important;
        font-size: 12.5px !important;
        gap: 6px !important;
    }
    .page-title .breadcrumbs li,
    .breadcrumbs li {
        font-size: 12.5px !important;
    }
}

/* Shop Top Filter Bar */
.shop-top-filter-wrapper {
    background: #ffffff;
    border: 1px solid #E5E2DC;
    border-radius: 16px;
    padding: 12px 18px;
    margin-bottom: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.sptfl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.quickFilter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.quickFilter-title {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #263B50;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.quickFilter ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.quickFilter ul li a {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #F1F5F9;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}
.quickFilter ul li a:hover,
.quickFilter ul li.active a {
    background: #326987;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(50, 105, 135, 0.2);
}
.shop-filter-controls-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.shop-sorting {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #64748B;
}
.shop-sorting select.form-control {
    border-radius: 10px;
    border: 1px solid #CBD5E1;
    font-size: 12.5px;
    font-weight: 600;
    color: #0F172A;
    padding: 5px 12px;
    height: auto;
    background-color: #F8FAFC;
    cursor: pointer;
    transition: all 0.2s;
}

/* Sidebar Widgets */
.widget-categories.card {
    border: 1px solid #E5E2DC !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
    margin-bottom: 18px;
    background: #ffffff;
}
.widget-title {
    font-size: 14.5px !important;
    font-weight: 800 !important;
    color: #263B50 !important;
    letter-spacing: -0.2px;
    margin-bottom: 12px !important;
    padding-bottom: 8px;
    border-bottom: 1px solid #E5E2DC;
}
.category-scroll li a {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
}
.category-scroll li a:hover,
.category-scroll li.active a {
    background: #F2F0EB;
    color: #326987;
    font-weight: 700;
    padding-left: 14px;
}

/* ==========================================================================
   Product Card Component (Clean, No Card Jump Animation, Perfect Dimensions)
   ========================================================================== */
.product-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #E5E2DC;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    /* NO transform / translateY hover jump on the card */
}

.product-card:hover {
    border-color: #326987;
    box-shadow: 0 8px 24px rgba(38, 59, 80, 0.08);
}

/* Product Thumb & Elegant Responsive Image Container */
.product-card .product-thumb {
    position: relative;
    width: 100%;
    height: 215px;
    background: #F8FAFC;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

@media (min-width: 577px) and (max-width: 991px) {
    .product-card .product-thumb {
        height: 195px;
        padding: 10px 14px;
    }
}

@media (max-width: 576px) {
    .product-card {
        border-radius: 16px;
        margin-bottom: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    }
    .product-card .product-thumb {
        height: 180px !important;
        padding: 10px 14px !important;
    }
}

.product-card .product-thumb > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0;
}

.product-card .product-thumb img,
.product-card .product-thumb > a img,
.product-card .product-thumb > img {
    max-width: 88% !important;
    max-height: 88% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block !important;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.04));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover .product-thumb img,
.product-card:hover .product-thumb > a img,
.product-card:hover .product-thumb > img {
    transform: translateY(-3px) scale(1.02) !important;
}

/* Badges */
.product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 9px;
    border-radius: 12px;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.product-card .product-badge.bg-info {
    background-color: #326987 !important;
}
.product-card .product-badge.bg-danger {
    background-color: #EF4444 !important;
}
.product-card .product-badge.bg-warning {
    background-color: #F59E0B !important;
    color: #1E293B !important;
}
.product-card .product-badge.bg-dark {
    background-color: #1E293B !important;
}
.product-card .product-badge.bg-success {
    background-color: #10B981 !important;
}
.product-card .product-badge.bg-secondary {
    background-color: #64748B !important;
}

/* Discount Badge (Top Right) */
.product-card .product-badge.product-badge2 {
    left: auto;
    right: 10px;
    background-color: #EF4444 !important;
    font-weight: 800;
}

/* Card Body */
.product-card .product-card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (max-width: 576px) {
    .product-card .product-card-body {
        padding: 14px 16px 18px;
    }
}

.product-card .product-category {
    margin-bottom: 4px;
}

.product-card .product-category a {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #326987;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .product-category a:hover {
    color: #263B50;
}

.product-card .product-title {
    margin: 3px 0 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    min-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 576px) {
    .product-card .product-title {
        font-size: 15.5px;
        line-height: 1.4;
        min-height: auto;
        margin: 4px 0 8px;
    }
}

.product-card .product-title > a {
    color: #263B50;
    text-decoration: none;
    transition: color 0.2s;
}

.product-card .product-title > a:hover {
    color: #326987;
}

/* Rating Stars */
.product-card .rating-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
    font-size: 12px;
    color: #F59E0B;
}

.product-card .rating-stars i {
    color: #F59E0B;
    margin-right: 2px;
}

/* Product Footer Row (Price & Action Icons Side by Side) */
.product-card .product-footer-row {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.product-card .product-price-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.product-card .product-price-wrap del {
    font-size: 12px;
    color: #94A3B8;
    font-weight: 500;
    text-decoration: line-through;
    line-height: 1.1;
    margin-bottom: 1px;
}

.product-card .product-price {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: #263B50;
    line-height: 1.2;
    letter-spacing: -0.3px;
    font-family: 'Barlow', sans-serif;
}

@media (max-width: 576px) {
    .product-card .product-price {
        font-size: 18px;
    }
    .product-card .product-price-wrap del {
        font-size: 13px;
    }
}

/* Product Action Buttons (Sticky next to price, dark blue bg with white icons) */
.product-card .product-footer-row .product-button-group,
.product-card .product-action-buttons {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    top: auto !important;
    width: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
}

.product-card:hover .product-footer-row .product-button-group,
.product-card:hover .product-action-buttons {
    position: static !important;
    bottom: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.product-card .product-footer-row .product-button-group .product-button,
.product-card .product-action-buttons .product-button {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    border-radius: 8px !important;
    background: #326987 !important;
    color: #FFFFFF !important;
    border: 1px solid #326987 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 4px rgba(50, 105, 135, 0.2) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 576px) {
    .product-card {
        border-radius: 18px !important;
        margin-bottom: 16px !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    }
    .product-card .product-thumb {
        height: 180px !important;
        padding: 10px 14px !important;
        background: #F8FAFC !important;
    }
    .product-card .product-thumb img,
    .product-card .product-thumb > a img,
    .product-card .product-thumb > img {
        max-width: 88% !important;
        max-height: 155px !important;
    }
    .product-card .product-card-body {
        padding: 14px 16px 18px !important;
    }
    .product-card .product-title {
        font-size: 15.5px !important;
        line-height: 1.4 !important;
        min-height: auto !important;
        margin: 4px 0 8px !important;
    }
    .product-card .product-title > a {
        font-size: 15.5px !important;
        line-height: 1.4 !important;
    }
    .product-card .product-price {
        font-size: 18px !important;
    }
    .product-card .product-price-wrap del {
        font-size: 13px !important;
    }
    .product-card .product-footer-row {
        padding-top: 12px !important;
    }
    .product-card .product-footer-row .product-button-group .product-button,
    .product-card .product-action-buttons .product-button {
        width: 38px !important;
        height: 38px !important;
        line-height: 38px !important;
        border-radius: 10px !important;
        font-size: 15px !important;
    }
}

.product-card .product-footer-row .product-button-group .product-button i,
.product-card .product-action-buttons .product-button i {
    color: #FFFFFF !important;
    font-size: 13px !important;
    line-height: 1 !important;
    display: inline-block !important;
}

.product-card .product-footer-row .product-button-group .product-button:hover,
.product-card .product-action-buttons .product-button:hover {
    background: #263B50 !important;
    border-color: #263B50 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(38, 59, 80, 0.3) !important;
}

.product-card .product-footer-row .product-button-group .product-button:hover i,
.product-card .product-action-buttons .product-button:hover i {
    color: #FFFFFF !important;
}

/* List View Variant */
.product-card.product-list {
    flex-direction: row;
    margin-bottom: 16px;
}
.product-card.product-list .product-thumb {
    width: 200px;
    height: 170px;
    min-height: 170px;
    padding: 14px 18px;
    flex-shrink: 0;
    border-radius: 15px 0 0 15px;
}
.product-card.product-list .product-thumb img {
    max-width: 88% !important;
    max-height: 145px !important;
}
.product-card.product-list .product-card-body {
    padding: 16px 20px;
}
@media (max-width: 768px) {
    .product-card.product-list {
        flex-direction: column;
    }
    .product-card.product-list .product-thumb {
        width: 100%;
        height: 170px;
        border-radius: 15px 15px 0 0;
    }
    .product-card.product-list .product-thumb img {
        max-width: 76% !important;
        max-height: 130px !important;
    }
}

/* ==========================================================================
   Single Product Details Page Gallery
   ========================================================================== */
.product-gallery {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.product-gallery .product-details-slider {
    background: #F8FAFC;
    border-radius: 16px;
    border: 1px solid #F1F5F9;
    overflow: hidden;
    position: relative;
}

.product-gallery .product-details-slider .item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 480px;
    padding: 24px;
    background: #F8FAFC;
    position: relative;
}

@media (max-width: 991px) {
    .product-gallery .product-details-slider .item {
        height: 380px;
        padding: 16px;
    }
}

@media (max-width: 576px) {
    .product-gallery .product-details-slider .item {
        height: 290px;
        padding: 12px;
    }
}

.product-gallery .product-details-slider .item a.product-gallery-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: zoom-in;
    position: relative;
}

.product-gallery .product-details-slider .item img {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.06));
    transition: none !important;
    transform: none !important;
}

/* Remove zoom overlay / hover jump animation */
.product-gallery .zoomImg {
    display: none !important;
}

/* Zoom Enlarge Button Badge */
.product-gallery .gallery-zoom-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    color: #162D50;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
    z-index: 5;
    border: 1px solid #E2E8F0;
}

.product-gallery .product-details-slider .item:hover .gallery-zoom-btn {
    background: #162D50;
    color: #ffffff;
    border-color: #162D50;
    transform: scale(1.08);
}

/* Modern Thumbnails */
.product-thumbnails .owl-thumbs {
    margin-top: 16px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnails .owl-thumbs .owl-thumb-item {
    width: 72px !important;
    height: 72px !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
    border: 2px solid #E2E8F0 !important;
    padding: 6px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.product-thumbnails .owl-thumbs .owl-thumb-item:hover {
    border-color: #CBD5E1 !important;
    transform: translateY(-2px);
}

.product-thumbnails .owl-thumbs .owl-thumb-item.active {
    border-color: #0284C7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
    background: #ffffff !important;
}

.product-thumbnails .owl-thumbs .owl-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* ==========================================================================
   Magnific Popup Large Lightbox Gallery
   ========================================================================== */
.mfp-bg {
    background: rgba(15, 23, 42, 0.92) !important;
    backdrop-filter: blur(8px);
    z-index: 99998 !important;
}

.mfp-wrap {
    z-index: 99999 !important;
}

.mfp-container {
    padding: 30px 20px !important;
}

.product-large-lightbox .mfp-content {
    max-width: 900px !important;
    width: 90vw !important;
}

.product-large-lightbox .mfp-figure {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 24px 24px 16px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    position: relative !important;
}

.product-large-lightbox .mfp-figure:after {
    display: none !important;
}

.product-large-lightbox img.mfp-img {
    max-height: 75vh !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 520px !important;
    object-fit: contain !important;
    padding: 0 !important;
    margin: 0 auto !important;
    background: #ffffff !important;
    border-radius: 12px !important;
}

@media (max-width: 768px) {
    .product-large-lightbox img.mfp-img {
        height: 350px !important;
        max-height: 65vh !important;
    }
}

@media (max-width: 480px) {
    .product-large-lightbox img.mfp-img {
        height: 260px !important;
        max-height: 55vh !important;
    }
}

.product-large-lightbox .mfp-bottom-bar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin-top: 12px !important;
    padding-top: 0 !important;
    border-top: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.product-large-lightbox .mfp-title {
    display: none !important;
}

.product-large-lightbox .mfp-counter {
    color: #1E293B !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    background: #F1F5F9 !important;
    padding: 5px 14px !important;
    border-radius: 20px !important;
    position: static !important;
    white-space: nowrap !important;
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
}

.product-large-lightbox .mfp-close {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 50% !important;
    background: #162D50 !important;
    color: #ffffff !important;
    top: -14px !important;
    right: -14px !important;
    opacity: 1 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3) !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    font-size: 22px !important;
    cursor: pointer !important;
    font-family: inherit !important;
}

.product-large-lightbox .mfp-close:hover {
    background: #EF4444 !important;
    transform: scale(1.1) !important;
}

/* Crisp Pure CSS Chevron Arrows */
.product-large-lightbox .mfp-arrow {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
    opacity: 1 !important;
    margin-top: -24px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    outline: none !important;
}

.product-large-lightbox .mfp-arrow:hover {
    background: #162D50 !important;
    transform: scale(1.1) !important;
}

.product-large-lightbox .mfp-arrow:before {
    display: none !important;
}

.product-large-lightbox .mfp-arrow:after {
    content: '' !important;
    display: block !important;
    width: 11px !important;
    height: 11px !important;
    border-top: 3px solid #162D50 !important;
    border-right: 3px solid #162D50 !important;
    border-left: none !important;
    border-bottom: none !important;
    position: static !important;
    margin: 0 !important;
    top: auto !important;
    left: auto !important;
    background: transparent !important;
    transition: border-color 0.2s ease !important;
}

.product-large-lightbox .mfp-arrow-left {
    left: 20px !important;
}

.product-large-lightbox .mfp-arrow-left:after {
    transform: rotate(-135deg) !important;
    margin-left: 4px !important;
}

.product-large-lightbox .mfp-arrow-right {
    right: 20px !important;
}

.product-large-lightbox .mfp-arrow-right:after {
    transform: rotate(45deg) !important;
    margin-right: 4px !important;
}

.product-large-lightbox .mfp-arrow:hover:after {
    border-top-color: #ffffff !important;
    border-right-color: #ffffff !important;
}

/* Related Products Slider */
.relatedproductslider .owl-stage {
    display: flex !important;
}
.relatedproductslider .owl-item {
    display: flex !important;
    height: auto !important;
}
.relatedproductslider .slider-item {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.relatedproductslider .slider-item .product-card {
    height: 100% !important;
}

/* ==========================================================================
   Checkout Review & Payment - Pay Now Button & Navigation UI
   ========================================================================== */
#pay-now-direct-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #162D50 !important;
    color: #ffffff !important;
    border: 1px solid #162D50 !important;
    border-radius: 10px !important;
    padding: 14px 38px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 4px 14px rgba(22, 45, 80, 0.25) !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#pay-now-direct-btn::before,
#pay-now-direct-btn::after {
    display: none !important;
    content: none !important;
}

#pay-now-direct-btn:hover,
#pay-now-direct-btn:focus,
#pay-now-direct-btn:active {
    background: #0284C7 !important;
    border-color: #0284C7 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4) !important;
    transform: translateY(-2px) !important;
}

#pay-now-direct-btn i,
#pay-now-direct-btn span {
    color: #ffffff !important;
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.2s ease !important;
}

#pay-now-direct-btn:hover i {
    transform: scale(1.12);
}

.checkout-btn-back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 13px 26px !important;
    border: 1.5px solid #CBD5E1 !important;
    color: #475569 !important;
    background: #FFFFFF !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.checkout-btn-back:hover,
.checkout-btn-back:focus {
    background: #F1F5F9 !important;
    color: #1E293B !important;
    border-color: #94A3B8 !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

/* ==========================================================================
   Global Modern Tech Slate Canvas & Elevated Card System (All Pages)
   ========================================================================== */
body {
    background-color: #F4F6F9 !important;
    color: #1E293B;
}

/* Global Breadcrumb / Page Title */
.page-title {
    background: #FFFFFF !important;
    border-bottom: 1px solid #E2E8F0 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.02) !important;
}

/* Product Details Page - Elevated White Cards */
.details-page-top-right-content {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 20px !important;
    padding: 30px 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

.details-page-top-right-content .p-title-main {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #0F172A !important;
    line-height: 1.25 !important;
}

.product-gallery {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* Tabs: Descriptions, Specifications, Reviews */
.nav-tabs {
    border-bottom: 2px solid #E2E8F0 !important;
    gap: 8px !important;
}

.nav-tabs .nav-link {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    color: #64748B !important;
    padding: 12px 24px !important;
    border: 1px solid transparent !important;
    background: #F1F5F9 !important;
    transition: all 0.2s ease !important;
}

.nav-tabs .nav-link:hover {
    color: #162D50 !important;
    background: #E2E8F0 !important;
}

.nav-tabs .nav-link.active {
    background: #FFFFFF !important;
    color: #162D50 !important;
    border-color: #E2E8F0 #E2E8F0 #FFFFFF !important;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.03) !important;
}

.tab-content.card {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 0 16px 16px 16px !important;
    padding: 28px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* Comparison & Specification Table */
.comparison-table .table {
    margin-bottom: 0 !important;
}

.comparison-table .table th,
.comparison-table .table td {
    border-color: #F1F5F9 !important;
    padding: 14px 18px !important;
}

.comparison-table .table tr:nth-child(even) {
    background-color: #F8FAFC !important;
}

/* Reviews & Feedback Section */
.single-review {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 14px !important;
    padding: 20px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
}

.review-area {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* Cart, Checkout, Tables & General Cards */
.card {
    background-color: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

.table thead th {
    background: #F8FAFC !important;
    color: #475569 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.shopping-cart,
.cart-table,
.checkout-sidebar,
.steps-area,
.wizard-steps {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

/* User Dashboard & Content Containers */
.user-info-wrapper,
.user-data {
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   Payment Trust Badges (iDEAL & Klarna) - Cart & Checkout
   ========================================================================== */
.payment-trust-badges {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-end;
    gap: 6px;
    box-sizing: border-box;
}

.payment-trust-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748B;
    display: block;
    line-height: 1.2;
}

.payment-badges-row {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 100% !important;
}

.payment-badge-item {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 6px !important;
    padding: 3px 8px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    width: auto !important;
    max-width: 95px !important;
    flex: 0 0 auto !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.payment-badge-item:hover {
    border-color: #CBD5E1 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.payment-badge-img {
    height: 20px !important;
    max-height: 20px !important;
    width: auto !important;
    max-width: 75px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: none !important;
}

.payment-badge-ideal {
    height: 20px !important;
    max-height: 20px !important;
    max-width: 65px !important;
    width: auto !important;
}

.payment-badge-klarna {
    height: 16px !important;
    max-height: 16px !important;
    max-width: 58px !important;
    width: auto !important;
}

.payment-action-group {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.payment-trust-badges-sidebar,
.payment-trust-badges-summary {
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

.payment-trust-badges-cart {
    align-items: flex-end;
}

@media (max-width: 768px) {
    .payment-actions-container {
        flex-direction: column-reverse !important;
        gap: 16px !important;
        align-items: stretch !important;
    }
    .payment-action-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        align-items: center !important;
    }
    .payment-trust-badges {
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    .payment-badges-row {
        justify-content: center !important;
        flex-wrap: nowrap !important;
        width: auto !important;
    }
    .payment-badge-item {
        flex: 0 0 auto !important;
        height: 30px !important;
        min-height: 30px !important;
        max-height: 30px !important;
        max-width: 90px !important;
        padding: 3px 6px !important;
    }
    .payment-badge-img {
        max-height: 18px !important;
        height: 18px !important;
        width: auto !important;
    }
    .payment-badge-ideal {
        max-height: 18px !important;
        height: 18px !important;
        max-width: 60px !important;
    }
    .payment-badge-klarna {
        max-height: 14px !important;
        height: 14px !important;
        max-width: 52px !important;
    }
    #pay-now-direct-btn {
        width: 100% !important;
    }
    .checkout-btn-back {
        width: 100% !important;
        text-align: center !important;
    }
    .payment-trust-badges-cart {
        align-items: center !important;
        margin-top: 10px !important;
    }
}

/* ==========================================================================
   Price Filter Manual Inputs Styling
   ========================================================================== */
.price-inputs-wrapper {
    margin-top: 14px;
    margin-bottom: 14px;
}
.price-inputs-wrapper .input-group {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.price-inputs-wrapper .input-group-text {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-right: none;
    border-radius: 8px 0 0 8px;
    color: #64748B;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 8px;
}
.price-inputs-wrapper .form-control {
    border: 1px solid #E2E8F0;
    border-left: none;
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    font-weight: 600;
    color: #0F172A;
    height: 36px;
    padding: 4px 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.price-inputs-wrapper .form-control:focus {
    border-color: #0284C7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.15);
    background-color: #ffffff;
}
.price-inputs-wrapper .price-separator {
    color: #94A3B8;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
}

/* ==========================================================================
   Product Detail Tabs - Modern Styling & Hover Fix
   ========================================================================== */
#details .nav-tabs,
.product-details-tabs .nav-tabs,
.nav-tabs {
    border-bottom: 2px solid #e2e8f0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

#details .nav-tabs .nav-item,
.product-details-tabs .nav-tabs .nav-item,
.nav-tabs .nav-item {
    margin-bottom: -2px !important;
}

#details .nav-tabs .nav-link,
.product-details-tabs .nav-tabs .nav-link,
.nav-tabs .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 11px 24px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    border: 2px solid transparent !important;
    border-bottom: none !important;
    border-radius: 8px 8px 0 0 !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* Inactive Tab Hover & Focus */
#details .nav-tabs .nav-link:hover:not(.active),
#details .nav-tabs .nav-link:focus:not(.active),
.product-details-tabs .nav-tabs .nav-link:hover:not(.active),
.product-details-tabs .nav-tabs .nav-link:focus:not(.active),
.nav-tabs .nav-link:hover:not(.active),
.nav-tabs .nav-link:focus:not(.active) {
    background-color: #e2e8f0 !important;
    color: #162D50 !important;
    border-color: transparent !important;
}

/* Active Tab (Normal, Hover, Focus, Active) */
#details .nav-tabs .nav-link.active,
#details .nav-tabs .nav-link.active:hover,
#details .nav-tabs .nav-link.active:focus,
#details .nav-tabs .nav-link.active:active,
.product-details-tabs .nav-tabs .nav-link.active,
.product-details-tabs .nav-tabs .nav-link.active:hover,
.product-details-tabs .nav-tabs .nav-link.active:focus,
.product-details-tabs .nav-tabs .nav-link.active:active,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:hover,
.nav-tabs .nav-link.active:focus,
.nav-tabs .nav-link.active:active {
    background-color: #162D50 !important;
    color: #ffffff !important;
    border-color: #162D50 !important;
    box-shadow: 0 -2px 6px rgba(22, 45, 80, 0.15) !important;
}

#details .nav-tabs .nav-link.active *,
#details .nav-tabs .nav-link.active:hover *,
.nav-tabs .nav-link.active *,
.nav-tabs .nav-link.active:hover * {
    color: #ffffff !important;
}

/* ==========================================================================
   Responsive Shopping Cart Modern Styles
   ========================================================================== */
.cart-wrapper-modern .cart-main-card,
.cart-wrapper-modern .cart-footer-card {
    background: #ffffff !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

/* Product Item styling */
.cart-table-modern .product-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 200px;
}
.cart-table-modern .product-thumb {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    padding: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.cart-table-modern .product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.cart-table-modern .product-info {
    flex: 1;
    min-width: 0;
}
.cart-table-modern .product-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}
.cart-table-modern .product-title a {
    color: #0F172A;
    text-decoration: none;
    transition: color 0.2s;
}
.cart-table-modern .product-title a:hover {
    color: #0284C7;
}
.cart-table-modern .cart-item-attribute {
    display: block;
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}

/* Quantity Selector in Cart */
.cart-table-modern .qtySelector {
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    height: 38px !important;
}
.cart-table-modern .qtySelector .decreaseQtycart,
.cart-table-modern .qtySelector .increaseQtycart {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    background: #F8FAFC !important;
    color: #162D50 !important;
    font-size: 13px !important;
    user-select: none !important;
    transition: background 0.2s, color 0.2s !important;
}
.cart-table-modern .qtySelector .decreaseQtycart:hover,
.cart-table-modern .qtySelector .increaseQtycart:hover {
    background: #E2E8F0 !important;
}
.cart-table-modern .qtySelector .qtyValue {
    width: 44px !important;
    height: 38px !important;
    border: none !important;
    border-left: 1px solid #E2E8F0 !important;
    border-right: 1px solid #E2E8F0 !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #0F172A !important;
    background: #ffffff !important;
    padding: 0 !important;
}

/* Remove button */
.cart-table-modern .remove-from-cart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    background: #FEE2E2 !important;
    color: #EF4444 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.cart-table-modern .remove-from-cart:hover {
    background: #EF4444 !important;
    color: #ffffff !important;
}

    /* ==========================================================================
       BUTTON UI STYLING & HIERARCHY
       ========================================================================== */

    /* 1. Clear Cart Button */
    .btn-clear-cart {
        background: #FFF1F2 !important;
        border: 1px solid #FECDD3 !important;
        color: #E11D48 !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        padding: 6px 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        white-space: nowrap !important;
        text-decoration: none !important;
    }
    .btn-clear-cart:hover {
        background: #E11D48 !important;
        border-color: #E11D48 !important;
        color: #ffffff !important;
    }
    .btn-clear-cart * {
        color: inherit !important;
    }

    /* 2. Coupon Form & Apply Button */
    .coupon-column {
        flex: 1 1 360px !important;
        max-width: 440px !important;
        min-width: 260px !important;
    }
    .coupon-form {
        margin: 0 !important;
        width: 100% !important;
    }
    .coupon-input-group {
        display: flex !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        align-items: stretch !important;
    }
    .coupon-form .form-control,
    .coupon-input-group .form-control {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 140px !important;
        max-width: none !important;
        margin: 0 !important;
        height: 44px !important;
        border-radius: 10px !important;
        border: 1.5px solid #CBD5E1 !important;
        font-size: 14px !important;
        padding: 8px 14px !important;
        background: #FFFFFF !important;
        color: #0F172A !important;
        transition: border-color 0.2s, box-shadow 0.2s !important;
    }
    .coupon-form .form-control:focus,
    .coupon-input-group .form-control:focus {
        border-color: #162D50 !important;
        box-shadow: 0 0 0 3px rgba(22, 45, 80, 0.1) !important;
    }
    .btn-coupon-apply,
    .coupon-input-group .btn {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        height: 44px !important;
        padding: 0 16px !important;
        white-space: nowrap !important;
        border-radius: 10px !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        background: #162D50 !important;
        border: 1.5px solid #162D50 !important;
        color: #ffffff !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        cursor: pointer !important;
    }
    .btn-coupon-apply:hover,
    .coupon-input-group .btn:hover {
        background: #0F172A !important;
        border-color: #0F172A !important;
        color: #ffffff !important;
    }
    .btn-coupon-apply * {
        color: #ffffff !important;
    }

    /* 3. Primary Checkout Button */
    .btn-checkout-main {
        background: #162D50 !important;
        border: 2px solid #162D50 !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        border-radius: 10px !important;
        padding: 13px 26px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        box-shadow: 0 4px 14px rgba(22, 45, 80, 0.18) !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }
    .btn-checkout-main:hover {
        background: #0F172A !important;
        border-color: #0F172A !important;
        color: #ffffff !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 6px 18px rgba(22, 45, 80, 0.25) !important;
    }
    .btn-checkout-main * {
        color: #ffffff !important;
    }

    /* 4. Secondary Login/Register Button (Outline) */
    .btn-login-cart {
        background: #ffffff !important;
        border: 1.5px solid #162D50 !important;
        color: #162D50 !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        border-radius: 10px !important;
        padding: 12px 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }
    .btn-login-cart:hover {
        background: #F1F5F9 !important;
        border-color: #162D50 !important;
        color: #162D50 !important;
    }
    .btn-login-cart * {
        color: #162D50 !important;
    }

    /* 5. Back to Shopping Button */
    .btn-back-shopping {
        background: #F8FAFC !important;
        border: 1.5px solid #CBD5E1 !important;
        color: #475569 !important;
        font-weight: 600 !important;
        font-size: 14px !important;
        border-radius: 10px !important;
        padding: 12px 20px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        transition: all 0.2s ease !important;
        text-decoration: none !important;
    }
    .btn-back-shopping:hover {
        background: #E2E8F0 !important;
        border-color: #94A3B8 !important;
        color: #0F172A !important;
    }
    .btn-back-shopping * {
        color: inherit !important;
    }

    /* Footer layout */
    .cart-footer-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    .cart-footer-top-row .totals-column {
        min-width: 240px;
    }

    /* ==========================================================================
       MOBILE RESPONSIVE CART (max-width: 767.98px)
       ========================================================================== */
    @media (max-width: 767.98px) {
        .cart-wrapper-modern .cart-main-card {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }
        .cart-wrapper-modern .cart-main-card > .card-body {
            padding: 0 !important;
        }

        .table-responsive.shopping-cart {
            overflow: visible !important;
            border: none !important;
            background: transparent !important;
            box-shadow: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Transform Table to Card Layout */
        .cart-table-modern {
            display: block !important;
            width: 100% !important;
            border: none !important;
            margin-bottom: 0 !important;
        }
        .cart-table-modern thead {
            display: none !important;
        }
        .cart-table-modern tbody {
            display: block !important;
            width: 100% !important;
            border: none !important;
        }

        /* Each Cart Item as a Card */
        .cart-table-modern .cart-item-row {
            display: grid !important;
            grid-template-columns: 1fr auto !important;
            grid-template-areas:
                "product product"
                "price   price"
                "qty     subtotal" !important;
            align-items: center !important;
            gap: 8px 12px !important;
            position: relative !important;
            background: #ffffff !important;
            border: 1px solid #E2E8F0 !important;
            border-radius: 16px !important;
            padding: 16px !important;
            margin-bottom: 12px !important;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        }

        /* Product Details */
        .cart-table-modern .cart-col-product {
            grid-area: product !important;
            display: block !important;
            width: 100% !important;
            padding: 0 !important;
            border: none !important;
            padding-right: 38px !important;
        }
        .cart-table-modern .product-item {
            display: flex !important;
            align-items: flex-start !important;
            gap: 12px !important;
            width: 100% !important;
            margin: 0 !important;
        }
        .cart-table-modern .product-thumb {
            display: flex !important;
            width: 68px !important;
            height: 68px !important;
            min-width: 68px !important;
            border-radius: 10px !important;
        }
        .cart-table-modern .product-info {
            flex: 1 !important;
            min-width: 0 !important;
            padding: 0 !important;
        }
        .cart-table-modern .product-title {
            font-size: 14px !important;
            font-weight: 600 !important;
            margin-bottom: 4px !important;
            line-height: 1.35 !important;
        }

        /* Delete Button in Top-Right */
        .cart-table-modern .cart-col-remove {
            position: absolute !important;
            top: 14px !important;
            right: 14px !important;
            padding: 0 !important;
            border: none !important;
            z-index: 2 !important;
        }
        .cart-table-modern .remove-from-cart {
            width: 32px !important;
            height: 32px !important;
        }

        /* Unit Price Row */
        .cart-table-modern .cart-col-price {
            grid-area: price !important;
            display: flex !important;
            justify-content: space-between !important;
            align-items: center !important;
            width: 100% !important;
            padding: 8px 0 !important;
            margin-top: 4px !important;
            border: none !important;
            border-top: 1px dashed #E2E8F0 !important;
            border-bottom: 1px dashed #E2E8F0 !important;
            font-size: 13px !important;
        }
        .cart-table-modern .cart-col-price .mobile-label {
            color: #64748B !important;
            font-weight: 500 !important;
            font-size: 13px !important;
        }
        .cart-table-modern .cart-col-price .price-val {
            color: #334155 !important;
            font-weight: 600 !important;
            font-size: 14px !important;
        }

        /* Quantity Controls (Bottom Left) */
        .cart-table-modern .cart-col-qty {
            grid-area: qty !important;
            display: flex !important;
            align-items: center !important;
            padding: 4px 0 0 0 !important;
            border: none !important;
            width: auto !important;
        }
        .cart-table-modern .qtySelector {
            height: 36px !important;
        }
        .cart-table-modern .qtySelector .decreaseQtycart,
        .cart-table-modern .qtySelector .increaseQtycart {
            width: 36px !important;
            height: 36px !important;
        }
        .cart-table-modern .qtySelector .qtyValue {
            width: 40px !important;
            height: 36px !important;
        }

        /* Subtotal (Bottom Right) */
        .cart-table-modern .cart-col-subtotal {
            grid-area: subtotal !important;
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-end !important;
            justify-content: center !important;
            padding: 4px 0 0 0 !important;
            border: none !important;
            text-align: right !important;
            width: auto !important;
        }
        .cart-table-modern .cart-col-subtotal .mobile-label {
            font-size: 11px !important;
            text-transform: uppercase !important;
            letter-spacing: 0.5px !important;
            color: #64748B !important;
            font-weight: 600 !important;
            margin-bottom: 2px !important;
        }
        .cart-table-modern .cart-col-subtotal .subtotal-val {
            font-size: 16px !important;
            font-weight: 700 !important;
            color: #162D50 !important;
        }

        /* Footer Mobile Adjustments */
        .cart-footer-card {
            border-radius: 16px !important;
        }
        .cart-footer-top-row {
            flex-direction: column !important;
            align-items: stretch !important;
            gap: 14px !important;
        }
        .coupon-column {
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            flex: 1 1 100% !important;
        }
        .coupon-input-group {
            max-width: 100% !important;
            width: 100% !important;
            gap: 8px !important;
        }
        .coupon-form .form-control,
        .coupon-input-group .form-control {
            flex: 1 1 auto !important;
            width: 0 !important;
            min-width: 0 !important;
            max-width: none !important;
            margin: 0 !important;
            height: 44px !important;
            font-size: 13.5px !important;
            padding: 8px 12px !important;
        }
        .btn-coupon-apply,
        .coupon-input-group .btn {
            flex: 0 0 auto !important;
            width: auto !important;
            padding: 0 14px !important;
            font-size: 13px !important;
            height: 44px !important;
            white-space: nowrap !important;
        }

        .totals-column {
            width: 100% !important;
            border-top: 1px solid #E2E8F0 !important;
            padding-top: 14px !important;
        }
        .totals-column .subtotal-line {
            font-size: 16px !important;
        }
        .totals-column .main-subtotal-val {
            font-size: 18px !important;
            color: #162D50 !important;
        }

        .cart-footer-bottom-row {
            gap: 12px !important;
        }
        .checkout-actions-col {
            width: 100% !important;
        }
        .checkout-actions-col .btn-checkout-main {
            width: 100% !important;
            padding: 14px 20px !important;
            font-size: 15.5px !important;
            text-align: center !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        .checkout-actions-col .btn-login-cart {
            width: 100% !important;
            padding: 12px 18px !important;
            font-size: 14px !important;
            text-align: center !important;
        }
        .back-shopping-col .btn-back-shopping {
            width: 100% !important;
            padding: 12px 18px !important;
            font-size: 14px !important;
            text-align: center !important;
        }
        .payment-trust-badges-cart {
            align-items: center !important;
            width: 100% !important;
            margin-top: 12px !important;
        }
    }

    @media (max-width: 380px) {
        .btn-coupon-apply,
        .coupon-input-group .btn {
            padding: 0 10px !important;
            font-size: 12.5px !important;
        }
    }

/* ==========================================================================
   Shop Page Mobile Top Bar & Button High-Contrast Styling
   ========================================================================== */
.sidebar-toggle,
.btn.sidebar-toggle {
    background-color: #326987 !important;
    border-color: #326987 !important;
    color: #FFFFFF !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    padding: 11px 16px !important;
    box-shadow: 0 2px 8px rgba(50, 105, 135, 0.2) !important;
    transition: all 0.2s ease !important;
}

.sidebar-toggle:hover,
.sidebar-toggle:focus,
.sidebar-toggle:active {
    background-color: #263B50 !important;
    border-color: #263B50 !important;
    color: #FFFFFF !important;
}

.sidebar-toggle span,
.sidebar-toggle i {
    color: #FFFFFF !important;
}

.btn-outline-primary {
    background-color: transparent !important;
    border: 1.5px solid #326987 !important;
    color: #326987 !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: #326987 !important;
    border-color: #326987 !important;
    color: #FFFFFF !important;
}


