/*
Theme Name: Wild Wolve
Theme URI: https://example.com/wild-wolve
Author: Wild Wolve
Description: Naturinspiriertes, leichtgewichtiges WooCommerce-Theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: wild-wolve
License: GPL-2.0-or-later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root{
  --forest:#1f3d2b;
  --sand:#efe7dc;
  --accent:#b87933;
  --stone:#2f2f2f;
  --cloud:#f7f5f1;
  --radius:14px;
  --shadow:0 2px 10px rgba(0,0,0,.1);
}

*{box-sizing:border-box}
html,body{
  margin:0;
  padding:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,Arial,sans-serif;
  color:var(--stone);
  background:var(--cloud);
}

.container{width:min(1200px,92%);margin-inline:auto}
a{color:var(--forest);text-decoration:none}

.btn{
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  padding:.8rem 1.1rem;
  border-radius:var(--radius);
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}

.btn.primary{
  background:var(--accent);
  border-color:var(--accent);
  color:#fff;
}

/* Header */
.site-header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid #eee;
  z-index:20;
}

.nav{display:flex;justify-content:space-between;align-items:center;padding:.8rem 0}

/* Menü */
.menu{display:flex;gap:1rem}
.menu ul{list-style:none;margin:0;padding:0;display:flex;gap:1rem;align-items:center}
.menu li{margin:0;padding:0}
.menu a{display:inline-block;padding:.5rem .2rem}

.brand{font-size:1.1rem}

.menu-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:1rem;
  align-items:center;
}
.menu-list li{margin:0}
.menu-list a{display:inline-block;padding:.25rem .1rem}

/* Layout */
.section{padding:2.2rem 0}
.grid{display:grid;gap:1.2rem}
.categories{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))}
.products{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}

.card{
  background:#fff;
  border:1px solid #eee;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}

.hero{
  background:radial-gradient(900px 400px at 70% -10%,rgba(184,121,51,.25),transparent 60%),var(--sand);
}

.notice{background:#1f3d2b;color:#fff}
.notice .container{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}

footer{background:#1d1d1d;color:#d9d9d9;padding:2rem 0;margin-top:2rem}
footer a{color:#d9d9d9}

@media (max-width:840px){
  .menu{display:none}
}

/* =========================================
   CATE Styling (nur Design, keine Logik!)
   ========================================= */

/* CATE-Unterkategorie Kacheln */
.ww-cate-subcats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:12px;
  margin:14px 0 8px 0;
}

.ww-cate-subcat{
  display:block;
  border:1px solid #e7e7e7;
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
  text-decoration:none;
}

.ww-cate-subcat strong{
  display:block;
  margin:0 0 6px 0;
}

.ww-cate-subcat span{
  display:block;
  opacity:.9;
  font-size:14px;
  line-height:1.45;
}

.ww-cate-subcat:hover,
.ww-cate-subcat:focus{
  outline:none;
  border-color:#d9d9d9;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

/* Wrapper (Konfigurator-Bereich) */
.ww-cate-wrap{
  max-width:980px;
  margin:14px auto 0 auto;
}

/* ==============================
   CATE PRO Konfigurator Styles
   ============================== */

.ww-cate-card{
  border:1px solid #e7e7e7;
  border-radius:14px;
  background:#fff;
  padding:14px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

.ww-cate-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}

.ww-cate-row{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:10px;
  align-items:center;
}

.ww-cate-row label{
  font-weight:800;
}

.ww-cate-row select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #ddd;
  background:#fff;
}

.ww-cate-total{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid #eee;
  margin-top:10px;
  padding-top:10px;
}

.ww-cate-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

.ww-cate-msg{
  opacity:.9;
  margin-top:6px;
}

/* Mobile */
@media(max-width:720px){
  .ww-cate-row{grid-template-columns:1fr}
}

/* ==============================
   CATE Mini-Box auf Produktseiten
   ============================== */

.ww-cate-productbox{
  margin:14px 0 0 0;
  border:1px solid #e7e7e7;
  border-radius:14px;
  padding:12px 14px;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}

.ww-cate-productbox strong{
  display:block;
  margin:0 0 6px 0;
}

.ww-cate-productbox p{
  margin:.35rem 0 .6rem 0;
  opacity:.95;
  line-height:1.45;
}
