/* ===== BOOTSTRAP 4 STYLES FOR BERNARD WATCH ===== */

/* ===== BASE LAYOUT ===== */

body {
    overflow-x: hidden;
    padding-top: 0;
}

/* ===== GLOBAL LINK STYLES ===== */

a {
    color: #0066c0;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a:hover {
    color: #3d566c;
    text-decoration: none;
}

/* Animated underline effect for content links - blue line like footer */
/* Exclude buttons, badges, cards, nav items, and links containing buttons */
a:not(.btn):not(.badge):not(.card):not([class*="nav-"]):not(.navbar-brand):not(.dropdown-item):not(:has(.btn)):not(:has(button))::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

a:not(.btn):not(.badge):not(.card):not([class*="nav-"]):not(.navbar-brand):not(.dropdown-item):not(:has(.btn)):not(:has(button)):hover::after {
    transform: scaleX(1);
}

a:not(.btn):not(.badge):not(.card):not([class*="nav-"]):not(.navbar-brand):not(.dropdown-item):not(:has(.btn)):not(:has(button)):hover {
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.4);
    transform: translateY(-1px);
}

.container {
    max-width: 1200px;
}

/* ===== STICKY NAVBAR ===== */

#menu-1 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
    transform: translateY(0);
}

#menu-1.nav-hidden {
    transform: translateY(-100%);
}

/* ===== SIDEBAR & NAVIGATION ===== */

.list-Xitems {
    padding-left: 0;
}

.list-Xitems li {
    padding: 5px 0;
}

.list-Xitems li a {
    color: #0066c0;
    text-decoration: none;
}

.list-Xitems li a:hover {
    color: #3d566c;
    text-decoration: none;
}

.d-block.d-md-none .mb-2 a {
    text-decoration: none;
}

.d-block.d-md-none h4 {
    margin: 0;
    padding: 0;
}

/* ===== GRID LAYOUTS ===== */

.featuredThumbs {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.row:first-child {
    margin-bottom: 2rem;
}

.row.mt-4 {
    margin-top: 2rem !important;
}

/* ===== WATCH CARDS ===== */

.card.specialThumb {
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e7e7e7;
    position: relative;
    height: auto;
}

.card.specialThumb .thumb-wrap {
    position: relative;
    padding: 10px 10px 2px;
    overflow: hidden;
    margin-bottom: -5px;
    z-index: 1;
}

.card.specialThumb .thumb-wrap a {
    display: block;
    margin-bottom: 2px;
    position: relative;
}

.card.specialThumb .thumb-wrap img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: all 0.8s ease;
}

.card.specialThumb .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin-top: 4px;
    padding-top: -4px;
    position: relative;
    z-index: 3;
}

.card.specialThumb .labelrow {
    margin-top: -5px;
    margin-bottom: -2px;
    padding-top: 8px;
    padding-bottom: 4px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    white-space: normal;
}

/* Product name styling - consolidated */
.card.specialThumb .productname,
.card.specialThumb > .productname {
    margin: 0;
    padding: 8px 10px 4px;
    min-height: 32px;
    font-size: 0.9em;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.specialThumb .productname a,
.card.specialThumb > .productname a {
    color: #3d566c;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08em;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.2em * 2);
    min-height: calc(1.2em * 2);
}

.card.specialThumb .productname a:hover,
.card.specialThumb > .productname a:hover {
    color: #3d566c;
    text-decoration: none;
}

/* Image hover effects */
.card.specialThumb:hover img {
    transform: scale(1.2);
}

/* Override: No zoom effect for list view cards */
.card:not(.specialThumb) img {
    transition: none !important;
}

.card:not(.specialThumb):hover img {
    transform: none !important;
}

/* ===== PRICING ===== */

.card .price {
    margin-top: 0;
    padding-top: 0;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
}

.card.specialThumb .card-body .price {
    padding-top: -20px;
}

.price > .price {
    padding: 0;
}

.pricenew a {
    color: #0066c0;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.2em;
}

.pricenew a:hover {
    color: #3d566c;
    text-decoration: none;
}

.wirecart {
    color: #666;
    font-size: 0.85em;
    text-decoration: none;
    font-weight: normal;
}

.wirecart:hover {
    color: #3d566c;
    text-decoration: none;
}

/* General product name styling (fallback) */
.productname {
    margin-bottom: 15px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    line-height: 1.3;
    padding: 0 10px;
}

.productname a {
    font-weight: 500;
    text-decoration: none;
    color: #3d566c;
}

.productname a:hover {
    text-decoration: none;
    color: #3d566c;
}

/* ===== BADGES & LABELS ===== */

.badge,
.label {
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
    padding: 0.2em 0.5em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1.1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.labelrow {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 2px 0 4px;
    padding: 0;
    background: transparent;
    min-height: auto;
    max-width: 100%;
}

.labelrow .badge {
    margin: 2px;
    font-size: 0.8em;
    padding: 0.28em 0.55em;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.labelrow .toprow {
    margin-bottom: 0;
    margin-right: 3px;
}

/* Overlay badges on images */
.card.specialThumb .labelrow-overlay {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 100%;
    text-align: center;
}

.card.specialThumb .labelrow-overlay .badge {
    font-size: 1.1em;
    padding: 0.4em 0.8em;
    font-weight: 700;
    border-radius: 20px;
}

/* Badge color schemes - consolidated */
.badge-color1,
.badge-color1[href],
.label-color1,
.label-color1[href],
.badge-orange,
.badge-orange[href],
.label-orange,
.label-orange[href] {
    background-color: #3d566c !important;
    color: #fff !important;
}

.badge-color2,
.badge-color2[href],
.label-color2,
.label-color2[href] {
    background-color: #705950 !important;
    color: #fff !important;
    padding: 0.2em 0.5em !important;
    font-size: 0.85em !important;
    border-radius: 0.25rem !important;
}

.badge-color3,
.badge-color3[href],
.label-color3,
.label-color3[href] {
    background-color: #28a745 !important;
    color: #fff !important;
}

.badge-important,
.label-important {
    background-color: #dc3545 !important;
    color: #fff !important;
}

/* Sale badges */
.sale, 
.saleOff,
.card.specialThumb .sale,
.card.specialThumb .saleOff {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #f33;
    color: white;
    padding: 5px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: bold;
}

/* onHold styling moved to BernardSale.css for consistency */

.badgeup {
    font-size: 14px;
    margin: 0.3em;
    padding: 0.4em;
}

.labelLine {
    line-height: 2;
}

.productlabels {
    margin-bottom: 8px;
}

.productlabels .label,
.productlabels .badge {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 4px;
    padding: 0.2em 0.5em;
    font-size: 0.75em;
    font-weight: 500;
    border-radius: 0.25rem;
}

/* ===== BUTTONS ===== */

.btn-front {
    background-color: #3d566c;
    border-color: #3d566c;
    color: white;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.btn-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-front:hover {
    background-color: #2a3d52;
    border-color: #2a3d52;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 86, 108, 0.4);
}

.btn-front:hover::before {
    left: 100%;
}

.btn-front:focus,
.btn-front.focus {
    background-color: #2a3d52;
    border-color: #2a3d52;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(61, 86, 108, 0.25);
    transform: translateY(-1px);
}

.btn-front:active {
    background-color: #1e2d3d;
    border-color: #1e2d3d;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(45, 86, 108, 0.3);
}

.btn-front:active::before {
    left: -100%;
    transition: none;
}

.btn-orange {
    background-color: #3d566c;
    border-color: #3d566c;
    color: white;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
    display: inline-block;
}

.btn-orange::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-orange:hover {
    background-color: #2a3d52;
    border-color: #2a3d52;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 86, 108, 0.4);
}

.btn-orange:hover::before {
    left: 100%;
}

.btn-orange:focus,
.btn-orange.focus {
    background-color: #2a3d52;
    border-color: #2a3d52;
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(61, 86, 108, 0.25);
    transform: translateY(-1px);
}

.btn-orange:active {
    background-color: #1e2d3d;
    border-color: #1e2d3d;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(45, 86, 108, 0.3);
}

.btn-orange:active::before {
    left: -100%;
    transition: none;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* ===== UTILITY CLASSES ===== */

.text-center {
    text-align: center !important;
}

.justify-content-center {
    justify-content: center !important;
}

@media (max-width: 576px) {
    .card.specialThumb {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .productname {
        min-height: 40px;
        font-size: 0.9em;
    }
    
    .labelrow {
        min-height: 50px;
        padding: 4px 5px;
        gap: 1px;
        max-width: 98%;
    }
    
    .labelrow .badge {
        font-size: 0.55em;
        padding: 0.1em 0.25em;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .container-fluid,
    .container {
        padding-left: 10px;
        padding-right: 10px;
        overflow-x: hidden;
    }
    
    .badge {
        font-size: x-small;
    }
    
    /* Card styling for mobile */
    .card.specialThumb { 
        padding: 6px 6px 4px; 
        margin-top: 0 !important; 
    }
    
    .card.specialThumb .productname { 
        margin-top: 0; 
        margin-bottom: 2px; 
    }
    
    .card.specialThumb .card-body { 
        display: flex; 
        flex-direction: column; 
        gap: 2px; 
        margin-top: -10px; 
    }
    
    .card.specialThumb .labelrow { 
        margin-top: -8px; 
        margin-bottom: -2px; 
    }
    
    .card.specialThumb .price { 
        margin: 0; 
        font-size: 1.05em; 
    }
    
    .wire-price-mobile a { 
        font-size: 0.78em; 
    }
    
    .wire-price-mobile { 
        margin-left: 2px; 
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row > [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.625rem 1rem;
    }
    
    .labelrow {
        gap: 2px;
        padding: 5px 6px;
        max-width: 95%;
    }
    
    .labelrow .badge {
        font-size: 0.6em;
        padding: 0.15em 0.3em;
    }
    
    /* Product page adjustments */
    #product .col-md-8:last-child,
    #product .col-md-6:last-child {
        padding-left: 15px;
        margin-top: 15px;
    }
    
    #product .productname {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    #product .productpageprice {
        font-size: 1.5rem;
    }
    
    .productprice {
        margin: 10px 0 8px 0;
    }
    
    #product .row.text-center {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .productlabels {
        margin-bottom: 6px;
    }
    
    /* Footer social icons */
    .footerlinks .text-center a {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 6px 8px 0;
    }
    
    /* Contact form */
    .contact-form-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .contact-form-title {
        font-size: 1.5rem;
    }
    
    .btn-send-inquiry {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    .newsletter-section {
        padding: 1rem;
    }
    
    /* Sell watch CTA */
    .sell-watch-cta {
        margin: 0.75rem 0;
    }
    
    .cta-container {
        padding: 0.75rem;
        border-radius: 8px;
    }
    
    .cta-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .cta-subtitle {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .cta-benefits {
        display: none !important;
    }
    
    .cta-visual {
        display: none !important;
    }
    
    .cta-actions {
        margin-top: 0.75rem !important;
    }
    
    .cta-actions .mb-2 {
        margin-bottom: 0.5rem !important;
    }
    
    .btn-lg {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    
    .btn-sell-primary span,
    .btn-trade-secondary span {
        font-size: 0.75rem !important;
    }
    
    .btn-sell-primary small,
    .btn-trade-secondary small {
        font-size: 0.65rem !important;
    }
    
    .pulse-ring {
        display: none;
    }
    
    .cta-footer-text {
        display: none;
    }
}

@media (min-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .text-center.text-md-right {
        text-align: right !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .watch-icon-container i {
        font-size: 2rem !important;
    }
    
    .pulse-ring {
        width: 50px;
        height: 50px;
    }
    
    .cta-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .label-up {
        font-size: 100%;
        font-weight: 400;
    }
}

/* ===== PRODUCT PAGE STYLES ===== */

/* Product page layout */
#product .row {
    margin-bottom: 15px;
}

/* Tighten spacing for product info area */
#product .col-md-8 .row,
#product .col-md-7 .row {
    margin-bottom: 10px;
}

#product .col-md-8:last-child,
#product .col-md-7:last-child,
#product .col-md-6:last-child {
    padding-left: 25px;
}

/* Hero image styling */
#product .col-md-4:first-child .thumbnail,
#product .col-md-5:first-child .thumbnail,
#product .col-md-6:first-child .thumbnail {
    display: block;
    position: relative;
    margin-bottom: 15px;
    padding: 6px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

#product .col-md-4:first-child .thumbnail:hover,
#product .col-md-5:first-child .thumbnail:hover,
#product .col-md-6:first-child .thumbnail:hover {
    border-color: #337ab7;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#product .col-md-4:first-child .thumbnail img,
#product .col-md-5:first-child .thumbnail img,
#product .col-md-6:first-child .thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product page sale badges */
#product .saleOff {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 0.8em;
    font-weight: 600;
    color: white;
    background-color: #e74c3c;
}

/* onHold styling consolidated in BernardSale.css */

/* Product information styling */
#product .productname {
    font-size: 2.4rem;
 font-family: 'Playfair Display', serif; /* Elegant serif font */
    font-weight: 4500;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 0.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#product .productname .brand {
    color: #3d566c;
}

#product .productname .model {
    color: #34495e;
}

/* .productprice {
    margin: 15px 0 10px 0;
}
 */
.productpageprice {
    font-size: 2.0rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}


/* Product page buttons */
#product .row.text-center {
    margin-top: 8px;
    margin-bottom: 15px;
}

#product .btn-wrapper {
    margin-bottom: 8px;
}

#product .btn-front {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Product description and gallery */
.productdesc {
    margin-top: 15px;
    margin-bottom: 20px;
}

#watch-test-gallery {
    margin-top: 30px;
    margin-bottom: 30px;
}

.gallery-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid #ecf0f1;
}

/* ===== CART PAGE STYLES ===== */

.cart-thumb-image {
    max-width: 250px;
    max-height: 333px;
    width: auto;
    height: auto;
    border: 1px solid #e7e7e7;
    padding: 8px;
    background: #fff;
    transition: all 0.3s ease;
}

.cart-thumb-image:hover {
    border-color: #3d566c;
    box-shadow: 0 4px 12px rgba(61, 86, 108, 0.2);
}

/* Prevent the animated underline from appearing on cart thumbnail links */
a:has(.cart-thumb-image)::after {
    display: none !important;
}

/* Prevent the animated underline from appearing on trust seal/badge images */
a:has(img[src*="bbb.org"])::after,
a:has(img[src*="seal"])::after,
a:has(img[src*="badge"])::after,
a:has(img[src*="trustmark"])::after,
a:has(img[src*="securitymetrics"])::after,
a:has(.trustedsite-trustmark)::after,
a:has(.mfes-trustmark)::after,
a:has(.TrustSealColumn)::after,
a:has(img[src*="/image/content/"])::after,
a:has(img[src*="buying"])::after,
a.no-underline::after,
a.img-link::after {
    display: none !important;
}

/* Optional: Add class for image links that should never have underlines */
a.no-underline,
a.img-link {
    text-decoration: none !important;
}

a.no-underline:hover,
a.img-link:hover {
    text-decoration: none !important;
    text-shadow: none !important;
    transform: none !important;
}

.cart-item-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cart-item-card .card-body {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .cart-thumb-image {
        max-width: 180px;
        max-height: 240px;
    }
    
    .cart-item-card .card-text {
        display: none;
    }
}

/* ===== BREADCRUMBS ===== */

.breadcrumb,
#content .breadcrumb,
.container .breadcrumb,
body .breadcrumb,
#product .breadcrumb {
    padding: 6px 2px;
    margin-bottom: 5px;
    background-color: transparent;
    border-radius: 0;
    border: none;
    font-size: 14px;
    list-style: none;
}

.breadcrumb > .active,
#content .breadcrumb > .active,
body .breadcrumb > .active {
    color: #111;
    font-weight: 500;
}

.breadcrumb a,
#content .breadcrumb a,
body .breadcrumb a {
    color: #0066c0;
    text-decoration: none;
}

.breadcrumb a:hover,
#content .breadcrumb a:hover,
body .breadcrumb a:hover {
    color: #3d566c;
    text-decoration: none;
}

.breadcrumb > li + li:before,
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #999;
    padding: 0 5px;
}

/* ===== TABS ===== */

.nav-tabs {
    border-bottom: 1px solid #ddd;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    padding-left: 0;
    list-style: none;
}

.nav-tabs .nav-item {
    margin-bottom: -1px;
    display: list-item;
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #3d566c;
    background-color: #f5f5f5;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    margin-right: 2px;
    line-height: 1.42857143;
    font-size: 0.9rem;
}

.nav-tabs .nav-link:hover {
    border-color: #eee #eee #ddd;
    background-color: #eee;
    color: #2c3e50;
    text-decoration: none;
}

.nav-tabs .nav-item.active .nav-link,
.nav-tabs .nav-link.active {
    color: #555;
    cursor: default;
    background-color: #fff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}

.tab-content {
    background-color: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 0 0 3px 3px;
    border-top: none;
    padding: 12px;
    margin-top: 0;
    margin-bottom: 15px;
    min-height: 200px;
    position: relative;
}

.tab-pane {
    display: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
}

.tab-pane.active {
    display: block;
    position: static;
}

/* ===== SIDEBAR ELEMENTS ===== */

/* What's New images zoom effect */
.whatsnew-group-small {
    overflow: hidden;
}

.whatsnew-group-small a {
    display: block;
    text-decoration: none;
}

.whatsnew-group-small img {
    transition: all 0.8s ease;
}

.whatsnew-group-small:hover img {
    transform: scale(1.2);
}

/* Watch count display */
.watch-count-text {
    font-size: 1.1em;
    font-weight: 500;
}

.zero-items-text {
    font-size: 1.1em;
}

/* ===== BOX IMAGE HOVER FUNCTIONALITY ===== */

.boxpapers {
    position: relative;
    cursor: pointer;
}

.boxpapers:hover {
    background-color: rgba(61, 86, 108, 0.1);
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.card.specialThumb img {
    transition: opacity 0.3s ease;
    display: block;
}

.card.specialThumb img.box-image-active {
    opacity: 1;
    object-fit: cover;
}

/* ===== BRAND LINK STYLING ===== */

h3.terms-heading a.brand-link {
    color: #ffffff !important;
    text-decoration: none !important;
    text-shadow: 
        -1px -1px 0 #007bff,
        1px -1px 0 #007bff,
        -1px 1px 0 #007bff,
        1px 1px 0 #007bff,
        0 -2px 0 #007bff,
        -2px 0 0 #007bff,
        0 2px 0 #007bff,
        2px 0 0 #007bff !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    display: inline-block !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

h3.terms-heading a.brand-link:hover {
    color: #ffffff !important;
    text-shadow: 
        -1px -1px 0 #0056b3,
        1px -1px 0 #0056b3,
        -1px 1px 0 #0056b3,
        1px 1px 0 #0056b3,
        0 -2px 0 #0056b3,
        -2px 0 0 #0056b3,
        0 2px 0 0 #0056b3,
        2px 0 0 #0056b3,
        0 0 10px rgba(0, 86, 179, 0.8) !important;
    text-decoration: none !important;
    transform: translateY(-1px) scale(1.02) !important;
    background: rgba(0, 123, 255, 0.15) !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 12px rgba(0, 123, 255, 0.3) !important;
}

h3.terms-heading a.brand-link:focus {
    color: #ffffff !important;
    text-shadow: 
        -1px -1px 0 #0056b3,
        1px -1px 0 #0056b3,
        -1px 1px 0 #0056b3,
        1px 1px 0 #0056b3,
        0 -2px 0 #0056b3,
        -2px 0 0 #0056b3,
        0 2px 0 #0056b3,
        2px 0 0 #0056b3,
        0 0 8px rgba(0, 86, 179, 0.6) !important;
    outline: 2px solid rgba(0, 123, 255, 0.6) !important;
    outline-offset: 2px !important;
    background: rgba(0, 123, 255, 0.1) !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
}

h3.terms-heading a.brand-link::before {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg, #007bff, #0056b3) !important;
    transition: all 0.3s ease !important;
    transform: translateX(-50%) !important;
    border-radius: 1px !important;
}

h3.terms-heading a.brand-link:hover::before {
    width: 100% !important;
}

/* ===== SOCIAL MEDIA ICONS ===== */

/* Make social icons bigger and colorful like legacy version */
.footerlinks .text-center a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin: 0 8px 10px 0;
    font-size: 24px;
    transition: all 0.3s ease;
    border: none !important;
    color: white !important;
    text-decoration: none;
    line-height: 1;
}

/* Facebook - Blue */
.footerlinks .text-center a[href*="facebook"] {
    background-color: #1877f2 !important;
}

.footerlinks .text-center a[href*="facebook"]:hover {
    background-color: #0d47a1 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

/* Instagram - Gradient */
.footerlinks .text-center a[href*="instagram"] {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
}

.footerlinks .text-center a[href*="instagram"]:hover {
    background: linear-gradient(45deg, #e0842a 0%, #d6582c 25%, #cc1d3a 50%, #bc1a5c 75%, #ac0f7f 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

/* Pinterest - Red */
.footerlinks .text-center a[href*="pinterest"] {
    background-color: #e60023 !important;
}

.footerlinks .text-center a[href*="pinterest"]:hover {
    background-color: #bd001c !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 0, 35, 0.4);
}

/* Twitter - Blue */
.footerlinks .text-center a[href*="twitter"] {
    background-color: #1da1f2 !important;
}

.footerlinks .text-center a[href*="twitter"]:hover {
    background-color: #0d8bd9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

/* Remove outline button styles and override Bootstrap */
.footerlinks .text-center a.btn-outline-primary {
    border: none !important;
}

.footerlinks .text-center a.btn {
    padding: 0 !important;
}

/* Responsive adjustments for social icons */
@media (max-width: 576px) {
    .footerlinks .text-center a {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin: 0 6px 8px 0;
    }
}

/* ===== FOOTER SECTIONS ===== */

/* Footer dark white text styling */
.footerDarkWhite {
    color: #f8f9fa !important;
}

.footerDarkWhite a.footerDarkWhite {
    color: #f8f9fa !important;
    text-decoration: none;
}

.footerDarkWhite a.footerDarkWhite:hover {
    color: #dee2e6 !important;
    text-decoration: none;
}

/* Footer links section styling */
.footerlinks {
    background-color: #3a3a3a;
    padding: 22px 0 18px;
    color: #969ba4;
}

.footerlinks .info ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footerlinks .info ul li {
    display: inline-block;
    list-style: none;
}

.footerlinks .info ul li a {
    color: #f7f7f7;
    padding: 5px 10px;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}

.footerlinks .info ul li a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 10px;
    right: 10px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #00d4ff);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 1px;
}

.footerlinks .info ul li a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}

.footerlinks .info ul li a:hover::after {
    transform: scaleX(1);
}

.footerlinks .info ul li:first-child a {
    padding-left: 0;
}

.footerlinks .info {
    margin-top: 5px;
}

/* Footer social section styling */
.footersocial {
    background-color: #F5F5F5;
    padding: 30px 0 20px;
    color: #213157;
}

.footersocial h2 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #213157;
    text-transform: uppercase;
    border-bottom: 1px solid #007bff;
    padding: 0 0 5px 0;
    line-height: 1.2;
}

/* Copyright section styling */
.copyrightbottom {
    background-color: #2c3e50;
    padding: 12px 0 10px 0;
    margin-top: 0;
    line-height: 1;
}

.copyrightbottom .row {
    margin-bottom: 0;
}

.copyrightbottom .col-12 {
    padding-bottom: 0;
}

/* Alert styling for sell watch notice */
.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid #17a2b8;
}

/* Alert styling for general messages */
.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid #dc3545;
}

/* Contact section styling */
.contactus h2, .quicklinks h2, .aboutus h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c3e50;
    font-weight: 600;
}

.contactus h2 a, .quicklinks h2 a, .aboutus h2 a {
    color: #2c3e50;
    text-decoration: none;
}

.contactus h2 a:hover, .quicklinks h2 a:hover, .aboutus h2 a:hover {
    color: #34495e;
    text-decoration: none;
}

/* Footer contact information */
.vcard.printit {
    margin-top: 1rem;
}

.vcard.printit .street-address a {
    color: #0066c0;
    text-decoration: none;
}

.vcard.printit .street-address a:hover {
    color: #3d566c;
    text-decoration: none;
}

/* Contact page sidebar styling */
.sidebar-contact .phone-numbers a {
    text-decoration: none;
    font-weight: 600;
}

.sidebar-contact .phone-numbers a:hover {
    text-decoration: none;
}

.sidebar-contact .business-hours {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    border-left: 4px solid #0066c0;
}

.sidebar-contact .vcard .street-address a {
    color: #0066c0;
    text-decoration: none;
}

.sidebar-contact .vcard .street-address a:hover {
    color: #3d566c;
    text-decoration: none;
}



/* ===== WATCH GROUPS PAGE ===== */

.watch-group-card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 8px;
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.watch-group-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.watch-group-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0066c0;
    padding-bottom: 0.5rem;
}

.watch-group-title a {
    color: #2c3e50;
    text-decoration: none;
}

.watch-group-title a:hover {
    color: #0066c0;
    text-decoration: none;
}

.watch-group-brands {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-item {
    padding: 0.25rem 0;
}

.brand-link {
    color: #0066c0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.brand-link:hover {
    color: #3d566c;
    text-decoration: none;
}

.brand-name {
    font-weight: 400;
}

/* ===== MISCELLANEOUS ===== */

/* Form enhancements */
.form-check-lg .form-check-input {
    transform: scale(1.5);
    margin-top: 0.1rem;
}

.form-check-lg .form-check-label {
    padding-left: 0.5rem;
}

.text-indent {
    text-indent: 5px;
    font-size: 0.9em;
    color: #6c757d;
}

.video-container {
    max-width: 100%;
    margin: 2rem auto;
}

.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid #17a2b8;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    border-radius: 0.375rem;
    border: 1px solid transparent;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid #dc3545;
}

/* Product pricing mobile tweaks */
.wire-price-mobile a { 
    font-size: 0.85em; 
    font-weight: 500; 
}

.wire-price-mobile { 
    line-height: 1.1; 
}

.wire-price-desk a { 
    white-space: nowrap; 
}

/* Product suggestion lists */
.suggest-list { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

.suggest-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    padding: 6px 0; 
    border-bottom: 1px solid #eee; 
}

.suggest-item:last-child { 
    border-bottom: none; 
}

.suggest-thumb { 
    flex: 0 0 60px; 
    line-height: 0; 
}

.suggest-thumb img { 
    width: 60px; 
    height: auto; 
    display: block; 
    border: 0; 
}

@media (min-width: 992px) { 
    .suggest-thumb img { 
        width: 58px; 
    } 
}

.suggest-info { 
    flex: 1 1 auto; 
    min-width: 0; 
}

.suggest-name { 
    display: inline-block; 
    font-size: 0.85rem; 
    font-weight: 600; 
    line-height: 1.15; 
    margin: 0 0 2px; 
    text-decoration: none; 
}

.suggest-name:hover { 
    text-decoration: none; 
}

.suggest-prices { 
    font-size: 0.90rem; 
    line-height: 1.05; 
    color: #333; 
}

.suggest-prices span { 
    display: block; 
}

.suggest-prices .wire { 
    font-weight: 500; 
}

.suggest-prices.single-line span { 
    display: inline; 
}

#featured h2.heading2 { 
    margin-top: 0; 
    margin-bottom: 8px; 
    font-size: 1.25rem; 
}

#featured .col-md-4 > ul.suggest-list { 
    margin-top: 2px; 
}

.wn-group-shot { 
    max-width: 100%; 
    height: auto; 
}

/* ===== CONTACT FORMS ===== */

.contact-form-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0066c0, #3d566c, #0066c0);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

.contact-form-header {
    margin-bottom: 2rem;
}

.contact-form-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-form-title i {
    color: #0066c0;
}

.contact-form-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-form-modern .form-label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form-modern .form-label i {
    color: #0066c0;
    width: 16px;
}

.contact-form-modern .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
}

.contact-form-modern .form-control:focus {
    border-color: #0066c0;
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 192, 0.15);
    background-color: #fff;
}

.contact-form-modern .form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

.contact-form-modern .form-control::placeholder {
    color: #6c757d;
    font-style: italic;
}

.contact-form-modern .input-group-text {
    background-color: #0066c0;
    color: white;
    border: 2px solid #0066c0;
    font-weight: 600;
}

.newsletter-section {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid #28a745;
}

.newsletter-title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.newsletter-title i {
    color: #28a745;
}

.newsletter-options {
    margin-top: 1rem;
}

.custom-control-label {
    font-size: 1rem;
    cursor: pointer;
}

.custom-control-label strong {
    color: #2c3e50;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #28a745;
    border-color: #28a745;
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.btn-send-inquiry {
    background: linear-gradient(135deg, #0066c0 0%, #3d566c 100%);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-send-inquiry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 192, 0.3);
    color: white;
}

.btn-send-inquiry:active {
    transform: translateY(0);
}

.btn-send-inquiry::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-send-inquiry:hover::before {
    left: 100%;
}

.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.privacy-notice {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 0.75rem;
    border-radius: 6px;
    display: inline-block;
}

.privacy-notice i {
    color: #28a745;
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    background-image: none;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.success-icon {
    animation: successPulse 2s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.response-time {
    border-left: 4px solid #28a745;
    font-weight: 500;
}

.inquiry-details .card,
.inquiry-summary {
    border: 1px solid rgba(0, 102, 192, 0.2);
    background-color: rgba(0, 102, 192, 0.02);
}

.inquiry-details .card-title a {
    text-decoration: none;
    font-weight: 600;
}

.inquiry-details .card-title a:hover {
    text-decoration: none;
}

.blockquote-sm {
    border-left: 4px solid #6c757d;
    font-style: italic;
    margin: 0;
}

.contact-form-intro {
    background: linear-gradient(135deg, rgba(0, 102, 192, 0.05) 0%, rgba(61, 86, 108, 0.05) 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #0066c0;
    margin-bottom: 2rem;
}

.contact-form-intro h4 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-badges .badge {
    font-size: 0.8rem;
    font-weight: 500;
}

.contact-badges .badge i {
    font-size: 0.75rem;
}

/* ===== SELL WATCH CALL-TO-ACTION ===== */

.sell-watch-cta {
    margin: 1rem 0;
}

.cta-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 102, 192, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #28a745, #007bff, #ffc107);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.cta-title {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.cta-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.cta-benefits {
    margin-top: 0.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #495057;
    margin-bottom: 0.25rem;
}

.benefit-item i {
    width: 16px;
    text-align: center;
    font-size: 0.7rem;
}

.watch-icon-container {
    position: relative;
    display: inline-block;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid #007bff;
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0;
    }
}

.badge-lg {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
}

.btn-sell-primary {
    background: #28a745;
    border: 2px solid #1e7e34;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 3px 10px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    line-height: 1.3;
}

.btn-sell-primary:hover,
.btn-sell-primary:focus,
.btn-sell-primary:active {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.5);
    color: white;
    border-color: #1e7e34;
}

.btn-trade-secondary {
    background: #007bff;
    border: 2px solid #0056b3;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    padding: 0.6rem 0.75rem;
    line-height: 1.3;
}

.btn-trade-secondary:hover,
.btn-trade-secondary:focus,
.btn-trade-secondary:active {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.5);
    color: white;
    border-color: #004085;
}

.btn-sell-primary span,
.btn-trade-secondary span {
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-sell-primary small,
.btn-trade-secondary small {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-top: 0.1rem;
}

.cta-footer-text {
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 0;
}

/* Additional product page spacing improvements */
#product .productdesc br + br {
    display: none;
}

/* Migrated from inline styles in product.bs4.cfm */
#product-details { margin-bottom:0 !important; }
#product-gallery { margin-top:0 !important; margin-bottom:0 !important; }
#product-gallery.full-bleed {
    /* Allow gallery to extend full viewport width */
    width:100vw;
    max-width:100vw;
    margin-left:50%;
    transform:translateX(-50%);
    /* Pull out of any centered parent with limited width */
    position:relative;
}

/* Ensure internal containers inside full-bleed gallery don't constrain width */
#product-gallery.full-bleed .container,
#product-gallery.full-bleed .container-fluid {
    max-width:100%;
    width:100%;
    padding-left:0;
    padding-right:0;
}

/* Adjust masonry group spacing when full-bleed */
#product-gallery.full-bleed #photogroup {
    margin-left:auto;
    margin-right:auto;
    padding-left:0;
    padding-right:0;
}
#product-details .row { margin-bottom:0; }
#product-details br { line-height:0; }
#product-details p { margin:0 0 6px; }
#product-details p:last-child { margin-bottom:0; }
#product-details .productlabels { display:block; margin-bottom:4px; }

#product h1.productname + .productlabels {
    margin-top: 5px;
}

#product .productlabels + .productprice {
    margin-top: 10px;
}

/* Reduce line height in product descriptions */
#product .productdesc ul {
    margin-bottom: 10px;
}

#product .productdesc li {
    margin-bottom: 4px;
    line-height: 1.3;
}

/* Tighten spacing for button area */
#product .row.text-center .btn-wrapper {
    margin-bottom: 6px;
}

/* Reduce space between wire price text and buttons */
#product .fontup2 {
    margin-bottom: 8px;
}

#product .productprice + .row.text-center {
    margin-top: 5px;
}

/* ===== RESPONSIVE DESIGN - PRODUCT PAGE ===== */

@media (max-width: 768px) {
    #product .col-md-8:last-child,
    #product .col-md-6:last-child {
        padding-left: 15px;
        margin-top: 15px;
    }
    
    #product .productname {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    #product .productpageprice {
        font-size: 1.5rem;
    }
    
    .productprice {
        margin: 10px 0 8px 0;
    }
    
    #product .row.text-center {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .productlabels {
        margin-bottom: 6px;
    }
}

/* ===== PRODUCT SUGGESTION LISTS (BS4 only) ===== */
/* Tight, minimal layout for 'You Might Like' & 'Recently Viewed' */
.suggest-list { list-style:none; margin:0; padding:0; }
.suggest-item { display:flex; align-items:flex-start; gap:10px; padding:6px 0; border-bottom:1px solid #eee; }
.suggest-item:last-child { border-bottom:none; }
.suggest-thumb { flex:0 0 60px; line-height:0; }
.suggest-thumb img { width:60px; height:auto; display:block; border:0; }
@media (min-width: 992px){ .suggest-thumb img { width:58px; } }
.suggest-info { flex:1 1 auto; min-width:0; }
.suggest-name { display:inline-block; font-size:0.85rem; font-weight:600; line-height:1.15; margin:0 0 2px; text-decoration:none; }
.suggest-name:hover { text-decoration:none; }
.suggest-prices { font-size:0.90rem; line-height:1.05; color:#333; }
.suggest-prices span { display:block; }
.suggest-prices .wire { font-weight:500; }
/* Compress vertical space when only one price line */
.suggest-prices.single-line span { display:inline; }
/* Reduce heading spacing above these columns */
#featured h2.heading2 { margin-top:0; margin-bottom:8px; font-size:1.25rem; }
/* Slightly tighter column padding inside featured section */
#featured .col-md-4 > ul.suggest-list { margin-top:2px; }

/* Migrated inline styles from list.bs4.cfm (group shot image) */
.wn-group-shot { max-width:100%; height:auto; }

/* === Pricing (grid cards) mobile tweaks === */
.wire-price-mobile a { font-size:0.85em; font-weight:500; }
.wire-price-mobile { line-height:1.1; }
.wire-price-desk a { white-space:nowrap; }
@media (max-width:576px){
    .card.specialThumb { padding:6px 6px 4px; margin-top:0 !important; }
    .card.specialThumb .productname { margin-top:0; margin-bottom:2px; }
    .card.specialThumb .card-body { display:flex; flex-direction:column; gap:2px; margin-top:-10px; }
    .card.specialThumb .labelrow { margin-top:-8px; margin-bottom:-2px; }
    .card.specialThumb .price { margin:0; font-size:1.05em; }
    .wire-price-mobile a { font-size:0.78em; }
    .wire-price-mobile { margin-left:2px; }
}



