/* Onyix Offers 1.4.0 — one repeating offer (buy 4, the 5th free, again every 5 items). Calm white card, warm hairlines, a touch of gold. Mobile first, RTL. */
.onyix-offers,.onyix-offers-mini,.oo-rail,.oo-sticky,.oo-trust,.oo-gift-summary{--oo-accent:#b48a4b;--oo-ink:#111;--oo-muted:#77716a;--oo-line:#ece7df;--oo-soft:#fbf8f3;--oo-gold-ink:#7a5a28;font-family:'Heebo',Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none;direction:rtl;text-align:right}
.onyix-offers,.onyix-offers *,.onyix-offers-mini,.onyix-offers-mini *,.oo-rail,.oo-rail *,.oo-sticky,.oo-sticky *{box-sizing:border-box!important;font-family:'Heebo',Arial,sans-serif!important;letter-spacing:normal!important}
/* The theme styles buttons, links and small text separately: force them back to the site font. */
.onyix-offers :is(a,button,summary,small,b,em,strong,span,p,i,del,ins,bdi),.onyix-offers-mini :is(a,button,small,b,em,strong,span,p),.oo-rail :is(a,button,small,b,em,strong,span,del,ins,bdi),.oo-sticky :is(a,button,small,b,em,strong,span,bdi){font-family:'Heebo',Arial,sans-serif!important;letter-spacing:normal!important;text-transform:none!important}

/* ---------- Offer card ---------- */
.onyix-offers{position:relative;clear:both;display:block;width:100%;max-width:100%;margin:16px 0;padding:16px 16px 12px;color:var(--oo-ink);background:var(--oo-bg,#fff);border:1px solid var(--oo-line);border-radius:16px;line-height:1.45;font-size:14px}
.onyix-offers p{margin:0}
.onyix-offers svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.oo-top{display:flex;align-items:center;gap:12px}
.oo-top__ic{flex:0 0 40px;display:grid;place-items:center;width:40px;height:40px;color:var(--oo-gold-ink);background:linear-gradient(135deg,#fcf7ee 0%,#f3e6cc 100%);border-radius:12px}
.onyix-offers .oo-top__ic svg{width:20px!important;height:20px!important}
.oo-top__text{display:flex;flex-direction:column;gap:1px;min-width:0}
.oo-top__text strong{font-size:16.5px;font-weight:700;line-height:1.3;color:var(--oo-ink)}
.oo-top__text span{color:var(--oo-muted);font-size:12.5px;line-height:1.4}
.onyix-offers .oo-note{margin:12px 0 0;padding:8px 10px;color:var(--oo-muted);background:#f7f5f1;border-radius:10px;font-size:12px}

/* Track: 4 numbered places + the gift, joined by a thin line that fills as items are added */
.oo-track{--oo-slot:40px;--oo-gift:46px;position:relative;display:flex;align-items:center;justify-content:space-between;margin:18px 2px 0;padding-bottom:18px}
.oo-line{position:absolute;top:calc(var(--oo-gift) / 2);inset-inline:calc(var(--oo-slot) / 2) calc(var(--oo-gift) / 2);height:2px;margin-top:-1px;overflow:hidden;background:#eee8de;border-radius:2px;z-index:0}
.oo-line i{position:absolute;top:0;bottom:0;inset-inline-start:0;display:block;background:linear-gradient(270deg,#dcbd85,var(--oo-accent));border-radius:2px;transition:width .55s cubic-bezier(.2,.8,.2,1)}
.oo-slot{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 var(--oo-slot);width:var(--oo-slot);height:var(--oo-slot);overflow:hidden;color:#b3aa9b;background:#fff;border:1.5px solid #e4ddd1;border-radius:50%;transition:border-color .3s ease,box-shadow .3s ease,transform .3s ease}
.oo-slot.is-filled{border-color:var(--oo-ink)}
.oo-slot__num{font-size:12.5px;font-style:normal;font-weight:600;line-height:1}
.oo-slot__tick,.oo-slot__gift{display:grid;place-items:center;width:100%;height:100%;font-style:normal}
.oo-slot__tick{color:#fff;background:var(--oo-ink)}
.oo-slot--gift{flex-basis:var(--oo-gift);width:var(--oo-gift);height:var(--oo-gift);color:var(--oo-accent);background:var(--oo-soft);border:1.5px dashed var(--oo-accent)}
.oo-slot--gift.is-filled{border:2px solid var(--oo-accent);box-shadow:0 0 0 4px rgba(180,138,75,.14)}
.oo-slot--gift .oo-slot__tick{background:var(--oo-accent)}
.oo-free-tag{position:absolute;bottom:0;inset-inline-end:0;width:var(--oo-gift);color:var(--oo-gold-ink);font-size:10.5px;font-style:normal;font-weight:700;line-height:1;text-align:center}

/* Status + gifts already in the cart */
.onyix-offers .oo-status{display:flex;align-items:center;gap:7px;margin-top:12px;color:var(--oo-ink);font-size:14px;font-weight:600;line-height:1.4}
.onyix-offers[data-oo-mode="idle"] .oo-status{color:var(--oo-muted);font-weight:500;font-size:13px}
.onyix-offers[data-oo-mode="close"] .oo-status,.onyix-offers[data-oo-mode="done"] .oo-status{color:var(--oo-gold-ink)}
.oo-tick{display:inline-grid;place-items:center;flex:0 0 18px;width:18px;height:18px;color:#fff;background:var(--oo-accent);border-radius:50%}
.onyix-offers .oo-tick svg,.onyix-offers .oo-slot__tick svg{width:60%!important;height:60%!important;stroke-width:2.4}
.onyix-offers .oo-slot__gift svg{width:20px!important;height:20px!important}
.oo-earned{display:inline-flex;align-items:center;gap:6px;margin-top:10px;padding:5px 12px;color:var(--oo-gold-ink);background:var(--oo-soft);border:1px solid #eadcc2;border-radius:999px;font-size:12.5px;font-weight:600;line-height:1.4}
.onyix-offers .oo-earned svg{width:15px!important;height:15px!important}
.oo-earned b{padding-inline-start:8px;border-inline-start:1px solid #e6d3ad;font-weight:700}
.oo-earned b .amount,.oo-earned b bdi,.oo-earned b .woocommerce-Price-currencySymbol{color:inherit!important;font-weight:inherit}

/* Links */
.oo-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:14px;padding-top:12px;border-top:1px solid var(--oo-line)}
.onyix-offers .oo-foot a{display:inline-flex;align-items:center;gap:6px;min-height:38px;font-size:13.5px;font-weight:600;line-height:1.2;text-decoration:none!important;transition:border-color .2s ease,color .2s ease}
.onyix-offers .oo-cta{padding:0 16px;color:var(--oo-ink)!important;background:#fff!important;border:1px solid #ddd5c8;border-radius:999px}
.onyix-offers .oo-cta:hover{border-color:var(--oo-accent);color:var(--oo-gold-ink)!important}
.oo-cta span{font-size:15px;line-height:1}
.onyix-offers .oo-foot .oo-cart{margin-inline-start:auto;color:var(--oo-ink)!important;text-decoration:underline!important;text-underline-offset:3px;text-decoration-color:#cfc6b7!important}
.oo-terms{margin-top:6px;color:var(--oo-muted);font-size:11.5px}
.onyix-offers .oo-terms summary{display:inline-block;cursor:pointer;padding:2px 0;list-style:none;color:var(--oo-muted);font-size:11.5px;font-weight:400;text-decoration:underline;text-underline-offset:2px;text-decoration-color:#d6cec1}
.oo-terms summary::-webkit-details-marker{display:none}
.oo-terms summary::marker{content:""}
.onyix-offers .oo-terms p{margin:4px 0 0;font-size:11.5px;line-height:1.55}

/* Feedback */
.onyix-offers.is-bump .oo-slot.is-filled{animation:oo-pop .45s ease}
.onyix-offers.is-celebrating .oo-slot--gift{animation:oo-glow 1.1s ease-out 2}
.onyix-offers.is-celebrating .oo-tick{animation:oo-pop .5s ease}
@keyframes oo-pop{0%{transform:scale(.85)}60%{transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes oo-glow{0%{box-shadow:0 0 0 0 rgba(180,138,75,.5)}100%{box-shadow:0 0 0 10px rgba(180,138,75,0)}}
.onyix-offers[data-oo-context="cart"]{margin:14px 0}

/* ---------- Complete-the-deal rail ---------- */
.oo-rail{clear:both;margin:6px 0 18px;color:var(--oo-ink)}
.oo-rail__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 10px;margin:0 2px 10px}
.oo-rail__head strong{font-size:15px;font-weight:700;color:var(--oo-ink)}
.oo-rail__head span{color:var(--oo-muted);font-size:12px}
.oo-rail__track{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(136px,40%);gap:10px;overflow-x:auto;padding:2px 2px 10px;scroll-snap-type:x mandatory;scrollbar-width:thin;-webkit-overflow-scrolling:touch}
.oo-card{position:relative;display:flex;flex-direction:column;gap:6px;min-width:0;padding:8px;background:#fff;border:1px solid var(--oo-line);border-radius:14px;scroll-snap-align:start}
.oo-card__img{position:relative;display:block;aspect-ratio:1/1;overflow:hidden;background:#f6f4f0;border-radius:10px}
.oo-card__img img{display:block;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;margin:0!important;transition:transform .4s ease}
.oo-card:hover .oo-card__img img{transform:scale(1.04)}
.oo-card__off{position:absolute;top:6px;inset-inline-start:6px;padding:1px 7px;color:var(--oo-gold-ink);background:#fff;border:1px solid #eadcc2;border-radius:999px;font-size:10.5px;font-weight:700;direction:ltr;unicode-bidi:isolate}
.oo-rail .oo-card__name{display:-webkit-box;min-height:2.7em;overflow:hidden;color:var(--oo-ink)!important;font-size:12.5px;font-weight:500;line-height:1.35;text-decoration:none!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.oo-card__row{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto}
.oo-card__price{font-size:14px;font-weight:700;color:var(--oo-ink)}
.oo-card__price .amount{color:inherit}
.oo-card__price del{color:#a39d93;font-size:11px;font-weight:500}
.oo-card__price del .amount{color:inherit}
.oo-rail .oo-card__add{display:grid!important;place-items:center;flex:0 0 32px;width:32px!important;height:32px!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;color:var(--oo-ink)!important;background:#fff!important;border:1px solid #d9d1c4!important;border-radius:50%!important;box-shadow:none!important;font-size:19px!important;font-weight:400!important;line-height:1!important;text-decoration:none!important;transition:transform .15s ease,background .2s ease,color .2s ease,border-color .2s ease}
.oo-rail .oo-card__add:hover{color:#fff!important;background:var(--oo-ink)!important;border-color:var(--oo-ink)!important}
.oo-rail .oo-card__add:active{transform:scale(.92)}
.oo-rail .oo-card__add.loading{opacity:.5;pointer-events:none}
.oo-rail .oo-card__add.added{color:#fff!important;background:var(--oo-accent)!important;border-color:var(--oo-accent)!important}
.oo-rail .oo-card__add.added::after,.oo-rail .oo-card__add.loading::after{display:none!important}
.oo-rail .added_to_cart{display:none!important}

/* ---------- Sticky checkout bar (cart, < 1025px) ---------- */
.oo-sticky{position:fixed;inset:auto 0 0 0;z-index:9990;display:flex;align-items:center;gap:14px;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid var(--oo-line);box-shadow:0 -8px 24px -18px rgba(0,0,0,.25);-webkit-backdrop-filter:saturate(1.3) blur(10px);backdrop-filter:saturate(1.3) blur(10px);transform:translateY(110%);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.oo-sticky[hidden]{display:flex!important;visibility:hidden}
.oo-sticky.is-visible{visibility:visible;transform:translateY(0)}
.oo-sticky__sum{display:flex;flex-direction:column;min-width:0;line-height:1.25}
.oo-sticky__sum small{color:var(--oo-muted);font-size:11.5px}
.oo-sticky__sum b{font-size:18px;font-weight:700;color:var(--oo-ink);white-space:nowrap}
.oo-sticky__sum b .amount,.oo-sticky__sum b bdi{color:inherit}
.oo-sticky__sum em{color:var(--oo-gold-ink);font-size:11.5px;font-style:normal;font-weight:600;white-space:nowrap}
.oo-sticky .oo-sticky__btn{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 16px;color:#fff!important;background:var(--oo-ink);border-radius:12px;font-size:15px;font-weight:700;line-height:1.2;text-decoration:none!important}
.oo-sticky__btn:active{transform:scale(.98)}
.oo-sticky__btn svg{width:17px;height:17px;flex:0 0 17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:1025px){.oo-sticky{display:none!important}}
body.oo-has-sticky{padding-bottom:calc(76px + env(safe-area-inset-bottom))}
@media(min-width:1025px){body.oo-has-sticky{padding-bottom:0}}

/* ---------- Mini cart (side cart) ---------- */
.onyix-offers-mini{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px 10px;margin:8px 0;padding:10px 12px;color:var(--oo-ink);background:#fff;border:1px solid var(--oo-line);border-radius:12px;font-size:12.5px;line-height:1.35}
.onyix-offers-mini p{grid-column:2;margin:0;font-weight:600}
.oom-ic{grid-column:1;grid-row:1;display:grid;place-items:center;width:26px;height:26px;color:var(--oo-gold-ink);background:var(--oo-soft);border-radius:8px}
.onyix-offers-mini svg{width:15px!important;height:15px!important;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.oom-pill{grid-column:3;grid-row:1;padding:2px 8px;color:var(--oo-gold-ink);background:var(--oo-soft);border:1px solid #eadcc2;border-radius:999px;font-size:11px;font-style:normal;font-weight:700;white-space:nowrap}
.onyix-offers-mini__dots{grid-column:1/-1;grid-row:2;display:flex;gap:4px}
.onyix-offers-mini__dots i{flex:1;display:block;height:4px;background:#ece6dc;border-radius:4px;transition:background .3s ease}
.onyix-offers-mini__dots i.is-filled{background:var(--oo-ink)}
.onyix-offers-mini__dots i.is-gift{background:#f1e4c8}
.onyix-offers-mini__dots i.is-gift.is-filled{background:var(--oo-accent)}
.onyix-offers-mini[data-oo-mode="done"]{background:var(--oo-soft);border-color:#eadcc2}
.onyix-offers-mini[data-oo-mode="done"] p{color:var(--oo-gold-ink)}
.onyix-offers-mini[data-oo-mode="done"] .oom-ic{color:#fff;background:var(--oo-accent)}

/* ---------- Checkout ---------- */
.oo-hide-field{display:none!important}
.oo-trust,.oo-gift-summary,.oo-trust *,.oo-gift-summary *{font-family:'Heebo',Arial,sans-serif!important}
.oo-trust{display:flex;align-items:center;justify-content:center;gap:6px;margin:10px 0 0;color:#5f5a52;font-size:12px;text-align:center}
.oo-trust svg{width:14px;height:14px;flex:0 0 14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.oo-gift-summary{margin:0 0 12px;padding:9px 12px;color:#5b4219;background:#fbf3e4;border:1px solid #efdcb8;border-radius:10px;font-size:13px;font-weight:700}

/* ---------- Gift lines in cart/order ---------- */
.onyix-gift-badge{display:inline-flex;align-items:center;gap:5px;margin-inline-start:7px;padding:2px 8px;vertical-align:middle;color:#fff;background:var(--oo-accent,#b48a4b);border-radius:999px;font-size:10px;font-weight:800;line-height:1.4}
.onyix-gift-badge small{font-size:9px;font-weight:700;opacity:.85}
.onyix-gift-price{display:inline-flex;align-items:baseline;gap:5px;color:#111;font-size:13px;font-weight:800}
.onyix-gift-price small{color:#999;font-size:10px;font-weight:600;text-decoration:line-through}
/* ---------- Theme (Glozin) fixes carried over ---------- */
.shipping-promotions-information{margin:10px 0 14px!important;padding:3px 12px!important;border-color:#eee8df!important;border-radius:12px!important;background:#fffdf9}
.shipping-promotions-information__item{gap:9px!important;padding:9px 0!important;font-size:13px;line-height:1.45}
.shipping-promotions-information__item img{width:22px;height:22px;object-fit:contain;flex:0 0 22px}
#cart-panel .woocommerce-mini-cart__buttons{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;margin-inline:0!important}
#cart-panel .woocommerce-mini-cart__buttons a{box-sizing:border-box!important;width:100%!important;min-width:0!important;margin:0!important}

/* ---------- Side-cart free-shipping bar (Glozin): light, small, modern ---------- */
#cart-panel .glozin-free-shipping-bar{box-sizing:border-box!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:7px;margin:10px 0 2px!important;padding:9px 12px 10px!important;color:#4a443c!important;background:#fff!important;border:1px solid #efe8dc!important;border-radius:10px!important}
#cart-panel .glozin-free-shipping-bar:after{display:none!important}
#cart-panel .glozin-free-shipping-bar__message{order:-1;display:flex;align-items:center;flex-wrap:wrap;gap:4px;margin:0!important;color:#5f574d!important;font-size:12px!important;font-weight:400;line-height:1.35!important}
#cart-panel .glozin-free-shipping-bar__message::before{content:"";flex:0 0 15px;width:15px;height:15px;margin-inline-end:3px;background:#a78345;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 9h4l3 3v4h-7'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E") center/contain no-repeat;transform:scaleX(-1)}
#cart-panel .glozin-free-shipping-bar__message .amount,#cart-panel .glozin-free-shipping-bar__message bdi{color:#1f1b16!important;font-weight:600}
#cart-panel .glozin-free-shipping-bar__message strong{color:#8a6430!important;font-weight:600!important}
#cart-panel .glozin-free-shipping-bar__progress{height:3px!important;background:#f0ebe2!important;border-radius:3px!important}
#cart-panel .glozin-free-shipping-bar__progress-bar{min-width:0!important;width:var(--gz-progress)!important;border-radius:3px!important;background:linear-gradient(270deg,#dcbd85,#b48a4b)!important;background-size:auto!important;animation:none!important;transition:width .5s ease!important}
#cart-panel .glozin-free-shipping-bar__icon,#cart-panel .glozin-free-shipping-bar__percent-value{display:none!important}
#cart-panel .glozin-free-shipping-bar.gz-is-success .glozin-free-shipping-bar__message strong{color:#2f7d4f!important}
#cart-panel .glozin-free-shipping-bar.gz-is-success .glozin-free-shipping-bar__progress-bar{background:#3d8f5f!important}
#cart-panel .gz-is-success .glozin-free-shipping-bar__message,#cart-panel .gz-is-success .glozin-free-shipping-bar__progress{animation:none!important}

/* ---------- Screen sizes ---------- */
@media(max-width:480px){
 .onyix-offers{padding:14px 13px 10px}
 .oo-track{--oo-slot:36px;--oo-gift:42px}
}
@media(max-width:360px){
 .oo-sticky__btn{font-size:14px}
 .oo-track{--oo-slot:32px;--oo-gift:38px}
}
@media(prefers-reduced-motion:reduce){
 .onyix-offers,.onyix-offers *,.onyix-offers-mini *,.oo-sticky,.oo-rail *{transition:none!important;animation:none!important}
}
/* Hardening: theme/lazy-load CSS must never resize slot photos or icons. */
.onyix-offers .oo-slot img,.onyix-offers .oo-slot .oo-slot__img{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;margin:0!important;padding:0!important;object-fit:cover!important;border-radius:50%!important;opacity:1!important;transform:none!important}
.onyix-offers svg,.onyix-offers-mini svg,.oo-sticky svg,.oo-trust svg{flex:0 0 auto;max-width:22px!important;max-height:22px!important}
/* Sticky checkout sits just above the Glozin mobile navigation bar (elementor-3409). */
.oo-sticky{bottom:var(--oo-nav-offset,0px)!important}
.oo-sticky.is-above-nav{padding-bottom:10px!important;border-bottom:1px solid var(--oo-line)}
body.oo-has-sticky{padding-bottom:calc(84px + var(--oo-nav-offset,0px))!important}

/* 1.3.2: checkout button in place of the coupon box; coupon folds behind a link. */
.oo-cart-cta,.oo-cart-cta *{box-sizing:border-box;font-family:'Heebo',Arial,sans-serif!important;letter-spacing:normal!important}
.oo-cart-cta{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%;margin:4px 0 2px;direction:rtl;text-align:right}
.oo-cart-cta__btn{display:flex!important;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;padding:0 18px;color:#fff!important;background:#111!important;border-radius:14px;font-size:16px;font-weight:800;text-decoration:none!important;box-shadow:0 8px 18px -12px rgba(0,0,0,.55)}
.oo-cart-cta__btn:active{transform:scale(.985)}
.oo-cart-cta__btn svg{width:17px!important;height:17px!important;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.oo-cart-cta__btn b{padding-inline-start:10px;border-inline-start:1px solid rgba(255,255,255,.3);font-weight:800}
.oo-cart-cta__btn b .amount,.oo-cart-cta__btn b bdi{color:inherit!important}
.oo-coupon-toggle{align-self:center;padding:4px 8px!important;color:#6f6a62!important;background:none!important;border:0!important;box-shadow:none!important;font-size:13px!important;font-weight:600!important;text-decoration:underline!important;text-underline-offset:3px;cursor:pointer;min-height:0!important;height:auto!important;line-height:1.4!important}
body.woocommerce-cart td.actions .coupon{display:none!important}
body.woocommerce-cart td.actions.oo-coupon-open .coupon{display:flex!important}
@media(min-width:1025px){.oo-cart-cta__btn{display:none!important}.oo-cart-cta{margin:0}}