@media screen and (max-width:650px) { .header-v5-logo img { max-width: 144px !important; padding-top: 3px; } .headerv5 .sz-navbar-right .sz-padding-small { padding: 1px !important; } .sz-h1.home-page.sz-margin-large-bottom { font-size: 1.9em; margin-bottom: 20px !important; } } @media (min-width:651px) and (max-width:990px) { .header-v5-logo img { max-width: 190px !important; } } @media (max-width:990px) { .headerv5 .sz-padding-small.sz-flex.sz-flex-middle.sz-hidden\@m.sz-margin-small-left.sz-margin-small-right { margin-right: 0px !important; padding: 0; } .headerv5 .sz-margin-right.sz-position-relative.header-phone { margin-right: 10px !important; margin-left: 10px !important; } } .headerv5 a.header-burger.sz-button { padding: 0; margin-right: 6px; line-height: 23px; }
/* Product card: gray placeholder when no image */
.sz-product-card-no-photo {
	width: 100%;
	height: 100%;
	min-height: 0;
	aspect-ratio: 400/599.5;
	background: #e5e5e5;
	background-image: linear-gradient(145deg, #ececec 0%, #d8d8d8 100%);
}
.sz-product-card-v4 .sz-product-card-no-photo {
	min-height: 0;
}
.sz-product-card-no-photo-slide { list-style: none; }

/* HOMESTYLE MOBILE HEADER/BREADCRUMB */
.sz-breadcrumb-wrap { overflow: hidden; }
.sz-breadcrumb {
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  scrollbar-width: none;
}
.sz-breadcrumb::-webkit-scrollbar { display: none; }
@media (max-width: 959px) {
  .sz-breadcrumb-wrap,
  .sz-breadcrumb { display: none !important; }

  body { overflow-x: hidden; }

  .headerv5 .sz-container.sz-container-large {
    padding-left: 10px !important;
    padding-right: 10px !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .headerv5 .sz-navbar.sz-navbar-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px 0 !important;
    overflow: visible;
  }
  .headerv5 .sz-navbar-left {
    display: flex !important;
    align-items: center;
    min-width: 0;
    max-width: 100%;
  }
  .headerv5 a.header-burger {
    flex: 0 0 auto;
    margin-right: 6px !important;
  }
  .headerv5 .header-v5-logo {
    flex: 1 1 auto;
    min-width: 0;
  }
  .headerv5 .header-v5-logo img {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    max-height: 34px !important;
    height: auto !important;
    object-fit: contain;
    object-position: left center;
  }
  .headerv5 .sz-navbar-left .sz-visible\@l,
  .headerv5 .sz-navbar-left #title-search,
  .headerv5 .sz-navbar-center {
    display: none !important;
  }
  .headerv5 .sz-navbar-right {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap !important;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
  }
  .headerv5 .sz-navbar-right .right-element {
    margin: 0 !important;
    padding: 0 !important;
  }
  .headerv5 .header-phone { display: none !important; }
}
@media (max-width: 360px) {
  .headerv5 .sz-navbar-right { gap: 8px; }
  .headerv5 .header-v5-logo img { max-height: 28px !important; }
}
/* /HOMESTYLE MOBILE HEADER/BREADCRUMB */

/* HOMESTYLE OVERFLOW FIX */
@media (max-width: 959px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .row { margin-left: 0 !important; margin-right: 0 !important; max-width: 100%; }
}


/* DETAIL GALLERY NO PHOTO — keep aspect, no collapse */
#main-photo {
  min-height: 280px;
}
#main-photo .sz-product-card-no-photo-slide,
#main-photo li.sz-product-card-no-photo-slide {
  width: 100% !important;
  max-width: 100% !important;
  list-style: none;
  position: relative;
}
#main-photo .sz-product-card-no-photo {
  position: relative;
  width: 100%;
  height: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important; /* was 149% */
  aspect-ratio: auto !important;
  background: #e5e5e5;
  background-image: linear-gradient(145deg, #ececec 0%, #d8d8d8 100%);
  display: block !important;
  overflow: hidden;
}
#main-photo .sz-product-card-no-photo > span {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #9a9a9a;
  font-size: 14px;
}



.input-search {
	margin-right: 25px;
}

/* ===== HS DETAIL FIX: tabs + gallery height ===== */

/* Tabs: equal left edge, compact wrap, no 70px margins */
.sz-product-wrap ul.sz-subnav[sz-switcher],
ul.sz-subnav.sz-margin-large-top.sz-visible\@m,
ul.sz-flex.sz-subnav.sz-visible\@m {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 10px 24px !important;
  margin-top: 28px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}
.sz-product-wrap ul.sz-subnav[sz-switcher] > li,
ul.sz-subnav.sz-margin-large-top.sz-visible\@m > li,
ul.sz-flex.sz-subnav.sz-visible\@m > li {
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
}
.sz-product-wrap ul.sz-subnav[sz-switcher] > li > a,
ul.sz-subnav.sz-margin-large-top.sz-visible\@m > li > a,
ul.sz-flex.sz-subnav.sz-visible\@m > li > a {
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  white-space: normal !important;
  word-break: break-word !important;
}
@media (max-width: 1199px) {
  .sz-product-wrap ul.sz-subnav[sz-switcher] > li > a,
  ul.sz-subnav.sz-margin-large-top.sz-visible\@m > li > a {
    font-size: 15px !important;
  }
}

/* Detail no-photo: kill old 149% padding, use moderate ratio until JS syncs */
#main-photo .sz-product-card-no-photo {
  padding: 0 !important;
  padding-bottom: 0 !important;
  height: 520px !important;
  max-height: 560px !important;
  min-height: 420px !important;
  aspect-ratio: auto !important;
  background: #e5e5e5 !important;
  background-image: linear-gradient(145deg, #ececec 0%, #d8d8d8 100%) !important;
  position: relative !important;
  display: block !important;
  overflow: hidden !important;
}
#main-photo .sz-product-card-no-photo-slide,
#main-photo li.sz-product-card-no-photo-slide {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}
#main-photo {
  min-height: 0 !important;
  max-height: 560px !important;
  overflow: hidden !important;
}
@media (max-width: 959px) {
  #main-photo .sz-product-card-no-photo {
    height: 380px !important;
    min-height: 300px !important;
    max-height: 420px !important;
  }
  #main-photo { max-height: 420px !important; }
}
