/* Biskato 5.17 — a shared, compact product and price system. */
:root{--bk-forest:#222;--bk-soft:#f6f7f8;--bk-price:#246447;--bk-old-price:#70767a}

/* One frame, one reading edge, stable rows for discounted and regular cards. */
ul.products,.zd-grid{gap:24px 16px;align-items:stretch}
.zd-card{position:relative;display:flex;flex-direction:column;min-width:0;height:100%;padding:12px;border:1px solid #e6e8e9;border-radius:12px;background:#fff;text-align:start;transition:border-color .18s ease}
.zd-card:hover,.zd-card:focus-within{border-color:#a9cdd3}
.zd-card .zd-card__media{display:block;position:relative;overflow:hidden;border-radius:8px;background:#fff}
.zd-card .zd-card__img{aspect-ratio:1;border:0;border-radius:8px;background:#fff}
.zd-card .zd-card__img img{padding:6%}
.zd-card .zd-card__body{order:2;flex:1;display:grid;grid-template-areas:"title" "spec" "price";grid-template-rows:44.8px 20px minmax(42px,auto);align-content:start;align-items:start;gap:6px;width:100%;min-width:0;padding:12px 0}
.zd-card .zd-card__title{grid-area:title;font-size:14px;font-weight:500;line-height:1.6;height:3.2em;min-height:0;margin:0;text-wrap:wrap;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.zd-card__title a{display:inline;min-height:0}
.zd-card .zd-card__spec{grid-area:spec;margin:0;min-width:0;font-size:12px;line-height:20px;color:#62686b;white-space:nowrap}
.zd-card .zd-card__price{grid-area:price;display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin:0;min-width:0;line-height:1.5}
.zd-card__price .bk-carton-label{display:block;flex-basis:auto;margin:0;font-size:11px;line-height:16px;color:#62686b;font-weight:400}
.zd-card__price .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 7px;margin:0;min-height:24px;font-size:16px;font-weight:600;line-height:24px;color:var(--bk-price);font-variant-numeric:tabular-nums}
.zd-card__price .price>ins{order:0}
.zd-card__price .price>del{order:1;display:inline;margin:0;font-size:12px;line-height:18px}
.zd-card__price .price .amount{font-size:inherit;font-weight:inherit;color:inherit;white-space:nowrap;display:inline-block;direction:ltr;unicode-bidi:isolate}
.zd-card__price .price ins,.zd-card__price .price ins .amount{color:var(--bk-price);text-decoration:none}
.zd-card__price .price del,.zd-card__price .price del .amount{color:var(--bk-old-price);font-weight:400}
.zd-card__price .woocommerce-Price-currencySymbol{font-size:.75em;font-weight:400}
/* The carton unit is stated once above the price. */
.zd-card__price .zd-per{display:none}

.zd-card .zd-card__actions{order:3;position:static;display:flex;opacity:1;transform:none;justify-content:stretch;margin:0;padding:0;gap:0}
.zd-card .zd-card__actions .zd-cart-ctl{--h:44px;width:100%;flex:1}
.zd-card .zd-card__actions .zd-cart-ctl__add{width:100%;height:44px;min-height:44px;padding:0 8px;background:#222;color:#fff;border:1px solid #222;border-radius:7px;box-shadow:none;font-size:13px;font-weight:500;transition:background .18s}
.zd-card .zd-card__actions .zd-cart-ctl__add:hover{background:#13798a;border-color:#13798a;color:#fff}
.zd-card .zd-card__actions .zd-cart-ctl__stepper{width:100%;height:44px;min-height:44px;padding:0;border:1px solid #bfd7dc;border-radius:7px;background:#f1f8f9;color:#222;box-shadow:none}
.zd-card .zd-step{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:6px;background:transparent;color:#245a63}
.zd-card .zd-step:hover{background:#dceff2;color:#173c43}
.zd-card .zd-step__input{color:#222;font-size:14px;font-weight:600}
.zd-card .zd-step__input:focus,.zd-card .zd-step:focus-visible{outline:2px solid #13798a;outline-offset:-3px;border-radius:5px}
html.zd-syncing .zd-card .zd-cart-ctl.is-dirty .zd-cart-ctl__stepper{background:#e4eef0}
.zd-card .zd-card__badges{top:6px;inset-inline-start:6px}
.zd-card .zd-card__badges .zd-badge--sale{width:auto;height:auto;min-height:24px;padding:2px 7px;border-radius:4px;font-size:10px;line-height:20px;background:#edf5f1;color:#246447}
.zd-card__qv,.zd-card__brand,.zd-card__tools,.zd-profit,.zd-profit-line,.zd-qo-row__profit,.zd-sr__profit,.zd-qv__profit,.zd-unit-price{display:none!important}

/* The same restrained hierarchy on product and order screens. */
.summary>.price{font-size:20px;font-weight:600;line-height:1.6;margin:14px 0 8px;color:var(--bk-price)}
.summary>.price .amount,.zd-qo-row__price .price .amount{font-size:inherit;color:inherit}
.summary>.price ins,.zd-qo-row__price .price ins{color:var(--bk-price);text-decoration:none}
.summary>.price del{font-size:14px}
.summary>.price del,.summary>.price del .amount,.zd-qo-row__price .price del,.zd-qo-row__price .price del .amount{color:var(--bk-old-price);font-weight:400}
.summary>.price .woocommerce-Price-currencySymbol{font-size:.7em;font-weight:400}
.summary>.price .zd-per{font-size:12px}
.zd-qo-brandfilter{flex-wrap:wrap;gap:8px}.zd-qo-brand{min-height:44px}
.zd-qo-row__tr{display:none}
.zd-qo-row__price .price{font-size:15px;font-weight:600;line-height:1.5;color:var(--bk-price);font-variant-numeric:tabular-nums}
.zd-qo-row__price .price .amount,.summary>.price .amount{white-space:nowrap;display:inline-block;direction:ltr;unicode-bidi:isolate}
.zd-qo-row__price .price del{font-size:11px}
.zd-qo-row__price .price .woocommerce-Price-currencySymbol{font-size:.8em}
.zd-qo-row__price .zd-per{display:block;font-size:11px;line-height:1.5}
.zd-qo-row .zd-cart-ctl--row{--h:44px;min-width:44px}
.zd-qo-row .zd-cart-ctl--row .zd-cart-ctl__add{width:44px;height:44px}
.zd-qo-row .zd-cart-ctl--row .zd-cart-ctl__stepper{width:136px;height:44px;padding:0}
.zd-qo-row .zd-step{width:44px;height:44px}
.zd-qo-bar{box-shadow:0 4px 16px #182d350a}
.zd-orderbar__go,.zd-qo-summary__checkout{min-height:48px}.zd-orderbar__cart{min-height:52px}
.zd-orderbar__total,.zd-qo-summary__total b{font-size:17px;line-height:1.5;font-weight:600;font-variant-numeric:tabular-nums}
[data-bk-sync-status]{font-size:13px;color:#a13924}.zd-syncing [data-zd-checkout]{cursor:progress}
.bk-preview-total{font-size:18px;line-height:1.6;margin:24px 0}
.bk-preview-lines{list-style:none;padding:0;margin:24px 0}
.bk-preview-lines li{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:12px 24px;align-items:center;border-bottom:1px solid #e5e5e5;padding:16px 0;font-size:14px}
.bk-preview-lines a{color:#13798a}.bk-preview-lines span{color:#62686b;font-size:13px;font-variant-numeric:tabular-nums}
.bk-preview-lines strong{font-size:15px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}
.widget_shopping_cart_content .bk-preview-lines li{grid-template-columns:minmax(0,1fr);gap:6px}
@media(min-width:1024px){ul.products,.zd-grid{gap:28px 20px}.zd-card{padding:14px}}
@media(max-width:767px){
 /* A dedicated price/quantity row keeps names stable after selecting a product. */
 .zd-qo-row{grid-template-columns:48px minmax(0,1fr) auto;grid-template-areas:"art info info" "price price ctl";gap:10px 12px;padding:12px}
 .zd-qo-row__art{width:48px;height:48px}.zd-qo-row__name{font-size:14px;line-height:1.6}.zd-qo-row__meta{font-size:12px}
 .zd-qo-row__price{text-align:start}.zd-qo-row .zd-cart-ctl{justify-self:end}
}
@media(max-width:639px){
 ul.products,.zd-grid{gap:20px 10px}ul.products.zd-grid--home,.zd-grid.zd-grid--home{gap:10px}
 .zd-card{padding:9px;border-radius:10px}
 .zd-card .zd-card__body{grid-template-rows:41.6px 20px minmax(42px,auto);padding:10px 0;gap:5px}
 .zd-card .zd-card__title{font-size:13px}.zd-card .zd-card__spec{font-size:11px}
 .zd-card .zd-card__price .price{font-size:15px;gap:2px 5px}.zd-card .zd-card__price .price del{font-size:11px}
 .zd-card .zd-card__actions .zd-cart-ctl__add{font-size:12px;padding-inline:5px}
 .summary>.price{font-size:18px}.summary>.price del{font-size:12px}
 .zd-qo-hero__intro{font-size:14px}.zd-qo-steps{display:none!important}.zd-qo-brandfilter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:5px}.zd-qo-brand{flex-shrink:0}.zd-qo-print{display:none}.zd-qo-summary__actions{gap:8px}
 .bk-preview-lines li{grid-template-columns:minmax(0,1fr) auto;gap:8px}.bk-preview-lines a{grid-column:1/-1}.bk-preview-lines strong{text-align:end}
}
@media(prefers-reduced-motion:reduce){.zd-card,.zd-card .zd-cart-ctl__add{transition:none}}
