/* Shared collection layout for the men's, women's and kids' product pages. */
.collection-shop {
  background: #fbfaf7;
  color: #29231d;
}

.collection-shop .shop-banner {
  height: 30vh;
  background-size: cover;
  background-position: center top;
}

.mens-page .shop-banner {
  background-image: url("../images/banner/groom-sub-banner.png");
}

.womens-page .shop-banner {
  background-image: url("../images/banner/bride-sub-banner.png");
}

.kids-page .shop-banner {
  background-image: url("../images/banner/kids-sub-banner.png");
}

.collection-shop .shop-banner::before {
  content: none;
}

.collection-shop .shop-banner-inner {
  z-index: 1;
  padding: 0 12px;
  text-align: center;
}

.collection-shop .shop-banner h1 {
  font-family: inherit;
  font-size: clamp(1.5rem, 3vw, 5rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.collection-shop .shop-banner .breadcrumb {
  font-family: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  color: #fff;
}

.collection-shop .shop-container,
.collection-shop .collection-after-shop {
  width: calc(100% - 40px);
  max-width: none;
  padding: 0;
}

.collection-shop .shop-layout {
  gap: 20px;
  align-items: flex-start;
  padding: 30px 0 24px;
}

.collection-shop .shop-sidebar {
  width: clamp(260px, 17vw, 320px);
}

.collection-shop .shop-filter-panel {
  background: #fff;
  border: 1px solid #eee9e1;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(54, 38, 18, 0.035);
}

.collection-shop .shop-filter-panel {
  padding: 22px 20px;
}

.collection-shop .collection-side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #2d2924;
}

.collection-shop .collection-side-heading i {
  color: #9b8c77;
  font-size: 18px;
}

.collection-shop .sidebar-section {
  margin-bottom: 24px;
}

.collection-shop .sidebar-section:last-child {
  margin-bottom: 0;
}

.collection-shop .sidebar-title {
  margin: 0 0 8px;
  padding: 0 0 9px;
  color: #2d2924;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.collection-shop .filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 7px;
  color: #3c3832;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: 0;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.collection-shop .filter-btn i {
  flex: 0 0 18px;
  color: #988d7d;
  font-size: 18px;
  text-align: center;
}

.collection-shop .filter-btn.active,
.collection-shop .filter-btn:hover {
  background: #f3ebdf;
  color: #30291f;
}

.collection-shop .filter-btn:hover {
  transform: translateX(3px);
}

.collection-shop .filter-btn:focus-visible,
.collection-shop .mobile-filter-toggle:focus-visible {
  outline: 2px solid #a17e4b;
  outline-offset: 2px;
}

.collection-shop .shop-topbar {
  min-height: 30px;
  margin: 0 0 15px;
  padding: 0;
  border: 0;
}

.collection-shop .shop-topbar-left {
  color: #4e4941;
  font-size: 11px;
}

.collection-shop .shop-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.collection-shop .sort-select {
  min-width: 105px;
  height: 33px;
  padding: 5px 9px;
  border-radius: 7px;
  border-color: #ebe6df;
  font-size: 10px;
}

.collection-shop .collection-view-switch {
  display: flex;
  gap: 5px;
}

.collection-shop .collection-view-switch button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: #8e897e;
  cursor: pointer;
}

.collection-shop .collection-view-switch button.active {
  background: #b29a77;
  color: #fff;
}

.collection-shop .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.collection-shop .prod-card {
  width: 100%;
  max-width: 340px;
  justify-self: center;
  border: 1px solid #eee9e1;
  border-radius: 11px;
  box-shadow: 0 4px 17px rgba(69, 48, 24, 0.035);
  animation: mensCardIn 0.55s both;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.collection-shop .prod-card:nth-child(4n + 2) {
  animation-delay: 0.06s;
}

.collection-shop .prod-card:nth-child(4n + 3) {
  animation-delay: 0.12s;
}

.collection-shop .prod-card:nth-child(4n + 4) {
  animation-delay: 0.18s;
}

.collection-shop .prod-card:hover {
  transform: translateY(-5px);
  border-color: #ddc9aa;
  box-shadow: 0 14px 30px rgba(69, 48, 24, 0.12);
}

.collection-shop .prod-card:hover .prod-card-thumb img {
  transform: scale(1.06);
}

@keyframes mensCardIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.collection-shop .prod-card-thumb {
  height: clamp(215px, 22vw, 300px);
  aspect-ratio: auto;
}

.collection-shop .prod-badge {
  top: 9px;
  left: 9px;
  border-radius: 4px;
  font-size: 7px;
}

.collection-shop .prod-favourite {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #8b7965;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.collection-shop .prod-favourite:hover {
  transform: scale(1.12);
  background: #fff;
}

.collection-shop .prod-favourite.active {
  color: #ad5751;
}

.collection-shop .prod-card-body {
  padding: 11px 11px 12px;
  border-top: 0;
}

.collection-shop .prod-card-sub {
  margin-bottom: 5px;
  color: #8f867a;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.collection-shop .prod-card-name {
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.collection-shop .prod-card-price {
  color: #8d744d;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}

.collection-shop .prod-card-price.enq {
  color: #746e66;
  font-size: 9px;
}

.collection-shop .prod-card-action {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #e8d5b1;
  color: #4c4335;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.collection-shop .prod-card-action:hover {
  transform: translateX(3px);
  background: #d7bc8d;
}

.collection-shop .pagination-bar {
  margin-top: 26px;
}

.collection-shop .page-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(54, 38, 18, 0.05);
}

.collection-shop .page-btn.active {
  background: #e2cfae;
  color: #382f23;
}

.collection-shop .product-grid.list-view {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-shop .product-grid.list-view .prod-card {
  display: flex;
  max-width: none;
}

.collection-shop .product-grid.list-view .prod-card-thumb {
  width: 32%;
  min-width: 125px;
  height: 160px;
  aspect-ratio: auto;
}

.collection-shop .product-grid.list-view .prod-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.collection-shop .collection-after-shop {
  padding-bottom: 38px;
}

.collection-shop .collection-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.collection-shop .collection-benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  border-right: 1px solid #d9d2c8;
  color: #514a41;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.collection-shop .collection-benefits > div:last-child {
  border-right: 0;
}

.collection-shop .collection-benefits i {
  font-size: 22px;
}

@media (max-width: 860px) {
  .collection-shop .shop-layout {
    gap: 16px;
  }

  .collection-shop .shop-sidebar {
    width: 260px;
  }

  .collection-shop .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-shop .product-grid:not(.list-view) .prod-card:nth-child(n) {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .collection-shop .prod-card,
  .collection-shop .filter-btn,
  .collection-shop .prod-favourite,
  .collection-shop .prod-card-action {
    animation: none;
    transition: none;
  }
}

@media (max-width: 768px) {
  .mens-page .shop-banner {
    background-position: 70% top;
  }

  .womens-page .shop-banner {
    background-position: 12% top;
  }

  .kids-page .shop-banner {
    background-position: 72% top;
  }

  .collection-shop .shop-container,
  .collection-shop .collection-after-shop {
    width: calc(100% - 24px);
  }

  .collection-shop .shop-layout {
    flex-direction: column;
    gap: 0;
    padding-top: 18px;
  }

  .collection-shop .mobile-filter-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    margin-bottom: 14px;
    justify-content: center;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    letter-spacing: 0;
  }

  .collection-shop .shop-sidebar,
  .collection-shop .shop-sidebar.open {
    width: 100%;
  }

  .collection-shop .shop-sidebar.open {
    margin-bottom: 14px;
  }

  .collection-shop .shop-main {
    width: 100%;
  }

  .collection-shop .product-grid,
  .collection-shop .product-grid.list-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .collection-shop .product-grid.list-view .prod-card {
    display: block;
  }

  .collection-shop .product-grid.list-view .prod-card-thumb {
    width: 100%;
    min-width: 0;
    height: clamp(205px, 56vw, 260px);
  }

  .collection-shop .prod-card-thumb {
    height: clamp(205px, 56vw, 260px);
  }

  .collection-shop .collection-benefits {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 0;
  }

  .collection-shop .collection-benefits > div:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  .collection-shop .shop-topbar-left {
    font-size: 10px;
  }

  .collection-shop .shop-topbar-actions {
    gap: 5px;
  }

  .collection-shop .sort-select {
    min-width: 82px;
    max-width: 98px;
    font-size: 9px;
  }

  .collection-shop .collection-view-switch {
    gap: 0;
  }

  .collection-shop .collection-view-switch button {
    width: 27px;
  }

  .collection-shop .prod-card-body {
    padding: 9px 8px 10px;
  }

  .collection-shop .prod-card-name {
    font-size: 10px;
  }

  .collection-shop .prod-card-price.enq {
    font-size: 8px;
  }

  .collection-shop .prod-card-action {
    width: 24px;
    height: 24px;
  }

  .collection-shop .collection-benefits > div {
    justify-content: flex-start;
    gap: 7px;
    padding: 0 8px;
    font-size: 8px;
  }

  .collection-shop .collection-benefits i {
    font-size: 17px;
  }
}
