:root {
    --bs-primary: #0369e6; /* Deeper, more professional black */
    --bs-primary-rgb: 3, 105, 230;
    --bs-secondary: red;
    --bs-body-bg: #f1f5f9; /* Slightly cooler grey background */
    --bs-body-color: #111112;
    --bs-border-radius: 0.375rem; /* Tighter radius for professional look */
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-sm: 0.25rem;
    
    /* Custom Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    -webkit-font-smoothing: antialiased;
    font-size: 0.875rem; /* 14px for compact B2B data density */
    font-family: "Inter", sans-serif;
    margin: 0;
    line-height: 1.5;
    background: #fff;
    color: var(--bs-body-color);
}

*,
::after,
::before {
    box-sizing: border-box;
}

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

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.small, small {
    font-size: 0.75rem;
}

.feature-name-col {
    width: 25%;
}

.product-specs-table {
    table-layout: auto;
    width: 100%;
}

.product-specs-table th,
.product-specs-table td {
    white-space: normal;
    word-break: break-word;
    vertical-align: top;
}

/* Navbar Enhancements */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid #dee2e6;
    box-shadow: var(--shadow-sm);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.navbar-logo {
    height: 55px;
    width: auto;
    max-height: 55px;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: #334155;
    padding: 0.5rem 1rem;
    transition: color 0.15s ease-in-out;
}

.navbar .nav-link:hover {
    color: var(--bs-primary);
}

/* Card Improvements - The "Card" Look */
.card {
    border: none;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
    overflow: hidden;
}

/* Interactive cards (linked) */
a.text-decoration-none .card:hover,
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.card-body {
    padding: 1rem; /* Compact padding */
}

/* Product Cards specific */
.product-card-img-container {
    padding: 1.5rem;
    background-color: #fff;
    transition: opacity 0.2s ease;
}

.card:hover .product-card-img-container img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Button Enhancements */
.btn {
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 0.375rem 0.875rem; /* Compact buttons */
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.bg-dark {
    background-color: #1f2838 !important; /* Very dark slate blue/black for consistency */
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.btn-primary:hover {
    background-color: #0b2240;
    border-color: #0a1f3a;
    box-shadow: var(--shadow-md);
}

/* Compact Utilities */
.py-5 {
    padding-top: 2.5rem !important; /* Override Bootstrap's 3rem */
    padding-bottom: 2.5rem !important;
}

.g-4 {
    --bs-gutter-x: 1rem; /* Tighter grid gutter (16px) */
    --bs-gutter-y: 1rem;
}

/* Custom Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-balance {
    text-wrap: balance;
}

/* Widget Specifics */
.filter-sidebar {
    top: 5rem;
    background: #fff;
    padding: 1rem;
    border-radius: var(--bs-border-radius);
    box-shadow: var(--shadow-sm);
}

.hero-circle-lg {
    width: 400px; /* Smaller hero image for compact look */
    height: 400px;
}

/* Footer Compactness */
footer.py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
}

footer h5 {
    font-size: 1rem;
    margin-bottom: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    color: #94a3b8;
}

footer li {
    margin-bottom: 0.5rem !important;
}

footer .social-icon-btn {
    width: 32px;
    height: 32px;
}

.whatsapp-float {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1050;
    text-decoration: none;
}

.whatsapp-float:hover {
    color: #fff;
    background: #1fb357;
    box-shadow: var(--shadow-hover);
}

.whatsapp-float-icon {
    width: 48px;
    height: 48px;
}

.product-gallery-card {
    background: #fff;
}

.product-thumb-button {
    width: 64px;
    height: 64px;
}

.product-content-card {
    background: #fff;
    border-radius: var(--bs-border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
