/*
Theme Name: Bebilo Custom
Theme URI: https://bebilo.rs
Author: Bebilo
Description: Custom WooCommerce tema za Bebilo.
Version: 4.0.1
Text Domain: bebilo-custom
*/

/* ROOT */
:root{--bg:#fffaf7;--surface:#fff;--text:#403936;--muted:#786f6a;--pink:#f2deda;--pink-soft:#faefed;--pink-strong:#c99691;--beige:#f5e9dc;--cream:#fff5ec;--blue:#dfeaed;--sage:#e5ebe0;--border:#eedfd9;--shadow:0 10px 30px rgba(80,58,48,.07);--shadow-lg:0 20px 55px rgba(80,58,48,.12)}

/* RESET */
*,*::before,*::after{box-sizing:border-box}
html{width:100%;max-width:100%;overflow-x:hidden;scroll-behavior:smooth}
body{width:100%;max-width:100%;margin:0;overflow-x:hidden;background:var(--bg);color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}
body.bebilo-modal-open{overflow:hidden}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input,textarea,select{font:inherit;-webkit-tap-highlight-color:transparent}
.container{width:min(1180px,calc(100% - 36px));margin-inline:auto}

/* EMOJI ZAŠTITA — emoji slike uvek ostaju veličine teksta (važi svuda, i u karticama i u dugmadima) */
img.emoji,img.wp-smiley,
.woocommerce ul.products li.product img.emoji,
.woocommerce ul.products li.product a img.emoji,
.woocommerce ul.products li.product .bebilo-shop-view-product img,
.woocommerce ul.products li.product .woocommerce-loop-product__title img{
  display:inline !important;
  width:1em !important;
  height:1em !important;
  max-width:1em !important;
  margin:0 .07em !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:none !important;
  vertical-align:-0.1em !important;
  aspect-ratio:auto !important;
}

/* HEADER */
.bebilo-header{position:sticky;top:0;z-index:9999;background:rgba(255,250,247,.95);border-bottom:1px solid rgba(238,223,217,.85);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.bebilo-header-inner{min-height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.bebilo-brand{position:relative;z-index:1001;font-size:28px;font-weight:900;line-height:1;letter-spacing:-1.5px}
.bebilo-nav{display:flex;align-items:center;gap:28px;font-size:14px;font-weight:750}
.bebilo-nav a{transition:color .2s ease}
.bebilo-nav a:hover{color:var(--pink-strong)}

/* MENU BUTTON */
.bebilo-menu-toggle{display:none;width:42px;height:42px;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:1px solid var(--border);border-radius:13px;background:#fff;cursor:pointer;box-shadow:0 5px 16px rgba(80,58,48,.05)}
.bebilo-menu-toggle span{display:block;width:18px;height:2px;border-radius:999px;background:var(--text);transition:.2s ease}
.bebilo-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.bebilo-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.bebilo-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* HOMEPAGE */
.bebilo-home{overflow:hidden}
.bebilo-home-hero{padding:24px 0 15px}
.bebilo-home-hero-card{min-height:510px;position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);align-items:center;gap:40px;overflow:hidden;padding:65px;border:1px solid var(--border);border-radius:36px;background:radial-gradient(circle at 90% 20%,var(--blue),transparent 30%),radial-gradient(circle at 10% 90%,var(--pink),transparent 34%),linear-gradient(135deg,#fffaf7,#fff5ec);box-shadow:var(--shadow)}
.bebilo-home-hero-copy{position:relative;z-index:2}
.bebilo-home-kicker{display:inline-flex;align-items:center;margin-bottom:18px;padding:8px 13px;border:1px solid rgba(201,150,145,.18);border-radius:999px;background:rgba(255,255,255,.7);color:#a06f6a;font-size:12px;font-weight:800}
.bebilo-home-hero h1{max-width:700px;margin:0 0 20px;font-size:clamp(48px,6vw,74px);line-height:.99;letter-spacing:-3.7px;font-weight:900}
.bebilo-home-hero h1 span{display:block;margin-top:6px;color:var(--pink-strong)}
.bebilo-home-hero-copy>p{max-width:540px;margin:0 0 28px;color:var(--muted);font-size:17px;line-height:1.65}
.bebilo-home-hero-actions{display:flex;flex-wrap:wrap;gap:10px}

/* HOME BUTTONS */
.bebilo-home-primary-button,.bebilo-home-secondary-button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 24px;border-radius:999px;font-size:14px;font-weight:850;transition:transform .2s ease,box-shadow .2s ease}
.bebilo-home-primary-button{background:var(--pink-strong);color:#fff;border:1px solid var(--pink-strong);box-shadow:0 10px 25px rgba(201,150,145,.24)}
.bebilo-home-secondary-button{background:#fff;color:var(--text);border:1px solid var(--border)}
.bebilo-home-mini-trust{display:flex;flex-wrap:wrap;gap:8px 18px;margin-top:24px;color:var(--muted);font-size:12px;font-weight:700}

/* HERO VISUAL */
.bebilo-home-hero-visual{display:flex;align-items:center;justify-content:center}
.bebilo-home-visual-card{max-width:300px;padding:34px 26px;text-align:center;border:1px solid rgba(255,255,255,.9);border-radius:28px;background:rgba(255,255,255,.68);box-shadow:0 18px 45px rgba(80,58,48,.08);backdrop-filter:blur(12px)}
.bebilo-home-visual-emoji{display:block;margin-bottom:12px;font-size:46px}
.bebilo-home-visual-card strong{display:block;margin-bottom:7px;font-size:19px}
.bebilo-home-visual-card small{color:var(--muted);font-size:12px}

/* HOME SECTIONS */
.bebilo-home-section{padding:65px 0}
.bebilo-home-section-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}
.bebilo-home-section-head.center{justify-content:center;text-align:center}
.bebilo-home-section-head>div{max-width:680px}
.bebilo-home-section-label{display:inline-block;margin-bottom:8px;color:#a87570;font-size:11px;font-weight:900;letter-spacing:1.1px;text-transform:uppercase}
.bebilo-home-section-head h2{margin:0;font-size:clamp(31px,4vw,48px);line-height:1.07;letter-spacing:-2px}
.bebilo-home-see-all{color:#a87570;font-size:13px;font-weight:800}

/* HOME PRODUCTS */
.bebilo-home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.bebilo-home-product-card{min-width:0;overflow:hidden;border:1px solid var(--border);border-radius:23px;background:#fff;box-shadow:var(--shadow)}
.bebilo-home-product-image{position:relative;aspect-ratio:1/1;overflow:hidden;background:var(--cream)}
.bebilo-home-product-image img{width:100%;height:100%;object-fit:cover}
.bebilo-home-product-badge{position:absolute;z-index:3;top:11px;left:11px;width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.92);box-shadow:0 5px 16px rgba(60,40,30,.08)}
.bebilo-home-product-content{padding:16px}
.bebilo-home-product-content h3{margin:0 0 6px;font-size:17px;line-height:1.3}
.bebilo-home-product-price{margin-bottom:11px;font-weight:850}
.bebilo-home-product-link{color:#a87570;font-size:12px;font-weight:800}

/* BENEFITS */
.bebilo-home-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.bebilo-home-benefit-card{padding:27px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow)}
.bebilo-home-benefit-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;margin-bottom:17px;border-radius:16px;background:var(--pink-soft);font-size:24px}
.bebilo-home-benefit-card:nth-child(2) .bebilo-home-benefit-icon{background:var(--blue)}
.bebilo-home-benefit-card:nth-child(3) .bebilo-home-benefit-icon{background:var(--sage)}
.bebilo-home-benefit-card h3{margin:0 0 6px;font-size:19px}
.bebilo-home-benefit-card p{margin:0;color:var(--muted);font-size:14px}

/* HOW TO */
.bebilo-home-how{background:linear-gradient(180deg,rgba(245,233,220,.35),transparent)}
.bebilo-home-step-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.bebilo-home-step-card{position:relative;padding:26px;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow)}
.bebilo-home-step-number{position:absolute;top:20px;right:20px;color:rgba(201,150,145,.35);font-size:34px;font-weight:900}
.bebilo-home-step-icon{margin-bottom:14px;font-size:29px}
.bebilo-home-step-card h3{margin:0 0 6px;font-size:19px}
.bebilo-home-step-card p{margin:0;color:var(--muted);font-size:14px}

/* STORY */
.bebilo-home-story{max-width:900px;margin:auto;padding:55px 40px;text-align:center;border:1px solid var(--border);border-radius:30px;background:radial-gradient(circle at 10% 15%,var(--pink),transparent 30%),radial-gradient(circle at 90% 85%,var(--blue),transparent 30%),#fff;box-shadow:var(--shadow)}
.bebilo-home-story-emoji{margin-bottom:8px;font-size:31px}
.bebilo-home-story>span{display:block;margin-bottom:8px;color:#a87570;font-size:11px;font-weight:900}
.bebilo-home-story h2{max-width:650px;margin:0 auto 15px;font-size:clamp(35px,5vw,54px);line-height:1.04;letter-spacing:-2.4px}
.bebilo-home-story p{max-width:620px;margin:auto;color:var(--muted);font-size:15px;line-height:1.7}

/* FINAL CTA */
.bebilo-home-final-section{padding-top:15px;padding-bottom:75px}
.bebilo-home-final-cta{padding:55px 25px;text-align:center;border-radius:30px;background:linear-gradient(135deg,var(--pink),var(--cream),var(--blue));box-shadow:var(--shadow)}
.bebilo-home-final-emoji{margin-bottom:10px;font-size:31px}
.bebilo-home-final-cta h2{max-width:650px;margin:0 auto 9px;font-size:clamp(34px,5vw,52px);line-height:1.05;letter-spacing:-2.2px}
.bebilo-home-final-cta p{margin:0 auto 23px;color:var(--muted)}

/* =========================================================
   SHOP
========================================================= */
.site-main{padding:28px 0 70px}

/* Ako WooCommerce stranica NIJE u .container wrapperu, daj joj razmak od ivice */
.site-main:not(:has(> .container)){width:min(1180px,calc(100% - 36px));margin-inline:auto}

.woocommerce-products-header__title,.woocommerce-products-header .page-title{margin:0 0 14px;font-size:clamp(30px,4vw,42px);line-height:1.1;letter-spacing:-1.5px;font-weight:900}

/* Broj rezultata + sortiranje u istom redu */
.woocommerce .woocommerce-result-count,.woocommerce-page .woocommerce-result-count{float:none;margin:0 0 16px;color:var(--muted);font-size:14px}
.woocommerce .woocommerce-ordering,.woocommerce-page .woocommerce-ordering{float:none;margin:0 0 20px}
.woocommerce .woocommerce-ordering select{max-width:100%;min-height:42px;padding:0 36px 0 14px;border:1.5px solid #ecd4d2;border-radius:999px;background-color:#fffcfa;color:var(--text);font-size:14px;font-weight:700;outline:none}
.woocommerce .woocommerce-ordering select:focus{border-color:var(--pink-strong);box-shadow:0 0 0 3px rgba(201,150,145,.10)}
@media(min-width:601px){
  .woocommerce .woocommerce-result-count{float:left;margin:8px 0 22px}
  .woocommerce .woocommerce-ordering{float:right;margin:0 0 22px}
  .woocommerce ul.products{clear:both}
}

.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{position:relative;width:auto !important;min-width:0;margin:0 !important;padding:11px;border:1px solid var(--border);border-radius:21px;background:#fff;box-shadow:var(--shadow)}

/* Samo glavna fotografija proizvoda — ne emoji iz naziva. */
.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link>img{width:100%;height:auto;object-fit:contain;border-radius:16px}

/* Bedževi isti kao na početnoj: AKCIJA pilula levo, -20% jezičak u desnom uglu kartice */
.bebilo-sale-badge{position:absolute;z-index:8;display:inline-flex;align-items:center;justify-content:center;background:#d48ba0;color:#fff;font-weight:900;line-height:1;pointer-events:none}
.bebilo-sale-badge--left{top:21px;left:21px;min-height:30px;padding:0 14px;border-radius:999px;font-size:12px;letter-spacing:.3px}
.bebilo-sale-badge--right{top:0;right:0;min-height:32px;padding:0 14px 0 16px;border-radius:0 21px 0 16px;font-size:13px}

.woocommerce ul.products li.product .woocommerce-loop-product__title{color:var(--text);font-size:16px;font-weight:800}
.woocommerce ul.products li.product .price{color:var(--text);font-weight:850}
.bebilo-shop-view-product{width:100%;min-height:42px;display:flex;align-items:center;justify-content:center;margin-top:10px;padding:0 13px;border-radius:999px;background:var(--pink);color:#76534f;font-size:12px;font-weight:850}

/* REMOVE CART */
.cart-link,.bebilo-cart-count,.single_add_to_cart_button,.add_to_cart_button,.ajax_add_to_cart,.woocommerce div.product form.cart,.widget_shopping_cart,.woocommerce-mini-cart{display:none !important}

/* NEW PRODUCT PAGE */
.bebilo-product-page{padding:26px 0 80px}
.bebilo-product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);align-items:start;gap:44px}

/* PRODUCT GALLERY */
.bebilo-product-gallery{min-width:0}
.bebilo-product-main-image{width:100%;overflow:hidden;border:1px solid var(--border);border-radius:30px;background:#fff;box-shadow:var(--shadow)}
.bebilo-product-main-image img{width:100%;aspect-ratio:1/1;object-fit:cover}
.bebilo-product-thumbnails{display:flex;gap:10px;margin-top:12px;overflow-x:auto;padding-bottom:3px;scrollbar-width:none}
.bebilo-product-thumbnails::-webkit-scrollbar{display:none}
.bebilo-product-thumb{width:76px;height:76px;flex:0 0 76px;padding:4px;overflow:hidden;border:1.5px solid var(--border);border-radius:16px;background:#fff;cursor:pointer}
.bebilo-product-thumb img{width:100%;height:100%;object-fit:cover;border-radius:11px}

/* PRODUCT INFO */
.bebilo-product-info{position:sticky;top:95px;min-width:0;padding:32px;border:1px solid var(--border);border-radius:30px;background:#fff;box-shadow:var(--shadow)}
.bebilo-product-kicker{display:inline-flex;align-items:center;margin-bottom:13px;padding:7px 11px;border-radius:999px;background:var(--pink-soft);color:#9f6d68;font-size:11px;font-weight:850}
.bebilo-product-title{margin:0 0 10px;font-size:clamp(36px,4vw,52px);line-height:1.03;letter-spacing:-2.6px;font-weight:900}
.bebilo-product-price{margin-bottom:18px;color:#b5747b;font-size:26px;font-weight:900}
.bebilo-product-short-description{margin-bottom:22px;color:var(--muted);font-size:15px;line-height:1.65}
.bebilo-product-short-description p{margin:0 0 8px}

/* PRODUCT BENEFITS */
.bebilo-product-benefits{display:grid;gap:8px;margin-bottom:21px}
.bebilo-product-benefit{display:flex;align-items:center;gap:12px;min-height:64px;padding:10px 12px;border:1px solid var(--border);border-radius:17px;background:#fffdfa}
.bebilo-product-benefit>span{width:40px;height:40px;flex:0 0 40px;display:flex;align-items:center;justify-content:center;border-radius:13px;background:var(--pink-soft);font-size:19px}
.bebilo-product-benefit:nth-child(2)>span{background:var(--blue)}
.bebilo-product-benefit:nth-child(3)>span{background:var(--sage)}
.bebilo-product-benefit strong{display:block;margin-bottom:1px;font-size:14px;line-height:1.25}
.bebilo-product-benefit small{display:block;color:var(--muted);font-size:11px}

/* PRODUCT ORDER BUTTON */
.bebilo-product-page .bebilo-main-order-button{width:100%;min-height:58px;margin:0;padding:0 18px;border:0;border-radius:999px;background:var(--pink-strong);color:#fff;font-size:16px;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(201,150,145,.27);transition:transform .2s ease,box-shadow .2s ease}
.bebilo-product-page .bebilo-main-order-button:hover{transform:translateY(-2px);box-shadow:0 16px 35px rgba(201,150,145,.34)}
.bebilo-under-order{margin-top:9px;color:var(--muted);text-align:center;font-size:11px;font-weight:650}

/* PRODUCT MINI INFO */
.bebilo-product-mini-info{display:grid;gap:7px;margin-top:20px;padding-top:18px;border-top:1px solid var(--border);color:#665d58;font-size:12px;font-weight:700}

/* PRODUCT DESCRIPTION */
.bebilo-product-description{margin-top:55px}
.bebilo-product-description-inner{max-width:900px;margin:auto;padding:45px 50px;border:1px solid var(--border);border-radius:30px;background:radial-gradient(circle at 8% 15%,rgba(242,222,218,.85),transparent 30%),radial-gradient(circle at 93% 85%,rgba(223,234,237,.85),transparent 30%),#fff;box-shadow:var(--shadow)}
.bebilo-product-section-label{display:block;margin-bottom:8px;color:#a87570;font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase}
.bebilo-product-description h2{max-width:650px;margin:0 0 17px;font-size:clamp(30px,4vw,45px);line-height:1.05;letter-spacing:-2px}
.bebilo-product-description-text{max-width:720px;color:var(--muted);font-size:15px;line-height:1.75}
.bebilo-product-description-text p{margin:0 0 12px}

/* PRODUCT TRUST */
.bebilo-product-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:24px}
.bebilo-product-trust-item{padding:25px 20px;text-align:center;border:1px solid var(--border);border-radius:22px;background:#fff;box-shadow:var(--shadow)}
.bebilo-product-trust-item>span{display:block;margin-bottom:8px;font-size:28px}
.bebilo-product-trust-item strong{display:block;margin-bottom:3px;font-size:15px}
.bebilo-product-trust-item small{display:block;color:var(--muted);font-size:11px}

/* ORDER MODAL */
.bebilo-order-modal{position:fixed;inset:0;width:100%;max-width:100%;z-index:99999;display:none;align-items:center;justify-content:center;padding:18px;overflow-x:hidden}
.bebilo-order-modal.is-open{display:flex}
.bebilo-order-overlay{position:absolute;inset:0;background:rgba(55,45,41,.52);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.bebilo-order-dialog{position:relative;z-index:2;width:min(660px,100%);max-width:100%;min-width:0;max-height:94vh;margin:0 auto;overflow:hidden;border:1px solid rgba(238,223,217,.9);border-radius:30px;background:#fff;box-shadow:0 30px 90px rgba(55,40,35,.25)}
.bebilo-order-scroll{width:100%;max-width:100%;min-width:0;max-height:94vh;overflow-y:auto;overflow-x:hidden;padding:31px;-webkit-overflow-scrolling:touch}

/* MODAL CLOSE */
.bebilo-order-close{position:absolute;z-index:10;top:15px;right:15px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:var(--cream);color:var(--text);font-size:25px;cursor:pointer}

/* FORM HEADER */
.bebilo-order-heading{min-width:0;padding-right:45px;margin-bottom:19px}
.bebilo-order-heading h2{margin:0 0 6px;font-size:34px;line-height:1.05;letter-spacing:-1.8px}
.bebilo-order-heading p{margin:0;color:var(--muted);font-size:14px;line-height:1.45}

/* SELECTED PRODUCT */
.bebilo-selected-product{width:100%;min-width:0;display:flex;align-items:center;gap:13px;margin-bottom:24px;padding:12px;border:1px solid #eccfd0;border-radius:18px;background:var(--pink-soft)}
.bebilo-selected-image{width:68px;height:68px;flex:0 0 68px;overflow:hidden;border-radius:13px;background:#fff}
.bebilo-selected-image img{width:100%;height:100%;object-fit:cover}
.bebilo-selected-info{min-width:0;max-width:100%}
.bebilo-selected-info small{display:block;margin-bottom:1px;color:#8d756e;font-size:10px;font-weight:900}
.bebilo-selected-info strong{display:block;max-width:100%;overflow:hidden;font-size:17px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.bebilo-selected-price{margin-top:3px;color:#b36f77;font-size:18px;font-weight:900}

/* FORM */
#bebilo-order-form{width:100%;min-width:0}
.bebilo-form-block{width:100%;min-width:0;margin-bottom:27px}
.bebilo-form-title{margin-bottom:15px;color:#b16f76;font-size:12px;font-weight:900;letter-spacing:.9px;text-transform:uppercase}
.bebilo-field{width:100%;min-width:0;margin-bottom:16px}
.bebilo-field:last-child{margin-bottom:0}
.bebilo-field>label{display:block;max-width:100%;margin-bottom:6px;font-size:13px;font-weight:800}
.bebilo-field label small{color:var(--muted);font-weight:500}
.bebilo-field input,.bebilo-field textarea,.bebilo-field select{display:block;width:100%;max-width:100%;min-width:0;min-height:48px;margin:0;padding:10px 13px;border:1.5px solid #ecd4d2;border-radius:14px;background:#fffcfa;color:var(--text);outline:none;font-size:16px;line-height:1.3}
.bebilo-field input::placeholder,.bebilo-field textarea::placeholder{color:#b6b0ad}
.bebilo-field input:focus,.bebilo-field textarea:focus,.bebilo-field select:focus{border-color:var(--pink-strong);box-shadow:0 0 0 3px rgba(201,150,145,.10)}
.bebilo-field textarea{min-height:78px;resize:vertical}

/* FORM COLUMNS */
.bebilo-two-cols{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.bebilo-two-cols>*{min-width:0;max-width:100%}

/* FORM OPTIONS */
.bebilo-option-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px}
.bebilo-option{position:relative;min-width:0;cursor:pointer}
.bebilo-option input{position:absolute;opacity:0;pointer-events:none}
.bebilo-option span{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;padding:8px 10px;border:1.5px solid #ecd4d2;border-radius:999px;background:#fffcfa;color:#665953;font-size:13px;font-weight:800;text-align:center}
.bebilo-option input:checked+span{border-color:var(--pink-strong);background:var(--pink-strong);color:#fff;box-shadow:0 6px 16px rgba(201,150,145,.18)}

/* BIRTH */
.bebilo-birth-fields{width:100%;min-width:0;margin-top:15px}
.bebilo-birth-fields[hidden]{display:none !important}

/* FORM MESSAGE */
.bebilo-order-message{display:none;margin-bottom:12px;padding:12px 13px;border-radius:13px;font-size:13px}
.bebilo-order-message.success{display:block;background:#edf5e9;color:#55704f;border:1px solid #dcebd7}
.bebilo-order-message.error{display:block;background:#fff0ee;color:#9a5550;border:1px solid #f0d5d2}

/* SUBMIT */
.bebilo-order-submit{width:100%;min-height:56px;display:flex;align-items:center;justify-content:center;padding:0 18px;border:0;border-radius:999px;background:var(--pink-strong);color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(201,150,145,.27)}
.bebilo-order-submit:disabled{opacity:.55;cursor:wait}

/* TRUST UNDER FORM */
.bebilo-order-benefits{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 14px;margin-top:14px;color:#756962;font-size:11px;font-weight:700;text-align:center}

/* FOOTER */
.site-footer{margin-top:25px;padding:52px 0 28px;background:#403936;color:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:38px}
.site-footer .brand{display:inline-block;margin-bottom:10px;color:#fff;font-size:26px;font-weight:900}
.footer-muted{color:rgba(255,255,255,.65);line-height:1.7}
.footer-muted a{color:#fff}
.copyright{margin-top:35px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.48);font-size:12px}

/* =========================================================
   TABLET
========================================================= */
@media(max-width:900px){
  .bebilo-menu-toggle{display:flex}
  .bebilo-nav{position:absolute;top:63px;left:12px;right:12px;display:none;flex-direction:column;align-items:stretch;gap:2px;padding:12px;border:1px solid var(--border);border-radius:19px;background:#fff;box-shadow:var(--shadow-lg)}
  .bebilo-nav.is-open{display:flex}
  .bebilo-nav a{padding:11px 12px;border-radius:11px}

  /* HOME */
  .bebilo-home-hero-card{min-height:auto;grid-template-columns:1fr;padding:45px 38px}
  .bebilo-home-hero-visual{display:none}
  .bebilo-home-product-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bebilo-home-benefit-grid,.bebilo-home-step-grid{grid-template-columns:1fr}

  /* PRODUCT */
  .bebilo-product-layout{grid-template-columns:1fr;gap:24px}
  .bebilo-product-info{position:relative;top:auto}
  .bebilo-product-trust{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
}

/* =========================================================
   MOBILE
========================================================= */
@media(max-width:600px){
  .container{width:calc(100% - 28px)}
  .site-main{padding:20px 0 50px}
  .site-main:not(:has(> .container)){width:calc(100% - 28px)}

  /* HEADER */
  .bebilo-header-inner{min-height:60px}
  .bebilo-brand{font-size:24px}
  .bebilo-menu-toggle{width:40px;height:40px}

  /* HOME HERO */
  .bebilo-home-hero{padding:9px 0 5px}
  .bebilo-home-hero-card{display:block;padding:27px 20px 23px;border-radius:23px}
  .bebilo-home-kicker{margin-bottom:13px;padding:6px 10px;font-size:10px}
  .bebilo-home-hero h1{margin-bottom:13px;font-size:37px;line-height:1.01;letter-spacing:-2.1px}
  .bebilo-home-hero-copy>p{margin-bottom:19px;font-size:13px;line-height:1.6}
  .bebilo-home-hero-actions{display:grid;grid-template-columns:1fr;gap:7px}
  .bebilo-home-primary-button,.bebilo-home-secondary-button{width:100%;min-height:49px;font-size:13px}
  .bebilo-home-mini-trust{display:grid;gap:4px;margin-top:16px;font-size:10px}

  /* HOME SECTIONS */
  .bebilo-home-section{padding:40px 0}
  .bebilo-home-section-head{display:block;margin-bottom:20px}
  .bebilo-home-section-head.center{text-align:left}
  .bebilo-home-section-label{margin-bottom:5px;font-size:9px}
  .bebilo-home-section-head h2{font-size:28px;letter-spacing:-1.4px}
  .bebilo-home-see-all{display:inline-block;margin-top:9px;font-size:11px}

  /* HOME PRODUCTS */
  .bebilo-home-product-grid{gap:12px}
  .bebilo-home-product-card{border-radius:17px}
  .bebilo-home-product-content{padding:11px 10px 12px}
  .bebilo-home-product-content h3{margin-bottom:4px;font-size:13px}
  .bebilo-home-product-price{margin-bottom:6px;font-size:13px}
  .bebilo-home-product-link{font-size:9px}

  /* PRODUCT PAGE MOBILE */
  .bebilo-product-page{padding:10px 0 50px}
  .bebilo-product-layout{display:block}
  .bebilo-product-main-image{border-radius:22px}
  .bebilo-product-main-image img{aspect-ratio:1/1;object-fit:cover}
  .bebilo-product-thumbnails{gap:7px;margin-top:8px}
  .bebilo-product-thumb{width:61px;height:61px;flex-basis:61px;border-radius:13px}

  /* INFO CARD */
  .bebilo-product-info{position:relative;top:auto;margin-top:14px;padding:21px 17px;border-radius:22px}
  .bebilo-product-kicker{margin-bottom:10px;padding:6px 9px;font-size:9px}
  .bebilo-product-title{margin-bottom:7px;font-size:32px;line-height:1.02;letter-spacing:-1.7px}
  .bebilo-product-price{margin-bottom:13px;font-size:22px}
  .bebilo-product-short-description{margin-bottom:16px;font-size:13px;line-height:1.55}

  /* BENEFITS */
  .bebilo-product-benefits{gap:6px;margin-bottom:15px}
  .bebilo-product-benefit{min-height:57px;gap:10px;padding:8px 10px;border-radius:15px}
  .bebilo-product-benefit>span{width:37px;height:37px;flex-basis:37px;border-radius:12px;font-size:17px}
  .bebilo-product-benefit strong{font-size:12px}
  .bebilo-product-benefit small{font-size:10px}

  /* ORDER */
  .bebilo-product-page .bebilo-main-order-button{min-height:54px;font-size:14px}
  .bebilo-under-order{margin-top:7px;font-size:10px}
  .bebilo-product-mini-info{gap:5px;margin-top:15px;padding-top:14px;font-size:10px}

  /* DESCRIPTION */
  .bebilo-product-description{margin-top:24px}
  .bebilo-product-description-inner{padding:31px 18px;border-radius:22px}
  .bebilo-product-section-label{font-size:9px}
  .bebilo-product-description h2{margin-bottom:11px;font-size:29px;letter-spacing:-1.5px}
  .bebilo-product-description-text{font-size:12px;line-height:1.65}

  /* TRUST */
  .bebilo-product-trust{gap:8px;margin-top:14px}
  .bebilo-product-trust-item{display:grid;grid-template-columns:42px 1fr;align-items:center;column-gap:10px;padding:13px 14px;text-align:left;border-radius:17px}
  .bebilo-product-trust-item>span{grid-row:1 / 3;margin:0;font-size:24px;text-align:center}
  .bebilo-product-trust-item strong{margin:0;font-size:13px}
  .bebilo-product-trust-item small{font-size:10px}

  /* SHOP */
  .woocommerce-products-header__title,.woocommerce-products-header .page-title{font-size:30px;margin-bottom:10px}
  .woocommerce .woocommerce-result-count{font-size:13px;margin-bottom:12px}
  .woocommerce .woocommerce-ordering{margin-bottom:18px}
  .woocommerce .woocommerce-ordering select{width:100%;font-size:14px}
  .woocommerce ul.products{gap:14px}
  .woocommerce ul.products li.product{padding:8px;border-radius:17px}
  .woocommerce ul.products li.product img{border-radius:12px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px}
  .woocommerce ul.products li.product .price{font-size:12px}
  .bebilo-sale-badge--left{top:15px;left:15px;min-height:24px;padding:0 10px;font-size:10px}
  .bebilo-sale-badge--right{min-height:26px;padding:0 10px 0 12px;border-radius:0 17px 0 13px;font-size:11px}
  .bebilo-shop-view-product{min-height:38px;margin-top:7px;font-size:10px}

  /* ORDER MODAL MOBILE */
  .bebilo-order-modal{align-items:flex-end;justify-content:center;padding:0;overflow-x:hidden}
  .bebilo-order-dialog{width:100%;max-width:100%;max-height:94vh;margin:0;border-left:0;border-right:0;border-bottom:0;border-radius:27px 27px 0 0}
  .bebilo-order-scroll{max-height:94vh;padding:23px 17px 27px;overflow-x:hidden}
  .bebilo-order-close{top:13px;right:14px;width:38px;height:38px;font-size:23px}

  /* MODAL TITLE */
  .bebilo-order-heading{padding-right:42px;margin-bottom:16px}
  .bebilo-order-heading h2{margin-bottom:5px;font-size:30px;letter-spacing:-1.5px}
  .bebilo-order-heading p{max-width:290px;font-size:12px;line-height:1.4}

  /* SELECTED PRODUCT */
  .bebilo-selected-product{gap:10px;margin-bottom:21px;padding:10px;border-radius:16px}
  .bebilo-selected-image{width:60px;height:60px;flex-basis:60px;border-radius:11px}
  .bebilo-selected-info{flex:1 1 auto}
  .bebilo-selected-info small{font-size:8px}
  .bebilo-selected-info strong{font-size:14px}
  .bebilo-selected-price{margin-top:1px;font-size:16px}

  /* FORM */
  .bebilo-form-block{margin-bottom:23px}
  .bebilo-form-title{margin-bottom:12px;font-size:11px}
  .bebilo-field{margin-bottom:13px}
  .bebilo-field>label{font-size:12px}

  /* 16px = NO IPHONE ZOOM */
  .bebilo-field input,.bebilo-field textarea,.bebilo-field select{min-height:46px;padding:9px 10px;border-radius:13px;font-size:16px;line-height:1.25}
  .bebilo-field textarea{min-height:74px}

  /* TWO COLUMNS */
  .bebilo-two-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
  .bebilo-two-cols>.bebilo-field{min-width:0}

  /* OPTIONS */
  .bebilo-option-row{gap:8px}
  .bebilo-option span{min-height:44px;padding:7px 8px;font-size:12px}

  /* SUBMIT */
  .bebilo-order-submit{min-height:54px;font-size:14px}

  /* TRUST */
  .bebilo-order-benefits{gap:5px 11px;margin-top:13px;font-size:10px}

  /* FOOTER */
  .site-footer{padding:40px 0 22px}
}

/* EXTRA SMALL */
@media(max-width:370px){
  .bebilo-order-scroll{padding-left:14px;padding-right:14px}
  .bebilo-two-cols{gap:6px}
  .bebilo-product-title{font-size:29px}
}


/* =========================================================
   PONUDA 10% PRI ZATVARANJU FORME
========================================================= */
.bebilo-discount-badge{display:inline-flex;align-items:center;gap:5px;margin-top:6px;padding:5px 10px;border-radius:999px;background:var(--pink-strong);color:#fff;font-size:11px;font-weight:900;line-height:1}
.bebilo-discount-badge[hidden]{display:none}

.bebilo-exit-offer{position:absolute;inset:0;z-index:30;display:none;align-items:center;justify-content:center;padding:20px;border-radius:inherit;background:rgba(64,57,54,.55);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.bebilo-exit-offer.is-open{display:flex}

.bebilo-exit-card{width:min(420px,100%);padding:32px 26px 22px;border:1px solid #eccfd0;border-radius:26px;background:radial-gradient(circle at 12% 10%,var(--pink),transparent 36%),radial-gradient(circle at 92% 90%,var(--blue),transparent 34%),#fff;text-align:center;box-shadow:0 26px 70px rgba(55,40,35,.28);animation:bebiloPop .25s ease}
@keyframes bebiloPop{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}

.bebilo-exit-icon{width:62px;height:62px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px;border-radius:20px;background:var(--pink-soft);font-size:30px}
.bebilo-exit-eyebrow{margin-bottom:8px;color:#b16f76;font-size:11px;font-weight:900;letter-spacing:.9px;text-transform:uppercase}
.bebilo-exit-card h3{margin:0 0 10px;color:var(--text);font-size:30px;line-height:1.05;letter-spacing:-1.5px;font-weight:900}
.bebilo-exit-card h3 span{color:var(--pink-strong)}
.bebilo-exit-card p{margin:0 0 20px;color:var(--muted);font-size:14px;line-height:1.5}

.bebilo-exit-accept{width:100%;min-height:54px;display:flex;align-items:center;justify-content:center;padding:0 18px;border:0;border-radius:999px;background:var(--pink-strong);color:#fff;font-size:15px;font-weight:900;cursor:pointer;box-shadow:0 12px 28px rgba(201,150,145,.27);transition:transform .2s ease,box-shadow .2s ease}
.bebilo-exit-accept:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(201,150,145,.34)}

.bebilo-exit-decline{display:block;margin:10px auto 0;padding:8px 12px;border:0;background:none;color:var(--muted);font-size:13px;font-weight:700;text-decoration:underline;cursor:pointer}
.bebilo-exit-decline:hover{color:var(--text)}

@media(max-width:600px){
  .bebilo-exit-offer{padding:14px}
  .bebilo-exit-card{padding:26px 18px 18px;border-radius:22px}
  .bebilo-exit-card h3{font-size:26px;letter-spacing:-1.3px}
  .bebilo-exit-icon{width:54px;height:54px;font-size:26px}
}

/* Cena sa primenjenim 10% popustom */
.bebilo-price-old{margin-right:8px;color:#b9a9a4;font-size:.78em;font-weight:700;text-decoration:line-through}
.bebilo-price-new{color:#b36f77;font-weight:900}


/* =========================================================
   SHOP — PASTELNE KARTICE  (forma za porudžbinu se ne menja)
========================================================= */
body{background:#fff9f4}

.site-main,.bebilo-shop{font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif}

.woocommerce-products-header__title,
.woocommerce-products-header .page-title{color:#3a3548;font-family:'Outfit',system-ui,sans-serif;font-size:clamp(34px,4.4vw,56px);font-weight:600;letter-spacing:-.035em}

.woocommerce .woocommerce-result-count{color:#6f6879}

.woocommerce ul.products li.product{padding:12px 12px 16px;border:1px solid #f0e6dc;border-radius:30px;background:#fff;box-shadow:0 10px 28px rgba(58,53,72,.06);transition:transform .25s ease,box-shadow .25s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(58,53,72,.10)}

.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link>img{border-radius:20px}

.woocommerce ul.products li.product .woocommerce-loop-product__title{margin-top:14px;color:#3a3548;font-family:'Outfit',system-ui,sans-serif;font-weight:600}

.woocommerce ul.products li.product .price{color:#3a3548;font-family:'Outfit',system-ui,sans-serif;font-weight:600}

.bebilo-sale-badge{box-shadow:none;font-family:'Outfit',system-ui,sans-serif;font-weight:600}
.bebilo-sale-badge--left{border:0;background:#c94682;color:#fff}
.bebilo-sale-badge--right{border-radius:0 24px 0 16px;background:#c94682;color:#fff}

.bebilo-shop-view-product{border-radius:999px;background:#a9d3f2;color:#12365a;font-family:'Outfit',system-ui,sans-serif;font-size:15px;font-weight:600;box-shadow:none;transition:background .2s ease}
.bebilo-shop-view-product:hover{background:#8fc3ea;color:#12365a}

.woocommerce .woocommerce-ordering select:focus{border-color:#c2417a;box-shadow:0 0 0 3px rgba(194,65,122,.14)}

@media(max-width:600px){
  .woocommerce ul.products li.product{padding:8px 8px 12px;border-radius:22px}
  .woocommerce ul.products li.product>a.woocommerce-LoopProduct-link>img{border-radius:16px}
}


/* =========================================================
   FORMA ZA PORUDŽBINU — DUGMAD U BEBI PLAVOJ
========================================================= */
.bebilo-order-submit{background:#a9d3f2;color:#12365a;box-shadow:0 12px 28px rgba(143,195,234,.4);transition:background .2s ease}
.bebilo-order-submit:hover:not(:disabled){background:#8fc3ea}
.bebilo-option input:checked+span{border-color:#8fc3ea;background:#a9d3f2;color:#12365a;box-shadow:0 6px 16px rgba(143,195,234,.3)}
.bebilo-field input:focus,.bebilo-field textarea:focus,.bebilo-field select:focus{border-color:#8fc3ea;box-shadow:0 0 0 3px rgba(143,195,234,.25)}
.bebilo-exit-accept{background:#a9d3f2;color:#12365a;box-shadow:0 12px 28px rgba(143,195,234,.4)}
.bebilo-exit-accept:hover{box-shadow:0 16px 34px rgba(143,195,234,.5)}
.bebilo-discount-badge{background:#a9d3f2;color:#12365a}
.bebilo-exit-card h3 span{color:#2f6fa3}


/* =========================================================
   ZAKLJUČAN HORIZONTALNI SKROL (sajt se ne pomera levo-desno)
========================================================= */
html,body{width:100%;max-width:100%;overflow-x:hidden;overflow-x:clip;overscroll-behavior-x:none}
body{position:relative}
.bb-product-page,.bebilo-shop,.site-main,.site-footer{max-width:100%;overflow-x:clip}
img,svg,video,iframe,table{max-width:100%}
.site-main,.bb-product-page,.bebilo-fresh-home{word-wrap:break-word;overflow-wrap:break-word}

/* MENI: header ne sme da seče padajući meni */
.bb-site-header,.bebilo-header,.bb-site-header-inner{overflow:visible !important}

/* =========================================================
   ZAHVALNICA NAKON PORUDŽBINE
========================================================= */
.bebilo-thanks{position:relative;padding:54px 32px 34px;font-family:'Outfit',system-ui,-apple-system,'Segoe UI',sans-serif;text-align:center;background:radial-gradient(circle at 10% 6%,#fdebf1,transparent 42%),radial-gradient(circle at 92% 94%,#eaf4fb,transparent 42%),#fff;max-height:94vh;overflow-y:auto}
.bebilo-thanks[hidden]{display:none}
.bebilo-thanks-check{width:92px;height:92px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;border-radius:50%;background:#c6ebdd;animation:bebiloPop .35s ease}
.bebilo-thanks-check svg{width:58px;height:58px;fill:none;stroke:#1f7a58;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.bebilo-thanks-check path{stroke-dasharray:50;stroke-dashoffset:50;animation:bebiloDraw .5s .15s ease forwards}
@keyframes bebiloDraw{to{stroke-dashoffset:0}}
.bebilo-thanks h2{margin:0 0 8px;color:#3a3548;font-size:36px;line-height:1.05;letter-spacing:-.03em;font-weight:600}
.bebilo-thanks-lead{margin:0 0 16px;color:#3a3548;font-size:19px;font-weight:500}
.bebilo-thanks-order{display:inline-block;margin:0 0 16px;padding:8px 18px;border-radius:999px;background:#fdebf1;color:#7d2349;font-size:15px;font-weight:600}
.bebilo-thanks-order[hidden]{display:none}
.bebilo-thanks-info{margin:0 auto 20px;max-width:420px;color:#6f6879;font-size:16px;line-height:1.55}
.bebilo-thanks-list{display:grid;gap:8px;margin:0 0 26px;padding:0;list-style:none;text-align:left}
.bebilo-thanks-list li{padding:12px 16px;border-radius:16px;background:#fff9f4;border:1px solid #f0e6dc;color:#4a4458;font-size:14.5px;line-height:1.45}
.bebilo-thanks-close{width:100%;min-height:56px;border:0;border-radius:999px;background:#a9d3f2;color:#12365a;font-family:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background .2s ease}
.bebilo-thanks-close:hover{background:#8fc3ea}
@media(max-width:600px){
  .bebilo-thanks{padding:40px 20px 28px}
  .bebilo-thanks h2{font-size:30px}
  .bebilo-thanks-lead{font-size:17px}
  .bebilo-thanks-check{width:80px;height:80px}
  .bebilo-thanks-check svg{width:50px;height:50px}
}

/* =========================================================
   BEBILO — KOMPAKTNIJA POPUP FORMA (2026-10)
   Mobilni input ostaje 16px da iPhone ne zumira automatski.
========================================================= */
@media(min-width:601px){
  .bebilo-order-dialog{width:min(580px,100%);border-radius:24px}
  .bebilo-order-scroll{padding:23px 25px;max-height:90vh}
  .bebilo-order-dialog{max-height:90vh}
  .bebilo-order-heading h2{font-size:28px}
  .bebilo-selected-product{margin-bottom:17px;padding:9px}
  .bebilo-selected-image{width:56px;height:56px;flex-basis:56px}
  .bebilo-form-block{margin-bottom:18px}
  .bebilo-field{margin-bottom:11px}
  .bebilo-form-title{margin-bottom:9px}
  .bebilo-field input,.bebilo-field textarea,.bebilo-field select{min-height:43px;padding:8px 11px}
  .bebilo-option span{min-height:40px}
  .bebilo-order-submit{min-height:49px}
}
@media(max-width:600px){
  .bebilo-order-dialog{max-height:92dvh;border-radius:21px 21px 0 0}
  .bebilo-order-scroll{max-height:92dvh;padding:17px 15px 18px}
  .bebilo-order-close{top:9px;right:10px;width:34px;height:34px;font-size:22px}
  .bebilo-order-heading{padding-right:38px;margin-bottom:10px}
  .bebilo-order-heading h2{font-size:24px;letter-spacing:-.9px;margin-bottom:3px}
  .bebilo-order-heading p{font-size:11px;line-height:1.35}
  .bebilo-selected-product{gap:9px;padding:8px;margin-bottom:13px;border-radius:13px}
  .bebilo-selected-image{width:48px;height:48px;flex-basis:48px}
  .bebilo-selected-info strong{font-size:13px}
  .bebilo-selected-price{font-size:15px}
  .bebilo-form-block{margin-bottom:16px}
  .bebilo-form-title{font-size:10px;margin-bottom:8px;letter-spacing:.5px}
  .bebilo-field{margin-bottom:9px}
  .bebilo-field>label{font-size:11px;margin-bottom:4px}
  .bebilo-field input,.bebilo-field textarea,.bebilo-field select{min-height:43px;padding:7px 10px;border-radius:11px;font-size:16px}
  .bebilo-field textarea{min-height:60px}
  .bebilo-option-row{gap:7px}
  .bebilo-option span{min-height:39px;padding:6px 7px;font-size:11px}
  .bebilo-two-cols{gap:7px}
  .bebilo-birth-fields{margin-top:10px}
  .bebilo-order-submit{min-height:48px;font-size:13px}
  .bebilo-order-benefits{gap:4px 9px;margin-top:9px;font-size:9px}
  .bebilo-exit-card{padding:21px 16px 15px}
  .bebilo-exit-icon{width:46px;height:46px;font-size:23px;margin-bottom:8px}
  .bebilo-exit-card h3{font-size:23px}
  .bebilo-exit-card p{font-size:12px;margin-bottom:14px}
  .bebilo-exit-accept{min-height:46px;font-size:13px}
}

/* Forma ima svoj skrol; pozadina je fiksirana kroz theme.js. */
.bebilo-order-modal.is-open{position:fixed;inset:0;height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:contain}
.bebilo-order-dialog{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.bebilo-order-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
@media(max-width:600px){.bebilo-order-dialog{max-height:92dvh}.bebilo-order-scroll{max-height:none}}

/* BEBILO: pouzdano skrolovanje unutar forme */
.bebilo-order-modal.is-open{position:fixed;inset:0;height:100dvh;max-height:100dvh;overflow:hidden;overscroll-behavior:contain}
.bebilo-order-dialog{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.bebilo-order-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.bebilo-exit-offer.is-open{display:flex}
@media(max-width:600px){.bebilo-order-dialog{max-height:92dvh}.bebilo-order-scroll{max-height:none}}

/* =========================================================
   FOOTER: mali logo levo, tekst citljiv
   Menjamo samo .site-footer, ne zaglavlje ili produkt stranu.
========================================================= */
.site-footer{padding:36px 0 22px}
.site-footer .footer-grid{gap:26px;align-items:start}
.site-footer .brand,
.site-footer .bebilo-brand,
.site-footer .footer-logo{display:block;width:fit-content;max-width:100%;margin:0 0 12px;text-align:left;font-size:26px!important;line-height:1.15;font-weight:900}
.site-footer .brand img,
.site-footer .bebilo-brand img,
.site-footer .footer-logo img,
.site-footer .custom-logo-link img,
.site-footer img.custom-logo{display:block!important;width:auto!important;height:auto!important;max-width:120px!important;max-height:38px!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
.site-footer .footer-grid p,
.site-footer .footer-grid li,
.site-footer .footer-grid a:not(.brand):not(.bebilo-brand):not(.footer-logo):not(.custom-logo-link){font-size:15px;line-height:1.65}
.site-footer .footer-grid h3,
.site-footer .footer-grid h4{font-size:17px;line-height:1.35;margin:0 0 10px}
.site-footer .footer-muted{font-size:14px;line-height:1.65}
.site-footer .footer-grid svg:not(.custom-logo svg),
.site-footer .footer-grid .icon{width:17px;height:17px}
.site-footer .copyright{font-size:12px;line-height:1.5}
@media(max-width:600px){
  .site-footer{padding:30px 0 19px;margin-top:18px}
  .site-footer .footer-grid{gap:20px}
  .site-footer .brand,
  .site-footer .bebilo-brand,
  .site-footer .footer-logo{font-size:24px!important;margin:0 0 9px;text-align:left}
  .site-footer .brand img,
  .site-footer .bebilo-brand img,
  .site-footer .footer-logo img,
  .site-footer .custom-logo-link img,
  .site-footer img.custom-logo{max-width:110px!important;max-height:34px!important}
  .site-footer .footer-grid p,
  .site-footer .footer-grid li,
  .site-footer .footer-grid a:not(.brand):not(.bebilo-brand):not(.footer-logo):not(.custom-logo-link){font-size:14px;line-height:1.6}
  .site-footer .footer-grid h3,
  .site-footer .footer-grid h4{font-size:16px}
  .site-footer .footer-muted{font-size:14px;line-height:1.6}
  .site-footer .copyright{font-size:12px;margin-top:20px;padding-top:14px}
}

/* =========================================================
   STRANICA PROIZVODA — NOVI IZGLED (po uzoru na Drvolinu)
   Nalepi na SAM KRAJ style.css. Ne menja formu za porudžbinu.
========================================================= */
body .bb-product-page .bb-main-image{padding:0;border:0;border-radius:24px;background:#f3e6d6}
body .bb-product-page .bb-slider-track{border-radius:24px}
body .bb-product-page .bb-slide img{border-radius:0;max-height:none}
body .bb-product-page .bb-image-badge{position:absolute;top:14px;left:14px;z-index:6;padding:6px 12px;border-radius:999px;background:#c2417a;color:#fff;font-size:13px;font-weight:700;line-height:1.2;pointer-events:none}
body .bb-product-page .bb-breadcrumb{margin:0 0 10px;color:#6f6879;font-size:13px}
body .bb-product-page .bb-breadcrumb a{color:#c2417a}
body .bb-product-page .bb-title{font-weight:700}
body .bb-product-page .bb-title-script{display:inline-block;font-family:'Pacifico',cursive;font-weight:400;letter-spacing:0;color:#2f6fa3;font-size:.92em;line-height:1.25}
body .bb-product-page .bb-price-current{color:#1f3557;font-weight:700}
body .bb-product-page .bb-price-save{display:inline-flex;align-items:center;padding:5px 11px;border-radius:999px;background:#fdebf1;color:#8a2e57;font-size:12px;font-weight:700;line-height:1.2;white-space:nowrap}
body .bb-product-page .bb-order-button{box-shadow:0 6px 16px rgba(46,109,164,.2)}
body .bb-product-page .bb-order-note{color:#6f6879}
body .bb-product-page .bb-benefit{border:0;border-radius:16px;background:#fdebf1}
body .bb-product-page .bb-benefit:nth-child(2){background:#eaf4fb}
body .bb-product-page .bb-benefit:nth-child(3){background:#edf8f3}
body .bb-product-page .bb-benefit span svg{width:18px;height:18px}
body .bb-product-page .bb-benefit strong{color:#3a3548;font-size:12px;font-weight:600}
body .bb-product-page .bb-description{margin-top:48px;padding:28px 0 0;border-radius:0;background:transparent;border-top:1px solid #eadfd6}
body .bb-product-page .bb-description .bb-section-label{display:none}
body .bb-product-page .bb-description h2{font-size:22px}
body .bb-product-page .bb-description-content ul{padding-left:0;list-style:none}
body .bb-product-page .bb-description-content ul li{position:relative;padding-left:26px;margin:6px 0}
body .bb-product-page .bb-description-content ul li::before{content:"—";position:absolute;left:0;color:#f3a9c3;font-weight:700}
body .bb-product-page .bb-h2-script{font-family:'Pacifico',cursive;font-weight:400;letter-spacing:0;color:#2f6fa3}
@media(max-width:700px){
  body .bb-product-page .bb-gallery{width:100%;margin:0}
  body .bb-product-page .bb-main-image{border-radius:22px}
  body .bb-product-page .bb-slider-track{height:auto;border-radius:22px;align-items:center}
  body .bb-product-page .bb-slide{height:auto;background:transparent}
  body .bb-product-page .bb-slide img{height:auto;max-height:none;object-fit:contain}
  body .bb-product-page .bb-title{font-size:32px;line-height:1.08}
  body .bb-product-page .bb-price-current{font-size:28px}
  body .bb-product-page .bb-order-button{min-height:56px;font-size:16px}
  body .bb-product-page .bb-order-note{font-size:12px}
  body .bb-product-page .bb-benefit{padding:12px 4px}
  body .bb-product-page .bb-benefit strong{font-size:11px}
  body .bb-product-page .bb-description{margin-top:28px;padding:22px 0 0}
}