/*
Theme Name: Condor1
Theme URI: https://condor1.com.br
Author: Condor1
Author URI: https://condor1.com.br
Description: Tema de loja virtual (vendedor único) para WooCommerce, com navegação inspirada em marketplaces e identidade própria. Multi-categorias, mobile-first.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.0
Tested up to: 6.6
WC requires at least: 8.0
WC tested up to: 9.0
Text Domain: condor1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500&display=swap');

:root{
  --c1-black:#1A1A1A;
  --c1-white:#FFFFFF;
  --c1-orange:#FF6B35;
  --c1-gray:#F5F5F5;
  --c1-text:#333333;
  --c1-radius:8px;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Inter',-apple-system,sans-serif;
  color:var(--c1-text);
  background:var(--c1-white);
  font-size:15px;
  line-height:1.55;
}

h1,h2,h3,h4,.c1-brand{font-family:'Poppins',sans-serif;color:var(--c1-black);}

img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}

.c1-wrap{max-width:1200px;margin:0 auto;padding:0 20px;}

/* ---------- Topbar ---------- */
.c1-topbar{background:var(--c1-black);color:#fff;font-size:12px;padding:6px 0;}
.c1-topbar .c1-wrap{display:flex;justify-content:space-between;gap:16px;overflow-x:auto;white-space:nowrap;}

/* ---------- Header ---------- */
.c1-header{position:sticky;top:0;background:#fff;border-bottom:1px solid #eee;z-index:100;}
.c1-header-row{display:flex;align-items:center;gap:24px;padding:14px 0;flex-wrap:wrap;}
.c1-brand{font-weight:700;font-size:24px;flex:0 0 auto;}
.c1-brand span{color:var(--c1-orange);}
.c1-brand img{max-height:44px;}

/* Marca Condor1 (ícone + wordmark) */
.c1-logo{display:flex;align-items:center;gap:9px;}
.c1-logo-icon{width:34px;height:34px;flex:0 0 auto;display:block;}
.c1-logo-text{font-family:'Poppins',sans-serif;font-weight:700;font-size:19px;letter-spacing:-0.02em;color:var(--c1-black);line-height:1;white-space:nowrap;}
.c1-logo-accent{color:#B31B1B;}

.c1-search{flex:1;min-width:200px;display:flex;background:var(--c1-gray);border-radius:6px;overflow:hidden;}
.c1-search input[type="search"], .c1-search input[type="text"]{border:none;background:transparent;padding:10px 14px;flex:1;font-family:inherit;font-size:14px;outline:none;}
.c1-search button{border:none;background:var(--c1-orange);color:#fff;padding:0 18px;cursor:pointer;font-size:14px;}

.c1-icons{display:flex;gap:20px;flex:0 0 auto;font-size:12px;text-align:center;}
.c1-icons a{display:block;position:relative;}
.c1-icons .c1-ic{font-size:19px;display:block;}
.c1-cart-count{position:absolute;top:-6px;right:-10px;background:var(--c1-orange);color:#fff;border-radius:50%;font-size:10px;width:16px;height:16px;line-height:16px;}

/* ---------- Menu de categorias ---------- */
.c1-catnav{background:var(--c1-black);}
.c1-catnav .c1-wrap ul{display:flex;gap:24px;overflow-x:auto;padding:10px 0;}
.c1-catnav a{color:#fff;font-size:13px;white-space:nowrap;opacity:.9;}
.c1-catnav a:hover{color:var(--c1-orange);opacity:1;}
.c1-menu-toggle{display:none;background:none;border:none;font-size:22px;color:var(--c1-black);cursor:pointer;}

/* ---------- Hero ---------- */
.c1-hero{background:linear-gradient(135deg,#1A1A1A,#333);color:#fff;padding:56px 0;}
.c1-hero .c1-wrap{display:flex;align-items:center;gap:40px;flex-wrap:wrap;}
.c1-hero-text{flex:1;min-width:260px;}
.c1-hero-text .c1-eyebrow{color:var(--c1-orange);font-size:13px;font-weight:600;}
.c1-hero-text h1{font-size:34px;margin:10px 0 14px;line-height:1.2;color:#fff;}
.c1-hero-text p{font-size:15px;opacity:.85;margin-bottom:22px;max-width:420px;}
.c1-cta{display:inline-block;background:var(--c1-orange);color:#fff;padding:12px 26px;border-radius:6px;font-weight:600;font-size:14px;border:none;cursor:pointer;}

/* ---------- Benefícios ---------- */
.c1-benefits{background:var(--c1-gray);padding:16px 0;}
.c1-benefits .c1-wrap{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:13px;font-weight:500;}

/* ---------- Seções ---------- */
.c1-section{padding:44px 0;}
.c1-section-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:22px;}
.c1-section-head h2{font-size:22px;margin:0;}
.c1-section-head a{font-size:13px;color:var(--c1-orange);font-weight:600;}

/* ---------- Grade de categorias ---------- */
.c1-cat-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.c1-cat-grid .c1-cat{text-align:center;font-size:12px;}
.c1-cat-grid .c1-cat-icon{width:64px;height:64px;border-radius:50%;background:var(--c1-gray);margin:0 auto 8px;overflow:hidden;border:1px solid #eee;display:flex;align-items:center;justify-content:center;}
.c1-cat-grid .c1-cat-icon img{width:100%;height:100%;object-fit:cover;}

/* ---------- Banner duplo ---------- */
.c1-split{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.c1-split .c1-banner{border-radius:10px;padding:30px;color:#fff;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;}
.c1-split .c1-banner.men{background:linear-gradient(135deg,#1A1A1A,#3a3a3a);}
.c1-split .c1-banner.women{background:linear-gradient(135deg,var(--c1-orange),#ffb08a);}
.c1-split .c1-banner h3{color:#fff;margin:0 0 6px;font-size:20px;}

/* ---------- Newsletter ---------- */
.c1-newsletter{background:var(--c1-black);color:#fff;padding:44px 0;text-align:center;}
.c1-newsletter h2{color:#fff;font-size:22px;margin-bottom:8px;}
.c1-newsletter form{display:flex;justify-content:center;gap:10px;margin-top:18px;flex-wrap:wrap;}
.c1-newsletter input[type="email"]{padding:12px 16px;border-radius:6px;border:none;min-width:260px;}

/* ---------- Rodapé ---------- */
.c1-footer{background:var(--c1-black);color:#ddd;padding:44px 0 18px;font-size:13px;}
.c1-footer .c1-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-bottom:26px;}
.c1-footer h4{color:#fff;font-size:13px;margin-bottom:12px;}
.c1-footer p,.c1-footer a,.c1-footer li{color:#bbb;line-height:1.9;}
.c1-footer .c1-bottom{border-top:1px solid #333;padding-top:16px;text-align:center;color:#888;font-size:12px;}

/* ---------- WooCommerce overrides ---------- */
.woocommerce ul.products, ul.products{
  display:grid !important;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
}
.woocommerce ul.products li.product{
  border:1px solid #eee;border-radius:var(--c1-radius);padding:14px;text-align:left;
  width:100% !important;margin:0 !important;float:none !important;
}
.woocommerce ul.products li.product img{aspect-ratio:1/1;object-fit:cover;border-radius:6px;margin-bottom:10px;}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;margin:6px 0;color:var(--c1-text);}
.woocommerce ul.products li.product .price{font-weight:700;color:var(--c1-black);font-size:15px;}
.woocommerce ul.products li.product .price del{color:#999;font-weight:400;margin-right:6px;font-size:12px;}
.woocommerce span.onsale{
  background:var(--c1-orange) !important;color:#fff;border-radius:4px;font-size:11px;
  min-height:auto;min-width:auto;padding:3px 8px;line-height:normal;top:10px;left:10px;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce .add_to_cart_button, .woocommerce .single_add_to_cart_button{
  background:var(--c1-orange) !important;color:#fff !important;border-radius:6px;border:none;
  padding:10px 20px;font-weight:600;font-size:13px;
}
.woocommerce a.button:hover, .woocommerce button.button:hover{background:#e2551f !important;}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;}
.star-rating{color:var(--c1-orange);}
.woocommerce nav.woocommerce-breadcrumb{font-size:12px;color:#888;margin-bottom:18px;}
.woocommerce-message, .woocommerce-info{border-top-color:var(--c1-orange) !important;}
.woocommerce-message::before, .woocommerce-info::before{color:var(--c1-orange) !important;}

/* ---------- Compatibilidade com Elementor / Gutenberg / outros editores ---------- */
.c1-builder-page{width:100%;}
.c1-content > .elementor, .c1-content > .et-l, .c1-content > .fl-builder-content{margin:0;}
/* Suporte a blocos "largura total" e "largura larga" do editor de blocos (Gutenberg) */
.alignfull{width:100%;max-width:100%;}
.alignwide{max-width:1400px;margin-left:auto;margin-right:auto;}
body.c1-blank-page{margin:0;}

/* ---------- Off-canvas carrinho ---------- */
.c1-offcanvas{position:fixed;top:0;right:-380px;width:360px;max-width:90vw;height:100%;background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.15);z-index:1000;transition:right .3s ease;padding:20px;overflow-y:auto;}
.c1-offcanvas.open{right:0;}
.c1-offcanvas-close{background:none;border:none;font-size:20px;cursor:pointer;float:right;}
.c1-overlay{position:fixed;inset:0;background:rgba(0,0,0,.4);display:none;z-index:999;}
.c1-overlay.open{display:block;}

/* =====================================================
   RESPONSIVO — 3 pontos de quebra
   Desktop: acima de 1024px (regras da base do arquivo)
   Tablet:  641px – 1024px
   Celular: até 640px
   ===================================================== */

/* ---------- Tablet ---------- */
@media (max-width:1024px){
  .c1-wrap{padding:0 16px;}
  .c1-cat-grid{grid-template-columns:repeat(4,1fr);gap:12px;}
  .woocommerce ul.products, ul.products{grid-template-columns:repeat(3,1fr) !important;}
  .c1-footer .c1-cols{grid-template-columns:repeat(2,1fr);}
  .c1-hero-text h1{font-size:28px;}
  .c1-hero .c1-wrap{gap:24px;}
  .c1-header-row{gap:14px;}
  .c1-logo-icon{width:32px;height:32px;}
  .c1-logo-text{font-size:17px;}
  .c1-search{order:3;flex-basis:100%;}
  .c1-benefits .c1-wrap{justify-content:space-around;font-size:12px;}
}

/* ---------- Celular ---------- */
@media (max-width:640px){
  .c1-topbar{font-size:11px;padding:6px 0;}
  .c1-topbar .c1-wrap{justify-content:center;text-align:center;}
  .c1-hide-mobile{display:none !important;}

  .c1-header-row{padding:10px 0;gap:10px;}
  .c1-brand{order:1;font-size:20px;}
  .c1-logo-icon{width:26px;height:26px;}
  .c1-logo-text{font-size:14px;}
  .c1-icons{order:2;margin-left:auto;gap:14px;}
  .c1-icons a{font-size:11px;}
  .c1-search{order:3;flex-basis:100%;}

  .c1-catnav ul{flex-direction:column;height:0;overflow:hidden;padding:0;display:none;}
  .c1-catnav.open ul{height:auto;padding:10px 0;display:flex;}
  .c1-catnav .c1-wrap{padding-top:0;padding-bottom:0;}
  .c1-menu-toggle{display:block;width:100%;text-align:left;padding:10px 0;}

  .c1-hero{padding:36px 0;}
  .c1-hero-text h1{font-size:22px;}
  .c1-hero-text p{font-size:14px;}
  .c1-cta{width:100%;text-align:center;padding:13px 20px;}

  .c1-benefits .c1-wrap{flex-direction:column;align-items:flex-start;gap:8px;font-size:12px;}

  .c1-section{padding:30px 0;}
  .c1-section-head h2{font-size:18px;}

  .c1-cat-grid{grid-template-columns:repeat(3,1fr);gap:10px;}
  .c1-cat-grid .c1-cat-icon{width:52px;height:52px;}
  .c1-cat-grid .c1-cat{font-size:11px;}

  .woocommerce ul.products, ul.products{grid-template-columns:repeat(2,1fr) !important;gap:12px;}
  .woocommerce ul.products li.product{padding:10px;}

  .c1-split{grid-template-columns:1fr;}

  .c1-newsletter{padding:32px 0;}
  .c1-newsletter form{flex-direction:column;align-items:stretch;}
  .c1-newsletter input[type="email"]{min-width:0;width:100%;}
  .c1-newsletter .c1-cta{width:100%;}

  .c1-footer .c1-cols{grid-template-columns:1fr;gap:20px;text-align:left;}

  .c1-offcanvas{width:100%;max-width:100%;}
}

/* Toques confortáveis em telas de toque (tablet e celular) */
@media (hover:none) and (pointer:coarse){
  .c1-icons a, .c1-cta, .woocommerce a.button, .woocommerce button.button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
}
