/* Foodie Akcija v1 — isolated from the existing shop stylesheet. */
.fo-promotion-hero{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:24px;align-items:center}
.fo-promotion-hero>div:first-child{min-width:0}
.fo-promotion-hero h1.fo-promotion-title{font-weight:800;overflow-wrap:anywhere}
.fo-promotion-hero p.fo-promotion-description{white-space:pre-line;font-weight:400;line-height:1.7;max-width:78ch;overflow-wrap:anywhere}
.fo-promotion-timing{display:flex;gap:10px;align-self:stretch;align-items:stretch}
.fo-promotion-timing-item{display:flex;flex-direction:column;justify-content:center;min-width:155px;padding:13px 15px;border:1px solid rgba(255,255,255,.10);border-radius:13px;background:rgba(255,255,255,.06)}
.fo-promotion-timing-item span{color:#d5a088;font-size:10px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.fo-promotion-timing-item strong{margin-top:6px;color:#fff;font-size:15px;line-height:1.25;white-space:nowrap}
.fo-promotion-hero-summary{display:flex;flex-direction:column;align-items:flex-end;gap:12px;flex-shrink:0}
.fo-promotion-percent{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;border-radius:16px;background:var(--food);color:#fff;font-size:28px;font-weight:900;white-space:nowrap}
.fo-promotion-badge{position:absolute;left:12px;bottom:12px;max-width:calc(100% - 24px);padding:7px 11px;border-radius:10px;background:var(--food);color:#fff;font-size:11px;font-weight:800;line-height:1.3;box-shadow:0 3px 12px rgba(0,0,0,.08)}
.fo-promotion-inline-badge{display:inline-block;margin-bottom:16px;padding:7px 12px;border-radius:9px;background:var(--food);color:#fff;text-decoration:none;font-size:12px;font-weight:800}
.fo-promotion-old-price{display:block!important;margin-bottom:3px;color:var(--muted);font-size:13px!important;font-weight:400;line-height:1.4;text-decoration:line-through}
.fo-promotion-current-price{color:var(--food)}
.fo-promotion-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:8px;margin-top:28px}
.fo-promotion-pagination a{display:inline-flex;align-items:center;justify-content:center;min-width:38px;min-height:38px;padding:8px 12px;border:1px solid var(--line);border-radius:10px;background:var(--paper);text-decoration:none;font-size:13px;font-weight:700}
.fo-promotion-pagination a.is-active{background:var(--food);border-color:var(--food);color:#fff}
.fo-promotion-pagination a:hover{border-color:var(--food)}
.fo-promotion-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.fo-checkout-promotion-label{display:block!important;color:var(--food);font-size:11px;line-height:1.5}
@media(max-width:1050px){.fo-promotion-hero{grid-template-columns:minmax(0,1fr) auto}.fo-promotion-timing{grid-column:1/-1;grid-row:2}.fo-promotion-hero-summary{grid-column:2;grid-row:1}}
@media(max-width:650px){.fo-promotion-hero{display:flex;flex-direction:column;align-items:stretch}.fo-promotion-timing{flex-direction:column}.fo-promotion-timing-item{min-width:0}.fo-promotion-hero-summary{flex-direction:row;align-items:center;align-self:stretch;justify-content:space-between}.fo-promotion-percent{font-size:22px;padding:10px 16px}}

/* Keep the existing account/cart controls and menu reachable on small phones. */
@media(max-width:480px){
.fo-header{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding-left:12px;padding-right:12px}
.fo-header-actions{gap:6px}
.fo-header .fo-account-button{min-width:0;padding:4px}
.fo-header .fo-client-button-text{display:none}
.fo-header .fo-cart-header-button,.fo-header .fo-wishlist-header-button{gap:4px;padding-left:6px;padding-right:6px}
.fo-header .fo-brand{min-width:0}
.fo-header .fo-brand img{max-width:100%}
}

/* Foodie Akcija v3: izravna zajednička narudžba bez utjecaja na lager. */
.fo-promotion-order-flash{max-width:1500px;margin:-4px auto 14px;padding:12px 15px;border-radius:12px;font-size:10px;font-weight:850;line-height:1.5}
.fo-promotion-order-flash.is-success{border:1px solid #b9dfc9;background:#eef9f2;color:#27714d}
.fo-promotion-order-flash.is-error{border:1px solid #e7c1c1;background:#fff2f2;color:#963f3f}
.fo-promotion-order-box{margin-top:12px;padding-top:11px;border-top:1px solid #eee9e2}
.fo-promotion-order-current{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;padding:7px 9px;border-radius:9px;background:#f8f3ef}
.fo-promotion-order-current span{color:#83786f;font-size:10px;font-weight:900;text-transform:uppercase;line-height:1.35}
.fo-promotion-order-current strong{color:var(--food);font-size:10px;white-space:nowrap}
.fo-promotion-order-form{display:grid;grid-template-columns:72px minmax(0,1fr);gap:7px;align-items:end}
.fo-promotion-order-form label span{display:block;margin-bottom:4px;color:#8b8490;font-size:10px;font-weight:900;text-transform:uppercase}
.fo-promotion-order-form input{width:100%;height:40px;border:1px solid #dccdc4;border-radius:9px;padding:0 8px;background:#fff;outline:0;font-size:10px}
.fo-promotion-order-form input:focus{border-color:var(--food);box-shadow:0 0 0 3px rgba(190,105,72,.09)}
.fo-promotion-order-form button,.fo-promotion-order-login{display:flex;align-items:center;justify-content:center;min-height:40px;padding:6px 9px;border:1px solid #d49b84;border-radius:9px;background:#fff4ef;color:#a84f2d;text-align:center;text-decoration:none;font-size:10px;font-weight:950;line-height:1.2;cursor:pointer}
.fo-promotion-order-form button:hover,.fo-promotion-order-login:hover{background:#fbe7de}
.fo-promotion-order-state{padding:9px 10px;border-radius:9px;background:#f4f2ef;color:#77716b;font-size:10px;font-weight:850;line-height:1.45}
.fo-promotion-order-state.is-closed{background:#f5eeee;color:#8d5252}
@media(max-width:480px){.fo-promotion-order-form{grid-template-columns:86px minmax(0,1fr)}.fo-promotion-order-form button,.fo-promotion-order-login{font-size:10px}}

/* Foodie Akcija v4 — privatna Akcijska košarica prije slanja u BO. */
.fo-promotion-cart-header-button{display:flex;align-items:center;gap:6px;min-height:41px;padding:0 10px;border:1px solid #e2b9a8;border-radius:11px;background:#fff4ef;color:#a84f2d;text-decoration:none;font-size:10px;font-weight:900}
.fo-promotion-cart-header-button:hover{background:#fbe7de}
.fo-promotion-cart-header-button strong{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;background:var(--food);color:#fff;font-size:10px}
.fo-promotion-cart-symbol{font-size:13px}
.fo-promotion-cart-hero-link{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:150px;padding:9px 11px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-size:10px;font-weight:900}
.fo-promotion-cart-hero-link strong{display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:999px;background:#fff;color:var(--food);font-size:10px}
.fo-promotion-cart-hero{align-items:center;background:linear-gradient(135deg,#1d2434,#343e55)}
.fo-promotion-cart-hero-meta{display:flex;align-items:stretch;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.fo-promotion-cart-hero-meta>div:not(.fo-cart-count-box){display:flex;flex-direction:column;justify-content:center;min-width:145px;padding:10px 12px;border-radius:11px;background:rgba(255,255,255,.07)}
.fo-promotion-cart-hero-meta>div:not(.fo-cart-count-box) span{color:#d4a18b;font-size:10px;font-weight:900;text-transform:uppercase}
.fo-promotion-cart-hero-meta>div:not(.fo-cart-count-box) strong{margin-top:4px;color:#fff;font-size:10px}
.fo-promotion-cart-item{border-color:#eadbd3}
.fo-promotion-cart-summary{border-color:#eadbd3}
.fo-promotion-cart-submit-box{margin-top:16px;padding:14px;border-radius:12px;background:#fff3ed;color:#744431}
.fo-promotion-cart-submit-box strong{font-size:11px}
.fo-promotion-cart-submit-box p{margin:5px 0 11px;font-size:10px;line-height:1.5}
.fo-promotion-cart-submit-box.is-disabled{background:#f1efed;color:#77716b}
.fo-promotion-cart-submit-button{display:flex;align-items:center;justify-content:center;width:100%;height:44px;border:0;border-radius:9px;background:var(--food);color:#fff;font-size:10px;font-weight:950;cursor:pointer}
.fo-promotion-cart-submit-button:hover{filter:brightness(.96)}
.fo-promotion-cart-submit-button:disabled{background:#bbb5b0;cursor:not-allowed;filter:none}
.fo-promotion-empty-cart .fo-empty-cart-icon{background:#fff0e9}
@media(max-width:1050px){.fo-promotion-cart-header-button>span:nth-child(2){display:none}.fo-promotion-cart-hero{align-items:flex-start;flex-direction:column}.fo-promotion-cart-hero-meta{justify-content:flex-start;width:100%}}
@media(max-width:650px){.fo-promotion-cart-hero-meta{flex-direction:column}.fo-promotion-cart-hero-meta>div:not(.fo-cart-count-box){min-width:0}.fo-promotion-cart-header-button{padding-left:7px;padding-right:7px}}
@media(max-width:480px){.fo-header .fo-promotion-cart-header-button{gap:4px;padding-left:6px;padding-right:6px}}

/* Foodie Akcija v6 — detalj proizvoda otvoren iz Akcije ostaje u akcijskom kontekstu. */
.fo-product-detail.is-promotion-context .fo-product-gallery,.fo-product-detail.is-promotion-context .fo-product-info{border-color:#ead5cb}
.fo-product-buy-box.is-promotion-context{grid-template-columns:minmax(180px,.8fr) minmax(330px,1.2fr);border-color:#e5c4b6;background:#fff8f4}
.fo-promotion-detail-timing{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:18px}
.fo-promotion-detail-timing>div{display:flex;flex-direction:column;justify-content:center;min-height:62px;padding:10px 12px;border:1px solid #ead9d0;border-radius:11px;background:#fffaf7}
.fo-promotion-detail-timing span{color:#9c715f;font-size:10px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.fo-promotion-detail-timing strong{margin-top:4px;color:#2a2e3a;font-size:11px;line-height:1.35}
.fo-promotion-detail-order{min-width:0}
.fo-promotion-detail-order .fo-promotion-order-current{margin-bottom:9px;background:#fff0e8}
.fo-promotion-detail-order .fo-promotion-order-current span{font-size:10px}
.fo-promotion-detail-order .fo-promotion-order-current strong{font-size:11px}
.fo-promotion-detail-order-form{grid-template-columns:100px minmax(190px,1fr)}
.fo-promotion-detail-order-form label span{font-size:10px}
.fo-promotion-detail-order-form input{height:44px;font-size:11px}
.fo-promotion-detail-order-form button,.fo-promotion-detail-order>.fo-promotion-order-login{min-height:44px;font-size:10px}
.fo-promotion-detail-cart-link{display:flex;align-items:center;justify-content:flex-end;margin-top:9px;color:#a84f2d;text-decoration:none;font-size:10px;font-weight:900}
.fo-promotion-detail-cart-link:hover{text-decoration:underline}
.fo-product-detail.is-promotion-context .fo-promotion-inline-badge{box-shadow:0 4px 12px rgba(168,79,45,.12)}
@media(max-width:1050px){.fo-product-buy-box.is-promotion-context{grid-template-columns:1fr}.fo-promotion-detail-order-form{grid-template-columns:100px minmax(0,1fr)}}
@media(max-width:640px){.fo-promotion-detail-timing{grid-template-columns:1fr}.fo-promotion-detail-order-form{grid-template-columns:90px minmax(0,1fr)}}
