/* =========================================
   PRODUCTS PAGE GRID (LUXURY THEME)
========================================= */

.shb-products-page {
    background-color: #fcfcfc; /* Extremely subtle off-white */
}

/* Modern Card Layout */
.shb-pro-card-modern {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.01);
}

.shb-pro-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border-color: #eaeaea;
}

/* Image Wrapper & Overlay */
.shb-pro-img-wrapper {
    position: relative;
    height: 250px;
    background-color: #f8f9fa; /* Safe staging background */
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #f8f9fa;
}

.shb-pro-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: darken; /* Magically blends white backgrounds into grey staging area */
    transition: transform 0.6s ease;
}

.shb-pro-card-modern:hover .shb-pro-img-wrapper img {
    transform: scale(1.08);
}

/* Featured Tag */
.shb-pro-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #cc0000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(204,0,0,0.2);
}

/* Hover Quick View Button */
.shb-pro-img-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
    opacity: 0;
    z-index: 3;
}

.shb-pro-card-modern:hover .shb-pro-img-overlay {
    bottom: 25px;
    opacity: 1;
}

.shb-pro-quick-view {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease;
}

.shb-pro-quick-view:hover {
    background-color: #cc0000;
    color: #ffffff;
}

/* Bottom Content Styling */
.shb-pro-content-wrapper {
    padding: 25px;
}

.shb-pro-title-main {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
}

.shb-pro-title-main a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shb-pro-title-main a:hover {
    color: #cc0000;
}

.shb-pro-short-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Bottom Footer (Stock & Link) */
.shb-pro-footer {
    border-color: #f0f0f0 !important;
}

.shb-minimal-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.shb-minimal-link i {
    transition: transform 0.3s ease;
    color: #cc0000;
}

.shb-minimal-link:hover {
    color: #cc0000;
}

.shb-minimal-link:hover i {
    transform: translateX(4px);
}

/* Responsive Scaling */
@media (max-width: 991px) {
    .shb-pro-img-wrapper { height: 220px; }
}
@media (max-width: 768px) {
    .shb-pro-img-wrapper { height: 200px; }
    .shb-pro-content-wrapper { padding: 20px; }
    /* Show quick view button always on mobile since there is no hover */
    .shb-pro-img-overlay { bottom: 15px; opacity: 1; }
}

/* =========================================
   PRODUCT DETAIL PAGE STYLES (LUXURY THEME)
========================================= */

/* Main Image Staging Area */
.shb-detail-image-box {
    position: relative;
    background-color: #f4f5f7;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    border: 1px solid #eeeeee;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shb-detail-main-img {
    max-height: 450px;
    object-fit: contain;
    mix-blend-mode: darken; /* Makes white background of product blend beautifully */
}

.shb-detail-tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}

.shb-detail-tags .badge {
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Product Typography */
.shb-detail-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: -1px;
    line-height: 1.2;
}

.shb-detail-brand {
    font-size: 0.9rem;
}

.shb-detail-short-desc {
    font-size: 1.05rem;
    color: #555555;
    line-height: 1.7;
}

/* Call to Action Buttons (Dual setup) */
.shb-btn-call {
    background-color: #cc0000;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: 2px solid #cc0000;
    transition: all 0.3s ease;
}

.shb-btn-call:hover {
    background-color: transparent;
    color: #cc0000;
    box-shadow: 0 5px 15px rgba(204,0,0,0.15);
}

.shb-btn-inquiry {
    background-color: #1a1a1a;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    border: 2px solid #1a1a1a;
    transition: all 0.3s ease;
}

.shb-btn-inquiry:hover {
    background-color: transparent;
    color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Custom Tabs for Description */
.shb-custom-tabs {
    border-bottom: 2px solid #eaeaea;
}

.shb-custom-tabs .nav-link {
    border: none;
    color: #666666;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 15px 25px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    background: transparent;
}

.shb-custom-tabs .nav-link:hover {
    color: #1a1a1a;
    border-color: #dcdcdc;
}

.shb-custom-tabs .nav-link.active {
    color: #cc0000;
    border-color: #cc0000;
    background: transparent;
}

.shb-tab-content {
    background: #ffffff;
    border-color: #eaeaea !important;
    border-top: none !important;
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.8;
}

/* Support List under Tabs */
.shb-support-list {
    font-size: 1.05rem;
    color: #4a4a4a;
}

/* Helper Class */
.hover-danger:hover {
    color: #cc0000 !important;
}

/* Responsive Scaling */
@media (max-width: 991px) {
    .shb-detail-title { font-size: 2rem; }
    .shb-detail-image-box { min-height: 300px; padding: 20px; }
}
@media (max-width: 768px) {
    .shb-custom-tabs .nav-link { font-size: 0.95rem; padding: 10px 15px; }
    .shb-btn-call, .shb-btn-inquiry { width: 100%; text-align: center; }
}