/* Подарък при курс (tedbg_promo_gift) - TEDBG https://tedbg.com
   Шрифтове и цветове като в сайта (Lora и PT Serif за заглавията, Open Sans за текста, зелено #5a805b,
   златно #c0995e), а лендингът като банера (тъмен фон, кремав и златен шрифт, златен бутон със стрелка). */

/* ---------- тънка лента най-горе ---------- */
.tedbg-pg-strip{background:#17180f;color:#e3bf6d;font-size:13px;line-height:18px;padding:5px 10px;box-sizing:border-box;width:100%;max-width:100%;overflow:hidden}
.tedbg-pg-strip a.tedbg-pg-strip-link,.tedbg-pg-strip a.tedbg-pg-strip-link:hover{color:#e3bf6d;text-decoration:none;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;gap:12px;min-width:0;white-space:nowrap}
.tedbg-pg-strip-text{font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tedbg-pg-strip-count{flex:0 0 auto;color:#fff;font-variant-numeric:tabular-nums;white-space:nowrap}
.tedbg-pg-strip-count:empty{display:none}
.tedbg-pg-cnt-until{font-size:.85em;font-weight:400;margin-left:5px;opacity:.85;letter-spacing:0}
.tedbg-pg-strip-m{display:none}
@media (max-width:767px){
.tedbg-pg-strip{font-size:12px;line-height:16px;padding:5px 8px}
.tedbg-pg-strip a.tedbg-pg-strip-link,.tedbg-pg-strip a.tedbg-pg-strip-link:hover{gap:8px}
.tedbg-pg-strip-d{display:none}
.tedbg-pg-strip-m{display:block}
}
@media (max-width:379px){.tedbg-pg-strip-count{display:none}}

/* ---------- "Black Friday" в главното меню (на мястото на "Блог", само по време на кампанията) ---------- */
.main-menu .main-menu-item.tedbg-pg-menu-bf>a .links-text{display:inline-block;background:#17180f;color:#e3bf6d!important;padding:3px 9px 4px;border-radius:2px;line-height:1.25;white-space:nowrap}
.main-menu .main-menu-item.tedbg-pg-menu-bf>a:hover .links-text,.main-menu .main-menu-item.tedbg-pg-menu-bf.active>a .links-text{color:#fff!important}
/* "Black Friday" е с ~75 px по-широко от "Блог" и Journal свива логото (до 23-53 px), за да събере менюто.
   Менюто (Lora 18px, отстъпи 10px, обвивка 0 25px 0 65px) се сгъстява така, че логото да остане 135 px - мерено 13.11.2026. */
@media (min-width:1300px){
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a{padding-left:6px!important;padding-right:6px!important}
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a .links-text{font-size:17px!important}
}
@media (min-width:1180px) and (max-width:1299px){
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a{padding-left:5px!important;padding-right:5px!important}
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a .links-text{font-size:15px!important}
}
@media (min-width:1025px) and (max-width:1179px){
html body .desktop-main-menu-wrapper.navbar-nav{padding-left:20px!important;padding-right:10px!important}
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a{padding-left:4px!important;padding-right:4px!important}
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a .links-text{font-size:14px!important}
.main-menu .main-menu-item.tedbg-pg-menu-bf>a .links-text{padding:3px 6px 4px}
}
@media (min-width:1025px) and (max-width:1099px){
.desktop-main-menu-wrapper .main-menu>.j-menu>.menu-item>a .links-text{font-size:13px!important}
}

/* ---------- банер на началната страница ---------- */
.tedbg-pg-banner{width:100%;max-width:100%;overflow:hidden;line-height:0}
.tedbg-pg-banner a{display:block}
.tedbg-pg-banner img{display:block;width:100%;height:auto;max-width:100%}

/* ---------- надпис под тримесечния курс ---------- */
.tedbg-pg-badge{display:inline-flex;flex-direction:column;align-items:center;padding:2px 10px 3px;border-radius:3px;background:#17180f;color:#e3bf6d;font-size:11px;line-height:15px;font-weight:700;white-space:nowrap;text-align:center}
.tedbg-pg-badge-count{color:#fff;font-weight:400;font-variant-numeric:tabular-nums;letter-spacing:.02em}
.tedbg-pg-badge-count:empty{display:none}
.tedbg-pg-has-badge{position:relative}
/* Journal слага на телефон ".mobile .product-info .product-options .push-option .radio{margin-bottom:10px!important}" - затова по-силен селектор */
@media (max-width:767px){html body .product-info .product-options .push-option .radio.tedbg-pg-has-badge,html body .tedbg-pg-badge-host .radio.tedbg-pg-has-badge,html body .tedbg-pg-has-badge{margin-bottom:46px!important}}
@media (min-width:768px){.tedbg-pg-badge-host{padding-bottom:40px!important}}
.tedbg-pg-has-badge>.tedbg-pg-badge{position:absolute;left:50%;top:calc(100% + 1px);transform:translateX(-50%);z-index:2;pointer-events:none}

/* ---------- общи бутони (като "Добави в количка" и "Купи с 1 клик" в сайта) ---------- */
.tedbg-pg-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 22px;border-radius:36px;font-family:'Open Sans',Arial,sans-serif;font-weight:700;font-size:13px;line-height:1.2;letter-spacing:.02em;text-transform:uppercase;text-decoration:none!important;cursor:pointer;box-sizing:border-box;white-space:nowrap;transition:background .2s,color .2s,border-color .2s}
.tedbg-pg-btn svg{width:15px;height:15px;flex:0 0 auto;pointer-events:none}
.tedbg-pg-btn-fill,.tedbg-pg-btn-fill:visited{background:#5a805b;border:1px solid #5a805b;color:#fff!important}
.tedbg-pg-btn-fill:hover,.tedbg-pg-btn-fill:focus{background:#4b6c4c;border-color:#4b6c4c;color:#fff!important}
.tedbg-pg-btn-line,.tedbg-pg-btn-line:visited{background:#fff;border:1px solid #5a805b;color:#5a805b!important}
.tedbg-pg-btn-line:hover,.tedbg-pg-btn-line:focus{background:#5a805b;color:#fff!important}
.tedbg-pg-btn-sm{min-height:32px;padding:0 14px;font-size:11px}

/* ---------- прозорец за избор на подарък ---------- */
html.tedbg-pg-lock,html.tedbg-pg-lock body{overflow:hidden}
/* известието на темата "Добавихте ... към кошницата" не застъпва избора на подарък */
html.tedbg-pg-lock .notification-cart{display:none!important}
.tedbg-pg-modal{position:fixed;inset:0;z-index:100050;background:rgba(20,20,12,.62);display:flex;align-items:center;justify-content:center;padding:12px;box-sizing:border-box}
.tedbg-pg-modal *,.tedbg-pg-panel *{box-sizing:border-box}
.tedbg-pg-modal-box{position:relative;background:#fff;border-top:3px solid #c0995e;border-radius:4px;width:100%;max-width:820px;max-height:calc(100vh - 24px);overflow:auto;padding:24px 20px 16px;box-shadow:0 24px 60px rgba(0,0,0,.35);-webkit-overflow-scrolling:touch;color:#303841;font-family:'Open Sans',Arial,sans-serif}
.tedbg-pg-close{position:absolute;top:6px;right:8px;border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:#8a9097;padding:4px 8px}
.tedbg-pg-close:hover{color:#303841}
.tedbg-pg-head{text-align:center;margin:0 26px 18px}
.tedbg-pg-title{font-family:'Lora',Georgia,serif;font-weight:400;font-size:26px;line-height:1.25;color:#303841;margin:0}
.tedbg-pg-title::after{content:'';display:block;width:50px;height:2px;background:#c0995e;margin:10px auto 0}
.tedbg-pg-sub{font-size:14px;color:#5d6670;margin:10px 0 0;line-height:1.5}
.tedbg-pg-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
.tedbg-pg-card{flex:0 1 calc(25% - 9px);min-width:0;border:1px solid #ece6d9;border-radius:4px;padding:12px 10px 12px;display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;transition:border-color .2s,box-shadow .2s}
.tedbg-pg-card:hover{border-color:#c0995e;box-shadow:0 6px 18px rgba(48,56,65,.1)}
.tedbg-pg-card-img{width:100%;display:flex;justify-content:center}
.tedbg-pg-card img{display:block;width:100%;max-width:130px;height:auto;aspect-ratio:1/1;object-fit:contain;margin:0 auto}
.tedbg-pg-card-name{display:block;font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:14px;line-height:1.3;color:#000;margin:8px 0 3px;overflow-wrap:break-word;text-wrap:balance}
.tedbg-pg-card-price{display:block;font-family:'PT Serif',Georgia,serif;font-size:17px;line-height:1.3;color:#cd1f00;margin-bottom:10px}
.tedbg-pg-card-price s{color:#9aa0a6;font-size:13px;margin-right:5px}
.tedbg-pg-card-na{font-size:12px;color:#999;margin-top:auto}
.tedbg-pg-out{opacity:.55}
.tedbg-pg-pick{margin-top:auto;width:100%;max-width:170px}
.tedbg-pg-later{display:block;margin:14px auto 0;border:0;background:none;color:#5d6670;text-decoration:underline;font-family:'Open Sans',Arial,sans-serif;font-size:13px;cursor:pointer;padding:6px}
.tedbg-pg-later:hover{color:#303841}
@media (max-width:767px){.tedbg-pg-card{flex-basis:calc(33.333% - 8px)}}
@media (max-width:640px){
.tedbg-pg-modal-box{padding:22px 12px 12px}
.tedbg-pg-head{margin:0 22px 14px}
.tedbg-pg-title{font-size:22px}
}
/* телефон - подаръците като списък: снимка, име и цена, бутон */
@media (max-width:560px){
.tedbg-pg-grid{flex-direction:column;flex-wrap:nowrap;gap:8px}
.tedbg-pg-card{flex:none;width:100%;display:grid;grid-template-columns:58px minmax(0,1fr) auto;grid-template-areas:"img name btn" "img price btn";column-gap:10px;align-items:center;text-align:left;padding:7px 10px}
.tedbg-pg-card-img{grid-area:img}
.tedbg-pg-card img,.tedbg-pg-panel .tedbg-pg-card img{max-width:58px}
.tedbg-pg-card-name{grid-area:name;align-self:end;margin:0;font-size:15px}
.tedbg-pg-card-price{grid-area:price;align-self:start;margin:1px 0 0;font-size:15px}
.tedbg-pg-card-price s{font-size:12px}
.tedbg-pg-pick,.tedbg-pg-card-na{grid-area:btn;margin:0;width:auto;max-width:none}
.tedbg-pg-pick{min-height:36px;padding:0 14px;font-size:11px}
}

/* след избора */
.tedbg-pg-done{text-align:center}
.tedbg-pg-done-list{list-style:none;margin:6px auto 0;padding:0;max-width:460px;text-align:left}
.tedbg-pg-done-list li{display:flex;align-items:center;gap:12px;padding:8px 12px;border:1px solid #ece6d9;border-radius:4px;margin:0 0 8px;min-width:0}
.tedbg-pg-done-list img{width:56px;height:56px;object-fit:contain;flex:0 0 56px}
.tedbg-pg-done-list div{min-width:0}
.tedbg-pg-done-list b{display:block;font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:16px;line-height:1.3;color:#000;overflow-wrap:anywhere}
.tedbg-pg-done-list small{display:block;font-size:13px;color:#5d6670;margin-top:2px}
.tedbg-pg-done-list em{font-style:normal;font-family:'PT Serif',Georgia,serif;font-size:15px;color:#cd1f00}
.tedbg-pg-done-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:16px}
@media (max-width:480px){.tedbg-pg-done-btns .tedbg-pg-btn{width:100%}}

/* ---------- блок в поръчката (вид като блоковете на поръчката) ---------- */
.tedbg-pg-panel{background:#fff;border:1px solid #ddd;border-radius:3px;margin:0 0 20px;max-width:100%;min-width:0;box-sizing:border-box}
.tedbg-pg-panel.tedbg-pg-need{border-color:#c0995e;box-shadow:0 0 0 1px #c0995e}
.tedbg-pg-panel .tk_panel_heading{position:relative;padding:10px 15px 5px 45px}
.tedbg-pg-panel .tk_panel_icon{position:absolute;left:15px;top:8px;width:20px;height:20px;color:#5a805b}
.tedbg-pg-panel .tk_panel_icon svg{display:block;width:20px;height:20px}
.tedbg-pg-panel .tk_panel_text{position:relative;display:inline-block;font-size:13px;font-weight:700;text-transform:uppercase;color:#333}
.tedbg-pg-panel .tk_panel_text::after{content:'';position:absolute;left:0;bottom:-5px;width:50px;height:1px;background:#5a805b}
.tedbg-pg-panel .tedbg-pg-body{padding:14px 15px 15px}
.tedbg-pg-panel .tedbg-pg-sub{margin:0 0 12px}
.tedbg-pg-panel .tedbg-pg-grid{gap:10px}
.tedbg-pg-panel .tedbg-pg-card{flex:0 1 calc(14.2857% - 9px);min-width:140px}
.tedbg-pg-panel .tedbg-pg-card img{max-width:100px}
.tedbg-pg-chosen{list-style:none;margin:0;padding:0}
.tedbg-pg-chosen li{display:flex;align-items:center;gap:12px;padding:6px 0;min-width:0}
.tedbg-pg-chosen li+li{border-top:1px solid #eee}
.tedbg-pg-chosen img{width:52px;height:52px;object-fit:contain;flex:0 0 52px}
.tedbg-pg-chosen div{flex:1 1 auto;min-width:0}
.tedbg-pg-chosen b{display:block;font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:16px;line-height:1.3;color:#000;overflow-wrap:anywhere}
.tedbg-pg-chosen small{display:block;font-size:13px;color:#5d6670}
.tedbg-pg-chosen em{font-style:normal;font-family:'PT Serif',Georgia,serif;color:#cd1f00}
.tedbg-pg-chosen .tedbg-pg-btn{flex:0 0 auto}
.tedbg-pg-chosen+.tedbg-pg-sub{margin-top:12px}
.tedbg-pg-gift-row .tk_quantity,.tedbg-pg-gift-row input[name^="quantity"],.tedbg-pg-gift-row .input-group-btn{pointer-events:none;opacity:.6}
@media (max-width:560px){.tedbg-pg-panel .tedbg-pg-card{min-width:0;flex:none}.tedbg-pg-panel .tedbg-pg-card img{max-width:58px}}
/* тесен телефон - бутонът под цената, за да не се реже името */
@media (max-width:420px){
.tedbg-pg-card{grid-template-columns:52px minmax(0,1fr);grid-template-areas:"img name" "img price" "img btn";row-gap:3px;padding:8px 10px}
.tedbg-pg-card img,.tedbg-pg-panel .tedbg-pg-card img{max-width:52px}
.tedbg-pg-card-name{align-self:auto}
.tedbg-pg-pick,.tedbg-pg-card-na{justify-self:start;margin-top:3px}
.tedbg-pg-pick{min-height:32px}
}
@media (max-width:480px){
.tedbg-pg-chosen li{flex-wrap:wrap}
.tedbg-pg-chosen .tedbg-pg-btn{margin-left:64px}
}

/* ---------- "Купи с 1 клик" ---------- */
.tedbg-pg-boc select{max-width:100%}
.tedbg-pg-boc label{font-weight:700}

/* ================= лендинг /black-friday - в стила на банера ================= */
#tedbg-bf{--tedbg-orn:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 16'%3E%3Cdefs%3E%3ClinearGradient id='l' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23c99a45' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23d9b76c'/%3E%3C/linearGradient%3E%3ClinearGradient id='r' x1='0' x2='1'%3E%3Cstop offset='0' stop-color='%23d9b76c'/%3E%3Cstop offset='1' stop-color='%23c99a45' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='0' y='7.5' width='104' height='1' fill='url(%23l)'/%3E%3Crect x='136' y='7.5' width='104' height='1' fill='url(%23r)'/%3E%3Ccircle cx='108' cy='8' r='1.3' fill='%23d9b76c'/%3E%3Ccircle cx='132' cy='8' r='1.3' fill='%23d9b76c'/%3E%3Cg transform='translate(120 8)' fill='%23e3c27f'%3E%3Cellipse rx='1.7' ry='6.5'/%3E%3Cellipse rx='1.7' ry='6.5' transform='rotate(45)'/%3E%3Cellipse rx='1.7' ry='6.5' transform='rotate(90)'/%3E%3Cellipse rx='1.7' ry='6.5' transform='rotate(135)'/%3E%3Ccircle r='2.2' fill='%23f6e3b0'/%3E%3C/g%3E%3C/svg%3E");background:#0c0c08;color:#e9e1cf;font-family:'Open Sans',Arial,sans-serif;overflow:hidden}
#tedbg-bf *,#tedbg-bf *::before,#tedbg-bf *::after{box-sizing:border-box}
#tedbg-bf img{max-width:100%}
#tedbg-bf ul,#tedbg-bf ol{list-style:none;margin:0;padding:0}
#tedbg-bf section{position:relative}
#tedbg-bf section+section::before{content:'';position:absolute;top:0;left:50%;transform:translateX(-50%);width:90%;max-width:900px;height:1px;background:linear-gradient(90deg,rgba(227,194,127,0),rgba(227,194,127,.4),rgba(227,194,127,0));pointer-events:none}
#tedbg-bf .tedbg-bf-wrap{max-width:1240px;margin:0 auto;padding:0 16px}
#tedbg-bf .tedbg-bf-orn{display:block;width:240px;max-width:80%;height:16px;margin:14px auto;background:var(--tedbg-orn) center/contain no-repeat}
#tedbg-bf .tedbg-bf-h2{font-family:'Lora',Georgia,serif;font-weight:400;font-size:36px;line-height:1.2;color:#f4ead3;text-align:center;margin:0;padding:0;border:0;text-transform:none;background:none;letter-spacing:0}
#tedbg-bf .tedbg-bf-h2::after{content:'';display:block;width:240px;max-width:70%;height:16px;margin:14px auto 0;background:var(--tedbg-orn) center/contain no-repeat}
#tedbg-bf .tedbg-bf-sub{text-align:center;color:#b8b09d;max-width:680px;margin:14px auto 30px;font-size:15px;line-height:1.6}

/* бутонът като на банера - златен, серифен текст и стрелка */
#tedbg-bf .tedbg-bf-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:3px;padding:12px 24px;font-family:'PT Serif',Georgia,serif;font-weight:700;font-size:18px;line-height:1.2;letter-spacing:.01em;color:#221b0e!important;background:linear-gradient(180deg,#eed392 0%,#d8b465 55%,#c49b4c 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 6px 16px rgba(0,0,0,.45);text-decoration:none!important;cursor:pointer;transition:filter .2s,transform .1s}
#tedbg-bf .tedbg-bf-btn::after{content:'';flex:0 0 auto;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg);margin-left:1px}
#tedbg-bf .tedbg-bf-btn:hover{filter:brightness(1.07)}
#tedbg-bf .tedbg-bf-btn:active{transform:translateY(1px)}
#tedbg-bf .tedbg-bf-btn-lg{font-size:22px;padding:14px 34px}
#tedbg-bf .tedbg-bf-btn[disabled]{cursor:wait;filter:saturate(.7)}
#tedbg-bf .tedbg-bf-add.is-done{background:transparent;color:#e3c27f!important;box-shadow:inset 0 0 0 1px rgba(227,194,127,.75)}
#tedbg-bf .tedbg-bf-add.is-done::after{order:-1;width:7px;height:12px;border-top:0;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
#tedbg-bf .tedbg-bf-btn:focus-visible,#tedbg-bf a:focus-visible,#tedbg-bf summary:focus-visible{outline:2px solid #f2d690;outline-offset:2px}

/* горна част - като банера */
#tedbg-bf .tedbg-bf-hero{background:radial-gradient(ellipse at 70% 45%,#34321e 0%,#1b1c12 55%,#0c0c08 100%);color:#f4ead3}
#tedbg-bf .tedbg-bf-hero-in{display:flex;align-items:center;gap:24px;padding-top:40px;padding-bottom:40px;min-height:520px}
#tedbg-bf .tedbg-bf-hero-text{flex:0 0 42%;min-width:0;text-align:center;position:relative;z-index:2}
#tedbg-bf .tedbg-bf-hero-img{flex:1 1 auto;min-width:0;margin-right:-16px}
#tedbg-bf .tedbg-bf-hero-img img{display:block;width:100%;height:auto;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 16%),linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%);-webkit-mask-composite:source-in;mask-image:linear-gradient(to right,transparent 0,#000 16%),linear-gradient(to bottom,transparent 0,#000 12%,#000 88%,transparent 100%);mask-composite:intersect}
#tedbg-bf .tedbg-bf-h1{font-family:'PT Serif',Georgia,serif;font-weight:700;font-size:66px;line-height:1;letter-spacing:.01em;text-transform:uppercase;color:#f4ead3;margin:0;padding:0;border:0;text-shadow:0 3px 0 rgba(0,0,0,.35),0 0 30px rgba(0,0,0,.4)}
#tedbg-bf .tedbg-bf-hero .tedbg-bf-orn{margin:16px auto 14px}
#tedbg-bf .tedbg-bf-lead{font-family:'PT Serif',Georgia,serif;font-size:32px;line-height:1.2;margin:0;color:#f4ead3}
#tedbg-bf .tedbg-bf-gift{max-width:470px;margin:12px auto;padding:8px 0 10px;border-top:1px solid rgba(227,194,127,.6);border-bottom:1px solid rgba(227,194,127,.6)}
#tedbg-bf .tedbg-bf-gift span{font-family:'PT Serif',Georgia,serif;font-weight:700;font-size:42px;line-height:1.1;color:#e3c27f}
#tedbg-bf .tedbg-bf-lead2{font-family:'PT Serif',Georgia,serif;font-size:19px;line-height:1.5;color:#efe4cc;margin:0;text-wrap:balance}
#tedbg-bf .tedbg-bf-dates{font-family:'PT Serif',Georgia,serif;font-size:24px;line-height:1.3;color:#f4ead3;margin:12px 0 0}
#tedbg-bf .tedbg-bf-phase{font-family:'PT Serif',Georgia,serif;font-size:20px;color:#e3c27f;margin:16px 0 0}
#tedbg-bf .tedbg-bf-hero .tedbg-bf-btn{margin-top:22px}

/* обратно броене */
#tedbg-bf .tedbg-bf-cd{margin-top:20px}
#tedbg-bf .tedbg-bf-cd-label{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:#cdbf9f;margin-bottom:8px}
#tedbg-bf .tedbg-bf-cd-boxes{display:flex;justify-content:center;gap:8px}
#tedbg-bf .tedbg-bf-cd-boxes span{min-width:68px;background:rgba(0,0,0,.35);border:1px solid rgba(227,194,127,.5);border-radius:3px;padding:8px 4px 7px;text-align:center}
#tedbg-bf .tedbg-bf-cd-boxes b{display:block;font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:32px;line-height:1;color:#f4ead3;font-variant-numeric:tabular-nums}
#tedbg-bf .tedbg-bf-cd-boxes i{display:block;font-style:normal;font-size:10px;color:#cdbf9f;text-transform:uppercase;letter-spacing:.08em;margin-top:5px}

/* стъпки */
#tedbg-bf .tedbg-bf-steps{background:#111109;padding:54px 0}
#tedbg-bf .tedbg-bf-steps-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:34px}
#tedbg-bf .tedbg-bf-steps-list li{text-align:center;padding:4px 30px;min-width:0}
#tedbg-bf .tedbg-bf-steps-list li+li{border-left:1px solid rgba(227,194,127,.22)}
#tedbg-bf .tedbg-bf-step-n{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;border:1px solid rgba(227,194,127,.75);font-family:'PT Serif',Georgia,serif;font-weight:700;font-size:26px;line-height:1;color:#e3c27f;margin-bottom:14px}
#tedbg-bf .tedbg-bf-steps-list h3{font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:21px;line-height:1.3;color:#f4ead3;margin:0 0 8px;padding:0;border:0;text-transform:none}
#tedbg-bf .tedbg-bf-steps-list p{font-size:14px;line-height:1.6;color:#b8b09d;margin:0}

/* курсовете */
#tedbg-bf .tedbg-bf-products{background:#0c0c08;padding:56px 0;scroll-margin-top:10px}
#tedbg-bf .tedbg-bf-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:20px}
#tedbg-bf .tedbg-bf-card{position:relative;flex:0 1 calc(25% - 15px);min-width:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#19190f 0%,#111109 100%);border:1px solid rgba(227,194,127,.2);border-radius:4px;overflow:hidden;transition:border-color .2s,box-shadow .2s}
#tedbg-bf .tedbg-bf-card:hover{border-color:rgba(227,194,127,.55);box-shadow:0 16px 34px rgba(0,0,0,.55)}
#tedbg-bf .tedbg-bf-card-img{display:block;padding:22px 18px 6px;background:radial-gradient(circle at 50% 58%,rgba(227,194,127,.2) 0%,rgba(227,194,127,.05) 45%,rgba(227,194,127,0) 70%)}
#tedbg-bf .tedbg-bf-card-img img{display:block;width:100%;height:auto;max-width:220px;margin:0 auto;aspect-ratio:1/1;object-fit:contain;filter:drop-shadow(0 12px 14px rgba(0,0,0,.65));transition:transform .25s}
#tedbg-bf .tedbg-bf-card:hover .tedbg-bf-card-img img{transform:translateY(-3px)}
#tedbg-bf .tedbg-bf-card-body{display:flex;flex-direction:column;flex:1 1 auto;padding:6px 18px 20px;text-align:center;min-width:0}
#tedbg-bf .tedbg-bf-card-badge{align-self:center;display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;margin:0 0 10px;padding:3px 10px;border:1px solid rgba(227,194,127,.6);border-radius:2px;background:rgba(227,194,127,.08);color:#e3c27f;font-size:11px;font-weight:700;line-height:15px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
#tedbg-bf .tedbg-bf-card-name{font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:21px;line-height:1.25;margin:0 0 6px;padding:0;border:0;text-transform:none;text-wrap:balance}
#tedbg-bf .tedbg-bf-card-name a{color:#f4ead3;text-decoration:none}
#tedbg-bf .tedbg-bf-card-name a:hover{color:#e3c27f}
#tedbg-bf .tedbg-bf-card-tag{font-size:14px;line-height:1.5;color:#b8b09d;margin:0 0 12px}
#tedbg-bf .tedbg-bf-card-course{margin-top:auto;font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#c9ab6e}
#tedbg-bf .tedbg-bf-card-price{font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:32px;line-height:1.2;color:#f4ead3;margin:4px 0 0}
#tedbg-bf .tedbg-bf-card-actions{padding-top:14px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
#tedbg-bf .tedbg-bf-more,#tedbg-bf .tedbg-bf-more:hover{align-self:center;font-size:13px;color:#cdbf9f;text-decoration:underline}

/* подаръците */
#tedbg-bf .tedbg-bf-gifts{background:#111109;padding:54px 0}
#tedbg-bf .tedbg-bf-gift-row{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}
#tedbg-bf .tedbg-bf-gift-row li{flex:1 1 0;background:#17170f;border:1px solid rgba(227,194,127,.18);border-radius:4px;padding:12px 6px;text-align:center;min-width:0}
#tedbg-bf .tedbg-bf-gift-row img{display:block;width:100%;max-width:100px;height:auto;margin:0 auto;aspect-ratio:1/1;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.6))}
#tedbg-bf .tedbg-bf-gift-row span{display:block;font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:15px;line-height:1.25;color:#f4ead3;margin-top:8px;overflow-wrap:break-word}

/* доверие */
#tedbg-bf .tedbg-bf-trust{background:#0c0c08;color:#f4ead3;padding:34px 0}
#tedbg-bf .tedbg-bf-trust-in{display:flex;align-items:center;justify-content:center;gap:18px 34px;flex-wrap:wrap}
#tedbg-bf .tedbg-bf-logo{width:180px;height:auto;flex:0 0 auto}
#tedbg-bf .tedbg-bf-trust-list{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 28px}
#tedbg-bf .tedbg-bf-trust-list li{position:relative;padding-left:24px;font-family:'PT Serif',Georgia,serif;font-size:17px;line-height:1.4}
#tedbg-bf .tedbg-bf-trust-list li::before{content:'';position:absolute;left:0;top:4px;width:16px;height:16px;border-radius:50%;border:1px solid #c0995e}
#tedbg-bf .tedbg-bf-trust-list li::after{content:'';position:absolute;left:6px;top:7px;width:4px;height:8px;border:solid #e3c27f;border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}

/* условия и въпроси */
#tedbg-bf .tedbg-bf-terms{background:#111109;padding:54px 0 24px}
#tedbg-bf .tedbg-bf-terms-text{max-width:820px;margin:26px auto 0;font-size:15px;line-height:1.65;color:#d9d1bf}
#tedbg-bf .tedbg-bf-terms-text h2,#tedbg-bf .tedbg-bf-terms-text h3{font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:21px;margin:18px 0 8px;text-align:left;color:#e3c27f}
#tedbg-bf .tedbg-bf-terms-text p{margin:0 0 10px}
#tedbg-bf .tedbg-bf-terms-text strong,#tedbg-bf .tedbg-bf-terms-text b{color:#f4ead3}
#tedbg-bf .tedbg-bf-terms-text a{color:#e3c27f}
#tedbg-bf .tedbg-bf-terms-text ul,#tedbg-bf .tedbg-bf-terms-text ol{margin:0 0 12px}
#tedbg-bf .tedbg-bf-terms-text li{position:relative;padding-left:22px;margin-bottom:7px}
#tedbg-bf .tedbg-bf-terms-text li::before{content:'';position:absolute;left:4px;top:9px;width:6px;height:6px;transform:rotate(45deg);background:#c0995e}
#tedbg-bf .tedbg-bf-faq{background:#111109;padding:30px 0 56px}
#tedbg-bf .tedbg-bf-terms+.tedbg-bf-faq::before{display:none}
#tedbg-bf .tedbg-bf-faq .tedbg-bf-h2{margin-bottom:28px}
#tedbg-bf .tedbg-bf-faq-item{max-width:820px;margin:0 auto 10px;border:1px solid rgba(227,194,127,.2);border-radius:3px;background:#17170f;transition:border-color .2s}
#tedbg-bf .tedbg-bf-faq-item[open]{border-color:rgba(227,194,127,.5)}
#tedbg-bf .tedbg-bf-faq-item summary{cursor:pointer;list-style:none;position:relative;padding:15px 48px 15px 18px;font-family:'PT Serif',Georgia,serif;font-weight:400;font-size:18px;line-height:1.35;color:#f4ead3;display:block}
#tedbg-bf .tedbg-bf-faq-item summary::-webkit-details-marker{display:none}
#tedbg-bf .tedbg-bf-faq-item summary::after{content:'+';position:absolute;right:18px;top:50%;transform:translateY(-50%);font-family:'Open Sans',Arial,sans-serif;font-size:24px;line-height:1;color:#e3c27f;font-weight:400;transition:transform .2s}
#tedbg-bf .tedbg-bf-faq-item[open] summary::after{transform:translateY(-50%) rotate(45deg)}
#tedbg-bf .tedbg-bf-faq-a{padding:0 18px 16px;color:#b8b09d;line-height:1.6;font-size:15px}

/* финал */
#tedbg-bf .tedbg-bf-final{background:radial-gradient(ellipse at 50% 0%,#34321e 0%,#1b1c12 60%,#0c0c08 100%);color:#f4ead3;padding:48px 0 54px}
#tedbg-bf .tedbg-bf-final-in{display:flex;flex-direction:column;align-items:center;text-align:center}
#tedbg-bf .tedbg-bf-final-text{font-family:'PT Serif',Georgia,serif;font-size:32px;line-height:1.25;color:#f4ead3}
#tedbg-bf .tedbg-bf-final .tedbg-bf-orn{margin:14px auto 4px}
#tedbg-bf .tedbg-bf-final .tedbg-bf-btn{margin-top:24px}

/* таблет */
@media (max-width:991px){
#tedbg-bf .tedbg-bf-card{flex-basis:calc(33.333% - 14px)}
#tedbg-bf .tedbg-bf-h1{font-size:52px}
#tedbg-bf .tedbg-bf-lead{font-size:27px}
#tedbg-bf .tedbg-bf-gift span{font-size:34px}
#tedbg-bf .tedbg-bf-lead2{font-size:18px}
#tedbg-bf .tedbg-bf-gift-row li{flex:0 0 calc(25% - 9px)}
#tedbg-bf .tedbg-bf-steps-list li{padding:4px 18px}
}
/* телефон */
@media (max-width:860px){
#tedbg-bf .tedbg-bf-hero-in{flex-direction:column;align-items:stretch;padding-top:30px;padding-bottom:0;min-height:0;gap:0}
#tedbg-bf .tedbg-bf-hero-text{flex:none}
#tedbg-bf .tedbg-bf-hero-img{margin:10px -16px 0}
#tedbg-bf .tedbg-bf-hero-img img{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 82%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 18%,#000 82%,transparent 100%)}
#tedbg-bf .tedbg-bf-steps-list{grid-template-columns:minmax(0,1fr);margin-top:22px}
#tedbg-bf .tedbg-bf-steps-list li{padding:20px 6px}
#tedbg-bf .tedbg-bf-steps-list li+li{border-left:0;border-top:1px solid rgba(227,194,127,.22)}
#tedbg-bf .tedbg-bf-products{scroll-margin-top:70px}
}
@media (max-width:767px){
#tedbg-bf .tedbg-bf-card{flex-basis:calc(50% - 10px)}
#tedbg-bf .tedbg-bf-h2{font-size:29px}
}
@media (max-width:560px){
#tedbg-bf .tedbg-bf-h1{font-size:46px}
#tedbg-bf .tedbg-bf-lead{font-size:25px}
#tedbg-bf .tedbg-bf-gift span{font-size:30px}
#tedbg-bf .tedbg-bf-lead2{font-size:16px}
#tedbg-bf .tedbg-bf-dates{font-size:20px}
#tedbg-bf .tedbg-bf-cd-boxes{gap:6px}
#tedbg-bf .tedbg-bf-cd-boxes span{min-width:0;flex:1 1 0;max-width:78px}
#tedbg-bf .tedbg-bf-cd-boxes b{font-size:27px}
#tedbg-bf .tedbg-bf-btn-lg{display:flex;width:100%;font-size:20px;padding:14px 18px}
#tedbg-bf .tedbg-bf-steps,#tedbg-bf .tedbg-bf-products,#tedbg-bf .tedbg-bf-gifts{padding:40px 0}
#tedbg-bf .tedbg-bf-sub{margin-bottom:22px}
#tedbg-bf .tedbg-bf-grid{gap:12px}
#tedbg-bf .tedbg-bf-card{flex-basis:100%;flex-direction:row;align-items:stretch}
#tedbg-bf .tedbg-bf-card-img{flex:0 0 118px;padding:10px 4px 10px 8px;display:flex;align-items:center;background:radial-gradient(circle at 50% 50%,rgba(227,194,127,.18) 0%,rgba(227,194,127,0) 68%)}
#tedbg-bf .tedbg-bf-card-body{text-align:left;padding:12px 12px 14px 8px}
#tedbg-bf .tedbg-bf-card-badge{align-self:flex-start;font-size:10px;line-height:14px;letter-spacing:.03em;padding:2px 7px;margin-bottom:7px}
#tedbg-bf .tedbg-bf-card-name{font-size:19px;margin-bottom:4px}
#tedbg-bf .tedbg-bf-card-tag{font-size:13px;margin-bottom:6px}
#tedbg-bf .tedbg-bf-card-course{font-size:10px}
#tedbg-bf .tedbg-bf-card-price{font-size:26px}
#tedbg-bf .tedbg-bf-card-actions{padding-top:10px;gap:8px}
#tedbg-bf .tedbg-bf-card-actions .tedbg-bf-btn{padding:10px 12px;font-size:16px}
#tedbg-bf .tedbg-bf-more,#tedbg-bf .tedbg-bf-more:hover{align-self:flex-start}
#tedbg-bf .tedbg-bf-gift-row{gap:8px}
#tedbg-bf .tedbg-bf-gift-row li{flex:0 0 calc(33.333% - 6px);padding:10px 4px}
#tedbg-bf .tedbg-bf-gift-row span{font-size:13px}
#tedbg-bf .tedbg-bf-trust-list{flex-direction:column;align-items:flex-start;gap:8px}
#tedbg-bf .tedbg-bf-trust-list li{font-size:16px}
#tedbg-bf .tedbg-bf-faq-item summary{font-size:16px;padding:14px 44px 14px 14px}
#tedbg-bf .tedbg-bf-faq-a{padding:0 14px 14px}
#tedbg-bf .tedbg-bf-final-text{font-size:25px}
}
@media (max-width:360px){
#tedbg-bf .tedbg-bf-h1{font-size:39px}
#tedbg-bf .tedbg-bf-lead{font-size:22px}
#tedbg-bf .tedbg-bf-gift span{font-size:27px}
#tedbg-bf .tedbg-bf-card-img{flex-basis:96px}
#tedbg-bf .tedbg-bf-cd-boxes b{font-size:24px}
}
