/* ==========================================================================
   Bukiet & Company redesign draft: HOMEPAGE (page 1377). LOCAL ONLY.
   Every rule is scoped to body.page-id-1377 (legacy CSS in florystka-seo.php
   squeezes homepage containers to 8px padding and caps images at 350px).
   ========================================================================== */

/* --- Undo legacy homepage squeeze ------------------------------------- */
/* Boxed containers: Elementor puts the vertical padding on .e-con-inner (from --padding-*),
   so the outer box must have none (legacy sets 8px !important on it). Astra caps direct
   children of .entry-content on the front page at 1200px, which leaves side strips: undo. */
body.nb-redesign.page-id-1377 .e-con.nb-sec {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: var(--padding-left) !important;
  padding-right: var(--padding-right) !important;
  max-width: none !important;
  width: 100% !important;
}
body.nb-redesign.page-id-1377 .nb-photo img { max-height: none !important; }
body.nb-redesign.page-id-1377 .nb-photo--hero img { max-height: 640px !important; }
body.nb-redesign.page-id-1377 .nb-card__media img { max-height: none !important; }
/* Linked photos: a block-level <a> so the 100%-wide image has a width to resolve against */
body.page-id-1377 .nb-photo .elementor-widget-container > a,
body.page-id-1377 .nb-card__media .elementor-widget-container > a { display: block; }

/* --- Hero --------------------------------------------------------------- */
body.page-id-1377 .e-con.hp2-hero { --gap: 56px 56px; --column-gap: 56px; }
body.page-id-1377 .e-con.hp2-hero__text { --gap: 18px 18px; --row-gap: 18px; }
body.nb-redesign.page-id-1377 .hp2-hero .nb-display .elementor-heading-title { font-size: clamp(36px, 4.6vw, 56px) !important; }
body.page-id-1377 .hp2-hero .nb-actions { margin-top: 8px; }
body.nb-redesign.page-id-1377 .hp2-hero__note p { display: flex; align-items: center; gap: 10px; margin-top: 4px !important; color: var(--nb-plum-soft) !important; }
body.page-id-1377 .hp2-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--nb-sage-deep); box-shadow: 0 0 0 4px rgba(111, 132, 103, .18); }
body.page-id-1377 .hp2-hero__media { position: relative; }
body.page-id-1377 .e-con.hp2-hero { overflow-x: clip; }
body.page-id-1377 .hp2-hero__media::before {
  content: ""; position: absolute; z-index: 0; inset: 28px -18px -18px 28px;
  border: 1px solid rgba(194, 24, 91, .28); border-radius: calc(var(--nb-radius) + 6px);
}
body.page-id-1377 .hp2-hero__media > .elementor-element { position: relative; z-index: 1; }

/* --- Butik / slow life ---------------------------------------------------- */
body.page-id-1377 .e-con.hp2-butik { --gap: 64px 64px; --row-gap: 64px; }
body.page-id-1377 .elementor-element-hp2_butik_row { --gap: 64px 64px; --column-gap: 64px; --row-gap: 36px; }
body.page-id-1377 .e-con.hp2-collage { --gap: 16px 16px; --column-gap: 16px; }
body.page-id-1377 .e-con.hp2-collage__side { margin-top: 72px; }
body.page-id-1377 .hp2-collage__side .nb-photo img { object-position: 50% 70%; }
body.page-id-1377 .hp2-collage__side .nb-ph--photo { min-height: 0; padding: 18px 14px; }
body.page-id-1377 .e-con.hp2-butik__text { --gap: 16px 16px; --row-gap: 16px; align-items: flex-start; }
body.page-id-1377 ul.hp2-features li { background: var(--nb-cream); box-shadow: none; border: 1px solid var(--nb-line); }

/* --- Oferta ------------------------------------------------------------- */
body.page-id-1377 .e-con.hp2-oferta { --gap: 40px 40px; --row-gap: 40px; }
body.page-id-1377 .e-con.hp2-oferta .nb-narrow { --gap: 12px 12px; --row-gap: 12px; }
body.page-id-1377 .e-con.hp2-grid { --gap: 28px 28px; --row-gap: 28px; --column-gap: 28px; justify-content: center; }
body.page-id-1377 .e-con.hp2-grid > .e-con.nb-card { --width: calc((100% - 56px) / 3); width: calc((100% - 56px) / 3); }
body.page-id-1377 .e-con.hp2-card { --gap: 10px 10px; --row-gap: 10px; }
body.nb-redesign.page-id-1377 .hp2-card .nb-card__media img { aspect-ratio: 4 / 5; transition: transform .6s ease; }
body.page-id-1377 .hp2-card .nb-card__media { overflow: hidden; margin-bottom: 10px; }
body.page-id-1377 .hp2-card:hover .nb-card__media img { transform: scale(1.04); }
body.nb-redesign.page-id-1377 .elementor-element-hp2_c_komunia_i img { object-position: 30% 50%; }
body.nb-redesign.page-id-1377 .hp2-card__text p { font-size: 15px !important; line-height: 1.65 !important; }
body.nb-redesign.page-id-1377 .hp2-card__text p.hp2-card__chip { margin-bottom: 10px !important; }
body.page-id-1377 .hp2-card .nb-btn { margin-top: auto; padding-top: 8px; }

body.nb-redesign.page-id-1377 .e-con.hp2-firm {
  background: #fff !important;
  border-radius: var(--nb-radius);
  border: 1px solid var(--nb-line);
  box-shadow: var(--nb-shadow);
  --padding-top: 28px; --padding-bottom: 28px; --padding-left: 32px; --padding-right: 32px;
  padding: 28px 32px !important;
  --gap: 20px 32px; --row-gap: 16px; --column-gap: 32px;
}
body.page-id-1377 .e-con.hp2-firm > .e-con { --gap: 6px 6px; --row-gap: 6px; }
body.page-id-1377 .e-con.hp2-firm__actions { justify-content: flex-end; }
body.nb-redesign.page-id-1377 .hp2-of-help p { font-size: 15px !important; color: var(--nb-plum-soft) !important; }

/* --- Kim jestem ----------------------------------------------------------- */
body.page-id-1377 .e-con.hp2-about { --gap: 64px 64px; --column-gap: 64px; }
body.page-id-1377 .e-con.hp2-about__text { --gap: 16px 16px; --row-gap: 16px; }
body.nb-redesign.page-id-1377 .hp2-about__img img { aspect-ratio: 4 / 5; object-position: 50% 30%; box-shadow: var(--nb-shadow-lg); }
body.page-id-1377 ul.hp2-quals { margin-top: 6px; }
body.page-id-1377 ul.hp2-quals li { font-size: 15px; }
body.page-id-1377 ul.hp2-quals li::before { background-color: #fff; }
body.page-id-1377 .hp2-about .nb-actions { margin-top: 10px; }

/* --- Cytat ------------------------------------------------------------- */
body.page-id-1377 .e-con.hp2-quote { --gap: 10px 10px; --row-gap: 10px; }
body.nb-redesign.page-id-1377 .hp2-quote__by p { color: var(--nb-on-plum-accent) !important; letter-spacing: .14em; text-transform: uppercase; font-size: 12px !important; font-weight: 700; }

/* --- Inspiracje ---------------------------------------------------------- */
body.page-id-1377 .e-con.hp2-insp { --gap: 36px 36px; --row-gap: 36px; }
body.page-id-1377 .e-con.hp2-insp__head { --gap: 24px 24px; --column-gap: 24px; }
body.page-id-1377 .e-con.hp2-insp__head > .e-con:first-child { --gap: 12px 12px; --row-gap: 12px; }
body.page-id-1377 .e-con.hp2-insp__actions { justify-content: flex-end; }
body.page-id-1377 .hp2-carousel .swiper-slide { border-radius: var(--nb-radius); overflow: hidden; }

/* --- Jak zamówić / kontakt ---------------------------------------------- */
body.page-id-1377 .e-con.hp2-order { --gap: 48px 48px; --row-gap: 48px; }
body.page-id-1377 .e-con.hp2-order .nb-narrow { --gap: 12px 12px; --row-gap: 12px; }
body.page-id-1377 ol.hp2-steps { max-width: 980px; margin: 0 auto; }
body.page-id-1377 ol.hp2-steps li::after { background: rgba(194, 24, 91, .25); }
body.page-id-1377 .e-con.hp2-order__row { --gap: 32px 32px; --column-gap: 32px; --row-gap: 24px; }
body.nb-redesign.page-id-1377 .e-con.hp2-contact {
  background: #fff !important;
  border-radius: var(--nb-radius);
  box-shadow: var(--nb-shadow);
  padding: 40px 40px !important;
  --gap: 16px 16px; --row-gap: 16px;
  justify-content: center;
}
body.page-id-1377 .hp2-contact__label { margin: 0 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nb-muted); }
body.page-id-1377 .hp2-contact .nb-phone-lg { margin: 0; }
body.page-id-1377 .hp2-contact .nb-phone-lg a.nb-phone { font-size: clamp(30px, 3.4vw, 40px); }
body.page-id-1377 ul.hp2-contact__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
body.page-id-1377 ul.hp2-contact__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--nb-text); }
body.page-id-1377 ul.hp2-contact__list a { color: var(--nb-raspberry); font-weight: 600; text-decoration: none; word-break: break-word; }
body.page-id-1377 ul.hp2-contact__list small { font-size: 13px; color: var(--nb-muted); }
body.page-id-1377 .hp2-ico { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--nb-blush); color: var(--nb-raspberry); display: grid; place-items: center; font-size: 15px; line-height: 1; }
body.page-id-1377 ul.hp2-info li { background: var(--nb-cream); border: 1px solid var(--nb-line); }
body.page-id-1377 ul.hp2-info .nb-ph-inline { white-space: normal; }
body.page-id-1377 .e-con.hp2-order__media > .elementor-widget { flex: 1 1 auto; display: flex; flex-direction: column; }
body.page-id-1377 .e-con.hp2-order__media .elementor-widget-container { flex: 1 1 auto; display: flex; flex-direction: column; }
body.nb-redesign.page-id-1377 .hp2-order__img img { flex: 1 1 auto; height: 100% !important; min-height: 440px; aspect-ratio: auto; }

/* --- Instagram ------------------------------------------------------------ */
body.page-id-1377 .e-con.hp2-ig { --gap: 32px 32px; --row-gap: 32px; }
body.page-id-1377 .e-con.hp2-ig .nb-narrow { --gap: 10px 10px; --row-gap: 10px; }
body.page-id-1377 .e-con.hp2-ig__strip { --gap: 16px 16px; --column-gap: 16px; --row-gap: 16px; flex-wrap: nowrap; }
body.page-id-1377 .e-con.hp2-ig__strip > .e-con { --width: calc((100% - 48px) / 4); width: calc((100% - 48px) / 4); }
body.nb-redesign.page-id-1377 .hp2-ig__img img { box-shadow: none; transition: transform .4s ease, filter .4s ease; }
body.page-id-1377 .hp2-ig__img a:hover img { filter: brightness(.92); transform: scale(1.02); }

/* --- Tablet ------------------------------------------------------------- */
@media (max-width: 1024px) {
  body.page-id-1377 .hp2-hero__media::before { inset: 20px -8px -10px 20px; }
  body.page-id-1377 .e-con.hp2-grid > .e-con.nb-card { --width: calc((100% - 28px) / 2); width: calc((100% - 28px) / 2); }
}

/* --- Mobile -------------------------------------------------------------- */
@media (max-width: 767px) {
  body.page-id-1377 .e-con.hp2-hero,
  body.page-id-1377 .e-con.hp2-about,
  body.page-id-1377 .elementor-element-hp2_butik_row { --gap: 32px 32px; --row-gap: 32px; }
  body.page-id-1377 .hp2-hero__media::before { inset: 16px -8px -10px 16px; }
  body.nb-redesign.page-id-1377 .nb-photo--hero img { aspect-ratio: 4 / 4.4; max-height: 480px !important; }
  body.page-id-1377 .e-con.hp2-collage__side { margin-top: 48px; }
  body.page-id-1377 .e-con.hp2-grid > .e-con.nb-card { --width: 100%; width: 100%; }
  body.nb-redesign.page-id-1377 .hp2-card .nb-card__media img { aspect-ratio: 4 / 3; }
  body.nb-redesign.page-id-1377 .e-con.nb-card { padding: 0 0 24px 0 !important; }
  body.nb-redesign.page-id-1377 .e-con.hp2-firm { padding: 24px 22px !important; }
  body.page-id-1377 .e-con.hp2-firm__actions,
  body.page-id-1377 .e-con.hp2-insp__actions { justify-content: flex-start; }
  body.nb-redesign.page-id-1377 .e-con.hp2-contact { padding: 28px 22px !important; }
  body.nb-redesign.page-id-1377 .hp2-order__img img { min-height: 0; aspect-ratio: 4 / 3 !important; height: auto !important; flex: 0 0 auto; }
  /* CTA groups: full-width buttons so stacked buttons line up */
  body.page-id-1377 .e-con.nb-actions > .nb-btn { width: 100%; }
  body.page-id-1377 .e-con.nb-actions .elementor-button { width: 100%; }
  /* steps: number left, text right (compact) */
  body.page-id-1377 ol.hp2-steps { gap: 18px; }
  body.page-id-1377 ol.hp2-steps li { padding-top: 2px; padding-left: 62px; min-height: 48px; }
  body.page-id-1377 ol.hp2-steps p { font-size: 15px; }
  /* collage stays side by side */
  body.page-id-1377 .e-con.hp2-collage { flex-direction: row !important; --flex-direction: row; flex-wrap: nowrap !important; }
  body.page-id-1377 .e-con.hp2-collage__main { --width: 58%; width: auto !important; flex: 0 0 calc(58% - 6px) !important; }
  body.page-id-1377 .e-con.hp2-collage__side { --width: 42%; width: auto !important; flex: 0 0 calc(42% - 6px) !important; }
  body.page-id-1377 .e-con.hp2-collage { --gap: 12px 12px; --column-gap: 12px; }
  body.page-id-1377 .hp2-collage__side .nb-ph--photo { padding: 12px 10px; font-size: 12px; aspect-ratio: auto !important; min-height: 200px; }
  body.page-id-1377 .hp2-collage__side .nb-ph__label { font-size: 9px; }
  /* feature tiles: compact rows (icon left) */
  body.page-id-1377 ul.hp2-features { gap: 12px; }
  body.page-id-1377 ul.hp2-features li { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; padding: 18px 18px; }
  body.page-id-1377 ul.hp2-features .nb-features__icon { grid-row: span 2; margin-bottom: 0; }
  /* 2×2 photo grid: must wrap (base turns wrapping off on mobile for non-grid containers) */
  body.nb-redesign.page-id-1377 .nb-sec .e-con.hp2-ig__strip { --flex-wrap: wrap; flex-wrap: wrap !important; --gap: 10px 10px; --column-gap: 10px; --row-gap: 10px; }
  body.page-id-1377 .e-con.hp2-ig__strip > .e-con { --width: calc((100% - 10px) / 2); width: calc((100% - 10px) / 2); }
}

/* Wesele z klasą recommendation badge in the hero, natural size as on version A */
body.page-id-1377 .hp2-wzk { margin-top: 4px; }
body.page-id-1377 .hp2-wzk a { display: inline-block; border-radius: 10px; }
body.page-id-1377 .hp2-wzk img { display: block; width: 230px; max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 14px rgba(58, 31, 43, 0.10); max-height: none !important; }
