/* [AI:gpt 2026-10-06] Prenos CZ dizajnu pre SK; denník #3217; vrátenie: obnoviť zálohu konceptu. */
/* [AI:claude 2026-09-27] Redizajn stránky Košík (WooCommerce Cart block); denník #538.
   Vrátenie: zmazať tento súbor a jeho enqueue v inc/cart.php, a triedu ds-cart-page v page.php.

   Layout (.wp-block-woocommerce-* triedy) je server-rendered a overený cez get_page_html.
   Vnútro položiek (.wc-block-* komponenty nižšie) je vykresľované až v prehliadači cez
   Store API/React – tieto pravidlá neboli vizuálne overené nástrojom, skontroluj naživo. */

.ds-cart-page{max-width:1100px!important}
.ds-cart-page>header{margin-bottom:36px}
.ds-cart-page h1{font-family:Georgia,serif;font-weight:400}

/* Dvojstĺpcový layout: položky vľavo, súhrn objednávky vpravo.
   [AI:claude 2026-09-27] Opravené – vnútorný "main" kontajner bloku mal vlastné
   max-width a nerozťahoval sa do šírky grid/flex bunky, preto bola medzi
   stĺpcami veľká prázdna medzera; denník #538. */
.wp-block-woocommerce-filled-cart-block{display:flex;flex-wrap:wrap;gap:44px;align-items:flex-start}
.wp-block-woocommerce-cart-items-block{flex:1 1 480px;min-width:0;max-width:none!important;width:auto!important}
.wp-block-woocommerce-cart-totals-block{flex:0 1 340px;max-width:340px;position:sticky;top:24px}
.wc-block-cart__main,.wc-block-cart-items,.wc-block-components-main,.wc-block-cart__sidebar{width:100%!important;max-width:none!important}
.wp-block-woocommerce-cart-order-summary-block{background:#f9faf6;border:1px solid #d8dfcf;border-radius:8px;padding:26px}
.wp-block-woocommerce-cart-order-summary-heading-block h2,.wp-block-woocommerce-cart-order-summary-heading-block h3{font-size:18px;font-family:Georgia,serif;font-weight:400;margin-bottom:16px}
.wp-block-woocommerce-cart-express-payment-block{margin-top:16px}
.wp-block-woocommerce-cart-accepted-payment-methods-block{margin-top:18px;opacity:.85}
.wp-block-woocommerce-empty-cart-block{text-align:center;padding:64px 24px;background:#f1eee5;border-radius:8px}
.wp-block-woocommerce-empty-cart-block h2{font-family:Georgia,serif;font-weight:400;margin-bottom:14px}

/* Tlačidlo "Pokračovať k pokladně" – rovnaký štýl ako zvyšok webu. */
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button,
.wp-block-woocommerce-proceed-to-checkout-block .wp-element-button{
  width:100%;background:#304b3f!important;color:#fff!important;border-radius:4px!important;
  font-weight:700;min-height:52px;border:0!important
}
.wp-block-woocommerce-proceed-to-checkout-block .wc-block-components-button:hover{background:#223b30!important}

/* Riadky položiek a bežné WooCommerce Blocks komponenty. */
.wc-block-cart-items{border-top:1px solid #e0e3d7}
.wc-block-cart-items__row,.wc-block-cart-item{padding:22px 0;border-bottom:1px solid #e0e3d7}
.wc-block-cart-item__image img,.wc-block-components-product-image img{border-radius:6px;object-fit:cover}
.wc-block-components-product-name{font-weight:700;color:#20372d;text-decoration:none}
.wc-block-components-product-metadata,.wc-block-components-product-metadata__description{font-size:12px;color:#70776c;line-height:1.6}
.wc-block-components-quantity-selector{border:1px solid #cdd4c5!important;border-radius:4px!important}
.wc-block-components-quantity-selector__button{background:#f6f7f2!important}
.wc-block-components-product-price,.wc-block-components-totals-item__value{font-family:Georgia,serif}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{font-size:22px}
.wc-block-cart-item__remove-link,.wc-block-components-product-name:hover{color:#304b3f}
.wc-block-components-totals-coupon__button,.wc-block-components-totals-coupon a{color:#304b3f}

@media(max-width:900px){
  .wp-block-woocommerce-filled-cart-block{flex-direction:column}
  .wp-block-woocommerce-cart-items-block,.wp-block-woocommerce-cart-totals-block{flex-basis:auto;max-width:none}
  .wp-block-woocommerce-cart-totals-block{position:static}
}

