/* RhyKI Editorial — WooCommerce-Anpassungen (Arbeitskits) */

/* ── Grundton ── */
.rhyki-woo .woo-section{padding:54px 0 78px}
.woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin:0 0 18px}
.woocommerce-breadcrumb a{color:var(--water);text-decoration:none;font-weight:700}

/* ── Buttons auf Theme-Stil ── */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #place_order,
.wc-block-components-button{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border-radius:999px;padding:14px 22px;min-height:52px;
  background:var(--deep);color:#fff;font-weight:800;font-size:15px;
  border:1px solid transparent;text-decoration:none;cursor:pointer;
  font-family:'IBM Plex Sans',system-ui,sans-serif;transition:background .15s;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce #place_order:hover{background:var(--water);color:#fff}
.woocommerce a.button.added:after{margin-left:6px}

/* ── Hinweise / Notices ── */
.woocommerce-message,.woocommerce-info,.woocommerce-error{
  border-top:none;border-left:3px solid var(--gold);background:var(--cream);
  color:var(--ink);border-radius:0 14px 14px 0;padding:14px 18px 14px 46px;
}
.woocommerce-message::before,.woocommerce-info::before{color:var(--water)}
.woocommerce-error{border-left-color:var(--copper)}
.woocommerce-error::before{color:var(--copper)}

/* ── Produkt-Archiv (Fallback /shop/) & Karten ── */
.woocommerce ul.products li.product{
  background:rgba(255,252,245,.76);border:1px solid rgba(24,61,47,.13);
  border-radius:var(--radius);box-shadow:var(--shadow);padding:22px;text-align:left;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:'Fraunces',Georgia,serif;font-size:22px;color:var(--deep);padding:10px 0 4px;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price{
  color:var(--deep);font-family:'Fraunces',Georgia,serif;font-weight:700;font-size:26px;
}
.woocommerce ul.products li.product img{border-radius:18px}

/* ── Einzelprodukt ── */
.woocommerce div.product .product_title{
  font-size:clamp(34px,4.5vw,52px);line-height:1.02;margin-bottom:10px;
}
.woocommerce div.product div.images img{border-radius:24px;border:1px solid rgba(24,61,47,.13);box-shadow:var(--shadow)}
.woocommerce div.product form.cart{margin:22px 0}
.woocommerce div.product form.cart .button{font-size:16px;padding:16px 28px}
.woocommerce div.product .woocommerce-product-details__short-description{
  font-size:18px;color:#405047;max-width:640px;
}
.woocommerce div.product .product_meta{font-size:13px;color:var(--muted);margin-top:14px}
.woocommerce div.product .product_meta a{color:var(--water)}

/* Tabs → ruhige Liste */
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:34px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-bottom:1px solid var(--line)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  background:transparent;border:none;border-radius:0;margin:0 18px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  color:var(--muted);font-weight:800;padding:12px 2px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
  color:var(--deep);box-shadow:inset 0 -3px 0 var(--gold);
}
.woocommerce div.product .woocommerce-tabs .panel{max-width:760px}
.woocommerce-Tabs-panel h2:first-of-type{display:none}
.woocommerce-Tabs-panel h2{font-size:clamp(24px,3vw,32px)}
.woocommerce-Tabs-panel .lead{font-size:19px;color:#405047}
.woocommerce-Tabs-panel hr{border:none;border-top:1px solid var(--line);margin:26px 0}

/* Related */
.woocommerce .related.products>h2{font-size:clamp(26px,3.4vw,38px);margin-top:48px}

/* ── Warenkorb ── */
.woocommerce table.shop_table{
  border:1px solid rgba(24,61,47,.13);border-radius:18px;border-collapse:separate;overflow:hidden;
  background:rgba(255,252,245,.76);
}
.woocommerce table.shop_table th{background:var(--sage);color:var(--deep);font-weight:800}
.woocommerce table.shop_table td{border-top:1px solid var(--line)}
.woocommerce a.remove{color:var(--copper)!important}
.woocommerce a.remove:hover{background:var(--copper);color:#fff!important}
.woocommerce .cart-collaterals .cart_totals h2{font-size:26px}
.woocommerce-cart table.cart td.actions .coupon{display:none} /* keine Rabatt-Optik */

/* ── Kasse ── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select{
  border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:var(--white);
  font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:15px;color:var(--ink);
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus{outline:2px solid var(--water);border-color:var(--water)}
.woocommerce form .form-row label{font-weight:700;font-size:13.5px;color:var(--deep)}
.woocommerce-checkout #payment{background:var(--sage);border-radius:18px}
.woocommerce-checkout #payment div.payment_box{background:rgba(255,252,245,.9);color:var(--ink)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:rgba(255,252,245,.9)}
#order_review_heading,.woocommerce-billing-fields>h3{
  font-family:'Fraunces',Georgia,serif;font-size:26px;color:var(--deep);
}
.woocommerce-additional-fields{display:none} /* keine Bestellnotizen für Downloads */
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text{font-size:13px;color:var(--muted)}

/* ── Bestellbestätigung / Danke-Seite ── */
.woocommerce-order .woocommerce-thankyou-order-received{
  font-family:'Fraunces',Georgia,serif;font-size:clamp(26px,3.4vw,38px);color:var(--deep);
  margin-bottom:16px;
}
.woocommerce ul.order_details{
  background:rgba(255,252,245,.76);border:1px solid rgba(24,61,47,.13);
  border-radius:18px;padding:22px;margin:18px 0;
}
.woocommerce ul.order_details li{font-size:12px;border-right-color:var(--line)}
.woocommerce ul.order_details li strong{font-size:16px}
.rhyki-thankyou-help{
  border-left:3px solid var(--gold);background:var(--cream);
  padding:16px 20px;border-radius:0 14px 14px 0;margin:20px 0;
}

/* Downloads-Tabelle */
.woocommerce-table--order-downloads .woocommerce-MyAccount-downloads-file{
  background:var(--deep)!important;color:#fff!important;border-radius:999px;
}

/* ── Mein Konto ── */
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0}
.woocommerce-MyAccount-navigation li{margin-bottom:6px}
.woocommerce-MyAccount-navigation li a{
  display:block;padding:11px 16px;border-radius:999px;text-decoration:none;
  color:#33443a;font-weight:700;font-size:14px;
}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover{background:rgba(24,61,47,.08);color:var(--deep)}

/* ── Mobile ── */
@media (max-width:768px){
  .rhyki-woo .woo-section{padding:34px 0 56px}
  .woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%;float:none}
  .woocommerce div.product form.cart .button{width:100%}
  .woocommerce ul.products[class*=columns-] li.product{width:100%;margin-right:0}
  .woocommerce table.shop_table_responsive tr td{background:transparent!important}
  .woocommerce-cart table.cart td.actions .button{width:100%}
  .woocommerce form .form-row input.input-text{font-size:16px} /* verhindert iOS-Zoom */
  #customer_details,.woocommerce-checkout #order_review{width:100%;float:none}
}

/* ── Kuratierte Arbeitskits-Seite ── */
.kit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:30px 0 10px}
.kit-card{display:flex;flex-direction:column;gap:10px;padding:26px;background:rgba(255,252,245,.78);border:1px solid rgba(24,61,47,.13);border-radius:var(--radius);box-shadow:var(--shadow);position:relative;overflow:hidden}
.kit-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(90deg,var(--copper),var(--gold));opacity:.72}
.kit-card h3{font-size:24px;margin:6px 0 0}
.kit-card .kit-price{font-family:'Fraunces',Georgia,serif;font-size:30px;font-weight:700;color:var(--deep);margin:4px 0 0}
.kit-card .kit-price small{font-family:'IBM Plex Sans',sans-serif;font-size:12px;font-weight:600;color:var(--muted);display:block}
.kit-card p{color:#405047;margin:0;flex-grow:1}
.kit-card .button{margin-top:14px}
.kit-card.flagship{background:var(--cream)}
.kit-list{margin:8px 0 0;padding-left:18px;color:var(--muted);font-size:14px}
.kit-gratis{display:grid;grid-template-columns:1.2fr .8fr;gap:26px;align-items:center;background:linear-gradient(160deg,var(--night),var(--deep) 55%,var(--water));color:#fff;border-radius:var(--radius);padding:34px;margin:44px 0}
.kit-gratis h2{color:#fff;font-size:clamp(26px,3.4vw,38px);margin:8px 0 10px}
.kit-gratis p{color:rgba(255,255,255,.88)}
.kit-faq{max-width:760px}
.kit-faq details{border-bottom:1px solid var(--line);padding:14px 0}
.kit-faq summary{font-weight:800;color:var(--deep);cursor:pointer;font-size:16px}
.kit-faq p{color:#405047;margin:10px 0 0}
@media (max-width:900px){.kit-grid{grid-template-columns:1fr}.kit-gratis{grid-template-columns:1fr;padding:26px}}

/* Woo .alt-Buttons (Standard-Violett) sicher auf RhyKI-Grün */
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.single_add_to_cart_button{
  background:var(--deep)!important;color:#fff!important;
  border-radius:999px!important;font-weight:800;
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover{background:var(--water)!important}
.woocommerce a.button,.woocommerce button.button{background:var(--deep);color:#fff}
