/* Dynamic Product Card & Filter Bar Styles */

/* ============================================
   Page Body Section — Rich Background
   ============================================ */
#page-body {
    background: linear-gradient(160deg, #f7f7f9 0%, #f0f0f5 100%);
    min-height: 70vh;
    padding-bottom: 60px;
    position: relative;
}

#page-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d60909 0%, #ff4444 50%, #d60909 100%);
    background-size: 200% auto;
    animation: shimmerLine 3s linear infinite;
}

@keyframes shimmerLine {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

/* ============================================
   Results Count Bar
   ============================================ */
.results-count-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.results-count-bar .count-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.2px;
}

.results-count-bar .count-label strong {
    color: #d60909;
    font-size: 15px;
}

.results-count-bar .count-tag {
    font-size: 11px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ============================================
   Skeleton Loading Cards
   ============================================ */
@keyframes skeletonPulse {

    0%,
    100% {
        background-position: -200px 0;
    }

    100% {
        background-position: calc(200px + 100%) 0;
    }
}

.skeleton-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px;
    height: 450px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skeleton-block {
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 400px 100%;
    animation: skeletonPulse 1.4s ease-in-out infinite;
}

.skeleton-img {
    height: 180px;
    border-radius: 10px;
}

.skeleton-badge {
    height: 18px;
    width: 70px;
    border-radius: 20px;
}

.skeleton-title {
    height: 20px;
    width: 85%;
}

.skeleton-title-short {
    height: 20px;
    width: 60%;
}

.skeleton-row {
    height: 14px;
}

.skeleton-btn {
    height: 40px;
    margin-top: auto;
    border-radius: 8px;
}

/* Header & Breadcrumb for Category Pages */
.category-page-header {
    padding: 30px 0 22px 0;
    text-align: center;
}

.category-breadcrumb {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #888;
    margin-bottom: 10px;
    font-weight: 500;
}

.category-breadcrumb a {
    color: #666 !important;
    font-size: 13px;
    transition: color 0.2s ease;
    text-decoration: none !important;
}

.category-breadcrumb a:hover {
    color: #d60909 !important;
}

.category-breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
    color: #bbb;
}

.category-breadcrumb span {
    color: #d60909;
    font-weight: 700;
}

/* Animations */
@keyframes slideDownFade {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes softBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Filter Bar */
.product-filter-bar {
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 35px;
    animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.filter-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #555;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.product-filter-bar .form-control {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    height: 44px;
    font-size: 14px;
    font-family: 'Raleway', sans-serif;
    color: #333;
    background-color: #ffffff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.product-filter-bar select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d60909' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    padding-right: 36px;
}

.product-filter-bar .form-control:focus {
    border-color: #d60909;
    box-shadow: 0 0 0 3px rgba(214, 9, 9, 0.18);
    outline: none;
    background-color: #ffffff;
}


/* Product Grid Transitions */
#category-products-grid {
    transition: opacity 0.18s ease-in-out;
}

#category-products-grid.grid-refreshing {
    opacity: 0.35;
}

.product-card-col {
    animation: fadeInUpCard 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Modern Dynamic Product Card */
.dynamic-product-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 450px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Red top accent sweep line on hover */
.dynamic-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d60909;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.dynamic-product-card:hover::before {
    width: 100%;
}

.dynamic-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(214, 9, 9, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #f1bfbf;
}

.dynamic-product-card .img-box {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    margin-bottom: 16px;
    padding: 14px;
    overflow: hidden;
    position: relative;
}

.dynamic-product-card .img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dynamic-product-card:hover .img-box img {
    transform: scale(1.08);
}

/* Product Card Tags / Badges - Removed */
.dynamic-product-card .card-top-meta,
.dynamic-product-card .badge-category,
.dynamic-product-card .card-chip,
.dynamic-product-card .chip-color,
.dynamic-product-card .chip-mono {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

.dynamic-product-card .card-price.price-on-request {
    color: #888;
    font-size: 13px;
    font-weight: 600;
}

.dynamic-product-card .product-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.35;
    margin: 0 0 12px 0;
    min-height: 46px;
    transition: color 0.2s ease;
}

.dynamic-product-card:hover .product-title {
    color: #d60909;
}

.dynamic-product-card .product-subtitle {
    font-size: 12.5px;
    color: #666;
    margin: -4px 0 12px 0;
    line-height: 1.4;
    min-height: 35px;
    font-weight: 500;
}

/* Specs List with Crisp Alternate Rows */
.dynamic-product-card .specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    font-size: 13px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.dynamic-product-card .specs-list li {
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
}

.dynamic-product-card .specs-list li:last-child {
    border-bottom: none;
}

.dynamic-product-card .specs-list li:nth-child(even) {
    background-color: #fafafa;
}

.dynamic-product-card .specs-list li span.spec-name {
    font-weight: 600;
    color: #444;
}

.dynamic-product-card .specs-list li span.spec-val {
    color: #666;
    font-weight: 500;
    text-align: right;
}

.dynamic-product-card .card-price {
    font-size: 16px;
    font-weight: 800;
    color: #d60909;
    margin-bottom: 16px;
}

.dynamic-product-card .btn-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.dynamic-product-card .btn-details {
    background-color: #d60909;
    color: #ffffff !important;
    text-align: center;
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    box-shadow: 0 4px 10px rgba(214, 9, 9, 0.2);
    transition: all 0.25s ease;
    display: block;
}

.dynamic-product-card .btn-details:hover {
    background-color: #b50707;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(214, 9, 9, 0.35);
    color: #ffffff !important;
}

.dynamic-product-card .btn-brochure {
    background-color: #ffffff;
    color: #444 !important;
    border: 1px solid #e0e0e0;
    text-align: center;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    display: block;
}

.dynamic-product-card .btn-brochure:hover {
    background-color: #f7f7f7;
    border-color: #d60909;
    color: #d60909 !important;
    transform: translateY(-1px);
}

/* Empty State with Subtle Bounce */
.no-products-box {
    background: #ffffff;
    border: 1px dashed #dcdcdc;
    border-radius: 14px;
    padding: 60px 24px;
    text-align: center;
    margin: 30px auto;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.no-products-box .icon {
    font-size: 52px;
    color: #d60909;
    opacity: 0.75;
    margin-bottom: 16px;
    animation: softBounce 2s infinite ease-in-out;
}

.no-products-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.no-products-box p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.no-products-box .btn-reset {
    background: #d60909;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(214, 9, 9, 0.25);
    transition: all 0.25s ease;
}

.no-products-box .btn-reset:hover {
    background: #b50707;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(214, 9, 9, 0.35);
}

/* Scroll To Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #d60909;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(214, 9, 9, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.scroll-to-top-btn:hover {
    background: #b50707;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(214, 9, 9, 0.5);
    color: #ffffff;
}

/* ============================================
   Category Hub Page Styles (printers.html, etc.)
   ============================================ */

/* CSS Hero Banner */
.category-hero-banner {
    margin-top: 86px;
    background: linear-gradient(135deg, #141419 0%, #1f1f27 60%, #16161c 100%);
    position: relative;
    padding: 60px 0 50px 0;
    color: #ffffff;
    overflow: hidden;
    border-bottom: 3px solid #d60909;
}

.category-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 9, 9, 0.18) 0%, rgba(214, 9, 9, 0) 70%);
    pointer-events: none;
}

.category-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(214, 9, 9, 0.15);
    border: 1px solid rgba(214, 9, 9, 0.4);
    border-radius: 30px;
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 18px;
}

.category-hero-title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 14px;
    font-family: 'Raleway', sans-serif !important;
}

.category-hero-title span {
    color: #d60909;
}

.category-hero-desc {
    font-size: 16px;
    color: #c5c5cf;
    max-width: 700px;
    margin: 0 auto 22px auto;
    line-height: 1.6;
}

/* Category Breadcrumb inside Hero */
.category-hero-breadcrumb {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #8f8f9e;
}

.category-hero-breadcrumb a {
    color: #c5c5cf !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-hero-breadcrumb a:hover {
    color: #ff6b6b !important;
}

.category-hero-breadcrumb i {
    font-size: 10px;
    margin: 0 8px;
    color: #777;
}

.category-hero-breadcrumb span {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================
   Animations: Hero Entrance & Card Reveal
   ============================================ */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hero-anim-badge {
    opacity: 0;
    animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0ms forwards;
}

.hero-anim-title {
    opacity: 0;
    animation: heroFadeUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 200ms forwards;
}

.hero-anim-desc {
    opacity: 0;
    animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 400ms forwards;
}

.hero-anim-breadcrumb {
    opacity: 0;
    animation: heroFadeIn 0.6s ease 600ms forwards;
}

/* Category Hub Cards */
.category-hub-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Staggered Scroll Reveal Initial and Active States (Universal) */
.category-hub-card.card-reveal-init,
.partner-hub-card.card-reveal-init,
.service-hub-card.card-reveal-init,
.hub-card.card-reveal-init,
.card-reveal-target.card-reveal-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

.category-hub-card.card-reveal-init.card-visible,
.partner-hub-card.card-reveal-init.card-visible,
.service-hub-card.card-reveal-init.card-visible,
.hub-card.card-reveal-init.card-visible,
.card-reveal-target.card-reveal-init.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.category-hub-card.card-reveal-init.card-visible:hover,
.partner-hub-card.card-reveal-init.card-visible:hover,
.service-hub-card.card-reveal-init.card-visible:hover,
.hub-card.card-reveal-init.card-visible:hover,
.card-reveal-target.card-reveal-init.card-visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(214, 9, 9, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #f1bfbf;
}

/* Dynamic Catalog Product Card entrance animation */
.product-card-col {
    animation: heroFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {

    .hero-anim-badge,
    .hero-anim-title,
    .hero-anim-desc,
    .hero-anim-breadcrumb,
    .product-card-col {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .category-hub-card.card-reveal-init,
    .partner-hub-card.card-reveal-init,
    .service-hub-card.card-reveal-init,
    .hub-card.card-reveal-init,
    .card-reveal-target.card-reveal-init {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

.category-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d60909;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.category-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(214, 9, 9, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #f1bfbf;
}

.category-hub-card:hover::before {
    width: 100%;
}

.category-hub-card .img-box {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 16px;
    overflow: hidden;
}

.category-hub-card .img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-hub-card:hover .img-box img {
    transform: scale(1.08);
}

.category-hub-card .badge-type {
    display: inline-block;
    align-self: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.category-hub-card .badge-type.color {
    background: rgba(214, 9, 9, 0.09);
    color: #d60909;
}

.category-hub-card .badge-type.mono {
    background: rgba(40, 40, 40, 0.08);
    color: #444;
}

.category-hub-card .badge-type.acc {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.category-hub-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif !important;
}

.category-hub-card .card-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
    flex-grow: 1;
}

.category-hub-card .card-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border-top: 1px dashed #eaeaea;
    padding-top: 14px;
    font-size: 12.5px;
    color: #555;
    text-align: left;
}

.category-hub-card .card-highlights li {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-hub-card .card-highlights li i {
    color: #d60909;
    font-size: 11px;
}

.category-hub-card .btn-hub-action,
.category-hub-card .btn-hub-primary,
.btn-hub-action,
.btn-hub-primary,
.btn-accessory-inquire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d60909;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(214, 9, 9, 0.25);
    transition: all 0.25s ease;
    margin-top: auto;
    width: 100%;
}

.category-hub-card .btn-hub-action:hover,
.category-hub-card .btn-hub-primary:hover,
.btn-hub-action:hover,
.btn-hub-primary:hover,
.btn-accessory-inquire:hover {
    background: #b50707;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 9, 9, 0.38);
    color: #ffffff !important;
    text-decoration: none !important;
}

.category-hub-card .btn-hub-action span,
.category-hub-card .btn-hub-action i,
.category-hub-card .btn-hub-primary span,
.category-hub-card .btn-hub-primary i,
.btn-hub-action span,
.btn-hub-action i,
.btn-hub-primary span,
.btn-hub-primary i,
.btn-accessory-inquire span,
.btn-accessory-inquire i {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Badge Variants */
.badge-type.scan {
    background: rgba(3, 105, 161, 0.1) !important;
    color: #0369a1 !important;
}

.badge-type.rfid {
    background: rgba(124, 58, 237, 0.1) !important;
    color: #7c3aed !important;
}

.badge-type.card-badge {
    background: rgba(217, 119, 6, 0.1) !important;
    color: #d97706 !important;
}

.badge-type.partner-badge {
    background: rgba(214, 9, 9, 0.08) !important;
    color: #d60909 !important;
}

.badge-type.service-badge {
    background: rgba(71, 85, 105, 0.1) !important;
    color: #334155 !important;
}

/* ============================================
   Partner Hub Cards (brands.html & index.html)
   ============================================ */
.partner-hub-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.partner-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d60909;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.partner-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(214, 9, 9, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #f1bfbf;
}

.partner-hub-card:hover::before {
    width: 100%;
}

.partner-hub-card .partner-logo-box {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: none;
    border-radius: 10px;
    margin-bottom: 18px;
    padding: 16px;
    overflow: hidden;
}

.partner-hub-card .partner-logo-box img {
    max-height: 100%;
    max-width: 88%;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-hub-card:hover .partner-logo-box img {
    transform: scale(1.06);
}

.partner-hub-card h3 {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif !important;
}

.partner-hub-card .partner-desc {
    font-size: 13.5px;
    color: #666;
    line-height: 1.55;
    margin-bottom: 18px;
    flex-grow: 1;
}

.partner-hub-card .card-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    border-top: 1px dashed #eaeaea;
    padding-top: 12px;
    font-size: 12.5px;
    color: #555;
    text-align: left;
}

.partner-hub-card .card-highlights li {
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.partner-hub-card .card-highlights li i {
    color: #d60909;
    font-size: 11px;
}

.partner-hub-card .partner-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.partner-hub-card .btn-hub-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: #555 !important;
    text-decoration: none !important;
    border: 1px solid #d5d5d5;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.partner-hub-card .btn-hub-secondary:hover {
    background: #f7f7f9;
    color: #d60909 !important;
    border-color: #d60909;
}

/* ============================================
   Service Hub Container & Cards (Spacious 4-in-a-row)
   ============================================ */
@media (min-width: 1100px) {
    .services-hub-container,
    .home-services-section .section-hub-container {
        max-width: 1540px !important;
        width: 95% !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .services-hub-container .row > div[class*="col-"],
    .home-services-section .section-hub-container .row > div[class*="col-"] {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

@media (min-width: 768px) and (max-width: 1099px) {
    .services-hub-container .row > div[class*="col-"],
    .home-services-section .section-hub-container .row > div[class*="col-"] {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

.service-hub-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d60909;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.service-hub-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(214, 9, 9, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: #f1bfbf;
}

.service-hub-card:hover::before {
    width: 100%;
}

.service-hub-card:hover .btn-hub-action {
    background: #b50707;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 9, 9, 0.38);
}

.service-hub-card:hover .btn-hub-secondary {
    background: #d60909;
    color: #ffffff !important;
    border-color: #d60909;
    box-shadow: 0 6px 18px rgba(214, 9, 9, 0.3);
}

.service-hub-card:hover .btn-hub-secondary span,
.service-hub-card:hover .btn-hub-secondary i {
    color: #ffffff !important;
}

.service-hub-card .service-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(214, 9, 9, 0.08);
    color: #d60909;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-hub-card:hover .service-icon-box {
    background: #d60909;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(214, 9, 9, 0.3);
}

.service-hub-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    font-family: 'Raleway', sans-serif !important;
}

.service-hub-card .service-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-hub-card .service-contact-info {
    font-size: 13px;
    color: #333;
    background: #fbfbfb;
    border: 1px dashed #e2e2e2;
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.6;
}

.service-hub-card .service-contact-info i {
    color: #d60909;
    width: 18px;
}

/* Feature Highlights Grid */
.printers-features-section {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #eaeaea;
    padding: 35px 25px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.feature-box {
    text-align: center;
    padding: 15px;
}

.feature-box .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(214, 9, 9, 0.08);
    color: #d60909;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px auto;
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    background: #d60909;
    color: #ffffff;
    transform: scale(1.1);
}

.feature-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    font-family: 'Raleway', sans-serif !important;
}

.feature-box p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .category-hero-banner {
        margin-top: 76px;
        padding: 40px 15px 35px 15px;
    }

    .category-hero-title {
        font-size: 28px;
    }

    .category-hub-card {
        min-height: auto;
    }
}

/* ============================================
   Infinite Partner Logo Marquee / Ticker
   (index.html, about.html, contact.html)
   ============================================ */
.partner-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 25px 0 35px;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.partner-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partnerMarqueeScroll 35s linear infinite;
    will-change: transform;
}

.partner-marquee-container:hover .partner-marquee-track {
    animation-play-state: paused;
}

@keyframes partnerMarqueeScroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

.partner-marquee-item {
    flex: 0 0 180px;
    width: 180px;
    height: 100px;
    margin: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-marquee-item:hover {
    transform: scale(1.08);
}

.partner-marquee-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.partner-marquee-item img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.partner-marquee-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partner-marquee-container {
        padding: 15px 0 20px;
    }

    .partner-marquee-item {
        flex: 0 0 130px;
        width: 130px;
        height: 75px;
        margin: 0 16px;
    }

    .partner-marquee-item img {
        max-height: 70px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-marquee-track {
        animation: none;
        overflow-x: auto;
    }
}

/* ========================================================
   Homepage Animated Milestone Stats Cards
   ======================================================== */
.home-stats-section {
    padding: 30px 0 50px;
    background: #ffffff;
}

.home-stat-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 38px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.home-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: #d60909;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 12px 12px 0 0;
}

.home-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(214, 9, 9, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: #f1bfbf;
}

.home-stat-card:hover::before {
    width: 100%;
}

.home-stat-card .stat-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(214, 9, 9, 0.07);
    color: #d60909;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, color 0.3s ease;
}

.home-stat-card:hover .stat-icon-wrap {
    background: #d60909;
    color: #ffffff;
    transform: scale(1.12);
}

.home-stat-card .stat-counter-wrap {
    font-family: 'Raleway', sans-serif;
    font-size: 50px;
    font-weight: 800;
    color: #111111;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.home-stat-card .stat-plus {
    color: #d60909;
    font-weight: 800;
    margin-left: 2px;
}

.home-stat-card .stat-title {
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 0;
}

/* ========================================================
   Homepage Executive 2-Column Intro Section
   ======================================================== */
.home-intro-section {
    padding: 60px 0 45px;
    background: #f8f9fa;
    border-bottom: 1px solid #ebebeb;
}

.home-eyebrow {
    display: inline-flex;
    align-items: center;
    background: #fbfbfb;
    color: #d60909;
    border: 1px solid #f0f0f0;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.home-intro-h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.home-intro-tagline {
    font-size: 1.05rem;
    font-weight: 700;
    color: #d60909;
    margin-bottom: 16px;
}

.home-intro-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 14px;
}

.home-intro-bullets {
    list-style: none;
    padding-left: 0;
    margin: 18px 0 24px;
}

.home-intro-bullets li {
    display: flex;
    align-items: flex-start;
    font-size: 14.5px;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.5;
}

.home-intro-bullets li i {
    color: #d60909;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 15px;
    flex-shrink: 0;
}

.home-intro-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.btn-home-cta-primary {
    display: inline-flex;
    align-items: center;
    background: #d60909;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(214, 9, 9, 0.25);
    border: none;
}

.btn-home-cta-primary:hover {
    background: #b50808;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 9, 9, 0.35);
}

.btn-home-cta-outline {
    display: inline-flex;
    align-items: center;
    border: 2px solid #222222;
    background: transparent;
    color: #222222 !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-home-cta-outline:hover {
    border-color: #d60909;
    color: #d60909 !important;
    background: #ffffff;
    transform: translateY(-2px);
}

/* Right Column: Mission Card */
.home-mission-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 34px 28px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d60909, #ff4d4d);
}

.mission-tag {
    display: inline-flex;
    align-items: center;
    background: #fbfbfb;
    color: #d60909;
    padding: 4px 12px;
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.mission-quote {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #111111;
    line-height: 1.25;
    margin-bottom: 10px;
}

.mission-quote span {
    color: #d60909;
}

.mission-sub {
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.mission-features {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mission-feature-item {
    display: flex;
    align-items: center;
    background: #fbfbfb;
    border: 1px solid #f0f0f0;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #222222;
}

.mission-feature-item i {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    color: #d60909;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

/* ========================================================
   Homepage Section Rhythm & Spacing
   ======================================================== */
.home-products-section {
    padding: 60px 0 50px;
    background: #ffffff;
}

.home-partners-section {
    padding: 55px 0 50px;
    background: #f8f9fa;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
}

.home-services-section {
    padding: 60px 0 55px;
    background: #ffffff;
}

/* ============================================================
   MOBILE RESPONSIVENESS — Global Site-Wide (max-width: 767px)
   ============================================================ */

/* ── Navbar ── */
@media (max-width: 767.98px) {
    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    /* Keep both logos visible but smaller on mobile */
    #logo .navbar-brand img {
        height: 38px !important;
    }

    /* Mobile nav menu: add a bottom border to each link for clarity */
    .navbar-collapse .nav-item {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }
    .navbar-collapse .nav-item:last-child {
        border-bottom: none;
    }

    /* ── Carousel / Slider ── */
    .carousel-item {
        height: 220px !important;
        min-height: 180px !important;
    }

    /* header with inline margin-top:100px — reduce it on mobile */
    header[style*="margin-top: 100px"] {
        margin-top: 72px !important;
    }

    .carousel-text {
        font-size: 22px;
    }

    .carousel-caption {
        left: 3%;
        right: 3%;
    }

    /* ── Hero Banner (category / products pages) ── */
    .category-hero-banner {
        margin-top: 72px !important;
        padding: 30px 15px 25px 15px !important;
    }

    .category-hero-title {
        font-size: 22px !important;
        letter-spacing: 0.5px;
    }

    .category-hero-desc {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .category-hero-badge {
        font-size: 11px;
        padding: 5px 12px;
    }

    /* ── Page Header / Breadcrumb ── */
    .category-page-header {
        padding: 20px 15px 14px 15px;
    }

    .sub-heading {
        font-size: 20px !important;
    }

    /* ── Home Intro Section ── */
    .home-intro-section {
        padding: 36px 0 28px;
    }

    .home-intro-h1 {
        font-size: 1.55rem;
    }

    .home-intro-tagline {
        font-size: 0.95rem;
    }

    .home-intro-text {
        font-size: 14px;
    }

    .home-intro-cta-row {
        flex-direction: column;
        gap: 10px;
    }

    .btn-home-cta-primary,
    .btn-home-cta-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    /* ── Mission Card ── */
    .home-mission-card {
        padding: 22px 16px;
        margin-top: 20px;
    }

    .mission-quote {
        font-size: 1.35rem;
    }

    /* ── Stats Section (3 per row) ── */
    .home-stats-section {
        padding: 16px 0 24px;
    }

    .home-stat-card {
        padding: 14px 6px;
        border-radius: 10px;
    }

    .home-stat-card .stat-icon-wrap {
        width: 36px;
        height: 36px;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .home-stat-card .stat-counter-wrap {
        font-size: 22px;
        margin-bottom: 3px;
        line-height: 1.1;
    }

    .home-stat-card .stat-plus {
        font-size: 17px;
    }

    .home-stat-card .stat-title {
        font-size: 11px;
        letter-spacing: 0.2px;
        line-height: 1.25;
    }

    /* ── Category Hub Cards & Partner Hub Cards (2 per row) ── */
    .category-hub-card,
    .partner-hub-card {
        min-height: auto !important;
        padding: 14px 10px;
        border-radius: 10px;
    }

    .category-hub-card .img-box,
    .partner-hub-card .partner-logo-box {
        height: 115px;
        padding: 8px;
        margin-bottom: 10px;
    }

    .category-hub-card .badge-type {
        font-size: 9.5px;
        padding: 3px 8px;
        margin-bottom: 8px;
    }

    .category-hub-card h3,
    .partner-hub-card h3 {
        font-size: 14.5px;
        margin-bottom: 6px;
        line-height: 1.25;
    }

    .category-hub-card .card-description,
    .partner-hub-card .partner-desc {
        font-size: 11.5px;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 48px;
    }

    .category-hub-card .card-highlights,
    .partner-hub-card .card-highlights {
        display: none !important;
    }

    .btn-hub-action,
    .btn-hub-primary,
    .btn-accessory-inquire,
    .partner-hub-card .btn-hub-secondary {
        font-size: 11.5px !important;
        padding: 8px 10px !important;
        border-radius: 6px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* ── Service Hub Cards (2 per row) ── */
    .service-hub-card {
        min-height: auto !important;
        padding: 14px 10px;
        border-radius: 10px;
    }

    .service-hub-card .service-icon-box {
        width: 42px;
        height: 42px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-hub-card .service-badge {
        font-size: 9.5px;
        padding: 3px 8px;
        margin-bottom: 8px;
    }

    .service-hub-card h3 {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.25;
    }

    .service-hub-card .service-desc {
        font-size: 11.5px;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 48px;
    }

    .service-hub-card .service-contact-info {
        font-size: 10.5px;
        padding: 8px 6px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .service-hub-card .service-contact-info div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* ── Dynamic Product Cards (2 per row) ── */
    .dynamic-product-card {
        min-height: auto !important;
        padding: 12px 8px;
        border-radius: 10px;
    }

    .dynamic-product-card .img-box {
        height: 115px;
        padding: 6px;
        margin-bottom: 10px;
    }

    .dynamic-product-card .product-title {
        font-size: 13.5px;
        min-height: 34px;
        line-height: 1.25;
        margin-bottom: 6px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dynamic-product-card .product-subtitle {
        font-size: 11px;
        min-height: auto;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .dynamic-product-card .specs-list {
        font-size: 10.5px;
        margin-bottom: 10px;
    }

    .dynamic-product-card .specs-list li {
        padding: 3px 6px;
    }

    .dynamic-product-card .card-price {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .dynamic-product-card .btn-actions {
        gap: 6px;
    }

    .dynamic-product-card .btn-details,
    .dynamic-product-card .btn-brochure {
        font-size: 11.5px;
        padding: 7px 8px;
        border-radius: 6px;
    }

    /* ── Filter Bar ── */
    .product-filter-bar {
        padding: 14px 14px;
    }

    .product-filter-bar .row > [class*="col-"] {
        margin-bottom: 10px;
    }

    /* ── Results Count Bar ── */
    .results-count-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        padding: 10px 12px;
    }

    /* ── Section Padding ── */
    .home-products-section,
    .home-services-section {
        padding: 30px 0 24px;
    }

    .home-partners-section {
        padding: 24px 0 22px;
    }

    /* ── Footer ── */
    #footer {
        padding: 28px 0 20px;
        text-align: center;
    }

    #footer .col-md-3,
    #footer .col-md-4,
    #footer .col-md-6,
    #footer [class*="col-md-"] {
        margin-bottom: 20px;
    }

    #footer ul.contacts {
        padding-left: 0;
    }

    /* ── Scroll to Top ── */
    .scroll-to-top-btn {
        bottom: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* ── Printers Features ── */
    .printers-features-section {
        padding: 22px 14px;
        margin-top: 20px;
    }

    /* ── General section padding compensation for pages
         using old inline margin-top: 100px header style ── */
    section#about-us,
    section#expertise,
    section#page-body,
    section[id="page-body"] {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

/* ── Extra-small phones (max-width: 400px) ── */
@media (max-width: 400px) {
    #logo .navbar-brand img {
        height: 32px !important;
    }

    .carousel-item {
        height: 180px !important;
    }

    .category-hero-title {
        font-size: 19px !important;
    }

    .home-intro-h1 {
        font-size: 1.3rem;
    }

    .home-stat-card {
        padding: 10px 4px;
    }

    .home-stat-card .stat-icon-wrap {
        width: 30px;
        height: 30px;
        font-size: 12px;
        margin-bottom: 4px;
    }

    .home-stat-card .stat-counter-wrap {
        font-size: 18px;
    }

    .home-stat-card .stat-plus {
        font-size: 14px;
    }

    .home-stat-card .stat-title {
        font-size: 9.5px;
        letter-spacing: 0;
    }

    .mission-quote {
        font-size: 1.15rem;
    }

    .category-hub-card h3,
    .partner-hub-card h3,
    .service-hub-card h3 {
        font-size: 13px;
    }

    .dynamic-product-card .product-title {
        font-size: 12.5px;
    }

    .btn-hub-action,
    .btn-hub-primary,
    .btn-accessory-inquire,
    .dynamic-product-card .btn-details,
    .dynamic-product-card .btn-brochure {
        font-size: 10.5px !important;
        padding: 6px 8px !important;
    }
}

/* ── Tablet tweaks (576px – 767px) ── */
@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-item {
        height: 260px !important;
    }

    .category-hero-title {
        font-size: 26px !important;
    }

    .home-intro-h1 {
        font-size: 1.75rem;
    }
}