
/* =======================================================
   MASEK HARDWARE - PRODUCTS PAGE
   BLUE + BLACK + WHITE + ORANGE
   GREEN RETAINED FOR CONTACT AND BRANDING
======================================================= */


/* =======================================================
   1. GLOBAL RESET
======================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #FFFFFF;
    color: #111111;
    line-height: 1.6;
}

button,
input,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

[hidden] {
    display: none !important;
}


/* =======================================================
   2. NAVBAR
   SILVER BACKGROUND + BLACK COMPANY NAME
======================================================= */

.navbar {
    background: #C0C0C0;
    background-color: #C0C0C0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;

    padding: 8px 3% 8px 2.5%;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.15);

    border-bottom: 3px solid #25D366;

    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 1;
    min-width: 0;

    background: transparent;
}

.navbar-logo {
    display: flex;
    align-items: center;

    text-decoration: none;
    flex-shrink: 0;

    background: transparent;
}

.navbar-logo img {
    display: block;

    width: 230px;
    height: 85px;
    max-width: 100%;

    object-fit: contain;
    object-position: left center;
}

.navbar-brand .logo {
    color: #111111;

    font-size: 25px;
    font-weight: bold;
    letter-spacing: 0.2px;
    line-height: 1.25;

    margin: 0;

    text-transform: uppercase;
}


/* =======================================================
   3. NAVIGATION LINKS
======================================================= */

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.nav-links a {
    color: #111111;
    background: transparent;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    margin-left: 25px;
    padding: 10px 18px;

    border-radius: 25px;
    white-space: nowrap;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: #25D366;
    color: #111111;
    transform: translateY(-1px);
}

.nav-links a.active {
    background: rgba(37, 211, 102, 0.14);
    color: #111111;
    box-shadow: inset 0 -3px 0 #25D366;
}


/* =======================================================
   4. HERO SECTION
======================================================= */

.products-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 300px;
    padding: 40px 20px;
    overflow: hidden;
    background: #FFFFFF;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: #FFFFFF;
}

.products-title {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.products-title h1 {
    color: #111111;
    font-size: 42px;
    font-weight: bold;
    margin: 0 0 15px;
}

.products-title p {
    color: #555555;
    font-size: 19px;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto;
}


/* =======================================================
   5. FLOATING WHATSAPP AND CALL BUTTONS
======================================================= */

.floating-buttons {
    position: fixed;
    right: 12px;
    bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    z-index: 9999;
}

.floating-buttons a {
    width: 140px;
    height: 38px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 22px;
    color: #FFFFFF;
    text-decoration: none;
    font-weight: bold;
    font-size: 11px;
    line-height: 1.1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.floating-buttons a i {
    font-size: 17px;
    flex-shrink: 0;
}

.floating-buttons a span {
    display: inline-block;
    white-space: nowrap;
    line-height: 1.1;
}

.floating-buttons a:hover {
    transform: scale(1.02);
}

.whatsapp {
    background: #25D366;
    animation: pulseGreen 2s infinite;
}

.call {
    background: #2563EB;
    background-color: #2563EB;
    color: #FFFFFF;
    border: 1px solid #2563EB;
    animation: pulseBlue 2s infinite;
}

.call:hover {
    background: #1D4ED8;
    background-color: #1D4ED8;
    color: #FFFFFF;
    border-color: #1D4ED8;
}


/* =======================================================
   6. BUTTON PULSE ANIMATIONS
======================================================= */

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.65);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulseBlue {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}


/* =======================================================
   7. SEARCH SECTION
======================================================= */

.search-section {
    width: 100%;
    padding: 35px 5% 15px;
    background: #FFFFFF;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 850px;
    margin: auto;
}

.search-box {
    width: 100%;
    margin: auto;
    position: relative;
}

.search-box input {
    width: 100%;
    height: 58px;
    padding: 0 65px 0 24px;
    border: 2px solid #2563EB;
    border-radius: 35px;
    background: #FFFFFF;
    color: #111111;
    font-size: 16px;
    outline: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.search-box input::placeholder {
    color: #777777;
}

.search-box input:focus {
    border-color: #1D4ED8;
    box-shadow: 0 7px 25px rgba(37, 99, 235, 0.16);
}

.search-box button {
    position: absolute;
    right: 7px;
    top: 7px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #2563EB;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 17px;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.search-box button:hover {
    background: #1D4ED8;
    color: #FFFFFF;
    transform: scale(1.05);
}

.search-box button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.30);
    outline-offset: 3px;
}


/* =======================================================
   8. SEARCH SUGGESTIONS
======================================================= */

.search-suggestions {
    display: none;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #DCE5F5;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    overflow: hidden;
    text-align: left;
}

.search-suggestion {
    display: block;
    padding: 13px 18px;
    text-decoration: none;
    color: #333333;
    border-bottom: 1px solid #EEEEEE;
    transition: background 0.2s ease;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.search-suggestion:hover {
    background: #EFF6FF;
}

.search-suggestion strong {
    color: #111111;
    font-size: 15px;
}

.search-suggestion small {
    display: block;
    color: #777777;
    margin-top: 4px;
}


/* =======================================================
   9. PRODUCTS LAYOUT
   CATEGORY PANEL FOLLOWS SEARCH SECTION
======================================================= */

.products-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    padding: 10px 5% 50px;
    background: #F5F6F8;
    width: 100%;
}


/* =======================================================
   10. CATEGORY PANEL
   HORIZONTAL BUTTON AREA BELOW SEARCH
======================================================= */

.category-panel {
    display: block;

    width: 100%;
    flex: 0 0 auto;

    height: auto;
    max-height: none;
    overflow: visible;

    background: #FFFFFF;

    padding: 17px 18px;

    border: 1px solid #E5E5E5;
    border-radius: 9px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.category-panel h2 {
    display: block;

    color: #111111;
    text-align: left;
    font-size: 19px;

    margin-bottom: 13px;
    padding-bottom: 9px;

    border-bottom: 2px solid #1565C0;
}

.category-panel-link {
    display: inline-flex;
    width: auto;
    margin: 0;
    text-decoration: none;
    vertical-align: middle;
}


/* =======================================================
   11. CATEGORY BUTTONS
   DEFAULT NAVY BLUE
   HOVER AND ACTIVE ORANGE
======================================================= */

.category-panel button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-height: 38px;

    padding: 8px 16px;
    margin: 0 7px 8px 0;

    background: #1565C0;
    color: #FFFFFF;

    border: 1px solid #1565C0;
    border-radius: 25px;

    font-size: 13px;
    font-weight: bold;
    line-height: 1.3;
    text-align: center;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.category-panel button:hover,
.category-panel button:focus-visible {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;

    transform: translateY(-2px);

    box-shadow: 0 3px 10px rgba(255, 107, 0, 0.18);
}

.category-panel button:focus-visible {
    outline: 3px solid rgba(255, 107, 0, 0.25);
    outline-offset: 3px;
}

/* Selected category */

.category-panel-link.active button {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;

    box-shadow: 0 3px 10px rgba(255, 107, 0, 0.22);

    transform: translateY(-1px);
}

/* All Products button can use this class if present in HTML */

.category-panel button.all-products-btn,
.category-panel-link.all-products-btn button {
    background: #1565C0;
    color: #FFFFFF;
    border-color: #1565C0;
}

.category-panel button.all-products-btn.active,
.category-panel-link.all-products-btn.active button {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
}

.no-categories {
    color: #666666;
    text-align: center;
    padding: 10px;
}


/* =======================================================
   12. PRODUCT DISPLAY
======================================================= */

.product-display {
    flex: 1;
    min-width: 0;
    width: 100%;

    padding: 25px;

    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 9px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}

.product-display h2 {
    color: #111111;
    font-size: 25px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.product-display > p {
    color: #555555;
    line-height: 1.7;
}

.back-button {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    color: #1565C0;
    font-weight: bold;
    transition: 0.3s ease;
}

.back-button:hover {
    color: #FF6B00;
    transform: translateX(-2px);
}

.search-result-text {
    margin-bottom: 20px;
}

.search-result-text strong {
    color: #1565C0;
}


/* =======================================================
   13. CATEGORY SECTIONS
======================================================= */

.product-category-section {
    width: 100%;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #E5E5E5;
}

.product-category-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.category-product-heading {
    color: #111111;
    font-size: 21px;
    font-weight: bold;
    line-height: 1.4;

    margin: 25px 0 15px;
    padding: 0 0 9px;

    border-bottom: 2px solid #1565C0;
}

.product-category-section .category-product-heading {
    margin-top: 0;
    margin-bottom: 14px;
}

.category-section-description {
    color: #666666;
    font-size: 13px;
    line-height: 1.6;
    margin: -3px 0 15px;
}


/* =======================================================
   14. CATEGORY CARDS
======================================================= */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    position: relative;

    background: #FFFFFF;
    border-radius: 9px;
    overflow: hidden;

    border: 1px solid #E9E9E9;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    text-decoration: none;
    color: inherit;

    display: flex;
    flex-direction: column;
    min-height: 0;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);
    border-color: #1565C0;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    background: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
}

.category-image-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-image-slider img {
    position: absolute !important;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center;

    display: block;

    opacity: 0;
    visibility: hidden;

    transition: opacity 1s ease-in-out;
}

.category-image-slider img.active {
    opacity: 1 !important;
    visibility: visible;
}

.category-image-wrapper > img,
.category-card > img {
    position: absolute;
    inset: 0;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    object-fit: cover !important;
    object-position: center center;

    display: block;
    background: #FFFFFF;
}

.category-card .image-overlay {
    position: absolute;
    right: 12px;
    bottom: 12px;

    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    background: rgba(17, 17, 17, 0.90);
    color: #FFFFFF;

    font-size: 17px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.20);

    transition:
        background 0.3s ease,
        transform 0.3s ease;

    z-index: 5;
}

.category-card:hover .image-overlay {
    background: #FF6B00;
    color: #FFFFFF;
    transform: translateY(-3px);
}

.category-card-content {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    padding: 16px 14px 18px;
}

.category-card-content h3 {
    color: #111111;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.category-card-content p {
    color: #666666;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
    max-width: 300px;
}

.view-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;

    background: #1565C0;
    color: #FFFFFF;

    padding: 9px 18px;
    border-radius: 25px;

    font-size: 12px;
    font-weight: bold;

    border: 1px solid #1565C0;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.category-card:hover .view-category {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
    transform: translateY(-2px);
}


/* =======================================================
   15. SUBCATEGORY
======================================================= */

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.subcategory-card {
    background: #F5F6F8;
    border: 1px solid #E2E5EA;

    padding: 13px;
    border-radius: 7px;

    text-decoration: none;
    color: #111111;
    font-weight: bold;
    font-size: 13px;

    transition: 0.3s ease;
}

.subcategory-card:hover {
    background: #1565C0;
    color: #FFFFFF;
    border-color: #1565C0;
    transform: translateY(-2px);
}

.subcategory-card.active {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
}


/* =======================================================
   16. PRODUCT LIST
======================================================= */

.product-list {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 13px;

    width: 100%;
    max-width: none;

    margin: 20px 0 0;

    align-items: stretch;
}

.product-category-section .product-list {
    margin-top: 0;
}


/* =======================================================
   17. PRODUCT CARDS
======================================================= */

.product-item {
    width: 100%;
    min-width: 0;
    min-height: 0;

    background: #FFFFFF;

    border-radius: 7px;
    overflow: hidden;

    border: 1px solid #E9E9E9;

    box-shadow: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    display: flex;
    flex-direction: column;

    padding: 0;
    margin: 0;
}

.product-item:hover {
    transform: translateY(-3px);

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.09);

    border-color: #DDDDDD;
}


/* =======================================================
   18. PRODUCT IMAGE AREA
======================================================= */

.product-image-space {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    height: auto;
    min-height: 0;
    max-height: none;

    overflow: hidden;

    padding: 0;
    margin: 0;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFFFFF;

    border-bottom: 1px solid #EEEEEE;
}

.product-image-space img {
    position: absolute !important;

    inset: 0;

    width: 100% !important;
    height: 100% !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: none !important;
    max-height: none !important;

    display: block;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center;

    background: #FFFFFF;

    transition: transform 0.35s ease;
}

.product-item:hover .product-image-space img {
    transform: scale(1.035);
}


/* =======================================================
   19. IMAGE PLACEHOLDER
======================================================= */

.product-image-space .image-placeholder {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #FFFFFF;
    color: #777777;

    text-align: center;
    padding: 10px;
}

.image-placeholder i {
    display: block;
    font-size: 35px;
    margin-bottom: 8px;
    color: #1565C0;
}


/* =======================================================
   20. PRODUCT CONTENT
======================================================= */

.product-item h3 {
    color: #111111;

    font-size: 14px;
    line-height: 1.35;

    margin: 10px 11px 5px;

    text-align: left;

    overflow-wrap: anywhere;
}

.product-brand {
    color: #1565C0;

    font-weight: bold;
    font-size: 11px;

    text-transform: uppercase;

    margin: 0 11px 4px;

    text-align: left;
}

.product-description {
    color: #666666;

    font-size: 11px;
    line-height: 1.4;

    margin: 0 11px 9px;

    text-align: left;

    overflow-wrap: anywhere;
}


/* =======================================================
   21. PRODUCT BUTTONS
======================================================= */

.product-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 6px;
    flex-wrap: wrap;

    margin: auto 10px 11px;
    padding-top: 8px;
}

.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    border: 1px solid #1565C0;
    background: #1565C0;
    color: #FFFFFF;

    padding: 7px 10px;

    border-radius: 5px;

    cursor: pointer;

    font-size: 11px;
    line-height: 1.3;
    font-weight: bold;

    text-align: center;
    text-decoration: none;

    white-space: normal;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.product-buttons a.small-btn,
.product-buttons a.small-btn:visited {
    text-decoration: none;
}

.product-buttons a.details-btn,
.product-buttons a.details-btn:visited,
.product-buttons button.details-btn {
    background: #1565C0;
    color: #FFFFFF;
    border-color: #1565C0;
}

.product-buttons a.quote-button,
.product-buttons a.quote-button:visited {
    background: #FF6B00;
    color: #FFFFFF;
    border-color: #FF6B00;
}

.product-buttons a.details-btn:hover,
.product-buttons a.details-btn:focus-visible,
.product-buttons button.details-btn:hover {
    background: #0D47A1;
    color: #FFFFFF;
    border-color: #0D47A1;
    transform: translateY(-1px);
}

.product-buttons a.quote-button:hover,
.product-buttons a.quote-button:focus-visible {
    background: #E85F00;
    color: #FFFFFF;
    border-color: #E85F00;
    transform: translateY(-1px);
}

.product-buttons a.small-btn:focus {
    outline: none;
}

.product-buttons a.small-btn:focus-visible,
.product-buttons button.small-btn:focus-visible {
    outline: 2px solid #111111;
    outline-offset: 3px;
}


/* =======================================================
   22. PRODUCT NOT FOUND
======================================================= */

.product-not-found {
    margin-top: 20px;

    background: #F5F6F8;

    border-left: 4px solid #FF6B00;

    padding: 16px;
    border-radius: 7px;

    color: #555555;
}

.product-not-found strong {
    color: #111111;
}


/* =======================================================
   23. VIEW DETAILS MODAL
======================================================= */

.details-modal {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.68);

    z-index: 15000;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.details-modal-content {
    background: #FFFFFF;

    width: 100%;
    max-width: 700px;

    max-height: 90vh;
    overflow-y: auto;

    border-radius: 12px;
    padding: 25px;

    position: relative;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);

    border: 1px solid #E5E5E5;
}

.details-close {
    position: absolute;
    right: 18px;
    top: 12px;

    border: none;

    background: #F5F6F8;
    color: #111111;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    font-size: 23px;
    cursor: pointer;

    transition: 0.3s ease;

    z-index: 2;
}

.details-close:hover {
    background: #FF6B00;
    color: #FFFFFF;
}

.details-modal-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1;

    height: auto;
    min-height: 0;
    max-height: none;

    border-radius: 8px;
    overflow: hidden;

    background: #FFFFFF;

    margin-bottom: 18px;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.details-modal-image img {
    position: absolute !important;

    inset: 0;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    display: block;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: cover !important;
    object-position: center center;

    background: #FFFFFF;
}

.details-modal-content h2 {
    color: #111111;
    margin-bottom: 12px;
}

.details-category {
    color: #777777;
    margin-bottom: 8px;
}

.details-brand {
    color: #1565C0;
    font-weight: bold;
    margin-bottom: 15px;
}

.details-size {
    color: #111111;
    font-weight: bold;
    margin-bottom: 10px;
}

.details-heading {
    color: #111111;
    font-size: 17px;

    margin-bottom: 8px;
    padding-bottom: 7px;

    border-bottom: 2px solid #1565C0;
}

.details-full-text {
    color: #555555;

    line-height: 1.8;
    white-space: pre-line;

    overflow-wrap: anywhere;

    margin-bottom: 20px;
}

.details-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}


/* =======================================================
   24. QUOTE MODAL
======================================================= */

.quote-box {
    display: none;

    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    z-index: 20000;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

.quote-content {
    background: #FFFFFF;

    width: 100%;
    max-width: 500px;

    max-height: 90vh;
    overflow-y: auto;

    padding: 25px;

    border-radius: 12px;

    position: relative;

    box-sizing: border-box;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.quote-content h2 {
    color: #111111;
    margin-bottom: 15px;
}

.quote-product-display {
    margin-bottom: 20px;
    color: #555555;
}

.quote-close {
    position: absolute;
    right: 15px;
    top: 10px;

    border: none;
    background: none;

    font-size: 25px;
    cursor: pointer;

    color: #111111;
}

.quote-input {
    width: 100%;

    padding: 12px;
    margin-bottom: 12px;

    border: 1px solid #D7D7D7;
    border-radius: 7px;

    font-size: 15px;

    box-sizing: border-box;

    color: #111111;
    background: #FFFFFF;
}

.quote-input:focus {
    outline: none;

    border-color: #1565C0;

    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.10);
}


/* =======================================================
   25. LARGE TABLETS AND SMALL DESKTOPS
======================================================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 8px 2%;
        gap: 8px;
    }

    .navbar-brand {
        gap: 6px;
    }

    .navbar-logo img {
        width: 165px;
        height: 62px;
    }

    .navbar-brand .logo {
        font-size: 19px;
    }

    .nav-links {
        justify-content: flex-end;
    }

    .nav-links a {
        margin-left: 8px;
        padding: 8px 10px;
        font-size: 14px;
    }

    .products-layout {
        padding: 10px 3% 35px;
        gap: 12px;
    }

    .product-display {
        padding: 20px;
    }

    .product-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .category-panel {
        padding: 15px;
    }

    .category-panel button {
        padding: 8px 13px;
    }
}


/* =======================================================
   26. TABLET
======================================================= */

@media (max-width: 800px) {

    .navbar {
        padding: 10px 3%;
        gap: 8px;
    }

    .navbar-logo img {
        width: 145px;
        height: 55px;
    }

    .navbar-brand .logo {
        font-size: 18px;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0;
    }

    .nav-links a {
        margin-left: 8px;
        padding: 8px 10px;
        font-size: 13px;
    }

    .products-hero {
        min-height: 280px;
    }

    .products-title h1 {
        font-size: 36px;
    }

    .products-title p {
        font-size: 17px;
    }

    .products-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 10px 12px 30px;
    }

    .category-panel {
        position: static;
        width: 100%;
        max-width: 100%;
        min-width: 0;

        height: auto;
        max-height: none;
        overflow: visible;

        padding: 13px 12px;
        margin: 0;
    }

    .category-panel h2 {
        font-size: 18px;
        margin-bottom: 11px;
        padding-bottom: 8px;
    }

    .category-panel button {
        padding: 8px 12px;
        font-size: 12px;
    }

    .category-panel button:hover {
        transform: translateY(-1px);
    }

    .product-display {
        width: 100%;
        min-width: 0;
        max-width: 100%;

        padding: 16px 12px;
        margin: 0;
    }

    .product-display h2 {
        font-size: 22px;
        overflow-wrap: anywhere;
    }

    .product-display > p {
        overflow-wrap: anywhere;
    }

    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        width: 100%;
        gap: 11px;

        margin: 15px 0 0;
    }

    .product-category-section .product-list {
        margin-top: 0;
    }

    .product-item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
    }

    .product-image-space {
        aspect-ratio: 1 / 1;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0;
    }

    .product-image-space img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .category-product-heading {
        font-size: 20px;
    }

    .product-buttons {
        gap: 5px;
        margin-left: 8px;
        margin-right: 8px;
    }

    .product-buttons .small-btn {
        padding: 7px 8px;
        font-size: 10px;
    }

    .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .subcategory-card {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .search-section {
        padding: 22px 12px 12px;
    }

    .search-container,
    .search-box {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .category-panel button {
        margin-right: 5px;
        margin-bottom: 7px;
    }

    .floating-buttons {
        right: 8px;
        bottom: 12px;
        gap: 4px;
    }

    .floating-buttons a {
        width: 118px;
        height: 34px;
        padding: 4px 8px;
        gap: 4px;
        font-size: 10px;
    }

    .floating-buttons a i {
        font-size: 15px;
    }
}


/* =======================================================
   27. MOBILE
======================================================= */

@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        gap: 8px;
        padding: 10px 3%;
    }

    .navbar-brand {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .navbar-logo img {
        width: 140px;
        height: 52px;
    }

    .navbar-brand .logo {
        font-size: 17px;
        text-align: center;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links a {
        margin: 3px;
        padding: 8px 12px;
        font-size: 14px;
    }

    .products-hero {
        min-height: 260px;
        padding: 35px 15px;
    }

    .products-title {
        width: 92%;
    }

    .products-title h1 {
        font-size: 29px;
    }

    .products-title p {
        font-size: 16px;
    }

    .search-section {
        padding: 22px 12px 10px;
    }

    .products-layout {
        padding: 8px 10px 30px;
        gap: 12px;
    }

    .category-panel {
        width: 100%;
        padding: 12px 10px;
    }

    .category-panel h2 {
        font-size: 17px;
    }

    .category-panel button {
        padding: 7px 10px;
        font-size: 11px;
        margin-right: 4px;
        margin-bottom: 6px;
        min-height: 34px;
    }

    .product-display {
        padding: 14px 10px;
    }

    .product-display h2 {
        font-size: 20px;
    }

    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        max-width: 100%;
        gap: 9px;
        margin: 14px 0 0;
    }

    .product-category-section .product-list {
        margin-top: 0;
    }

    .product-item {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .product-image-space {
        aspect-ratio: 1 / 1;
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0;
    }

    .product-image-space img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .product-item h3 {
        font-size: 13px;
        margin: 9px 9px 4px;
    }

    .product-brand {
        font-size: 10px;
        margin: 0 9px 4px;
    }

    .product-description {
        font-size: 10px;
        line-height: 1.4;
        margin: 0 9px 8px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 15px;
    }

    .category-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .category-image-wrapper {
        aspect-ratio: 1 / 1;
        height: auto;
    }

    .category-card-content {
        padding: 13px 10px;
    }

    .category-card-content h3 {
        font-size: 16px;
    }

    .category-card-content p {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .view-category {
        padding: 8px 12px;
        font-size: 11px;
    }

    .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .subcategory-card {
        padding: 11px 8px;
        font-size: 12px;
    }

    .category-product-heading {
        font-size: 19px;
        margin-top: 20px;
        margin-bottom: 13px;
    }

    .product-buttons {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: wrap;

        gap: 5px;

        margin: auto 7px 9px;
        padding-top: 7px;
    }

    .product-buttons .small-btn {
        width: auto;
        max-width: 100%;
        min-width: 0;

        padding: 7px 8px;
        font-size: 10px;

        gap: 4px;

        flex: 0 1 auto;

        white-space: normal;
        overflow-wrap: anywhere;
    }

    .floating-buttons {
        right: 8px;
        bottom: 12px;
        gap: 4px;
    }

    .floating-buttons a {
        width: 118px;
        height: 34px;
        padding: 4px 8px;
        gap: 4px;
        font-size: 10px;
    }

    .floating-buttons a i {
        font-size: 15px;
    }

    .details-modal {
        padding: 12px;
    }

    .details-modal-content {
        padding: 20px 15px;
        max-height: 92vh;
    }

    .details-modal-image {
        aspect-ratio: 1 / 1;
        min-height: 0;
        height: auto;
        max-height: none;
        padding: 0;
    }

    .details-modal-image img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .quote-box {
        padding: 12px;
    }

    .quote-content {
        padding: 22px 15px;
        max-height: 92vh;
    }

    .details-actions {
        gap: 8px;
    }
}


/* =======================================================
   28. VERY SMALL PHONES
======================================================= */

@media (max-width: 400px) {

    .navbar {
        padding: 8px 2%;
    }

    .navbar-logo img {
        width: 120px;
        height: 46px;
    }

    .navbar-brand .logo {
        font-size: 16px;
        text-align: center;
    }

    .nav-links a {
        font-size: 12px;
        padding: 7px 8px;
    }

    .products-title h1 {
        font-size: 26px;
    }

    .products-title p {
        font-size: 15px;
    }

    .products-layout {
        padding-left: 8px;
        padding-right: 8px;
    }

    .product-display {
        padding: 12px 8px;
    }

    .category-panel {
        padding: 11px 8px;
    }

    .category-panel button {
        padding: 7px 9px;
        font-size: 10px;
        margin-right: 3px;
        margin-bottom: 5px;
    }

    .product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .product-image-space {
        aspect-ratio: 1 / 1;
        height: auto;
        min-height: 0;
        max-height: none;
        padding: 0;
    }

    .product-image-space img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .product-item h3 {
        font-size: 12px;
        margin: 8px 7px 4px;
    }

    .product-brand {
        font-size: 9px;
        margin: 0 7px 3px;
    }

    .product-description {
        font-size: 9px;
        margin: 0 7px 7px;
    }

    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .category-card-content {
        padding: 11px 8px;
    }

    .category-card-content h3 {
        font-size: 14px;
    }

    .category-card-content p {
        font-size: 10px;
    }

    .product-buttons {
        gap: 4px;
        margin-left: 5px;
        margin-right: 5px;
    }

    .product-buttons .small-btn {
        padding: 6px 7px;
        font-size: 9px;
        gap: 3px;
    }

    .floating-buttons {
        right: 6px;
        bottom: 10px;
        gap: 3px;
    }

    .floating-buttons a {
        width: 108px;
        height: 32px;
        padding: 4px 6px;
        gap: 4px;
        font-size: 9px;
    }

    .floating-buttons a i {
        font-size: 14px;
    }

    .subcategory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =======================================================
   29. INTERACTIVE ELEMENTS
======================================================= */

.category-panel,
.category-panel-link,
.category-panel button,
.product-buttons,
.product-buttons button,
.product-buttons a,
.search-box,
.search-box input,
.search-box button {
    pointer-events: auto;
}

.category-panel button,
.product-buttons .small-btn {
    position: relative;
    z-index: 5;
}


/* =======================================================
   30. ACCESSIBILITY - REDUCED MOTION
======================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
