/*
Theme Name: Kreativwerk MC
Theme URI: https://example.com/
Author: Kreativwerk MC
Description: Warmes, rustikales WooCommerce-Theme für Kreativwerk MC mit Wunschwerkstatt.
Version: 2.6.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kreativwerk-mc
License: GPL-2.0-or-later
*/
:root{--cream:#f8f1e3;--paper:#fffaf0;--dark:#2b1d14;--wood:#79502e;--forest:#28412f;--gold:#d6aa64;--line:#e7d7bd}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--dark);font:16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}a{color:var(--forest)}img{max-width:100%;height:auto}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.2}h1{font-size:clamp(2.3rem,5vw,4.5rem)}h2{font-size:clamp(1.8rem,3vw,2.8rem)}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{background:#fff9ec;box-shadow:0 2px 18px #25160720;position:relative;z-index:10}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 0}.site-brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--dark)}.site-brand img{width:146px;max-height:105px;object-fit:contain}.site-brand span{display:none;font-family:Georgia,serif;font-weight:bold;font-size:1.15rem}.main-nav{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.main-nav a{color:var(--dark);text-decoration:none;font-weight:650}.main-nav a:hover{color:var(--wood)}.nav-cta,.btn,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;background:var(--forest)!important;color:white!important;text-decoration:none;border:0;border-radius:8px;padding:13px 22px;cursor:pointer;font-weight:700;line-height:1.4}.btn.secondary{background:transparent!important;color:var(--dark)!important;border:2px solid var(--dark)}.btn:hover{filter:brightness(1.12)}.hero{position:relative;background:linear-gradient(110deg,#25180de8,#3b2615d9),repeating-linear-gradient(10deg,#755032 0,#755032 3px,#5d3c25 4px,#5d3c25 12px);color:#fff5dd;overflow:hidden}.hero::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 80% 22%,#f8d17688 0 2px,transparent 4px),radial-gradient(circle at 60% 10%,#ffde8788 0 3px,transparent 6px),radial-gradient(circle at 92% 50%,#ffdf9177 0 3px,transparent 6px);background-size:140px 120px,210px 150px,180px 170px;opacity:.65;pointer-events:none}.hero-inner{position:relative;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:30px;padding:62px 0 78px}.eyebrow{color:var(--gold);font-weight:800;letter-spacing:.15em;text-transform:uppercase;font-size:.82rem}.hero p{font-size:1.14rem;max-width:580px}.hero .btn{background:var(--gold)!important;color:var(--dark)!important}.hero .btn.secondary{color:#fff!important;border-color:#fff}.hero-logo{display:block;width:min(100%,460px);filter:drop-shadow(0 18px 25px #080300aa);margin:auto}.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.section{padding:70px 0}.section.alt{background:var(--paper)}.section-title{text-align:center;margin:0 0 14px}.section-intro{text-align:center;max-width:680px;margin:0 auto 35px;color:#665544}.categories{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.category-card{min-height:160px;border:1px solid var(--line);border-radius:14px;background:linear-gradient(135deg,#fffbf1,#eee0c6);padding:28px;box-shadow:0 10px 24px #33201510;text-decoration:none;color:var(--dark);transition:transform .2s}.category-card:hover{transform:translateY(-3px)}.category-icon{font-size:2rem;display:block}.category-card h3{margin:12px 0 0}.feature{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;padding:35px;border-radius:18px;background:var(--forest);color:#fff8e7}.feature h2{margin-top:0}.feature p{font-size:1.09rem}.feature .btn{background:var(--gold)!important;color:var(--dark)!important}.feature-decoration{border:2px dashed #d7b77b;border-radius:14px;min-height:230px;display:grid;place-items:center;font-family:Georgia,serif;font-size:clamp(2rem,4vw,3rem);text-align:center;padding:30px;color:#ffdfa1}.site-footer{background:#24170f;color:#f6ead8;padding:42px 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.site-footer a{color:#f9d79b}.site-footer h3{margin-top:0}.footer-bottom{border-top:1px solid #6e5238;margin-top:28px;padding-top:18px;color:#cebba5;font-size:.9rem}.content-wrap{padding:55px 0;min-height:55vh}.content-wrap>h1{margin-top:0}.shop-content{padding:46px 0}.woocommerce ul.products li.product{background:#fff9ed;border:1px solid var(--line);padding:16px!important;border-radius:12px}.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--dark);font-family:Georgia,serif;font-weight:bold;font-size:1.15rem!important}.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:var(--forest)}.notice{padding:16px;border-radius:8px;background:#edf3e8;border:1px solid #c7dabe;margin:20px 0}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}.field label{font-weight:650}.field input,.field textarea,.field select{font:inherit;background:white;border:1px solid #b5a58d;border-radius:7px;padding:12px;width:100%;max-width:100%}.field input[type=checkbox]{width:auto}.form-note{color:#665544;font-size:.92rem}.form-panel{background:var(--paper);padding:30px;border:1px solid var(--line);border-radius:14px;max-width:850px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}@media(max-width:850px){.header-inner{flex-direction:column}.main-nav{justify-content:center;gap:14px}.hero-inner{grid-template-columns:1fr;text-align:center;padding:44px 0}.hero-inner p{margin-inline:auto}.button-row{justify-content:center}.hero-logo{max-width:300px}.categories{grid-template-columns:repeat(2,1fr)}.feature{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.categories,.form-grid,.footer-grid{grid-template-columns:1fr}.site-brand img{width:120px}.main-nav a{font-size:.89rem}.container{width:min(100% - 26px,1180px)}.section{padding:45px 0}.form-panel{padding:18px}}

/* Version 2.0 – WooCommerce-driven category tiles and responsive images */
.category-card{padding:0;overflow:hidden;display:flex;flex-direction:column;min-height:230px}
.category-info{padding:23px 25px 25px;flex:1;display:flex;flex-direction:column}
.category-info h3{margin:0 0 8px;font-size:1.27rem}
.category-info p{margin:0 0 12px;color:#5f503f}
.category-link{margin-top:auto;font-weight:800;color:var(--forest)}
.category-photo{width:100%;height:185px;object-fit:cover;display:block}
.category-decoration{display:grid;place-items:center;height:105px;font-size:3rem;background:radial-gradient(circle at 45% 30%,#ffdfaa,#a16c37 75%,#6b4329);color:#fff5d9;text-shadow:0 2px 15px #503011}
.category-card:hover .category-photo{filter:saturate(1.08)}
.center-actions{text-align:center;margin-top:25px}
.product-coming{max-width:740px;text-align:center}
.product-coming h2{margin:10px 0}
.product-coming p{color:#5c4b3a}
.product-coming .btn{margin-top:14px}
.woocommerce ul.products li.product img{aspect-ratio:1/1;object-fit:cover;border-radius:8px}
@media(max-width:520px){.category-photo{height:210px}}

/* Version 2.1 – shop landing and customer account styling */
.shop-intro{padding:16px 0 38px;max-width:850px}
.shop-intro h1{font-size:clamp(2.25rem,4.3vw,3.8rem);margin:9px 0 14px}
.shop-intro p{font-size:1.13rem;color:#68503a;max-width:700px}
.shop-categories{padding:15px 0 40px}
.shop-categories h2,.shop-products h2{font-size:clamp(1.75rem,2.7vw,2.5rem);margin:0 0 25px}
.shop-categories .category-card .category-title{font-family:Georgia,'Times New Roman',serif;font-size:1.3rem;line-height:1.35;margin-bottom:10px}
.shop-categories .category-card .category-description{color:#5f503f;margin-bottom:15px;display:block}
.shop-wish{background:var(--forest);border-radius:18px;padding:32px 38px;display:flex;align-items:center;justify-content:space-between;gap:30px;color:#fff7e9;margin:10px 0 48px}
.shop-wish h2{margin:7px 0;font-size:clamp(1.6rem,3vw,2.25rem)}
.shop-wish p{margin:0;max-width:650px}
.shop-wish .btn{background:var(--gold)!important;color:var(--dark)!important;white-space:nowrap}
.shop-products{padding-bottom:25px}
.woocommerce-info,.woocommerce-message,.woocommerce-error{border-top-color:var(--gold)!important;background:#fffbf3!important;color:var(--dark)!important;border-radius:8px;box-shadow:0 6px 25px #3020180b}
.woocommerce-info::before,.woocommerce-message::before{color:var(--forest)!important}
.woocommerce .woocommerce-MyAccount-navigation{background:#f0e2c8;border-radius:12px;padding:14px}
.woocommerce .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}
.woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:10px 12px;text-decoration:none;border-radius:7px;color:var(--dark);font-weight:650}
.woocommerce .woocommerce-MyAccount-navigation li.is-active a,.woocommerce .woocommerce-MyAccount-navigation li a:hover{background:#fff9ec;color:var(--forest)}
.woocommerce .woocommerce-MyAccount-content{background:#fff9ef;padding:24px;border:1px solid var(--line);border-radius:12px;min-height:180px}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon{background:#fffaf0;border:1px solid var(--line);border-radius:12px}
.woocommerce form .input-text,.woocommerce-page form .input-text,.woocommerce form select{background:white;border:1px solid #bdac92;border-radius:6px;padding:11px;min-height:42px}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--forest)!important;color:white!important}
@media(max-width:700px){.shop-wish{padding:25px;flex-direction:column;align-items:flex-start}.shop-wish .btn{white-space:normal}.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{float:none;width:100%;margin-bottom:18px}}

/* Version 2.2: Wunschwerkstatt */
.kwmc-wish-lead{font-size:1.17rem;max-width:760px;color:#67503a;margin:0 0 30px}
.kwmc-wish-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,.85fr);gap:24px;align-items:start}
.kwmc-wish-layout .form-panel{max-width:none;box-shadow:0 16px 36px #3d241210}
.kwmc-form-heading{font-size:1.45rem;margin:5px 0 20px}.kwmc-form-heading:not(:first-child){margin-top:22px}
.kwmc-consent{padding:10px 0}.kwmc-consent label{display:flex;align-items:flex-start;gap:10px}.kwmc-consent input{margin-top:7px;accent-color:var(--forest)}
.kwmc-error{background:#fff1ea;border-color:#d9a18e}
.kwmc-wish-aside{background:#304434;color:#fff8e8;border-radius:16px;overflow:hidden;box-shadow:0 18px 40px #301a1020}
.kwmc-wish-aside-inner{padding:32px}.kwmc-wish-aside h2{font-size:1.9rem}.kwmc-wish-aside ol{list-style:none;counter-reset:step;padding:0;margin:26px 0}
.kwmc-wish-aside li{counter-increment:step;position:relative;padding:0 0 25px 54px}.kwmc-wish-aside li:before{content:counter(step);position:absolute;left:0;top:0;background:#d7ac65;color:#2b1d14;border-radius:50%;height:35px;width:35px;display:grid;place-items:center;font-weight:800}.kwmc-wish-aside li strong,.kwmc-wish-aside li span{display:block}.kwmc-wish-aside li span{color:#e3e8d8;font-size:.94rem}
@media(max-width:850px){.kwmc-wish-layout{grid-template-columns:1fr}}

/* Version 2.3: Kategoriebild auf der jeweiligen Produktkategorieseite */
.kwmc-category-header{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.95fr);align-items:center;gap:32px;margin:0 0 38px;background:#fff9ed;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 12px 35px #3320150b}
.kwmc-category-heading{padding:35px 10px 35px 38px}
.kwmc-category-heading h1{margin:12px 0 16px;font-size:clamp(2rem,4vw,3.7rem)}
.kwmc-category-heading p{font-size:1.08rem;color:#63503b;max-width:510px}
.kwmc-back-shop{display:inline-block;margin-top:15px;font-weight:700}
.kwmc-category-image{height:340px;overflow:hidden}
.kwmc-category-image img{display:block;width:100%;height:100%;object-fit:cover}
.kwmc-mug-showcase{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);align-items:center;gap:30px;margin:0 0 45px;padding:20px;background:#f0e2c8;border-radius:16px}
.kwmc-mug-showcase img{width:100%;height:330px;object-fit:contain;background:#392318;border-radius:12px}
.kwmc-mug-showcase-copy{padding:16px}.kwmc-mug-showcase-copy h2{font-size:clamp(1.6rem,2.6vw,2.5rem);margin:10px 0}.kwmc-mug-showcase-copy p{color:#514332;margin-bottom:25px}
.kwmc-category-products{margin-bottom:40px}
@media(max-width:750px){.kwmc-category-header,.kwmc-mug-showcase{grid-template-columns:1fr}.kwmc-category-heading{padding:24px}.kwmc-category-image{height:260px;order:-1}.kwmc-mug-showcase img{height:auto;max-height:450px}}

/* Version 2.4 – Kategoriearchiv: nur ein Titel, großflächiger Tassenbanner, freundlicher Leerzustand */
.kwmc-category-products{margin:0 0 35px}
.kwmc-category-products .woocommerce-products-header{display:none}
.kwmc-mug-showcase{grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr);gap:clamp(20px,3vw,40px);padding:clamp(18px,2.6vw,32px);margin-bottom:35px}
.kwmc-mug-showcase>img{width:100%;height:auto;max-height:540px;aspect-ratio:1/1;object-fit:contain;background:#372318;border-radius:12px;box-shadow:0 8px 20px #2e1c141c}
.kwmc-mug-showcase-copy h2{font-size:clamp(1.65rem,3vw,2.75rem)}
.kwmc-empty-category{border-radius:18px;padding:clamp(28px,5vw,65px);background:linear-gradient(125deg,#fff9ed,#f0e0c4);border:1px solid #e2cda9;box-shadow:0 12px 34px #3522130d;text-align:center;margin:10px 0 20px}
.kwmc-empty-copy{max-width:700px;margin:auto}
.kwmc-empty-copy h2{font-size:clamp(1.8rem,3vw,2.65rem);margin:12px 0}
.kwmc-empty-copy p{color:#62503c;font-size:1.08rem;line-height:1.7;margin:0 auto 25px}
@media(max-width:750px){.kwmc-mug-showcase{grid-template-columns:1fr}.kwmc-mug-showcase>img{max-height:500px;width:100%}.kwmc-empty-category{padding:30px 22px}}


/* Version 2.6 – ausschließlich WooCommerce Kundenkonto > Adressen */
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses,
.woocommerce-page .woocommerce-MyAccount-content .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses::before,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses::after { content: none; }
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address,
.woocommerce-page .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
  float: none;
  width: auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf7;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 {
  float: none;
  width: auto;
  max-width: 100%;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h2,
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 {
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
  margin: 0 0 12px;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title .edit {
  float: none;
  display: inline-block;
  margin: 0 0 14px;
}
.woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses address {
  overflow-wrap: anywhere;
  line-height: 1.6;
}
@media (max-width: 780px) {
  .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses,
  .woocommerce-page .woocommerce-MyAccount-content .woocommerce-Addresses {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
