/**
 * bebarefoot.eu — temporary desktop styling for the legacy .bb-home block
 * Content stays in the Shoptet HTML editor. Visual layer only.
 */
@media (min-width: 992px) {
  body .content-wrapper.homepage-box.welcome-wrapper {
    background: #fff !important;
  }

  body .content-wrapper.homepage-box.welcome-wrapper,
  body .content-wrapper.homepage-box.welcome-wrapper > .container,
  body .content-wrapper.homepage-box.welcome-wrapper .welcome,
  body .content-wrapper.homepage-box.welcome-wrapper .welcome > div {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  body .content-wrapper.homepage-box.welcome-wrapper .welcome > .h1 {
    display: none !important;
  }

  body .bb-home {
    position: static !important;
    left: auto !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 72px 24px 96px !important;
    box-sizing: border-box;
    color: #56524e !important;
    font-family: "Rolen DT", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.68 !important;
  }

  body .bb-home :where(h1, h2, h3, p, span, strong, summary, a) {
    font-family: inherit !important;
  }

  body .bb-home-intro {
    max-width: 900px !important;
    margin: 0 auto 64px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  body .bb-home-intro h1 {
    margin: 0 0 24px !important;
    color: #211f1d !important;
    font-size: clamp(38px, 4vw, 56px) !important;
    font-weight: 600 !important;
    letter-spacing: -.035em;
    line-height: 1.08 !important;
  }

  body .bb-home-intro p {
    max-width: 860px;
    margin: 0 0 14px !important;
    color: #56524e !important;
    font-size: 18px;
  }

  body .bb-home-intro h1,
  body .bb-home-intro p {
    text-align: center !important;
  }

  body .bb-home-intro p:first-of-type {
    color: #211f1d !important;
    font-size: clamp(20px, 1.7vw, 24px);
    line-height: 1.5;
  }

  body .bb-home-intro a,
  body .bb-home-intro a[style] {
    color: #211f1d !important;
    font-weight: 500 !important;
    text-decoration-color: #8a857f !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 4px;
  }

  body .bb-summer-section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 76px !important;
  }

  body .bb-summer-hero {
    position: relative;
    overflow: hidden;
    border-radius: 0 !important;
    background: #f5f5f5;
    box-shadow: none !important;
  }

  body .bb-summer-hero img {
    display: block;
    width: 100% !important;
    height: clamp(410px, 40vw, 570px) !important;
    object-fit: cover;
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }

  body .bb-summer-overlay {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: flex-end !important;
    background: linear-gradient(to top, rgba(0, 0, 0, .66), rgba(0, 0, 0, .04) 68%) !important;
  }

  body .bb-summer-text {
    max-width: 720px !important;
    padding: clamp(34px, 4vw, 58px) !important;
    color: #fff !important;
  }

  body .bb-summer-text h2 {
    margin: 0 0 14px !important;
    color: #fff !important;
    font-size: clamp(32px, 3.2vw, 46px) !important;
    font-weight: 600 !important;
    letter-spacing: -.025em;
    line-height: 1.12 !important;
  }

  body .bb-summer-text p {
    margin: 0 !important;
    color: #fff !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  body .bb-buttons {
    margin: 0 !important;
    padding: 22px 0 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  body .bb-buttons-inner {
    justify-content: flex-start !important;
    gap: 10px !important;
  }

  body .bb-buttons a,
  body .bb-buttons a.primary,
  body .bb-buttons a.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px !important;
    border: 1px solid #211f1d !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #211f1d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background-color .16s ease, color .16s ease;
  }

  body .bb-buttons a.primary,
  body .bb-buttons a:hover,
  body .bb-buttons a:focus-visible {
    background: #211f1d !important;
    color: #fff !important;
  }

  body .bb-benefits {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0 !important;
    margin: 0 0 92px !important;
    border-top: 1px solid #dedad4;
    border-bottom: 1px solid #dedad4;
    width: 100% !important;
    max-width: none !important;
  }

  body .bb-benefit {
    padding: 32px clamp(20px, 2.3vw, 34px) 36px !important;
    border: 0 !important;
    border-right: 1px solid #dedad4 !important;
    border-radius: 0 !important;
    background: #fff !important;
    text-align: left !important;
  }

  body .bb-benefit:last-child {
    border-right: 0 !important;
  }

  body .bb-benefit strong {
    display: block;
    margin: 0 0 10px !important;
    color: #211f1d !important;
    font-size: 17px !important;
    font-weight: 600 !important;
  }

  body .bb-benefit span {
    color: #6b6762 !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  body .bb-faq-title {
    max-width: 1000px;
    margin: 0 auto 28px !important;
    color: #211f1d !important;
    font-size: clamp(30px, 3vw, 40px) !important;
    font-weight: 600 !important;
    letter-spacing: -.025em;
    line-height: 1.15;
    text-align: left !important;
  }

  body .bb-faq {
    max-width: 1000px !important;
    margin: 0 auto !important;
    border-top: 1px solid #dedad4;
  }

  body .bb-faq details {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #dedad4 !important;
    border-radius: 0 !important;
    background: #fff !important;
  }

  body .bb-faq summary {
    position: relative;
    padding: 22px 48px 22px 0 !important;
    color: #211f1d !important;
    font-size: 17px;
    font-weight: 600 !important;
    list-style: none;
    cursor: pointer;
  }

  body .bb-faq summary::-webkit-details-marker {
    display: none;
  }

  body .bb-faq summary::after {
    position: absolute;
    top: 50%;
    right: 4px;
    color: #211f1d;
    content: "+";
    font-size: 24px;
    font-weight: 400;
    transform: translateY(-50%);
  }

  body .bb-faq details[open] summary::after {
    content: "−";
  }

  body .bb-faq details p {
    max-width: 760px;
    margin: -4px 0 0 !important;
    padding: 0 48px 24px 0;
    color: #6b6762 !important;
    font-size: 16px;
    line-height: 1.65;
  }
}

/* Homepage handoff to footer */
@media (min-width: 992px) {
  body.id-1 .bb-home {
    padding-bottom: 32px !important;
  }

  body.id-1 .content-wrapper.homepage-box.welcome-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  body.id-1 #footer,
  body.id-1 .footer {
    margin-top: 32px !important;
    border-top: 0 !important;
  }
}

/* Desktop refinement — stable provisional homepage */
@media (min-width: 992px) {
  body .bb-home-intro {
    width: min(100%, 1120px) !important;
    max-width: 1120px !important;
    margin: 0 auto 58px !important;
  }

  body .bb-home-intro p,
  body .bb-home-intro p:first-of-type {
    max-width: 1040px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  body .bb-summer-section,
  body .bb-summer-hero {
    width: 100% !important;
    max-width: none !important;
  }

  body .bb-summer-hero {
    min-height: clamp(440px, 38vw, 620px) !important;
    background-color: #e9e9e9 !important;
    background-image: url("https://www.bebarefoot.eu/user/documents/upload/Mitu%20life%201.png") !important;
    background-position: center 56% !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
  }

  body .bb-summer-hero > img {
    width: 100% !important;
    height: clamp(440px, 38vw, 620px) !important;
    object-fit: cover !important;
    object-position: center 56% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  body .bb-buttons {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 clamp(28px, 5vw, 76px) clamp(34px, 4vw, 58px) !important;
    background: transparent !important;
    text-align: center !important;
  }

  body .bb-season-title {
    margin: 0 0 4px !important;
    color: #fff !important;
    font-size: clamp(34px, 3.4vw, 54px) !important;
    font-weight: 600 !important;
    letter-spacing: -.03em;
    line-height: 1.08 !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .24);
  }

  body .bb-season-subtitle {
    margin: 0 0 24px !important;
    color: rgba(255, 255, 255, .92) !important;
    font-size: clamp(16px, 1.25vw, 20px) !important;
    font-weight: 450 !important;
  }

  body .bb-buttons-inner {
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(110px, 12vw, 210px) !important;
  }

  body .bb-buttons a,
  body .bb-buttons a.primary,
  body .bb-buttons a.secondary {
    position: relative;
    min-height: 0 !important;
    padding: 8px 2px 11px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: clamp(20px, 1.45vw, 24px) !important;
    font-weight: 600 !important;
    letter-spacing: -.015em;
  }

  body .bb-buttons a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 2px;
    background: rgba(255, 255, 255, .9);
    content: "";
    transform: scaleX(.42);
    transition: transform .18s ease;
  }

  body .bb-buttons a:hover::after,
  body .bb-buttons a:focus-visible::after {
    transform: scaleX(1);
  }

  body .bb-benefits {
    width: 100% !important;
    max-width: none !important;
    margin: 82px 0 104px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
  }

  body .bb-benefit {
    min-height: 150px;
    padding: 8px clamp(28px, 3.4vw, 58px) !important;
    border-right: 1px solid #56524e !important;
  }

  body .bb-benefit:first-child {
    padding-left: 0 !important;
  }

  body .bb-benefit:last-child {
    padding-right: 0 !important;
    border-right: 0 !important;
  }

  body .bb-faq-title,
  body .bb-faq {
    width: 100% !important;
    max-width: none !important;
  }

  body .bb-faq-title {
    margin: 0 !important;
    padding: 76px clamp(48px, 6vw, 96px) 42px !important;
    background: #f4f4f4 !important;
    text-align: left !important;
  }

  body .bb-faq {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 52px clamp(70px, 8vw, 140px) !important;
    padding: 0 clamp(48px, 6vw, 96px) 84px !important;
    border: 0 !important;
    background: #f4f4f4 !important;
  }

  body .bb-faq-item {
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body .bb-faq-item:nth-child(even),
  body .bb-faq-item:last-child {
    border-right: 0 !important;
  }

  body .bb-faq-item--wide {
    grid-column: auto;
    min-height: 0;
  }

  body .bb-faq-item h3 {
    margin: 0 0 14px !important;
    color: #211f1d !important;
    font-size: clamp(20px, 1.5vw, 24px) !important;
    font-weight: 600 !important;
    letter-spacing: -.02em;
    line-height: 1.25 !important;
  }

  body .bb-faq-item p {
    max-width: 680px;
    margin: 0 !important;
    color: #6b6762 !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body .bb-faq summary {
    padding: 25px 56px 25px 4px !important;
    font-size: 18px !important;
  }

  body .bb-faq details {
    border-bottom-color: #d5d2ce !important;
  }

  body .bb-faq details p {
    max-width: 820px;
    padding: 0 56px 28px 4px !important;
  }
}
