/* Kralytsch · Anpassungen für WordPress und WooCommerce */

/* Admin-Leiste (nur für angemeldete Nutzer) */
.admin-bar .site-head{top:32px}
@media (max-width:782px){.admin-bar .site-head{top:46px}}
@media (max-width:600px){.admin-bar .site-head{top:0}}

/* Shop-Seiten: Warenkorb, Kasse, Konto */
.kr-wc{font-family:var(--sans);color:var(--text)}
.kr-wc h1,.kr-wc h2,.kr-wc h3{font-family:inherit}
.kr-wc .wc-block-components-title,.kr-wc .wc-block-cart__totals-title,.kr-wc .wc-block-components-checkout-step__title{font-family:var(--serif,inherit);font-weight:500;letter-spacing:0;text-transform:none}
.kr-wc a{color:var(--green)}
.kr-wc .wc-block-components-button:not(.is-link),
.kr-wc .wc-block-cart__submit-button,
.kr-wc .wc-block-components-checkout-place-order-button,
.kr-wc .button,.kr-wc button.button,.kr-wc a.button,.kr-wc input.button{
 min-height:52px;padding:14px 28px;border-radius:999px;border:1px solid var(--green);background:var(--green);color:var(--ivory);
 font:500 13px/1.2 var(--sans);letter-spacing:.14em;text-transform:uppercase;text-decoration:none;box-shadow:none;transition:background .3s,color .3s}
.kr-wc .wc-block-components-button:not(.is-link):hover,
.kr-wc .button:hover{background:var(--green-2,var(--green));color:var(--ivory)}
.kr-wc .wc-block-components-text-input input,.kr-wc .wc-block-components-combobox input,.kr-wc .wc-blocks-components-select select,
.kr-wc input.input-text,.kr-wc select,.kr-wc textarea{border-radius:12px;border-color:var(--line)}
.kr-wc .wc-block-components-text-input.is-active input,.kr-wc input:focus,.kr-wc select:focus{border-color:var(--gold)}
.kr-wc .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.kr-wc .wc-block-components-totals-footer-item .wc-block-components-totals-item__label{font-size:20px}
.kr-wc .wc-block-components-product-name{color:var(--ink,var(--text));font-weight:500;text-decoration:none}
.kr-wc .wc-block-components-sidebar-layout{margin-bottom:0}
.kr-wc .wc-block-components-notice-banner{border-radius:12px}
.kr-wc .wc-block-cart__empty-cart__title{font-size:28px}

/* Inhalte aus dem WordPress-Editor (Rechtstexte) */
.prose .wp-block-heading{margin-top:1.6em}
.prose .wp-block-list{padding-left:1.2em}
.prose figure{margin:24px 0}

/* Bestellbestätigung und Kundenkonto */
.kr-wc h2,.kr-wc .woocommerce-order-details__title,.kr-wc .woocommerce-column__title{font-size:clamp(24px,2.6vw,32px);margin:40px 0 16px}
.kr-wc table.shop_table{border-radius:14px;border-color:var(--line);background:#fff}
.kr-wc .woocommerce-order-overview{margin:24px 0 8px}
.kr-wc address{border-radius:14px;border-color:var(--line);background:#fff;font-style:normal}

/* Farbfelder W05 nach Angaben Dr. Yu: Weiß ca. RGB 206/197/196, Schwarz ca. RGB 7/7/7 */
.sw-weiss{background:linear-gradient(135deg,#DED7D6,#CEC5C4)}
.sw-schwarz{background:linear-gradient(135deg,#2B2B2B,#070707)}

/* AGB-Häkchen in der Kasse gut sichtbar machen */
.kr-wc .wc-gzd-checkbox{background:var(--ivory);border:1px solid var(--gold);border-radius:12px;padding:14px 16px;margin:18px 0}
.kr-wc .wc-gzd-checkbox .wc-block-components-checkbox__input{border:2px solid var(--gold-ink);width:22px;height:22px;min-width:22px;background:#fff}
.kr-wc .wc-gzd-checkbox.has-error{border-color:#b3261e;background:#fdf1f0}

/* Footer: Rechtstexte als eigene Spalte (v1.0.4) */
@media (min-width:1241px){.foot-grid{grid-template-columns:minmax(0,1.15fr) repeat(4,minmax(0,1fr));gap:32px}}

/* EU-Gewährleistungslabel (Germanized) in Warenkorb und Kasse: kompakte Vorschau, Klick zeigt das Label in voller Größe */
.wc-gzd-legal-guarantee-checkout{margin:28px 0 8px}
.wc-gzd-legal-guarantee-image-preview{display:block;width:220px;max-width:100%;height:auto;border-radius:6px;box-shadow:0 2px 10px rgba(15,42,34,.12);transition:box-shadow .2s}
.wc-gzd-legal-guarantee .wc-gzd-popover-trigger:hover .wc-gzd-legal-guarantee-image-preview{box-shadow:0 4px 18px rgba(15,42,34,.22)}
.wc-gzd-legal-guarantee .wc-gzd-popover-trigger{display:inline-block;cursor:zoom-in}
/* Widerrufsbutton: hervorgehoben in der Spalte Rechtliches */
.site-foot .foot-legal a[href*="vertrag-widerrufen"]{display:inline-block;margin-top:6px;padding:6px 16px;border:1px solid var(--gold-2);border-radius:999px;color:var(--gold-2);font-size:14px;letter-spacing:.02em}
.site-foot .foot-legal a[href*="vertrag-widerrufen"]:hover{background:var(--gold-2);color:var(--green-900)}

/* W05-Galerie: Blick aufs nächste Bild, Punkte mit Zeitbalken (Theme-Zusatz) */
.gal{grid-auto-columns:calc((100% - 66px) / 3.3)}
@media (max-width:1240px){.gal{grid-auto-columns:calc((100% - 44px) / 2.25)}}
@media (max-width:640px){.gal{grid-auto-columns:84%}}
.kr-gal:not(.kr-end) .gal{-webkit-mask-image:linear-gradient(90deg,#000 86%,rgba(0,0,0,.35));mask-image:linear-gradient(90deg,#000 86%,rgba(0,0,0,.35))}
.kr-gal .gal-bar{justify-content:center;margin-top:30px}
.kr-gal .gal-progress,.kr-gal .gal-hint{display:none}
.gal-dots{display:flex;align-items:center;gap:6px}
.gal-dots button{padding:10px 3px;border:0;background:none;cursor:pointer;line-height:0}
.gal-dots i{display:block;position:relative;width:9px;height:9px;border-radius:999px;background:#D6CCB9;overflow:hidden;transition:width .45s var(--ease),background .3s}
.gal-dots button:hover i{background:var(--gold)}
.gal-dots button.on i{width:46px;background:#E6DFD2}
.gal-dots button.on i::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--green);transform-origin:left center}
.kr-auto .gal-dots button.on i::after{animation:krDot var(--kr-dur,3000ms) linear both}
.kr-paused .gal-dots button.on i::after{animation-play-state:paused}
@keyframes krDot{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.kr-gal .arr.next:not(:disabled){background:var(--green);color:var(--gold-2);border-color:var(--green)}
.gal-dots{gap:8px}
.gal-dots i{width:10px;height:10px;background:#C9BDA6}
.gal-dots button.on i{width:54px;background:#E3DACB}

/* Ausverkauft */
.is-soldout [data-add]{background:#d9d4c7!important;color:#5a5a52!important;border-color:#d9d4c7!important;cursor:not-allowed;box-shadow:none!important;transform:none!important}
.is-soldout .qty{opacity:.45}
