@charset "UTF-8";
/* ==================== COLLECTION PAGE - NEW DESIGN ==================== */
/* === Hide old collection header (replaced by coll-header) === */
.layout-collections .wrapper-collection-header,
.layout-collections .breadcrumb-shop {
  display: none; }

/* === Filter/Sort Bar — match Figma exactly === */
.layout-collections .collection-content > .collection-heading {
  padding: 0; }

.layout-collections .collection-heading__content {
  padding: 0;
  background: #ffffff; }

.layout-collections .line-collection-content {
  margin-top: 44px;
  padding: 20px 0 20px;
  border: none;
  background: none; }

.layout-collections .line-collection-content .dFlex-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px; }

/* Filter button — left side */
.layout-collections .heading-box {
  flex-shrink: 0; }

.layout-collections .filter-box {
  border: none;
  padding: 0;
  margin: 0; }

.layout-collections .title-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 40px;
  min-height: 50px;
  background: #034EA2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Averta', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: -0.2px;
  text-transform: uppercase;
  cursor: pointer;
  margin: 0;
  white-space: nowrap; }
  .layout-collections .title-filter svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    order: -1; }

/* Sort — right side */
.layout-collections .heading-sortbyfilter {
  flex-shrink: 0; }

.layout-collections .collection-sortbyfilter-container {
  position: relative; }

.layout-collections .collection-sortby-filter {
  display: flex;
  align-items: center;
  gap: 16px; }

.layout-collections .collection-sortby {
  display: flex;
  align-items: center;
  gap: 16px; }

.layout-collections .coll-sort-label {
  font-family: 'Averta', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.5px;
  color: #1E293B;
  white-space: nowrap; }

.layout-collections .collection-sortby .layered_filter_title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 50px;
  border: 1px solid #0A0A0A;
  border-radius: 4px;
  background: transparent;
  cursor: pointer; }

.layout-collections .collection-sortby .title_filter {
  font-family: 'Averta', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: -0.2px;
  color: #0A0A0A;
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px; }
  .layout-collections .collection-sortby .title_filter .chevron-icon {
    margin-left: 4px; }

.layout-collections .collection-sortby .icon-filter,
.layout-collections .collection-sortby .icon-close {
  display: none; }

/* Sort dropdown */
.layout-collections .collection-sortby-option {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  background: #fff;
  border: 1px solid #F5F5F5;
  border-radius: 4px;
  box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1);
  min-width: 220px;
  display: none; }
  .layout-collections .collection-sortby-option.isShow {
    display: block; }

.layout-collections .sort-by-content {
  list-style: none;
  padding: 8px 0;
  margin: 0; }
  .layout-collections .sort-by-content li {
    padding: 0; }
    .layout-collections .sort-by-content li span {
      display: block;
      padding: 10px 16px;
      font-family: 'Averta', sans-serif;
      font-weight: 400;
      font-size: 14px;
      line-height: 20px;
      color: #0A0A0A;
      cursor: pointer; }
      .layout-collections .sort-by-content li span:hover {
        background: #FAFAFA; }
    .layout-collections .sort-by-content li.active span {
      font-weight: 600;
      color: #034EA2; }

/* Filter tags bar */
.layout-collections .collection-filter-tags {
  padding: 0 100px; }

.layout-collections .collection-filter-tags .heading-box {
  margin-bottom: 0; }

.layout-collections .collection-filter-tags .title-count {
  font-family: 'Averta', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 23px;
  letter-spacing: -0.5px;
  color: #1E293B; }

.layout-collections .collection-filter-tags .title-count b {
  font-weight: 600; }

/* === Desktop Filter Tags (below filter button) === */
.coll-filter-tags-desktop {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0px 0px; }
  .coll-filter-tags-desktop.has-tags {
    display: flex; }

.coll-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #0A0A0A;
  border-radius: 2px;
  padding: 7px 8px 8px;
  min-height: 32px;
  font-family: 'Averta', sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 13px;
  letter-spacing: -0.2px;
  color: #0A0A0A; }
  .coll-filter-tag__remove {
    cursor: pointer;
    display: flex;
    align-items: center; }
    .coll-filter-tag__remove svg {
      width: 16px;
      height: 16px; }
    .coll-filter-tag__remove:hover {
      opacity: 0.7; }

@media (max-width: 991px) {
  .coll-filter-tags-desktop {
    display: none !important; } }

@media (max-width: 1199px) {
  .coll-filter-tags-desktop {
    padding: 0 40px 16px; } }

/* === Desktop Filter Panel (separate snippet) === */
.coll-filter-desktop {
  display: none;
  background: #fff;
  border-top: 1px solid #F5F5F5; }
  .coll-filter-desktop.is-open {
    display: block; }
  .coll-filter-desktop__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 40px;
    padding: 20px 0px 32px; }
  .coll-filter-desktop__group {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 4px; }
  .coll-filter-desktop__title {
    font-family: 'Averta', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: -0.5px;
    color: #0A0A0A;
    margin: 0; }
  .coll-filter-desktop__options .checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0; }
    .coll-filter-desktop__options .checkbox-list li {
      display: flex;
      align-items: center;
      background: #EFFAFF;
      border: 1px solid #DEF3FF;
      border-radius: 2px;
      padding: 8px 10px;
      cursor: pointer; }
      .coll-filter-desktop__options .checkbox-list li input {
        display: none; }
      .coll-filter-desktop__options .checkbox-list li label {
        font-family: 'Averta', sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 18px;
        letter-spacing: -0.5px;
        color: #00AEEF;
        cursor: pointer;
        margin: 0;
        white-space: nowrap; }
      .coll-filter-desktop__options .checkbox-list li.active {
        background: #034EA2;
        border-color: #034EA2; }
        .coll-filter-desktop__options .checkbox-list li.active label {
          color: #fff; }

/* Hide desktop filter on mobile, hide mobile filter on desktop */
@media (min-width: 992px) {
  .coll-filter-desktop {
    /* shown via .is-open */ }
  .layout-collections .wrapper-filter {
    display: none; } }

@media (max-width: 991px) {
  .coll-filter-desktop {
    display: none !important; }
  .layout-collections .wrapper-filter {
    display: block; } }

/* === Filter Panel Desktop — Old wrapper overrides (kept for mobile) === */
@media (min-width: 992px) {
  /* Desktop: hide old mobile filter completely */
  .layout-collections .wrapper_layered_filter {
    display: none !important; }
  .layout-collections .overlay-filter {
    display: none !important; } }

/* === Mobile Filter — use theme's open-filter mechanism === */
/* Theme CSS handles .wrapper-filter show/hide via body.open-filter class */
/* We only need to ensure filter bottom buttons are visible and sortby shows on mobile */
@media (max-width: 991px) {
  .layout-collections .wrapper-filter .layered_filter_bottom {
    display: flex !important;
    width: 100%;
    padding: 10px 5px 12px;
    justify-content: flex-end; }
  .layout-collections .wrapper-filter .layered_filter_bottom .btn-filter {
    margin: 0 6px;
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
    display: block;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    letter-spacing: 1px;
    outline: none;
    border-radius: 2px;
    text-transform: uppercase; }
  .layout-collections .wrapper-filter .layered_filter_bottom .btn-filter-apply {
    color: #ffffff;
    background-color: #034EA2;
    border: 1px solid #034EA2; }
  .layout-collections .wrapper-filter .layered_filter_bottom .btn-filter-clear {
    color: #000000;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb; }
  .layout-collections .wrapper-filter .filter_group.filter_sortby {
    display: block !important; } }

/* === Override layout-collections === */
.layout-collections {
  background: #FAFAFA; }

/* === Header Section === */
.coll-header {
  background: linear-gradient(to bottom, #DEF3FF, #FAFAFA);
  padding: 72px 0 0; }
  .coll-header__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px; }
    .coll-header__breadcrumb a, .coll-header__breadcrumb span {
      font-family: 'Averta', sans-serif;
      font-size: 16px;
      line-height: 23px;
      letter-spacing: -0.5px;
      color: #0A0A0A;
      text-decoration: none; }
    .coll-header__breadcrumb span.active {
      font-weight: 600; }
    .coll-header__breadcrumb .separator {
      width: 20px;
      height: 20px;
      display: flex;
      align-items: center;
      justify-content: center; }
      .coll-header__breadcrumb .separator svg {
        width: 6px;
        height: 10px; }
  .coll-header__title {
    font-family: 'Averta', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 62px;
    letter-spacing: -2.5px;
    color: #034EA2;
    margin: 0; }

/* === Category Cards Slider === */
.coll-categories {
  padding: 32px 0 0;
  position: relative; }
  .coll-categories__slider {
    overflow: hidden; }
  .coll-categories__nav {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px 0 0; }
  .coll-categories__prev, .coll-categories__next {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px -2px rgba(16, 24, 40, 0.1); }
    .coll-categories__prev svg, .coll-categories__next svg {
      width: 24px;
      height: 24px; }
  .coll-categories__prev {
    background: #fff;
    border: 1px solid #034EA2;
    color: #034EA2; }
  .coll-categories__next {
    background: #034EA2;
    border: none;
    color: #fff; }

.coll-cat-card {
  flex: 1;
  min-width: 0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 338 / 507;
  display: block;
  text-decoration: none; }
  .coll-cat-card__image {
    position: absolute;
    inset: 0; }
    .coll-cat-card__image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.4s; }
  .coll-cat-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 64px 24px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1; }
  .coll-cat-card__name {
    font-family: 'Averta', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 52px;
    letter-spacing: -2.5px;
    color: #fff;
    margin: 0; }
  .coll-cat-card:hover .coll-cat-card__image img {
    transform: scale(1.05); }

/* === Override existing collection styles for new look === */
.layout-collections .wrapper-mainCollection {
  max-width: 100%; }

/* === Product Grid === */
.layout-collections .listProduct-filter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px; }
  .layout-collections .listProduct-filter .product-loop {
    width: 100% !important;
    max-width: 100%;
    padding: 0;
    flex: none; }

.coll-categories__nav {
  display: none; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1199px) {
  .coll-header__title {
    font-size: 36px;
    line-height: 48px; }
  .coll-cat-card__name {
    font-size: 32px;
    line-height: 42px; }
  .coll-filter-desktop__inner {
    padding: 20px 40px 32px; }
  .coll-filter-desktop__group {
    min-width: 250px; }
  .layout-collections .collection-filter-tags {
    padding: 0 40px; }
  .layout-collections .listProduct-filter {
    grid-template-columns: repeat(3, 1fr); } }

@media (max-width: 991px) {
  .coll-categories__prev, .coll-categories__next {
    width: 36px;
    height: 36px; }
    .coll-categories__prev svg, .coll-categories__next svg {
      width: 18px;
      height: 18px; }
  .coll-header {
    padding: 40px 0 0; }
  .coll-header__title {
    font-size: 28px;
    line-height: 38px; }
  .coll-cat-card__name {
    font-size: 24px;
    line-height: 32px; }
  .coll-cat-card {
    aspect-ratio: 3 / 4; }
  .layout-collections .collection-filter-tags {
    padding: 0 16px; }
  .layout-collections .line-collection-content .dFlex-row {
    flex-wrap: wrap;
    gap: 16px; }
  .layout-collections .title-filter {
    padding: 8px 20px;
    min-height: 44px;
    font-size: 14px; }
  .layout-collections .listProduct-filter {
    grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 767px) {
  .coll-header__title {
    font-size: 24px;
    line-height: 32px; }
  .coll-cat-card__name {
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -1.5px; }
  .coll-cat-card__overlay {
    padding: 40px 16px 16px; }
  .coll-sort-label {
    display: none; } }

/* ===== Responsive Scale Rule — Collection ===== */
@media (min-width: 1200px) and (max-width: 1599px) {
  .coll-header {
    padding: 64px 0 0; }
  .coll-header__title {
    font-size: 40px;
    line-height: 52px; }
  .coll-cat-card__name {
    font-size: 36px;
    line-height: 48px; } }

@media (min-width: 992px) and (max-width: 1199px) {
  .coll-header {
    padding: 60px 0 0; } }
