/* BOKO WCPA mobile configurator — final drawer layout.
 * Presentation only. WCPA remains the sole source of fields, conditional
 * visibility, prices, images and cart data. Desktop/tablet are untouched. */
body.boko-product-design .boko-mf{display:none}

@media(max-width:767.98px){
  body.boko-product-design{
    --mf-ink:#171717;--mf-muted:#737373;--mf-line:#e5e5e5;
    --mf-soft:#f5f5f3;background:#fff!important;overflow-x:clip;overflow-y:visible;
    padding-bottom:150px!important
  }
  body.boko-product-design.boko-mf-lock{overflow:hidden!important}
  body.boko-product-design #tbay-breadcrumb,
  body.boko-product-design.single-product #main>div[id^="product-"]>.top-single-product,
  body.boko-product-design.single-product #main>div[id^="product-"]>.woocommerce-tabs,
  body.boko-product-design.single-product #main>div[id^="product-"]>.related{
    display:none!important
  }
  body.boko-product-design.single-product #main,
  body.boko-product-design.single-product #main>div[id^="product-"]{
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important
  }
  body.boko-product-design .boko-mf{
    display:block;width:100%;min-height:100vh;position:relative;background:#fff;
    color:var(--mf-ink);font:400 16px/1.5 Geist,system-ui,sans-serif
  }
  body.boko-product-design.single-product #main>div[id^="product-"]>.single-main-content>.row{
    position:absolute!important;left:-10000px!important;top:0!important;
    width:1200px!important;max-width:none!important;height:auto!important;
    overflow:visible!important;opacity:0!important;pointer-events:none!important
  }
  body.boko-product-design .boko-mf-source{
    position:absolute!important;left:-10000px!important;top:auto!important;
    width:1px!important;height:1px!important;overflow:hidden!important;
    opacity:0!important;pointer-events:none!important
  }
  body.boko-product-design .boko-mf-stage-wrap{
    position:sticky;top:70px;z-index:4;background:#fff;padding:0;
    width:100vw;margin-left:calc(50% - 50vw)
  }
  body.boko-product-design .boko-mf-stage{
    position:relative;height:calc(100vw * 278 / 390);overflow:hidden;
    background:#dedede;transition:height .25s ease
  }
  body.boko-product-design .boko-mf-image{
    position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
    object-position:54% 75%;transform:scale(1.12);transform-origin:54% 75%
  }
  body.boko-product-design .boko-mf-image-enter{animation:boko-mf-zoom .1s ease both}
  @keyframes boko-mf-zoom{from{opacity:.55;transform:scale(1.2)}to{opacity:1;transform:scale(1.12)}}
  body.boko-product-design .boko-mf-badge{
    position:absolute;left:12px;top:12px;z-index:2;background:rgb(255 255 255/.85);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-radius:999px;
    padding:4px 10px;font-size:11.5px;font-weight:500
  }
  body.boko-product-design .boko-mf-info{
    position:absolute;right:12px;bottom:12px;z-index:3;width:30px;height:30px;
    padding:0;border:0;border-radius:999px;background:rgb(255 255 255/.85);
    -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
    font:500 15px/1 Georgia,serif;color:#171717;text-transform:none
  }
  body.boko-product-design .boko-mf-info svg{display:block;width:14px;height:14px;margin:auto}
  body.boko-product-design .boko-mf-photo-note{
    position:absolute;right:12px;bottom:48px;z-index:4;max-width:230px;
    background:#171717;color:#fff;border-radius:12px;padding:9px 12px;
    font-size:12.5px;line-height:1.4;box-shadow:0 8px 24px -8px rgb(0 0 0/.5)
  }
  body.boko-product-design .boko-mf-heading{padding:12px 16px 2px;display:grid;grid-template-columns:1fr auto;column-gap:10px}
  body.boko-product-design .boko-mf-heading h1{
    margin:0!important;font:600 24px/36px Geist,system-ui,sans-serif!important;
    letter-spacing:-.02em!important;color:#171717!important
  }
  body.boko-product-design .boko-mf-heading p{margin:1px 0 0;font-size:13px;color:var(--mf-muted)}
  body.boko-product-design .boko-mf-heading p{grid-column:1/-1}
  body.boko-product-design .boko-mf-dim-link{
    display:inline-flex;align-items:center;gap:6px;margin:6px 16px 0;border:0;
    background:none;padding:0;font-size:13.5px;color:var(--mf-ink);
    text-decoration:underline;text-underline-offset:3px;text-transform:none
  }
  body.boko-product-design .boko-mf-dim-link svg{width:15px;height:15px}
  body.boko-product-design .boko-mf-config{padding:10px 0 18px}
  body.boko-product-design .boko-mf-kicker{
    margin:4px 16px 8px;font-size:12px;letter-spacing:.12em;
    text-transform:uppercase;color:var(--mf-muted)
  }
  body.boko-product-design .boko-mf-rows{border-top:1px solid var(--mf-line);margin:0 16px}
  body.boko-product-design .boko-mf-row-wrap{border-bottom:1px solid var(--mf-line)}
  body.boko-product-design .boko-mf-row-wrap[hidden]{display:none!important}
  body.boko-product-design .boko-mf-row{
    display:flex;align-items:center;gap:10px;width:100%;min-height:47px;
    padding:0 2px;border:0;background:none;
    text-align:left;font:400 16px/24px Geist,system-ui,sans-serif;color:var(--mf-ink);
    text-transform:none;letter-spacing:0
  }
  body.boko-product-design .boko-mf-row[hidden]{display:none!important}
  body.boko-product-design .boko-mf-row-label{font-weight:600;flex:none;display:flex;align-items:center;gap:9px}
  body.boko-product-design .boko-mf-row-value{
    flex:1;min-width:0;display:flex;justify-content:flex-end;align-items:center;gap:7px;
    color:var(--mf-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  body.boko-product-design .boko-mf-row-value .boko-mf-dot{
    width:14px;height:14px;border-radius:50%;box-shadow:inset 0 0 0 1px rgb(0 0 0/.15);flex:none
  }
  body.boko-product-design .boko-mf-row-value .boko-mf-thumb{
    width:24px;height:24px;border-radius:6px;background:#f0efec;overflow:hidden;flex:none
  }
  body.boko-product-design .boko-mf-row-value .boko-mf-thumb img{width:100%;height:100%;object-fit:contain}
  body.boko-product-design .boko-mf-row>i{
    flex:none;width:9px;height:9px;border:solid var(--mf-ink);
    border-width:0 1.6px 1.6px 0;transform:rotate(-45deg) translate(-1px,-1px)
  }
  body.boko-product-design .boko-mf-trust{
    display:flex;flex-wrap:wrap;gap:4px 14px;overflow-x:auto;
    padding:12px 16px 0;scrollbar-width:none
  }
  body.boko-product-design .boko-mf-trust::-webkit-scrollbar{display:none}
  body.boko-product-design .boko-mf-trust span{
    flex:none;display:inline-flex;align-items:center;gap:6px;font-size:12px;
    font-weight:400;line-height:18px;border:0;border-radius:999px;padding:0;color:#3f3f3c
  }
  body.boko-product-design .boko-mf-trust svg{width:15px;height:15px;flex:none}
  body.boko-product-design .boko-mf-details{margin:18px 16px 0;border-top:1px solid var(--mf-line)}
  body.boko-product-design .boko-mf-details>h2{
    margin:0;padding:16px 0 4px;font-size:12px!important;letter-spacing:.12em;
    text-transform:uppercase;color:var(--mf-muted);font-weight:500!important
  }
  body.boko-product-design .boko-mf-detail{border-bottom:1px solid var(--mf-line)}
  body.boko-product-design .boko-mf-detail>button{
    display:flex;align-items:center;justify-content:space-between;width:100%;min-height:50px;
    border:0;background:none;padding:0 2px;font:500 15px/22.5px Geist,system-ui,sans-serif;
    color:var(--mf-ink);text-align:left;text-transform:none;letter-spacing:0
  }
  body.boko-product-design .boko-mf-detail>button i{position:relative;width:12px;height:12px;flex:none}
  body.boko-product-design .boko-mf-detail>button i:before,
  body.boko-product-design .boko-mf-detail>button i:after{
    content:"";position:absolute;left:0;top:5.5px;width:12px;height:1.5px;
    background:var(--mf-ink);transition:transform .2s
  }
  body.boko-product-design .boko-mf-detail>button i:after{transform:rotate(90deg)}
  body.boko-product-design .boko-mf-detail.is-open>button i:after{transform:none}
  body.boko-product-design .boko-mf-detail>div{
    display:none;padding:0 2px 16px;font-size:13.5px;color:#3f3f3c;line-height:1.6
  }
  body.boko-product-design .boko-mf-detail.is-open>div{display:block}
  body.boko-product-design .boko-mf-detail p{margin:0 0 8px}
  body.boko-product-design .boko-mf-detail ul{margin:0 0 8px;padding-left:18px}
  body.boko-product-design .boko-mf-bottom{
    position:fixed;left:0;right:0;bottom:0;z-index:1000;border-top:1px solid var(--mf-line);
    padding:10px 16px calc(48px + env(safe-area-inset-bottom));background:#fff;min-height:auto
  }
  body.boko-product-design .boko-mf-total{
    display:flex;align-items:baseline;justify-content:space-between;margin-bottom:8px
  }
  body.boko-product-design .boko-mf-total small{
    font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--mf-muted)
  }
  body.boko-product-design .boko-mf-total b{
    font-size:19px;font-weight:600;letter-spacing:-.02em;border-radius:6px;padding:0 4px;
    transition:background .5s
  }
  body.boko-product-design .boko-mf-total b.is-flashing{background:#efe9d8;transition:none}
  body.boko-product-design .boko-mf-actions{display:flex;gap:9px}
  body.boko-product-design .boko-mf-actions button{
    flex:1;height:46px;border-radius:999px;border:1px solid #171717;background:#fff;
    color:#171717;font:500 14.5px/21.75px Geist,system-ui,sans-serif;text-transform:none;letter-spacing:0
  }
  body.boko-product-design .boko-mf-actions .boko-mf-add{background:#171717;color:#fff}
  body.boko-product-design .boko-mf-sheet{
    position:fixed;left:0;right:0;bottom:0;z-index:1003;
    max-height:calc(100vh - 70px - (100vw * 278 / 390));background:#fff;border-radius:0;
    transform:translateY(105%);transition:transform .5s cubic-bezier(.34,1.35,.64,1);
    display:flex;flex-direction:column;box-shadow:0 -10px 40px -12px rgb(0 0 0/.3)
  }
  body.boko-product-design .boko-mf-sheet-open .boko-mf-sheet{transform:none}
  body.boko-product-design .boko-mf-sheet-tall .boko-mf-sheet{max-height:88vh}
  body.boko-product-design .boko-mf-sheet-grab{visibility:hidden;width:38px;height:0;margin:10px auto 0}
  body.boko-product-design .boko-mf-sheet-head{
    display:flex;justify-content:space-between;align-items:center;gap:10px;padding:6px 16px 10px
  }
  body.boko-product-design .boko-mf-sheet-head>div{flex:1;min-width:0}
  body.boko-product-design .boko-mf-sheet-head h2{
    margin:0!important;font:600 17.5px/26.25px Geist,system-ui,sans-serif!important;
    letter-spacing:-.01em!important
  }
  body.boko-product-design .boko-mf-sheet-head small{
    display:block;font-size:12px;color:var(--mf-muted);margin-top:1px
  }
  body.boko-product-design .boko-mf-sheet-close{
    border:0;background:var(--mf-soft);min-width:30px;height:30px;border-radius:999px;
    font-size:15px;line-height:1;padding:0 8px;color:#171717
  }
  body.boko-product-design .boko-mf-sheet-body{overflow-y:auto;padding:0 16px 30px}
  body.boko-product-design .boko-mf-option-list{
    display:flex;flex-direction:column;border:1px solid var(--mf-line);border-radius:14px;overflow:hidden
  }
  body.boko-product-design .boko-mf-option{
    display:flex;align-items:center;gap:10px;min-height:47px;padding:0 14px;border:0;
    border-bottom:1px solid #f0f0ee;background:#fff;text-align:left;
    font:400 16px/24px Geist,system-ui,sans-serif;color:#171717;
    text-transform:none;letter-spacing:0;width:100%
  }
  body.boko-product-design .boko-mf-option:last-child{border-bottom:0}
  body.boko-product-design .boko-mf-option-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.boko-product-design .boko-mf-option small{color:#a3a3a3;font-size:12.3px;margin-left:auto}
  body.boko-product-design .boko-mf-option-dot{
    flex:none;width:20px;height:20px;border-radius:50%;box-shadow:inset 0 0 0 1px rgb(0 0 0/.15)
  }
  body.boko-product-design .boko-mf-option-check{
    flex:none;width:20px;height:20px;border-radius:50%;border:1.5px solid #cfcfcc;position:relative
  }
  body.boko-product-design .boko-mf-option[aria-pressed="true"]{font-weight:500}
  body.boko-product-design .boko-mf-option[aria-pressed="true"] .boko-mf-option-check{
    border-color:#171717;background:#171717
  }
  body.boko-product-design .boko-mf-option[aria-pressed="true"] .boko-mf-option-check:after{
    content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid #fff;
    border-width:0 2px 2px 0;transform:rotate(45deg)
  }
  body.boko-product-design .boko-mf-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  body.boko-product-design .boko-mf-card{
    border:1px solid var(--mf-line);border-radius:12px;background:#fff;padding:6px;
    text-align:center;min-width:0;color:#171717;text-transform:none;letter-spacing:0
  }
  body.boko-product-design .boko-mf-card-image{
    display:block;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f0efec
  }
  body.boko-product-design .boko-mf-card-image img{width:100%;height:100%;object-fit:contain}
  body.boko-product-design .boko-mf-card-name{
    display:block;margin-top:4px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  body.boko-product-design .boko-mf-card[aria-pressed="true"]{
    border-color:#171717;box-shadow:inset 0 0 0 1px #171717
  }
  body.boko-product-design .boko-mf-sheet-done{
    flex:none;margin:6px 16px 26px;height:46px;border-radius:999px;border:0;
    background:#171717;color:#fff;font:500 16px/24px Geist,system-ui,sans-serif
  }
  body.boko-product-design .boko-mf-info-content{
    font-size:14px;color:#3f3f3c;line-height:1.6
  }
  body.boko-product-design .boko-mf-info-content p{margin:0 0 10px}
  body.boko-product-design .boko-mf-info-content ul{margin:0 0 10px;padding-left:18px}
  body.boko-product-design .boko-mf-info-content a{color:#171717;text-decoration:underline;text-underline-offset:3px}
  body.boko-product-design .boko-mf-units{
    display:inline-flex;background:var(--mf-soft);border-radius:999px;padding:3px;margin-bottom:6px
  }
  body.boko-product-design .boko-mf-units button{
    border:0;background:none;border-radius:999px;padding:5px 12px;font-size:12.5px;text-transform:none
  }
  body.boko-product-design .boko-mf-units button.is-active{
    background:#fff;box-shadow:0 1px 4px rgb(0 0 0/.12);font-weight:600
  }
  body.boko-product-design .boko-mf-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:6px 0 4px}
  body.boko-product-design .boko-mf-number{background:var(--mf-soft);border-radius:12px;padding:10px 8px;text-align:center}
  body.boko-product-design .boko-mf-number b{display:block;font-size:20px;font-weight:600;letter-spacing:-.02em;line-height:1.1}
  body.boko-product-design .boko-mf-number small{display:block;font-size:10.5px;color:var(--mf-muted);margin-top:3px;line-height:1.25}
  body.boko-product-design .boko-mf-dimtable{width:100%;border-collapse:collapse;font-size:14px}
  body.boko-product-design .boko-mf-dimtable th{text-align:left;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mf-muted);font-weight:500;padding:14px 0 6px}
  body.boko-product-design .boko-mf-dimtable td{padding:9px 0;border-bottom:1px solid #f0f0ee}
  body.boko-product-design .boko-mf-dimtable td:last-child{text-align:right;font-weight:500;font-variant-numeric:tabular-nums}
  body.boko-product-design .boko-mf-dim-note{font-size:12px;color:var(--mf-muted);margin:12px 0 0;line-height:1.5}
  body.boko-product-design .boko-mf-dim-drawing{display:block;width:100%;border-radius:12px;margin-top:12px;background:#f2f2f2}
  body.boko-product-design #tbay-mobile-menu-navbar{display:none!important}
  body.boko-design.boko-shell.boko-product-design #tbay-header{display:none!important}
}
/* ===== BOKO fioka — izgled + zum (03.10.2026). Dodati na KRAJ boko-mobile-configurator.css ===== */
@media(max-width:767.98px){
body.boko-product-design .boko-mf-badge,body.boko-product-design .boko-mf-info{background:rgb(20 20 20/.62)!important;color:#fff!important}
body.boko-product-design .boko-mf-info svg{color:#fff;stroke:#fff}
body.boko-product-design .boko-alex-header{height:52px!important;min-height:52px!important;padding-top:4px!important;padding-bottom:4px!important}
body.boko-product-design .boko-alex-logo,body.boko-product-design .boko-alex-logo img{width:84px!important;height:auto!important}
body.boko-product-design .boko-alex-logo{position:absolute!important;left:50%!important;transform:translateX(-50%)!important}
body.boko-product-design .boko-alex-menu-toggle{left:auto!important;right:16px!important;transform:none!important}
html body.boko-product-design div.tbay-to-top-mobile{bottom:106px!important;z-index:1001!important}
html body.boko-product-design div.tbay-to-top-mobile a#back-to-top-mobile{background:rgb(255 255 255/.6)!important;color:#171717!important;backdrop-filter:blur(12px)!important;-webkit-backdrop-filter:blur(12px)!important;box-shadow:0 6px 18px -8px rgb(0 0 0/.3)!important}
body.boko-product-design .boko-mf-heading{padding-top:20px!important}
body.boko-product-design .boko-mf-row{font-size:17.5px!important}
body.boko-product-design .boko-mf-sheet-done{height:40px!important}
body.boko-product-design .boko-mf-total b{font-size:18.5px!important}
body.boko-product-design .boko-mf-actions button{height:40px!important;font-size:16.5px!important;font-weight:600!important}
body.boko-product-design .boko-mf-actions{gap:16px!important}
body.boko-product-design .boko-mf-bottom{padding-bottom:calc(8px + env(safe-area-inset-bottom))!important}
body.boko-product-design .boko-mf-stage-wrap{top:42px!important}
body.boko-product-design .boko-mf-sheet{max-height:calc(100vh - 42px - (100vw * 278 / 390))!important}
body.boko-product-design .boko-mf-image{object-position:54% 70%!important;transform-origin:54% 70%!important}
body.boko-product-design .boko-mf-heading h1{font:700 23px/28px Geist,system-ui,sans-serif!important}

/* --- zum: znak „Tap to zoom“ (samo kad je boko-mf-zoom.js ucitan) --- */
html.boko-mf-zoom-ready body.boko-product-design .boko-mf-stage{cursor:zoom-in}
html.boko-mf-zoom-ready body.boko-product-design .boko-mf-stage::after{
  content:"Tap to zoom";position:absolute;left:12px;bottom:12px;z-index:3;height:30px;display:flex;align-items:center;
  padding:0 10px 0 28px;border-radius:999px;background:rgb(20 20 20/.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") no-repeat 9px 50%/14px;
  color:#fff;font:500 12px/1 Geist,system-ui,sans-serif;pointer-events:none;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)
}
/* --- zum: preko celog ekrana --- */
body.boko-mf-zoom-lock{overflow:hidden!important}
.boko-mf-zoom{position:fixed;inset:0;z-index:100000;display:flex;flex-direction:column;background:#0b0b0b;color:#fff;opacity:0;transition:opacity .2s;
  padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
.boko-mf-zoom.is-on{opacity:1}
.boko-mf-zoom-top{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;font:500 13px Geist,system-ui,sans-serif}
.boko-mf-zoom-top button{width:36px;height:36px;padding:0;border:0;border-radius:50%;background:rgb(128 128 128/.25);color:inherit;font-size:16px;line-height:36px}
.boko-mf-zoom-area{flex:1;position:relative;overflow:hidden;touch-action:none}
.boko-mf-zoom-area img{position:absolute;left:50%;top:50%;max-width:100%;max-height:100%;transform-origin:center;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}
.boko-mf-zoom-tip{font:400 12px Geist,system-ui,sans-serif;opacity:.6;text-align:center;padding-bottom:6px}
.boko-mf-zoom-cap{padding:12px 16px 28px;font:400 13px/1.4 Geist,system-ui,sans-serif;opacity:.8;text-align:center}
}

/* BOKO 2026-10-05: native cart result, no configurator field styling changes. */
body.boko-product-design .boko-cart-feedback {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:16px;padding:12px 14px;border:1px solid #e5e5e5;border-radius:12px;
  background:#fff;color:#171717;font-size:14px;line-height:1.4;
}
body.boko-product-design .boko-cart-feedback[hidden],
body.boko-product-design .boko-cart-feedback a[hidden] {display:none!important}
body.boko-product-design .boko-cart-feedback a {color:#171717;text-decoration:underline;white-space:nowrap;font-weight:600}
body.boko-product-design .boko-cart-feedback.is-error {color:#a12626;border-color:#e8bdbd}
@media(max-width:767.98px) {
  body.boko-product-design .boko-mf-bottom .boko-cart-feedback {
    grid-column:1/-1;grid-row:1;margin:0 0 7px;padding:8px 10px;font-size:13px;
  }
  body.boko-product-design .boko-mf-add[aria-busy="true"] {opacity:.65}
}
