/* Mobile storefront — compact catalog, menu, forms */

.baie-select {
  padding-right: 2.5rem;
  text-overflow: ellipsis;
}

.baie-select-caret {
  pointer-events: none;
}

.baie-home-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.baie-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border-radius: 0.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.baie-home-btn--solid {
  background: #fff;
  color: #181e25;
}

.baie-home-btn--ghost {
  background: rgb(24 30 37 / 0.55);
  border: 1px solid rgb(255 255 255 / 0.22);
  color: #fff;
}

.baie-home-hero .container {
  padding-top: 7.5rem;
}

.baie-mobile-menu {
  display: none;
  flex-direction: column;
  background: #181e25;
  padding: 5.4rem 1rem 1.25rem;
}

.baie-mobile-menu:not(.hidden) {
  display: flex;
}

.baie-mobile-menu__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 1.15rem;
  border: 1px solid rgb(255 255 255 / 0.12);
}

.baie-mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.7rem;
  padding: 0 0.85rem;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0;
  background: transparent;
  color: #f1f5f9;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.baie-mobile-menu__link:nth-child(2n) {
  border-right: 0;
}

.baie-mobile-menu__link:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.baie-mobile-menu__link::after {
  content: "›";
  color: #64748b;
  font-size: 1.05rem;
  line-height: 1;
}

.baie-mobile-menu__kicker {
  margin: 0 0 0.4rem;
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.baie-mobile-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgb(255 255 255 / 0.12);
}

.baie-mobile-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  min-height: 4.35rem;
  padding: 0.65rem 0.75rem 0.6rem;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0;
  background: transparent;
  color: #e2e8f0;
}

.baie-mobile-cat:nth-child(2n) {
  border-right: 0;
}

.baie-mobile-cat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.baie-mobile-cat__num {
  position: absolute;
  top: 0.45rem;
  left: 0.7rem;
  color: #64748b;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.baie-mobile-cat__icon {
  display: none;
}

.baie-mobile-cat__label {
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.baie-mobile-menu__footer {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.15rem;
  padding-top: 0;
}

.baie-mobile-menu__phone {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.baie-mobile-menu__phone span {
  color: #64748b;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.baie-mobile-menu__phone strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.baie-mobile-langs {
  gap: 0;
  border: 1px solid rgb(255 255 255 / 0.12);
}

.baie-mobile-langs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.35rem 0;
  border: 0;
  border-right: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 0;
  background: transparent;
  opacity: 1;
}

.baie-mobile-langs a:last-child {
  border-right: 0;
}

.baie-mobile-langs a img,
.baie-mobile-langs a .w-1,
.baie-mobile-langs a div.w-1 {
  display: none;
}

.baie-mobile-langs a {
  opacity: 1 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.baie-mobile-langs a span {
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.baie-mobile-langs a.is-active {
  background: #fff !important;
}

.baie-mobile-langs a.is-active span {
  color: #181e25;
}

.baie-mobile-menu__footer .flex.justify-between {
  padding-top: 0.15rem;
  color: #64748b;
}

.baie-mobile-menu__footer .flex.justify-between span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.baie-shop-mobile-intro,
.baie-shop-mobile-help {
  display: none;
}

@media (max-width: 1023px) {
  #main-header {
    position: fixed !important;
    top: 0.4rem;
    left: 0;
    right: 0;
    z-index: 50;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  body.admin-bar #main-header {
    top: calc(46px + 0.35rem);
  }

  #header-inner {
    overflow: hidden;
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
    padding-left: 0.7rem;
    padding-right: 0.55rem;
  }

  #header-inner > .flex {
    min-width: 0;
    gap: 0.35rem;
  }

  #header-inner img {
    max-width: 6.25rem;
    height: 1.85rem;
    width: auto;
    object-fit: contain;
    object-position: left center;
  }

  .baie-header-logo {
    margin-left: 0;
    margin-right: 0.2rem;
  }

  .baie-header-actions {
    gap: 0.1rem;
  }

  body.admin-bar .baie-shop-body {
    padding-top: 7.4rem;
  }

  body.admin-bar .baie-mobile-menu {
    padding-top: 7.25rem;
  }

  .baie-shop-page {
    overflow-x: clip;
  }

  .baie-shop-body {
    padding-top: 4.6rem;
  }

  .baie-shop-mobile-intro {
    display: block;
    margin-bottom: 1rem;
  }

  .baie-shop-mobile-kicker {
    margin: 0 0 0.2rem;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .baie-shop-mobile-title {
    margin: 0;
    color: #181e25;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
  }

  .baie-shop-mobile-meta {
    margin: 0.25rem 0 0.85rem;
    color: #64748b;
    font-size: 0.8rem;
  }

  .baie-shop-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 0.45rem;
    padding: 0;
    overflow: visible;
  }

  .baie-shop-chip {
    flex: 0 0 auto;
    padding: 0.4rem 0.7rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
  }

  .baie-shop-chip.is-active {
    border-color: #181e25;
    background: #181e25;
    color: #fff;
  }

  .baie-shop-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    padding: 0.55rem 0.7rem;
    border-radius: 1rem;
  }

  .baie-shop-toolbar #grid-title {
    display: none;
  }

  .baie-shop-toolbar form {
    flex: 1;
    min-width: 0;
  }

  .baie-shop-toolbar select {
    width: 100%;
    max-width: 100%;
    padding-right: 1.6rem;
    font-size: 0.75rem;
  }

  .baie-products-grid {
    gap: 0.65rem;
  }

  .product-card .baie-card-inner {
    padding: 0.65rem;
    border-radius: 1rem;
  }

  .product-card .aspect-\[4\/3\] {
    margin-bottom: 0.55rem;
    border-radius: 0.75rem;
  }

  .product-card h3 {
    display: block !important;
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    white-space: normal;
  }

  .product-card .text-xl {
    font-size: 0.95rem;
  }

  .product-card button[aria-label] {
    display: none;
  }

  .product-card h3.min-h-\[2\.5rem\] {
    min-height: 0;
  }

  .product-card .grid-rows-\[0fr\] {
    display: none;
  }

  .baie-shop-mobile-help {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 1.1rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: #181e25;
    color: #e2e8f0;
  }

  .baie-shop-mobile-help span {
    font-size: 0.75rem;
    color: #94a3b8;
  }

  .baie-shop-mobile-help strong {
    font-size: 0.92rem;
    color: #fff;
  }

  #pagination-section {
    margin-top: 1.5rem;
  }
}

@media (min-width: 783px) and (max-width: 1023px) {
  body.admin-bar #main-header {
    top: calc(32px + 0.4rem);
  }

  body.admin-bar .baie-shop-body {
    padding-top: 6.6rem;
  }
}

/* Desktop shop. style.css .w-full beats Tailwind lg:w-80; lock columns in this file. */
.baie-shop-hero {
  display: none;
}

.baie-shop-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .baie-shop-hero {
    display: flex !important;
    min-height: 0 !important;
    padding: 7.25rem 0 2rem !important;
    margin-bottom: 1.75rem;
  }

  .baie-shop-hero h1,
  .baie-shop-hero-title {
    font-size: clamp(2.1rem, 3.2vw, 3.1rem) !important;
    line-height: 1.05 !important;
    margin: 0 0 0.35rem;
  }

  .baie-shop-hero-title br,
  .baie-shop-hero h1 br {
    display: none;
  }

  .baie-shop-body > .flex,
  .baie-shop-layout {
    display: grid !important;
    grid-template-columns: 17.5rem minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 1.75rem !important;
  }

  .baie-shop-sidebar {
    display: block !important;
    width: 17.5rem !important;
    max-width: 17.5rem !important;
    flex: none !important;
  }

  .baie-shop-catalog,
  .baie-shop-body > .flex > .flex-1 {
    min-width: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    flex: none !important;
  }

  .baie-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.15rem;
  }
}

@media (min-width: 1280px) {
  .baie-shop-body > .flex,
  .baie-shop-layout {
    grid-template-columns: 17.5rem minmax(0, 1fr) !important;
    gap: 2rem !important;
  }

  .baie-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  .baie-home-form {
    padding: 1.1rem;
  }

  textarea.baie-select,
  select.baie-select,
  #contact-type {
    max-width: 100%;
  }

  .baie-home-hero {
    min-height: 22.5rem;
    height: auto;
    align-items: flex-end;
  }

  .baie-home-hero img {
    object-position: center 42%;
  }

  .baie-home-hero .container {
    padding-top: 6.8rem;
    padding-bottom: 1.15rem;
  }

  body.admin-bar .baie-home-hero .container {
    padding-top: 8.6rem;
  }

  .baie-home-badge {
    margin-bottom: 0.7rem;
    padding: 0.28rem 0.65rem;
    border-radius: 0.2rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .baie-home-badge .animate-pulse {
    display: none;
  }

  .baie-home-hero h1 {
    margin-bottom: 0.45rem;
    font-size: 1.85rem;
    line-height: 1.12;
    letter-spacing: -0.03em;
  }

  .baie-home-hero h1 span {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
  }

  .baie-home-hero p {
    margin-bottom: 0.85rem;
    max-width: 20rem;
    font-size: 0.86rem;
    font-weight: 400;
    line-height: 1.4;
  }

  .baie-home-actions {
    gap: 0.45rem;
  }

  .baie-home-btn {
    min-height: 2.45rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.8rem;
  }

  .baie-home-split .grid {
    min-height: 0;
    gap: 0.75rem;
  }

  .baie-home-split a.group {
    min-height: 12.5rem;
  }

  .baie-home-split h2 {
    font-size: 1.35rem !important;
    margin-bottom: 0.35rem !important;
  }

  .baie-home-split .h-0 {
    height: auto !important;
    opacity: 1 !important;
    overflow: visible !important;
  }

  .baie-home-bento {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .baie-home-bento .mb-16 {
    margin-bottom: 0.85rem;
  }

  .baie-home-bento h2 {
    font-size: 1.45rem;
  }

  .baie-home-bento .text-lg {
    font-size: 0.88rem;
  }

  .baie-home-bento .grid {
    grid-auto-rows: auto !important;
    gap: 0.7rem;
  }

  .baie-home-bento [class*="min-h-"] {
    min-height: 0 !important;
  }

  .baie-home-bento .justify-between {
    justify-content: flex-start;
    gap: 0.7rem;
  }

  .baie-home-bento .p-8,
  .baie-home-bento .md\:p-10 {
    padding: 1rem !important;
  }

  .baie-home-bento h3 {
    font-size: 1.05rem !important;
    margin-bottom: 0.3rem !important;
  }

  .baie-home-bento .w-14,
  .baie-home-bento .w-16 {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.55rem;
  }

  .baie-home-trust {
    margin-top: 0;
    padding: 0.75rem 1rem 1rem;
  }

  .baie-home-trust > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .baie-home-trust > div > div {
    min-width: 0;
    padding: 0.7rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: none;
    backdrop-filter: none;
  }

  .baie-home-trust h3 {
    font-size: 0.78rem;
    color: #181e25;
  }

  .baie-home-trust p {
    font-size: 0.68rem;
    color: #64748b;
  }

  .baie-home-trust .p-3 {
    display: none;
  }

  .baie-home-about {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }

  .baie-home-about > span {
    display: none;
  }

  .baie-home-about h2 {
    font-size: 1.55rem;
    margin-bottom: 0.5rem;
  }

  .baie-home-about h3 {
    font-size: 0.95rem;
  }

  .baie-home-about .text-lg {
    font-size: 0.92rem;
  }
}
