/* Medusa Design · Center mikrocementa — trgovina v novi podobi (3.18.0, 28. 10. 2026)
   Velja samo za body.md-trg (trgovina, kategorije, izdelki, košarica, blagajna, Hvala, Moj račun) v temi medusa-design-v3.
   Načelo: okostje Storefront/WooCommerce in starih slogov ostane (manjše tveganje za blagajno in Stripe),
   podobo prevzamejo žetoni Studia (barve, pisave, robovi) + ciljno preoblikovani gradniki. */

/* 1 · Preslikava žetonov */
body.md-trg{
	--md-text:var(--st-grafit);--md-text-secondary:var(--st-besedilo);--md-text-body:var(--st-besedilo);--md-text-muted:var(--st-umirjeno);
	--md-border:var(--st-crta);--md-radius:0;--md-btn:var(--st-grafit);--md-btn-hover:#000;
	--md-bg:var(--st-apno);--md-bg-2:var(--st-apno);--md-bg-3:var(--st-kamen);--md-siva:var(--st-kamen);--md-siva-hover:#DED6CA;
	--md-content-w:min(1440px,100%);
	background:var(--st-apno)!important;color:var(--st-grafit);font-family:var(--st-sans)!important;font-weight:400;
}
body.md-trg .medusa-konf{
	--ground:var(--st-apno);--panel:rgba(255,255,255,.45);--sunk:var(--st-kamen);--material:var(--st-kamen);
	--line:var(--st-crta);--line-2:#B9AFA1;--ink:var(--st-grafit);--ink-2:var(--st-besedilo);--body:var(--st-besedilo);--muted:var(--st-umirjeno);
	--btn:var(--st-grafit);--btn-ink:var(--st-apno);--r:0;--shadow:none;
	font-family:var(--st-sans)!important;background:transparent;
}
body.md-trg .medusa-konf h1,body.md-trg .medusa-konf h2,body.md-trg .medusa-konf h3{font-family:var(--st-serif)!important;font-weight:400;letter-spacing:-.01em}

/* Stara tema ima pomožni razred .md-center{text-align:center} — telo trgovine ga ne sme podedovati. */
body.md-trg.md-center{text-align:left}

/* 2 · Tipografija in osnovni elementi */
body.md-trg,body.md-trg button,body.md-trg input,body.md-trg select,body.md-trg textarea,body.md-trg .md-page,body.md-trg .md-page *{font-family:var(--st-sans)}
body.md-trg .st-trg-page h1,body.md-trg .st-trg-page h2,body.md-trg .st-trg-page h3,body.md-trg .md-h2,body.md-trg .md-h3,body.md-trg .product_title,body.md-trg .entry-title,body.md-trg .woocommerce-products-header__title,body.md-trg .md-statement{font-family:var(--st-serif)!important;font-weight:400!important;color:var(--st-grafit);letter-spacing:-.01em}
body.md-trg .st-trg-page h4,body.md-trg .st-trg-page h5,body.md-trg .st-trg-page h6{font-family:var(--st-sans)!important;font-weight:500;color:var(--st-grafit)}
body.md-trg .st-trg-page p,body.md-trg .st-trg-page li,body.md-trg .st-trg-page td,body.md-trg .st-trg-page dd{color:var(--st-besedilo)}
body.md-trg .st-trg-page a{color:var(--st-grafit)}
body.md-trg .st-trg-page a:hover{color:var(--st-bron)}
body.md-trg .md-eyebrow,body.md-trg .lab{font-size:11px!important;letter-spacing:.16em!important;text-transform:uppercase;color:var(--st-umirjeno)!important;font-weight:500!important}
body.md-trg .st-trg-page strong,body.md-trg .st-trg-page b{color:var(--st-grafit);font-weight:600}

/* 3 · Ovoj vsebine (namesto Storefront .col-full) */
body.md-trg #page.st-trg-page{background:transparent}
body.md-trg #content.site-content{padding:0;margin:0}
body.md-trg #content > .col-full{max-width:1440px!important;margin:0 auto;padding:0 6vw!important;box-sizing:border-box}
body.md-trg .content-area,body.md-trg .site-main{width:100%!important;float:none!important;margin:0!important;padding:0!important}
body.md-trg #secondary,body.md-trg .storefront-handheld-footer-bar,body.md-trg .storefront-sticky-add-to-cart{display:none!important}
body.md-trg .site-main{padding-top:28px!important;padding-bottom:72px!important}
body.md-trg .md-page-wrap,body.md-trg .md-page{max-width:none}
body.md-trg .hentry .entry-header{border:0;padding:0;margin:0 0 18px}
body.md-trg .hentry .entry-title{font-size:clamp(34px,4vw,52px)!important;line-height:1.08;margin:18px 0 8px}

/* 4 · Gumbi in obrazci */
body.md-trg .button,body.md-trg button.button,body.md-trg input[type=submit],body.md-trg .md-btn,body.md-trg .md-btn-p,body.md-trg .single_add_to_cart_button,body.md-trg .checkout-button,body.md-trg #place_order,body.md-trg .wc-forward,body.md-trg .wp-element-button{
	font-family:var(--st-sans)!important;font-size:12px!important;font-weight:500!important;letter-spacing:.16em!important;text-transform:uppercase;
	background:var(--st-grafit)!important;color:var(--st-apno)!important;border:1px solid var(--st-grafit)!important;border-radius:0!important;padding:16px 26px!important;box-shadow:none!important;line-height:1.3!important;text-decoration:none!important}
body.md-trg .button:hover,body.md-trg .md-btn-p:hover,body.md-trg .single_add_to_cart_button:hover,body.md-trg #place_order:hover,body.md-trg .checkout-button:hover{background:#000!important;color:var(--st-apno)!important}
body.md-trg .md-btn-s,body.md-trg .button.alt-line,body.md-trg a.button.wc-backward,body.md-trg button[name=update_cart],body.md-trg button[name=apply_coupon]{background:transparent!important;color:var(--st-grafit)!important;border:1px solid var(--st-grafit)!important}
body.md-trg .md-btn-s:hover,body.md-trg button[name=update_cart]:hover,body.md-trg button[name=apply_coupon]:hover{background:var(--st-grafit)!important;color:var(--st-apno)!important}
body.md-trg button[name=update_cart][disabled]{opacity:.45}
body.md-trg input[type=text],body.md-trg input[type=email],body.md-trg input[type=tel],body.md-trg input[type=number],body.md-trg input[type=password],body.md-trg input[type=search],body.md-trg select,body.md-trg textarea,body.md-trg .select2-container .select2-selection--single{
	font-family:var(--st-sans)!important;font-size:16px!important;font-weight:300;color:var(--st-grafit);background:rgba(255,255,255,.55)!important;border:1px solid #CFC6B8!important;border-radius:0!important;box-shadow:none!important;padding:12px 14px!important;min-height:48px}
body.md-trg input:focus,body.md-trg select:focus,body.md-trg textarea:focus{border-color:var(--st-grafit)!important;outline:none;background:#fff!important}
body.md-trg .select2-container .select2-selection--single{display:flex;align-items:center;height:auto!important}
body.md-trg .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px}
body.md-trg label,body.md-trg .form-row label{font-size:11px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--st-umirjeno)!important;font-weight:500!important}
body.md-trg .form-row label.checkbox,body.md-trg label.woocommerce-form__label-for-checkbox,body.md-trg .wc_payment_method label,body.md-trg #shipping_method label{text-transform:none;letter-spacing:0;font-size:15px!important;color:var(--st-grafit)!important;font-weight:400!important}
body.md-trg .required{color:var(--st-bron)!important;text-decoration:none}
body.md-trg input[type=checkbox],body.md-trg input[type=radio]{accent-color:var(--st-grafit)}
body.md-trg .quantity .qty{width:80px!important;text-align:center}

/* 5 · Obvestila */
body.md-trg .woocommerce-message,body.md-trg .woocommerce-info,body.md-trg .woocommerce-error,body.md-trg .woocommerce-noreviews{background:var(--st-kamen)!important;color:var(--st-grafit)!important;border:0!important;border-left:2px solid var(--st-bron)!important;border-radius:0!important;padding:16px 20px!important;font-size:15px}
body.md-trg .woocommerce-error{border-left-color:#9a3b2e!important}
body.md-trg .woocommerce-message::before,body.md-trg .woocommerce-info::before,body.md-trg .woocommerce-error::before{color:var(--st-bron)!important}
body.md-trg .woocommerce-message .button,body.md-trg .woocommerce-info .button{float:right;padding:10px 16px!important}

/* 6 · Drobtine in navigacija kategorij */
body.md-trg .md-drobtine,body.md-trg .woocommerce-breadcrumb{font-size:12px!important;letter-spacing:.06em;color:var(--st-umirjeno)!important;background:none!important;padding:0!important;margin:0 0 14px!important}
body.md-trg .md-drobtine a,body.md-trg .woocommerce-breadcrumb a{color:var(--st-besedilo)!important;text-decoration:none}
body.md-trg .md-shop-nav{background:transparent!important;border-top:1px solid var(--st-crta)!important;border-bottom:1px solid var(--st-crta)!important;box-shadow:none!important;top:0!important}
body.md-trg .md-shop-nav-in{gap:2px!important}
body.md-trg .md-shop-nav a,body.md-trg .md-shop-nav-a{font-size:13px!important;color:var(--st-besedilo)!important;border-radius:0!important;padding:12px 12px!important;background:transparent!important}
body.md-trg .md-shop-nav a.je-aktiven,body.md-trg .md-shop-nav a.on,body.md-trg .md-shop-nav a[aria-current],body.md-trg .md-shop-nav a.md-on,body.md-trg .md-shop-nav a.is-on{background:var(--st-grafit)!important;color:var(--st-apno)!important}

/* 7 · Kartice, razdelki, tabele, vprašanja (gradniki stare teme v novi podobi) */
body.md-trg .md-sec{padding-top:64px!important;padding-bottom:64px!important;border-color:var(--st-crta)!important}
body.md-trg .md-sec-bone{background:var(--st-kamen)!important;box-shadow:0 0 0 100vmax var(--st-kamen);clip-path:inset(0 -100vmax)}
body.md-trg .md-sec-head .md-n,body.md-trg .md-n{font-family:var(--st-serif);color:var(--st-umirjeno)!important;font-size:14px!important}
body.md-trg .md-h2,body.md-trg .md-sec-head h2{font-size:clamp(28px,3vw,38px)!important;line-height:1.12}
body.md-trg .md-lede{font-size:18px!important;line-height:1.6;color:var(--st-besedilo)!important;font-weight:300}
body.md-trg .md-card,body.md-trg .md-izb,body.md-trg .md-shop-kat a,body.md-trg .md-pro-box,body.md-trg .md-melje-box,body.md-trg .md-callout,body.md-trg .md-mini-advice,body.md-trg .md-advice{background:rgba(255,255,255,.38)!important;border:1px solid var(--st-crta)!important;border-radius:0!important;box-shadow:none!important}
body.md-trg .md-card:hover,body.md-trg .md-izb:hover{border-color:var(--st-grafit)!important;transform:none!important}
body.md-trg .md-card-media img,body.md-trg .md-izb-img img,body.md-trg .md-kat-img img{border-radius:0!important}
body.md-trg .md-card-t,body.md-trg .md-izb-t{font-family:var(--st-serif)!important;font-weight:400!important;color:var(--st-grafit)!important;font-size:20px!important}
body.md-trg .md-card-cta{font-size:11px!important;letter-spacing:.16em;text-transform:uppercase;color:var(--st-bron)!important}
body.md-trg .md-table,body.md-trg table.shop_table,body.md-trg .woocommerce-table{border:0!important;border-top:1px solid var(--st-grafit)!important;border-radius:0!important;background:transparent!important;border-collapse:collapse}
body.md-trg .md-table th,body.md-trg .md-table td,body.md-trg table.shop_table th,body.md-trg table.shop_table td{background:transparent!important;border:0!important;border-bottom:1px solid var(--st-crta)!important;padding:14px 12px!important}
body.md-trg .md-table thead th,body.md-trg table.shop_table thead th{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--st-umirjeno)!important;font-weight:500}
body.md-trg .md-faq-item,body.md-trg .md-faq details{border-color:var(--st-crta)!important;border-radius:0!important;background:transparent!important}
body.md-trg .md-faq summary{font-family:var(--st-serif);font-size:19px;color:var(--st-grafit)}
body.md-trg .md-checks li::before,body.md-trg .md-checks-plain li::before{color:var(--st-bron)!important}
body.md-trg .md-note,body.md-trg .md-hint{color:var(--st-umirjeno)!important;font-size:14px}
body.md-trg .md-related{border-top:1px solid var(--st-crta);padding-top:32px}
body.md-trg .md-related-list a{display:inline-block;font-size:13px;padding:7px 14px;border:1px solid var(--st-crta);background:var(--st-apno);border-radius:0!important;text-decoration:none}

/* 8 · Trgovina in kategorije */
body.md-trg .md-shop-hero h1,body.md-trg .woocommerce-products-header__title{font-size:clamp(36px,4.4vw,58px)!important;line-height:1.05!important}
body.md-trg .md-shop-hero-media img{border-radius:0!important}
body.md-trg ul.products li.product{background:transparent!important;text-align:left!important}
body.md-trg ul.products li.product img{border-radius:0!important;background:var(--st-kamen);margin-bottom:14px!important}
body.md-trg ul.products li.product .woocommerce-loop-product__title{font-family:var(--st-serif)!important;font-size:19px!important;font-weight:400!important;color:var(--st-grafit)!important;padding:0!important;line-height:1.25}
body.md-trg ul.products li.product .price,body.md-trg ul.products li.product .medusa-cena{color:var(--st-besedilo)!important;font-size:14px!important;font-weight:400!important}
body.md-trg ul.products li.product .button{margin-top:10px;padding:12px 16px!important}
body.md-trg .onsale{background:var(--st-bron)!important;color:#fff!important;border:0!important;border-radius:0!important;font-size:11px;letter-spacing:.12em;text-transform:uppercase;padding:4px 10px!important}
body.md-trg .storefront-sorting{border-color:var(--st-crta)!important;font-size:13px}
body.md-trg .woocommerce-pagination .page-numbers li .page-numbers{border-radius:0!important;background:transparent!important;color:var(--st-grafit)!important;border:1px solid var(--st-crta)!important}
body.md-trg .woocommerce-pagination .page-numbers li .page-numbers.current{background:var(--st-grafit)!important;color:var(--st-apno)!important}

/* 9 · Izdelek */
body.md-trg.single-product div.product .product_title{font-size:clamp(32px,3.6vw,48px)!important;line-height:1.08;margin-bottom:14px}
body.md-trg.single-product div.product p.price,body.md-trg.single-product div.product .medusa-cena{color:var(--st-grafit)!important;font-size:20px!important;font-weight:400}
body.md-trg .medusa-cena-op{color:var(--st-umirjeno)!important;font-size:13px!important}
body.md-trg.single-product div.product .woocommerce-product-gallery img{border-radius:0!important;background:var(--st-kamen)}
body.md-trg .woocommerce-product-details__short-description,body.md-trg .woocommerce-product-details__short-description p{color:var(--st-besedilo)!important;font-size:16px;line-height:1.65}
body.md-trg .woocommerce-tabs ul.tabs{border-color:var(--st-crta)!important}
body.md-trg .woocommerce-tabs ul.tabs li a{font-size:12px!important;letter-spacing:.14em;text-transform:uppercase;color:var(--st-besedilo)!important}
body.md-trg .woocommerce-tabs ul.tabs li.active a{color:var(--st-grafit)!important}
body.md-trg .product_meta{font-size:13px;color:var(--st-umirjeno);border-color:var(--st-crta)!important}
body.md-trg .variations td,body.md-trg .variations th{border:0!important;background:transparent!important}
body.md-trg .related.products > h2,body.md-trg .upsells.products > h2{font-size:28px!important}

/* 10 · Košarica, blagajna, Hvala, Moj račun */
body.md-trg .md-steps-nakup,body.md-trg .md-checkout-steps{border-radius:0!important}
body.md-trg .cart-collaterals .cart_totals,body.md-trg #order_review,body.md-trg .woocommerce-checkout-review-order{background:rgba(255,255,255,.38)!important;border:1px solid var(--st-crta)!important;border-radius:0!important;padding:24px!important;box-shadow:none!important}
body.md-trg .cart_totals h2,body.md-trg #order_review_heading,body.md-trg .woocommerce-billing-fields h3,body.md-trg .woocommerce-shipping-fields h3,body.md-trg .woocommerce-additional-fields h3{font-size:24px!important}
body.md-trg .order-total .amount,body.md-trg .order-total strong{font-family:var(--st-serif);font-size:26px!important;font-weight:400!important;color:var(--st-grafit)!important}
body.md-trg #payment{background:transparent!important;border-radius:0!important}
body.md-trg #payment .payment_methods{border:0!important;padding:0!important}
body.md-trg #payment .payment_methods > li{background:transparent!important;border:1px solid var(--st-crta)!important;border-radius:0!important;margin:0 0 8px!important;padding:14px 16px!important}
body.md-trg #payment .payment_methods > li .payment_box{background:var(--st-kamen)!important;border-radius:0!important;color:var(--st-besedilo)!important;font-size:14px}
body.md-trg #payment .payment_methods > li .payment_box::before{display:none!important}
body.md-trg #payment .place-order{padding:18px 0 0!important}
body.md-trg #place_order{width:100%;padding:20px!important;font-size:13px!important}
body.md-trg .woocommerce-checkout .col2-set,body.md-trg #customer_details{background:rgba(255,255,255,.38);border:1px solid var(--st-crta);padding:24px}
body.md-trg .woocommerce-order-overview{border:1px solid var(--st-crta);padding:18px 22px;background:rgba(255,255,255,.38)}
body.md-trg .woocommerce-order-overview li{border-color:var(--st-crta)!important;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--st-umirjeno)}
body.md-trg .woocommerce-order-overview li strong{font-family:var(--st-serif);font-size:18px;text-transform:none;letter-spacing:0;color:var(--st-grafit)}
body.md-trg .woocommerce-MyAccount-navigation ul{border-top:1px solid var(--st-grafit)!important}
body.md-trg .woocommerce-MyAccount-navigation ul li{border-bottom:1px solid var(--st-crta)!important}
body.md-trg .woocommerce-MyAccount-navigation ul li a{padding:12px 0!important;font-size:14px;color:var(--st-besedilo)!important}
body.md-trg .woocommerce-MyAccount-navigation ul li.is-active a{color:var(--st-grafit)!important;font-weight:500}
body.md-trg .woocommerce-MyAccount-navigation ul li a::before{display:none!important}

/* 11 · Telefon */
@media (max-width:900px){
	body.md-trg #content > .col-full{padding:0 20px!important}
	body.md-trg .site-main{padding-top:18px!important;padding-bottom:48px!important}
	body.md-trg .md-sec{padding-top:44px!important;padding-bottom:44px!important}
	body.md-trg .woocommerce-checkout .col2-set,body.md-trg #customer_details,body.md-trg #order_review,body.md-trg .cart-collaterals .cart_totals{padding:18px!important}
}

/* 12 · Izdelek KIT: konfigurator takoj pod naslovom (3.18.2) */
body.md-trg.md-kit div.product .woocommerce-product-gallery{width:30%!important;margin:0 32px 24px 0!important;aspect-ratio:4/3;overflow:hidden;opacity:1!important}
body.md-trg.md-kit div.product .woocommerce-product-gallery .flex-viewport{height:auto!important;aspect-ratio:4/3}
body.md-trg.md-kit div.product .woocommerce-product-gallery .flex-viewport,body.md-trg.md-kit div.product .woocommerce-product-gallery__wrapper{max-height:none}
body.md-trg.md-kit div.product .woocommerce-product-gallery__image img{aspect-ratio:4/3;object-fit:cover;width:100%;height:auto}
body.md-trg.md-kit div.product .woocommerce-product-gallery .flex-control-thumbs{display:none!important}
body.md-trg.md-kit div.product .summary .product_title{margin-top:4px}
body.md-trg.md-kit .medusa-konf{margin-top:8px}
body.md-trg.md-kit .medusa-konf header.top{display:none}
body.md-trg .medusa-konf .medusa-wrap{max-width:none;padding-inline:0}
body.md-trg .medusa-konf .lab{color:var(--st-umirjeno)}
body.md-trg.md-kit .summary .product_meta{display:none}
@media (max-width:900px){
	body.md-trg.md-kit div.product .woocommerce-product-gallery{width:100%!important;margin:0 0 18px!important;aspect-ratio:16/9}
	body.md-trg.md-kit div.product .woocommerce-product-gallery .flex-viewport{aspect-ratio:16/9}
	body.md-trg.md-kit div.product .woocommerce-product-gallery__image img{aspect-ratio:16/9}
	body.md-trg.md-kit .woocommerce-product-details__short-description{font-size:15px}
}

/* 13 · Košarica, blagajna, obvestila — popravki (3.18.4) */
body.md-trg .woocommerce-message,body.md-trg .woocommerce-info,body.md-trg .woocommerce-error{padding-left:52px!important;position:relative}
body.md-trg .woocommerce-message::before,body.md-trg .woocommerce-info::before,body.md-trg .woocommerce-error::before{left:20px!important;top:50%!important;transform:translateY(-50%)}
body.md-trg.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 400px;gap:24px 48px;align-items:start}
body.md-trg.woocommerce-cart .woocommerce > .md-steps-bar,body.md-trg.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper{grid-column:1 / -1}
body.md-trg.woocommerce-cart .woocommerce-cart-form{grid-column:1;width:100%!important;float:none!important;margin:0!important}
body.md-trg.woocommerce-cart .cart-collaterals{grid-column:2;grid-row:span 2;width:100%!important;float:none!important;display:flex;flex-direction:column;gap:24px}
body.md-trg.woocommerce-cart .cart-collaterals .cart_totals{order:1;width:100%!important;float:none!important}
body.md-trg.woocommerce-cart .cart-collaterals .cross-sells{order:2;width:100%!important;float:none!important;background:transparent!important;padding:0!important}
body.md-trg.woocommerce-cart .cross-sells > h2{font-size:20px!important;margin-bottom:14px}
body.md-trg.woocommerce-cart .cross-sells ul.products{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.md-trg.woocommerce-cart .cross-sells ul.products li.product{width:auto!important;margin:0!important;float:none!important}
body.md-trg.woocommerce-cart .cross-sells ul.products li.product .button{padding:10px 12px!important;font-size:11px!important}
body.md-trg .order-total .includes_tax,body.md-trg .order-total .includes_tax .amount,body.md-trg .order-total small,body.md-trg .order-total small .amount{font-family:var(--st-sans)!important;font-size:13px!important;color:var(--st-umirjeno)!important}
body.md-trg .cart_totals table th,body.md-trg #order_review table th{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--st-umirjeno)!important;font-weight:500}
body.md-trg .md-steps-bar{border-radius:0!important;margin-bottom:24px!important}
body.md-trg .md-steps-bar li{border-radius:0!important}
body.md-trg .st-trg-page table:not(.shop_table):not(.variations){background:transparent!important;border-collapse:collapse;border:0!important;border-top:1px solid var(--st-grafit)!important}
body.md-trg .st-trg-page table:not(.shop_table):not(.variations) th,body.md-trg .st-trg-page table:not(.shop_table):not(.variations) td{background:transparent!important;border:0!important;border-bottom:1px solid var(--st-crta)!important;padding:12px 10px!important}
@media (max-width:900px){
	body.md-trg.woocommerce-cart .woocommerce{display:block}
	body.md-trg.woocommerce-cart .cart-collaterals{margin-top:24px}
}
body.md-trg .md-povezani h2,body.md-trg .related.products > h2{text-align:left!important}
body.md-trg .md-kit-items summary{cursor:pointer;font-size:13px;color:var(--st-bron);letter-spacing:.02em}
body.md-trg .md-kit-items[open] summary{margin-bottom:6px}
