/* Compiled from SCSS - Mobile Styles */

/* Large Desktop */
@media (min-width: 1281px) {
  /* CSS */
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1280px) {
  /* CSS */
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1024px) {
  div#navbarNavDropdown,
  .rightside,
  hr.nav {
    display: none !important;
  }

  a.footer-logo-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .bm-burger-button {
    display: block !important;
  }

  section.our-story a.btn,
  section.our-story p,
  section.our-story span.sub-title,
  section.our-story h2,
  section.our-story .h2 {
    text-align: center;
    width: 100%;
    display: block;
  }

  section.our-story a.btn {
    display: block;
  }

  section.container-fluid.our-story img {
    margin-left: 20px;
    display: block;
    margin-top: 30px;
  }

  .blog-wrapper-home div.blog-details h4,
  .blog-wrapper-home div.blog-details .h4 {
    text-align: center;
  }

  .blog-wrapper-home div.blog-details a.btn {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  section.product-detail img.bg-left,
  section.product-detail img.bg-right {
    display: none;
  }

  section.recipe-detail .inner-content .recipe-specs .spec {
    margin-bottom: 24px;
  }

  img.img-fluid.document {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  section.section-header.contact-form form button.btn.btn-cstm-green.self {
    margin: auto;
    margin-top: 24px;
  }

  section.section-header.contact-form form .form-check.d-flex.justify-content-center {
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: "";
  }

  footer p {
    text-align: center;
  }

  footer .footer-about img {
    margin: auto;
    display: block;
    margin-bottom: 32px;
  }

  footer h5,
  footer .h5 {
    text-align: center;
  }

  footer ul.nav li {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  footer .socials {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  div#navbarNavDropdown,
  .rightside,
  hr.nav {
    display: none !important;
  }

  a.footer-logo-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .blog-wrapper-home .img-wrap img {
    margin-top: -100px;
  }

  .bm-burger-button {
    display: block !important;
  }

  section.our-story a.btn,
  section.our-story p,
  section.our-story span.sub-title,
  section.our-story h2,
  section.our-story .h2 {
    text-align: center;
    width: 100%;
    display: block;
  }

  section.our-story a.btn {
    display: block;
  }

  section.container-fluid.our-story img {
    margin-left: 20px;
    display: block;
    margin-top: 30px;
  }

  .blog-wrapper-home div.blog-details h4,
  .blog-wrapper-home div.blog-details .h4 {
    text-align: center;
  }

  .blog-wrapper-home div.blog-details a.btn {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  section.product-detail img.bg-left,
  section.product-detail img.bg-right {
    display: none;
  }

  section.recipe-detail .inner-content .recipe-specs .spec {
    margin-bottom: 24px;
  }

  img.img-fluid.document {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  section.section-header.contact-form form button.btn.btn-cstm-green.self {
    margin: auto;
    margin-top: 24px;
  }

  section.section-header.contact-form form .form-check.d-flex.justify-content-center {
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: "";
  }

  footer p {
    text-align: center;
  }

  footer .footer-about img {
    margin: auto;
    display: block;
    margin-bottom: 32px;
  }

  footer h5,
  footer .h5 {
    text-align: center;
  }

  footer ul.nav li {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  footer .socials {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}

/* Mobile Landscape */
@media (min-width: 481px) and (max-width: 767px) {
  .blog-card-home.card-left .card-details h3 {
    font-size: 26px;
    line-height: initial;
    margin: 0;
  }

  div#navbarNavDropdown,
  .rightside,
  hr.nav {
    display: none !important;
  }

  a.footer-logo-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .bm-burger-button {
    display: block !important;
  }

  section.our-story a.btn,
  section.our-story p,
  section.our-story span.sub-title,
  section.our-story h2,
  section.our-story .h2 {
    text-align: center;
    width: 100%;
    display: block;
  }

  section.our-story a.btn {
    display: block;
  }

  section.container-fluid.our-story img {
    margin-left: 20px;
    display: block;
    margin-top: 30px;
  }

  .blog-wrapper-home div.blog-details h4,
  .blog-wrapper-home div.blog-details .h4 {
    text-align: center;
  }

  .blog-wrapper-home div.blog-details a.btn {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  section.product-detail img.bg-left,
  section.product-detail img.bg-right {
    display: none;
  }

  section.recipe-detail .inner-content .recipe-specs .spec {
    margin-bottom: 24px;
  }

  img.img-fluid.document {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  section.section-header.contact-form form button.btn.btn-cstm-green.self {
    margin: auto;
    margin-top: 24px;
  }

  section.section-header.contact-form form .form-check.d-flex.justify-content-center {
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: "";
  }

  footer p {
    text-align: center;
  }

  footer .footer-about img {
    margin: auto;
    display: block;
    margin-bottom: 32px;
  }

  footer h5,
  footer .h5 {
    text-align: center;
  }

  footer ul.nav li {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  footer .socials {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}

/* Mobile Portrait */
@media (min-width: 320px) and (max-width: 480px) {
  .factory-slide .slide-content .slide-content-inner {
    min-height: auto !important;
    margin-top: 32px !important;
  }

  .factory-slide .slide-content {
    min-height: auto !important;
  }

  .factory-slide .slide-content .img-wrapper img {
    display: none !important;
    max-height: 100vh !important;
  }

  .factory-slide .slide-content .img-wrapper {
    height: 100vh !important;
  }

  .factory-slide .slide-content .img-wrapper .gradient {
    background: linear-gradient(90deg, #00538b 54.55%, rgba(0, 83, 139, 0.72) 105.45%, rgba(0, 83, 139, 0.26) 261.51%) !important;
  }

  .blog-card-home.card-left .card-details h3 {
    font-size: 26px;
    line-height: initial;
    margin: 0;
  }

  div#navbarNavDropdown,
  .rightside,
  hr.nav {
    display: none !important;
  }

  .blog-card-home {
    min-height: 240px !important;
    margin-bottom: 24px;
  }

  section.video-home .card-details {
    padding: 12px !important;
  }

  section.video-home {
    margin-left: 12px !important;
    margin-right: 12px !important;
  }

  section.container.map-home .map-markers .marker {
    padding: 24px 18px !important;
  }

  section.page-header nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-top: 24px;
  }

  section.product-detail nav.custom-bread {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding: 20px 24px !important;
    min-height: 120px !important;
  }

  .factory-slide .slide-content .slide-content-inner h1 {
    font-size: 90px !important;
  }

  .factory-slide .slide-content .slide-content-rest {
    bottom: 140px !important;
  }

  .factory-slide .splide .splide__arrows.splide__arrows--ltr {
    margin-right: 24px !important;
  }

  .factory-slide .splide .splide__pagination {
    margin-right: 24px;
  }

  .story-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
  }

  .col-12 .story-wrapper .content {
    margin: 0;
    margin-top: 44px;
  }

  .col-12 .story-wrapper::after {
    display: none;
  }

  .video-card .content .video-title {
    min-height: auto !important;
  }

  footer .row.sub-footer .col {
    flex: auto;
    margin-bottom: 12px;
  }

  a.footer-logo-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  .bm-burger-button {
    display: block !important;
  }

  section.our-story a.btn,
  section.our-story p,
  section.our-story span.sub-title,
  section.our-story h2,
  section.our-story .h2 {
    text-align: center;
    width: 100%;
    display: block;
  }

  section.our-story a.btn {
    display: block;
  }

  section.container-fluid.our-story img {
    margin-left: 20px;
    display: block;
    margin-top: 30px;
  }

  .blog-wrapper-home div.blog-details h4,
  .blog-wrapper-home div.blog-details .h4 {
    text-align: center;
  }

  .blog-wrapper-home div.blog-details a.btn {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  section.product-detail img.bg-left,
  section.product-detail img.bg-right {
    display: none;
  }

  section.recipe-detail .inner-content .recipe-specs .spec {
    margin-bottom: 24px;
  }

  img.img-fluid.document {
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  section.section-header.contact-form form button.btn.btn-cstm-green.self {
    margin: auto;
    margin-top: 24px;
  }

  section.section-header.contact-form form .form-check.d-flex.justify-content-center {
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: "";
  }

  .product-wrapper-home {
    padding-bottom: 190px;
    background-size: initial;
    background-position: bottom;
  }

  .corpprate {
    flex-direction: column !important;
  }

  footer p {
    text-align: center;
  }

  footer .footer-about img {
    margin: auto;
    display: block;
    margin-bottom: 32px;
  }

  footer h5,
  footer .h5 {
    text-align: center;
  }

  footer ul.nav li {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }

  footer .socials {
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
  }
}

/* General Mobile Styles */
@media (max-width: 767px) {
  div#navbarNavDropdown,
  .rightside,
  hr.nav {
    display: none !important;
  }

  .bm-burger-button {
    display: block !important;
  }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
  section.page-header,
  section.product-detail,
  section.our-story {
    background-image: unset !important;
  }
}

/* Burger Menu Styles (matching Vue exactly) */
.bm-burger-button {
  position: absolute;
  width: 40px;
  height: 40px;
  left: unset !important;
  top: 30px;
  cursor: pointer;
  right: 26px;
  display: none;
}

.bm-burger-bars {
  background-color: #035B9B;
  position: relative;
  width: 100%;
  height: 100%;
}

.line-style {
  position: absolute;
  height: 6px;
  left: 0;
  right: 0;
  background-color: #035B9B;
  border-radius: 3px;
}

.line-style:nth-child(1) {
  top: 8px;
}

.line-style:nth-child(2) {
  top: 17px;
}

.line-style:nth-child(3) {
  top: 26px;
}

.cross-style {
  position: absolute;
  top: 12px;
  right: 2px;
  cursor: pointer;
}

.bm-cross {
  background: #bdc3c7;
  width: 20px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

.bm-cross:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: #bdc3c7;
  top: 0;
  left: 0;
  transform: rotate(90deg);
}

.bm-cross-button {
  height: 24px;
  width: 24px;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}

.bm-menu {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  background-color: rgb(0 83 139);
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
  transform: translateX(-100%);
}

.bm-menu.show {
  width: 280px;
  transform: translateX(0);
}

.bm-overlay {
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.bm-overlay.show {
  opacity: 1;
  visibility: visible;
}

.bm-item-list {
  color: #fff;
  margin-left: 10%;
  font-size: 20px;
}

.bm-item-list > * {
  display: flex;
  text-decoration: none;
  padding: 0.7em;
}

.bm-item-list > * > span {
  margin-left: 10px;
  font-weight: 700;
  color: white;
}

.bm-item-list a,
.bm-item-list a:visited,
.bm-item-list a:focus {
  color: #fff !important;
  font-family: 'Montserrat';
  margin-bottom: 8px;
}

nav.bm-item-list ul.dropdown-menu.show {
  position: relative !important;
  background: transparent !important;
  margin-top: 0 !important;
  top: 0;
  transform: unset !important;
  border: unset !important;
}

nav.bm-item-list ul.dropdown-menu.show li {
  padding-bottom: 8px;
}

/* Mobile navigation active styles */
.mobile-nav .nav-link.active {
  border-color: #035b9b !important;
  color: #035b9b !important;
}

.mobile-nav .dropdown-item.active {
  background-color: #035b9b !important;
  color: #fff !important;
}

body.mobile-menu-open {
  overflow: hidden;
}
 

@media (max-width: 480px) {
  .cookie-comply {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-comply__buttons {
    flex-direction: column;
  }

  .cookie-comply__button-accept,
  .cookie-comply__button-preferences {
    width: 100%;
    margin-bottom: 5px;
  }
}
