/**
 * Product archive: category page, shop page and the collections list.
 *
 * A verbatim port of the {% stylesheet %} blocks of sections/collection.liquid
 * and sections/collections.liquid, with a short additions block at the end.
 *
 * The product card styles (.col-product-card) live here rather than in their
 * own file because the card only ever appears on these archives, and keeping
 * it beside the grid it sits in means one file to read when the grid changes.
 *
 * Loaded on product archives and on the collections list page, per the
 * project's per-page CSS rule. Depends on tokens.css and base.css.
 *
 * @package maaz-dev
 */


/* ===== COLLECTION PAGE ===== */
.collection-page {
  background: #FFFFFF;
  min-height: 60vh;
}

/* ===== HERO ===== */
.collection-hero {
  position: relative;
  background: #8B0000;
  padding: 48px 32px;
  width: 100%;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
}

.collection-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.collection-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(139,0,0,0.7);
}

.collection-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* Breadcrumb */
.collection-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  flex-wrap: wrap;
}

.collection-breadcrumb__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.15s ease;
}

.collection-breadcrumb__link:hover { color: #FFFFFF; }

.collection-breadcrumb__sep {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.collection-breadcrumb__current {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}

.collection-hero__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 8px;
  line-height: 1.15;
}

.collection-hero__count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* ===== LAYOUT ===== */
.collection-body {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

/* The sidebar and main column are direct children of __inner, so the row
   itself is declared here; .collection-body stays the page-width container. */
.collection-body__inner {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

/* ===== SIDEBAR ===== */
.collection-sidebar {
  width: 280px;
  flex-shrink: 0;
  position: sticky;
  top: 80px;
  padding: 32px 24px 32px 0;
  border-right: 1px solid #F0F0F0;
}

.collection-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.collection-sidebar__close {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
  padding: 0 0 20px;
  margin-bottom: 8px;
  border-bottom: 1px solid #F0F0F0;
}

/* Widget */
.sidebar-widget {
  border-bottom: 1px solid #F0F0F0;
  padding: 20px 0;
}

.sidebar-widget:last-child { border-bottom: none; }

.sidebar-widget__title {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  display: block;
}

.sidebar-widget__title--toggle {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin-bottom: 0;
  text-align: left;
}

.sidebar-widget__title--toggle[aria-expanded="true"] {
  margin-bottom: 14px;
}

.sidebar-widget__caret {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: #888888;
}

.sidebar-widget__title--toggle[aria-expanded="false"] .sidebar-widget__caret {
  transform: rotate(-90deg);
}

.sidebar-widget__body[hidden] { display: none; }

/* Sort select */
.sidebar-sort {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #111111;
  background: #FAFAFA;
  cursor: pointer;
  outline: none;
  transition: border-color 0.15s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23888888' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.sidebar-sort:focus { border-color: #8B0000; }

/* Price filter */
.price-filter__inputs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.price-filter__field { flex: 1; }

.price-filter__label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.price-filter__input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  overflow: hidden;
  background: #FAFAFA;
  transition: border-color 0.15s ease;
}

.price-filter__input-wrap:focus-within { border-color: #8B0000; }

.price-filter__currency {
  padding: 0 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888888;
  flex-shrink: 0;
}

.price-filter__input {
  flex: 1;
  height: 38px;
  border: none;
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #111111;
  outline: none;
  padding: 0 8px 0 0;
  width: 0;
  min-width: 0;
}

.price-filter__dash {
  font-size: 14px;
  color: #CCCCCC;
  flex-shrink: 0;
}

.price-filter__btn {
  width: 100%;
  height: 38px;
  background: #8B0000;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.price-filter__btn:hover { background: #6B0000; }

/* Checklist */
.sidebar-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-checklist__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #444444;
  transition: color 0.15s ease;
  text-decoration: none;
}

.sidebar-checklist__label:hover { color: #8B0000; }
.sidebar-checklist__label--active { color: #8B0000; font-weight: 600; }

.sidebar-checklist__input { display: none; }

.sidebar-checklist__box {
  width: 18px;
  height: 18px;
  border: 1.5px solid #CCCCCC;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  background: #FFFFFF;
}

.sidebar-checklist__input:checked + .sidebar-checklist__box,
.sidebar-checklist__label--active .sidebar-checklist__box {
  background: #8B0000;
  border-color: #8B0000;
}

.sidebar-clear-link {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #8B0000;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== MAIN CONTENT ===== */
.collection-main {
  flex: 1;
  min-width: 0;
  padding: 32px 0;
}

/* Toolbar */
.collection-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F0F0F0;
  flex-wrap: wrap;
}

.collection-toolbar__filter-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #FFFFFF;
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
}

.collection-toolbar__filter-btn:hover {
  border-color: #8B0000;
  color: #8B0000;
}

.collection-toolbar__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #8B0000;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
}

.collection-toolbar__count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #888888;
  margin: 0;
  flex: 1;
}

.collection-toolbar__view {
  display: flex;
  gap: 4px;
}

.collection-toolbar__view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid #E0E0E0;
  border-radius: 6px;
  color: #888888;
  cursor: pointer;
  transition: all 0.15s ease;
}

.collection-toolbar__view-btn--active,
.collection-toolbar__view-btn:hover {
  border-color: #8B0000;
  color: #8B0000;
  background: #FFF5F5;
}

/* Active filters */
.collection-active-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.collection-active-filters__label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #888888;
}

.collection-active-filters__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #FFF5F5;
  border: 1px solid #8B0000;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #8B0000;
  text-decoration: none;
  transition: all 0.15s ease;
}

.collection-active-filters__tag:hover {
  background: #8B0000;
  color: #FFFFFF;
}

.collection-active-filters__clear {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #888888;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ===== PRODUCT GRID ===== */
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.collection-grid--list {
  grid-template-columns: 1fr;
}

/* ===== PRODUCT CARD ===== */
.col-product-card {
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}

.col-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.col-product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.col-product-card__image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F8F8F8;
  overflow: hidden;
}

.col-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.col-product-card__image--hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.col-product-card:hover .col-product-card__image--primary { opacity: 0; transform: scale(1.04); }
.col-product-card:hover .col-product-card__image--hover { opacity: 1; }

.col-product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCCCCC;
}

.col-product-card__placeholder svg { width: 48px; height: 48px; }

/* Badges */
.col-product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.col-product-card__badge--free-ship {
  background: #1a6b1a;
  color: #FFFFFF;
}

.col-product-card__badge {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}

.col-product-card__badge--sale { background: #8B0000; color: #FFFFFF; }
.col-product-card__badge--sold { background: #555555; color: #FFFFFF; }
.col-product-card__badge--new { background: #111111; color: #FFFFFF; }

/* Quick Add */
.col-product-card__quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.22s ease;
}

.col-product-card:hover .col-product-card__quick-add,
.col-product-card__quick-add:focus-within {
  transform: translateY(0);
}

.col-product-card__quick-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #111111;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.col-product-card__quick-btn:hover { background: #8B0000; }

/* Card Info */
.col-product-card__info {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.col-product-card__vendor {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #999999;
  margin: 0;
}

.col-product-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  margin: 0;
  line-height: 1.4;
}

.col-product-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.col-product-card__title a:hover { color: #8B0000; }

.col-product-card__stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.col-product-card__rating-count {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #888888;
  margin-left: 4px;
}

.col-product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.col-product-card__price--regular {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
}

.col-product-card__price--sale {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #8B0000;
}

.col-product-card__price--compare {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #AAAAAA;
  text-decoration: line-through;
}

.col-product-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
}

.col-product-card__btn {
  display: block;
  width: 100%;
  padding: 11px;
  background: #111111;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
  margin-top: auto;
}

.col-product-card__btn:hover { background: #8B0000; }

/* List view */
.collection-grid--list .col-product-card {
  flex-direction: row;
}

.collection-grid--list .col-product-card__image-wrap {
  flex-shrink: 0;
  width: 200px;
  aspect-ratio: 1/1;
}

.collection-grid--list .col-product-card__info {
  padding: 20px 24px;
}

/* ===== PAGINATION ===== */
.collection-pagination {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.collection-pagination__list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.collection-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1.5px solid #E0E0E0;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #444444;
  text-decoration: none;
  transition: all 0.15s ease;
}

.collection-pagination__btn:hover {
  border-color: #8B0000;
  color: #8B0000;
}

.collection-pagination__btn--active {
  background: #8B0000;
  border-color: #8B0000;
  color: #FFFFFF;
  font-weight: 700;
}

.collection-pagination__btn--dots {
  border: none;
  background: transparent;
  color: #CCCCCC;
}

/* ===== EMPTY STATE ===== */
.collection-empty {
  text-align: center;
  padding: 80px 20px;
  color: #CCCCCC;
}

.collection-empty svg { margin: 0 auto 20px; }

.collection-empty__title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 10px;
}

.collection-empty__text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #888888;
  margin: 0 0 24px;
}

.collection-empty__btn {
  display: inline-flex;
  padding: 12px 28px;
  background: #8B0000;
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.collection-empty__btn:hover { background: #6B0000; }

/* ===== SEO CONTENT ===== */
.collection-seo-content {
  border-top: 1px solid #F0F0F0;
  padding-top: 40px;
  margin-top: 16px;
}

.collection-seo-content__title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 16px;
}

.collection-seo-content__body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
  max-width: 800px;
}

.collection-seo-content__body p { margin: 0 0 14px; }
.collection-seo-content__body p:last-child { margin-bottom: 0; }

/* --- Rich description formatting: headings, lists, tables --- */
.collection-seo-content__body h2 {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  margin: 32px 0 12px;
  line-height: 1.3;
}
.collection-seo-content__body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 24px 0 8px;
  line-height: 1.4;
}
.collection-seo-content__body h2:first-child,
.collection-seo-content__body h3:first-child { margin-top: 0; }

.collection-seo-content__body ul,
.collection-seo-content__body ol { margin: 0 0 16px; padding-left: 22px; }
.collection-seo-content__body li { margin-bottom: 7px; }
.collection-seo-content__body li:last-child { margin-bottom: 0; }

.collection-seo-content__body a {
  color: #8B0000;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.collection-seo-content__body strong { color: #222222; font-weight: 700; }

.collection-seo-content__body blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid #8B0000;
  background: #FFF5F5;
  font-size: 14px;
  color: #444444;
}
.collection-seo-content__body blockquote p:last-child { margin-bottom: 0; }

/* Tables — matches the article/blog table styling */
.collection-seo-content__body table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #222222;
  background: #FFFFFF;
}
.collection-seo-content__body .rlr-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid #D9D9D9;
  border-radius: 8px;
}
.collection-seo-content__body table thead th,
.collection-seo-content__body table thead td,
.collection-seo-content__body table tr:first-child th {
  background: #8B0000;
  color: #FFFFFF;
  font-weight: 700;
  text-align: left;
  vertical-align: middle;
  padding: 12px 14px;
  border: 1px solid #8B0000;
  line-height: 1.35;
}
.collection-seo-content__body table td,
.collection-seo-content__body table tbody th {
  padding: 11px 14px;
  border: 1px solid #D9D9D9;
  vertical-align: top;
  text-align: left;
}
.collection-seo-content__body table tbody tr:nth-child(even) { background: #F6F6F6; }
.collection-seo-content__body table a { color: #8B0000; }
.collection-seo-content__body table p { margin: 0; }

/* Hero intro */
.collection-hero__intro {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
  max-width: 1100px;
  margin: 12px 0 0;
}
.collection-hero__intro p { margin: 0 0 8px; }
.collection-hero__intro p:last-child { margin-bottom: 0; }

@media screen and (max-width: 749px) {
  .collection-seo-content__body h2 { font-size: 18px; }
  .collection-seo-content__body h3 { font-size: 15px; }
  .collection-seo-content__body table { min-width: 480px; font-size: 13px; }
  .collection-hero__intro { font-size: 14px; }
}

/* ===== OVERLAY ===== */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 199;
  backdrop-filter: blur(2px);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 1024px) {
  .collection-body {
    padding: 0 20px;
  }
  .collection-sidebar {
    width: 240px;
  }
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media screen and (max-width: 768px) {
  .collection-hero { padding: 40px 20px; }

  .collection-body,
  .collection-body__inner {
    display: block;
  }

  .collection-body {
    padding: 0 16px;
  }

  .collection-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #FFFFFF;
    z-index: 200;
    padding: 24px 20px;
    overflow-y: auto;
    border-right: 1px solid #EBEBEB;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    transition: left 0.3s ease;
  }

  .collection-sidebar.is-open {
    left: 0;
  }

  .collection-sidebar__close {
    display: flex;
  }

  .collection-main {
    padding: 24px 0;
  }

  .collection-toolbar__filter-btn {
    display: inline-flex;
  }

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

  .collection-grid--list .col-product-card {
    flex-direction: column;
  }

  .collection-grid--list .col-product-card__image-wrap {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .col-product-card__info {
    padding: 12px 12px 14px;
  }
}


/* ===== COLLECTION FAQs ===== */
.collection-faqs { padding: 48px 0 8px; max-width: 100%; overflow-x: hidden; }
.collection-faqs__inner { max-width: 820px; }
.collection-faqs__title { font-family: 'Inter', sans-serif; font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700; color: #111111; margin: 0 0 24px; }
.collection-faqs__list { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid #E8E8E8; }
.collection-faq__item { border-bottom: 1px solid #E8E8E8; background: #FFFFFF; }
.collection-faq__item:last-child { border-bottom: none; }
.collection-faq__question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; background: transparent; border: none; cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; color: #111111;
  transition: color 0.15s ease, background 0.15s ease;
}
.collection-faq__question span:first-child { min-width: 0; overflow-wrap: break-word; }
.collection-faq__question:hover { color: #8B0000; background: #FFF8F8; }
.collection-faq__question[aria-expanded="true"] { color: #8B0000; }
.collection-faq__icon {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: #F5F5F5;
  flex-shrink: 0; color: #111111; transition: background 0.15s ease, color 0.15s ease;
}
.collection-faq__question[aria-expanded="true"] .collection-faq__icon { background: #8B0000; color: #FFFFFF; }
.collection-faq__icon-plus { display: block; }
.collection-faq__icon-minus { display: none; }
.collection-faq__question[aria-expanded="true"] .collection-faq__icon-plus { display: none; }
.collection-faq__question[aria-expanded="true"] .collection-faq__icon-minus { display: block; }
.collection-faq__answer { overflow: hidden; max-height: 0; transition: max-height 0.3s ease; }
.collection-faq__answer[data-open] { max-height: 600px; }
.collection-faq__answer-inner { padding: 0 22px 18px; font-family: 'Inter', sans-serif; font-size: 14px; color: #555555; line-height: 1.8; }
.collection-faq__answer-inner p { margin: 0; overflow-wrap: break-word; }

@media screen and (max-width: 768px) {
  .collection-faqs { padding: 36px 0 8px; }
  .collection-faq__question { padding: 15px 16px; font-size: 14px; }
  .collection-faq__answer-inner { padding: 0 16px 15px; }
}

/* ==========================================================================
   Collections list page
   ========================================================================== */


.list-collections-page { background: #FFFFFF; min-height: 60vh; }
.list-collections-page__inner { max-width: 1400px; margin: 0 auto; padding: 24px 32px 60px; }

/* Breadcrumb */
.list-collections-breadcrumb { margin-bottom: 24px; font-family: 'Inter', sans-serif; font-size: 13px; }
.list-collections-breadcrumb__link { color: #888888; text-decoration: none; }
.list-collections-breadcrumb__link:hover { color: #8B0000; }
.list-collections-breadcrumb__sep { color: #CCCCCC; margin: 0 8px; }
.list-collections-breadcrumb__current { color: #444444; }

/* Header */
.list-collections-header { text-align: center; margin-bottom: 40px; }
.list-collections-header__title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #111111;
  margin: 0 0 14px;
}
.list-collections-header__desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: #666666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid */
.list-collections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Card */
.collection-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #F0F0F0;
}

.collection-card__image-wrap { position: absolute; inset: 0; }

.collection-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.collection-card:hover .collection-card__image { transform: scale(1.06); }

.collection-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CCCCCC;
  background: linear-gradient(135deg, #F5F5F5, #E8E8E8);
}
.collection-card__placeholder svg { width: 56px; height: 56px; }

.collection-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.collection-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px 20px;
}

.collection-card__title {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.35);
}

.collection-card__count {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* Empty state */
.list-collections-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  font-family: 'Inter', sans-serif;
  color: #999999;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .list-collections-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media screen and (max-width: 768px) {
  .list-collections-page__inner { padding: 20px 16px 40px; }
  .list-collections-header { margin-bottom: 28px; }
  .list-collections-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .collection-card__title { font-size: 16px; }
  .collection-card__content { padding: 16px 14px; }
}

@media screen and (max-width: 480px) {
  .list-collections-grid { grid-template-columns: 1fr; gap: 14px; }
}


/* ==========================================================================
   Additions for WooCommerce
   ========================================================================== */

/*
 * Scroll lock while the mobile filter drawer is open. The Shopify script set
 * document.body.style.overflow directly; this theme keeps declarations in CSS
 * and lets the script toggle the class that base.css already defines.
 */

/* Woo prints prices inside <bdi>, which must not break the inline layout. */
.col-product-card__price bdi {
	unicode-bidi: normal;
}

.col-product-card__price del,
.col-product-card__price ins {
	text-decoration: none;
	background: none;
}

.col-product-card__price del {
	opacity: 0.6;
}

/* The quick-add form is a plain form; it must not add layout of its own. */
.col-product-card__quick-add form {
	margin: 0;
}

/* WooCommerce's "added to cart" link after an AJAX add. */
.col-product-card__quick-add .added_to_cart {
	display: none;
}

/*
 * Range inputs for the price filter come from the theme, not from Woo, so the
 * number spinners are hidden for a cleaner field.
 */
.price-filter__input::-webkit-outer-spin-button,
.price-filter__input::-webkit-inner-spin-button {
	appearance: none;
	margin: 0;
}

.price-filter__input {
	appearance: textfield;
}