/* Hardware Shop - Bootstrap 5 Custom Styles */
/* Color Theme: Industrial Gray/Orange */

/* FORCE LIGHT MODE - Ignore system dark mode preference */
@media (prefers-color-scheme: dark) {
    :root {
        /* Force light mode colors even when user has dark mode on device */
        --hw-primary: #495057;
        --hw-primary-dark: #343a40;
        --hw-primary-light: #6c757d;
        --hw-accent: #fd7e14;
        --hw-accent-hover: #e96d07;
        
        /* Neutral Colors */
        --hw-dark: #212529;
        --hw-light: #f8f9fa;
        --hw-white: #ffffff;
        --hw-gray: #6c757d;
        
        /* Status Colors */
        --hw-success: #198754;
        --hw-warning: #ffc107;
        --hw-danger: #dc3545;
    }
    
    /* Force light background on body */
    body {
        background-color: #f5f6fa !important;
        color: #212529 !important;
    }
    
    /* Force light backgrounds on all cards and containers */
    .card, .product-card, .offer-card, .offer-full-card, .offer-detail-card {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Force light backgrounds on modals and popups */
    .product-popup-content, .offer-modal-content {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Force light backgrounds on sidebars */
    .offer-sidebar-fixed, .offer-sidebar-scroll, .offer-slider-container {
        background-color: #ffffff !important;
    }
    
    /* Force light input backgrounds */
    .search-input, input, textarea, select {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #dee2e6 !important;
    }
    
    /* Force light offcanvas */
    .offcanvas {
        background-color: #ffffff !important;
        color: #212529 !important;
    }
    
    /* Force light list group items */
    .list-group-item {
        background-color: #ffffff !important;
        color: #212529 !important;
        border-color: #dee2e6 !important;
    }
}

:root {
    /* Primary Colors */
    --hw-primary: #495057;
    --hw-primary-dark: #343a40;
    --hw-primary-light: #6c757d;
    --hw-accent: #fd7e14;
    --hw-accent-hover: #e96d07;
    
    /* Neutral Colors */
    --hw-dark: #212529;
    --hw-light: #f8f9fa;
    --hw-white: #ffffff;
    --hw-gray: #6c757d;
    
    /* Status Colors */
    --hw-success: #198754;
    --hw-warning: #ffc107;
    --hw-danger: #dc3545;
}

/* ===== BODY & BASE STYLES ===== */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f5f6fa;
    color: var(--hw-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 70px; /* Space for fixed navbar */
    padding-right: 0 !important;
}

.main-content {
    flex: 1;
    width: 100%;
    max-width: 100%;
}

/* ===== HEADER / NAVBAR ===== */
.hw-navbar {
    background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hw-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--hw-white) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hw-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.hw-navbar .nav-link:hover {
    color: var(--hw-white) !important;
}

/* ===== HERO BANNER ===== */
.hw-hero {
    background: linear-gradient(135deg, var(--hw-primary) 0%, var(--hw-primary-dark) 100%);
    color: white;
    padding: 2.5rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 20px rgba(73, 80, 87, 0.3);
}

.hw-hero h1 {
    margin: 0;
    font-weight: 700;
    font-size: 2rem;
}

.hw-hero .subtitle {
    opacity: 0.9;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* ===== HERO BANNER - MINIMAL (NO BACKGROUND) ===== */
.hw-hero-minimal {
    padding: 1.5rem 0;
    margin-bottom: 1rem;
}

.hw-hero-minimal h1 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--hw-dark);
}

/* ===== OFFER SLIDESHOW ANIMATION ===== */
#offerSlideshow .carousel-item {
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}

#offerSlideshow .carousel-item-next,
#offerSlideshow .carousel-item-prev,
#offerSlideshow .carousel-item.active {
    display: block;
}

#offerSlideshow .carousel-item-next,
#offerSlideshow .carousel-item.active-right {
    transform: translateX(100%);
}

#offerSlideshow .carousel-item-prev,
#offerSlideshow .carousel-item.active-left {
    transform: translateX(-100%);
}

#offerSlideshow .carousel-item-next.carousel-item-left,
#offerSlideshow .carousel-item-prev.carousel-item-right,
#offerSlideshow .carousel-item.active {
    transform: translateX(0);
}

/* ===== OFFER BANNER (HEADER) ===== */
.offer-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.35);
    transition: all 0.3s ease;
    overflow: hidden;
}

.offer-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(253, 126, 20, 0.45);
}

.offer-banner-content {
    flex: 1;
    color: white;
    padding-right: 1rem;
}

.offer-banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-banner h4 {
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    font-size: 1.4rem;
}

.offer-banner p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.9rem;
}

.offer-banner-image {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.offer-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 576px) {
    .offer-banner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .offer-banner-content {
        padding-right: 0;
        margin-bottom: 1rem;
    }
    
    .offer-banner-image {
        width: 100%;
        height: 100px;
    }
}

/* ===== CATEGORY FILTERS ===== */
.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.category-btn {
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--hw-primary);
    background: var(--hw-white);
    color: var(--hw-primary);
}

.category-btn:hover,
.category-btn.active {
    background: var(--hw-primary);
    color: var(--hw-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 80, 87, 0.25);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--hw-accent);
}

.section-header h4 {
    margin: 0;
    color: var(--hw-dark);
    font-weight: 600;
}

.section-header i {
    color: var(--hw-accent);
    font-size: 1.2rem;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: var(--hw-white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 280px; /* Reduced height */
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(73, 80, 87, 0.2);
}

.product-image-container {
    position: relative;
    height: 160px; /* Fixed height for uniformity */
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.product-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.product-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition:
        opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.88s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.7s ease;
}

.product-image-stack .product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    padding: 12px;
}

.product-image-secondary {
    opacity: 0;
    transform: scale(0.9) translateY(12px);
    transition:
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.92s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.72s ease;
}

.product-card.has-hover-image:hover .product-image-primary {
    opacity: 0;
    transform: scale(1.08) translateY(-6px);
    filter: blur(1px);
}

.product-card.has-hover-image:hover .product-image-secondary {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: drop-shadow(0 18px 22px rgba(28, 28, 28, 0.18));
}

.product-card:not(.has-hover-image):hover .product-image {
    transform: scale(1.08) rotate(1deg);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--hw-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(253, 126, 20, 0.4);
}

.product-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-weight: 600;
    color: var(--hw-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--hw-accent);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.product-price i {
    font-size: 1rem;
}

.category-tag {
    display: inline-block;
    background: var(--hw-light);
    color: var(--hw-primary-dark);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    width: fit-content;
}

/* ===== CATEGORY SIDEBAR ===== */
.category-sidebar .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.category-sidebar .list-group-item:last-child {
    border-bottom: none;
}

.category-sidebar .list-group-item:hover {
    background-color: var(--hw-light);
    padding-left: 20px;
}

.category-sidebar .list-group-item.active {
    background-color: var(--hw-primary);
    border-color: var(--hw-primary);
}

.category-sidebar .list-group-item i {
    margin-right: 8px;
}

/* ===== SEARCH BAR ===== */
.search-container {
    margin-bottom: 20px;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #fd7e14;
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 50px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: #fd7e14;
    box-shadow: 0 4px 20px rgba(253, 126, 20, 0.2);
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e9ecef;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #6c757d;
}

.search-clear:hover {
    background: #fd7e14;
    color: white;
}

/* ===== CATEGORY HEADER (NEW) ===== */
.category-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    margin-bottom: 15px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 3px 12px rgba(253, 126, 20, 0.3);
    position: relative;
}

.category-pill:hover {
    transform: translateY(-3px) rotate(3deg);
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.45);
    color: white;
}

.category-pill.active {
    background: linear-gradient(135deg, #343a40 0%, #212529 100%);
    box-shadow: 0 5px 15px rgba(33, 37, 41, 0.4);
}

.category-pill i {
    font-size: 0.85rem;
}

/* ===== DROPDOWN MENU STYLES ===== */
.category-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.category-pill.dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    content: "";
    border-top: 5px solid;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
    vertical-align: middle;
}

/* Dropdown Menu */
.category-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 1200;
    min-width: 240px;
    max-width: 320px;
    width: max-content;
    padding: 10px 0;
    margin: 0;
    background: linear-gradient(135deg, #495057 0%, #343a40 100%);
    border: none;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
    animation: none;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Show dropdown on hover */
.category-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.category-dropdown:focus-within .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.category-dropdown .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Items */
.category-dropdown .dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 20px;
    clear: both;
    font-weight: 500;
    color: white;
    text-align: left;
    text-decoration: none;
    background: transparent;
    border: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.category-dropdown .dropdown-item:hover,
.category-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding-left: 25px;
}

.category-dropdown .dropdown-item:first-child {
    font-weight: 600;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 12px;
    margin-bottom: 4px;
}

.category-dropdown .dropdown-item:first-child:hover {
    background: transparent;
    color: white;
    padding-left: 20px;
}

/* Dropdown Divider */
.category-dropdown .dropdown-divider {
    height: 0;
    margin: 4px 0;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Offcanvas Styles */
.offcanvas {
    width: 280px !important;
}

.offcanvas .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 15px;
    transition: all 0.3s ease;
}

.offcanvas .list-group-item:last-child {
    border-bottom: none;
}

.offcanvas .list-group-item:hover {
    background-color: var(--hw-light);
    padding-left: 20px;
}

.offcanvas .list-group-item.active {
    background-color: var(--hw-primary);
    border-color: var(--hw-primary);
}

.offcanvas .list-group-item i {
    margin-right: 10px;
}

/* ===== OFFER SIDEBAR (Right Side - 20% width) - Fixed Position ===== */
.offer-sidebar-fixed {
    position: fixed !important;
    top: 70px !important;
    right: 0 !important;
    left: auto !important;
    width: 20% !important;
    min-width: 200px;
    max-width: 300px;
    background: white !important;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000 !important;
    height: calc(100vh - 70px) !important;
    display: flex !important;
    flex-direction: column;
    overflow: hidden;
}

/* Add padding to body when sidebar is fixed - DISABLED */
/* @media (min-width: 992px) {
    body {
        padding-right: 20%;
    }
} */

.offer-sidebar-header {
    background: linear-gradient(135deg, #4682b4 0%, #4169aa 100%);
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.offer-sidebar-header:hover {
    background: linear-gradient(135deg, #3a6f9a 0%, #365688 100%);
}

.offer-sidebar-header i {
    font-size: 1.3rem;
}

.offer-sidebar-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.offer-sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1rem;
}

.offer-sidebar-scroll::-webkit-scrollbar {
    width: 4px;
}

.offer-sidebar-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.offer-sidebar-scroll::-webkit-scrollbar-thumb {
    background: #4682b4;
    border-radius: 10px;
}

.offer-cards-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.offer-card-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 180px;
    display: flex;
    flex-direction: column;
}

.offer-card-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(70, 130, 180, 0.2);
}

.offer-card-image {
    position: relative;
    height: 90px;
    overflow: hidden;
    background: white;
    flex-shrink: 0;
}

.offer-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-card-item:hover .offer-card-image img {
    transform: scale(1.05);
}

.offer-card-image i {
    font-size: 2rem;
    color: var(--hw-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.offer-card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.offer-card-body {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.offer-card-body h6 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hw-dark);
    margin-bottom: 0.35rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-card-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.offer-card-prices .was-price {
    font-size: 0.7rem;
    color: #999;
    text-decoration: line-through;
}

.offer-card-prices .now-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: #28a745;
}

.offer-card-body p {
    font-size: 0.7rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.offer-card-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6rem;
    color: #6c757d;
    margin-top: 0.35rem;
}

.offer-card-valid i {
    color: var(--hw-accent);
    font-size: 0.6rem;
}

.offer-sidebar-footer {
    background: linear-gradient(135deg, #4682b4 0%, #4169aa 100%);
    color: white;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.offer-sidebar-footer:hover {
    background: linear-gradient(135deg, #3a6f9a 0%, #365688 100%);
}

.offer-sidebar-footer span {
    font-weight: 600;
    font-size: 0.85rem;
}

.offer-sidebar-footer i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.offer-sidebar-footer:hover i {
    transform: translateX(5px);
}

/* Responsive for sidebar - hide on smaller screens */
@media (max-width: 991px) {
    .offer-sidebar-fixed {
        display: none;
    }
    
    body {
        padding-right: 0;
    }
}

@media (max-width: 576px) {
    .offer-card-image {
        height: 80px;
    }
    
    .offer-card-body h6 {
        font-size: 0.8rem;
    }
}

/* ===== OFFER SLIDESHOW (Full Width - Legacy) ===== */
.offer-slideshow-container {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

#offerSlideshow .carousel-inner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 350px;
}

#offerSlideshow .carousel-item {
    min-height: 350px;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

#offerSlideshow .carousel-item.active {
    animation: slideIn 0.8s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.offer-slide-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 350px;
    gap: 3rem;
}

@media (max-width: 768px) {
    .offer-slide-content {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

.offer-slide-image {
    flex: 0 0 40%;
    max-width: 400px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.offer-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-slide-image img:hover {
    transform: scale(1.05);
}

.offer-slide-image i {
    font-size: 5rem;
    color: var(--hw-accent);
}

.offer-slide-details {
    flex: 1;
    color: white;
    padding: 1rem;
}

.offer-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.4);
}

.offer-slide-details h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .offer-slide-details h3 {
        font-size: 1.5rem;
    }
}

.offer-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.was-price {
    font-size: 1.2rem;
    color: #aaa;
    text-decoration: line-through;
    opacity: 0.8;
}

.now-price {
    font-size: 2rem;
    font-weight: 700;
    color: #4ade80;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.3);
}

.offer-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 500px;
}

.offer-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.offer-valid i {
    color: var(--hw-accent);
}

.btn-shop-now {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.4);
}

.btn-shop-now:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(253, 126, 20, 0.5);
    color: white;
    background: linear-gradient(135deg, #e96d07 0%, #fd7e14 100%);
}

/* Carousel Controls */
#offerSlideshow .carousel-control-prev,
#offerSlideshow .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}

#offerSlideshow .carousel-control-prev:hover,
#offerSlideshow .carousel-control-next:hover {
    opacity: 1;
    background: var(--hw-accent);
}

#offerSlideshow .carousel-control-prev-icon,
#offerSlideshow .carousel-control-next-icon {
    background-image: none;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#offerSlideshow .carousel-control-prev-icon::before {
    content: "\2190";
}

#offerSlideshow .carousel-control-next-icon::before {
    content: "\2192";
}

/* Carousel Indicators */
#offerSlideshow .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

#offerSlideshow .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

#offerSlideshow .carousel-indicators button.active {
    background-color: var(--hw-accent);
    transform: scale(1.2);
}

#offerSlideshow .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.7);
}

/* ===== OFFERS SIDEBAR (Legacy - keeping for reference) ===== */
.offers-sidebar {
    position: sticky;
    top: 5rem;
}

.offers-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.offers-header {
    background: linear-gradient(135deg, var(--hw-accent) 0%, var(--hw-accent-hover) 100%);
    color: white;
    padding: 1rem;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offers-header h5 {
    margin: 0;
    font-weight: 600;
}

.offer-card {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
    background: var(--hw-white);
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.offer-card:last-of-type {
    border-radius: 0 0 16px 16px;
}

.offer-card:only-child {
    border-radius: 0 0 16px 16px;
}

.offer-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(253, 126, 20, 0.15);
}

.offer-card:hover .offer-title {
    color: var(--hw-accent);
}

.offer-image-container {
    height: 100px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.offer-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-image {
    transform: scale(1.1);
}

.offer-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: var(--hw-danger);
    color: white;
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.4);
}

.offer-body {
    padding: 1rem;
}

.offer-title {
    font-weight: 600;
    color: var(--hw-dark);
    margin-bottom: 0.25rem;
    transition: color 0.3s ease;
}

.offer-description {
    font-size: 0.8rem;
    color: var(--hw-gray);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--hw-gray);
}

.empty-state i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.hw-footer {
    background: var(--hw-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 2rem 0;
    margin-top: auto;
}

.hw-footer a {
    color: var(--hw-accent);
    text-decoration: none;
}

.hw-footer a:hover {
    color: var(--hw-white);
    text-decoration: underline;
}

/* ===== FOOTER FULL WIDTH FIX ===== */
.site-footer {
    width: 100% !important;
    max-width: 100% !important;
    background-color: #1f2326 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
    left: 0 !important;
    right: 0 !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section a {
    color: #fd7e14;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #fd7e14;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-content {
        padding: 30px 15px 15px;
    }
}

/* ===== PRODUCT POPUP ===== */
.product-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    overflow: hidden;
}

.product-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.product-popup-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--product-popup-overlay-image, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.35s ease, transform 0.45s ease;
    z-index: 0;
}

.product-popup-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.7)),
        rgba(0, 0, 0, 0.34);
    z-index: 0;
}

.product-popup-overlay.has-product-backdrop::before {
    opacity: 0.5;
}

.product-popup-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .product-popup-content {
        flex-direction: row;
    }
    .product-popup-image {
        width: 50%;
        height: auto;
    }
    .product-popup-details {
        width: 50%;
    }
}

.product-popup-image {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.product-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 350px;
}

.product-popup-details {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.product-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease;
    line-height: 1;
    background: rgba(0,0,0,0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-popup-close:hover {
    transform: scale(1.2);
    background: #fd7e14;
}

.popup-category {
    display: inline-block;
    background: #fd7e14;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 10px;
}

.product-popup-details h3 {
    margin: 15px 0;
    color: #212529;
    font-weight: 700;
    font-size: 0 0 1.5rem;
}

.popup-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.popup-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fd7e14;
    margin-bottom: 20px;
}

.btn-quote {
    background: #25d366 !important;
    border: none !important;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-quote:hover {
    background: #20b857 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* ===== IMAGE POPUP ===== */
.image-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-popup-overlay.active {
    display: flex;
    opacity: 1;
}

.image-popup-content {
    max-width: 90%;
    max-height: 90%;
}

.image-popup-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.image-popup-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    transition: transform 0.2s ease;
    line-height: 1;
}

.image-popup-close:hover {
    transform: scale(1.2);
    color: var(--hw-accent);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .offers-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .hw-hero {
        border-radius: 0 0 15px 15px;
        padding: 2rem 1rem;
    }
    
    .hw-hero h1 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .product-image-container {
        height: 150px;
    }
    
    .offer-image-container {
        height: 80px;
    }
    
    .section-header {
        flex-wrap: wrap;
    }
    
    .section-header h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .hw-hero h1 {
        font-size: 1.4rem;
    }
    
    .category-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
    
    .product-card-body {
        padding: 1rem;
    }
}

/* ===== OFFERS PAGE - Full Cards ===== */
.offer-full-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeIn 0.6s ease forwards;
    opacity: 0;
}

.offer-full-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(70, 130, 180, 0.25);
}

.offer-full-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
}

.offer-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-full-card:hover .offer-full-image img {
    transform: scale(1.1);
}

.offer-full-image i {
    font-size: 5rem;
    color: var(--hw-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.offer-full-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #a71d2a 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    transform: rotate(-5deg);
    z-index: 10;
    animation: badgePulse3d 2s infinite;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.offer-full-discount {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.offer-full-body {
    padding: 1.5rem;
}

.offer-full-body h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hw-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.offer-full-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.offer-full-prices .was-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.offer-full-prices .now-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #28a745;
}

.offer-full-desc {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.offer-full-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.offer-full-valid i {
    color: var(--hw-accent);
}

/* ===== OFFER SLIDER STYLES ===== */
.offer-slider-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.offer-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

/* Single Offer Slide */
.offer-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}

.offer-slide-inner {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.offer-slide-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(70, 130, 180, 0.25);
}

.offer-slide-image {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.offer-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-slide-inner:hover .offer-slide-image img {
    transform: scale(1.08);
}

.offer-slide-image i {
    font-size: 3rem;
    color: var(--hw-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.offer-slide-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(253, 126, 20, 0.4);
}

.offer-slide-content {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.offer-slide-content h6 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--hw-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.offer-slide-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.offer-slide-prices .was-price {
    font-size: 0.75rem;
    color: #999;
    text-decoration: line-through;
}

.offer-slide-prices .now-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #28a745;
}

.offer-slide-content p {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.offer-slide-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

.offer-slide-valid i {
    color: var(--hw-accent);
}

.offer-slide-click {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--hw-accent);
}

.offer-slide-click i {
    transition: transform 0.3s ease;
}

.offer-slide-inner:hover .offer-slide-click i {
    transform: translateX(4px);
}

/* Slider Dots */
.offer-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem;
    background: white;
    flex-shrink: 0;
}

.offer-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.offer-dot:hover {
    background: #adb5bd;
}

.offer-dot.active {
    background: var(--hw-accent);
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 1200px) {
    .offer-sidebar-fixed {
        min-width: 180px;
    }
}

@media (max-width: 991px) {
    .offer-sidebar-fixed {
        display: none;
    }
    
    body {
        padding-right: 0;
    }
}

/* ===== OFFER DETAIL PAGE STYLES ===== */
.offer-detail-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    animation: fadeIn 0.6s ease forwards;
}

.offer-detail-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #f0f0f0;
}

.offer-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-detail-image i {
    font-size: 8rem;
    color: var(--hw-accent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.offer-detail-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(253, 126, 20, 0.4);
}

.offer-detail-discount {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
}

.offer-detail-content {
    padding: 2rem;
}

.offer-detail-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--hw-dark);
    margin-bottom: 1rem;
}

.offer-detail-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.offer-detail-prices .was-price {
    font-size: 1.4rem;
    color: #999;
    text-decoration: line-through;
}

.offer-detail-prices .now-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #28a745;
}

.offer-detail-desc {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.offer-detail-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.offer-detail-valid i {
    color: var(--hw-accent);
    font-size: 1.2rem;
}

.offer-detail-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.offer-detail-share span {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Responsive for offer detail */
@media (max-width: 768px) {
    .offer-detail-image {
        height: 250px;
    }
    
    .offer-detail-content h2 {
        font-size: 1.4rem;
    }
    
    .offer-detail-prices .was-price {
        font-size: 1.1rem;
    }
    
    .offer-detail-prices .now-price {
        font-size: 1.6rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.product-card {
    animation: fadeIn 0.5s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.15s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }
.product-card:nth-child(4) { animation-delay: 0.25s; }
.product-card:nth-child(5) { animation-delay: 0.3s; }
.product-card:nth-child(6) { animation-delay: 0.35s; }

/* ===== 2026 INDUSTRIAL THEME OVERRIDES ===== */
:root {
    --hw-primary: #1c1c1c;
    --hw-primary-dark: #111111;
    --hw-primary-light: #2a2a2a;
    --hw-accent: #e30613;
    --hw-accent-hover: #b80510;
    --hw-dark: #1c1c1c;
    --hw-light: #f5f5f5;
    --hw-white: #ffffff;
    --hw-gray: #b0b0b0;
    --hw-soft-dark: #333333;
    --hw-border: rgba(227, 6, 19, 0.14);
    --hw-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
    --hw-shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.24);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
    background:
        linear-gradient(180deg, rgba(28, 28, 28, 0.03), rgba(28, 28, 28, 0)),
        #f5f5f5;
    color: var(--hw-dark);
    padding-top: 92px;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.section-header h4,
.category-page-header h2,
.product-title,
.hero-title {
    font-family: 'Montserrat', 'Poppins', sans-serif;
}

.container,
.container-fluid {
    position: relative;
}

.hw-navbar {
    background:
        linear-gradient(90deg, rgba(22, 22, 22, 0.99) 0%, rgba(28, 28, 28, 0.98) 45%, rgba(42, 42, 42, 0.98) 100%) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0;
    transition:
        transform 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
}

.hw-navbar-inner {
    min-height: 92px;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
}

.hw-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff !important;
    text-decoration: none;
}

.hw-brand-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    border: 0;
    padding: 0;
}

.hw-brand-icon,
.footer-brand-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--hw-accent);
    color: #fff;
    font-size: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 12px 26px rgba(227, 6, 19, 0.24);
}

.hw-brand-icon {
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.hw-brand-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.hw-brand-copy strong {
    color: #fff;
    font-size: 1.34rem;
    letter-spacing: 0.04em;
    font-weight: 700;
    display: block;
}

.hw-navbar .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.75rem 1rem !important;
    position: relative;
}

.hw-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.35rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.75);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.hw-navbar .nav-link:hover,
.hw-navbar .nav-link.active {
    color: #fff !important;
}

.hw-navbar .nav-link:hover::after,
.hw-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.hw-products-item {
    position: relative;
}

.hw-products-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 16px;
}

.hw-products-trigger {
    display: flex;
    align-items: center;
}

.hw-products-toggle {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.82);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, color 0.25s ease;
}

.hw-products-toggle:hover {
    color: #fff;
}

.hw-products-mega {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    transform: translateY(-10px);
    transform-origin: top center;
    width: 100vw;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.34s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s ease;
    z-index: 9999;
    will-change: transform, opacity;
}

.hw-products-mega-inner {
    background: linear-gradient(135deg, rgba(22, 22, 22, 0.98), rgba(36, 36, 36, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 0 18px 18px;
    padding: 22px 24px 24px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(12px);
    max-width: 1280px;
    margin: 0 auto;
    clip-path: inset(0 0 100% 0 round 0 0 18px 18px);
    opacity: 0.72;
    transform: translateY(-10px);
    transition:
        clip-path 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease,
        transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.hw-products-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, 0.78fr);
    gap: 28px;
    align-items: start;
}

.hw-products-item:hover .hw-products-mega,
.hw-products-item:focus-within .hw-products-mega,
.hw-products-item.is-open .hw-products-mega {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.hw-products-item:hover .hw-products-mega-inner,
.hw-products-item:focus-within .hw-products-mega-inner,
.hw-products-item.is-open .hw-products-mega-inner {
    clip-path: inset(0 0 0 0 round 0 0 18px 18px);
    opacity: 1;
    transform: translateY(0);
}

.hw-products-mega-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hw-products-kicker {
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.68rem;
    font-weight: 700;
}

.hw-products-view-all {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.hw-products-view-all:hover {
    color: var(--hw-accent);
}

.hw-products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 20px;
}

.hw-products-col {
    min-width: 0;
    animation: fadeIn 0.28s ease both;
    padding-right: 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.hw-products-col:nth-child(1) { animation-delay: 0.04s; }
.hw-products-col:nth-child(2) { animation-delay: 0.08s; }
.hw-products-col:nth-child(3) { animation-delay: 0.12s; }
.hw-products-col:nth-child(4) { animation-delay: 0.16s; }
.hw-products-col:nth-child(5) { animation-delay: 0.20s; }
.hw-products-col:nth-child(6) { animation-delay: 0.24s; }
.hw-products-col:nth-child(7) { animation-delay: 0.28s; }
.hw-products-col:nth-child(8) { animation-delay: 0.32s; }

.hw-products-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.hw-products-category:hover {
    color: var(--hw-accent);
}

.hw-products-sublist {
    display: grid;
    gap: 6px;
}

.hw-products-subitem {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    font-size: 0.86rem;
    line-height: 1.35;
    padding: 4px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hw-products-subitem:hover {
    color: #fff;
    transform: translateX(4px);
}

.hw-products-subitem-viewall {
    margin-top: 4px;
    color: var(--hw-accent);
    font-weight: 600;
}

.hw-products-subitem-viewall:hover {
    color: #fff;
}

.hw-products-spotlight {
    position: relative;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.96), rgba(38, 38, 38, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    animation: fadeIn 0.36s ease both;
    animation-delay: 0.16s;
}

.hw-products-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%);
    pointer-events: none;
}

.hw-products-spotlight > * {
    position: relative;
    z-index: 1;
}

.hw-products-spotlight-carousel {
    position: relative;
}

.hw-products-spotlight-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.hw-products-spotlight-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hw-products-spotlight-media {
    position: relative;
    display: block;
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.hw-products-spotlight-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.82), rgba(10, 10, 10, 0.1));
}

.hw-products-spotlight-media img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    transition: transform 0.45s ease;
}

.hw-products-spotlight:hover .hw-products-spotlight-media img {
    transform: scale(1.05);
}

.hw-products-spotlight-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.92);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hw-products-spotlight-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.68);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.66rem;
    font-weight: 700;
}

.hw-products-spotlight h4 {
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.2;
    margin: 0 0 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.hw-products-spotlight-actions {
    display: grid;
    gap: 8px;
}

.hw-products-panel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    background: #fff;
    color: #181818;
    text-decoration: none;
    font-weight: 700;
}

.hw-products-panel-btn:hover {
    color: #181818;
    transform: translateY(-1px);
}

.hw-products-panel-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.hw-products-panel-link:hover {
    color: rgba(255, 255, 255, 0.82);
}

.hw-products-spotlight-dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.hw-products-spotlight-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.32);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.hw-products-spotlight-dot.is-active {
    background: #fff;
    transform: scale(1.25);
}

.hw-phone-item .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
}

.hw-phone-item i {
    color: rgba(255, 255, 255, 0.82);
}

.hw-quote-btn,
.hw-footer-cta,
.hw-call-btn,
.btn.btn-primary,
.industrial-btn,
.industrial-btn-outline,
.btn-outline-secondary {
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hw-quote-btn,
.btn.btn-primary,
.industrial-btn {
    background: var(--hw-accent) !important;
    border: 1px solid var(--hw-accent) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(227, 6, 19, 0.24);
}

.hw-call-btn {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    padding: 10px 16px;
}

.hw-call-btn:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
}

.hw-quote-btn:hover,
.btn.btn-primary:hover,
.industrial-btn:hover {
    background: var(--hw-accent-hover) !important;
    border-color: var(--hw-accent-hover) !important;
    transform: translateY(-2px);
}

.industrial-btn-outline,
.btn-outline-secondary {
    background: transparent !important;
    border: 1px solid rgba(28, 28, 28, 0.2) !important;
    color: var(--hw-dark) !important;
}

.industrial-btn-outline:hover,
.btn-outline-secondary:hover {
    background: var(--hw-dark) !important;
    border-color: var(--hw-dark) !important;
    color: #fff !important;
}

.hw-navbar-toggler {
    border-color: rgba(255, 255, 255, 0.18) !important;
    border-radius: 10px;
}

.section-header {
    align-items: center;
    border-bottom: 2px solid rgba(227, 6, 19, 0.2);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
}

.section-header h4,
.section-title {
    color: var(--hw-dark);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.section-header i,
.section-title i {
    color: var(--hw-accent) !important;
}

.category-header,
#categoryPillsScroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: none;
}

.category-header::-webkit-scrollbar,
#categoryPillsScroll::-webkit-scrollbar {
    display: none;
}

.category-pill {
    background: var(--hw-accent) !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 22px rgba(227, 6, 19, 0.16) !important;
    color: #fff !important;
    font-weight: 600;
    padding: 11px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.category-pill:hover,
.category-pill:focus {
    transform: translateY(-2px) !important;
    background: #ba0914 !important;
    color: #fff !important;
}

.category-pill.active {
    background: var(--hw-dark) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22) !important;
}

.category-dropdown .dropdown-menu {
    background: #232323 !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--hw-shadow-strong);
}

.category-dropdown .dropdown-item {
    color: #fff !important;
    padding: 12px 18px;
}

.category-dropdown .dropdown-item:hover,
.category-dropdown .dropdown-item:focus {
    background: rgba(227, 6, 19, 0.16) !important;
    color: #fff !important;
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 991px) {
    .category-dropdown .dropdown-menu {
        position: fixed;
        top: auto;
        left: 12px;
        right: 12px;
        width: auto;
        min-width: 0;
        max-width: none;
        padding: 10px 0;
    }

    /* A tap also triggers :hover, which would open the menu under the finger and
       send the same tap to a menu item. Only a menu opened by the script may show. */
    .category-dropdown:hover .dropdown-menu:not(.show),
    .category-dropdown:focus-within .dropdown-menu:not(.show) {
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

.search-container {
    margin-bottom: 28px;
}

.search-wrapper {
    max-width: 100%;
}

.search-icon {
    color: var(--hw-accent);
}

.search-input {
    border-radius: 12px !important;
    border: 1px solid rgba(28, 28, 28, 0.1) !important;
    padding: 16px 52px !important;
    box-shadow: var(--hw-shadow);
}

.search-input:focus {
    border-color: rgba(227, 6, 19, 0.5) !important;
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08), var(--hw-shadow) !important;
}

.search-clear {
    background: rgba(28, 28, 28, 0.08);
}

.search-clear:hover {
    background: var(--hw-accent) !important;
}

.product-card {
    border: 1px solid var(--hw-border) !important;
    border-radius: 14px !important;
    box-shadow: var(--hw-shadow);
    min-height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(227, 6, 19, 0.4) !important;
    box-shadow: var(--hw-shadow-strong);
}

.product-image-container {
    height: 220px !important;
    background:
        linear-gradient(180deg, rgba(227, 6, 19, 0.04), rgba(0, 0, 0, 0)),
        #fff;
    border-bottom: 1px solid rgba(28, 28, 28, 0.06);
}

.product-image {
    max-width: 84%;
    max-height: 84%;
    object-fit: contain !important;
}

.product-card-body {
    padding: 1rem 1rem 1.15rem !important;
    gap: 0.45rem;
}

.product-title {
    font-size: 0.98rem;
    min-height: 2.8em;
    margin-bottom: 0.25rem;
}

.category-tag {
    background: rgba(28, 28, 28, 0.06);
    color: #5e5e5e;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.product-price {
    color: var(--hw-accent);
    font-size: 1rem;
}

.offer-sticky-section,
.brands-section,
.happy-customers,
.category-slider-wrapper,
.feedback-slider-container {
    border-radius: 16px !important;
}

.offer-sticky-section {
    background: linear-gradient(135deg, #1c1c1c 0%, #2a2a2a 100%) !important;
    box-shadow: var(--hw-shadow-strong) !important;
}

.offer-sticky-section > div:first-child,
.offer-slider-wrapper,
.offer-sticky-section [style*="#355872"],
.offer-sticky-section [style*="#2a4560"] {
    background: transparent !important;
}

.offer-card {
    border: 1px solid var(--hw-border) !important;
    border-radius: 14px !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14) !important;
}

.offer-scroll-btn,
.scroll-btn,
.scroll-indicator,
.carousel-control-prev,
.carousel-control-next {
    background: var(--hw-accent) !important;
    color: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 22px rgba(227, 6, 19, 0.22) !important;
}

.category-page-header {
    background:
        linear-gradient(135deg, rgba(28, 28, 28, 0.98), rgba(42, 42, 42, 0.96)) !important;
    color: #fff !important;
    border-radius: 16px !important;
    padding: 28px 30px !important;
    box-shadow: var(--hw-shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.category-page-header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 5px;
    background: var(--hw-accent);
    border-radius: 0 999px 999px 0;
}

.category-page-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent 32%),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 32%);
    pointer-events: none;
}

.category-page-header h2 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
    padding-left: 18px;
    color: #fff !important;
    font-weight: 800;
}

.category-page-header p,
.category-page-header .text-muted,
.category-page-header .text-white {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-left: 18px;
    color: rgba(176, 176, 176, 0.96) !important;
    font-weight: 500;
}

.empty-state {
    background: #fff;
    border: 1px dashed rgba(227, 6, 19, 0.28);
    border-radius: 16px;
    padding: 3rem 1.5rem;
    text-align: center;
    box-shadow: var(--hw-shadow);
}

.site-footer {
    background:
        linear-gradient(90deg, rgba(227, 6, 19, 0.96) 0, rgba(227, 6, 19, 0.96) 6px, transparent 6px),
        #1c1c1c;
    color: #fff;
    margin-top: 40px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 20px 22px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-brand-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    padding: 6px;
}

.footer-section h5 {
    color: #fff;
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--hw-accent);
}

.footer-section i {
    color: var(--hw-accent);
    margin-right: 8px;
}

.hw-footer-cta {
    background: var(--hw-accent);
    color: #fff;
    border: 1px solid var(--hw-accent);
    padding: 12px 18px;
}

.footer-bottom {
    text-align: center;
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.58);
}

.whatsapp-float {
    position: fixed;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
    z-index: 1100;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float i {
    font-size: 1.8rem;
    line-height: 1;
}

.whatsapp-float:hover {
    background: #20b857;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.product-popup-overlay {
    background: rgba(0, 0, 0, 0.84);
}

.product-popup-overlay.has-product-backdrop {
    background: rgba(0, 0, 0, 0.62);
}

.product-popup-content {
    border-radius: 18px !important;
    border: 1px solid rgba(227, 6, 19, 0.18);
    box-shadow: var(--hw-shadow-strong);
    position: relative;
    z-index: 1;
}

.product-popup-image {
    background:
        linear-gradient(180deg, rgba(227, 6, 19, 0.06), rgba(255, 255, 255, 0)),
        #f8f8f8;
    min-height: 320px;
    overflow: hidden;
    perspective: 1000px;
    position: relative;
    isolation: isolate;
}

.product-popup-bg-layer {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.38s ease, transform 0.48s ease;
    z-index: 0;
}

.product-popup-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--product-popup-bg-image, none);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transform: scale(1.02);
    filter: none;
    transition: opacity 0.4s ease, transform 0.5s ease;
    z-index: 0;
}

.product-popup-image.has-alt-background::before {
    opacity: 0.2;
}

.product-popup-image.has-alt-background .product-popup-bg-layer {
    opacity: 0.92;
}

.product-popup-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(248, 248, 248, 0.28));
    z-index: 0;
}

.product-popup-image img {
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
    transform-origin: center center;
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 74%;
    max-height: 74%;
    padding: 0;
}

.product-popup-image:hover img {
    transform: scale(1.12) translateZ(26px);
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.18));
}

.product-popup-details {
    background: #fff;
}

.product-popup-close {
    background: rgba(28, 28, 28, 0.72);
    color: #fff;
}

.product-popup-close:hover {
    background: var(--hw-accent);
}

.popup-category {
    background: var(--hw-accent);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.popup-price {
    color: var(--hw-accent);
}

.product-popup-details h3 {
    font-size: 1.55rem;
    line-height: 1.25;
}

#about-root .hw-hero,
.hw-hero {
    background:
        linear-gradient(120deg, rgba(227, 6, 19, 0.96), rgba(227, 6, 19, 0.24) 16%, rgba(28, 28, 28, 0.95) 16%, rgba(42, 42, 42, 0.95) 100%) !important;
    border-radius: 0 0 20px 20px;
}

#about-root .card,
#about-root .shadow-lg,
#about-root .shadow-sm {
    border-radius: 16px !important;
}

#about-root [style*="#fd7e14"] {
    color: var(--hw-accent) !important;
}

@media (max-width: 991px) {
    .hw-products-item::after {
        display: none;
    }

    .hw-products-trigger {
        width: 100%;
        justify-content: space-between;
    }

    .hw-products-mega {
        position: static;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        transform-origin: top center;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        display: none;
        margin-top: 10px;
    }

    .hw-products-item.is-open .hw-products-mega {
        display: block;
    }

    .hw-products-item.is-open .hw-products-toggle {
        transform: rotate(180deg);
        color: #fff;
    }

    .hw-products-mega-inner {
        padding: 16px 16px 18px;
        border-radius: 14px;
        clip-path: none;
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hw-products-mega-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .hw-products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hw-products-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hw-products-col {
        padding-right: 0;
        border-right: 0;
        padding-bottom: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .hw-products-spotlight {
        padding: 16px;
    }

    .hw-products-spotlight-media img {
        height: 160px;
    }

    body {
        padding-top: 84px;
    }

    .hw-navbar-inner {
        min-height: 84px;
        padding-left: 0 !important;
        padding-right: 14px !important;
    }

    .hw-products-mega-inner {
        max-width: none;
        margin: 0;
        border-radius: 14px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-image-container {
        height: 200px !important;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hw-brand-copy strong {
        font-size: 1.02rem;
    }

    .product-popup-content {
        flex-direction: column !important;
    }

    .product-popup-image,
    .product-popup-details {
        width: 100% !important;
    }

    .whatsapp-float {
        bottom: 82px;
        right: 16px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 80px;
    }

    .hw-products-mega {
        width: 100%;
    }

    .product-image-container {
        height: 190px !important;
    }

    .category-page-header {
        padding: 24px 18px !important;
    }

    .search-input {
        padding: 14px 48px !important;
    }

    .hw-phone-item .nav-link {
        justify-content: flex-start;
    }

    .hw-call-btn,
    .hw-quote-btn {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .hw-products-category {
        font-size: 0.92rem;
    }

    .hw-products-subitem {
        font-size: 0.82rem;
    }
}

/* ===== OFFER MODAL STYLES (For offer.php) ===== */
.offer-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.offer-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.offer-modal-content {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease forwards;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.offer-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
    line-height: 1;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-modal-close:hover {
    transform: scale(1.1);
    background: #fd7e14;
}

.offer-modal-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    height: 100%;
}

.offer-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 400px;
}

.offer-modal-image i {
    font-size: 6rem;
    color: var(--hw-accent);
}

.offer-modal-details {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.offer-modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fd7e14 0%, #e96d07 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    width: fit-content;
    margin-bottom: 1rem;
}

.offer-modal-details h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--hw-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.offer-modal-prices {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.offer-modal-was {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.offer-modal-now {
    font-size: 1.8rem;
    font-weight: 700;
    color: #28a745;
}

.offer-modal-desc {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.offer-modal-valid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.offer-modal-valid i {
    color: var(--hw-accent);
}

.btn-request-quote {
    background: #25d366 !important;
    border: none !important;
    padding: 14px 35px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    width: fit-content;
}

.btn-request-quote:hover {
    background: #20b857 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
}

/* ===== RIGHT SIDEBAR - DARK BLUE (#355872) ===== */
.offer-sidebar-right {
    background: #355872 !important;
}

.offer-sidebar-right .offer-sidebar-header {
    background: linear-gradient(135deg, #2a4560 0%, #1f3349 100%);
}

.offer-sidebar-right .offer-sidebar-footer {
    background: linear-gradient(135deg, #2a4560 0%, #1f3349 100%);
}

/* Sidebar slider content styling */
.offer-sidebar-right .offer-slide-inner {
    background: rgba(255, 255, 255, 0.95);
}

.offer-sidebar-right .offer-slide-content h6 {
    color: #212529;
}

.offer-sidebar-right .offer-slide-content p,
.offer-sidebar-right .offer-slide-valid {
    color: #6c757d;
}

.offer-sidebar-right .offer-slider-container {
    background: #355872;
}

.offer-sidebar-right .offer-slider-dots {
    background: #355872;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.offer-sidebar-right .offer-dot {
    background: rgba(255, 255, 255, 0.3);
}

.offer-sidebar-right .offer-dot.active {
    background: #fd7e14;
}

.offer-sidebar-right .offer-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* ===== MAIN CONTENT ADJUSTMENT FOR SIDEBAR ===== */
.main-content-with-sidebar {
    margin-right: 20%;
}

@media (max-width: 991px) {
    .main-content-with-sidebar {
        margin-right: 0;
    }
}

/* ===== 3D NEW ARRIVAL BADGE ===== */
.new-arrival-3d {
    position: absolute;
    top: -5px;
    left: -5px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 50%, #a71d2a 100%);
    color: white;
    padding: 8px 15px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3),
        inset 0 -2px 0 rgba(0,0,0,0.2);
    transform: rotate(-5deg);
    z-index: 10;
    animation: badgePulse3d 2s infinite;
    border-radius: 4px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

.new-arrival-3d::before {
    content: '';
    position: absolute;
    top: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 12px 0;
    border-color: transparent #a71d2a transparent transparent;
}

.new-arrival-3d::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 12px 0 0;
    border-color: #8b1521 transparent transparent transparent;
}

@keyframes badgePulse3d {
    0%, 100% { 
        box-shadow: 
            0 4px 8px rgba(0,0,0,0.3),
            inset 0 1px 0 rgba(255,255,255,0.3),
            inset 0 -2px 0 rgba(0,0,0,0.2);
    }
    50% { 
        box-shadow: 
            0 6px 12px rgba(220,53,69,0.5),
            inset 0 1px 0 rgba(255,255,255,0.3),
            inset 0 -2px 0 rgba(0,0,0,0.2);
    }
}

/* Responsive adjustments for the badge */
@media (max-width: 576px) {
    .new-arrival-3d {
        padding: 6px 12px;
        font-size: 0.55rem;
    }
    
    .new-arrival-3d::before {
        right: -6px;
        border-width: 0 6px 10px 0;
    }
    
    .new-arrival-3d::after {
        bottom: -5px;
        border-width: 5px 10px 0 0;
    }
}

/* ===== TESTIMONIALS / CUSTOMER FEEDBACK MOBILE RESPONSIVENESS ===== */
/* Ensure testimonials container can expand vertically on mobile */
.feedback-slider-container {
    min-height: 220px !important;
    height: auto !important;
    max-height: none !important;
}

.feedback-card {
    padding: 30px 40px !important;
}

.feedback-text {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    margin-bottom: 20px !important;
    padding-top: 25px !important;
}

.feedback-author {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    border-top: 2px solid #f0f0f0 !important;
    padding-top: 15px !important;
}

.feedback-avatar {
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
}

.feedback-name {
    font-weight: 700 !important;
    color: #212529 !important;
    font-size: 1rem !important;
}

/* Mobile CSS Rules for Testimonials */
@media (max-width: 576px) {
    .feedback-slider-container {
        min-height: 280px !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .feedback-card {
        padding: 25px 20px !important;
        max-width: 100% !important;
    }
    
    .feedback-text {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
        padding-top: 20px !important;
    }
    
    .feedback-author {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }
    
    .feedback-avatar {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    
    .feedback-name {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 425px) {
    .feedback-slider-container {
        min-height: 300px !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .feedback-card {
        padding: 20px 15px !important;
    }
    
    .feedback-text {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        padding-top: 15px !important;
    }
    
    .feedback-quote {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 375px) {
    .feedback-slider-container {
        min-height: 320px !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .feedback-card {
        padding: 18px 12px !important;
    }
    
    .feedback-text {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        padding-top: 12px !important;
    }
    
    .feedback-quote {
        font-size: 2.2rem !important;
    }
    
    .feedback-avatar {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
    
    .feedback-name {
        font-size: 0.85rem !important;
    }
}

/* ===== HOMEPAGE INDUSTRIAL SECTIONS ===== */
#all-products-home,
.industrial-anchor {
    scroll-margin-top: 110px;
}

.industrial-hero {
    width: 100vw;
    max-width: 100% !important;
    height: 70vh;
    min-height: 70vh;
    max-height: 70vh;
    background-color: #ffffff;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: block;
    overflow: visible;
    margin: 0;
    margin-left: calc(50% - 50vw);
}

.industrial-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(227, 6, 19, 0.88) 0, rgba(227, 6, 19, 0.88) 8px, transparent 8px),
        linear-gradient(120deg, rgba(12, 12, 12, 0.64), rgba(12, 12, 12, 0.74)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 30%);
}

.industrial-hero.hero-image-only {
    background-color: #ffffff;
}

.industrial-hero.hero-image-only::before {
    background:
        linear-gradient(90deg, rgba(227, 6, 19, 0.42) 0, rgba(227, 6, 19, 0.42) 8px, transparent 8px),
        linear-gradient(120deg, rgba(24, 24, 24, 0.14), rgba(24, 24, 24, 0.24)),
        linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 35%);
}

body.home-hero-top {
    padding-top: 0 !important;
}

body.home-hero-top .hw-navbar {
    transform: translateY(-118%);
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
}

body.home-hero-top.navbar-visible .hw-navbar {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

body.home-hero-top .industrial-hero {
    height: 70vh;
    min-height: 70vh;
    max-height: 70vh;
}

body.home-hero-top .industrial-hero-inner {
    padding-top: 96px;
}

.industrial-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    gap: 40px;
    align-items: end;
    padding: 96px 0 48px;
}

.industrial-hero-copy {
    max-width: 760px;
    color: #fff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.industrial-hero.hero-image-only .industrial-hero-inner {
    min-height: 100%;
    align-items: flex-end;
    padding-top: 0;
    padding-bottom: 0;
}

.industrial-hero.hero-image-only .industrial-hero-copy,
.industrial-hero.hero-image-only .industrial-hero-side {
    display: none;
}

.industrial-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.86);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-title {
    color: #fff;
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    line-height: 0.98;
    font-weight: 800;
    max-width: 10ch;
    margin-bottom: 18px;
}

.industrial-hero-copy p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 720px;
    margin-bottom: 28px;
}

.industrial-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.industrial-whatsapp-btn {
    border-radius: 10px;
    padding: 12px 20px;
    font-weight: 700;
}

.industrial-hero-side {
    display: flex;
    justify-content: flex-end;
}

.hero-panel {
    width: min(100%, 320px);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 28px;
    border-radius: 16px;
    box-shadow: var(--hw-shadow-strong);
}

.hero-panel span,
.hero-panel small {
    display: block;
    color: rgba(255, 255, 255, 0.72);
}

.hero-panel strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    line-height: 1.4;
    margin: 10px 0 16px;
}

.showroom-shell {
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: var(--hw-shadow-strong);
}

.showroom-shell .section-header h4,
.showroom-shell .section-header i {
    color: #fff !important;
}

.showroom-shell .section-header {
    border-bottom-color: rgba(227, 6, 19, 0.42);
}

.industrial-showroom-carousel .carousel-indicators button {
    background-color: var(--hw-accent);
}

.industrial-showroom-carousel .carousel-control-prev,
.industrial-showroom-carousel .carousel-control-next {
    width: 52px;
    height: 52px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.category-cards-section {
    margin-bottom: 38px;
}

.category-grid-industrial {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.industrial-category-card {
    min-height: 280px;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    text-decoration: none;
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--hw-shadow);
}

.industrial-category-card .category-card-image {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 280px;
    border-bottom: none;
    background: linear-gradient(135deg, #202020, #101010);
    overflow: hidden;
}

.industrial-category-card .category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.industrial-category-card .category-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(52, 52, 52, 0.92), rgba(92, 92, 92, 0.42), rgba(120, 120, 120, 0.08));
    height: 100%;
}

.industrial-category-card .category-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 18px 20px;
    min-height: 92px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.98), rgba(10, 10, 10, 0.28));
}

.industrial-category-card .category-card-content h6 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 6px;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.industrial-category-card .category-card-content span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    font-weight: 600;
}

.category-card-accent {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    background: linear-gradient(90deg, #2b2b2b, var(--hw-accent));
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.industrial-category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: var(--hw-shadow-strong);
}

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

.industrial-category-card:hover .category-card-accent {
    transform: scaleX(1);
}

.why-choose-section {
    margin: 46px 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.why-card {
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-top: 4px solid var(--hw-accent);
    border-radius: 14px;
    padding: 28px 22px;
    box-shadow: var(--hw-shadow);
}

.why-card i {
    font-size: 1.7rem;
    color: var(--hw-accent);
}

.why-card h5 {
    margin: 16px 0 10px;
    font-weight: 700;
    color: var(--hw-dark);
}

.why-card p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

.cta-section {
    margin: 44px 0 52px;
    padding: 34px 30px;
    background: linear-gradient(110deg, rgba(227, 6, 19, 0.94), rgba(227, 6, 19, 0.18) 18%, rgba(28, 28, 28, 0.96) 18%, rgba(42, 42, 42, 0.96) 100%);
    border-radius: 18px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--hw-shadow-strong);
}

.cta-section h3 {
    margin: 10px 0 0;
    font-size: 1.8rem;
    max-width: 700px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.quote-request-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(4px);
    z-index: 10040;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.quote-request-overlay.active {
    display: flex;
}

.quote-request-modal {
    width: min(100%, 760px);
    max-height: min(86vh, 860px);
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(227, 6, 19, 0.18);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    position: relative;
    animation: quoteModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
}

.quote-request-header {
    padding: 26px 28px 16px;
    background:
        linear-gradient(135deg, rgba(227, 6, 19, 0.09), rgba(227, 6, 19, 0.02)),
        #f8f8f8;
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
}

.quote-request-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--hw-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

.quote-request-header h3 {
    margin: 0 0 8px;
    color: var(--hw-dark);
    font-size: 1.7rem;
}

.quote-request-header p {
    margin: 0;
    color: #5f6368;
    line-height: 1.55;
}

.quote-request-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(28, 28, 28, 0.9);
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.quote-request-close:hover {
    background: var(--hw-accent);
    transform: scale(1.06);
}

.quote-request-form {
    padding: 24px 28px 28px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.quote-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.quote-request-field {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.quote-request-field label {
    color: var(--hw-dark);
    font-weight: 600;
    font-size: 0.92rem;
}

.quote-request-field input,
.quote-request-field textarea {
    width: 100%;
    border: 1px solid rgba(28, 28, 28, 0.14);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
    color: var(--hw-dark);
    font-size: 0.98rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quote-request-field textarea {
    resize: vertical;
    min-height: 126px;
}

.quote-request-items {
    display: grid;
    gap: 12px;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 6px;
}

.quote-request-item-row {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(150px, 0.8fr) 46px;
    gap: 12px;
    align-items: center;
}

.quote-request-item-input,
.quote-request-qty-input {
    min-width: 0;
}

.quote-request-remove-item {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(28, 28, 28, 0.12);
    border-radius: 12px;
    background: #fff;
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.quote-request-remove-item:hover {
    border-color: rgba(227, 6, 19, 0.34);
    color: var(--hw-accent);
    background: rgba(227, 6, 19, 0.04);
}

.quote-request-add-item {
    margin-top: 12px;
    width: fit-content;
    border: 1px dashed rgba(227, 6, 19, 0.34);
    border-radius: 12px;
    background: rgba(227, 6, 19, 0.04);
    color: var(--hw-accent);
    padding: 12px 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.quote-request-add-item:hover {
    background: rgba(227, 6, 19, 0.08);
    border-color: rgba(227, 6, 19, 0.46);
    transform: translateY(-1px);
}

.quote-request-field input:focus,
.quote-request-field textarea:focus {
    outline: none;
    border-color: rgba(227, 6, 19, 0.5);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.quote-request-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 4px;
}

.hw-quote-submit-btn {
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 12px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 16px 28px rgba(37, 211, 102, 0.22);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.hw-quote-submit-btn:hover {
    background: #20b857;
    transform: translateY(-1px);
    box-shadow: 0 18px 30px rgba(37, 211, 102, 0.28);
}

@keyframes quoteModalIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 991px) {
    .industrial-hero-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .category-grid-industrial,
    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .quote-request-grid {
        grid-template-columns: 1fr;
    }

    .quote-request-item-row {
        grid-template-columns: minmax(0, 1fr) minmax(130px, 0.7fr) 46px;
    }

    body.home-hero-top .industrial-hero-inner {
        padding-top: 132px;
    }
}

@media (max-width: 767px) {
    .industrial-hero {
        width: 100%;
        height: auto;
        min-height: 240px;
        max-height: none;
        aspect-ratio: 16 / 9;
        background-size: contain;
        background-position: center top;
        margin-left: 0;
    }

    .industrial-hero-inner {
        padding: 96px 0 48px;
    }

    body.home-hero-top .industrial-hero {
        height: auto;
        min-height: 240px;
        max-height: none;
    }

    body.home-hero-top .industrial-hero-inner {
        padding-top: 118px;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-panel {
        width: 100%;
    }

    .why-choose-grid,
    .category-grid-industrial {
        grid-template-columns: 1fr;
    }

    .industrial-category-card {
        min-height: 240px;
    }

    .industrial-category-card .category-card-image {
        min-height: 240px;
    }

    .cta-section {
        padding: 28px 20px;
    }

    .cta-section h3 {
        font-size: 1.45rem;
    }

    .quote-request-overlay {
        padding: 14px;
    }

    .quote-request-header,
    .quote-request-form {
        padding-left: 18px;
        padding-right: 18px;
    }

    .quote-request-header h3 {
        font-size: 1.4rem;
    }

    .quote-request-item-row {
        grid-template-columns: 1fr;
    }

    .quote-request-remove-item {
        width: 100%;
    }

    .quote-request-actions {
        justify-content: stretch;
    }

    .hw-quote-submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== GLOBAL RESPONSIVE HARDENING ===== */
html,
body {
    overflow-x: clip;
}

.page-shell {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    margin: 0;
    padding: 0;
}

.page-shell-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.offer-slider-wrapper,
.horizontal-scroll-wrapper,
.offer-scroll-container,
.brands-slider-container,
.feedback-slider-container {
    max-width: 100%;
}

.search-container {
    width: 100%;
    max-width: 100%;
}

.search-container form {
    width: 100%;
}

.sort-wrapper {
    max-width: 100%;
}

.product-card-scroll,
.offer-card {
    max-width: 100%;
}

@media (max-width: 991px) {
    .page-shell-inner {
        padding: 18px;
    }

    .search-container[style*="display: flex"],
    .search-container form[style*="display: flex"] {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .search-container .search-wrapper,
    .search-container .sort-wrapper,
    .search-container .btn,
    .search-container .form-select {
        width: 100% !important;
        max-width: 100% !important;
    }

    .offer-sticky-section > div[style*="justify-content: space-between"],
    .offer-sticky-section .feedback-author {
        flex-wrap: wrap;
    }

    .offer-sticky-section a[style*="display: flex"],
    .offer-sticky-section .special-offer-sticker {
        white-space: normal !important;
    }

    .feedback-slider-container[style],
    .feedback-card[style] {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .page-shell-inner {
        padding: 14px;
    }

    .category-page-header,
    .happy-customers,
    .brands-section,
    .cta-section {
        border-radius: 16px !important;
    }

    .offer-sticky-section {
        top: 78px !important;
    }

    .offer-sticky-section > div[style*="padding: 12px 20px"] {
        padding: 12px 14px !important;
        gap: 10px;
    }

    .offer-slider-wrapper[style],
    .brands-section[style],
    .happy-customers[style] {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .horizontal-scroll-wrapper,
    .offer-scroll-container {
        gap: 12px !important;
    }

    .product-card-scroll[style*="220px"],
    .offer-card[style*="220px"],
    .offer-card[style*="240px"],
    .offer-card[style*="280px"] {
        flex-basis: min(78vw, 250px) !important;
        min-width: min(78vw, 250px) !important;
    }

    .scroll-btn,
    .scroll-btn-small,
    .offer-scroll-btn,
    button[onclick*="scrollOfferContainer"],
    button[onclick*="scrollOfferContainerTop"] {
        display: none !important;
    }

    .feedback-author {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        text-align: center;
    }

    .feedback-card[style] {
        padding: 22px 18px !important;
    }

    .feedback-text[style] {
        font-size: 0.96rem !important;
        line-height: 1.6 !important;
    }

    .brands-track[style] {
        gap: 18px !important;
    }

    .brand-item[style] {
        width: 124px !important;
        height: 88px !important;
    }

    .brand-item img[style] {
        max-width: 108px !important;
        max-height: 68px !important;
    }
}

@media (max-width: 576px) {
    .page-shell-inner {
        padding: 12px;
    }

    .category-page-header {
        padding: 24px 18px !important;
    }

    .category-page-header h2,
    .section-header h4 {
        font-size: 1.15rem !important;
    }

    .search-container .btn,
    .search-container button[type="submit"] {
        width: 100% !important;
    }

    .product-card-scroll[style*="220px"],
    .offer-card[style*="220px"],
    .offer-card[style*="240px"],
    .offer-card[style*="280px"] {
        flex-basis: min(84vw, 230px) !important;
        min-width: min(84vw, 230px) !important;
    }

    .feedback-slider-container[style] {
        min-height: 0 !important;
        height: auto !important;
    }
}

/* ===== EXTRA RESPONSIVE POLISH ===== */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

.section-header {
    flex-wrap: wrap;
}

.section-header .badge,
.section-header .ms-auto {
    margin-left: auto;
}

.category-header {
    overflow-x: auto;
    overflow-y: visible;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-header::-webkit-scrollbar {
    display: none;
}

.category-pill {
    white-space: nowrap;
    flex: 0 0 auto;
}

.empty-state {
    padding: clamp(1.5rem, 4vw, 3rem) 1rem;
}

.offer-modal-content {
    width: min(100%, 920px);
    max-height: min(92vh, 860px);
}

.offer-modal-image img {
    max-height: 360px;
}

.offer-modal-details {
    overflow-y: auto;
    max-height: min(92vh, 860px);
}

.hw-navbar .navbar-collapse {
    min-width: 0;
}

@media (max-width: 1199px) {
    .page-shell-inner {
        max-width: 100%;
    }

    .hw-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-content {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 991px) {
    .hw-navbar .navbar-collapse {
        margin-top: 12px;
        padding: 12px 0 4px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hw-navbar .navbar-nav {
        align-items: stretch !important;
        gap: 6px;
    }

    .hw-navbar .nav-link {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .hw-navbar .nav-link::after {
        left: 0.5rem;
        right: 0.5rem;
    }

    .hw-products-trigger {
        justify-content: space-between;
        width: 100%;
    }

    .hw-products-item::after {
        display: none;
    }

    .offer-sticky-section {
        position: static !important;
        top: auto !important;
    }

    .offer-sticky-section > div:first-child,
    .offer-sticky-section [style*="justify-content: space-between"] {
        gap: 10px;
        flex-wrap: wrap;
    }

    .product-popup-overlay,
    .offer-modal-overlay {
        padding: 16px;
    }

    .product-popup-content {
        max-width: 100%;
        max-height: 92vh;
    }

    .product-popup-details {
        padding: 24px 20px;
    }

    .product-popup-details h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .hw-brand {
        gap: 10px;
        min-width: 0;
    }

    .hw-brand-logo,
    .hw-brand-icon {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
    }

    .hw-brand-copy {
        min-width: 0;
    }

    .hw-brand-copy strong {
        font-size: 0.95rem;
        line-height: 1.2;
        letter-spacing: 0.02em;
        word-break: break-word;
    }

    .section-header {
        gap: 8px;
        align-items: center;
    }

    .section-header h4,
    .category-page-header h2 {
        width: 100%;
    }

    .category-page-header p,
    .category-page-header .text-muted,
    .category-page-header .text-white {
        line-height: 1.5;
    }

    .offer-modal-content {
        width: 100%;
    }

    .offer-modal-content .row {
        --bs-gutter-x: 0;
    }

    .offer-modal-image {
        min-height: 220px;
    }

    .offer-modal-details {
        padding: 20px 18px;
        max-height: none;
    }

    .offer-full-prices {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .hw-products-mega {
        top: 80px;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
    }
}

@media (max-width: 576px) {
    .industrial-hero,
    body.home-hero-top .industrial-hero {
        min-height: 210px;
        aspect-ratio: 16 / 10;
        background-position: center center;
    }

    body,
    body.home-hero-top {
        overflow-x: hidden;
    }

    .page-shell,
    .page-shell-inner,
    .container,
    .container-fluid,
    #about-root,
    .about-page {
        max-width: 100%;
    }

    .hw-navbar-inner {
        padding-right: 10px !important;
    }

    .hw-brand-copy strong {
        font-size: 0.9rem;
    }

    .product-popup-overlay,
    .offer-modal-overlay,
    .quote-request-overlay {
        padding: 10px;
    }

    .product-popup-image {
        min-height: 220px;
    }

    .product-popup-image img {
        max-height: 260px;
    }

    .product-popup-details {
        padding: 18px 16px;
    }

    .product-popup-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 32px;
    }

    .quote-request-modal {
        max-height: calc(100vh - 20px);
    }

    .quote-request-header,
    .quote-request-form {
        padding-left: 16px;
        padding-right: 16px;
    }

    .offer-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .offer-sticky-section > div:first-child {
        padding: 10px 12px !important;
    }
}

/* ===== PRODUCT DETAIL PAGE ===== */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: var(--hw-accent);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.product-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 24px;
    margin-bottom: 34px;
}

.product-showcase-media,
.product-showcase-info {
    min-width: 0;
}

.product-gallery-stage,
.product-detail-panel,
.product-gallery-feature {
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-radius: 18px;
    box-shadow: var(--hw-shadow);
}

.product-gallery-stage {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background:
        radial-gradient(circle at top right, rgba(227, 6, 19, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(227, 6, 19, 0.04), rgba(0, 0, 0, 0)),
        #fff;
}

.product-gallery-main-image {
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.product-gallery-stage:hover .product-gallery-main-image {
    transform: scale(1.03);
}

.product-gallery-badge {
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    right: auto !important;
    font-size: 0.72rem !important;
    padding: 9px 16px !important;
}

.product-gallery-empty {
    min-height: 360px;
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.product-gallery-thumb {
    border: 1px solid rgba(28, 28, 28, 0.1);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    display: grid;
    gap: 10px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.is-active {
    border-color: rgba(227, 6, 19, 0.34);
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.product-gallery-thumb img {
    width: 100%;
    height: 110px;
    object-fit: contain;
}

.product-gallery-thumb span {
    color: var(--hw-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.product-gallery-feature {
    margin-top: 14px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
}

.product-gallery-feature-copy {
    padding: 26px 24px;
    background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
    color: #fff;
}

.product-gallery-feature-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.product-gallery-feature-copy h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #fff;
}

.product-gallery-feature-copy p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.product-gallery-feature-media {
    min-height: 320px;
    background:
        radial-gradient(circle at top right, rgba(227, 6, 19, 0.08), transparent 34%),
        #f8f8f8;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    overflow: hidden;
}

.product-gallery-feature-media img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    display: block;
}

.product-detail-panel {
    padding: 28px;
    position: sticky;
    top: 116px;
}

.product-detail-category {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.08);
    color: var(--hw-accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.product-detail-title {
    margin: 0 0 18px;
    color: var(--hw-dark);
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    line-height: 1.05;
    font-weight: 800;
}

.product-detail-meta {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.product-detail-price-block {
    padding: 18px 20px;
    border-radius: 16px;
    background: #f8f8f8;
    border: 1px solid rgba(28, 28, 28, 0.06);
}

.product-detail-price-label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.product-detail-price {
    margin: 0;
    color: var(--hw-accent);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
}

.product-detail-price.contact-price {
    color: #6c757d;
    font-size: 1.35rem;
}

.product-detail-price-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.product-detail-price-link::after {
    content: "\2192";
    font-size: 1rem;
    color: var(--hw-accent);
}

.product-detail-price-link:hover {
    color: var(--hw-accent);
    transform: translateY(-1px);
}

.product-detail-quick-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(28, 28, 28, 0.03);
    color: #555;
}

.product-detail-quick-note i {
    color: var(--hw-accent);
    font-size: 1.05rem;
    margin-top: 2px;
}

.product-detail-description {
    margin-bottom: 24px;
}

.product-detail-description h5 {
    margin: 0 0 10px;
    color: var(--hw-dark);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-detail-description p {
    margin: 0;
    color: #5f6368;
    line-height: 1.8;
}

.tile-coverage-calculator {
    margin-bottom: 24px;
    padding: 22px;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(227, 6, 19, 0.06), rgba(227, 6, 19, 0.015)),
        #ffffff;
    border: 1px solid rgba(227, 6, 19, 0.14);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.06);
}

.tile-coverage-header {
    margin-bottom: 18px;
}

.tile-coverage-kicker {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.1);
    color: var(--hw-accent);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.tile-coverage-header h5 {
    margin: 0 0 8px;
    color: var(--hw-dark);
    font-size: 1.15rem;
    font-weight: 800;
}

.tile-coverage-header p {
    margin: 0;
    color: #5f6368;
    line-height: 1.6;
}

.tile-coverage-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.tile-coverage-field {
    display: grid;
    gap: 8px;
}

.tile-coverage-field label {
    color: var(--hw-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.tile-coverage-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(28, 28, 28, 0.12);
    border-radius: 12px;
    background: #fff;
    color: var(--hw-dark);
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tile-coverage-input:focus {
    outline: none;
    border-color: rgba(227, 6, 19, 0.45);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08);
}

.tile-coverage-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.tile-coverage-result-item {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #f8f8f8;
    border: 1px solid rgba(28, 28, 28, 0.06);
}

.tile-coverage-result-item span {
    color: #666;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tile-coverage-result-item strong {
    color: var(--hw-dark);
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.25;
}

.tile-coverage-result-item.highlight {
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.12), rgba(28, 28, 28, 0.02));
    border-color: rgba(227, 6, 19, 0.18);
}

.tile-coverage-result-item.highlight strong {
    color: var(--hw-accent);
    font-size: 1.5rem;
}

.tile-coverage-note {
    margin: 16px 0 0;
    color: #5f6368;
    font-size: 0.9rem;
    line-height: 1.7;
}

.product-detail-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-quote-detail {
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-quote-detail:hover {
    color: #fff;
}

.new-arrival-tag {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(227, 6, 19, 0.08), rgba(227, 6, 19, 0.02));
    color: var(--hw-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-products-section {
    margin-top: 18px;
}

.related-products-section h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--hw-dark);
    font-size: 1.3rem;
    font-weight: 800;
}

.related-products-section h4 i {
    color: var(--hw-accent);
}

@media (max-width: 1199px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .product-detail-panel {
        position: static;
    }
}

@media (max-width: 767px) {
    .product-gallery-stage {
        min-height: 340px;
        padding: 18px;
    }

    .product-gallery-main-image {
        max-height: 300px;
    }

    .product-gallery-thumbs {
        grid-template-columns: 1fr;
    }

    .product-gallery-feature {
        grid-template-columns: 1fr;
    }

    .product-gallery-feature-media {
        min-height: 220px;
    }

    .product-detail-panel {
        padding: 20px;
    }

    .tile-coverage-form,
    .tile-coverage-results {
        grid-template-columns: 1fr;
    }

    .product-detail-actions {
        flex-direction: column;
    }

    .product-detail-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Phones: two product cards per row, all the same size ===== */
@media (max-width: 575.98px) {
    .product-grid {
        --bs-gutter-x: 12px;
        --bs-gutter-y: 12px;
    }

    /* Homepage side-scrolling rows: two cards fit on screen, swipe for more */
    .horizontal-scroll-wrapper {
        gap: 12px !important;
    }
    .horizontal-scroll-wrapper > .product-card-scroll {
        flex: 0 0 calc(50% - 6px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 6px) !important;
    }

    .product-grid .product-card,
    .product-card-scroll .product-card {
        height: 100% !important;
        min-height: 0 !important;
        border-width: 1px !important;
        border-radius: 12px !important;
        display: flex;
        flex-direction: column;
    }
    .product-grid .product-card:hover,
    .product-card-scroll .product-card:hover {
        transform: none;
    }

    /* Same square picture box on every card */
    .product-grid .product-image-container,
    .product-card-scroll .product-image-container {
        height: auto !important;
        aspect-ratio: 1 / 1;
        flex: 0 0 auto;
    }
    .product-grid .product-image-container > .bi-image,
    .product-card-scroll .product-image-container > .bi-image {
        font-size: 2.2rem !important;
    }
    .product-grid .product-image,
    .product-card-scroll .product-image {
        max-width: 90%;
        max-height: 90%;
    }

    /* Smaller NEW ARRIVAL / TOP PRODUCT tags so they don't cover the picture */
    .product-grid .product-image-container > span[style*="position: absolute"],
    .product-card-scroll .product-image-container > span[style*="position: absolute"] {
        padding: 4px 8px !important;
        font-size: 0.5rem !important;
        border-radius: 0 0 6px 0 !important;
    }

    .product-grid .product-card-body,
    .product-card-scroll .product-card-body {
        padding: 10px !important;
        gap: 4px;
        flex: 1 1 auto;
        display: flex;
        flex-direction: column;
    }

    /* Name: at most 2 lines, same space on every card */
    .product-grid .product-title,
    .product-card-scroll .product-title {
        font-size: 0.82rem;
        line-height: 1.3;
        min-height: 2.6em;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
    }

    .product-grid .category-tag,
    .product-card-scroll .category-tag {
        align-self: flex-start;
        padding: 3px 6px;
        font-size: 0.56rem;
        border-radius: 6px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .product-grid-same-category .category-tag {
        display: none;
    }

    .product-grid .product-price,
    .product-card-scroll .product-price {
        font-size: 0.85rem;
    }

    /* Button always at the bottom so buttons line up across the row */
    .product-grid .quote-add-btn,
    .product-card-scroll .quote-add-btn {
        margin-top: auto;
        padding: 7px 4px;
        font-size: 0.74rem;
        gap: 4px;
    }
    .product-grid .product-card-body > .quote-add-btn,
    .product-card-scroll .product-card-body > .quote-add-btn {
        margin-top: auto;
    }

    /* Compact page top so products appear sooner */
    .product-list-heading {
        display: none !important;
    }
    .category-page-header {
        padding: 14px 16px !important;
        margin-bottom: 4px;
    }
    .category-page-header h2 {
        font-size: 1.2rem !important;
        margin-bottom: 2px !important;
    }
    .category-page-header p {
        font-size: 0.82rem !important;
        margin: 0 !important;
    }
    .category-browser-heading {
        padding-top: 4px !important;
        padding-bottom: 8px !important;
        margin-bottom: 10px !important;
    }
    .category-browser-heading h4 {
        font-size: 1rem !important;
    }
}

/* ===== Phones: homepage "Shop by Category" boxes, two per row ===== */
@media (max-width: 575.98px) {
    .category-grid-industrial {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .industrial-category-card,
    .industrial-category-card .category-card-image {
        min-height: 0 !important;
    }
    /* Everything inside the box is absolutely positioned, so the box has no height of its own.
       aspect-ratio alone collapses it to zero height in iPhone Safari (the boxes vanish),
       so an invisible spacer gives it a height equal to its width instead. */
    .industrial-category-card {
        border-radius: 12px;
        align-self: start;
    }
    .industrial-category-card::before {
        content: "";
        display: block;
        padding-top: 100%;
    }
    .industrial-category-card .category-card-content {
        padding: 10px 10px 12px;
        min-height: 0;
    }
    .industrial-category-card .category-card-content h6 {
        font-size: 0.85rem;
        line-height: 1.2;
        margin-bottom: 4px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .industrial-category-card .category-card-content span {
        padding: 2px 8px;
        font-size: 0.68rem;
    }
    /* An odd last box stretches across the row instead of leaving a gap */
    .category-grid-industrial > .industrial-category-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .category-grid-industrial > .industrial-category-card:last-child:nth-child(odd)::before {
        padding-top: 50%;
    }
}

/* ===== Footer: readable WhatsApp button and tappable contact details (all screens) ===== */
.footer-section .hw-footer-cta,
.footer-section .hw-footer-cta i {
    color: #fff !important;
}
.footer-section .hw-footer-cta:hover {
    background: #b80510;
    border-color: #b80510;
}
.footer-section .footer-contact-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0;
}
.footer-section .footer-contact-link i {
    margin-top: 3px;
}

/* ===== Phones: Why Choose Us 2 x 2, shorter footer ===== */
@media (max-width: 575.98px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    .why-card {
        padding: 14px 12px;
        border-top-width: 3px;
        border-radius: 12px;
    }
    .why-card i {
        font-size: 1.3rem;
    }
    .why-card h5 {
        font-size: 0.9rem;
        line-height: 1.25;
        margin: 8px 0 6px;
    }
    .why-card p {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .site-footer {
        background: #1c1c1c !important;
        margin-top: 24px;
    }
    .footer-content {
        padding: 28px 16px 16px !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }
    .footer-brand {
        gap: 12px;
        align-items: center;
    }
    .footer-brand-logo {
        width: 48px;
        height: 48px;
    }
    .footer-brand h5 {
        margin-bottom: 4px;
    }
    .footer-brand p {
        font-size: 0.82rem;
        margin: 0;
    }
    .footer-section h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    .footer-section p {
        font-size: 0.86rem;
        margin-bottom: 8px;
    }
    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 12px;
    }
    .footer-links h5 {
        grid-column: 1 / -1;
    }
    .footer-links p {
        margin-bottom: 6px;
    }
    .footer-section .hw-footer-cta {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    .footer-bottom {
        margin-top: 20px;
        padding-top: 14px;
        padding-bottom: 64px; /* room so the floating WhatsApp button doesn't cover the end of the page */
        font-size: 0.8rem;
    }
}

/* ===== Homepage: Client Feedback, Brands, and the red call to action ===== */
.home-reviews,
.home-brands {
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-radius: 18px;
    box-shadow: var(--hw-shadow);
    padding: 40px 28px;
    margin: 44px 0;
}
.home-section-head {
    text-align: center;
    margin-bottom: 26px;
}
.home-kicker {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.08);
    color: var(--hw-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-section-title {
    margin: 10px 0 0;
    font-weight: 800;
    color: var(--hw-dark, #1c1c1c);
    text-transform: none;
}
.home-section-title i {
    color: var(--hw-accent);
    margin-right: 6px;
}

/* Reviews: 3 per screen on computers, 2 on tablets, 1 on phones */
.reviews-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 6px 2px 10px;
    -webkit-overflow-scrolling: touch;
}
.reviews-track::-webkit-scrollbar {
    display: none;
}
.review-card {
    flex: 0 0 calc((100% - 36px) / 3);
    scroll-snap-align: start;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.08);
    border-top: 4px solid var(--hw-accent);
    border-radius: 14px;
    padding: 26px 22px 20px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}
.review-quote {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    height: 22px;
    margin: -4px 0 8px;
    color: var(--hw-accent);
    opacity: 0.3;
}
.review-text {
    margin: 0 0 18px;
    color: #4a4a4a;
    font-size: 0.98rem;
    line-height: 1.65;
    flex: 1 1 auto;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}
.review-avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--hw-accent);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.review-name {
    font-weight: 700;
    color: #1c1c1c;
}
.reviews-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.reviews-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d6d6d6;
    cursor: pointer;
    transition: width 0.25s ease, background 0.25s ease;
}
.reviews-dot.is-active {
    width: 26px;
    background: var(--hw-accent);
}

/* Brands: logos in light boxes, scrolling on their own */
.home-brands .brands-strip {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}
.home-brands .brands-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: homeBrandsScroll 35s linear infinite;
    will-change: transform;
}
.home-brands .brands-strip:hover .brands-track {
    animation-play-state: paused;
}
.home-brands .brand-item {
    flex: 0 0 auto;
    width: 150px;
    height: 96px;
    margin-right: 18px;
    padding: 10px;
    background: #fff;
    border: 1px solid rgba(28, 28, 28, 0.1);
    border-radius: 12px;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.home-brands .brand-item:hover {
    transform: none;
    border-color: var(--hw-accent) !important;
    box-shadow: 0 6px 16px rgba(227, 6, 19, 0.12) !important;
}
.home-brands .brand-item img {
    max-width: 100%;
    max-height: 100%;
    padding: 0;
    object-fit: contain;
}
.home-brands .brand-item:hover img {
    transform: none;
}
.home-brands .brand-item span {
    font-weight: 700;
    font-size: 0.85rem;
    color: #1c1c1c;
    text-align: center;
}
@keyframes homeBrandsScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* Red call to action */
.home-cta {
    margin: 44px 0 10px;
    padding: 34px 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #e30613 0%, #b80510 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: 0 16px 34px rgba(227, 6, 19, 0.25);
}
.home-cta-kicker {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.home-cta h3 {
    margin: 12px 0 0;
    font-size: 1.6rem;
    line-height: 1.3;
    max-width: 640px;
    color: #fff;
}
.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}
.home-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.home-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
.home-cta-call {
    background: #fff;
    color: #b80510;
}
.home-cta-call:hover {
    color: #8f040c;
}
.home-cta-whatsapp {
    background: #25d366;
    color: #fff;
}
.home-cta-whatsapp:hover {
    color: #fff;
    background: #1fb859;
}

@media (max-width: 991.98px) {
    .review-card {
        flex-basis: calc((100% - 18px) / 2);
    }
    .home-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575.98px) {
    .home-reviews,
    .home-brands {
        padding: 26px 14px;
        margin: 28px 0;
        border-radius: 14px;
    }
    .home-section-head {
        margin-bottom: 16px;
    }
    .home-section-title {
        font-size: 1.15rem;
    }
    .reviews-track {
        gap: 12px;
    }
    .review-card {
        flex-basis: 100%;
        padding: 22px 16px 16px;
    }
    .review-text {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    .home-brands .brand-item {
        width: 104px;
        height: 70px;
        margin-right: 10px;
        padding: 8px;
    }
    .home-brands .brands-strip {
        -webkit-mask-image: none;
                mask-image: none;
    }
    .home-cta {
        padding: 24px 18px;
        margin-top: 28px;
        gap: 18px;
    }
    .home-cta h3 {
        font-size: 1.2rem;
    }
    .home-cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .home-cta-btn {
        width: 100%;
    }
}
