/* ===============================
   BOTTEGA DA FE - RESPONSIVE PULITO
================================ */

/* BLOCCO SCROLL ORIZZONTALE */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

/* ===============================
   HAMBURGER
================================ */

.bd-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: #20311f;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.bd-menu-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  transition: 0.3s;
}

.bd-menu-toggle.is-open {
  background: #b99456;
}

.bd-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bd-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.bd-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===============================
   TABLET E MOBILE
================================ */

@media (max-width: 1100px) {

  /* HEADER MOBILE SEMPRE LEGGIBILE */

  .bd-header {
    position: sticky;
    top: 0;
    background: #f7f1e8 !important;
    z-index: 9999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  }

  .bd-header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }

  .bd-logo {
    color: #20311f !important;
    font-size: 2rem;
    letter-spacing: 4px;
    z-index: 10002;
  }

  .bd-logo span:nth-child(2) {
    color: #b99456 !important;
  }

  .bd-logo small {
    color: #20311f !important;
    font-size: 0.55rem;
    letter-spacing: 4px;
    margin-top: 10px;
  }

  .bd-order-btn {
    display: none;
  }

  .bd-menu-toggle {
    display: flex !important;
  }

  /* MENU MOBILE A SCHERMO INTERO */

  .bd-nav {
    display: block !important;
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;

    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;

    background: #20311f !important;

    z-index: 10000 !important;

    padding: 135px 32px 60px !important;

    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;

    transition: transform 0.35s ease, opacity 0.25s ease;
  }

  body.menu-open .bd-nav {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .bd-nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    gap: 30px !important;

    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
  }

  .bd-nav li {
    display: block !important;
    width: 100% !important;
  }

  .bd-nav a {
    display: block !important;

    color: #fffaf2 !important;

    font-family: 'Cormorant Garamond', serif !important;
    font-size: 2.8rem !important;
    line-height: 1 !important;
    font-weight: 600 !important;

    text-decoration: none !important;
  }

  .bd-nav a.active {
    color: #f1dfbd !important;
  }

  .bd-nav a::after {
    display: none !important;
  }

  /* HOME HERO PIÙ CONTROLLATA */

  .bd-hero {
    min-height: 560px;
  }

  .bd-hero-img {
    object-position: center center;
  }

  .bd-hero h1 {
    font-size: 4rem;
    line-height: 0.95;
  }

  .bd-hero-text {
    font-size: 1.05rem;
  }

  /* HERO DELLE ALTRE PAGINE */

  .pr-hero,
  .ng-hero,
  .ct-hero,
  .cs-hero {
    min-height: 560px;
  }

  .pr-hero h1,
  .ng-hero h1,
  .ct-hero h1,
  .cs-hero h1 {
    font-size: 4rem;
    line-height: 0.95;
  }
}

/* ===============================
   SMARTPHONE
================================ */

@media (max-width: 760px) {

  .bd-container {
    width: min(100% - 32px, 1320px);
  }

  .bd-topbar {
    font-size: 0.78rem;
  }

  .bd-topbar-inner {
    height: auto;
    min-height: auto;
    padding: 9px 0;
    flex-direction: column;
    gap: 3px;
    text-align: center;
  }

  .bd-header-inner {
    min-height: 84px;
  }

  .bd-logo {
    font-size: 1.65rem;
    letter-spacing: 3px;
  }

  .bd-logo small {
    font-size: 0.48rem;
    letter-spacing: 3px;
    margin-top: 8px;
  }

  .bd-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .bd-nav {
    padding: 120px 28px 50px !important;
  }

  .bd-nav a {
    font-size: 2.35rem !important;
  }

  .bd-hero {
    min-height: 520px !important;
  }

  .bd-hero h1 {
    font-size: 3.25rem !important;
  }

  .bd-hero-text,
  .pr-hero p,
  .ng-hero p,
  .ct-hero p,
  .cs-hero p {
    font-size: 1rem !important;
    line-height: 1.65;
  }

  .bd-kicker,
  .pr-kicker,
  .ng-kicker,
  .ct-kicker,
  .cs-kicker {
    letter-spacing: 4px;
    font-size: 0.72rem;
  }

  .bd-hero-actions,
  .pr-cta-actions,
  .ng-actions,
  .ng-cta-actions,
  .ct-actions,
  .ct-cta-actions,
  .cs-cta-actions {
    flex-direction: column;
  }

  .bd-btn-primary,
  .bd-btn-secondary,
  .pr-btn-light,
  .pr-btn-outline,
  .ng-btn-primary,
  .ng-btn-outline,
  .ng-btn-light,
  .ng-btn-outline-light,
  .ct-btn-primary,
  .ct-btn-outline,
  .ct-btn-light,
  .ct-btn-outline-light,
  .cs-btn-primary,
  .cs-btn-light,
  .cs-btn-outline-light {
    width: 100%;
    text-align: center;
  }
}

/* ===============================
   TELEFONI PICCOLI
================================ */

@media (max-width: 420px) {

  .bd-logo {
    font-size: 1.35rem;
    letter-spacing: 2.5px;
  }

  .bd-logo small {
    display: block;
    font-size: 0.42rem;
    letter-spacing: 2.2px;
    margin-top: 7px;
    line-height: 1.2;
  }

  .bd-nav {
    padding: 112px 24px 45px !important;
  }

  .bd-nav a {
    font-size: 2.05rem !important;
  }

  .bd-hero {
    min-height: 500px !important;
  }

  .bd-hero h1,
  .pr-hero h1,
  .ng-hero h1,
  .ct-hero h1,
  .cs-hero h1 {
    font-size: 3rem !important;
  }
}
/* ===============================
   FIX PULSANTE ORDINA HEADER/MOBILE
================================ */

.mobile-order-link {
  display: none;
}

@media (max-width: 1100px) {
  .mobile-order-link {
    display: block !important;
  }

  .mobile-order-link a {
    color: #f1dfbd !important;
  }
}

@media (min-width: 1101px) {
  .bd-menu-toggle {
    display: none !important;
  }

  .mobile-order-link {
    display: none !important;
  }

  .bd-order-btn {
    display: inline-flex !important;
  }
}