/* RETRO Sport 2026 – WooCommerce v tmavom brande (klasické šablóny aj bloky Košík/Pokladňa). */

.woocommerce,.woocommerce-page{color:var(--rs-ink)}
.rs-woo-wrap,.rs-woo-page .wrap{padding-top:30px}
.woocommerce a:not(.button):not(.btn){color:var(--rs-blue)}
.woocommerce a:not(.button):not(.btn):hover{color:var(--rs-sand)}

/* Tlačidlá */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce-page a.button,.woocommerce-page button.button,.woocommerce-page input.button,
.woocommerce .wc-block-components-button,.wc-block-components-button:not(.is-link),.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button{
	--cut:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:14px 22px;
	font-family:var(--rs-font-body);font-size:15px;font-weight:700;line-height:1.25;text-decoration:none;
	background:linear-gradient(180deg,var(--rs-btn-dark-top),var(--rs-btn-dark-bottom));color:#f5f3ee;
	border:0;border-radius:0;box-shadow:inset 0 0 0 1px #4a4a4a,inset 0 -4px 0 #111;
	clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,var(--cut) 100%,0 calc(100% - var(--cut)));cursor:pointer}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce-page a.button:hover,.woocommerce-page button.button:hover{background:linear-gradient(180deg,#3b3b3b,#272727);color:#fff}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.woocommerce #respond input#submit.alt,
.woocommerce button.single_add_to_cart_button,.woocommerce a.checkout-button,.woocommerce #place_order,
.woocommerce ul.products li.product .button,
.wc-block-cart__submit-button,.wc-block-components-checkout-place-order-button,.wc-block-components-button.contained{
	background:linear-gradient(180deg,var(--rs-sand-top),var(--rs-sand-bottom));color:var(--rs-sand-ink);box-shadow:inset 0 -4px 0 var(--rs-sand-edge),inset 0 1px 0 #f2e6c4}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce button.single_add_to_cart_button:hover,.woocommerce a.checkout-button:hover,.woocommerce #place_order:hover,.woocommerce ul.products li.product .button:hover,.wc-block-cart__submit-button:hover,.wc-block-components-checkout-place-order-button:hover{background:linear-gradient(180deg,#eee2bd,#d8c794);color:var(--rs-sand-ink)}
.woocommerce .button:disabled,.woocommerce .button.disabled{opacity:.5;cursor:not-allowed}
.woocommerce a.checkout-button,.woocommerce #place_order{width:100%;min-height:56px;font-size:17px}

/* Oznamy */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice,.wc-block-components-notice-banner{
	list-style:none;margin:0 0 26px;padding:16px 20px 16px 22px;background:#0e0e0c;color:var(--rs-ink);border:1px solid #393323;border-left:4px solid var(--rs-sand);border-radius:0 14px 0 0;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.woocommerce-error,.wc-block-components-notice-banner.is-error{border-left-color:#d9776c}
.woocommerce-info{border-left-color:var(--rs-blue)}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-error li{margin:0;list-style:none}

/* Zoznam produktov (grid; žiadne floaty) */
.woocommerce ul.products,.woocommerce-page ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px;margin:0 0 40px;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:auto!important;margin:0!important;float:none!important;clear:none!important;padding:0;list-style:none;display:flex!important;flex-direction:column;background:#0b0b0b;border:1px solid var(--rs-line);border-radius:16px;overflow:hidden}
.woocommerce ul.products li.product a img{margin:0;border-radius:0;aspect-ratio:1.25;object-fit:cover;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--rs-font-display);font-size:24px;font-weight:600;line-height:1.15;color:var(--rs-ink);padding:18px 20px 6px;margin:0}
.woocommerce ul.products li.product .price{color:var(--rs-sand);font-size:18px;font-weight:700;padding:0 20px;margin-bottom:16px;display:block}
.woocommerce ul.products li.product .button{margin:auto 20px 20px;align-self:flex-start}
.woocommerce ul.products li.product .added_to_cart{margin:-8px 20px 18px;font-size:14px}
@media(max-width:1050px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:1fr}}
.woocommerce span.onsale{background:var(--rs-sand);color:var(--rs-sand-ink);border-radius:0 10px 0 0;min-height:auto;min-width:auto;line-height:1;padding:8px 12px;font-weight:700;top:12px;left:12px}
.woocommerce-result-count{color:var(--rs-muted)}
.woocommerce-ordering{margin-bottom:26px}
.woocommerce-ordering select{width:auto;min-width:220px}
.woocommerce nav.woocommerce-pagination ul{display:flex;gap:8px;border:0;justify-content:center}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none!important;display:block!important}
.woocommerce nav.woocommerce-pagination ul li .page-numbers{min-width:46px;min-height:46px;display:inline-flex;align-items:center;justify-content:center;background:#191919;border:1px solid #414141;color:#cbd0d2}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--rs-sand);color:var(--rs-sand-ink)}

/* Detail produktu */
.woocommerce div.product{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:50px;align-items:start}
.woocommerce div.product>*{grid-column:1/-1}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none!important;width:auto!important;margin:0;grid-column:auto}
.woocommerce div.product div.images img{border-radius:16px}
.woocommerce div.product div.images .flex-control-thumbs{display:flex;gap:8px;margin-top:10px;padding:0}
.woocommerce div.product div.images .flex-control-thumbs li{width:80px!important;float:none!important;list-style:none!important;margin:0!important}
.woocommerce div.product .product_title{font-family:var(--rs-font-display);font-size:clamp(40px,4.5vw,64px);line-height:1;margin-bottom:16px}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--rs-sand);font-size:28px;font-weight:700}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:24px 0}
.woocommerce div.product form.cart .variations{margin-bottom:10px}
.woocommerce div.product form.cart .variations th,.woocommerce div.product form.cart .variations td{border:0;padding:6px 10px 6px 0}
.woocommerce .quantity .qty{width:84px;min-height:48px;text-align:center}
.woocommerce div.product .woocommerce-tabs{margin-top:20px}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex!important;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 20px;border:0}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.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{float:none!important;margin:0!important;padding:0;background:none;border:0;border-radius:0;list-style:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:12px 20px;background:linear-gradient(180deg,#292929,#191919);border:1px solid #414141;border-radius:12px;color:#cbd0d2;font-weight:600}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{background:linear-gradient(180deg,#3d3930,#2c2922);border-color:#ac9b6d;color:#f2e4bb}
.woocommerce div.product .woocommerce-tabs .panel{color:var(--rs-ink)}
.woocommerce .related>h2,.woocommerce .upsells>h2{font-size:clamp(32px,3.5vw,48px);margin:40px 0 24px}
@media(max-width:900px){.woocommerce div.product{grid-template-columns:1fr;gap:30px}}

/* Košík / Pokladňa / Môj účet (klasické shortcode stránky) */
.woocommerce table.shop_table{border:1px solid var(--rs-line);border-radius:16px;border-collapse:separate;border-spacing:0;overflow:hidden;background:#0b0b0b}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border-top:1px solid var(--rs-line);border-bottom:0;padding:16px 14px;color:var(--rs-ink)}
.woocommerce table.shop_table thead th{border-top:0;color:var(--rs-muted);font-size:14px;font-weight:600}
.woocommerce table.shop_table img{width:72px;border-radius:8px}
.woocommerce a.remove{color:#d9776c!important;font-size:22px}
.woocommerce a.remove:hover{background:#d9776c;color:#000!important}
.woocommerce table.cart td.actions .coupon{display:flex;gap:10px;flex-wrap:wrap}
.woocommerce table.cart td.actions .coupon .input-text{width:220px;min-height:48px}
.woocommerce .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{float:none;width:100%;max-width:520px;margin-left:auto}
.woocommerce .cart_totals h2,.woocommerce-checkout h3,#order_review_heading{font-size:32px}
.woocommerce form .form-row{margin:0 0 16px;padding:0}
.woocommerce form .form-row label{font-size:15px;color:#d0d4d6;margin-bottom:6px;display:block}
.woocommerce form .form-row .required{color:var(--rs-sand)}
.woocommerce form .form-row.woocommerce-invalid input.input-text{border-color:#d9776c}
.woocommerce-checkout .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:auto}
.woocommerce-checkout .col2-set::before,.woocommerce-checkout .col2-set::after{display:none}
@media(max-width:900px){.woocommerce-checkout .col2-set{grid-template-columns:1fr}}
.woocommerce-checkout #payment{background:#0e0e0c;border:1px solid #393323;border-radius:20px}
.woocommerce-checkout #payment ul.payment_methods{border-color:var(--rs-line);padding:20px}
.woocommerce-checkout #payment ul.payment_methods li{list-style:none!important;float:none!important;margin:0 0 10px!important}
.woocommerce-checkout #payment div.payment_box{background:#1b1b1b;color:var(--rs-ink);border-radius:10px}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#1b1b1b}
.woocommerce-checkout #payment div.form-row{padding:20px}
.select2-container--default .select2-selection--single{background:#111;border:1px solid var(--rs-line-strong);border-radius:10px;min-height:48px}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--rs-ink);line-height:46px;padding-left:14px}
.select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
.select2-dropdown{background:#111;border-color:var(--rs-line-strong);color:var(--rs-ink)}
.select2-container--default .select2-results__option--highlighted[aria-selected],.select2-container--default .select2-results__option--highlighted[data-selected]{background:#28251d;color:#e4d3a1}
.select2-search--dropdown .select2-search__field{background:#000;color:var(--rs-ink)}

/* Môj účet */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:40px;align-items:start}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper,.woocommerce-account .woocommerce>.u-columns,.woocommerce-account .woocommerce>h2,.woocommerce-account .woocommerce>form{grid-column:1/-1}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:12px;background:#0b0b0b;border:1px solid #4f4733;border-radius:15px;display:grid;gap:4px}
.woocommerce-MyAccount-navigation ul li{list-style:none!important;float:none!important;margin:0!important;padding:0!important;display:block!important}
.woocommerce-MyAccount-navigation ul li a{display:block;padding:11px 12px;border-radius:9px;color:#d9d9d9!important;text-decoration:none}
.woocommerce-MyAccount-navigation ul li a:hover,.woocommerce-MyAccount-navigation ul li.is-active a{background:#28251d;color:#e4d3a1!important}
.woocommerce-account .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:40px}
.woocommerce-account .u-columns .u-column1,.woocommerce-account .u-columns .u-column2{float:none;width:auto}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon,.woocommerce form.lost_reset_password{border:1px solid #393323;border-radius:20px;background:#0e0e0c;padding:28px;margin:0 0 24px}
@media(max-width:900px){.woocommerce-account .woocommerce,.woocommerce-account .u-columns{grid-template-columns:1fr}}
.woocommerce-order-overview{display:flex;flex-wrap:wrap;gap:20px;padding:0}
.woocommerce-order-overview li{list-style:none!important;float:none!important;border-right:1px solid var(--rs-line)!important;padding-right:20px!important}

/* WooCommerce bloky (Košík/Pokladňa) – text na tmavom pozadí */
.wc-block-cart,.wc-block-checkout,.wp-block-woocommerce-cart,.wp-block-woocommerce-checkout{color:var(--rs-ink)}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-block-components-select select,.wc-blocks-components-select__select{background:#111!important;color:var(--rs-ink)!important;border-color:var(--rs-line-strong)!important}
.wc-block-components-text-input label,.wc-block-components-combobox label,.wc-blocks-components-select__label{color:#aaa!important}
.wc-block-components-totals-wrapper,.wc-block-components-order-summary,.wc-block-components-sidebar{border-color:var(--rs-line)!important}
.wc-block-components-product-name{color:var(--rs-ink)!important}
.wc-block-components-product-price,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--rs-sand)}
.wc-block-components-radio-control__input{border-color:#777!important;background:#111!important}
.wc-block-components-radio-control__input:checked::before{background:var(--rs-sand)!important}

/* 0013: tlačidlo „Pokračovať do pokladne“ (blokový košík) – tmavý text na pieskovom pozadí (predtým zdedená farba odkazu) */
.wc-block-cart__submit-button,.wc-block-cart__submit-button:visited,.wc-block-cart__submit-button .wc-block-components-button__text,
.wc-block-components-checkout-place-order-button,.wc-block-components-checkout-place-order-button .wc-block-components-button__text{color:var(--rs-sand-ink,#1d1a12)!important;text-decoration:none!important}
/* 0013: názov produktu v Zhrnutí objednávky (pokladňa) – H3 dedil 32 px z nadpisov témy */
.wc-block-components-order-summary-item .wc-block-components-product-name,
.wc-block-components-order-summary .wc-block-components-product-name{font-family:var(--rs-font-body)!important;font-size:15px!important;line-height:1.4!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;margin:0 0 4px!important}
