/* ============================================================
   LIZABEELA Shop Page — 1:1 Figma Restoration
   Node: 3:1077 ShopPage
   Filter sidebar, product grid, category pills, pagination
   ============================================================ */

/* ── Shop Layout ── */

.lzb-shop {
  padding-block: 0;
  background: #ffffff;
}

.lzb-shop__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px;
}

.lzb-shop__layout {
  display: flex;
  gap: 48px;
  padding-top: 40px;
}

@media (max-width: 1024px) {
  .lzb-shop__layout {
    flex-direction: column;
  }
  .lzb-shop__inner {
    padding: 24px;
  }
}

/* ── Breadcrumbs (Figma: Home / Skirts) ── */

.lzb-breadcrumbs {
  padding: 0;
}

.lzb-breadcrumbs__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lzb-breadcrumbs__link,
.lzb-breadcrumbs__list li a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: #887870;
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.15s;
}

.lzb-breadcrumbs__link:hover {
  color: #2e2e2e;
}

.lzb-breadcrumbs__sep {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  color: #887870;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.lzb-breadcrumbs__current {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  color: #2e2e2e;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ── Title Row (Figma: Skirts heading + dropdown) ── */

.lzb-shop-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 32px;
  min-height: 108px;
}

.lzb-shop-title__heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 48px;
  color: #2e2e2e;
  margin: 0;
  white-space: nowrap;
}

.lzb-shop-title__count {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #887870;
  padding-top: 8px;
  white-space: nowrap;
  margin: 0;
}

.lzb-shop-title__dropdown {
  position: relative;
  width: 179px;
}

.lzb-shop-title__dropdown select {
  width: 100%;
  height: 37px;
  padding: 0 36px 0 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #2e2e2e;
  background: #ffffff;
  border: 1px solid rgba(46, 46, 46, 0.15);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='7' viewBox='0 0 11 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5.5 5.5L10 1' stroke='%23887870' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* ── Category Pills (Figma: rounded-full pill buttons) ── */

.lzb-cat-pills {
  padding-top: 32px;
}

.lzb-cat-pills__row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.lzb-cat-pills__row::-webkit-scrollbar {
  display: none;
}

.lzb-cat-pills__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 21px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(46, 46, 46, 0.15);
  background: transparent;
  color: #887870;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.lzb-cat-pills__btn:hover {
  border-color: #887870;
}

.lzb-cat-pills__btn--active {
  background: #d8a7b1;
  border-color: #d8a7b1;
  color: #fffdfb;
  box-shadow: 0 2px 7px rgba(216, 167, 177, 0.28);
}

.lzb-cat-pills__divider-wrap {
  padding-top: 16px;
}

.lzb-cat-pills__divider {
  height: 1px;
  background: linear-gradient(to right, rgba(216, 167, 177, 0.35), rgba(216, 167, 177, 0.08));
}

/* ── Filter Sidebar (Figma: 200px sidebar) ── */

.lzb-shop__filters {
  width: 200px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .lzb-shop__filters {
    display: none;
  }
}

/* Mobile filter state */
.lzb-shop__filters--open {
  display: block;
  position: fixed;
  inset: 0;
  top: var(--header-total-h);
  z-index: var(--z-overlay);
  background-color: #ffffff;
  padding: 32px 24px;
  overflow-y: auto;
  max-width: 320px;
  width: auto;
}

.lzb-shop__filters--open + .lzb-filter-overlay--open {
  content: '';
  position: fixed;
  inset: 0;
  top: var(--header-total-h);
  background: rgba(0, 0, 0, 0.3);
  z-index: calc(var(--z-overlay) - 1);
}

/* Filter Header */
.lzb-filter-header {
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(216, 167, 177, 0.25);
}

.lzb-filter-header__title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  color: #2e2e2e;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Filter Section */
.lzb-filter-section {
  padding-top: 32px;
}

.lzb-filter-section__title {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  color: #2e2e2e;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* ── Filter Toggle Button (mobile) ── */

.lzb-filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #2e2e2e;
  background: none;
  border: 1px solid rgba(46, 46, 46, 0.15);
  padding: 8px 16px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .lzb-filter-toggle {
    display: none;
  }
}

/* ── Filter Size Buttons (Figma: 40x40, 2 rows) ── */

.lzb-filter-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.lzb-filter-sizes__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  color: #887870;
  background: transparent;
  border: 1px solid rgba(46, 46, 46, 0.18);
  cursor: pointer;
  transition: all 0.15s;
  padding: 1px;
}

.lzb-filter-sizes__btn:hover,
.lzb-filter-sizes__btn--active {
  background: #2e2e2e;
  border-color: #2e2e2e;
  color: #fffdfb;
}

/* ── Filter Color Swatches (Figma: 26x26 circles) ── */

.lzb-filter-colors {
  display: flex;
  gap: 12px;
  padding-top: 16px;
}

.lzb-filter-colors__btn {
  width: 26px;
  height: 26px;
  border-radius: 13px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
  padding: 0;
}

.lzb-filter-colors__btn:hover,
.lzb-filter-colors__btn--active {
  border-color: #d8a7b1;
  transform: scale(1.1);
}

/* ── Filter Price Range (Figma: slider) ── */

.lzb-filter-section--price {
  padding-top: 32px;
}

.lzb-filter-price__header {
  padding-bottom: 16px;
}

.lzb-filter-price__slider {
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  position: relative;
}

.lzb-filter-price__track {
  width: 100%;
  height: 2px;
  background: rgba(46, 46, 46, 0.1);
  border-radius: 1px;
  position: relative;
}

.lzb-filter-price__fill {
  position: absolute;
  height: 2px;
  background: #d8a7b1;
  border-radius: 1px;
}

.lzb-filter-price__values {
  display: flex;
  justify-content: space-between;
  padding-top: 4px;
}

.lzb-filter-price__values span {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #887870;
}

/* ── Sort Bar ── */

.lzb-sort-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(46, 46, 46, 0.1);
  margin-bottom: 32px;
}

.lzb-sort-bar__count {
  font-size: 14px;
  color: #887870;
  margin: 0;
}

.lzb-sort-bar__select {
  padding: 8px 36px 8px 16px;
  font-size: 14px;
  color: #2e2e2e;
  background: #ffffff;
  border: 1px solid rgba(46, 46, 46, 0.15);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%232e2e2e' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* ── Product Grid (Figma: 3 columns) ── */

.lzb-shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (min-width: 768px) {
  .lzb-shop-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .lzb-shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Product Card (Figma exact) ── */

.lzb-product-card {
  display: flex;
  flex-direction: column;
}

.lzb-product-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #f5f1ee;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  text-decoration: none;
}

.lzb-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.lzb-product-card:hover .lzb-product-card__image {
  transform: scale(1.05);
}

.lzb-product-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
}

/* Figma badge: bg #2e2e2e, text #fffdfb, 10px, tracking 1px, uppercase */
.lzb-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  line-height: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fffdfb;
}

.lzb-badge--new {
  background-color: #2e2e2e;
}

.lzb-badge--sale {
  background-color: #d8a7b1;
}

.lzb-badge--bestseller {
  background-color: #c4a882;
}

.lzb-product-card__body {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.lzb-product-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 19.25px;
  color: #2e2e2e;
  margin: 0;
  white-space: nowrap;
}

.lzb-product-card__title a {
  color: inherit;
  text-decoration: none;
}

.lzb-product-card__title a:hover {
  color: #d8a7b1;
}

/* Figma pricing: $18 in #d8a7b1, $38 in #887870 line-through, gap 12px */
.lzb-product-card__pricing {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}

.lzb-product-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #d8a7b1;
}

.lzb-product-card__price--original {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #887870;
  text-decoration: line-through;
}

.lzb-product-card__save {
  display: none; /* Hidden in Figma design — Save text not shown on shop grid */
}

/* ── Shop Pagination (Figma: 40x40px numbered) ── */

.lzb-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 64px;
}

.lzb-shop-pagination__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: #887870;
  background: transparent;
  border: 1px solid rgba(46, 46, 46, 0.15);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  padding: 1px;
}

.lzb-shop-pagination__btn:hover {
  border-color: #2e2e2e;
  color: #2e2e2e;
}

.lzb-shop-pagination__btn--active {
  background: #2e2e2e;
  border-color: #2e2e2e;
  color: #fffdfb;
}

/* Keep old .lzb-pagination for backwards compat */
.lzb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 64px;
}

.lzb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 14px;
  font-weight: 500;
  color: #887870;
  border: 1px solid rgba(46, 46, 46, 0.15);
  text-decoration: none;
  transition: all 0.15s;
}

.lzb-pagination .page-numbers.current {
  background-color: #2e2e2e;
  border-color: #2e2e2e;
  color: #fffdfb;
}

.lzb-pagination .page-numbers:hover:not(.current) {
  border-color: #2e2e2e;
  color: #2e2e2e;
}

/* ── Category Filter Row (backwards compat) ── */

.lzb-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 24px;
  border-bottom: none;
}

.lzb-category-filters__btn {
  padding: 9px 21px;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #887870;
  background: transparent;
  border: 1px solid rgba(46, 46, 46, 0.15);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.lzb-category-filters__btn--active,
.lzb-category-filters__btn:hover {
  background: #d8a7b1;
  color: #fffdfb;
  border-color: #d8a7b1;
  box-shadow: 0 2px 7px rgba(216, 167, 177, 0.28);
}

/* ── WooCommerce Price Overrides ── */

.lzb-product-card__price .woocommerce-Price-amount,
.lzb-product-card__price .woocommerce-Price-amount bdi {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #d8a7b1;
    text-decoration: none;
}

.lzb-product-card__price--original .woocommerce-Price-amount,
.lzb-product-card__price--original .woocommerce-Price-amount bdi {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #887870;
    text-decoration: line-through;
}

.lzb-product-card__price .woocommerce-Price-currencySymbol {
    font-size: 14px;
}

/* Hide WC sale flash — we use our own badges */
.onsale { display: none !important; }

/* WooCommerce pagination — match Figma */
.woocommerce-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 0;
}

.woocommerce-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce-pagination ul.page-numbers li {
    margin: 0;
    padding: 0;
    border: none;
}

.woocommerce-pagination ul.page-numbers li .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #887870;
    background: transparent;
    border: 1px solid rgba(46, 46, 46, 0.15);
    text-decoration: none;
    transition: all 0.15s;
    padding: 1px;
    border-radius: 0;
}

.woocommerce-pagination ul.page-numbers li .page-numbers:hover {
    border-color: #2e2e2e;
    color: #2e2e2e;
    background: transparent;
}

.woocommerce-pagination ul.page-numbers li .page-numbers.current {
    background: #2e2e2e;
    border-color: #2e2e2e;
    color: #fffdfb;
}

/* ── No Products ── */

.lzb-shop-empty {
  text-align: center;
  padding-block: 96px;
}

.lzb-shop-empty__icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.lzb-shop-empty__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  margin-bottom: 8px;
}
