/*
Theme Name: Digital Utilidades
Theme URI: https://digitalutilidades.com.br
Author: Digital Utilidades
Author URI: https://digitalutilidades.com.br
Description: Tema exclusivo para a loja Digital Utilidades — eletrônicos, utilidades, brinquedos, papelaria, revelação de fotos e serviços gráficos. Design premium, responsivo e otimizado para WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digital-utilidades
Tags: e-commerce, custom-colors, custom-menu, featured-images, full-width-template, responsive, woocommerce, translation-ready
*/

:root {
  --du-blue: #0D47A1;
  --du-blue-dark: #093274;
  --du-blue-light: #1565C0;
  --du-red: #D50000;
  --du-red-dark: #A30000;
  --du-ink: #1A1A2E;
  --du-mist: #F4F4F4;
  --du-white: #FFFFFF;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  background: var(--du-mist);
  color: var(--du-ink);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
a { color: var(--du-blue); text-decoration: none; }
a:hover { color: var(--du-red); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container-page { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-page { padding: 0 2rem; } }

/* ---------- Announcement bar ---------- */
.du-announcement {
  background: var(--du-blue);
  color: #fff;
  font-size: 0.8125rem;
  overflow: hidden;
}
.du-announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  animation: du-marquee 28s linear infinite;
}
@keyframes du-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.du-announcement-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-right: 2rem;
}

/* ---------- Header ---------- */
.du-header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.du-header-main {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
}
.du-logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; }
.du-logo-icon {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--du-blue);
  display: flex; align-items: center; justify-content: center;
}
.du-logo-icon svg { width: 22px; height: 22px; color: #fff; }
.du-logo-badge {
  position: absolute; top: -4px; right: -4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--du-red);
  display: flex; align-items: center; justify-content: center;
}
.du-logo-badge svg { width: 10px; height: 10px; color: #fff; }
.du-logo-text { line-height: 1; }
.du-logo-name { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.125rem; color: var(--du-ink); }
.du-logo-name span { color: var(--du-red); }
.du-logo-tag { font-size: 0.625rem; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; }

.du-search {
  flex: 1;
  max-width: 640px;
  position: relative;
}
.du-search-input {
  width: 100%;
  border-radius: 9999px;
  border: 1px solid #e5e7eb;
  background: var(--du-mist);
  padding: 0.625rem 1.25rem 0.625rem 1.25rem;
  padding-right: 3rem;
  font-size: 0.875rem;
  outline: none;
  font-family: inherit;
}
.du-search-input:focus { border-color: var(--du-blue); background: #fff; }
.du-search-btn {
  position: absolute; right: 4px; top: 4px; bottom: 4px;
  border: none; border-radius: 9999px;
  background: var(--du-blue); color: #fff;
  padding: 0 1rem; cursor: pointer;
  display: flex; align-items: center;
}
.du-search-btn:hover { background: var(--du-blue-dark); }
.du-search-btn svg { width: 18px; height: 18px; }

.du-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.du-action {
  display: flex; flex-direction: column; align-items: center;
  padding: 0.25rem 0.75rem;
  border: none; background: none; cursor: pointer;
  border-radius: 8px; position: relative;
  text-decoration: none; color: var(--du-ink);
}
.du-action:hover { background: var(--du-mist); }
.du-action svg { width: 22px; height: 22px; }
.du-action-label { font-size: 0.6875rem; color: #6b7280; margin-top: 2px; }
.du-action-badge {
  position: absolute; top: -2px; right: 4px;
  background: var(--du-red); color: #fff;
  font-size: 10px; font-weight: 700;
  border-radius: 9999px; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
}
.du-whatsapp-btn {
  display: flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px;
  background: #10b981; color: #fff;
  padding: 0.625rem 1rem;
  font-weight: 600; font-size: 0.875rem;
  text-decoration: none; margin-left: 0.5rem;
}
.du-whatsapp-btn:hover { background: #059669; color: #fff; }
.du-whatsapp-btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.du-nav {
  background: #fff;
  border-top: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.du-nav ul { display: flex; align-items: center; height: 48px; gap: 0; }
.du-nav li { height: 100%; }
.du-nav a {
  display: flex; align-items: center; height: 100%;
  padding: 0 1rem; font-size: 0.875rem; font-weight: 500;
  color: var(--du-ink); position: relative;
}
.du-nav a:hover { color: var(--du-red); }
.du-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 1rem; right: 1rem;
  height: 2px; background: var(--du-red);
  transform: scaleX(0); transform-origin: left; transition: transform 0.2s;
}
.du-nav a:hover::after { transform: scaleX(1); }
.du-nav .menu-item-has-children > a::after {
  content: '▾'; margin-left: 0.25rem; font-size: 0.75rem;
}

/* ---------- Mega menu ---------- */
.du-mega {
  position: absolute; top: 100%; left: 0;
  width: 640px; background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-radius: 0 0 16px 16px;
  border: 1px solid #f3f4f6;
  padding: 1.5rem;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  z-index: 200;
}
.du-nav li:hover > .du-mega { display: grid; }
.du-mega-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem; border-radius: 12px;
  text-decoration: none; color: var(--du-ink);
}
.du-mega-item:hover { background: var(--du-mist); }
.du-mega-icon {
  flex-shrink: 0; width: 40px; height: 40px;
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.du-mega-icon svg { width: 20px; height: 20px; }
.du-mega-title { font-weight: 600; font-size: 0.875rem; }
.du-mega-desc { font-size: 0.75rem; color: #9ca3af; }

/* ---------- Hero ---------- */
.du-hero {
  margin-top: 1.5rem;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  height: 460px;
  background: linear-gradient(135deg, var(--du-blue), var(--du-blue-light));
}
.du-hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 0.7s;
  padding: 0 2rem;
}
.du-hero-slide.active { opacity: 1; }
.du-hero-content { max-width: 520px; color: #fff; }
.du-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.15); color: #fcd34d;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600; margin-bottom: 1rem;
}
.du-hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: #fff; }
.du-hero p { color: rgba(255,255,255,0.85); font-size: 1.125rem; margin-bottom: 2rem; }
.du-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.du-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 8px; font-weight: 600; padding: 0.75rem 1.25rem;
  border: none; cursor: pointer; text-decoration: none;
  font-family: inherit; font-size: 0.9375rem; transition: all 0.2s;
}
.du-btn-primary { background: var(--du-blue); color: #fff; }
.du-btn-primary:hover { background: var(--du-blue-dark); color: #fff; }
.du-btn-red { background: var(--du-red); color: #fff; box-shadow: 0 8px 30px rgba(213,0,0,0.25); }
.du-btn-red:hover { background: var(--du-red-dark); color: #fff; }
.du-btn-ghost { background: #fff; color: var(--du-blue); border: 1px solid rgba(13,71,161,0.2); }
.du-btn-ghost:hover { background: rgba(13,71,161,0.05); }

/* ---------- Section title ---------- */
.du-section { margin-top: 3.5rem; }
.du-section-title { margin-bottom: 2rem; }
.du-section-title.center { text-align: center; max-width: 42rem; margin-left: auto; margin-right: auto; }
.du-eyebrow { color: var(--du-red); font-weight: 600; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.du-section-title h2 { font-size: 1.75rem; margin: 0; }
.du-section-title p { color: #6b7280; margin-top: 0.5rem; }

/* ---------- Categories ---------- */
.du-categories {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .du-categories { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .du-categories { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1280px) { .du-categories { grid-template-columns: repeat(7, 1fr); } }
.du-cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  padding: 1.25rem; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 8px rgba(13,71,161,0.06);
  text-decoration: none; color: var(--du-ink);
  transition: all 0.3s;
}
.du-cat-card:hover { box-shadow: 0 12px 28px rgba(13,71,161,0.14); transform: translateY(-4px); }
.du-cat-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; transition: transform 0.3s;
}
.du-cat-card:hover .du-cat-icon { transform: scale(1.1); }
.du-cat-icon svg { width: 28px; height: 28px; }
.du-cat-name { font-size: 0.875rem; font-weight: 600; text-align: center; }

/* ---------- Product card ---------- */
.du-products-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .du-products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
@media (min-width: 1024px) { .du-products-grid { grid-template-columns: repeat(4, 1fr); } }

.du-product-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(13,71,161,0.06);
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.du-product-card:hover { box-shadow: 0 12px 28px rgba(13,71,161,0.14); transform: translateY(-4px); }
.du-product-img {
  position: relative; aspect-ratio: 1; overflow: hidden; background: var(--du-mist);
}
.du-product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.du-product-card:hover .du-product-img img { transform: scale(1.05); }
.du-product-badges { position: absolute; top: 0.5rem; left: 0.5rem; display: flex; flex-direction: column; gap: 0.375rem; }
.du-badge {
  display: inline-flex; align-items: center; gap: 0.375rem;
  border-radius: 9999px; padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: #fff;
}
.du-badge-red { background: var(--du-red); }
.du-badge-blue { background: var(--du-blue); }
.du-badge-green { background: #059669; }
.du-product-fav {
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.du-product-info { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.du-product-brand { font-size: 0.75rem; color: #9ca3af; margin-bottom: 0.25rem; }
.du-product-name {
  font-size: 0.875rem; font-weight: 600; color: var(--du-ink);
  margin-bottom: 0.5rem; text-decoration: none; display: block;
  min-height: 2.5rem;
}
.du-product-name:hover { color: var(--du-blue); }
.du-stars { display: flex; gap: 2px; color: #fbbf24; font-size: 0.75rem; }
.du-stars .empty { color: #e5e7eb; }
.du-product-reviews { font-size: 0.75rem; color: #9ca3af; margin-top: 0.25rem; }
.du-product-price { margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid #f3f4f6; }
.du-product-old-price { font-size: 0.75rem; color: #9ca3af; text-decoration: line-through; }
.du-product-current-price { font-size: 1.25rem; font-weight: 700; color: var(--du-ink); }
.du-product-install { font-size: 0.75rem; color: #6b7280; }
.du-product-buy {
  margin-top: 0.75rem; width: 100%; padding: 0.625rem;
  background: var(--du-blue); color: #fff; border: none; border-radius: 8px;
  font-weight: 600; font-size: 0.875rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit;
}
.du-product-buy:hover { background: var(--du-blue-dark); }

/* ---------- Benefits ---------- */
.du-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 1024px) { .du-benefits { grid-template-columns: repeat(4, 1fr); } }
.du-benefit {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 1.25rem; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 8px rgba(13,71,161,0.06);
}
.du-benefit-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: rgba(13,71,161,0.1); color: var(--du-blue);
  display: flex; align-items: center; justify-content: center;
}
.du-benefit-icon svg { width: 24px; height: 24px; }
.du-benefit-title { font-weight: 600; font-size: 0.875rem; }
.du-benefit-desc { font-size: 0.75rem; color: #6b7280; }

/* ---------- Services ---------- */
.du-services { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .du-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .du-services { grid-template-columns: repeat(5, 1fr); } }
.du-service {
  padding: 1.5rem; background: #fff; border-radius: 16px;
  box-shadow: 0 2px 8px rgba(13,71,161,0.06);
  display: flex; flex-direction: column; transition: all 0.3s;
}
.du-service:hover { box-shadow: 0 12px 28px rgba(13,71,161,0.14); transform: translateY(-4px); }
.du-service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--du-blue), var(--du-blue-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; transition: transform 0.3s;
}
.du-service:hover .du-service-icon { transform: scale(1.1); }
.du-service-icon svg { width: 26px; height: 26px; }
.du-service h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.du-service p { font-size: 0.875rem; color: #6b7280; flex: 1; }
.du-service-price { font-size: 0.875rem; font-weight: 700; color: var(--du-red); margin-top: 0.75rem; }
.du-service-link { margin-top: 1rem; font-size: 0.875rem; font-weight: 600; color: var(--du-blue); display: inline-flex; align-items: center; gap: 0.25rem; }

/* ---------- Best sellers carousel ---------- */
.du-carousel { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
.du-carousel::-webkit-scrollbar { display: none; }
.du-carousel-item { scroll-snap-align: start; flex-shrink: 0; width: 280px; }

/* ---------- Testimonials ---------- */
.du-testimonials { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .du-testimonials { grid-template-columns: repeat(3, 1fr); } }
.du-testimonial { padding: 1.5rem; background: #fff; border-radius: 16px; position: relative; box-shadow: 0 2px 8px rgba(13,71,161,0.06); }
.du-testimonial-text { color: var(--du-ink); line-height: 1.6; margin-top: 1rem; }
.du-testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #f3f4f6; }
.du-testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--du-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.du-testimonial-name { font-weight: 600; font-size: 0.875rem; }
.du-testimonial-role { font-size: 0.75rem; color: #9ca3af; }

/* ---------- Newsletter ---------- */
.du-newsletter {
  background: linear-gradient(135deg, var(--du-blue), var(--du-blue-dark));
  border-radius: 24px; padding: 2rem 3rem; color: #fff; position: relative; overflow: hidden;
}
.du-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.du-newsletter h2 { color: #fff; font-size: 1.75rem; margin-bottom: 0.5rem; }
.du-newsletter p { color: rgba(255,255,255,0.8); }
.du-newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.du-newsletter-input { border-radius: 9999px; padding: 0.75rem 1.25rem; border: none; min-width: 250px; font-family: inherit; outline: none; }

/* ---------- Footer ---------- */
.du-footer { background: var(--du-ink); color: #9ca3af; margin-top: 4rem; }
.du-footer-inner { padding: 3rem 0; }
.du-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .du-footer-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .du-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; } }
.du-footer h4 { color: #fff; font-size: 0.875rem; margin-bottom: 1rem; }
.du-footer ul li { margin-bottom: 0.625rem; }
.du-footer ul li a { color: #9ca3af; font-size: 0.875rem; }
.du-footer ul li a:hover { color: #fff; }
.du-footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.du-footer-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.du-footer-social a:hover { background: var(--du-red); }
.du-footer-social svg { width: 18px; height: 18px; }
.du-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 2rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.du-pay-methods { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.du-pay-methods span { padding: 0.375rem 0.75rem; border-radius: 6px; background: rgba(255,255,255,0.1); font-size: 0.75rem; font-weight: 600; }
.du-footer-copyright { text-align: center; font-size: 0.75rem; color: #6b7280; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* ---------- WhatsApp float ---------- */
.du-whatsapp-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: #10b981; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); text-decoration: none;
  transition: transform 0.2s;
}
.du-whatsapp-float:hover { background: #059669; transform: scale(1.1); color: #fff; }
.du-whatsapp-float svg { width: 28px; height: 28px; }
.du-whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #10b981; animation: du-ping 1.5s ease-out infinite; opacity: 0.2;
}
@keyframes du-ping { 0% { transform: scale(1); opacity: 0.2; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- WooCommerce overrides ---------- */
.woocommerce ul.products li.product { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(13,71,161,0.06); transition: all 0.3s; }
.woocommerce ul.products li.product:hover { box-shadow: 0 12px 28px rgba(13,71,161,0.14); transform: translateY(-4px); }
.woocommerce ul.products li.product .button { background: var(--du-blue); color: #fff; border-radius: 8px; }
.woocommerce ul.products li.product .button:hover { background: var(--du-blue-dark); }
.woocommerce span.onsale { background: var(--du-red); border-radius: 9999px; }
.woocommerce .star-rating span { color: #fbbf24; }
.woocommerce div.product .product_title { font-family: 'Montserrat', sans-serif; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--du-ink); }
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button { background: var(--du-blue); color: #fff; border-radius: 8px; }
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { background: var(--du-blue-dark); }
.woocommerce-message { border-top-color: var(--du-blue); }
.woocommerce-info { border-top-color: var(--du-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .du-header-main .du-search { display: none; }
  .du-nav ul { display: none; }
}
@media (max-width: 767px) {
  .du-hero { height: 380px; }
  .du-hero h1 { font-size: 1.75rem; }
  .du-actions .du-action-label { display: none; }
  .du-whatsapp-btn { display: none; }
  .du-newsletter { padding: 1.5rem; }
  .du-newsletter-input { min-width: 100%; }
}

/* ---------- Mobile menu toggle ---------- */
.du-mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.25rem; }
.du-mobile-toggle svg { width: 26px; height: 26px; color: var(--du-ink); }
@media (max-width: 1023px) { .du-mobile-toggle { display: block; } }
.du-mobile-menu { display: none; position: fixed; inset: 0; z-index: 200; }
.du-mobile-menu.open { display: block; }
.du-mobile-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.du-mobile-panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: 320px; max-width: 85%;
  background: #fff; box-shadow: 0 20px 50px rgba(0,0,0,0.2); overflow-y: auto;
  padding: 1rem;
}
.du-mobile-panel a { display: block; padding: 0.75rem; border-radius: 8px; font-size: 0.875rem; font-weight: 500; color: var(--du-ink); }
.du-mobile-panel a:hover { background: var(--du-mist); }
.du-mobile-panel .sub-menu { padding-left: 1rem; }
