/* gifts-20261111: "Подаръци при покупка" (product page box, list badge, cart lines, promo page cards). Loaded only when the feature is on. */
.gf-ico{display:inline-flex;width:34px;height:34px;border-radius:10px;background:#FBE9E3;color:var(--terracotta,#C1502E);align-items:center;justify-content:center;flex:none}
.gf-ico svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gf-free{display:inline-block;font:800 11px Arial,sans-serif;letter-spacing:.05em;background:var(--terracotta-deep,#5F2515);color:#F3DFD6;border-radius:999px;padding:4px 10px;white-space:nowrap}
/* product page box */
.gf-box{margin:14px 0 6px;border:1px solid #EBCFC2;background:linear-gradient(180deg,#FFF8F4,#FFF3EC);border-radius:16px;padding:14px 16px}
.gf-head{display:flex;align-items:center;gap:10px;font-size:15px}
.gf-head b{flex:1;font-size:15.5px;color:var(--ink,#211A16)}
.gf-until{font-size:12px;color:var(--ink-soft,#5B4F49)}
.gf-gift{display:flex;align-items:center;gap:12px;margin-top:12px;background:#fff;border:1px dashed #D9A892;border-radius:12px;padding:10px 12px}
.gf-gift img{width:64px;height:64px;object-fit:contain;mix-blend-mode:multiply;flex:none}
.gf-gift{flex-wrap:wrap}.gf-gift .tx{flex:1 1 150px;min-width:0;font-size:14px;line-height:1.35}
.gf-gift .tx b{display:block;font-size:14.5px}
.gf-gift .tx span{color:var(--ink-soft,#5B4F49);font-size:12.5px}
.gf-fine{margin:10px 2px 0;font-size:12.5px;color:var(--ink-soft,#5B4F49);line-height:1.4}
.gf-dots{display:flex;align-items:center;gap:8px;margin:12px 0 4px;flex-wrap:wrap}
.gf-dot{width:38px;height:38px;border-radius:50%;border:2px solid var(--terracotta,#C1502E);display:flex;align-items:center;justify-content:center;font:700 13px Arial,sans-serif;color:var(--terracotta-dark,#8F3A20);background:#fff}
.gf-dot.on{background:var(--terracotta,#C1502E);color:#fff}
.gf-dot.gift{border-style:dashed;background:#FBE9E3;color:var(--terracotta-deep,#5F2515)}
.gf-dot svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gf-plus{color:var(--ink-soft,#5B4F49);font-weight:700}
.gf-msg{font-size:14px;margin:4px 0 0;color:var(--ink,#211A16)}
.gf-msg b{color:var(--terracotta-dark,#8F3A20)}
/* listing badge */
.gf-badge{position:absolute;left:0;right:0;bottom:0;z-index:3;display:flex;align-items:center;justify-content:center;gap:6px;background:var(--terracotta-deep,#5F2515);color:#fff;font:700 10.5px/1.2 Arial,sans-serif;letter-spacing:0;padding:8px 4px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gf-badge svg{flex:none}
.prod-media:has(.gf-badge){padding-bottom:32px}
.gf-badge svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gf-line{display:flex;align-items:center;gap:7px;margin-top:8px;font-size:12.5px;font-weight:700;color:var(--terracotta-dark,#8F3A20);background:#FFF3EC;border-radius:8px;padding:6px 9px;line-height:1.25}
.gf-line svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
/* cart */
.gf-bar{background:#FFF8F4;border:1px solid #EBCFC2;border-radius:14px;padding:12px 14px;margin:0 0 14px}
.gf-bar .t{display:flex;align-items:center;gap:10px;font-size:14px}
.gf-bar .t b{color:var(--terracotta-dark,#8F3A20)}
.gf-track{height:8px;border-radius:999px;background:#F0DDD3;margin-top:10px;overflow:hidden}
.gf-track i{display:block;height:100%;background:var(--terracotta,#C1502E);border-radius:999px}
.cart-item.is-gift{background:#FFFAF7;border:1px dashed #D9A892}
.cart-item.is-gift .ci-total{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-weight:800}
.cart-item.is-gift .ci-total s{font-weight:400;font-size:12.5px;color:var(--ink-soft,#5B4F49)}
.cart-item.is-gift .ci-qty{display:none}
.gf-nudge{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#FFF3EC;border-radius:12px;padding:10px 12px;margin:-2px 0 14px}
.gf-nudge .gf-dots{margin:0}
.gf-nudge .gf-dot{width:30px;height:30px;font-size:11px}
.gf-nudge .tx{flex:1;min-width:180px;font-size:13.5px;line-height:1.35}
.gf-nudge .tx b{color:var(--terracotta-dark,#8F3A20)}
.gf-nudge button{border:0;background:var(--terracotta,#C1502E);color:#fff;font:700 13px Arial,sans-serif;border-radius:9px;padding:10px 14px;cursor:pointer}
.gf-sumline{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;margin:8px 0;color:var(--ink-soft,#5B4F49)}
.gf-sumline b{color:var(--terracotta-dark,#8F3A20)}
/* kit page */
.gf-kit{display:flex;align-items:center;gap:12px;border:1px solid #EBCFC2;background:linear-gradient(180deg,#FFF8F4,#FFF3EC);border-radius:14px;padding:12px 14px;margin:0 0 14px;font-size:14px}
.gf-kit .tx{flex:1;min-width:0;line-height:1.35}.gf-kit .tx b{display:block}
.gf-kit .tx span{font-size:12.5px;color:var(--ink-soft,#5B4F49)}
.k2-row.is-gift{background:#FFFAF7}
.k2-row.is-gift .im .gt{position:absolute;left:-6px;top:-6px;width:26px;height:26px;border-radius:50%;background:var(--terracotta-deep,#5F2515);color:#fff;display:flex;align-items:center;justify-content:center;z-index:2}
.k2-row.is-gift .im .gt svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.k2-row.is-gift .ln s{display:block;font-weight:400;font-size:12px;color:var(--ink-soft,#5B4F49)}
/* promo page */
.gf-sec{margin:26px 0 8px}
.gf-sec h2{margin:0 0 4px;font-size:24px}.gf-sec .sub{margin:0 0 16px;color:var(--ink-soft,#5B4F49)}
.gf-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:900px){.gf-cards{grid-template-columns:1fr}}
.gf-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#E7E1DB);border-radius:18px;overflow:hidden;text-decoration:none;color:var(--ink,#211A16)}
.gf-card .vis{background:linear-gradient(135deg,#F7F0EA,#FBE9E3);display:flex;align-items:center;justify-content:center;gap:10px;padding:18px 12px;position:relative}
.gf-card .vis img{width:92px;height:92px;object-fit:contain;background:#fff;border-radius:16px;padding:6px;box-shadow:0 6px 16px rgba(60,30,15,.12);mix-blend-mode:normal}
.gf-card .vis .pl{font:800 22px Arial,sans-serif;color:var(--terracotta-dark,#8F3A20)}
.gf-card .vis .gf-free{position:absolute;right:12px;top:12px}
.gf-card .bd{padding:14px 16px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.gf-card h3{margin:0;font-size:17px;line-height:1.3}
.gf-card p{margin:0;font-size:13.5px;color:var(--ink-soft,#5B4F49);line-height:1.45}
.gf-card .until{font-size:12px;color:var(--ink-soft,#5B4F49);margin-top:auto;padding-top:8px}
.gf-card .go{font-weight:700;font-size:14px;color:var(--terracotta-dark,#8F3A20);margin-top:4px}
@media(max-width:560px){
 .gf-card{flex-direction:row}.gf-card .vis{flex:none;width:112px;padding:10px;flex-direction:column;gap:4px}.gf-card .vis img{width:64px;height:64px}.gf-card .vis .pl{font-size:16px}.gf-card .vis .gf-free{position:static;margin-top:2px;font-size:10px}
 .gf-card .bd{padding:12px}.gf-card h3{font-size:15px}.gf-card p{font-size:12.5px}
}
.gf-zone{border:1px solid #EBCFC2;border-radius:16px;background:#FFFAF7;overflow:hidden;margin-top:12px}
.gf-zhead{display:flex;align-items:center;gap:10px;padding:14px 16px;background:#FFF3EC}.gf-zhead .zt{flex:1}.gf-zhead .zt b{display:block;font-size:16px}.gf-zhead .zt small{font-size:12.5px;color:var(--ink-soft,#5B4F49)}.gf-zhead .zs{font-weight:800}
.gf-grow{display:grid;grid-template-columns:76px minmax(0,1fr) auto auto;gap:6px 16px;align-items:center;padding:12px 16px;border-top:1px solid #EBCFC2}
.gf-grow .im{position:relative;display:block}.gf-grow .im img{width:76px;height:76px;object-fit:contain;border:1px solid var(--line,#E7E1DB);border-radius:12px;background:#fff;display:block}
.gf-grow .im .gt{position:absolute;left:-6px;top:-6px;width:26px;height:26px;border-radius:50%;background:var(--terracotta-deep,#5F2515);color:#fff;display:flex;align-items:center;justify-content:center}
.gf-grow .im .gt svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gf-grow .nm{font-weight:700;font-size:15px;color:var(--ink,#211A16);text-decoration:none;display:block}.gf-grow .nt{font-size:13px;color:var(--ink-soft,#5B4F49);margin-top:3px}.gf-grow .meta{margin-top:4px}
.gf-grow .unit{font-size:12px;color:var(--ink-soft,#5B4F49);text-align:right}.gf-grow .ln{font-weight:800;font-size:16px;text-align:right;min-width:74px}.gf-grow .ln s{display:block;font-weight:400;font-size:12px;color:var(--ink-soft,#5B4F49)}
.gf-grow .buy{display:contents}.gf-grow .qty{display:flex;flex-direction:column;align-items:flex-end}
@media(max-width:620px){.gf-grow{grid-template-columns:64px minmax(0,1fr);gap:10px 12px;padding:12px}.gf-grow .im img{width:64px;height:64px}.gf-grow .nt{display:none}.gf-grow .buy{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.gf-grow .qty{flex-direction:row}}


.gf-eq{display:flex;align-items:stretch;gap:10px;margin:12px 0 4px;flex-wrap:wrap}
.gf-need{flex:1 1 150px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;background:#fff;border:1px solid #E7E1DB;border-radius:12px;padding:10px 8px;position:relative}
.gf-need img{width:64px;height:64px;object-fit:contain;mix-blend-mode:multiply}
.gf-need b{font-size:12.5px;line-height:1.3;color:var(--ink,#211A16)}
.gf-need .st{font:700 11px Arial,sans-serif;color:var(--ink-soft,#5B4F49);background:#F7F4F1;border-radius:999px;padding:3px 9px}
.gf-need.on{border-color:var(--terracotta,#C1502E);background:#FFFAF7}
.gf-need.on .st{background:var(--terracotta,#C1502E);color:#fff}
.gf-op{align-self:center;font:800 22px Arial,sans-serif;color:var(--terracotta-dark,#8F3A20)}
.gf-gifts{flex:1.4 1 210px;display:flex;gap:8px;background:#FBE9E3;border:1px dashed #D9A892;border-radius:12px;padding:8px}
.gf-g{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;background:#fff;border-radius:10px;padding:8px 4px}
.gf-g img{width:56px;height:56px;object-fit:contain;mix-blend-mode:multiply}
.gf-g b{font-size:12px;line-height:1.25}.gf-g span{font-size:11px;color:var(--ink-soft,#5B4F49)}
.gf-g .gf-free{font-size:9.5px;padding:3px 8px;color:#F3DFD6}
.gf-addmiss{display:block;width:100%;margin-top:10px;border:0;background:var(--terracotta,#C1502E);color:#fff;font:700 14px Arial,sans-serif;border-radius:10px;padding:12px}
.gf-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 6px}
.gf-tier{border:1px solid #E7E1DB;background:#fff;border-radius:12px;padding:10px 8px;text-align:center;font-size:12.5px;color:var(--ink-soft,#5B4F49)}
.gf-tier b{display:block;font-size:15px;color:var(--ink,#211A16)}.gf-tier span{display:block;margin-top:2px;color:var(--terracotta-dark,#8F3A20);font-weight:700}
.gf-tier.on{border-color:var(--terracotta,#C1502E);background:#FFF3EC;box-shadow:0 0 0 3px rgba(193,80,46,.10)}
.gf-tier.on::after{content:"вашето ниво";display:block;margin-top:4px;font:700 10px Arial,sans-serif;color:#fff;background:var(--terracotta,#C1502E);border-radius:999px;padding:2px 6px}
.cart-item.is-locked{background:#FAF7F5;border:1px dashed #D5CBC3}
.cart-item.is-locked img{filter:grayscale(.6);opacity:.65}
.cart-item.is-locked .ci-total{opacity:.6;display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-weight:800}.cart-item.is-locked .ci-total s{font-weight:400;font-size:12.5px}.cart-item.is-locked .ci-qty{display:none}
.gf-lockpill{display:inline-flex;align-items:center;gap:5px;font:800 11px Arial,sans-serif;background:#ECE6E1;color:#5B4F49;border-radius:999px;padding:4px 10px}
.gf-lockpill svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.gf-ci-gift{background:var(--terracotta-deep,#5F2515)!important;color:#fff!important;display:flex;align-items:center;justify-content:center}.gf-ci-gift svg{width:16px;height:16px;stroke:#fff;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.cart-item.is-locked .gf-ci-gift{background:#9A8F88!important}
.gf-box form{margin:0}
.gf-sumline{display:flex;justify-content:space-between;gap:10px;font-size:13.5px;margin:8px 0;color:var(--ink-soft,#5B4F49)}

/* phone: the gift box is a compact strip (about 230 px instead of 700): small pictures in one row, short text, no fine print */
@media(max-width:560px){
 .gf-box{padding:10px 12px 12px;margin:10px 0 4px;border-radius:14px}
 .gf-head{gap:8px}.gf-head .gf-ico{width:28px;height:28px;border-radius:8px}.gf-head .gf-ico svg{width:17px;height:17px}
 .gf-head b{font-size:14px;line-height:1.25}.gf-until{display:none}
 .gf-eq{flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:5px;margin:8px 0 2px}
 .gf-need{flex:1 1 0;min-width:0;flex-direction:column;gap:3px;padding:6px 3px;border-radius:10px}
 .gf-need img{width:46px;height:46px}.gf-need b{display:none}
 .gf-need .st{font-size:10px;padding:2px 6px;white-space:nowrap}
 .gf-op{align-self:center;font-size:18px;line-height:1}
 .gf-gifts{flex:1 1 0;min-width:0;padding:5px;gap:4px;border-radius:10px}
 .gf-g{padding:6px 2px;gap:3px;border-radius:8px}.gf-g img{width:46px;height:46px}.gf-g b,.gf-g span:not(.gf-free){display:none}
 .gf-g .gf-free{font-size:9px;padding:2px 6px}
 .gf-msg{font-size:12.5px;line-height:1.35;margin:6px 0 0}
 .gf-msg-l{display:none}.gf-msg-s{display:block}
 .gf-addmiss{padding:10px;font-size:13px;margin-top:8px;border-radius:9px}
 .gf-fine{display:none}
 .gf-tiers{gap:6px;margin:8px 0 4px}.gf-tier{padding:7px 4px;font-size:11.5px}.gf-tier b{font-size:13px}
}
.gf-msg-s{display:none}
@media(max-width:560px){.gf-msg-s{display:block}}
a.gf-need,a.gf-g{text-decoration:none;color:inherit;cursor:pointer;transition:box-shadow .15s,transform .15s}
a.gf-need:hover,a.gf-g:hover{box-shadow:0 5px 14px rgba(60,30,15,.16);transform:translateY(-1px)}
a.gf-need:focus-visible,a.gf-g:focus-visible{outline:2px solid #1F1A17;outline-offset:2px}
/* the gift box sits UNDER the add-to-cart row on the product page */
.pd-cta-row + .gf-box{margin:0 0 26px}
