/* Modern Header Styles */
.dpp-modern-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
}
.dpp-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Mobile Toggle */
.dpp-header-mobile-toggle {
    display: none;
}
#dpp-mobile-menu-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 0;
}
.dpp-hamburger-box {
    width: 24px;
    height: 18px;
    display: inline-block;
    position: relative;
}
.dpp-hamburger-inner, .dpp-hamburger-inner::before, .dpp-hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all 0.2s;
}
.dpp-hamburger-inner { top: 50%; transform: translateY(-50%); }
.dpp-hamburger-inner::before { content: ""; top: -8px; }
.dpp-hamburger-inner::after { content: ""; bottom: -8px; }

/* Logo */
.dpp-logo { flex-shrink: 0; text-decoration: none; display: flex; align-items: center; }
.dpp-logo img { height: 50px; width: auto; }
.dpp-logo-text { font-size: 24px; font-weight: 800; color: #1a73e8; letter-spacing: -0.5px; }

/* Search */
.dpp-header-search { flex-grow: 1; max-width: 600px; }
.dpp-header-search form { display: flex; background: #f1f3f4; border-radius: 8px; overflow: hidden; }
.dpp-header-search input { border: none; background: transparent; padding: 12px 15px; width: 100%; outline: none; font-size: 15px; }
.dpp-header-search button { border: none; background: #1a73e8; color: #fff; padding: 0 20px; cursor: pointer; transition: background 0.2s; }
.dpp-header-search button:hover { background: #1557b0; }

/* Utils */
.dpp-header-utils { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.dpp-util-link { text-decoration: none; color: #5f6368; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; font-weight: 500; }
.dpp-util-link i { font-size: 20px; color: #333; }
.dpp-util-link:hover { color: #1a73e8; }
.dpp-util-link:hover i { color: #1a73e8; }
.dpp-cart-icon-wrap { position: relative; }
.dpp-cart-count { position: absolute; top: -8px; right: -8px; background: #ea4335; color: #fff; font-size: 10px; min-width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* Desktop Navigation / Mega Menu */
.dpp-mega-menu-wrapper { background: #fff; border-bottom: 1px solid #eee; }
.dpp-mega-menu-inner { max-width: 1400px; margin: 0 auto; }
.dpp-top-level { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-start; }
.dpp-gp-link { display: block; padding: 15px 20px; text-decoration: none; color: #333; font-weight: 600; font-size: 14px; position: relative; }
.dpp-gp-link::after { content: ""; position: absolute; bottom: 0; left: 20px; right: 20px; height: 3px; background: #1a73e8; transform: scaleX(0); transition: transform 0.2s; }
.dpp-gp-item:hover .dpp-gp-link { color: #1a73e8; }
.dpp-gp-item:hover .dpp-gp-link::after { transform: scaleX(1); }

.dpp-mega-panel { position: absolute; top: 100%; left: 0; width: 100%; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 1px solid #eee; display: none; padding: 40px 0; z-index: 999; }
.dpp-gp-item:hover .dpp-mega-panel { display: block; }
.dpp-mega-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 0 20px; }

.dpp-parent-col { display: flex; flex-direction: column; }
.dpp-parent-image { width: 100%; height: 160px; background: #f8f9fa; border-radius: 12px; margin-bottom: 15px; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1); }
.dpp-parent-col:hover .dpp-parent-image { transform: translateY(-8px); box-shadow: 0 12px 20px rgba(0,0,0,0.08); }
.dpp-parent-image img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
.dpp-parent-title { font-size: 16px; font-weight: 700; margin-bottom: 15px; }
.dpp-parent-title a { text-decoration: none; color: #1a73e8; }
.dpp-child-list { list-style: none; padding: 0; margin: 0; }
.dpp-child-item { margin-bottom: 8px; }
.dpp-child-link { text-decoration: none; color: #5f6368; font-size: 14px; transition: color 0.2s; }
.dpp-child-link:hover { color: #1a73e8; padding-left: 5px; }

/* Mobile Menu Drawer (Slide-out) */
.dpp-mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 9999; display: none; opacity: 0; transition: opacity 0.3s; }
.dpp-mobile-menu-drawer { position: fixed; top: 0; left: -320px; width: 320px; height: 100%; background: #fff; z-index: 10000; transition: left 0.3s cubic-bezier(0.77,0.2,0.05,1.0); display: flex; flex-direction: column; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
.dpp-mobile-menu-drawer.open { left: 0; }
.dpp-mobile-menu-overlay.open { display: block; opacity: 1; }

.dpp-mobile-menu-header { padding: 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between; background: #f8f9fa; }
.dpp-mobile-menu-title { font-weight: 700; font-size: 18px; color: #333; }
.dpp-mobile-menu-close { background: none; border: none; font-size: 28px; color: #666; cursor: pointer; }

.dpp-mobile-menu-body { flex-grow: 1; overflow-x: hidden; overflow-y: auto; position: relative; }
.dpp-mobile-nav-container { display: flex; width: 100%; transition: transform 0.3s ease; }
.dpp-mobile-nav-panel { min-width: 100%; padding: 10px 0; }

.dpp-mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.dpp-mobile-nav-item { border-bottom: 1px solid #f1f1f1; }
.dpp-mobile-nav-link { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; text-decoration: none; color: #333; font-weight: 500; font-size: 15px; }
.dpp-mobile-nav-link i.fa-chevron-right { font-size: 12px; color: #ccc; }
.dpp-mobile-nav-link:active { background: #f1f3f4; }

.dpp-mobile-back-btn { display: flex; align-items: center; gap: 10px; padding: 15px 20px; background: #fff; border-bottom: 2px solid #eee; color: #1a73e8; font-weight: 700; cursor: pointer; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .dpp-header-search { display: none; }
    .dpp-header-mobile-toggle { display: block; }
    .dpp-mega-menu-wrapper { display: none; }
    .dpp-header-container { justify-content: space-between; gap: 15px; }
    .dpp-logo img { height: 40px; }
    .dpp-header-utils { gap: 15px; }
}
