/** Shopify CDN: Minification failed

Line 6:0 Unexpected "="

**/
=== ESTILOS PRINCIPALES ===
.blog-catalog-views-container {
  margin-top: 20px;
  position: relative;
  min-height: 400px;
}

#blogGrid,
#blogList {
  opacity: 1;
  transition: opacity 0.3s ease;
  width: 100%;
}

#blogGrid.fade-out,
#blogList.fade-out {
  opacity: 0;
}

#blogGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
}

#blogList {
  display: none;
  position: relative;
}

#blogList.fade-in {
  display: block;
}

/* === ESTILOS DE LA VISTA DE LISTA === */
.list-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-top: 0;
}

.list-column {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.list-column h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
}

.brand-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.brand-list-items li a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  display: block;
  padding: 3px 0px;
  border-radius: 4px;
  transition: all 0.15s;
  /* font-family: 'Crimson Pro' !important; */
}

.no-results {
  padding: 40px;
  text-align: center;
  color: #666;
  display: none;
}

.pagination-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
  padding: 20px 0;
  flex-wrap: wrap;
}

.pagination-btn,
.page-btn {
  padding: 8px 16px;
  /* border: 2px solid #b5aa79; */
  border: 2px solid #180e5a;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.blog-card .blog-image-container {
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 100%; /* Cuadrado 1:1 */
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}

.blog-card .blog-image-container img,
.blog-card > img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: cover !important;
  object-position: center;
  margin: 0 !important;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image-container img {
  transform: scale(1.05);
}

.view-btn-list {
  width: 50%;
  height: 50px;
  border: 2px solid #180e5a14;
  border-radius: 8px;
  background: #f8f8f8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-around;
  transition: all 0.2s;
  box-sizing: border-box;
  /* font-family: 'Crimson Pro'; */
  font-size: 18px;
}

.view-btn-list:hover,
.view-btn-list.active {
  background:#180e5a;
  color:#fff;
  font-weight:400;
}

.custom-select .placeholder {
  color: #999;
  pointer-events: none;
  font-size: 18px;
  padding: 0px !important;
}

.label_name{
  text-align:center;
}

.pagination-pages {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.page-btn {
  padding: 8px 12px;
  background: #f0f0f0;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 40px;
}

.page-btn:hover:not(.active) {
  background: #e0e0e0;
}

.page-btn.active {
  background: #180e5a;
  color: #fff;
  border-color: #180e5a;
}

.page-btn.ellipsis {
  cursor: default;
  border: none;
  background: transparent;
}

.view-btn {
  width: 50px;
  height: 50px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f8f8f8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0;
}

.view-btn:hover {
  background: #f0f0f0;
  border-color: #ddd;
}

.view-btn.active {
  /* border-color: #aba06e; */
  border-color: #303030;
  background: #fff;
  box-shadow: 0 0 0 2px #e0e0e0;
}

.view-btn svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .view-selector {
    gap: 8px;
    padding: 6px 8px;
  }
  .view-btn {
    width: 36px;
    height: 36px;
  }
}

.option{
  display: flex;
  gap: 5px;
}

.header-catalog{
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: end;
}

.custom-select {
  position: relative;
  border: 2px solid #180e5a;
  border-radius: 30px;
  min-height: 40px;
  padding: 8px 18px;
  cursor: pointer;
  background: white;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
}

.selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  /* font-family: 'Crimson Pro', serif; */
  font-size: 14px;
  opacity: 0.7;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0ebe0;
  border: 1px solid #b8a97a;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 12px;
  white-space: nowrap;
}

.tag .remove {
  cursor: pointer;
  font-weight: bold;
  color: #888;
  font-size: 14px;
  line-height: 1;
}

.tag .remove:hover {
  color: #333;
}

.options-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  border-top: none;
  background: white;
  max-height: 350px;
  overflow-y: auto;
  z-index: 10;
  margin-top: 10px !important;
  border-radius: 0px 0px 12px 12px;
}

.custom-select.active .options-dropdown {
  display: block;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  cursor: pointer;
}

.option-item:hover {
  background: #f5f0e8;
}

.option-item.selected {
  background: #f5f0e8
  color: #fff;
}

.option-item.selected input[type="checkbox"] {
  border-color: #fff;
}

.option-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid #b8a97a;
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.option-item input[type="checkbox"]:checked {
  background-color: #b8a97a;
  border-color: #b8a97a;
}

.option-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

#tagTags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.counter-pill {
  display: inline-flex;
  align-items: center;
  background: #b8a97a;
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  white-space: nowrap;
  cursor: pointer;
}

.counter-pill:hover {
  background: #9a8a5a;
}

/************************************************/

.filter{
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: end;
  justify-content: space-between;
}

.blog-catalog-section {
  width: 100%;
  padding: 40px 24px;
  background-color: #ffffff;
  box-sizing: border-box;
}

.blog-catalog-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.blog-catalog-views-container {
  padding: 0 4px;
  box-sizing: border-box;
}

.filter-selects {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 16px;
  top: 56%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #180e5a;
  font-size: 12px;
}

/* Search */
.search-wrapper {
  position: relative;
  display: inline-block;
}

.brand-search {
  width: 380px;
  height: 50px;
  padding: 0 20px 0 57px;
  border: 2px solid #180e5a;
  border-radius: 25px;
  font-size: 19px;
  color: #a9a9a9;
  background-color: #fff;
  outline: none;
  transition: all 0.3s ease;
  margin-left: 40px;
}

.brand-search::placeholder {
  color: #999;
}

.brand-search:focus {
  border-color: #180e5a;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  left: 44px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background-color: #180e5a;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background-color: #180e5a;
  transform: translateY(-50%) scale(1.05);
}

.featured-blog-catalog-section {
  /* wrapper */
}

/* Base grid */
.blog-catalog-grid,
.blog-catalog-grid * {
  box-sizing: border-box;
}

.blog-catalog-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 24px;
  margin-top: 30px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  justify-content: flex-start;
  overflow: visible;
}

/* El <a> que envuelve cada tarjeta debe comportarse como un item de grid normal */
.blog-card-link {
  display: block;
  width: 100%;
  min-width: 0;
  text-decoration: none;
}

.blog-card {
  width: 100%;
  max-width: 100%;
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s ease;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(181, 170, 121, 0.35);
}

.blog-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(255, 255, 255, 0.9);
  /* color: #705f2e; */
  color: #180e5a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  pointer-events: none;
}

.blog-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 24px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(to top, rgba(0,0,0,0.82), rgba(0,0,0,0));
  text-align: left;
}

.blog-title {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}

.blog-excerpt {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.no-results p {
  font-size: 18px;
  margin: 0;
}

/* Por defecto (4 columnas) */
.blog-catalog-grid.cols-4 .blog-title {
  font-size: 14px;
}

.blog-catalog-grid.cols-5 .blog-title {
  font-size: 13px;
}

.blog-catalog-grid.cols-6 .blog-title {
  font-size: 12px;
}

.view-selector {
  display: flex;
  gap: 5px;
  align-items: center;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .filter-selects {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {

    #brandsGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

  .blog-catalog-section {
    padding: 10px 15px;
  }

  #blogGrid{
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .filter {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
  }

  .select-wrapper {
    position: relative;
    width: 70%;
  }

  .custom-select {
    position: relative;
    border: 2px solid #180e5a;
    border-radius: 30px;
    min-height: 40px;
    padding: 0 22px;
    cursor: pointer;
    background: white;
    height: 40px;
    width: 100%;
  }

  .placeholder{
    font-size: 18px;
    padding: 6px;
  }

  .brand-search {
    width: 100%;
    height: 40px;
    padding: 0 60px 0 38px;
    border: 2px solid #180e5a;
    border-radius: 25px;
    font-size: 14px;
    color: #000;
    background-color: #fff;
    outline: none;
    transition: all 0.3s ease;
    margin-left: 0;
  }

  .search-btn {
    position: absolute;
    right: 5px;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: #180e5a;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .btn-col-5{
    display:none !important;
  }
  .btn-col-6{
    display:none !important;
  }
  .view-btn-list{
    width:100%;
    height: 40px;
  }
}


.brand-list-items li {
  border-bottom: 2px solid #ececec;
}
