/*
Theme Name: Camo Theme
Description: Tema figlio di Hello Elementor con header, footer e stili propri. Nasce per sostituire i template di Elementor Pro su header e footer (nov 2026).
Author: Camo Innovation
Template: hello-elementor
Version: 1.0.0
*/

/* --- header --- */
.camo-header { background: #fff; border-bottom: 1px solid #e7eaef; }
.camo-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.camo-header__logo img { max-height: 72px; width: auto; display: block; }
.camo-header__nav { margin-left: auto; }
.camo-header__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.camo-header__nav a { text-decoration: none; color: #1f2937; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.camo-header__nav a:hover { color: #000; }
.camo-header__nav .sub-menu { position: absolute; background: #fff; border: 1px solid #e7eaef; padding: 10px 14px; display: none; min-width: 180px; z-index: 50; }
.camo-header__nav li { position: relative; }
.camo-header__nav li:hover > .sub-menu { display: block; }
.camo-header__cart { margin-left: 8px; border: 1px solid #111; width: 46px; height: 40px; display: flex; align-items: center; justify-content: center; position: relative; text-decoration: none; color: #111; }
.camo-cart-count { position: absolute; top: -8px; right: -8px; background: #e11d48; color: #fff; border-radius: 999px; font-size: 11px; line-height: 1; padding: 3px 5px; }

/* --- footer --- */
.camo-footer { background: #111827; color: #e5e7eb; margin-top: 48px; }
.camo-footer__inner { max-width: 1200px; margin: 0 auto; padding: 42px 20px 12px; display: flex; gap: 48px; flex-wrap: wrap; }
.camo-footer__col { flex: 1 1 220px; }
.camo-footer__col h3 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.camo-footer__col p, .camo-footer__col li { font-size: 14px; line-height: 1.7; color: #cbd5e1; margin: 0 0 6px; }
.camo-footer__col ul { list-style: none; margin: 0; padding: 0; }
.camo-footer__col a { color: #cbd5e1; text-decoration: none; }
.camo-footer__col a:hover { color: #fff; }
.camo-footer__bottom { text-align: center; padding: 18px 20px; border-top: 1px solid #1f2937; font-size: 13px; color: #9ca3af; }

/* --- pagine di testo: larghezza di lettura --- */
body.page:not(.home) .site-main,
body.page:not(.home) .page-content {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

@media (max-width: 860px) {
  .camo-header__inner { flex-wrap: wrap; gap: 10px; }
  .camo-header__nav { margin-left: 0; width: 100%; }
  .camo-header__nav ul { flex-wrap: wrap; gap: 14px; }
  .camo-header__cart { margin-left: auto; }
  .camo-footer__inner { gap: 26px; padding-top: 28px; }
}

/* --- FAQ: accordion nativo --- */
.camo-faq { border: 1px solid #e7eaef; border-radius: 10px; padding: 14px 18px; margin: 0 0 10px; background: #fff; }
.camo-faq summary { cursor: pointer; font-weight: 600; color: #111827; list-style: none; }
.camo-faq summary::-webkit-details-marker { display: none; }
.camo-faq summary::after { content: '+'; float: right; color: #9aa1ad; }
.camo-faq[open] summary::after { content: '-'; }
.camo-faq p { margin: 12px 0 0; color: #4b5563; }

/* --- home --- */
body.home .page-header { display: none; }
.camo-home-hero img, .camo-home-band img { width: 100%; height: auto; display: block; }
.camo-home-band { margin: 40px 0 0; }
.camo-home-title { text-align: center; font-size: 30px; letter-spacing: .02em; margin: 42px 0 18px; text-transform: uppercase; }
body.home ul.products { padding: 0 20px 10px; margin: 0; }
body.home ul.products li.product h2, body.home ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 400; }

/* home a tutta larghezza: hero e banda senza margini laterali */
body.home .site-main, body.home .page-content { max-width: 100%; width: 100%; padding: 0; margin: 0; }
