/* Banner styling */
.ps-banner {
  position: relative;
  border-radius: 16px; /* Adjust as needed */
  overflow: hidden; /* This is important */
}

.ps-banner .ps-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  border-radius: inherit; /* Matches parent */
}

/* Homepage collection section */
#homepage-1 .ps-home-banner .ps-collection {
  display: block;
  margin-bottom: 30px;
  border-radius: 16px; /* match banner radius */
  overflow: hidden; /* ensures images and overlay respect the radius */
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* optional – soft depth */
}

/* Collection image styling */
#homepage-1 .ps-home-banner .ps-collection img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  transition: transform 0.4s ease;
}

/* Hover zoom effect */
#homepage-1 .ps-home-banner .ps-collection:hover img {
  transform: scale(1.04);
}

/* Logo sizing */
.ps-logo img {
  max-height: 65px !important;
  max-width: 226px !important;
  width: 191px;
  height: auto;
  object-fit: contain;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  line-height: 1;
}

/* Category block base styling (kept minimal, no slider) */
.ps-block--category {
  border: 12px solid #eee;
  box-shadow: 0 1px 1px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.ps-block--category:hover {
  transform: translateY(-3px);
}

/* Carousel container */
.row.justify-content-center {
  --item-w: 160px;          /* change to desired card width */
  --gap: 18px;              /* gap between items */
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: var(--gap);
  padding: 12px 8px;        /* comfortable left/right padding */
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: stretch;
}

/* Each column becomes a fixed-width carousel item (no bootstrap wrapping) */
.row.justify-content-center > div[class*="col-"] {
  flex: 0 0 auto;
  width: var(--item-w);
  scroll-snap-align: center;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

/* Card styling inside item */
.ps-block--category {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 8px;
  cursor: pointer;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease;
}

/* hover / focus state */
.ps-block--category:hover,
.ps-block--category:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}

/* Image behavior */
.ps-block--category img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

/* caption */
.ps-block--category p {
  margin: 6px 0 0;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.1;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* hide native scrollbar (cross-browser) */
.row.justify-content-center {
  scrollbar-width: none; /* Firefox */
}
.row.justify-content-center::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Responsive item widths */
@media (min-width: 1200px) {
  :root { --item-w: 180px; }
}
@media (min-width: 1400px) {
  :root { --item-w: 200px; }
}
@media (max-width: 575px) {
  :root { --item-w: 140px; }
  .row.justify-content-center { gap: 12px; padding: 10px; }
}



.ps-logo img {
    max-height: 107px !important;
    max-width: 259px !important;
    width: 308px;
    height: 93px;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    line-height: 1;
}

.header .header__top {
    background-color: var(--color-1st);
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    padding: 0px 0;
}



/* === Banner Section with Rounded Corners === */
.ps-collection {
  position: relative;
  border-radius: 16px;         /* Adjust radius size as you wish */
  overflow: hidden;            /* Ensures the image corners follow the radius */
  display: inline-block;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); /* Optional soft shadow */
}

/* Center alignment */
.ps-collection div {
  text-align: center;
}

/* Ensure  and  both inherit the radius */
.ps-collection picture,
.ps-collection img {
  border-radius: inherit;
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Optional: subtle hover lift effect */
.ps-collection:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .ps-collection {
    border-radius: 12px;
  }
}


.ps-block--category {
  border: 1px solid #e5e5e5; /* lighter border */
  border-radius: 10px; /* subtle rounded edges */
  padding: 10px;
  transition: all 0.3s ease;
  box-shadow: none; /* remove heavy shadow */
}

.ps-block--category:hover {
  border-color: #ccc; /* slightly darker on hover */
  transform: translateY(-3px);
}

.ps-block--category img {
  border-radius: 8px; /* matches the box corners */
  width: 100%;
  height: auto;
}


.header--mobile .navigation--mobile {
    border-bottom: none;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding: 12px 9px;
    margin-left: -18px;
    margin-right: 17px;
}


@media (max-width: 1199px) {
    #homepage-1 .ps-home-banner .ps-section__left {
        margin-bottom: 20px;
        max-width: 100%;
        padding-right: 0;
        height: 112px;
    }
}


.row.justify-content-center > div[class*="col-"] {
    flex: 1 0 auto;
    width: var(--item-w);
    scroll-snap-align: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}