/* ============================================================ */
/* „Тази седмица: Избрахме за вас" — начална страница            */
/* Пренесено от Oreshkov Garden, в бранда на Пицарията:          */
/* тъмнозелено (--color-one/--color-two) + злато (--main-color)  */
/* ============================================================ */

#home-featured[hidden],
#home-new-offers[hidden]{display:none!important}

/* SVG баджът под банера е надпис „Нови предложения" → показва се само в този режим
   (класа го слага js/featured-loader.js) */
.svg-menu-badge{display:none}
body.home-new-offers-mode .svg-menu-badge{display:block}

/* Подкривената лента в долния край на банера върви в комплект с бадж-а →
   в режим „Избрахме за вас" я скриваме (както в Garden) */
body:not(.home-new-offers-mode) .banner-section .bottom-curve{display:none!important}

/* Фин златен орнамент във фона — собствен мотив на Пицарията: клас пшеница, пламъче от пещта, звездичка */
body:not(.home-new-offers-mode) .menu-section > .auto-container{position:relative;z-index:1}
/* горните 100px на секцията бяха за бадж-а → по-малко празно място */
body:not(.home-new-offers-mode) .menu-section{padding-top:60px}
body:not(.home-new-offers-mode) .menu-section::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:0;opacity:.2;
  background-repeat:repeat;background-size:160px 160px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='none' stroke='%23E6B15F' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='rotate%28-24 36 40%29'%3E%3Cpath d='M36 66V18'/%3E%3Cpath d='M36 24c-4-2-6-6-5-10 4 2 6 6 5 10zM36 24c4-2 6-6 5-10-4 2-6 6-5 10z'/%3E%3Cpath d='M36 34c-4-2-6-6-5-10 4 2 6 6 5 10zM36 34c4-2 6-6 5-10-4 2-6 6-5 10z'/%3E%3Cpath d='M36 44c-4-2-6-6-5-10 4 2 6 6 5 10zM36 44c4-2 6-6 5-10-4 2-6 6-5 10z'/%3E%3C/g%3E%3Cpath d='M112 128c-8 0-12-5-12-11 0-7 6-10 7-17 3 3 5 7 4 10 3-2 4-5 4-9 6 5 9 10 9 16 0 7-5 11-12 11z'/%3E%3C/g%3E%3Cg fill='%23E6B15F'%3E%3Cpath d='M118 34l1.6 4.4 4.4 1.6-4.4 1.6-1.6 4.4-1.6-4.4-4.4-1.6 4.4-1.6z'/%3E%3Ccircle cx='44' cy='118' r='1.6'/%3E%3Ccircle cx='80' cy='80' r='1.2'/%3E%3C/g%3E%3C/svg%3E")}

/* Заглавие: етикет „Тази седмица:" + „Избрахме за вас" в бадж-карта със златна нишка */
.feat-heading{width:-moz-fit-content;width:fit-content;max-width:92%;margin:0 auto 44px;
  padding:16px 50px 22px;text-align:center;
  background:linear-gradient(180deg,rgba(24,49,46,.9),rgba(21,44,41,.75));
  border:1px solid rgba(230,177,95,.35);border-radius:24px;
  box-shadow:0 16px 36px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.05)}
.feat-eyebrow{display:block;font-family:var(--font-family-Urbanist);font-weight:700;
  text-transform:uppercase;letter-spacing:4px;font-size:15px;color:var(--main-color);margin-bottom:6px}
.feat-heading-text{font-family:var(--font-family-Fraunces)!important;font-style:italic;
  color:var(--heading-color,#fff)!important;font-weight:500!important;font-size:56px!important;
  line-height:1.05!important;margin:0!important;text-transform:none!important}

.featured-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}

.feat-card{background:var(--color-one);border:1px solid rgba(230,177,95,.18);border-radius:18px;
  overflow:hidden;display:flex;flex-direction:column;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
.feat-card:hover{transform:translateY(-6px);border-color:var(--main-color);
  box-shadow:0 22px 46px rgba(0,0,0,.5)}

.feat-media{position:relative;display:block;aspect-ratio:4/3;overflow:hidden;
  background:var(--color-two);cursor:zoom-in}
.feat-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.feat-card:hover .feat-media img{transform:scale(1.06)}
.feat-zoom{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;
  background:rgba(21,44,41,.7);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:15px;opacity:0;transition:opacity .3s ease;
  -webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);z-index:3}
.feat-card:hover .feat-zoom{opacity:1}
/* Бадж с категорията — долу вдясно на снимката (некликаем етикет) */
.feat-cat-badge{position:absolute;bottom:10px;right:10px;z-index:2;
  background:rgba(21,44,41,.78);color:var(--main-color);
  font-size:11px;font-weight:700;letter-spacing:.3px;line-height:1;
  padding:5px 11px;border-radius:999px;border:1px solid rgba(230,177,95,.35);
  box-shadow:0 3px 10px rgba(0,0,0,.4);max-width:calc(100% - 20px);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}

.feat-body{padding:16px 17px 18px;display:flex;flex-direction:column;flex:1}
.feat-title{font-family:var(--font-family-Fraunces)!important;font-size:18px!important;
  color:var(--heading-color,#fff)!important;margin:0 0 7px!important;line-height:1.25!important;
  font-weight:600!important;text-transform:none!important;letter-spacing:0!important}
.feat-desc{font-size:13px;color:var(--color-three);line-height:1.55;margin:0 0 15px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.feat-foot{margin-top:auto;display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  padding-top:13px;border-top:1px solid rgba(230,177,95,.18)}
.feat-meta{font-size:14px;color:var(--color-three);font-weight:600;white-space:nowrap}
.feat-price{font-family:var(--font-family-Fraunces);white-space:nowrap;line-height:1}
.feat-price .p-eur{font-size:16px;font-weight:600;color:var(--main-color)}
.feat-allergens{font-size:12px;color:var(--color-three);line-height:1.4;margin-top:8px;
  padding-top:8px;border-top:1px solid rgba(230,177,95,.12)}

/* Надпис в Fancybox галерията (име + цена) */
.fancybox-caption .fb-cap-title{display:block;font-family:var(--font-family-Fraunces);
  font-size:18px;font-weight:600;color:#fff;margin-bottom:5px}
.fancybox-caption .fb-cap-price{font-family:var(--font-family-Fraunces)}
.fancybox-caption .fb-cap-price .p-eur{color:var(--main-color);font-size:15px;font-weight:600}

@media (max-width:1100px){.featured-grid{grid-template-columns:repeat(3,1fr)}}
@media (max-width:820px){.featured-grid{grid-template-columns:repeat(2,1fr);gap:16px}}
@media (max-width:767px){
  .feat-heading{margin-bottom:32px;padding:14px 28px 18px}
  .feat-heading-text{font-size:38px!important}
  .feat-eyebrow{font-size:13px;letter-spacing:3px}
}
@media (max-width:480px){
  .featured-grid{gap:10px}
  .feat-heading-text{font-size:32px!important}
  .feat-card{border-radius:12px}
  .feat-body{padding:10px 11px 13px}
  .feat-title{font-size:13.5px!important;line-height:1.2!important;margin-bottom:5px!important}
  .feat-desc{font-size:11px;line-height:1.45;margin-bottom:8px}
  .feat-cat-badge{font-size:9px;padding:3px 8px;bottom:8px;right:8px}
  .feat-zoom{top:8px;right:8px;width:26px;height:26px;font-size:13px}
  .feat-foot{padding-top:8px;flex-wrap:wrap;gap:3px 6px}
  .feat-meta,.feat-price .p-eur{font-size:.8rem}
  .feat-allergens{font-size:10px;margin-top:6px;padding-top:6px}
}
/* под 310px → 1 колона */
@media (max-width:310px){.featured-grid{grid-template-columns:1fr}}
