
/* ========================================================
   PHILIPS LIGHTING MASTER REDESIGN
   Imports Full-Width Framework and Active Theme Presets
   ======================================================== */
@import url(theme_framework.css);
@import url(theme_active.css);

/* ==========================================================================
   PHILIPS PRODUCTS GRID - EXACT 3 PRODUCTS PER ROW (APPLE CLEAN STYLE)
   ========================================================================== */
ul.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    list-style: none !important;
    box-sizing: border-box !important;
    float: none !important;
}

ul.products-grid::after,
ul.products-grid::before {
    display: none !important;
}

ul.products-grid li.item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px !important;
    transition: all 0.25s ease !important;
    position: relative !important;
    box-shadow: 0 2px 8px rgba(0,20,50,0.04) !important;
}

ul.products-grid li.item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 24px rgba(0,75,135,0.12) !important;
    border-color: #004b87 !important;
}

ul.products-grid .product-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 190px !important;
    margin: 0 0 10px 0 !important;
    overflow: hidden !important;
    background: #ffffff !important;
    border-radius: 8px !important;
}

ul.products-grid .product-image img {
    max-width: 100% !important;
    max-height: 190px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    border: none !important;
    transition: transform 0.3s ease !important;
}

ul.products-grid li.item:hover .product-image img {
    transform: scale(1.05) !important;
}

ul.products-grid .product-name {
    margin: 6px 0 8px 0 !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-align: left !important;
    height: 38px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

ul.products-grid .product-name a {
    color: #1e293b !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
}

ul.products-grid .product-name a:hover {
    color: #004b87 !important;
    text-decoration: none !important;
}

ul.products-grid .product-price {
    font-size: 15.5px !important;
    font-weight: 700 !important;
    color: #004b87 !important;
    margin: 4px 0 !important;
    text-align: left !important;
}

ul.products-grid .product-old-price {
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin: 0 !important;
    min-height: 14px !important;
}

ul.products-grid .actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
    padding: 8px 0 0 0 !important;
}

ul.products-grid .actions .btn-circle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #004b87 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

ul.products-grid .actions .btn-circle:hover {
    background: #003366 !important;
    transform: scale(1.08) !important;
}

ul.products-grid .actions .btn-circle i {
    font-size: 14px !important;
    color: #ffffff !important;
}

/* Tablet & Mobile Responsiveness */
@media (max-width: 768px) {
    ul.products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    ul.products-grid .product-image {
        height: 150px !important;
    }
}

@media (max-width: 480px) {
    ul.products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }
    ul.products-grid li.item {
        padding: 8px !important;
        border-radius: 10px !important;
    }
    ul.products-grid .product-image {
        height: 130px !important;
    }
    ul.products-grid .product-name {
        font-size: 12px !important;
        height: 34px !important;
    }
    ul.products-grid .product-price {
        font-size: 13.5px !important;
    }
}

/* ==========================================================================
   TRIAD POINTER-EVENTS & SMOOTH NAVIGATION ACCELERATION
   ========================================================================== */
.ddsmoothmenu,
#ddsmoothmenu,
.ddsmoothmenu ul,
#ddsmoothmenu ul,
.ddsmoothmenu ul li,
#ddsmoothmenu ul li,
.ddsmoothmenu ul li ul,
#ddsmoothmenu ul li ul,
.ddsmoothmenu ul li ul li,
#ddsmoothmenu ul li ul li,
.ddsmoothmenu ul li a,
#ddsmoothmenu ul li a,
.ddsmoothmenu ul li ul li a,
#ddsmoothmenu ul li ul li a,
.ddsmoothmenu ul li ul li a *,
#ddsmoothmenu ul li ul li a * {
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    cursor: pointer !important;
}

.ddsmoothmenu ul li ul {
    will-change: opacity, visibility;
    transition: opacity 0.2s ease, visibility 0.2s ease !important;
}
