/*
Theme Name: Bajkoteka
Version: 0.2.0
Description: Lagana namenska WooCommerce tema za lokalni B1 razvoj.
Text Domain: bajkoteka
*/
:root{--wine:#650e25;--ink:#143c40;--paper:#fff2d7;--gold:#b87c31}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top,#9b3141,#360c1c);color:var(--ink);font:17px/1.6 Georgia,serif}a{color:inherit}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #158ba0;outline-offset:5px}.skip{position:absolute;top:-100px}.skip:focus{top:0;z-index:10;background:white}.site-header{padding:22px max(5%,calc((100% - 1200px)/2));background:#102f34;color:#ffdf9a;border-bottom:3px solid var(--gold);display:flex;justify-content:space-between;gap:24px;align-items:center}.brand{font-size:36px;line-height:1.2;text-decoration:none}.tagline{font-size:15px;margin:4px 0 0;color:#f6e7cd}.site-header nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.site-header nav a{padding:8px 0}.demo-bar{text-align:center;margin:0;background:#f1d29a;color:#59201e;padding:7px 12px;font:14px/1.5 system-ui}.site-main{max-width:1200px;margin:32px auto;padding:32px;background:var(--paper);border:1px solid var(--gold);border-radius:12px;min-height:45vh;box-shadow:0 16px 48px #16020a70}.home .site-main{padding:0;overflow:hidden}.intro{text-align:center;padding:18px 24px}.intro h1{font-size:clamp(25px,3vw,38px);margin:8px}.window-scene{position:relative}.window-scene img{width:100%;height:auto;display:block}.scene-enter{position:absolute;left:35%;top:79%;width:30%;height:9%;border-radius:30px}.scene-cart{position:absolute;left:84%;top:5%;width:11%;height:19%}.scene-enter:hover,.scene-cart:hover{box-shadow:0 0 0 3px #ffe2a0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.entry-actions{padding:24px;text-align:center}.button,button,input[type=submit],.woocommerce a.button,.woocommerce button.button.alt,.woocommerce button.button{display:inline-block;border:1px solid #b5803d;border-radius:7px;background:var(--wine);color:#fff4d7;padding:12px 20px;cursor:pointer;font:600 16px/1.4 system-ui;text-decoration:none;min-height:44px}.button:hover{background:#873048}.site-footer{max-width:1200px;margin:32px auto;color:#f6e7cd;text-align:center;padding:12px}.site-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}.site-footer small{display:block;margin-top:20px}.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;text-align:center;background:#fff8e8;padding:20px;border:1px solid #d9bb83;border-radius:8px}.woocommerce ul.products li.product a img{height:320px;width:100%;object-fit:contain;filter:drop-shadow(6px 10px 8px #42291d40)}.woocommerce ul.products li.product h2{font-size:21px!important}.woocommerce ul.products li.product .price{color:var(--wine);font-weight:bold}.woocommerce .woocommerce-ordering,.woocommerce .woocommerce-result-count{display:none}.woocommerce div.product div.images img{max-height:620px;object-fit:contain}.woocommerce div.product .product_title{font-size:clamp(28px,3.2vw,42px);line-height:1.2}.reference-note{font:13px/1.5 system-ui;color:#705640}.editions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:24px 0}.editions>div{border:1px solid #b99355;border-radius:8px;padding:12px 8px;text-align:center}.editions strong{display:block;font-size:15px}.editions span{display:block;font:14px/1.5 system-ui;color:var(--wine);margin-top:8px}.pending-gallery{clear:both;padding-top:24px;border-top:1px solid #c9ac77}.actions{display:flex;gap:12px;flex-wrap:wrap}.woocommerce div.product p.price{color:var(--wine)}.woocommerce select,.woocommerce input.input-text,.woocommerce textarea{padding:12px;border:1px solid #b99b69;background:#fffcf4;border-radius:4px;max-width:100%;font:16px system-ui}.woocommerce .quantity .qty{width:5em}.woocommerce table.shop_table{background:#fffaee}.woocommerce-info,.woocommerce-message{border-top-color:var(--gold);background:#fff9ed}.demo-note{padding:16px;border-left:4px solid var(--gold);background:#f9e6ba}h1,h2,h3{line-height:1.25}.woocommerce div.product .woocommerce-tabs{clear:both}.woocommerce .product_meta{font-size:14px}.woocommerce div.product form.cart .variations td{display:block}.woocommerce div.product form.cart .variations select{width:100%}
@media(max-width:780px){.site-header{padding:18px;display:block;text-align:center}.site-header nav{justify-content:center;margin-top:12px;gap:16px}.site-main{margin:16px 12px;padding:22px 16px}.woocommerce ul.products{grid-template-columns:1fr;gap:20px}.woocommerce ul.products li.product a img{height:330px}.scene-enter,.scene-cart{display:none}.entry-actions .button{width:100%}.brand{font-size:32px}.editions{gap:6px}.editions>div{padding:10px 5px}.woocommerce table.shop_table_responsive tr td{overflow-wrap:anywhere}.site-footer nav{gap:12px}.woocommerce div.product div.images,.woocommerce div.product div.summary{width:100%}.woocommerce div.product div.images img{max-height:480px}}
.woocommerce a.button.alt{background:var(--wine);color:#fff4d7}.woocommerce a.button.alt:hover{background:#873048}.woocommerce table.cart .product-remove{width:42px}.woocommerce table.cart .product-thumbnail{width:100px}.woocommerce table.cart img{width:65px;height:auto}.woocommerce table.cart td.actions{text-align:right;display:table-cell}.woocommerce .cart-collaterals{padding-top:24px}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Preserve the B2 window controls independently of the replaced shop scene. */
.mobile-cash{display:none}.scene-enter:focus-visible,.scene-cart:focus-visible{outline:4px solid #fff3b0;box-shadow:0 0 0 8px #124c59}
@media(max-width:780px){.mobile-cash{display:inline-block}}
@media(max-width:600px){.entry-actions{display:flex;flex-wrap:wrap;gap:12px}.entry-actions .button{flex:1;width:auto;white-space:nowrap}.entry-actions p{width:100%}.window-scene{height:310px;overflow:hidden}.window-scene img{height:100%;object-fit:cover}}
